:root {
  --green: #5fd68a;
  --green-dark: #3a8c5a;
  --green-deep: #1f5a3a;
  --brown: #6b4f3a;
  --brown-dark: #3a2e25;
  --brown-deep: #241c16;
  --bg: #fdfbf7;
  --bg-alt: #f5f0ec;
  --white: #ffffff;
  --text: #3a2e25;
  --text-2: #7a6b5e;
  --text-muted: #a89a8e;
  --border: #e8e0d8;
  --shadow-sm: 0 1px 3px rgba(58,46,37,0.06);
  --shadow-md: 0 8px 24px rgba(58,46,37,0.08);
  --shadow-lg: 0 20px 50px rgba(58,46,37,0.12);
  --shadow-xl: 0 30px 80px rgba(36,28,22,0.25);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --pad-y: 80px;
  --pad-x: 24px;
  --max: 1200px;
  --header-h: 76px;
}
@media (min-width:768px) { :root { --pad-x: 48px; --pad-y: 100px; } }
@media (min-width:1024px) { :root { --pad-x: 64px; --pad-y: 120px; --header-h: 84px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brown-dark); color: var(--white);
  padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---- BOTONES ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 15px;
  min-height: 48px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn-cotizar {
border-radius: 10px;
padding-left: 50px;
background:#0d5029;
box-shadow: 0 8px 20px rgba(95,214,138,0.35);
color: #2b4635;
}



.btn-primary {
  background: var(--green); color: var(--brown-deep);
  box-shadow: 0 8px 20px rgba(95,214,138,0.35);
}
.btn-primary:hover { background: #7ee3a3; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(95,214,138,0.5); }
.btn-outline-light {
  background: rgba(255,255,255,0.05); color: var(--white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-dark { background: var(--brown-dark); color: var(--white); }
.btn-dark:hover { background: var(--brown-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- HEADER ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  padding: 0 20px;
  background: rgba(253,251,247,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
@media (min-width:1024px) { .header { padding: 0 48px; } }
@media (min-width:1440px) { .header { padding: 0 64px; } }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 38px; width: auto; border-radius: 6px; }
@media (min-width:1024px) { .logo img { height: 70px; } }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px; margin: 0 auto;
  background: var(--text); transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); padding: 16px 24px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 16px; font-weight: 500;
  transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none;
  transition: transform 0.25s, opacity 0.25s;
  box-shadow: var(--shadow-lg);
}
.nav.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
.nav a { padding: 14px 0; width: 100%; color: var(--text); transition: color 0.2s; }
.nav a:hover { color: var(--green-dark); }
.nav .btn { margin-top: 16px; width: 100%; }

@media (min-width:1024px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 36px;
    background: none; border: none; padding: 0;
    transform: none; opacity: 1; pointer-events: auto;
    font-size: 15px; box-shadow: none;
  }
  .nav a { padding: 0; width: auto; position: relative; }
  .nav a:not(.btn)::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 2px; background: var(--green); transition: width 0.3s;
  }
  .nav a:not(.btn):hover::after { width: 100%; }
  .nav .btn { margin-top: 0; width: auto; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: flex-end;
  background: var(--brown-deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../imgs/hero.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,28,22,0.5) 0%, rgba(36,28,22,0.72) 55%, rgba(36,28,22,0.95) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px 56px;
}
@media (min-width:768px) { .hero-content { padding: 100px 48px 64px; } }
@media (min-width:1024px) { .hero-content { padding: 120px 64px 88px; } }

.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.hero .eyebrow::before {
  content: ''; width: 36px; height: 2px; background: var(--green);
}

.hero h1 {
  font-size: clamp(40px, 8vw, 82px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 28px;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 36px;
}
@media (min-width:1024px) { .hero p { font-size: 19px; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- STATS ---- */
.stats {
  background: var(--brown-dark);
  color: var(--white);
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width:640px) {
  .stats { grid-template-columns: repeat(3, 1fr); padding: 40px 48px; gap: 24px; }
}
@media (min-width:1024px) { .stats { padding: 48px 64px; } }

.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700;
  color: var(--green); line-height: 1;
}
@media (min-width:768px) { .stat-num { font-size: 38px; } }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.65); }

/* ---- ICON REEL ---- */
.icon-reel {
  background: var(--brown-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
}
.icon-reel::before,
.icon-reel::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2; pointer-events: none;
}
.icon-reel::before { left: 0; background: linear-gradient(90deg, var(--brown-deep), transparent); }
.icon-reel::after { right: 0; background: linear-gradient(270deg, var(--brown-deep), transparent); }
.icon-reel-track {
  display: flex;
  width: max-content;
  animation: icon-reel-scroll 40s linear infinite;
}
.icon-reel-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 28px; flex-shrink: 0;
  color: var(--green);
}
.icon-reel-item .reel-icon { width: 30px; height: 30px; flex-shrink: 0; }
.icon-reel-item .reel-icon svg { width: 100%; height: 100%; }
.icon-reel-label {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.icon-reel-sep {
  display: flex; align-items: center; color: rgba(95,214,138,0.4);
  font-size: 20px; padding: 0 8px;
}
@keyframes icon-reel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- SECCIONES ---- */
.section { padding: var(--pad-y) var(--pad-x); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--green-dark);
}
.section h2 {
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 18px;
}
.section-lede {
  font-size: 16px; color: var(--text-2); line-height: 1.6;
}

/* ---- SERVICIOS ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width:560px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(36,28,22,0.45) 100%);
}
.service-card-body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; flex-grow: 1;
}
.service-card-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  margin-bottom: 8px; color: var(--text); line-height: 1.25;
}
.service-card-desc {
  font-size: 14px; line-height: 1.55; color: var(--text-2);
  flex-grow: 1; margin-bottom: 16px;
}
.service-card-tag {
  font-size: 11px; font-weight: 700;
  color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.1em;
}

@media (min-width:1100px) {
  .services-grid .service-card:nth-child(9) { grid-column: 2; }
  .services-grid .service-card:nth-child(10) { grid-column: 3; }
}

/* ---- PROCESO ---- */
.proceso-section { background: var(--bg-alt); }
.proceso-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width:640px) { .proceso-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .proceso-grid { grid-template-columns: repeat(4, 1fr); } }
.proceso-item {
  padding-top: 28px; border-top: 2px solid var(--border); position: relative;
}
.proceso-item::before {
  content: ''; position: absolute; top: -2px; left: 0;
  width: 52px; height: 2px; background: var(--green);
}
.proceso-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  display: block;
}
@media (min-width:768px) { .proceso-num { font-size: 52px; } }
@media (min-width:1024px) { .proceso-num { font-size: 58px; } }
.proceso-title { font-size: 19px; margin-bottom: 10px; }
.proceso-desc { font-size: 14px; line-height: 1.65; color: var(--text-2); }

/* ---- GALERÍA 3 COLUMNAS x 2 FILAS ---- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width:640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width:900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/2;
  margin: 0;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 60px 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(36,28,22,0.92));
  color: var(--white); font-size: 16px; font-weight: 600;
  font-family: var(--font-display);
}

/* ---- NOSOTROS ---- */
.nosotros { background: var(--brown-deep); color: var(--white); }
.nosotros-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width:1024px) { .nosotros-inner { grid-template-columns: 1fr 1fr; gap: 72px; } }
.nosotros-img {
  border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-xl);
}
@media (min-width:1024px) { .nosotros-img { aspect-ratio: 1; } }
.nosotros-img img { width: 100%; height: 100%; object-fit: cover; }
.nosotros h3 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white); margin-bottom: 22px; line-height: 1.15;
}
.nosotros h3 em { font-style: normal; color: var(--green); }
.nosotros p { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.72); }
.nosotros .eyebrow { color: var(--green); }
.nosotros .eyebrow::before { background: var(--green); }

/* ---- COBERTURA ---- */
.cobertura { background: var(--bg-alt); }
.cobertura-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width:1024px) {
  .cobertura-inner { grid-template-columns: 1fr 1.1fr; gap: 72px; }
}
.cobertura-copy h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 22px;
  color: var(--brown-deep);
}
.cobertura-copy h2 em { font-style: normal; color: var(--green-dark); }
.cobertura-desc {
  font-size: 16px; line-height: 1.8; color: var(--text-2);
  margin-bottom: 24px;
  max-width: 480px;
}
.cobertura-rule {
  height: 1px; background: var(--border); margin: 24px 0; max-width: 480px;
}
.cobertura-contact {
  font-size: 15px; line-height: 1.7; color: var(--text-2);
  margin-bottom: 28px; max-width: 480px;
}
.cobertura-img {
  border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-xl);
}
.cobertura-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- CTA FINAL con degradado verde claro a oscuro ---- */
.cta {
  background: linear-gradient(135deg, #2b4635 0%, var(--green) 50%, var(--green-dark) 70%, var(--green-deep) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(30px, 5vw, 52px);
  max-width: 800px; margin: 0 auto 32px;
  color: var(--white);
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.cta .btn {
  background: var(--white); color: var(--green-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta .btn:hover {
  background: var(--brown-deep); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--brown-deep); color: rgba(255,255,255,0.6);
  padding: 30px 20px; text-align: center;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
@media (min-width:768px) {
  .footer {
    flex-direction: row; justify-content: space-between; text-align: left;
    padding: 40px 48px;
  }
}
@media (min-width:1440px) { .footer { padding: 40px 64px; } }
.footer-brand { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 16px; }
.footer a:hover { color: var(--green); }
.footer small { font-size: 14px; }

/* ---- ANIMACIONES ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.icon-anim--sway { animation: icon-sway 3.4s ease-in-out infinite; transform-origin: center; }
.icon-anim--scissor-a { animation: icon-scissor-a 1.3s ease-in-out infinite; transform-origin: 30% 50%; }
.icon-anim--fall { animation: icon-fall 2.6s ease-in-out infinite; transform-origin: center; }
.icon-anim--hop { animation: icon-hop 1.8s ease-in-out infinite; }
.icon-anim--sprout { animation: icon-sprout 2.6s ease-in-out infinite; transform-origin: center bottom; }
.icon-anim--drop { animation: icon-drop 2.2s ease-in-out infinite; }
.icon-anim--sweep { animation: icon-sweep 1.8s ease-in-out infinite; }
.icon-anim--rake { animation: icon-rake 1.8s ease-in-out infinite; }
.icon-anim--pulse { animation: icon-pulse 2.4s ease-in-out infinite; }

@keyframes icon-sway { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes icon-scissor-a { 0%,100% { transform: rotate(-14deg); } 50% { transform: rotate(4deg); } }
@keyframes icon-fall { 0%,60% { transform: rotate(0deg); } 100% { transform: rotate(22deg); } }
@keyframes icon-hop { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes icon-sprout { 0%,100% { transform: scaleY(0.7); } 50% { transform: scaleY(1.05); } }
@keyframes icon-drop { 0% { transform: translateY(-3px); opacity: 0.4; } 40% { opacity: 1; } 70% { transform: translateY(4px); opacity: 1; } 100% { transform: translateY(4px); opacity: 0.4; } }
@keyframes icon-sweep { 0%,100% { transform: translate(0,0); opacity: 0.4; } 50% { transform: translate(6px,1px); opacity: 1; } }
@keyframes icon-rake { 0%,100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
@keyframes icon-pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .icon-reel-track { animation: none; }
  .icon-anim--sway, .icon-anim--scissor-a, .icon-anim--fall,
  .icon-anim--hop, .icon-anim--sprout, .icon-anim--drop, .icon-anim--sweep,
  .icon-anim--rake, .icon-anim--pulse { animation: none; }
}

/* ---- WHATSAPP FLOTANTE ---- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(37,211,102,0.55);
  background: #20bd5a;
  color: #ffffff;
}
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.whatsapp-float-label { white-space: nowrap; }

/* Pulso animado */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: #25D366;
  z-index: -1;
  animation: whatsapp-pulse 2.4s ease-out infinite;
}
@keyframes whatsapp-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0;   }
}

/* En móvil solo el icono */
@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 14px;
  }
  .whatsapp-float-label { display: none; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* Respeto a reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; }
}


/* Estilos específicos para la página legal */
.legal-hero {
  background: var(--brown-deep);
  color: var(--white);
  padding: 100px 20px 60px;
  text-align: center;
}
@media (min-width:768px) { .legal-hero { padding: 120px 48px 80px; } }
.legal-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
}
.legal-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}
.legal-hero .eyebrow { color: var(--green); justify-content: center; }
.legal-hero .eyebrow::before { background: var(--green); }

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}
.legal-content h2 {
  font-size: 24px;
  margin: 44px 0 16px;
  color: var(--brown-deep);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 20px 20px;
  color: var(--text-2);
  line-height: 1.8;
}
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text); }
.legal-content a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--green-deep); }
.legal-updated {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 40px;
  font-weight: 500;
}

/* Estilos específicos para la página legal */
.legal-hero {
  background: var(--brown-deep);
  color: var(--white);
  padding: 100px 20px 60px;
  text-align: center;
}
@media (min-width:768px) { .legal-hero { padding: 120px 48px 80px; } }
.legal-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
}
.legal-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}
.legal-hero .eyebrow { color: var(--green); justify-content: center; }
.legal-hero .eyebrow::before { background: var(--green); }

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}
.legal-content h2 {
  font-size: 24px;
  margin: 44px 0 16px;
  color: var(--brown-deep);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 20px 20px;
  color: var(--text-2);
  line-height: 1.8;
}
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text); }
.legal-content a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--green-deep); }
.legal-updated {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 40px;
  font-weight: 500;
}
