/* RSG San Luis — site.css */
:root {
  --navy: #0a2a52;
  --navy-2: #071d3a;
  --navy-3: #0f3a6e;
  --blue: #1f6fe0;
  --blue-2: #5aa6ff;
  --yellow: #ffc928;
  --ink: #1b2536;
  --muted: #5d6b82;
  --line: #dfe7f1;
  --bg: #f4f7fb;
  --white: #fff;
  --green: #1a9e55;
  --red: #d64545;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 42, 82, .08);
  --shadow-lg: 0 24px 60px rgba(10, 42, 82, .18);
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0; color: var(--navy); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 999; font-weight: 700; }
.skip-link:focus { left: 8px; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 12px; border: 2px solid transparent; font: 700 14px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px rgba(255, 201, 40, .3); }
.btn-primary:hover { background: #ffd451; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(31, 111, 224, .28); }
.btn-blue:hover { background: #1960c4; }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #158a49; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Barra superior */
.topbar { background: var(--navy-2); color: #b9c7dc; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar-inner span, .topbar-inner a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar-links { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }
.topbar .ico { color: var(--yellow); }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 42, 82, .08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 22px/1 var(--head); color: var(--navy); letter-spacing: -.02em; }
.brand-mark { width: 40px; height: 40px; }
.brand span { color: var(--blue); }
.brand small { display: block; font: 600 9.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; font: 600 14px/1 var(--body); color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .25s; }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { right: 0; }
.main-nav .btn { padding: 12px 20px; font-size: 12.5px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; color: var(--navy); font-size: 26px; }
.nav-toggle:hover { background: var(--bg); }

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 600px at 85% 10%, rgba(31, 111, 224, .45), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 75%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 88px 0 130px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 62px); font-weight: 900; letter-spacing: -.02em; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: #c9d6ea; max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; color: #dbe5f3; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks .ico { color: var(--yellow); }

.hero-visual { position: relative; }
.hero-panel { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: 26px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }
.hero-panel svg.diagram { width: 100%; height: auto; }
.panel-head { display: flex; justify-content: space-between; align-items: center; font: 600 12px/1 var(--body); color: #a9bbd6; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: #7ee2a8; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(126, 226, 168, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(126, 226, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0); } }
.panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.panel-stats div { background: rgba(7, 29, 58, .55); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px; }
.panel-stats strong { display: block; font: 800 15px/1.2 var(--head); color: #fff; }
.panel-stats span { font-size: 11.5px; color: #a9bbd6; }
.flow { stroke-dasharray: 6 10; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.needle { transform-origin: 120px 118px; animation: needle 4s ease-in-out infinite; }
@keyframes needle { 0%, 100% { transform: rotate(-35deg); } 50% { transform: rotate(40deg); } }

/* Franja de confianza */
.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border-bottom: 4px solid var(--blue); }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px; border-right: 1px solid var(--line); transition: background .2s; }
.trust-item:last-child { border-right: 0; }
.trust-item:hover { background: #f6f9fe; }
.trust-ico { width: 48px; height: 48px; border-radius: 12px; background: #e9f1fd; color: var(--blue); display: grid; place-items: center; font-size: 22px; flex: none; }
.trust-item strong { display: block; font: 800 16px/1.2 var(--head); color: var(--navy); margin-bottom: 4px; }
.trust-item span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* Secciones */
.section { padding: 104px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--blue); }
.section-dark .section-head .eyebrow { color: var(--yellow); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.02em; margin: 14px 0 16px; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-dark .section-head p { color: #b9c7dc; }

/* Soluciones */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sol-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px 30px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.sol-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--blue); }
.sol-card:nth-child(2)::before { background: var(--yellow); }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sol-ico { width: 72px; height: 72px; border-radius: 18px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 34px; margin-bottom: 24px; transform: rotate(-4deg); transition: transform .3s; box-shadow: 0 12px 24px rgba(10, 42, 82, .25); }
.sol-card:hover .sol-ico { transform: rotate(0) scale(1.05); }
.sol-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.sol-card > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; font-size: 14px; font-weight: 600; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--blue); margin-top: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--bg); color: var(--navy-3); border: 1px solid var(--line); }
.sol-card .btn { margin-top: auto; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; background: none; border: 0; padding: 0; color: var(--blue); font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.link-btn .ico { transition: transform .2s; }
.link-btn:hover .ico { transform: translateX(4px); }

/* Sectores */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { display: flex; gap: 18px; padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .25s, border-color .25s, transform .25s; }
.sector:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 201, 40, .45); transform: translateY(-3px); }
.sector-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 201, 40, .14); color: var(--yellow); font-size: 24px; flex: none; }
.sector h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.sector p { font-size: 14px; color: #b9c7dc; }

/* Normas */
.standards { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.standard { font: 800 13px/1 var(--head); letter-spacing: .12em; padding: 12px 18px; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .25); color: #dbe5f3; }

/* Por qué / proceso */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.why-copy .eyebrow { color: var(--blue); }
.why-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin: 14px 0 18px; letter-spacing: -.02em; }
.why-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.quote { border-left: 4px solid var(--yellow); padding: 6px 0 6px 18px; font-style: italic; color: var(--navy-3); font-weight: 500; margin-bottom: 30px; }
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); transition: transform .25s; }
.step:hover { transform: translateX(6px); }
.step::before { counter-increment: step; content: '0' counter(step); font: 900 22px/1 var(--head); color: var(--blue); background: #e9f1fd; border-radius: 12px; width: 52px; height: 52px; display: grid; place-items: center; flex: none; }
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Contacto */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact-aside { position: relative; background: radial-gradient(600px 300px at 0% 100%, rgba(31, 111, 224, .5), transparent 70%), var(--navy); color: #fff; padding: 48px 42px; display: flex; flex-direction: column; gap: 28px; overflow: hidden; }
.contact-aside h2 { color: var(--yellow); font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.contact-aside > p { color: #c9d6ea; font-size: 15px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--yellow); }
.c-ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: var(--yellow); font-size: 18px; flex: none; }
.contact-list small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #8fa5c6; }
.contact-list strong { font-weight: 600; font-size: 15px; }
.contact-aside .btn { margin-top: auto; }

.quote-form { padding: 48px 46px; }
.quote-form h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.quote-form > p { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label, .field legend { font-size: 13px; font-weight: 700; color: var(--navy); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #f8fafd; font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 111, 224, .12); }
.field .err { display: none; font-size: 12.5px; color: var(--red); font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #fff7f7; }
.field.has-error .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #f8fafd; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; user-select: none; }
.chip span::before { content: ''; width: 16px; height: 16px; border-radius: 5px; border: 2px solid #b8c6da; background: #fff; transition: all .2s; }
.chip input:checked + span { border-color: var(--blue); background: #e9f1fd; color: var(--navy); }
.chip input:checked + span::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 16.2-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z' fill='%23fff'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--blue); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-note .ico { color: var(--green); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; box-shadow: var(--shadow); transition: border-color .2s; }
.faq details[open] { border-color: rgba(31, 111, 224, .4); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font: 700 16.5px/1.35 var(--head); color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 28px/1 var(--body); color: var(--blue); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15px; }

/* CTA final */
.cta-band { background: linear-gradient(110deg, var(--blue), #1557b8); color: #fff; border-radius: 24px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; }
.cta-band p { color: #dbe8fb; margin-top: 8px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* Footer */
.site-footer { background: #050f20; color: #8396b3; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: #8396b3; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 62px; height: 62px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 32px; box-shadow: 0 14px 30px rgba(26, 158, 85, .4); text-decoration: none; transition: transform .2s; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; right: 74px; white-space: nowrap; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: all .25s; pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; background: rgba(5, 15, 32, .65); backdrop-filter: blur(4px); }
.modal.open { display: grid; }
.modal-box { background: #fff; border-radius: 22px; padding: 36px 32px 30px; max-width: 440px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); animation: pop .3s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; }
.modal-icon.success { background: #e3f6ec; color: var(--green); }
.modal-icon.error { background: #fdecec; color: var(--red); }
.modal-icon.loading { background: #e9f1fd; color: var(--blue); }
.modal-icon.loading .ico { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.modal-box p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 120px; }
  .hero-visual { max-width: 560px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .solutions, .sectors { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 10px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(10, 42, 82, .1); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .25s; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn { margin-top: 16px; padding: 16px; border-bottom: 0; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(1180px, 100% - 32px); }
  .hide-sm { display: none !important; }
  .section { padding: 76px 0; }
  .trust-grid, .solutions, .sectors, .grid-2 { grid-template-columns: 1fr; }
  .grid-2 { gap: 0; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .panel-stats { grid-template-columns: 1fr 1fr; }
  .panel-stats div:last-child { grid-column: span 2; }
  .contact-aside, .quote-form { padding: 36px 24px; }
  .contact { border-radius: 22px; }
  .wa-float { width: 56px; height: 56px; font-size: 28px; right: 16px; bottom: 16px; }
}
