/* SmartPeace — estilos del sitio. Tokens según .claude/skills/smartpeace-brand/references/branding.md */

/* Fuentes alojadas en el propio sitio (sin peticiones a Google).
   Inter y Poppins se distribuyen bajo la SIL Open Font License 1.1. Subconjunto "latin" (incluye á é í ó ú ñ ü ¿ ¡). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700.woff2") format("woff2");
}

:root {
  /* Logotipo */
  --sp-blue: #1E88E5;
  --sp-blue-deep: #0363B3;
  --sp-green: #5CB85C;
  --sp-gradient: linear-gradient(180deg, #1E88E5 0%, #0363B3 100%);
  /* Secundarios */
  --sp-ink: #14213D;
  --sp-muted: #5F6B76;
  --sp-surface: #F3F7FA;
  --sp-cyan: #5BC0EB; /* solo sobre fondos oscuros */
  /* Derivados */
  --sp-green-text: #2E7D32;
  --sp-text: #334155;
  --sp-border: #DCE5F0;
  --sp-white: #FFFFFF;
  /* Forma y espacio */
  --sp-radius-sm: 8px;
  --sp-radius-md: 16px;
  --sp-radius-lg: 28px;
  --sp-radius-pill: 999px;
  --sp-shadow-card: 0 10px 30px -12px rgb(3 99 179 / .25);
  --sp-container: 1200px;
  /* Tipografía */
  --sp-font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sp-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sp-white);
  color: var(--sp-text);
  font: 400 1rem/1.6 var(--sp-font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sp-blue-deep); }
h1, h2, h3 { font-family: var(--sp-font-display); color: var(--sp-ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.8vw, 2.5rem); line-height: 1.15; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--sp-container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 56px, var(--sp-container)); } }
.narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 28px; height: 28px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--sp-ink); color: #fff; padding: 12px 16px; border-radius: var(--sp-radius-sm); }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sp-blue); outline-offset: 3px; border-radius: 4px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 24px; border-radius: var(--sp-radius-pill);
  font: 600 1rem/1 var(--sp-font-body); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.btn-primary { background: var(--sp-blue-deep); color: #fff; box-shadow: 0 8px 20px -10px rgb(3 99 179 / .7); }
.btn-primary:hover { background: color-mix(in srgb, var(--sp-blue-deep) 82%, var(--sp-ink)); transform: translateY(-1px); }
.btn-secondary { border-color: var(--sp-blue-deep); color: var(--sp-blue-deep); background: transparent; }
.btn-secondary:hover { background: rgb(3 99 179 / .06); }
.btn-light { background: #fff; color: var(--sp-blue-deep); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .5); }
.btn-outline-light { border-color: rgb(255 255 255 / .7); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / .1); }

/* Pill */
.pill {
  display: inline-block; margin-bottom: 14px; padding: 6px 12px;
  border-radius: var(--sp-radius-pill); background: var(--sp-green); color: var(--sp-ink);
  font: 600 .8125rem/1 var(--sp-font-body); letter-spacing: .06em; text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96);
  backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgb(20 33 61 / .35); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand img { width: auto; height: 40px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--sp-ink); font-weight: 500; text-decoration: none; border-radius: var(--sp-radius-sm);
}
.site-nav a:hover { color: var(--sp-blue-deep); background: var(--sp-surface); }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .btn-header { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; margin-left: auto; width: 48px; height: 48px;
    border: 0; border-radius: var(--sp-radius-sm); background: transparent; color: var(--sp-ink); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before { position: absolute; top: -7px; }
  .nav-toggle-bar::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; inset: var(--header-h) 0 auto 0; margin: 0; background: #fff;
    border-top: 1px solid var(--sp-border); box-shadow: 0 16px 30px -18px rgb(20 33 61 / .4);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a { width: 100%; min-height: 52px; font-size: 1.0625rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--sp-ink); color: #fff; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { padding-top: clamp(40px, 8vw, 96px); }
.hero h1 { color: #fff; }
.hero .lead { color: rgb(255 255 255 / .86); }
.hero .hero-facts { color: rgb(255 255 255 / .8); }
.hero .hero-facts strong { color: #fff; }
.hero :focus-visible { outline-color: var(--sp-cyan); }
.hero-photo { position: relative; margin: 0 calc(50% - 50vw); }
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 600px) { .hero-photo img { aspect-ratio: 16 / 9; object-position: 50% 70%; } }
.hero-photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 30%; background: linear-gradient(var(--sp-ink), transparent); }
.hero-photo figcaption {
  position: absolute; right: 0; bottom: 0; left: 0; padding: 48px 20px 16px; font-size: .875rem; color: #fff; text-align: right;
  background: linear-gradient(transparent, rgb(20 33 61 / .85));
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: clamp(580px, 82vh, 780px); }
  .hero-copy { position: relative; z-index: 1; padding: 72px 40px 72px 0; }
  .hero-photo { position: absolute; inset: 0 0 0 50%; margin: 0; }
  .hero-photo img { height: 100%; aspect-ratio: auto; object-position: 50% 50%; }
  .hero-photo::before { inset: 0 auto 0 -2px; width: 45%; height: auto; background: linear-gradient(90deg, var(--sp-ink) 3%, transparent); }
}
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); max-width: 60ch; color: var(--sp-text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--sp-muted); font-size: .95rem; }
.hero-facts li { position: relative; padding-left: 16px; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--sp-green); }
.hero-facts strong { color: var(--sp-ink); }

/* Secciones */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-surface { background: var(--sp-surface); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.0625rem; color: var(--sp-muted); }

/* Tarjetas de servicio */
.cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.card {
  position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--sp-radius-lg);
  background: #fff; box-shadow: var(--sp-shadow-card); border: 1px solid transparent;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--sp-blue); box-shadow: 0 18px 36px -16px rgb(3 99 179 / .35); }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--sp-surface); color: var(--sp-blue-deep); }
.card-icon .icon { width: 26px; height: 26px; }
.card p { color: var(--sp-muted); font-size: .9688rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* toda la tarjeta clicable */
.card-link .icon { transition: transform .2s var(--ease); }
.card:hover .card-link .icon { transform: translateX(3px); }
.brands { margin: 36px 0 0; text-align: center; color: var(--sp-muted); }
.brands strong { color: var(--sp-ink); }

/* Degradado */
/* Sección con mucho texto blanco: arranca en --sp-blue-deep (6.1:1) en lugar de --sp-blue (3.7:1) para cumplir AA */
.section-gradient { background: linear-gradient(160deg, var(--sp-blue-deep) 0%, color-mix(in srgb, var(--sp-blue-deep) 55%, var(--sp-ink)) 100%); color: #fff; position: relative; overflow: hidden; }
.section-gradient::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%;
  border: 70px solid rgb(255 255 255 / .06); pointer-events: none;
}
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgb(255 255 255 / .9); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 48px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 24px; border-radius: var(--sp-radius-lg);
  background: #fff; color: var(--sp-ink); box-shadow: 0 20px 40px -24px rgb(0 0 0 / .45);
}
.stat dd { margin: 0 0 4px; font: 700 clamp(2.25rem, 1.8rem + 2vw, 3rem)/1 var(--sp-font-display); color: var(--sp-blue-deep); }
.stat dt { font-weight: 600; color: var(--sp-ink); }
.reasons { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; position: relative; }
@media (min-width: 640px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reasons { grid-template-columns: repeat(4, 1fr); } }
.reasons .icon { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: rgb(255 255 255 / .14); color: #fff; margin-bottom: 12px; }
.reasons h3 { color: #fff; font-size: 1.125rem; }
.reasons p { color: rgb(255 255 255 / .9); margin: 0; }

/* Pasos */
.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li { padding: 28px; border-radius: var(--sp-radius-lg); border: 1px solid var(--sp-border); background: #fff; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--sp-ink); color: #fff; font: 700 1.125rem/1 var(--sp-font-display); }
.steps p { margin: 0; color: var(--sp-muted); }

/* Zonas */
.zones { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .zones { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.zones p { color: var(--sp-muted); font-size: 1.0625rem; }
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.zone-list li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border-radius: var(--sp-radius-pill); background: #fff; border: 1px solid var(--sp-border);
  color: var(--sp-ink); font-weight: 600;
}
.zone-list .icon { color: var(--sp-blue-deep); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--sp-radius-md); border: 1px solid var(--sp-border); background: #fff; }
.faq details[open] { border-color: var(--sp-blue); box-shadow: var(--sp-shadow-card); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 20px;
  cursor: pointer; list-style: none; font: 600 1.0625rem/1.35 var(--sp-font-display); color: var(--sp-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--sp-font-body); color: var(--sp-blue-deep); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--sp-text); }

/* CTA final */
.cta-section { padding-top: 0; }
.cta-box {
  display: grid; gap: 28px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--sp-radius-lg);
  background: radial-gradient(70% 120% at 0% 100%, rgb(30 136 229 / .45), transparent 70%), var(--sp-ink); color: #fff;
}
@media (min-width: 960px) { .cta-box { grid-template-columns: 1.3fr 1fr; } }
.cta-box h2 { color: #fff; }
.cta-box p { margin: 0; color: rgb(255 255 255 / .88); font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .cta-actions { justify-content: flex-end; } }
@media (max-width: 479px) {
  .cta-box { grid-template-columns: minmax(0, 1fr); padding: 32px 20px; }
  .cta-actions .btn { width: 100%; padding-inline: 12px; font-size: 1rem; white-space: normal; text-align: center; line-height: 1.2; }
}

/* Footer */
.site-footer { background: var(--sp-ink); color: rgb(255 255 255 / .82); padding: 64px 0 24px; font-size: .9688rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 220px; height: auto; margin-bottom: 16px; }
.footer-title { font: 600 .8125rem/1 var(--sp-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--sp-cyan); margin-bottom: 16px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.site-footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.site-footer a:hover { color: var(--sp-cyan); }
.footer-contact span { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: #fff; }
.footer-contact .icon, .footer-note .icon { color: var(--sp-cyan); }
.footer-note { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / .14); font-size: .875rem;
}
.footer-bottom p { margin: 0; }

/* Páginas de servicio */
.svc-hero {
  position: relative; overflow: hidden; padding: clamp(28px, 5vw, 72px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(30 136 229 / .12), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgb(92 184 92 / .10), transparent 70%),
    var(--sp-white);
}
.svc-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .svc-hero-grid { grid-template-columns: 1.4fr .6fr; gap: 64px; } }
.svc-hero .lead { max-width: 58ch; }
.svc-badge {
  display: none; justify-self: center; place-items: center; width: 280px; aspect-ratio: 1; border-radius: 50%;
  background: var(--sp-gradient); color: #fff; box-shadow: 0 30px 60px -30px rgb(3 99 179 / .7);
  outline: 14px solid rgb(30 136 229 / .10); outline-offset: 10px;
}
.svc-badge .icon { width: 120px; height: 120px; stroke-width: 1.3; }
@media (min-width: 960px) { .svc-badge { display: grid; } }

.svc-intro { display: grid; gap: 16px 56px; }
@media (min-width: 900px) { .svc-intro { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.svc-intro-text p { font-size: 1.125rem; color: var(--sp-text); max-width: 60ch; }
.svc-intro-text p:last-child { margin-bottom: 0; }

.caps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .caps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.cap { display: flex; gap: 16px; padding: 24px; border-radius: var(--sp-radius-lg); background: #fff; box-shadow: var(--sp-shadow-card); }
.cap > .icon { flex: none; width: 36px; height: 36px; padding: 7px; box-sizing: border-box; border-radius: 50%; background: var(--sp-surface); color: var(--sp-green-text); stroke-width: 2.4; }
.cap h3 { font-size: 1.0625rem; margin-bottom: .3em; }
.cap p { margin: 0; color: var(--sp-muted); font-size: .9688rem; }

.uses { display: grid; gap: 20px; }
@media (min-width: 768px) { .uses { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 768px) { .uses-single { grid-template-columns: minmax(0, 640px); } }
.use-card { padding: 28px; border-radius: var(--sp-radius-lg); border: 1px solid var(--sp-border); background: #fff; }
.use-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 18px; }
.use-card h3 .icon { width: 44px; height: 44px; padding: 10px; box-sizing: border-box; border-radius: 12px; background: var(--sp-ink); color: #fff; }
.use-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.use-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--sp-ink); font-weight: 500; }
.use-card li .icon { margin-top: .15em; color: var(--sp-green-text); stroke-width: 2.4; }

@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.cta-after-surface { padding-top: clamp(64px, 9vw, 112px); }

/* Galería de proyectos */
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; max-width: none; }
.gallery { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--sp-radius-lg); background: var(--sp-ink); box-shadow: var(--sp-shadow-card); }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 22px 20px; color: #fff;
  background: linear-gradient(180deg, transparent, rgb(20 33 61 / .88) 55%);
}
.shot figcaption b { display: block; font: 600 1.0625rem/1.3 var(--sp-font-display); }
.shot figcaption span { display: block; margin-top: 4px; font-size: .9375rem; line-height: 1.45; color: rgb(255 255 255 / .88); }
.home-gallery { margin-top: 8px; }
@media (min-width: 1024px) { .home-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Página Zonas */
.zone-services { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.zone-services a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--sp-radius-pill);
  border: 1px solid var(--sp-border); background: #fff; color: var(--sp-ink); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.zone-services a:hover { border-color: var(--sp-blue); color: var(--sp-blue-deep); }
.zones-more { margin-top: 24px; }
.zones-more a { font-weight: 600; }

/* Página Nosotros */
.about-hero { max-width: 860px; }
.about-quote { font-family: var(--sp-font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); line-height: 1.35; color: var(--sp-ink); max-width: 36ch; }
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.founder-photo { margin: 0; }
@media (min-width: 900px) { .founder-photo { position: sticky; top: calc(var(--header-h) + 24px); } }
.founder-photo img, .founder-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card); }
.founder-placeholder {
  display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center;
  background: var(--sp-gradient); color: #fff; font-weight: 600;
}
.founder-placeholder .icon { width: 64px; height: 64px; }
.founder-photo figcaption { margin-top: 14px; color: var(--sp-muted); font-size: .9375rem; font-weight: 500; }
.about-text p { font-size: 1.125rem; line-height: 1.7; max-width: 62ch; }
.about-text .signature { margin-top: 28px; font-family: var(--sp-font-display); font-weight: 600; color: var(--sp-ink); }
.areas { display: grid; gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.areas a {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: var(--sp-radius-md);
  background: #fff; box-shadow: var(--sp-shadow-card); color: var(--sp-ink); font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.areas a:hover { transform: translateY(-2px); }
.areas .card-icon { width: 46px; height: 46px; margin: 0; flex: none; }
.areas .card-icon .icon { width: 22px; height: 22px; }
.areas .arrow { margin-left: auto; color: var(--sp-blue-deep); }
.vision-text { max-width: 760px; margin-bottom: 48px; }
.vision-text p { font-size: 1.1875rem; line-height: 1.65; color: rgb(255 255 255 / .92); }
.vision-close { margin: 48px 0 0; font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1.2 var(--sp-font-display); color: #fff; }

/* Páginas legales */
.legal-hero {
  padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
  background: radial-gradient(60% 90% at 100% 0%, rgb(30 136 229 / .10), transparent 70%), var(--sp-surface);
  border-bottom: 1px solid var(--sp-border);
}
.legal-hero .lead { max-width: 68ch; }
.legal-updated { margin: 0; color: var(--sp-muted); font-size: .9375rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .9375rem; color: var(--sp-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--sp-border); }
.breadcrumb a { color: var(--sp-blue-deep); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; } }
.legal-toc { padding: 20px; border-radius: var(--sp-radius-md); background: var(--sp-surface); border: 1px solid var(--sp-border); }
@media (min-width: 1024px) { .legal-toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.legal-toc-title { font: 600 .8125rem/1 var(--sp-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--sp-muted); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 1.25em; display: grid; gap: 2px; font-size: .9375rem; }
.legal-toc a { display: block; padding: 5px 0; line-height: 1.35; color: var(--sp-ink); text-decoration: none; }
.legal-toc a:hover { color: var(--sp-blue-deep); text-decoration: underline; }

.legal { max-width: 72ch; min-width: 0; overflow-wrap: break-word; }
.legal section + section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--sp-border); }
.legal h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.legal h3 { font-size: 1.0625rem; margin-top: 1.5em; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal li::marker { color: var(--sp-blue-deep); font-weight: 600; }
.legal strong { color: var(--sp-ink); }
.legal .callout { padding: 16px 20px; border-left: 4px solid var(--sp-green); border-radius: 0 var(--sp-radius-sm) var(--sp-radius-sm) 0; background: var(--sp-surface); }
.table-wrap { overflow-x: auto; margin: 0 0 1.25em; border: 1px solid var(--sp-border); border-radius: var(--sp-radius-md); }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sp-border); }
.table-wrap thead th { background: var(--sp-surface); color: var(--sp-ink); font-weight: 600; }
.table-wrap tbody th { color: var(--sp-ink); font-weight: 600; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }

/* WhatsApp flotante (solo móvil) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--sp-blue-deep); color: #fff;
  box-shadow: 0 12px 28px -10px rgb(3 99 179 / .8);
}
.wa-float .icon { width: 26px; height: 26px; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* Animación de entrada */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Opiniones de Google: citas textuales, sin marcado de reseñas */
.rating { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--sp-muted); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--sp-green); }
.stars .icon { width: 18px; height: 18px; }
.reviews { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .reviews { grid-template-columns: 1.35fr 1fr; gap: 24px; } }
.review { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 32px); border-radius: var(--sp-radius-lg); background: var(--sp-white); border: 1px solid var(--sp-border); }
.review blockquote { margin: 0; color: var(--sp-ink); font-size: 1.0313rem; line-height: 1.6; }
.review blockquote p + p { margin-top: .75em; }
.review-by { margin: 0; color: var(--sp-muted); font-size: .9375rem; }
.review-by b { display: block; color: var(--sp-ink); font-family: var(--sp-font-display); font-weight: 600; }

/* Página 404 */
.nf-links { display: grid; gap: 4px 24px; margin: 20px 0 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 640px) { .nf-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nf-links { grid-template-columns: repeat(4, 1fr); } }
