/*
Theme Name: Landvest
Description: Tema de la landing de Landvest (suelo rústico mediterráneo).
Version: 1.0
Language: es
Text Domain: landvest
*/

:root {
  --green: #2C4A35;
  --green-dark: #1A2E20;
  --green-light: #3a6147;
  --terra: #A0522D;
  --terra-light: #c06b3a;
  --sand: #F2EDE4;
  --sand2: #FDFAF6;
  --sand3: #EDE8DC;
  --border: #D8D0C2;
  --stone: #9A8E7E;
  --text: #2A2018;
  --text-light: #5C4F3E;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--sand2);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,250,246,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 40px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green);
  color: var(--sand) !important;
  padding: 10px 22px;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
}
.nav-cta:hover { background: var(--green-light) !important; color: var(--sand) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-tag::after {
  content: '';
  display: block;
  height: 1px;
  width: 48px;
  background: var(--terra-light);
  opacity: 0.5;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 300;
  color: var(--sand);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: #c9a878;
}
.hero-sub {
  font-size: 16px;
  color: rgba(242,237,228,0.65);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--terra);
  color: var(--sand);
  padding: 15px 32px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}
.btn-primary:hover { background: var(--terra-light); }
.btn-ghost {
  border: 1px solid rgba(242,237,228,0.3);
  color: rgba(242,237,228,0.7);
  padding: 15px 32px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}
.btn-ghost:hover {
  border-color: rgba(242,237,228,0.7);
  color: var(--sand);
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(242,237,228,0.3);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(242,237,228,0.2);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.2; transform: scaleY(1); }
  50% { opacity: 0.6; transform: scaleY(0.6); }
}

/* ── SECTION BASE ── */
section { padding: 96px 48px; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 36px;
  background: var(--terra);
  opacity: 0.4;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--terra); }
.section-sub {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── QUÉ HACEMOS ── */
.que-hacemos { background: var(--sand2); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.card {
  background: var(--sand);
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.card-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--terra);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 10px;
}
.card-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── PROCESO ── */
.proceso { background: var(--sand3); }
.pasos-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.paso {
  background: var(--sand2);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  border: 1px solid var(--border);
}
.paso-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--terra);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}
.paso-body {}
.paso-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.paso-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── POR QUÉ ── */
.por-que { background: var(--green); }
.por-que .section-title { color: var(--sand); }
.por-que .section-sub { color: rgba(242,237,228,0.6); }
.por-que .section-label { color: var(--terra-light); }
.por-que .section-label::after { background: var(--terra-light); }
.razones {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  margin-top: 0;
}
.razon {
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.08);
}
.razon-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--terra-light);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.razon-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--sand);
  margin-bottom: 10px;
  font-weight: 400;
}
.razon-text {
  font-size: 12.5px;
  color: rgba(242,237,228,0.55);
  line-height: 1.75;
}

/* ── CIFRAS ── */
.cifras-band {
  background: var(--terra);
  padding: 56px 48px;
}
.cifras-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2px;
}
.cifra {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.cifra:last-child { border-right: none; }
.cifra-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 8px;
}
.cifra-label {
  font-size: 11px;
  color: rgba(242,237,228,0.65);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ── TERRENOS ── */
.terrenos { background: var(--sand2); }
.terrenos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.terreno-item {
  background: var(--sand);
  border: 1px solid var(--border);
  padding: 28px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.terreno-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  margin-top: 7px;
}
.terreno-body {}
.terreno-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 5px;
  letter-spacing: 0.04em;
}
.terreno-text {
  font-size: 12px;
  color: var(--stone);
  line-height: 1.65;
}
.terrenos-nota {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--sand3);
  border-left: 3px solid var(--terra);
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
}

/* ── CONTACTO ── */
.contacto { background: var(--sand3); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.contacto-info {}
.contacto-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--green);
  margin-bottom: 16px;
}
.contacto-info-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: white;
  padding: 14px 28px;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s;
  margin-bottom: 16px;
  display: flex;
  width: fit-content;
}
.whatsapp-btn:hover { background: #1fba57; }
.whatsapp-icon {
  width: 20px;
  height: 20px;
  fill: white;
}
.contacto-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.contacto-sep::before, .contacto-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* FORM */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--sand2);
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  background: var(--green);
  color: var(--sand);
  border: none;
  padding: 14px 32px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--green-light); }

/* ── FOOTER ── */
footer {
  background: var(--green-dark);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo img { height: 34px; display: block; filter: brightness(0) invert(1); }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(242,237,228,0.5);
}
.footer-right {
  text-align: right;
  font-size: 10px;
  color: rgba(242,237,228,0.35);
  letter-spacing: 0.1em;
  line-height: 1.9;
  text-transform: uppercase;
}
.footer-right a { color: rgba(242,237,228,0.5); text-decoration: none; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: 72px 24px; }
  .hero { padding: 100px 24px 64px; }
  .cards-grid,
  .pasos-list,
  .razones,
  .terrenos-grid,
  .contacto-grid { grid-template-columns: 1fr; }
  .cifras-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-right { text-align: center; }
  .cifras-band { padding: 48px 24px; }
}

  /* ── FORM TABS ── */
  .form-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 4px;
  }
  .form-tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    background: transparent;
    color: var(--stone);
    font-size: 13px;
    font-family: inherit;
    border-radius: 7px;
    cursor: pointer;
    transition: all .2s;
    font-weight: 500;
  }
  .form-tab:hover { color: var(--cream); }
  .form-tab.active {
    background: var(--green);
    color: #fff;
    font-weight: 600;
  }
  .form-panel { display: none; }
  .form-panel.active { display: block; }

