/*
Theme Name: Taxi Satelital Aeropuerto
Theme URI: https://www.taxisatelitalaeropuerto.com.pe
Author: Taxi Satelital Aeropuerto
Description: Tema profesional para servicio de taxi al Aeropuerto Jorge Chávez. Enfocado en conversiones vía WhatsApp. Configura número, teléfono y textos en Apariencia > Personalizar > Datos del negocio.
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: taxi-satelital
*/

:root {
  --primary: #4A0E0E;
  --primary-2: #6B1818;
  --primary-dark: #2B0606;
  --gold: #E0A93B;
  --gold-soft: #F6E3B8;
  --cream: #FBF6F1;
  --ink: #1F1414;
  --muted: #6E5F5F;
  --line: #EADFD6;
  --white: #ffffff;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(74, 14, 14, .12);
  --shadow-lg: 0 25px 60px rgba(43, 6, 6, .25);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1rem; line-height: 1;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); color: #fff; }
.btn-gold { background: var(--gold); color: var(--primary-dark); }
.btn-gold:hover { background: #f0bb4f; color: var(--primary-dark); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-outline-dark { border-color: var(--primary); color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.08rem; padding: 1.1em 1.9em; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--primary-dark); color: #f3dede; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { color: #fff; font-weight: 600; }
.topbar span { display: inline-flex; align-items: center; gap: .4em; }
.topbar .icon { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(74, 14, 14, .97); backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold); color: var(--primary-dark);
}
.brand-mark .icon { width: 28px; height: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Poppins", sans-serif; font-size: 1.08rem; letter-spacing: .2px; }
.brand-text small { color: var(--gold-soft); font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; }
/* Logo subido (PNG). El alto se regula en Personalizar > Identidad del sitio. */
.logo-box { display: flex; align-items: center; height: var(--logo-h, 54px); max-width: 280px; }
.logo-box .custom-logo { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.logo-box.has-plate {
  background: #fff; padding: 6px 14px; border-radius: 12px; height: calc(var(--logo-h, 54px) + 12px);
  box-shadow: 0 4px 14px rgba(0,0,0,.2), inset 0 0 0 1px rgba(224,169,59,.35);
}
.logo-box.plate-cream { background: var(--cream); }
.site-footer .logo-box.has-plate { height: calc(64px + 16px); padding: 8px 16px; }
.site-footer .logo-box { --logo-h: 64px; max-width: 260px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; }
.main-nav a { display: block; color: #f6eaea; padding: .5rem .8rem; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-cta .btn { padding: .75em 1.2em; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: .4rem; cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(224,169,59,.22), transparent 60%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-2) 100%);
}
.hero.has-image { background-size: cover; background-position: center; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.08));
  pointer-events: none;
}
.hero-road {
  position: absolute; left: 0; right: 0; bottom: 38px; height: 4px; opacity: .25;
  background: repeating-linear-gradient(90deg, var(--gold) 0 40px, transparent 40px 80px);
  animation: road 2.5s linear infinite;
}
@keyframes road { to { background-position: -80px 0; } }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 5.5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .5em; font-size: .85rem; font-weight: 600;
  padding: .45em 1em; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--gold-soft);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.25); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; margin: 1rem 0 1rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.15rem; color: #f1dede; max-width: 560px; }
.hero-checks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; }
.hero-checks li { display: flex; align-items: center; gap: .55em; font-weight: 500; }
.hero-checks .icon { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Tarjeta de reserva */
.booking-card {
  background: #fff; color: var(--ink); border-radius: 22px; padding: 1.8rem; box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--gold);
}
.booking-card h2 { font-size: 1.4rem; margin-bottom: .2rem; }
.booking-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .5px; }
.field input, .field select {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .97rem; color: var(--ink); background: var(--cream); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); background: #fff; }
.trip-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 12px; padding: 4px; margin-bottom: 1rem; }
.trip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.trip-toggle label { text-align: center; padding: .65rem; border-radius: 9px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--muted); transition: .2s; }
.trip-toggle input:checked + label { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(74,14,14,.3); }
.booking-card .btn { margin-top: 1rem; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: .7rem 0 0; }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.8rem; padding-bottom: 1.8rem; }
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: var(--gold); flex: none; }
.trust-item .ico .icon { width: 26px; height: 26px; }
.trust-item strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .88rem; }

/* ---------- Secciones ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; color: var(--primary); font-weight: 700; font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: .6rem; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: .6rem; }
.section-dark .eyebrow { color: var(--gold); }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #ecd6d6; }

/* Servicios */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--gold); margin-bottom: 1.2rem; }
.card .ico .icon { width: 30px; height: 30px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--wa-dark); margin-top: .5rem; }
.card-link:hover { gap: .7em; }

/* Tours desde Lima */
.tours { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.tour { flex: 0 1 calc((100% - 3rem) / 3); }
.tour {
  background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.tour:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tour-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour:hover .tour-img img { transform: scale(1.06); }
.tour-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(224,169,59,.55); }
.tour-placeholder .icon { width: 84px; height: 84px; }
.tour-badge {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: .35em;
  background: var(--gold); color: var(--primary-dark); font-weight: 700; font-size: .8rem;
  padding: .4em .85em; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.tour-badge .icon { width: 1em; height: 1em; }
.tour-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.tour-body h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.tour-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.tour-body .btn { margin-top: .6rem; }
.tours-note { text-align: center; color: var(--muted); margin-top: 2rem; }

/* Flota */
.fleet { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.vehicle { flex: 0 1 calc((100% - 3rem) / 3); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 2rem 1.6rem; text-align: center; transition: .25s; }
.vehicle-img {
  height: 170px; margin: -.5rem 0 1.2rem; display: grid; place-items: center;
  background: radial-gradient(closest-side, rgba(224,169,59,.18), transparent 75%);
}
.vehicle-img img { max-height: 170px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.35)); transition: transform .35s ease; }
.vehicle:hover .vehicle-img img { transform: scale(1.05); }
.vehicle:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); }
.vehicle .car { color: var(--gold); width: 130px; height: 100px; }
.vehicle h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.vehicle .desc { color: #e6cccc; font-size: .95rem; }
.specs { display: flex; justify-content: center; gap: 1.2rem; margin: 1rem 0 1.4rem; font-size: .9rem; color: #fff; }
.specs span { display: inline-flex; align-items: center; gap: .35em; }
.specs .icon { color: var(--gold); width: 1.1em; height: 1.1em; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 1rem; }
.step .num {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--primary); color: var(--primary); font-family: "Poppins", sans-serif; font-size: 1.6rem; font-weight: 800;
  box-shadow: 0 0 0 8px var(--cream);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 37px; left: calc(50% + 50px); width: calc(100% - 100px); border-top: 2px dashed var(--gold);
}
.step p { color: var(--muted); }

/* Por qué nosotros */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1.1rem; }
.why-list li { display: flex; gap: 1rem; }
.why-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.why-list strong { display: block; font-family: "Poppins", sans-serif; }
.why-list span { color: var(--muted); font-size: .95rem; }
.why-visual {
  position: relative; border-radius: 24px; min-height: 440px; overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2.2rem; box-shadow: var(--shadow-lg);
}
.why-visual.has-image { background-size: cover; background-position: center; }
.why-visual.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,6,6,.92), rgba(43,6,6,.1) 65%); }
.why-visual > * { position: relative; }
.why-visual .plane { position: absolute; top: 2rem; right: 2rem; width: 140px; height: 140px; color: rgba(224,169,59,.35); }
.why-visual .big { font-family: "Poppins", sans-serif; font-size: 4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.why-visual p { color: #f1dede; margin: .4rem 0 0; }

/* Banda CTA */
.cta-band { background: linear-gradient(120deg, var(--gold) 0%, #f2c66b 100%); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
.cta-band h2 { color: var(--primary-dark); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .3rem; }
.cta-band p { color: var(--primary); margin: 0; font-weight: 500; }
.cta-band .actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Clientes: rejilla o carrusel, todas las fotos del mismo tamaño */
.clients { position: relative; --cols: 3; --gap: 1.5rem; --ratio: 1 / 1; }
.clients.ratio-landscape { --ratio: 4 / 3; }
.clients.ratio-portrait { --ratio: 3 / 4; }
.clients-track { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--gap); }
.client-photo {
  position: relative; display: block; aspect-ratio: var(--ratio); overflow: hidden;
  border-radius: var(--radius); background: var(--cream); box-shadow: 0 6px 18px rgba(74,14,14,.08);
}
.client-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.client-photo::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,6,6,.45), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.client-photo:hover img { transform: scale(1.06); }
.client-photo:hover::after { opacity: 1; }

.clients.is-carousel { padding: 0 3.2rem; }
.clients.is-carousel .clients-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.clients.is-carousel .clients-track::-webkit-scrollbar { display: none; }
.clients.is-carousel .client-photo { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); scroll-snap-align: start; }
.clients-nav {
  position: absolute; top: calc(50% - 1.2rem); transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primary); color: var(--gold); display: grid; place-items: center; box-shadow: var(--shadow); transition: background .2s;
}
.clients-nav:hover { background: var(--primary-2); }
.clients-nav.prev { left: 0; }
.clients-nav.prev .icon { transform: rotate(180deg); }
.clients-nav.next { right: 0; }
.clients-nav[disabled] { opacity: .35; cursor: default; }
.clients-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; min-height: 10px; }
.clients-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: .25s; }
.clients-dots button.active { width: 28px; background: var(--primary); }

/* Visor de fotos (al hacer clic) */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,4,4,.92); display: none; align-items: center; justify-content: center; padding: 3.5rem 4rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #e6cccc; font-size: .9rem; }

/* Medios de pago */
.payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.pay {
  width: 160px; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: grid; place-items: center; padding: 1rem 1.2rem; transition: transform .2s, box-shadow .2s;
}
.pay:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pay img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; }
.pay.no-logo { border-style: dashed; border-color: #d6c3b6; }
.pay.no-logo span { font-family: "Poppins", sans-serif; font-weight: 700; font-size: .9rem; color: var(--primary); text-align: center; line-height: 1.25; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: .2s; }
.faq details[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 600; font-family: "Poppins", sans-serif; 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.5rem; color: var(--primary); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* Contacto */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; border: 1px solid var(--line); }
.contact-card .ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: var(--primary); color: var(--gold); }
.contact-card .ico.wa { background: var(--wa); color: #fff; }
.contact-card .ico .icon { width: 30px; height: 30px; }
.contact-card p { color: var(--muted); margin-bottom: 1rem; }
.contact-card .value { display: block; font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 1rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: #d9c3c3; padding: 4rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d9c3c3; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 1rem; }
.footer-contact li { display: flex; gap: .6em; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: .2em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.4rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- WhatsApp flotante y barra móvil ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 34px; height: 34px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%); background: #fff; color: var(--ink);
  padding: .55rem .9rem; border-radius: 10px; font-size: .85rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow);
}
.mobile-bar { display: none; }

/* ---------- Páginas internas / blog ---------- */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 3.5rem 0; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.content-area { padding: 3.5rem 0 5rem; }
.entry-content { max-width: 800px; margin: 0 auto; }
.entry-content h2 { margin-top: 1.6em; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card .body { padding: 1.4rem; }
.post-card h2 { font-size: 1.2rem; }
.pagination { margin-top: 2.5rem; text-align: center; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--primary); padding: 1rem 20px 1.4rem; box-shadow: 0 15px 30px rgba(0,0,0,.25); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .8rem .6rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: block; }
  .header-cta .btn-call { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 4rem; gap: 2.5rem; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .grid-3, .contact, .post-list { grid-template-columns: 1fr 1fr; }
  .tour { flex-basis: calc((100% - 1.5rem) / 2); }
  .clients { --cols: 2; --gap: 1rem; }
  .vehicle { flex-basis: calc((100% - 1.5rem) / 2); }
  .why { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-visual { min-height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .cta-band .container { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .header-cta .btn-wa { display: none; }
  .brand-text strong { font-size: .98rem; }
  .site-header .logo-box { height: min(var(--logo-h, 54px), 46px); max-width: 58vw; }
  .site-header .logo-box.has-plate { height: calc(min(var(--logo-h, 54px), 46px) + 10px); padding: 5px 10px; }
  .section { padding: 4rem 0; }
  .hero-checks { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-3, .contact, .post-list, .trust .container, .footer-grid { grid-template-columns: 1fr; }
  .tour { flex-basis: 100%; }
  .vehicle { flex-basis: 100%; }
  .clients { --gap: .75rem; }
  .clients.is-carousel { --cols: 1; padding: 0; }
  .clients.is-carousel .client-photo { flex-basis: 82%; scroll-snap-align: center; }
  .clients-nav { display: none; }
  .lightbox { padding: 3.5rem .5rem; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: .6rem; transform: none; }
  .pay { width: calc(50% - .5rem); height: 84px; }
  .booking-card { padding: 1.4rem; }
  .wa-float { bottom: 80px; width: 56px; height: 56px; }
  .wa-tip { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    box-shadow: 0 -6px 20px rgba(0,0,0,.15);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5em; height: 60px; font-weight: 700; color: #fff; font-family: "Poppins", sans-serif; }
  .mobile-bar .call { background: var(--primary); }
  .mobile-bar .wa { background: var(--wa); }
}
