/* =====================================================
   TOSCANA — PARCELACIÓN CAMPESTRE
   Paleta y tipografías según Manual de Marca 2026
===================================================== */

:root {
  /* Paleta */
  --hueso: #f4eee4;
  --hueso-dark: #ece4d3;
  --verde-bosque: #4e552c;
  --verde-bosque-deep: #383d1f;
  --cobre: #6b3617;
  --cobre-light: #8b4f24;
  --paja: #e9cd6c;
  --mostaza: #b18632;
  --oliva: #4e552c;

  /* Tipografía */
  --ff-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Cormorant Garamond', Georgia, serif;
  --ff-sans: 'Montserrat', system-ui, -apple-system, Helvetica, Arial, sans-serif;

  /* Sistema */
  --container: 1200px;
  --radius: 4px;
  --transition: 0.3s ease;
  --shadow-soft: 0 8px 30px rgba(56, 61, 31, 0.12);
  --shadow-strong: 0 20px 60px rgba(56, 61, 31, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--verde-bosque-deep);
  background: var(--hueso);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cobre); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Tipografía ============ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--verde-bosque);
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--mostaza);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.01em;
}

.section-title.light { color: var(--hueso); }
.section-title.light em { color: var(--paja); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cobre);
  margin-bottom: 18px;
}

.eyebrow-light { color: var(--paja); }

/* ============ Botones ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--verde-bosque);
  color: var(--hueso);
}
.btn-primary:hover {
  background: var(--verde-bosque-deep);
  color: var(--paja);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-paja {
  background: var(--paja);
  color: var(--verde-bosque-deep);
}
.btn-paja:hover {
  background: var(--mostaza);
  color: var(--hueso);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--hueso);
  border-color: var(--hueso);
}
.btn-ghost:hover {
  background: var(--hueso);
  color: var(--verde-bosque);
}

.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition);
}

.site-header.scrolled {
  background: rgba(244, 238, 228, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 42px;
  width: auto;
  transition: opacity var(--transition);
}
/* Sobre el video o fondo oscuro: logo claro con sombra suave */
.logo-light {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
.logo-dark { display: none; }
/* Cuando aparece la barra cream: logo oscuro */
.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hueso);
  position: relative;
}

.site-header.scrolled .site-nav a { color: var(--verde-bosque-deep); }

.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--paja);
  transition: width var(--transition);
}
.site-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--paja);
  color: var(--verde-bosque-deep) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--mostaza); color: var(--hueso) !important; }

/* Toggle móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--hueso);
  transition: all var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--verde-bosque); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--hueso);
}

.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(56,61,31,.55) 0%, rgba(56,61,31,.35) 40%, rgba(56,61,31,.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-mark {
  width: 110px;
  height: auto;
  margin: 0 auto 24px;
  opacity: 0.95;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.3));
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1;
  font-weight: 400;
  margin: 0 0 28px;
  color: var(--hueso);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .line {
  display: block;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .hero-title .line { white-space: normal; }
}

.hero-title em {
  font-family: var(--ff-body);
  font-size: 0.55em;
  font-weight: 400;
  color: var(--paja);
  vertical-align: middle;
  margin: 0 8px;
}

.hero-title strong {
  font-family: var(--ff-sans);
  font-size: 0.85em;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.05em;
  color: var(--hueso);
}

.hero-sub {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--paja);
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 46px;
  border: 2px solid var(--hueso);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 4px;
  height: 8px;
  background: var(--paja);
  border-radius: 2px;
  animation: scrollDot 1.6s infinite ease-out;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ============ Secciones generales ============ */
.section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  margin-bottom: 60px;
  max-width: 720px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-lead {
  font-size: 1.2rem;
  color: rgba(56, 61, 31, 0.8);
  margin-top: 20px;
}

/* ============ MANIFIESTO ============ */
.section-manifesto { background: var(--hueso); }

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.manifesto-text p {
  font-size: 1.1rem;
  margin: 0 0 18px;
  color: rgba(56, 61, 31, 0.85);
}

.manifesto-text strong { color: var(--verde-bosque); font-weight: 600; }

.manifesto-quote {
  font-family: var(--ff-display);
  font-size: 1.6rem !important;
  font-style: italic;
  color: var(--cobre) !important;
  border-left: 3px solid var(--paja);
  padding-left: 24px;
  margin-top: 32px !important;
}

.manifesto-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4 / 5;
}

.manifesto-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}

.manifesto-image:hover img { transform: scale(1.04); }

.image-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--paja);
  color: var(--verde-bosque-deep);
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
}

/* ============ BENEFICIOS ============ */
.section-benefits {
  background-color: var(--hueso);
  position: relative;
  isolation: isolate;
}
.section-benefits::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../img/patron.png") center/cover no-repeat fixed;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 980px) {
  .section-benefits::before { background-attachment: scroll; }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.benefit-card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(78, 85, 44, 0.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 4px;
  background: var(--paja);
  transition: width 0.5s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--paja);
}
.benefit-card:hover::before { width: 100%; }

.benefit-icon {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hueso-dark);
  color: var(--verde-bosque);
  border-radius: 50%;
  margin-bottom: 22px;
  transition: all var(--transition);
}
.benefit-icon svg { width: 40px; height: 40px; }

.benefit-card:hover .benefit-icon {
  background: var(--verde-bosque);
  color: var(--paja);
  transform: rotate(-6deg);
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: var(--verde-bosque);
}

.benefit-card p {
  margin: 0;
  font-size: 1.02rem;
  color: rgba(56, 61, 31, 0.78);
  line-height: 1.55;
}

/* ============ ESPECIFICACIONES ============ */
.section-specs { padding: 60px 0; background: var(--hueso); }

.specs-card {
  background: var(--verde-bosque);
  border-radius: 8px;
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  color: var(--hueso);
  position: relative;
  overflow: hidden;
}


.specs-text p {
  margin: 18px 0 28px;
  color: rgba(244, 238, 228, 0.85);
  font-size: 1.1rem;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.specs-list li {
  border-left: 2px solid var(--paja);
  padding-left: 16px;
}

.specs-list span {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--paja);
  line-height: 1;
}

.specs-list small {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 238, 228, 0.7);
  margin-top: 6px;
  display: block;
}

.specs-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 9 / 16;
  max-height: 520px;
}

.specs-image img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ============ DORADAL ============ */
.section-doradal { background: var(--hueso-dark); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0;
}

.stat {
  text-align: center;
  padding: 50px 20px;
  background: var(--hueso);
  border-radius: var(--radius);
  border-bottom: 4px solid var(--mostaza);
  transition: transform var(--transition);
}
.stat:hover { transform: translateY(-6px); }

.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--verde-bosque);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobre);
  line-height: 1.5;
}

.doradal-foot {
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--verde-bosque-deep);
  max-width: 720px;
  margin: 0 auto;
}

/* ============ DISTANCIAS ============ */
.section-distances { background: var(--hueso); }

.distances-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}

.distance-card {
  position: relative;
  padding: 36px 24px 32px;
  border-radius: var(--radius);
  color: var(--hueso);
  text-align: left;
  overflow: hidden;
  transition: transform var(--transition);
}
.distance-card:hover { transform: translateY(-6px) scale(1.02); }

.distance-card.cobre { background: var(--cobre); }
.distance-card.mostaza { background: var(--mostaza); }
.distance-card.oliva { background: var(--oliva); }
.distance-card.bosque { background: #2b2b10; }
.distance-card.paja { background: var(--paja); color: var(--verde-bosque-deep); }
.distance-card.paja h3 { color: var(--verde-bosque-deep); }
.distance-card.paja .distance-tag { background: rgba(78, 85, 44, .18); color: var(--verde-bosque-deep); }

.distance-tag {
  display: inline-block;
  background: rgba(244, 238, 228, 0.18);
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.distance-card h3 {
  font-size: 2.2rem;
  color: var(--hueso);
  margin: 0 0 6px;
  letter-spacing: 0.05em;
}

.distance-card p {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.92;
}

.proximity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.proximity-item {
  padding: 22px 18px;
  background: var(--hueso-dark);
  border-radius: var(--radius);
  font-size: 1.05rem;
  color: var(--verde-bosque-deep);
}
.proximity-item strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--cobre);
  margin-bottom: 2px;
}

/* ============ GALERÍA ============ */
.section-gallery { background: var(--hueso-dark); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gal {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--verde-bosque);
}

.gal img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gal:hover img { transform: scale(1.06); }

.gal::after {
  content: '⤢';
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(244, 238, 228, 0.95);
  color: var(--verde-bosque);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gal:hover::after { opacity: 1; }

.gal-tall { grid-row: span 2; }
.gal-wide { grid-column: span 2; }

/* ============ CONTACTO ============ */
.section-contact {
  background:
    linear-gradient(rgba(56, 61, 31, 0.86), rgba(56, 61, 31, 0.86)),
    url("../img/photos/FotoLote1.jpg") center/cover no-repeat fixed;
  color: var(--hueso);
}

@media (max-width: 980px) {
  .section-contact { background-attachment: scroll; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-info h2 { color: var(--hueso); }
.contact-info > p {
  font-size: 1.1rem;
  color: rgba(244, 238, 228, 0.85);
  margin: 20px 0 36px;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--hueso);
}

.contact-points svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--paja);
}

.contact-points a:hover { color: var(--paja); }

/* Form */
.contact-form {
  background: var(--hueso);
  color: var(--verde-bosque-deep);
  padding: 50px 44px;
  border-radius: 6px;
  box-shadow: var(--shadow-strong);
}

.contact-form h3 {
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--verde-bosque);
}

.form-intro {
  margin: 0 0 30px;
  color: rgba(56, 61, 31, 0.7);
}

.field {
  margin-bottom: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobre);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(78, 85, 44, 0.18);
  background: white;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1.05rem;
  color: var(--verde-bosque-deep);
  transition: border-color var(--transition);
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--mostaza);
  box-shadow: 0 0 0 4px rgba(177, 134, 50, 0.15);
}

.field textarea { resize: vertical; min-height: 110px; }

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(56, 61, 31, 0.78);
  margin: 16px 0 24px;
  cursor: pointer;
}
.checkbox input { margin-top: 5px; accent-color: var(--verde-bosque); }

.form-actions { margin-top: 8px; }

.form-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(56, 61, 31, 0.6);
  font-style: italic;
}

.form-feedback {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.form-feedback.success {
  background: rgba(78, 85, 44, 0.1);
  color: var(--verde-bosque);
  border: 1px solid var(--verde-bosque);
}
.form-feedback.error {
  background: rgba(107, 54, 23, 0.1);
  color: var(--cobre);
  border: 1px solid var(--cobre);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--verde-bosque-deep);
  color: var(--hueso);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding: 70px 24px 50px;
  align-items: start;
}

.footer-brand img {
  width: 220px;
  filter: brightness(0) invert(1);
  margin-bottom: 26px;
}

.footer-tagline {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  margin: 0;
  color: var(--hueso);
}
.footer-tagline em {
  font-style: italic;
  color: var(--paja);
  font-weight: 400;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--paja);
  margin: 0 0 18px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 0.98rem;
  color: rgba(244, 238, 228, 0.78);
  margin: 0 0 10px;
}
.footer-col a:hover { color: var(--paja); }

.footer-bottom {
  border-top: 1px solid rgba(244, 238, 228, 0.1);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom small {
  font-size: 0.78rem;
  color: rgba(244, 238, 228, 0.55);
}
.footer-bottom a { color: rgba(244, 238, 228, 0.78); }
.footer-bottom a:hover { color: var(--paja); }

/* ============ WHATSAPP FLOATING ============ */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  width: 60px; height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}
.wa-float:hover {
  transform: scale(1.08);
  color: white;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}
.wa-float svg { width: 32px; height: 32px; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(56, 61, 31, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; animation: fadeIn .3s ease; }
.lightbox img {
  max-width: 95%;
  max-height: 95vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 28px;
  background: transparent;
  border: 0;
  color: var(--hueso);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition);
}
.lightbox-close:hover { transform: rotate(90deg); color: var(--paja); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ ANIMACIONES SCROLL ============ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }

  /* Nav */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 360px;
    height: 100vh;
    background: var(--hueso);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  }
  .site-nav.active { right: 0; }
  .site-nav a { color: var(--verde-bosque-deep) !important; font-size: 1rem; }

  .manifesto-grid,
  .specs-card,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .specs-card { padding: 50px 30px; }
  .specs-image { aspect-ratio: 16/12; max-height: 360px; }

  .stats-grid,
  .proximity {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .distances-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gal-wide { grid-column: span 2; }
  .gal-tall { grid-row: span 1; }

  .footer-cols { grid-template-columns: 1fr; gap: 30px; }

  .contact-form { padding: 36px 24px; }
  .field-row { grid-template-columns: 1fr; }

  .hero-content { padding: 100px 24px 70px; }

  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
}

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gal-wide { grid-column: span 1; }
  .distances-grid { grid-template-columns: 1fr; }
}
