/* =========================================================
   LOCUTORIO UNIVERSAL SERVICIOS — Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  /* Color */
  --bg:#ffffff;
  --bg-alt:#f5f8fa;
  --surface:#ffffff;
  --border:#e6ebf0;
  --navy:#0b2545;
  --navy-700:#123a63;
  --navy-050:#eef3f9;
  --turquoise:#0f9b96;
  --turquoise-100:#e5f6f5;
  --amber:#ffb703;
  --amber-600:#e6a300;
  --text:#152230;
  --text-muted:#5c6b79;
  --text-on-navy:#eef3f9;
  --success:#1f9d55;
  --danger:#d5473b;

  /* Radius */
  --r-lg:20px;
  --r-md:14px;
  --r-sm:10px;

  /* Shadow */
  --shadow-sm:0 2px 10px rgba(11,37,69,.07);
  --shadow-md:0 12px 32px rgba(11,37,69,.10);

  /* Layout */
  --container:1200px;
  --header-h:72px;
  --bottombar-h:64px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
  padding-bottom: var(--bottombar-h);
}
@media (min-width:900px){
  body{ padding-bottom:0; }
}

h1,h2,h3,h4{ font-family:var(--font); font-weight:800; line-height:1.15; margin:0 0 .5em; color:var(--navy); letter-spacing:-0.01em; }
h1{ font-size:clamp(2rem,5vw,3.25rem); }
h2{ font-size:clamp(1.5rem,3.2vw,2.25rem); }
h3{ font-size:clamp(1.15rem,2vw,1.4rem); }
p{ margin:0 0 1em; color:var(--text-muted); }
a{ color:var(--turquoise); text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:var(--font); }

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid var(--amber);
  outline-offset:2px;
  border-radius:6px;
}

/* Skip link */
.skip-link{
  position:absolute; left:-999px; top:0; z-index:2000;
  background:var(--navy); color:#fff; padding:.75rem 1.25rem; border-radius:0 0 10px 0;
}
.skip-link:focus{ left:0; }

/* Layout helpers */
.container{ max-width:var(--container); margin:0 auto; padding:0 1.25rem; }
.section{ padding:clamp(2.5rem,6vw,5rem) 0; }
.section-alt{ background:var(--bg-alt); }
.eyebrow{
  display:inline-flex; align-items:center; gap:.4em;
  color:var(--turquoise); font-weight:700; font-size:.8rem;
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:.75rem;
}
.center{ text-align:center; }
.section-head{ max-width:640px; margin:0 auto 2.5rem; }
.section-head.left{ margin:0 0 2.5rem; }
.text-lead{ font-size:1.1rem; }
.stack{ display:flex; flex-direction:column; gap:1rem; }
.mt-0{ margin-top:0; }

/* =========== BUTTONS =========== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  font-weight:700; font-size:1rem; line-height:1;
  padding:.95rem 1.5rem; border-radius:999px; border:2px solid transparent;
  min-height:48px; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--amber); color:var(--navy); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--amber-600); box-shadow:var(--shadow-md); }
.btn-outline{ background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-outline:hover{ background:var(--navy); color:#fff; }
.btn-ghost{ background:var(--navy-050); color:var(--navy); }
.btn-ghost:hover{ background:var(--navy); color:#fff; }
.btn-on-navy{ background:var(--amber); color:var(--navy); }
.btn-block{ width:100%; }
.btn-sm{ padding:.65rem 1.1rem; font-size:.9rem; min-height:44px; }
.btn-row{ display:flex; flex-wrap:wrap; gap:.85rem; }

/* =========== HEADER =========== */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(255,255,255,.92); backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
  height:var(--header-h);
}
.site-header .container{
  height:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.brand{ display:flex; align-items:center; gap:.6rem; font-weight:800; color:var(--navy); font-size:1.05rem; }
.brand .logo-mark{
  width:38px; height:38px; border-radius:10px;
  background:linear-gradient(135deg,var(--navy),var(--turquoise));
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:1rem; flex-shrink:0;
}
.brand small{ display:block; font-weight:600; color:var(--text-muted); font-size:.7rem; }

.main-nav{ display:none; }
.main-nav ul{ display:flex; align-items:center; gap:1.75rem; }
.main-nav a{
  color:var(--text); font-weight:600; font-size:.95rem; padding:.4rem 0; position:relative;
}
.main-nav a[aria-current="page"]{ color:var(--navy); }
.main-nav a[aria-current="page"]::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:3px; border-radius:3px; background:var(--amber);
}
.main-nav a:hover{ color:var(--turquoise); }

.header-actions{ display:flex; align-items:center; gap:.6rem; }
.header-actions .btn{ display:none; }
@media (min-width:900px){
  .header-actions .btn{ display:inline-flex; }
}

.nav-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:10px; border:1px solid var(--border); background:#fff;
}
.nav-toggle svg{ width:22px; height:22px; }

@media (min-width:900px){
  .main-nav{ display:block; }
  .nav-toggle{ display:none; }
}

/* Mobile nav overlay */
.mobile-nav{
  position:fixed; inset:0; z-index:1100; background:var(--navy);
  color:#fff; display:none; flex-direction:column; padding:1.25rem;
}
.mobile-nav.open{ display:flex; }
.mobile-nav-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:2rem; }
.mobile-nav-close{ width:44px; height:44px; border-radius:10px; background:rgba(255,255,255,.1); border:none; color:#fff; display:flex; align-items:center; justify-content:center; }
.mobile-nav ul{ display:flex; flex-direction:column; gap:.25rem; }
.mobile-nav a{
  color:#fff; font-weight:700; font-size:1.4rem; padding:.85rem 0; border-bottom:1px solid rgba(255,255,255,.12);
}
.mobile-nav-footer{ margin-top:auto; display:flex; flex-direction:column; gap:.75rem; }

/* =========== HERO =========== */
.hero{ padding:clamp(2.5rem,7vw,5rem) 0; overflow:hidden; }
.hero-grid{ display:grid; gap:2.5rem; align-items:center; }
@media (min-width:900px){
  .hero-grid.two-col{ grid-template-columns:1.1fr .9fr; }
}
.hero-badge{
  display:inline-flex; align-items:center; gap:.5rem; background:var(--turquoise-100); color:var(--turquoise);
  font-weight:700; font-size:.8rem; padding:.4rem .85rem; border-radius:999px; margin-bottom:1rem;
}
.hero-visual{
  border-radius:var(--r-lg); background:linear-gradient(135deg,var(--navy) 0%,var(--turquoise) 100%);
  aspect-ratio:4/3; position:relative; overflow:hidden; box-shadow:var(--shadow-md);
  display:flex; align-items:center; justify-content:center;
}
.hero-visual .pattern{ position:absolute; inset:0; opacity:.25; background-image:radial-gradient(circle,#fff 1.5px,transparent 1.5px); background-size:22px 22px; }
.hero-visual .emoji{ font-size:5rem; filter:drop-shadow(0 10px 20px rgba(0,0,0,.2)); position:relative; }
.hero-visual figcaption{ position:absolute; bottom:0; left:0; right:0; background:rgba(11,37,69,.55); color:#fff; font-size:.75rem; padding:.5rem .75rem; }

/* =========== CARDS =========== */
.card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg);
  padding:1.5rem; box-shadow:var(--shadow-sm); transition:box-shadow .2s ease, transform .2s ease;
}
.card-link{ display:block; height:100%; color:inherit; }
a.card:hover, .card.hoverable:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.card-icon{
  width:52px; height:52px; border-radius:14px; background:var(--navy-050); color:var(--navy);
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin-bottom:1rem;
}
.card h3{ margin-bottom:.4rem; }
.card p{ margin-bottom:1rem; font-size:.95rem; }
.card .card-cta{ font-weight:700; color:var(--turquoise); display:inline-flex; align-items:center; gap:.3rem; }
.card-highlight{ border-color:var(--turquoise); background:linear-gradient(180deg,var(--turquoise-100),#fff 60%); }

/* Grids */
.grid{ display:grid; gap:1.25rem; }
.grid-2{ grid-template-columns:1fr; }
.grid-3{ grid-template-columns:1fr; }
.grid-4{ grid-template-columns:repeat(2,1fr); }
@media (min-width:640px){
  .grid-2{ grid-template-columns:repeat(2,1fr); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:900px){
  .grid-3{ grid-template-columns:repeat(3,1fr); }
  .grid-4{ grid-template-columns:repeat(4,1fr); }
}

/* Steps */
.steps{ display:grid; gap:1.25rem; counter-reset:step; }
@media (min-width:768px){ .steps{ grid-template-columns:repeat(3,1fr); } }
.step{ position:relative; padding-top:2.75rem; }
.step .step-num{
  position:absolute; top:0; left:0; width:44px; height:44px; border-radius:12px;
  background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800;
}

/* FAQ */
.faq details{
  border:1px solid var(--border); border-radius:var(--r-md); padding:1rem 1.25rem; margin-bottom:.75rem; background:#fff;
}
.faq summary{ cursor:pointer; font-weight:700; color:var(--navy); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:1.4rem; color:var(--turquoise); flex-shrink:0; }
.faq details[open] summary::after{ content:"–"; }
.faq p{ margin-top:.75rem; margin-bottom:0; }

/* CTA band */
.cta-band{
  background:var(--navy); color:#fff; border-radius:var(--r-lg); padding:clamp(2rem,5vw,3.5rem);
  text-align:center; position:relative; overflow:hidden;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.78); }
.cta-band .btn-row{ justify-content:center; }

/* Info list (contact-style) */
.info-list{ display:flex; flex-direction:column; gap:1rem; }
.info-item{ display:flex; gap:.85rem; align-items:flex-start; }
.info-item .ico{ width:42px; height:42px; border-radius:12px; background:var(--turquoise-100); color:var(--turquoise); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.2rem; }
.info-item strong{ display:block; color:var(--navy); }

/* Map */
.map-frame{ border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--border); }
.map-frame iframe{ width:100%; height:340px; border:0; display:block; }

/* Form */
.field{ display:flex; flex-direction:column; gap:.4rem; margin-bottom:1.1rem; }
.field label{ font-weight:700; font-size:.9rem; color:var(--navy); }
.field input, .field textarea{
  border:1.5px solid var(--border); border-radius:var(--r-sm); padding:.85rem 1rem; font-family:var(--font);
  font-size:1rem; background:#fff; color:var(--text);
}
.field input:focus, .field textarea:focus{ border-color:var(--turquoise); outline:none; }
.field-hint{ font-size:.8rem; color:var(--text-muted); }
.form-status{ font-size:.9rem; font-weight:600; margin-top:.5rem; display:none; }
.form-status.show{ display:block; }
.form-status.loading{ color:var(--text-muted); }
.form-status.success{ color:var(--success); }
.form-status.error{ color:var(--danger); }

/* Badges / logos row */
.logo-row{ display:flex; flex-wrap:wrap; gap:.9rem; align-items:center; }
.logo-pill{ background:var(--navy-050); color:var(--navy); font-weight:700; padding:.6rem 1.1rem; border-radius:999px; font-size:.9rem; }

/* Placeholder for pending confirmation */
.pending-note{
  font-size:.78rem; color:var(--text-muted); background:var(--bg-alt); border:1px dashed var(--border);
  padding:.5rem .75rem; border-radius:var(--r-sm); display:inline-block;
}

/* =========== FOOTER =========== */
.site-footer{ background:var(--navy); color:var(--text-on-navy); padding:3rem 0 6.5rem; }
@media (min-width:900px){ .site-footer{ padding:3.5rem 0; } }
.footer-grid{ display:grid; gap:2.25rem; }
@media (min-width:768px){ .footer-grid{ grid-template-columns:1.3fr 1fr 1fr; } }
.footer-grid h4{ color:#fff; font-size:1rem; margin-bottom:1rem; }
.footer-grid a{ color:rgba(255,255,255,.75); }
.footer-grid a:hover{ color:#fff; }
.footer-links li{ margin-bottom:.6rem; }
.footer-brand p{ color:rgba(255,255,255,.7); }
.footer-social{ display:flex; gap:.75rem; margin-top:1rem; }
.footer-social a{
  width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; font-size:1.2rem;
}
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:2.5rem; padding-top:1.5rem; font-size:.8rem; color:rgba(255,255,255,.55); display:flex; flex-wrap:wrap; gap:.75rem; justify-content:space-between; }

/* =========== MOBILE BOTTOM BAR =========== */
.bottom-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:1200;
  display:flex; background:#fff; border-top:1px solid var(--border);
  box-shadow:0 -6px 20px rgba(11,37,69,.10);
  padding-bottom:env(safe-area-inset-bottom, 0);
  height:var(--bottombar-h);
}
@media (min-width:900px){ .bottom-bar{ display:none; } }
.bottom-bar a{
  flex:1; display:flex; align-items:center; justify-content:center; gap:.5rem;
  font-weight:700; font-size:.92rem; color:var(--navy);
}
.bottom-bar a.bb-whatsapp{ background:var(--amber); color:var(--navy); }
.bottom-bar a + a{ border-left:1px solid var(--border); }

/* Floating WhatsApp (desktop) */
.fab-whatsapp{
  position:fixed; right:1.75rem; bottom:1.75rem; z-index:900;
  width:60px; height:60px; border-radius:50%; background:var(--amber); color:var(--navy);
  display:none; align-items:center; justify-content:center; font-size:1.6rem; box-shadow:var(--shadow-md);
  border:none; cursor:pointer;
}
@media (min-width:900px){ .fab-whatsapp{ display:flex; } }
.fab-whatsapp:hover{ background:var(--amber-600); }

/* Hero quick stats row */
.hero-stats{ display:flex; flex-wrap:wrap; gap:1.5rem; margin-top:1.5rem; }
.hero-stats span{ font-weight:700; color:var(--navy); font-size:.95rem; display:inline-flex; align-items:center; gap:.4rem; }

/* Service tile (home services grid) — dual action, no nested anchors */
.tile{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg);
  padding:1.35rem; box-shadow:var(--shadow-sm); transition:box-shadow .2s ease, transform .2s ease;
  display:flex; flex-direction:column; gap:.65rem;
}
.tile:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.tile .card-icon{ margin-bottom:0; }
.tile h3{ margin-bottom:0; font-size:1.05rem; }
.tile-actions{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:.35rem; gap:.5rem; }
.tile-actions a{ font-weight:700; font-size:.88rem; }
.tile-wa{
  width:38px; height:38px; border-radius:50%; background:var(--turquoise-100); color:var(--turquoise);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.05rem;
}
.tile-wa:hover{ background:var(--turquoise); color:#fff; }

/* Big option cards (paquetería-style) */
.option-card{
  background:var(--surface); border:2px solid var(--border); border-radius:var(--r-lg); padding:1.75rem;
  text-align:left; display:flex; flex-direction:column; gap:.5rem; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.option-card:hover{ border-color:var(--turquoise); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.option-card .card-icon{ font-size:2rem; width:auto; height:auto; background:none; padding:0; margin-bottom:.25rem; }

/* Pill list (more services) */
.pill-list{ display:flex; flex-wrap:wrap; gap:.75rem; }
.pill-list .pill{
  background:var(--bg-alt); border:1px solid var(--border); color:var(--text); font-weight:600; font-size:.9rem;
  padding:.6rem 1.05rem; border-radius:999px; display:inline-flex; align-items:center; gap:.5rem;
}

/* Rating block */
.rating-block{ display:flex; align-items:center; justify-content:center; gap:.75rem; margin:1rem 0 1.5rem; }
.rating-number{ font-size:2.5rem; font-weight:800; color:var(--navy); }
.rating-stars{ color:var(--amber); font-size:1.3rem; letter-spacing:.1em; }

/* Social section cards */
.social-card{
  display:flex; align-items:center; gap:1rem; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:1.25rem 1.5rem; box-shadow:var(--shadow-sm);
}
.social-card .ico{ width:50px; height:50px; border-radius:14px; background:var(--turquoise-100); color:var(--turquoise); display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0; }
.social-card strong{ display:block; color:var(--navy); }
.social-card span{ font-size:.9rem; color:var(--text-muted); }

/* Footer legal links */
.footer-legal-links a{ color:rgba(255,255,255,.65); }
.footer-legal-links a:hover{ color:#fff; }

/* Scroll-reveal micro-animation (respects prefers-reduced-motion via global rule above) */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.tag{ display:inline-block; background:var(--turquoise-100); color:var(--turquoise); font-weight:700; font-size:.75rem; padding:.3rem .7rem; border-radius:999px; margin-bottom:.6rem; }
