/* ===========================================================
   LIMA DMC — Design system
   Cambia colores/tipografía SOLO en :root.
   Secciones: 1 Base · 2 Botones · 3 Header/Menú · 4 Hero · 5 Secciones/Tarjetas
              6 Ficha de tour · 7 Políticas · 8 Contacto · 9 Footer/WhatsApp · 10 Responsive
   =========================================================== */

/* 1 · BASE ------------------------------------------------- */
:root {
  --navy: #10243A;
  --navy-2: #1a3652;
  --gold: #C8A45D;
  --gold-dark: #A98741;
  --ivory: #F7F5F0;
  --white: #FFFFFF;
  --ink: #26313f;
  --muted: #5f6b7a;
  --line: #e6e0d2;
  --ff-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --ff-sans: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(16, 36, 58, .45);
  --header-h: 84px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--ff-sans); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-serif); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--gold-dark); margin-bottom: .8em; }
.muted { color: var(--muted); }
.pending { display: inline-block; background: #fbf3df; border: 1px dashed var(--gold); color: #7a5f24; border-radius: 6px; padding: 1px 8px; font-size: .88em; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 2 · BOTONES ---------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 .95rem var(--ff-sans); border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d4b271; box-shadow: 0 10px 22px -12px rgba(200,164,93,.9); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn-block { width: 100%; }

/* 3 · HEADER Y MENÚ ---------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); /* sin backdrop-filter: rompería el menú móvil fixed */ border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(16,36,58,.5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s; }
.site-header.scrolled .header-inner { height: 70px; }
.brand img { height: 68px; width: auto; transition: height .3s; }
.site-header.scrolled .brand img { height: 56px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: .92rem; font-weight: 500; color: var(--navy); border-radius: 8px; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.main-nav > ul > li > a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.chev { transition: transform .2s; }
.has-dd { position: relative; }
.has-dd:hover .chev, .has-dd.open .chev { transform: rotate(180deg); }
.dd { position: absolute; top: 100%; right: -60px; width: 740px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd-grid { background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(16,36,58,.55); border: 1px solid var(--line); border-top: 3px solid var(--gold); display: grid; grid-template-columns: 1.1fr 1.1fr .9fr; gap: 8px; padding: 22px; }
.dd-col ul { list-style: none; }
.main-nav .dd-title { display: block; padding: 0 0 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
.dd-title span { display: block; font: 600 1.05rem var(--ff-serif); color: var(--navy); }
.dd-title small { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; }
.dd-col li a { padding: 7px 0; font-weight: 400; font-size: .88rem; color: var(--ink); }
.dd-col li a:hover { color: var(--gold-dark); padding-left: 6px; transition: padding .2s; }
.main-nav .dd-all { display: inline-block; margin-top: 12px; font-weight: 600 !important; color: var(--gold-dark) !important; padding-left: 0 !important; }
.dd-all::after { content: "→"; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: none; padding: 6px 10px; font: 600 .75rem var(--ff-sans); cursor: pointer; color: var(--muted); }
.lang button.on { background: var(--navy); color: var(--white); }

/* 4 · HERO -------------------------------------------------- */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero > img, .page-hero > .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero > img { animation: slow-zoom 22s ease-out both; }
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before, .ph-shade { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,36,58,.86) 0%, rgba(16,36,58,.55) 55%, rgba(16,36,58,.15) 100%); }
.hero > img { z-index: 0; }
.hero::before { z-index: 1; }
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 90px; }
.hero-box { max-width: 640px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #e6cf9b; }
.hero p.sub { font-size: 1.12rem; color: rgba(255,255,255,.92); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero { position: relative; color: var(--white); padding: 90px 0 70px; overflow: hidden; background: var(--navy); }
.page-hero.small { padding: 70px 0 50px; }
.page-hero .ph-inner { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: .2em; }
.page-hero p { max-width: 640px; color: rgba(255,255,255,.9); }
.crumbs { font-size: .82rem; margin-bottom: 14px; color: rgba(255,255,255,.8); }
.crumbs a:hover { color: var(--gold); }

/* 5 · SECCIONES Y TARJETAS ---------------------------------- */
.section { padding: 84px 0; }
.section.alt { background: var(--ivory); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; transition: transform .3s, box-shadow .3s; }
.mode:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mode.featured { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.88); }
.mode.featured h3 { color: var(--white); }
.mode .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #f3ead5; color: var(--gold-dark); margin-bottom: 18px; }
.mode.featured .ico { background: rgba(200,164,93,.2); color: var(--gold); }
.mode .ico svg { width: 26px; height: 26px; }
.mode .flag { position: absolute; top: 18px; right: 18px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; background: var(--gold); color: var(--navy); font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chips button { border: 1px solid var(--line); background: var(--white); color: var(--navy); padding: 9px 20px; border-radius: 999px; font: 500 .88rem var(--ff-sans); cursor: pointer; transition: all .2s; }
.chips button:hover { border-color: var(--gold); }
.chips button.on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 14px -8px rgba(16,36,58,.35); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,36,58,.55)); }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.badge-privado { background: var(--navy); color: var(--white); }
.badge-traslado { background: var(--white); color: var(--navy); border: 1px solid var(--gold); }
.card-media .badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.badge-lg { font-size: .82rem; padding: 7px 16px; margin-bottom: 14px; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.card-meta { font-size: .78rem; color: var(--muted); margin-bottom: .4em; text-transform: uppercase; letter-spacing: .06em; }
.card-body h3 a:hover { color: var(--gold-dark); }
.card-body p:not(.card-meta) { color: var(--muted); font-size: .95rem; flex: 1; }
.b2b { position: relative; background: var(--navy); color: rgba(255,255,255,.88); overflow: hidden; }
.b2b-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.b2b-text { padding: 84px 20px 84px 0; }
.b2b h2 { color: var(--white); }
.b2b ul { list-style: none; margin: 18px 0 28px; }
.b2b li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.b2b li::before { content: ""; position: absolute; left: 0; top: .6em; width: 14px; height: 2px; background: var(--gold); }
.b2b-img { background: url("../img/transporte-van.jpg") center/cover; min-height: 320px; border-radius: var(--radius) 0 0 var(--radius); margin: 40px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 28px; border-top: 3px solid var(--gold); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 2px 14px -8px rgba(16,36,58,.35); }
.photo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.slot { aspect-ratio: 4/3; border: 2px dashed var(--gold); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font-size: .88rem; background: #fdfbf5; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 14px -8px rgba(16,36,58,.35); position: relative; aspect-ratio: 4/3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(0deg, rgba(16,36,58,.85), transparent); color: var(--white); font-size: .82rem; font-weight: 600; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

/* 6 · FICHA DE TOUR ----------------------------------------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 200px; gap: 12px; margin-bottom: 28px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-main { grid-row: span 2; }
.gallery figure:nth-child(2):last-child { grid-row: span 2; }
.gallery figure:only-child { grid-column: 1 / -1; }
.lead { font-size: 1.12rem; color: var(--navy); }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 22px 0 34px; }
.quick div { background: var(--ivory); padding: 16px 18px; }
.quick small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; color: var(--muted); margin-bottom: 4px; }
.quick b { font-weight: 500; font-size: .92rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 14px 20px; font: 600 .92rem var(--ff-sans); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--navy); border-color: var(--gold); }
.pane { padding: 28px 0; }
.pane[hidden] { display: none; }
.pane h2 { font-size: 1.4rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ticks, .crosses { list-style: none; }
.ticks li, .crosses li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.crosses li::before { content: "✕"; position: absolute; left: 0; color: #a5483d; font-weight: 700; }
.timeline { list-style: none; border-left: 2px solid var(--gold); padding-left: 24px; }
.timeline li { margin-bottom: 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: grid; gap: 12px; }
.side-card h3 { margin: 6px 0 0; }
.side-card p { margin: 0; }
.fine { font-size: .8rem; color: var(--muted); text-align: center; }
.price-tiers { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.price-tiers div { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--ivory); }
.price-tiers span { font-size: .85rem; color: var(--muted); }
.price-tiers b { font: 700 1.05rem var(--ff-serif); color: var(--navy); }
.add-ons { list-style: none; font-size: .85rem; color: var(--muted); }
.add-ons li { padding: 4px 0; }
.add-ons b { color: var(--navy); }
.rate-table-wrap { overflow-x: auto; margin-top: 10px; }
.rate-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }
.rate-table th, .rate-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.rate-table th { background: var(--navy); color: var(--white); font-weight: 600; }
.rate-table tr:nth-child(even) td { background: var(--ivory); }

/* 7 · POLÍTICAS --------------------------------------------- */
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 20px); border-left: 2px solid var(--line); }
.policy-nav a { display: block; padding: 10px 18px; font-size: .92rem; color: var(--muted); border-left: 2px solid transparent; margin-left: -2px; }
.policy-nav a:hover, .policy-nav a.on { color: var(--navy); border-color: var(--gold); font-weight: 600; }
.policy article { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.policy article:last-child { border: 0; }
.policy h2 { font-size: 1.7rem; }
.policy h3 { font-size: 1.1rem; margin-top: 1.4em; font-family: var(--ff-sans); font-weight: 600; }
.notice { background: #fbf3df; border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .9rem; margin-bottom: 32px; }

/* 8 · CONTACTO ---------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: .82rem; font-weight: 600; color: var(--navy); padding: 0; }
.field input, .field select, .field textarea { font: 400 1rem var(--ff-sans); min-height: 50px; padding: 12px 14px; border: 1px solid #d4cebf; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,93,.25); }
.phone { display: grid; grid-template-columns: 150px 1fr; gap: 8px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid #d4cebf; border-radius: 10px; font-weight: 500; cursor: pointer; transition: all .2s; }
.segmented input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-status { margin-top: 18px; padding: 0; border-radius: 10px; }
.form-status:not(:empty) { padding: 16px 18px; }
.form-status.demo { background: #fbf3df; border: 1px dashed var(--gold); color: #5c4718; }
.form-status.ok { background: #e6f3ea; color: #1f5b34; }
.form-status.err { background: #fbe9e6; color: #8a2f22; }
.side-info { display: grid; gap: 16px; }
.info-box { background: var(--ivory); border-radius: var(--radius); padding: 24px; }
.info-box h3 { font-size: 1.1rem; }

/* 9 · FOOTER, WHATSAPP, TOAST ------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 64px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: var(--white); font: 600 .78rem var(--ff-sans); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.site-footer a, .site-footer .muted { display: block; padding: 4px 0; color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold); }
.logo-card { display: inline-block; background: var(--white); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.logo-card img { height: 92px; width: auto; }
.f-social { display: flex; gap: 14px; }
.f-social a { text-transform: capitalize; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .8rem; color: rgba(255,255,255,.55); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--navy); color: var(--white); padding: 12px 20px; border-radius: 10px; font-size: .88rem; opacity: 0; pointer-events: none; transition: all .3s; z-index: 120; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 10 · RESPONSIVE (mobile-first en la práctica: el menú móvil es prioritario) */
/* El menú colapsa antes (1100px) que la cuadrícula de contenido (980px):
   "Tours / Experiencias" + CTA no caben en una sola línea entre ambos anchos. */
@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  .brand img { height: 56px; }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0; background: var(--white); padding: 12px 20px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; visibility: hidden; }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .main-nav > ul > li > a::after { display: none; }
  .dd { position: static; width: auto; opacity: 1; visibility: visible; transform: none; padding: 0; display: none; }
  .has-dd:hover .dd { display: none; }
  .has-dd.open .dd, .has-dd.open:hover .dd { display: block; }
  .dd-grid { grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 8px 12px; gap: 4px; }
  .dd-col li a { padding: 12px 0; font-size: .98rem; border-bottom: 0; }
  .main-nav .nav-cta-mobile { display: flex !important; width: 100%; margin-top: 22px; border: 0 !important; justify-content: center !important; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 980px) {
  .grid, .modes, .values, .photo-slots { grid-template-columns: repeat(2, 1fr); }
  .b2b-inner, .split, .detail, .contact-layout, .policy-layout { grid-template-columns: 1fr; }
  .b2b-text { padding: 64px 0 24px; }
  .b2b-img { margin: 0 -20px 0; border-radius: 0; min-height: 240px; }
  .detail-side { position: static; }
  .policy-nav { position: static; display: flex; overflow-x: auto; border: 0; gap: 4px; margin-bottom: 24px; }
  .policy-nav a { border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; margin: 0; padding: 8px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .grid, .modes, .values, .photo-slots, .footer-grid, .two-col, .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .hero::before { background: linear-gradient(180deg, rgba(16,36,58,.55), rgba(16,36,58,.85)); }
  .hero-actions .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery .g-main { grid-column: 1 / -1; grid-row: auto; height: 220px; }
  .quick { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .phone { grid-template-columns: 1fr; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 4px; }
  .chips button { white-space: nowrap; }
  .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.side-card .badge { justify-self: start; }
.detail > *, .contact-layout > *, .policy-layout > * { min-width: 0; }
