/* Locutorio Express — hoja de estilos */
:root {
  --brand: #0b3d91;
  --brand-dark: #072a66;
  --brand-soft: #e8f0fd;
  --accent: #ffb703;
  --accent-dark: #e09e00;
  --wa: #1fae55;
  --ink: #14213d;
  --muted: #5b6477;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 61, 145, .08);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Barra superior */
.topbar { background: var(--brand-dark); color: #dbe6fb; font-size: .85rem; }
.topbar .container { display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }

/* Cabecera */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); display: grid; place-items: center; color: var(--accent); flex: none; }
.logo-mark svg { width: 24px; height: 24px; }
.logo small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; justify-content: center; }
}

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-dark); color: var(--ink); }
.btn-blue { background: var(--brand); color: #fff; }
.btn-blue:hover { background: var(--brand-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178f45; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav .btn { padding: 9px 16px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1f5fd1 0%, transparent 60%), var(--brand); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--accent); opacity: .12; }
.hero .container { position: relative; z-index: 1; }
.hero p.lead { font-size: 1.15rem; color: #dbe6fb; max-width: 720px; }
.hero h1 { max-width: 880px; }
.hero h1 span { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.hero.small { padding: 40px 0 48px; }

/* Migas */
.breadcrumb { font-size: .88rem; margin-bottom: 14px; color: #c3d4f5; }
.breadcrumb a { color: #fff; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .7; }

/* Secciones */
section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* Rejilla de servicios */
.cat { margin-bottom: 40px; }
.cat > h3 { font-size: 1.05rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.card .ico svg { width: 24px; height: 24px; }
.card h3, .card h4 { margin: 6px 0 0; font-size: 1.08rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--brand); font-size: .92rem; }

/* Ventajas */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 4px; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Logos texto */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font-weight: 700; color: var(--ink); }

/* Contenido de página de servicio */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-alt); }

.aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.box h2, .box h3 { font-size: 1.1rem; margin-bottom: 10px; }
.box .btn { width: 100%; justify-content: center; margin-top: 10px; }
.box ul { margin: 0; padding-left: 18px; }
.box-brand { background: var(--brand); color: #fff; border: none; }
.box-brand p { color: #dbe6fb; }
.hours { list-style: none; padding: 0 !important; margin: 0; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 16px; color: var(--muted); }

/* CTA */
.cta { background: var(--accent); padding: 48px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }
.map { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius); background: var(--bg-alt); }

/* Pie */
.footer { background: #0a1a3a; color: #b8c4dc; padding: 56px 0 24px; font-size: .93rem; }
.footer a { color: #e2e9f7; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer .logo small { color: #9fb0d0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .hero { padding: 44px 0 52px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .topbar .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Fotografías ---------- */
.hero.has-img {
  background:
    linear-gradient(100deg, rgba(7,42,102,.96) 0%, rgba(11,61,145,.88) 45%, rgba(11,61,145,.45) 100%),
    var(--hero-img) center/cover no-repeat, var(--brand);
}
.hero.has-img::after { display: none; }
@media (max-width: 700px) {
  .hero.has-img { background: linear-gradient(180deg, rgba(7,42,102,.93), rgba(11,61,145,.88)), var(--hero-img) center/cover no-repeat, var(--brand); }
}
.card.has-img { padding: 0; overflow: hidden; gap: 0; }
.card-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-alt); transition: transform .3s; }
a.card.has-img:hover .card-img { transform: scale(1.04); }
.card.has-img .ico { margin: -23px 0 0 20px; position: relative; z-index: 1; background: #fff; box-shadow: 0 4px 14px rgba(11,61,145,.18); }
.card.has-img h3, .card.has-img h4, .card.has-img p, .card.has-img .more { padding: 0 20px; }
.card.has-img h3, .card.has-img h4 { margin-top: 10px; margin-bottom: 6px; }
.card.has-img .more { padding-bottom: 18px; padding-top: 10px; }
.feature-img { margin: 0 0 28px; }
.feature-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.footer .hours li { flex-direction: column; gap: 0; }

/* Zonas cercanas */
.chips.zonas li { padding: 0; }
.chips.zonas a { display: block; padding: 10px 16px; text-decoration: none; color: var(--ink); font-weight: 600; }
.chips.zonas a:hover { color: var(--brand); }
.chips.zonas li:hover { border-color: var(--brand); }
.footer-zonas { margin-top: 32px; }
.footer-zonas p { margin: 0; line-height: 2; }
.prose .grid { margin-top: 8px; }
.aside .hours li { flex-direction: column; gap: 0; }
