/* ============================================================
   SCHOTTENWOOD ALICANTE — Global Stylesheet
   Responsive: mobile-first (375px → 768px → 1024px → 1280px+)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* ── Variables ── */
:root {
  --bg:           #FDFCF9;
  --bg-alt:       #F7F4EE;
  --bg-dark:      #00270b;   /* verde oscuro marca */
  --text:         #1a1a1a;
  --text-muted:   #7A6E62;
  --accent:       #bcaa84;   /* dorado marca */
  --accent-dark:  #9a8a68;
  --accent-light: #F5EFE4;
  --brand-green:  #00270b;
  --brand-gold:   #bcaa84;
  --border:       #EDE8E0;
  --border-dark:  #003310;
  --white:        #FDFCF9;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:    60px;
  --max-w:    1200px;
  --gap:      20px;
  --section-v: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 6vw, 52px); }
h2 { font-size: clamp(22px, 4vw, 38px); }
h3 { font-size: clamp(18px, 3vw, 26px); }
h4 { font-size: clamp(16px, 2vw, 20px); }
p  { line-height: 1.75; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 8px;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: none;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }
.btn-dark  { background: var(--bg-dark); color: var(--white); }
.btn-light { background: var(--white);   color: var(--bg-dark); }
.btn-outline {
  background: transparent;
  color: var(--bg-dark);
  border: 0.5px solid var(--bg-dark);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 0.5px solid rgba(253,252,249,0.45);
}
.btn-accent { background: var(--accent-dark); color: var(--white); }

/* ── Navigation ── */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
  position: fixed;
  background: rgba(253,252,249,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

/* ── Header inner layout — alineado con .container ── */
.header-inner,
.nav-inner {
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px)  { .header-inner, .nav-inner { padding: 0 32px; } }
@media (min-width: 1024px) { .header-inner, .nav-inner { padding: 0 48px; } }
.site-header { width: 100%; }

/* ── Logo ── */
.site-logo,
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
/* Logo text — respeta la tipografía de marca: fina, geométrica, mayúsculas, tracking amplio */
.logo-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-green);
  line-height: 1;
  white-space: nowrap;
}
.site-header.hero-nav .logo-text { color: var(--white); }
.site-header.scrolled  .logo-text { color: var(--brand-green); }

/* ── Desktop nav ── */
.site-nav,
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 768px) {
  .site-nav  { display: flex; }
  .nav-links { display: flex; }
}
.site-nav a,
.nav-links a {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.site-nav a:hover,
.nav-links a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); }

.site-header.hero-nav .site-nav a,
.site-header.hero-nav .nav-links a { color: rgba(253,252,249,0.75); }
.site-header.hero-nav .site-nav a:hover,
.site-header.hero-nav .nav-links a:hover { color: var(--white); }

.site-header.scrolled .site-nav a,
.site-header.scrolled .nav-links a { color: var(--text-muted); }
.site-header.scrolled .site-nav a:hover,
.site-header.scrolled .nav-links a:hover { color: var(--text); }

/* ── CTA button in nav ── */
.nav-cta {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 0.5px solid currentColor;
  transition: background 0.2s, color 0.2s;
}
.site-header.hero-nav .nav-cta { color: var(--white); border-color: rgba(253,252,249,0.5); }
.site-header.hero-nav .nav-cta:hover { background: var(--white); color: var(--text); border-color: var(--white); }
.site-header.scrolled .nav-cta { color: var(--text); border-color: var(--text); }
.site-header.scrolled .nav-cta:hover { background: var(--text); color: var(--white); }

/* Hamburger */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.site-header.hero-nav .nav-burger span { background: var(--white); }
.site-header.scrolled .nav-burger span { background: var(--text); }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 768px) { .nav-burger { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--bg);
  z-index: 190;
  padding: 32px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 22px;
  font-family: var(--font-serif);
  color: var(--text);
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border);
}
.mobile-menu .m-cta {
  margin-top: 24px;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: none;
  color: var(--accent-dark);
}

/* ── Hero Carousel ── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
}

.slides-track {
  display: flex;
  width: 300%;
  height: 100%;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  flex: 0 0 33.333%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}
.slide.active .slide-bg { transform: scale(1); }

/* Fallback colors when no photo */
.slide-1 .slide-bg { background-color: #8B6A45; background-image: url('../img/hero-gran-formato.jpg'); }
.slide-2 .slide-bg { background-color: #6B4E38; background-image: url('../img/hero-espiga.jpg'); }
.slide-3 .slide-bg { background-color: #4A6855; background-image: url('../img/hero-exterior.jpg'); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 8, 0.42);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 24px) 24px 80px;
}

.slide-content .eyebrow { color: #E8C98A; }

.slide-content h1 {
  color: var(--white);
  max-width: 600px;
  margin: 8px auto 16px;
}
.slide-content h1 em { font-style: italic; color: #E8C98A; }

.slide-content p {
  font-size: 15px;
  color: rgba(253,252,249,0.78);
  max-width: 440px;
  margin: 0 auto 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Carousel controls */
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(253,252,249,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.carousel-dot.active {
  background: var(--white);
  transform: scale(1.4);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(253,252,249,0.12);
  border: 0.5px solid rgba(253,252,249,0.3);
  color: var(--white);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s;
}
.carousel-arrow:hover { background: rgba(253,252,249,0.25); }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
@media (max-width: 480px) { .carousel-arrow { display: none; } }

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 0.5px solid var(--border);
}
.stat-item {
  padding: 24px 16px;
  text-align: center;
  border-right: 0.5px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 32px);
  color: var(--accent-dark);
  line-height: 1;
}
.stat-unit {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--accent-dark);
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* ── Sections ── */
.section { padding: var(--section-v) 0; }
.section-pad { padding: 72px 0; }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-alt  { background: var(--bg-alt); }

.section-header { margin-bottom: 40px; }
.section-header h2 { margin-top: 8px; }

/* ── Product Cards (Gamas) ── */
.gamas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 1024px) {
  .gamas-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.gama-card {
  border: 0.5px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.gama-card:hover { border-color: var(--accent); }

.gama-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.gama-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gama-card:hover .gama-img img { transform: scale(1.04); }

.gama-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.gama-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.gama-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.gama-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.gama-format {
  display: inline-block;
  font-size: 11px;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 4px 10px;
  margin-bottom: 14px;
}
.gama-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.gama-link::after { content: '→'; transition: transform 0.2s; }
.gama-card:hover .gama-link::after { transform: translateX(4px); }

/* ── Trust / Confianza Section ── */
.trust-body-text {
  font-size: 15px;
  color: #BFB8AF;
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 32px;
}
.trust-body-text strong { color: var(--white); font-weight: 400; }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-dark);
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-item {
  background: var(--bg-dark);
  padding: 24px 20px;
}
.trust-num {
  font-family: var(--font-serif);
  font-size: clamp(18px, 3vw, 26px);
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 6px;
}
.trust-desc {
  font-size: 12px;
  color: #BFB8AF;
  line-height: 1.6;
}

/* ── Product Selector ── */
.selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
@media (min-width: 768px) { .selector-grid { grid-template-columns: repeat(4, 1fr); } }

.selector-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  padding: 20px 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
}
.selector-card:hover { border-color: var(--accent); }
.selector-card.active { border-color: var(--accent-dark); background: var(--accent-light); }
.selector-icon { font-size: 22px; color: var(--accent); margin-bottom: 10px; }
.selector-card h3 { font-size: 14px; font-family: var(--font-sans); font-weight: 500; color: var(--text); margin-bottom: 4px; }
.selector-card p  { font-size: 12px; color: var(--text-muted); }

.selector-result {
  background: var(--bg-dark);
  color: var(--white);
  padding: 16px 20px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  display: none;
}
.selector-result.show { display: block; }
.selector-result a { color: var(--accent); text-decoration: underline; }

/* ── Project Gallery ── */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 0.5px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.active { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(20,14,8,0.65);
  color: var(--white);
  padding: 12px 14px;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption h4 { font-size: 14px; margin-bottom: 2px; }
.gallery-caption p  { font-size: 11px; color: rgba(253,252,249,0.7); }
.gallery-item[data-hidden="true"] { display: none; }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 1fr; } }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 0.5px solid var(--border);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--accent-dark); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6E62' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  background: var(--accent-light);
  border: 0.5px solid var(--accent);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--accent-dark);
  margin-top: 16px;
}
.form-success.show { display: block; }

.contact-info h3 { font-size: 22px; margin-bottom: 16px; margin-top: 0; }
.contact-info p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-detail-icon { color: var(--accent); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.contact-detail-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact-detail-text strong { color: var(--text); font-weight: 400; display: block; }

/* ── Coverage ── */
.coverage-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.coverage-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  border: 0.5px solid var(--accent);
  padding: 6px 14px;
}

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  padding: var(--section-v) 20px;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.section-dark .cta-banner h2 { color: var(--white); }
.section-dark .cta-banner p  { color: #BFB8AF; }

/* ── Interior Product Page ── */
.product-hero {
  padding-top: var(--nav-h);
  background: var(--bg-alt);
}
.product-hero-inner {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}
@media (min-width: 768px) {
  .product-hero-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.product-hero-img {
  aspect-ratio: 4/3;
  background: var(--bg-dark);
  overflow: hidden;
}
.product-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-content .eyebrow { margin-bottom: 12px; }
.product-hero-content h1 { margin-bottom: 16px; }
.product-hero-content p { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.8; }

.specs-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.specs-table th,
.specs-table td {
  font-size: 13px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border);
  text-align: left;
}
.specs-table th { font-weight: 500; color: var(--text-muted); width: 40%; font-family: var(--font-sans); }
.specs-table td { color: var(--text); }

.finishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.finish-item {
  aspect-ratio: 1;
  background: var(--bg-alt);
  display: flex;
  align-items: flex-end;
  padding: 10px;
  overflow: hidden;
  position: relative;
}
.finish-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finish-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ── Lightbox ── */
.lb-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lb-modal.open { display: flex; }
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}
.lb-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-img-wrap {
  max-width: 85vw;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}
.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253,252,249,0.1);
  border: 0.5px solid rgba(253,252,249,0.2);
  color: var(--white);
  font-size: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(253,252,249,0.2); }
.lb-caption {
  margin-top: 16px;
  text-align: center;
}
.lb-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}
.lb-counter {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(253,252,249,0.45);
  letter-spacing: 0.08em;
}
.gallery-item[data-images] .gallery-item-img::after {
  content: '＋ Ver galería';
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  pointer-events: none;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-alt);
  border-top: 0.5px solid var(--border);
}
.footer-inner {
  display: grid;
  gap: 40px;
  padding: 48px 20px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 768px)  { .footer-inner { grid-template-columns: 2fr 1fr; padding: 48px 32px 40px; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 2fr auto; padding: 48px 48px 40px; } }

.footer-logo-text { font-family: var(--font-serif); font-size: 20px; color: var(--text); margin-bottom: 8px; }
.footer-main {
  display: grid;
  gap: 32px;
  padding: 48px 0 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .footer-main { grid-template-columns: 1fr 1fr 1fr; gap: 40px; } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-nav { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer-brand address { font-style: normal; font-size: 13px; color: var(--text-muted); line-height: 1.9; margin-top: 12px; }
.footer-logo { font-family: var(--font-serif); font-size: 18px; }
.footer-logo-link { display: inline-block; line-height: 0; }
.footer-logo-link img { width: 52px; height: 52px; object-fit: contain; display: block; }

.footer-col { display: flex; flex-direction: column; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; font-family: var(--font-sans); }
.footer-col a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; line-height: 1; padding: 5px 0; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding: 20px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
@media (min-width: 768px)  { .footer-bottom { padding: 20px 32px; } }
@media (min-width: 1024px) { .footer-bottom { padding: 20px 48px; } }
.footer-social { display: flex; gap: 16px; }
.footer-social a { display: inline-flex; align-items: center; color: var(--text-muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--text); }
.footer-social svg { display: block; }

/* (page-hero now defined in inner pages section below) */
.page-hero h1 { max-width: 600px; margin-bottom: 16px; }
.page-hero p  { font-size: 16px; color: var(--text-muted); max-width: 520px; line-height: 1.8; }

/* ── Breadcrumbs ── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--border); }

/* ── Nosotros ── */
.nosotros-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 768px) { .nosotros-grid { grid-template-columns: 1fr 1fr; } }
.nosotros-img { aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; }
.nosotros-img img { width: 100%; height: 100%; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-item { text-align: center; }
.value-num { font-family: var(--font-serif); font-size: 36px; color: var(--accent-dark); line-height: 1; margin-bottom: 8px; }
.value-label { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }
.text-accent { color: var(--accent-dark); }
.text-muted  { color: var(--text-muted); }

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ── Accessibility ── */
:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGES — shared components
   ═══════════════════════════════════════════════════════════ */

/* ── Page Hero con imagen de fondo (exterior, etc.) ── */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,39,11,0.60);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 20px;
}
@media (min-width: 768px)  { .page-hero-content { padding: 72px 32px; } }
@media (min-width: 1024px) { .page-hero-content { padding: 80px 48px; } }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero .hero-sub { color: rgba(253,252,249,0.85); font-size: clamp(15px,1.8vw,20px); margin-bottom: 0; }

/* ── Variante oscura — hero tipográfico premium ── */
.page-hero--light {
  background: var(--brand-green);
  color: var(--white);
  min-height: 340px;
  display: flex;
  align-items: center;
  text-align: center;
}
.page-hero--light .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 64px;
  gap: 0;
}
/* Línea dorada decorativa antes del título */
.page-hero--light .container::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--brand-gold);
  margin-bottom: 28px;
}
.page-hero--light h1 {
  color: var(--white);
  max-width: 720px;
  margin-bottom: 0;
}
.page-hero--light .hero-sub {
  color: var(--brand-gold);
  font-size: clamp(14px, 1.5vw, 17px);
  margin-top: 20px;
  max-width: 500px;
  line-height: 1.7;
}

/* Breadcrumbs — eliminados */
.breadcrumb { display: none; }

/* ── Intro block ── */
.intro-block { max-width: 780px; }
.intro-text { font-size: clamp(16px,1.5vw,18px); color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }

/* ── Section title / subtitle ── */
.section-title { margin-bottom: 12px; }
.section-subtitle { font-size: 17px; color: var(--text-muted); margin-bottom: 48px; }

/* ── Guarantee banner ── */
.guarantee-banner { padding: 40px 0; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) { .guarantee-grid { grid-template-columns: repeat(6, 1fr); } }
.guarantee-item { text-align: center; }
.guarantee-icon { display: block; font-size: 22px; margin-bottom: 8px; color: var(--accent); }
.guarantee-item strong { display: block; font-family: var(--font-serif); font-size: 20px; color: var(--accent-dark); line-height: 1; }
.guarantee-item span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.04em; }

/* ── Product detail (alternating image + text) ── */
.product-detail {
  display: grid;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 0.5px solid var(--border);
}
.product-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
@media (min-width: 768px) {
  .product-detail { grid-template-columns: 1fr 1fr; }
  .product-detail--reverse .product-detail-image { order: 2; }
  .product-detail--reverse .product-detail-info  { order: 1; }
}
.product-detail-image { aspect-ratio: 3/2; overflow: hidden; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.product-detail-image:hover img { transform: scale(1.03); }
.product-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  border: 0.5px solid var(--accent);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.product-detail-info h3 { margin-bottom: 16px; }
.product-detail-info p  { color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }

/* Spec list */
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 24px 0; }
.spec-list dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); padding-top: 2px; }
.spec-list dd { font-size: 14px; color: var(--text); margin: 0; }

/* ── Table ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.specs-table th, .specs-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 0.5px solid var(--border);
}
.specs-table thead th {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-alt);
}
.specs-table tbody tr:hover td { background: var(--accent-light); }
.specs-table tbody th { font-weight: 500; color: var(--text-muted); }

/* ── Trust section (dark) ── */
.trust-section { background: var(--bg-dark); color: var(--white); }
.trust-section .section-title { color: var(--white); }
.trust-grid { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 768px)  { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-card { padding: 28px; border: 0.5px solid rgba(253,252,249,0.12); }
.trust-card h3 { font-size: 16px; color: var(--accent); margin-bottom: 12px; }
.trust-card p  { font-size: 14px; color: rgba(253,252,249,0.72); line-height: 1.75; margin: 0; }

/* ── Installation steps ── */
.install-block { max-width: 900px; margin: 0 auto; }
.install-block h2 { margin-bottom: 16px; }
.install-block > p { color: var(--text-muted); margin-bottom: 40px; font-size: 17px; }
.install-steps { display: grid; gap: 24px; }
@media (min-width: 768px) { .install-steps { grid-template-columns: repeat(4, 1fr); } }
.install-step { border-left: 2px solid var(--accent); padding-left: 20px; }
.step-num { font-family: var(--font-serif); font-size: 32px; color: var(--accent); line-height: 1; margin-bottom: 8px; display: block; }
.install-step h4 { font-size: 15px; margin-bottom: 8px; }
.install-step p  { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── CTA section ── */
.cta-section {
  padding: 80px var(--gutter);
  background: var(--accent-light);
  text-align: center;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ── Gallery grid (proyectos page) ── */
.gallery-grid { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { border: 0.5px solid var(--border); overflow: hidden; aspect-ratio: unset; }
.gallery-item-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.gallery-item:hover .gallery-item-img img { transform: scale(1.05); }
.gallery-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-dark);
  color: var(--accent);
  padding: 4px 10px;
}
.gallery-item-info { padding: 20px 24px 24px; }
.gallery-item-info h3 { font-size: 18px; margin-bottom: 10px; }
.gallery-item-info p  { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.gallery-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 12px; }
.gallery-meta dt { color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; }
.gallery-meta dd { margin: 0; color: var(--text); }

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 0.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover  { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn.active { background: var(--accent-dark); color: var(--white); border-color: var(--accent-dark); }

/* ── Legal pages ── */
.legal-content { max-width: 760px; }
.legal-content h2 { font-family: var(--font-serif); font-size: clamp(18px, 2vw, 22px); font-weight: 400; margin: 40px 0 12px; color: var(--text); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; font-size: 15px; }
.legal-content ul { color: var(--text-muted); line-height: 1.8; font-size: 15px; padding-left: 20px; margin-bottom: 14px; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-date { font-size: 13px; color: var(--text-muted); margin-top: 48px; padding-top: 24px; border-top: 0.5px solid var(--border); }

/* ── About page ── */
.about-block { display: grid; gap: 48px; align-items: center; }
@media (min-width: 768px) { .about-block { grid-template-columns: 1fr 1fr; } }
.about-block--text-only { grid-template-columns: 1fr !important; max-width: 780px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p   { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-image { aspect-ratio: 4/3; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.values-grid { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 640px)  { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { padding: 28px; background: var(--bg); border: 0.5px solid var(--border); }
.value-icon { display: block; font-size: 20px; color: var(--accent); margin-bottom: 12px; }
.value-card h3 { font-size: 16px; margin-bottom: 10px; }
.value-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* About stats */
.about-stats { padding: 56px 0; background: var(--accent-light); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.about-stats-grid { display: grid; gap: 24px; text-align: center; }
@media (min-width: 640px)  { .about-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.about-stat .stat-number { font-family: var(--font-serif); font-size: clamp(28px,4vw,40px); color: var(--accent-dark); line-height: 1; display: block; }
.about-stat .stat-label  { font-size: 13px; color: var(--text-muted); margin-top: 8px; display: block; }

/* Climate block */
.climate-block h2 { margin-bottom: 16px; }
.climate-lead { font-size: 17px; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; max-width: 780px; }
.climate-grid { display: grid; gap: 24px; }
@media (min-width: 640px)  { .climate-grid { grid-template-columns: repeat(2, 1fr); } }
.climate-fact { padding: 24px; border-left: 3px solid var(--accent); background: var(--bg-alt); }
.climate-fact h4 { font-size: 15px; margin-bottom: 10px; color: var(--accent-dark); }
.climate-fact p  { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* Certifications */
.cert-grid { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 640px)  { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-item { text-align: center; padding: 28px; background: var(--bg); border: 0.5px solid var(--border); }
.cert-item h4 { font-family: var(--font-serif); font-size: 28px; color: var(--accent-dark); margin-bottom: 12px; }
.cert-item p  { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* Coverage tags */
.coverage-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; justify-content: center; }
.coverage-tags--small .coverage-tag { font-size: 10px; padding: 4px 10px; }
.coverage-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border: 0.5px solid var(--border);
  color: var(--text-muted);
}

/* ── Contact page ── */
.contact-layout { display: grid; gap: 64px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 2fr 1fr; } }

.contact-form-wrap h2 { margin-bottom: 12px; }
.form-intro { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }

form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}
form legend {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 20px;
  width: 100%;
}
.form-row { display: grid; gap: 16px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 639px) { .form-row--2 { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.form-label-text { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #c8bfb4;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 2px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0a898; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%238B6A45'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-dark);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 39, 11, 0.08);
}
.form-group input:not(:placeholder-shown),
.form-group select:not([value=""]),
.form-group textarea:not(:placeholder-shown) { border-color: #8B7355; }
.form-group textarea { resize: vertical; min-height: 120px; }

.checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  padding: 10px 14px;
  border: 1.5px solid #c8bfb4;
  border-radius: 2px;
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.checkbox-label:hover { border-color: var(--accent); background: #f7f4ee; }

/* Custom checkbox box */
.checkbox-label input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid #c8bfb4;
  border-radius: 2px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.checkbox-label input[type="checkbox"]:checked {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 7px;
  height: 11px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.checkbox-label:has(input:checked) {
  border-color: var(--accent-dark);
  background: #f0ece4;
}

/* Privacy checkbox — smaller, inline style */
.privacy-check {
  font-size: 13px;
  color: var(--text-muted);
  border: none;
  background: none;
  padding: 4px 0;
}
.privacy-check:hover { border: none; background: none; }
.privacy-check input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; }
.privacy-check input[type="checkbox"]:checked::after { left: 4px; top: 1px; width: 6px; height: 9px; }

.form-submit { margin-top: 8px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

.form-success {
  display: none;
  padding: 32px;
  background: var(--accent-light);
  border: 0.5px solid var(--accent);
  text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 12px; color: var(--accent-dark); }
.form-success p   { color: var(--text-muted); margin-bottom: 8px; }

/* Contact sidebar */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card { padding: 24px; background: var(--bg-alt); border: 0.5px solid var(--border); }
.contact-info-card h3 { font-size: 16px; margin-bottom: 16px; }
.contact-info-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin: 20px 0 10px; }
.contact-info-card address { font-style: normal; font-size: 14px; color: var(--text-muted); line-height: 2; }
.contact-info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.checklist li { font-size: 13px; color: var(--text-muted); padding-left: 20px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   EXTERIOR PAGE — Schottendeck redesign
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.ext-hero {
  background: var(--brand-green);
  padding: calc(var(--nav-h) + 40px) 0 56px;
}
.ext-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px)  { .ext-hero-inner { padding: 0 32px; } }
@media (min-width: 1024px) { .ext-hero-inner { padding: 0 48px; } }
@media (max-width: 767px)  {
  .ext-hero-inner { grid-template-columns: 1fr; }
  .ext-hero-img   { display: none; }
}
.ext-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.ext-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--brand-gold);
  flex-shrink: 0;
}
.ext-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.ext-hero-title em { font-style: normal; font-weight: 600; }
.ext-hero-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(253,252,249,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}
.ext-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ext-hero-img img { width: 100%; height: auto; display: block; }

/* ── Buttons extra ── */
.btn-gold {
  background: var(--brand-gold);
  color: var(--brand-green);
  border-color: var(--brand-gold);
  font-weight: 500;
}
.btn-gold:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(253,252,249,0.45);
}
.btn-outline-white:hover { background: rgba(253,252,249,0.1); border-color: var(--white); }

/* ── Stats bar ── */
.ext-stats-wrap { background: #001a07; }
.ext-stats {
  background: transparent;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .ext-stats { padding: 0 32px; } }
@media (min-width: 1024px) { .ext-stats { padding: 0 48px; } }
@media (max-width: 767px)  { .ext-stats { grid-template-columns: repeat(2, 1fr); } }
.ext-stat {
  padding: 32px 32px 32px 0;
  border-right: 0.5px solid #002d0e;
}
.ext-stat:not(:first-child) { padding-left: 32px; }
.ext-stat:last-child { border-right: none; }
@media (max-width: 767px) {
  .ext-stat:nth-child(2) { border-right: none; }
  .ext-stat:nth-child(3) { border-top: 0.5px solid #002d0e; }
}
.ext-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 6px;
}
.ext-stat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(253,252,249,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Section typography ── */
.ext-section-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  margin-top: 56px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.ext-section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.ext-section-eyebrow--light { color: var(--brand-gold); }
.ext-section-eyebrow--light::before { background: var(--brand-gold); }
.ext-section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 12px;
}
.ext-section-title em { font-style: normal; font-weight: 600; }
.ext-section-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ── Productos grid ── */
.ext-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 40px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .ext-products-grid { padding: 0 32px; } }
@media (min-width: 1024px) { .ext-products-grid { padding: 0 48px; } }
@media (max-width: 767px) { .ext-products-grid { grid-template-columns: 1fr; } }
.ext-product-card {
  position: relative;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  overflow: hidden;
  cursor: pointer;
}
@media (max-width: 767px) { .ext-product-card { aspect-ratio: 4/3; } }
.ext-product-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease-out;
}
.ext-product-card:hover .ext-product-bg { transform: scale(1.03); }
.ext-product-bg--tech   { background-color: #3a5c3a; background-image: url('../img/exterior-tech.jpg'); }
.ext-product-bg--lignea { background-color: #6B4E35; background-image: url('../img/exterior-lignea.jpg'); }
.ext-product-bg--cube   { background-color: #4a6a4a; background-image: url('../img/exterior-cube.jpg'); }
.ext-product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.ext-product-content { position: relative; z-index: 1; }
.ext-product-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 8px;
}
.ext-product-name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}
.ext-product-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(253,252,249,0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}
.ext-product-link {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.ext-product-link::after { content: '→'; }
.ext-product-card:hover .ext-product-link { gap: 10px; }

/* ── 8 Colores ── */
.ext-colors-section {
  background: var(--brand-green);
  padding: 56px 0 64px;
  margin-top: 0;
}
.ext-colors-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}
.ext-colors-title em { font-style: normal; font-weight: 600; }
.ext-colors-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(253,252,249,0.55);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}
.ext-colors-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
  margin-top: 0;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .ext-colors-grid { padding: 0 32px; } }
@media (min-width: 1024px) { .ext-colors-grid { padding: 0 48px; } }
@media (max-width: 767px)  { .ext-colors-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px)  { .ext-colors-grid { grid-template-columns: repeat(2, 1fr); } }
.ext-color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 0.2s;
}
.ext-color-swatch:hover { transform: scale(1.04); z-index: 1; }
.ext-color-sphere {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
}
.ext-color-sphere img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ext-color-name {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(253,252,249,0.9);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

/* ── Detalle producto ── */
.ext-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ext-detail-block--reverse { direction: rtl; }
.ext-detail-block--reverse > * { direction: ltr; }
@media (max-width: 767px) {
  .ext-detail-block, .ext-detail-block--reverse { grid-template-columns: 1fr; direction: ltr; }
}
.ext-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--brand-green);
}
.ext-detail-lead {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.ext-detail-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ext-detail-list li {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.ext-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}
.ext-detail-img img { width: 100%; height: auto; display: block; }

/* ── Proyectos grid ── */
.ext-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .ext-projects-grid { padding: 0 32px; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ext-projects-grid { padding: 0 48px; } }
@media (max-width: 767px)  { .ext-projects-grid { grid-template-columns: 1fr; } }
.ext-project-card { position: relative; overflow: hidden; cursor: pointer; }
.ext-project-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ext-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ext-project-card:hover .ext-project-img img { transform: scale(1.04); }
.ext-project-info {
  padding: 14px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ext-project-loc {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ext-project-prod {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text);
  font-weight: 400;
}

/* ── Durabilidad ── */
.ext-dur-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 767px) { .ext-dur-block { grid-template-columns: 1fr; } }
.ext-dur-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}
.ext-dur-title em { font-style: normal; font-weight: 600; }
.ext-dur-lead {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.ext-dur-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ext-dur-fact { border-left: 2px solid var(--accent); padding-left: 14px; }
.ext-dur-fact h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 5px;
}
.ext-dur-fact p {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}
.ext-dur-img img { width: 100%; height: auto; display: block; }

/* ── Proceso ── */
.ext-proceso-section {
  background: var(--bg-alt);
  padding: 72px 0;
}
.ext-proceso-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 767px) {
  .ext-proceso-layout { grid-template-columns: 1fr; gap: 40px; }
}
.ext-proceso-intro {}
.ext-proceso-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
  margin-top: 16px;
}
.ext-proceso-title em { font-style: italic; color: var(--accent-dark); }
.ext-proceso-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.ext-proceso-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 0.5px solid var(--border);
}
.ext-proceso-item:last-child { border-bottom: 0.5px solid var(--border); }
.ext-paso-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  display: block;
  padding-top: 2px;
  line-height: 1;
}
.ext-proceso-item h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ext-proceso-item p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA exterior ── */
.ext-cta-section {
  background: var(--brand-green);
  padding: 72px 20px;
  text-align: center;
}
.ext-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.ext-cta-title em { font-style: normal; font-weight: 600; }
.ext-cta-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(253,252,249,0.6);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ── Print ── */
@media print {
  .site-header, .hero-carousel, .mobile-menu, .carousel-arrow,
  .carousel-dots, .nav-burger { display: none !important; }
  body { font-size: 12px; }
  a::after { content: ' (' attr(href) ')'; font-size: 10px; }
}
