/* ── WelnHaus Brand CSS ──────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --tierra:  #2C2218;
  --cedro:   #8B5E3C;
  --arena:   #D9B99A;
  --crema:   #F5EDE0;
  --blanco:  #FFFFFF;
  --gris:    #F0EBE3;
  --gris2:   #7A6A5A;
  --sombra:  rgba(44,34,24,0.12);

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h: 96px;
  --max-w: 1160px;
  --radius: 4px;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

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

/* ── UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }
.text-cedar  { color: var(--cedro); }
.bg-tierra   { background: var(--tierra); }
.bg-crema    { background: var(--crema); }
.bg-gris     { background: var(--gris); }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--gris2); }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cedro);
  display: block;
  margin-bottom: 10px;
}
.lead { font-size: 1.1rem; color: var(--gris2); max-width: 640px; line-height: 1.75; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary {
  background: var(--cedro); color: var(--blanco);
}
.btn-primary:hover { background: #7a5232; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(139,94,60,.35); }
.btn-outline {
  background: transparent; color: var(--blanco);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--arena); color: var(--arena); }
.btn-dark {
  background: var(--tierra); color: var(--arena);
}
.btn-dark:hover { background: #1a0f08; }
.btn-arrow::after { content: '→'; font-size: 1rem; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(44,34,24,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217,185,154,.12);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(44,34,24,.99); box-shadow: 0 2px 20px var(--sombra); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,237,224,.7);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--arena);
  border-bottom-color: var(--cedro);
}
.nav-cta { margin-left: 12px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--arena); border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--tierra);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
/* Signature element: vertical slat lines echoing the lambrin panels */
.hero-slats {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 48%;
  display: flex; gap: 0;
  pointer-events: none;
}
.hero-slats .slat {
  flex: 1;
  background: linear-gradient(180deg, rgba(139,94,60,.18) 0%, rgba(44,34,24,0) 100%);
  border-left: 1px solid rgba(217,185,154,.06);
  transform: scaleY(0);
  transform-origin: bottom;
  animation: slat-rise 1.2s cubic-bezier(.4,0,.2,1) forwards;
}
.hero-slats .slat:nth-child(odd)  { background: linear-gradient(180deg, rgba(139,94,60,.10) 0%, rgba(44,34,24,0) 100%); }
.hero-slats .slat:nth-child(even) { background: linear-gradient(180deg, rgba(217,185,154,.07) 0%, rgba(44,34,24,0) 100%); }
@keyframes slat-rise {
  to { transform: scaleY(1); }
}
.hero-slats .slat:nth-child(1)  { animation-delay: .05s; }
.hero-slats .slat:nth-child(2)  { animation-delay: .10s; }
.hero-slats .slat:nth-child(3)  { animation-delay: .15s; }
.hero-slats .slat:nth-child(4)  { animation-delay: .20s; }
.hero-slats .slat:nth-child(5)  { animation-delay: .25s; }
.hero-slats .slat:nth-child(6)  { animation-delay: .30s; }
.hero-slats .slat:nth-child(7)  { animation-delay: .35s; }
.hero-slats .slat:nth-child(8)  { animation-delay: .40s; }
.hero-slats .slat:nth-child(9)  { animation-delay: .45s; }
.hero-slats .slat:nth-child(10) { animation-delay: .50s; }
.hero-slats .slat:nth-child(11) { animation-delay: .55s; }
.hero-slats .slat:nth-child(12) { animation-delay: .60s; }

.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-content h1 { color: var(--blanco); margin-bottom: 20px; }
.hero-content h1 span { color: var(--arena); }
.hero-content .lead { color: rgba(245,237,224,.75); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 52px;
  padding-top: 36px; border-top: 1px solid rgba(217,185,154,.15);
}
.hero-stat-val {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--arena); line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.75rem; color: rgba(245,237,224,.5);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .lead { margin: 14px auto 0; }
.section-header h2 { margin-top: 8px; }
.divider {
  width: 48px; height: 3px;
  background: var(--cedro); border-radius: 2px;
  margin: 18px 0 0;
}
.divider.centered { margin: 18px auto 0; }

/* ── CARDS ── */
.card {
  background: var(--blanco);
  border: 1px solid rgba(139,94,60,.12);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--sombra); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p  { font-size: 0.92rem; }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── FEATURE STRIP ── */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(139,94,60,.15);
  border-bottom: 1px solid rgba(139,94,60,.15);
}
.feature-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(139,94,60,.15);
  text-align: center;
}
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.feature-item p  { font-size: 0.85rem; }

/* ── SPECS TABLE ── */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid rgba(139,94,60,.1); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 12px 16px; font-size: 0.92rem; }
.specs-table td:first-child { color: var(--gris2); width: 48%; }
.specs-table td:last-child { font-weight: 600; color: var(--tierra); }
.specs-table tr:nth-child(even) td { background: var(--gris); }

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-item { overflow: hidden; border-radius: 4px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.featured { grid-column: span 2; }
.gallery-item .gallery-label {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--arena); background: rgba(44,34,24,.75);
  padding: 6px 12px; position: absolute; bottom: 10px; left: 10px;
  border-radius: 2px;
}
.gallery-item { position: relative; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gris2); margin-bottom: 7px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  font-family: var(--font-body); font-size: 0.95rem;
  border: 1.5px solid rgba(139,94,60,.2);
  border-radius: var(--radius); background: var(--blanco);
  color: var(--tierra); transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--cedro);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── INFO BLOCK (dark bg) ── */
.info-block {
  background: var(--tierra); color: var(--blanco);
  padding: 56px 48px; border-radius: 8px;
}
.info-block h3 { color: var(--blanco); margin-bottom: 8px; }
.info-block p  { color: rgba(245,237,224,.7); margin-bottom: 16px; }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(139,94,60,.3); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.info-item-text strong { color: var(--arena); font-size: 0.85rem; display: block; margin-bottom: 2px; }
.info-item-text span   { color: rgba(245,237,224,.65); font-size: 0.92rem; }

/* ── CEDRO ACCENT BAR ── */
.cedar-bar {
  width: 4px; height: 100%;
  background: var(--cedro);
  position: absolute; left: 0; top: 0;
}

/* ── BANNER CTA ── */
.cta-banner {
  background: var(--tierra);
  padding: 72px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 28px,
    rgba(139,94,60,.06) 28px,
    rgba(139,94,60,.06) 29px
  );
}
.cta-banner h2 { color: var(--blanco); position: relative; }
.cta-banner p  { color: rgba(245,237,224,.65); margin: 14px auto 32px; max-width: 520px; position: relative; }
.cta-banner .btn { position: relative; }

/* ── FOOTER ── */
.footer {
  background: #1a0f08;
  color: rgba(245,237,224,.6);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-logo img { height: 56px; margin-bottom: 16px; }
.footer-about { font-size: 0.88rem; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--arena); margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--arena); }
.footer-bottom {
  border-top: 1px solid rgba(217,185,154,.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--cedro); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--tierra);
  padding: 120px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  background: repeating-linear-gradient(
    90deg,
    transparent, transparent 22px,
    rgba(139,94,60,.08) 22px, rgba(139,94,60,.08) 23px
  );
}
.page-hero h1 { color: var(--blanco); position: relative; z-index: 1; }
.page-hero .eyebrow { position: relative; z-index: 1; }
.page-hero p { color: rgba(245,237,224,.65); max-width: 520px; margin-top: 14px; position: relative; z-index: 1; }

/* ── BADGE / PILL ── */
.badge {
  display: inline-block; padding: 4px 12px;
  background: rgba(139,94,60,.12); color: var(--cedro);
  font-size: 0.75rem; font-weight: 600; border-radius: 20px;
  letter-spacing: 0.06em;
}
.badge-dark {
  background: rgba(217,185,154,.15); color: var(--arena);
}

/* ── VENTAJAS CHECK LIST ── */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem;
}
.check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(74,122,90,.15); color: #4A7A5A;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0; margin-top: 2px;
  font-weight: 700;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3  { grid-template-columns: 1fr 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .hero-slats { width: 35%; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .check-list    { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .hero-stats    { flex-wrap: wrap; gap: 24px; }
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
  .hero-slats    { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--tierra); padding: 32px 24px; gap: 24px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slats .slat { animation: none; transform: scaleY(1); }
}

/* ── LANGUAGE TOGGLE ── */
.lang-toggle {
  display: flex; align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 3px;
  margin-left: 16px;
}
.lang-btn {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 16px;
  border: none; cursor: pointer;
  background: transparent; color: rgba(245,237,224,.5);
  transition: all var(--transition);
}
.lang-btn.lang-active {
  background: var(--cedro); color: var(--blanco);
}
.lang-btn:hover:not(.lang-active) { color: var(--arena); }
