:root {
  --navy: #073763;
  --navy-2: #052d51;
  --blue: #0b4a7e;
  --blue-2: #0d5b99;
  --sky: #ddecf8;
  --steel: #5b6168;
  --ink: #1f2933;
  --muted: #66717f;
  --line: #dfe5eb;
  --soft: #f5f8fb;
  --soft-blue: #eef5fb;
  --white: #ffffff;
  --whatsapp: #148a55;
  --shadow: 0 18px 50px rgba(7,55,99,.10);
  --radius: 18px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--blue { background: linear-gradient(135deg, var(--navy), #07528d); color: white; }
.section--navy { background: linear-gradient(125deg, #052d51, #073f70); color: white; }
.eyebrow { color: var(--blue-2); font-size: .8rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--light { color: #aed8f5; }
.section-title { margin: 8px 0 14px; color: var(--navy); font-size: clamp(2.15rem, 3.2vw, 3.15rem); line-height: 1.08; letter-spacing: -.035em; }
.section-title--light { color: white; }
.section-intro { max-width: 790px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }
.section-intro--left { margin-left: 0; margin-right: 0; }
.section-intro--light { color: rgba(255,255,255,.78); }
.section-head { text-align: center; margin-bottom: 42px; }

.topbar { background: var(--navy); color: white; font-size: .8rem; }
.topbar-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar-links { display: flex; align-items: center; gap: 24px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.92); }
.topbar-item:hover { color: white; }
.topbar-item .icon { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223,229,235,.88);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 305px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .91rem; font-weight: 700; }
.nav a:not(.btn) { color: #354150; padding: 10px 0; position: relative; }
.nav a:not(.btn)::after { content:""; position:absolute; left:0; bottom:3px; width:0; height:2px; background:var(--blue); transition:.2s; }
.nav a:not(.btn):hover::after { width:100%; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background:white; border-radius: 12px; align-items:center; justify-content:center; color:var(--navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 9px; border: 1px solid var(--navy); font-weight: 780; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { color:white; background:var(--navy); box-shadow: 0 8px 20px rgba(7,55,99,.18); }
.btn--primary:hover { background:var(--navy-2); box-shadow: 0 12px 24px rgba(7,55,99,.23); }
.btn--outline { color:var(--navy); background:white; }
.btn--outline:hover { background: var(--soft-blue); }
.btn--light { background:white; color:var(--navy); border-color:white; }
.btn--whatsapp { background: #fff; color: #0a6840; border-color: #9acdb5; }
.btn--whatsapp:hover { background: #f2fbf7; border-color: #69b48f; }
.btn svg { width:18px; height:18px; }

.hero { overflow: hidden; padding: 64px 0 58px; position: relative; background: linear-gradient(180deg,#fff 0%,#fff 72%,#fbfdff 100%); }
.hero::before { content:""; position:absolute; width:560px; height:560px; border-radius:50%; background:radial-gradient(circle,rgba(13,91,153,.085),transparent 68%); right:-165px; top:-190px; pointer-events:none; }
.hero-grid { display:grid; grid-template-columns: 1.02fr .98fr; align-items:center; gap: 48px; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { margin: 13px 0 20px; max-width: 700px; color:var(--navy); font-size:clamp(3.05rem,5.9vw,5.25rem); letter-spacing:-.055em; line-height:.94; }
.hero-copy { max-width: 650px; margin: 0; font-size:1.08rem; color:#4b5663; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:29px; }
.hero-trust { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:31px; }
.trust-item { display:flex; align-items:flex-start; gap:9px; color:#4b5663; font-size:.83rem; font-weight:700; line-height:1.35; }
.trust-item .icon { color:var(--blue); width:22px; height:22px; flex:0 0 22px; margin-top:1px; }
.hero-visual { position:relative; margin: 0; }
.hero-visual::before { content:""; position:absolute; inset: 9% -4% -5% 18%; background:linear-gradient(145deg,#0b4a7e,#073763); border-radius: 24px; transform: rotate(2deg); z-index:0; opacity:.94; }
.hero-visual img { position: relative; z-index:1; width:100%; height:auto; aspect-ratio:1250/1020; object-fit:contain; margin-left:auto; border-radius:20px; box-shadow: 0 24px 60px rgba(17,40,61,.14); background:#fff; }

.stats { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stat { min-height: 104px; padding:24px 22px; display:flex; gap:12px; align-items:center; justify-content:center; border-right:1px solid var(--line); }
.stat:last-child { border-right:0; }
.stat .icon { color:var(--blue); width:31px; height:31px; flex:0 0 31px; }
.stat strong { display:block; color:var(--navy); font-size:.95rem; }
.stat span { color:var(--muted); font-size:.82rem; line-height:1.35; }

.categories { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; }
.card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:25px; transition:.2s; }
.card:hover { transform:translateY(-3px); border-color:#c7d8e7; box-shadow:var(--shadow); }
.category .icon-wrap { width:52px; height:52px; display:grid; place-items:center; border-radius:14px; color:var(--blue); background:var(--soft-blue); margin-bottom:17px; }
.category .icon { width:27px; height:27px; }
.category h3 { color:var(--navy); margin:0 0 7px; font-size:1.02rem; line-height:1.25; }
.category p { margin:0; color:var(--muted); font-size:.88rem; }

.service-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.service-card { position:relative; min-height: 285px; padding:31px 26px 26px; border:1px solid var(--line); border-radius:20px; background:white; overflow:hidden; }
.service-card--featured { background: linear-gradient(145deg,var(--navy),#0b4a7e); color:white; border-color:transparent; box-shadow:var(--shadow); }
.service-card > .icon { width:38px; height:38px; color:var(--blue); margin:10px 0 23px; }
.service-card--featured > .icon { color:#b8dcf5; }
.service-card h3 { margin:0 0 10px; color:var(--navy); font-size:1.16rem; }
.service-card--featured h3 { color:white; }
.service-card p { margin:0; color:var(--muted); font-size:.91rem; }
.service-card--featured p { color:rgba(255,255,255,.8); }
.service-number { position:absolute; right:18px; top:11px; font-size:3.8rem; font-weight:900; line-height:1; color:rgba(7,55,99,.06); }
.service-card--featured .service-number { color:rgba(255,255,255,.09); }

.process { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; counter-reset:step; }
.process-step { position:relative; text-align:center; padding:0 10px; }
.process-step:not(:last-child)::after { content:""; position:absolute; width:38%; height:1px; background:#bcc7d1; top:37px; right:-19%; }
.process-icon { width:74px; height:74px; margin:0 auto 17px; display:grid; place-items:center; border-radius:50%; background:white; border:1px solid var(--line); color:var(--navy); box-shadow:0 8px 20px rgba(7,55,99,.07); }
.process-icon .icon { width:31px; height:31px; }
.process-step h3 { color:var(--navy); margin:0 0 7px; font-size:1rem; }
.process-step p { margin:0; color:var(--muted); font-size:.86rem; }

.requisition-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; }
.requisition-list { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.requisition-list > div { min-height:104px; display:flex; gap:12px; align-items:flex-start; padding:20px; border:1px solid rgba(255,255,255,.15); border-radius:15px; background:rgba(255,255,255,.06); color:rgba(255,255,255,.88); }
.requisition-list .icon { width:23px; height:23px; flex:0 0 23px; color:#a9d7f6; }

.sectors-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.sectors-grid--3 { grid-template-columns:repeat(3,1fr); }
.sector-card { padding:29px; border-radius:20px; border:1px solid var(--line); background:white; display:flex; align-items:flex-start; gap:18px; }
.sector-card .icon-wrap { flex:0 0 58px; width:58px; height:58px; border-radius:16px; background:var(--soft-blue); color:var(--navy); display:grid; place-items:center; }
.sector-card .icon-wrap .icon { width:29px; height:29px; }
.sector-card h3 { color:var(--navy); margin:0 0 8px; font-size:1.2rem; }
.sector-card p { color:var(--muted); margin:0; font-size:.9rem; }
.sector-note { max-width:980px; margin:18px auto 0; text-align:center; font-size:.82rem; color:#73808d; }

.why-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:0; }
.why-item { padding:12px 24px; text-align:center; border-right:1px solid var(--line); }
.why-item:last-child { border-right:0; }
.why-item .icon { color:var(--blue); width:34px; height:34px; margin-bottom:12px; }
.why-item h3 { color:var(--navy); font-size:.95rem; margin:0 0 7px; }
.why-item p { color:var(--muted); font-size:.84rem; margin:0; }

.faq-layout { display:grid; grid-template-columns:.78fr 1.22fr; gap:62px; align-items:start; }
.faq-intro p { color:var(--muted); max-width:450px; margin:0 0 24px; }
.faq-list { display:grid; gap:10px; }
details { border:1px solid var(--line); background:white; border-radius:14px; padding:0 20px; }
summary { cursor:pointer; list-style:none; font-weight:780; color:var(--navy); padding:18px 30px 18px 0; position:relative; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; position:absolute; right:0; top:15px; font-size:1.45rem; color:var(--blue); font-weight:400; }
details[open] summary::after { content:"–"; }
details p { color:var(--muted); margin:0; padding:0 0 19px; font-size:.91rem; }

.quote-wrap { display:grid; grid-template-columns:.82fr 1.18fr; gap:48px; align-items:start; }
.quote-copy .section-title { color:white; }
.quote-copy > p { color:rgba(255,255,255,.8); }
.quote-bullets { display:grid; gap:15px; margin-top:27px; }
.quote-bullets div { display:flex; gap:11px; align-items:flex-start; color:rgba(255,255,255,.92); }
.quote-bullets .icon { color:#9fd0f3; flex:0 0 22px; margin-top:2px; }
.quote-bullets a { text-decoration:underline; text-decoration-color:rgba(255,255,255,.35); text-underline-offset:3px; }
.quote-form { background:white; color:var(--ink); border-radius:22px; padding:30px; box-shadow:0 22px 60px rgba(0,0,0,.2); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:grid; gap:7px; }
.field--full { grid-column:1/-1; }
label { font-weight:700; color:#344252; font-size:.88rem; }
input, select, textarea { width:100%; border:1px solid #ced7df; border-radius:10px; background:#fff; padding:12px 13px; color:var(--ink); outline:none; transition:.15s; }
textarea { min-height:135px; resize:vertical; }
input:focus, select:focus, textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(13,91,153,.11); }
.form-actions { grid-template-columns:1fr 1fr; align-items:start; }
.form-actions .form-note, .form-actions .form-status { grid-column:1/-1; }
.form-note { margin:0; font-size:.78rem; color:#77828d; }
.form-status { min-height:20px; margin:0; font-size:.84rem; color:var(--navy); font-weight:650; }

.site-footer { background:#052f55; color:white; padding:55px 0 0; }
.footer-grid { display:grid; grid-template-columns:1.05fr .95fr 1fr; gap:48px; }
.footer-logo { background:white; border-radius:12px; padding:10px 12px; width:330px; max-width:100%; height:auto; }
.footer-text { color:rgba(255,255,255,.72); max-width:370px; margin:17px 0 0; font-size:.9rem; }
.footer-title { font-size:1rem; margin:0 0 13px; }
.contact-list { display:grid; gap:12px; color:rgba(255,255,255,.82); font-size:.9rem; }
.contact-row { display:flex; gap:11px; align-items:flex-start; }
.contact-row .icon { width:20px; height:20px; color:#9fd0f3; flex:0 0 auto; }
.contact-row a:hover { color:white; text-decoration:underline; text-underline-offset:3px; }
.coverage-box { position:relative; min-height:155px; padding:22px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:16px; overflow:hidden; }
.coverage-box::after { content:"MÉXICO"; position:absolute; right:16px; bottom:-12px; font-weight:900; font-size:3.7rem; letter-spacing:.08em; color:rgba(255,255,255,.055); }
.coverage-box p { color:rgba(255,255,255,.72); margin-bottom:0; font-size:.88rem; }
.footer-bottom { margin-top:42px; border-top:1px solid rgba(255,255,255,.15); padding:18px 0; display:flex; justify-content:space-between; gap:20px; color:rgba(255,255,255,.58); font-size:.8rem; }
.footer-links { display:flex; gap:20px; flex-wrap:wrap; }
.footer-links a:hover { color:white; }

.floating-whatsapp { position:fixed; right:22px; bottom:22px; z-index:80; display:flex; align-items:center; gap:9px; min-height:48px; padding:0 16px; border-radius:999px; background:#168c57; color:white; font-weight:780; box-shadow:0 13px 32px rgba(0,0,0,.22); }
.floating-whatsapp .icon { width:21px; height:21px; }
.floating-whatsapp:hover { background:#107a4b; transform:translateY(-1px); }

.legal { padding:70px 0 90px; }
.legal article { max-width:850px; margin:auto; }
.legal h1 { color:var(--navy); font-size:clamp(2.3rem,5vw,4rem); letter-spacing:-.04em; }
.legal h2 { color:var(--navy); margin-top:32px; }
.legal p, .legal li { color:#4d5864; }
.legal a:not(.btn) { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.back-link { display:inline-flex; gap:8px; align-items:center; color:var(--navy); font-weight:750; }

@media (max-width: 1120px) {
  .nav { gap:15px; font-size:.86rem; }
  .brand img { width:260px; }
  .categories { grid-template-columns:repeat(3,1fr); }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .process { grid-template-columns:repeat(3,1fr); row-gap:44px; }
  .process-step::after { display:none; }
  .why-grid { grid-template-columns:repeat(3,1fr); gap:26px; }
  .why-item { border-right:0; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > :last-child { grid-column:1/-1; }
}

@media (max-width: 920px) {
  .topbar-address { display:none; }
  .topbar-inner { justify-content:flex-end; }
  .menu-btn { display:flex; }
  .nav { position:fixed; left:20px; right:20px; top:118px; padding:20px; border-radius:16px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); display:none; flex-direction:column; align-items:stretch; }
  .nav.is-open { display:flex; }
  .nav .btn { width:100%; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-visual { max-width:760px; margin: 10px auto 0; }
  .hero-visual::before { inset:9% -2% -4% 22%; }
  .hero h1 { max-width:800px; font-size:clamp(3.2rem,9vw,5.1rem); }
  .hero-trust { max-width:760px; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stat:nth-child(2) { border-right:0; }
  .stat:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .categories { grid-template-columns:repeat(2,1fr); }
  .requisition-grid, .quote-wrap, .faq-layout { grid-template-columns:1fr; }
  .sectors-grid--3 { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > :last-child { grid-column:auto; }
}

@media (max-width: 620px) {
  html { scroll-padding-top:82px; }
  .container { width:min(100% - 28px, var(--container)); }
  .section { padding:66px 0; }
  .topbar { display:none; }
  .header-inner { min-height:72px; }
  .brand img { width:220px; }
  .nav { top:80px; left:14px; right:14px; }
  .hero { padding-top:42px; }
  .hero h1 { font-size:3.25rem; }
  .hero-actions .btn { width:100%; }
  .hero-trust { grid-template-columns:1fr; gap:12px; }
  .hero-visual::before { display:none; }
  .stats-grid { grid-template-columns:1fr; }
  .stat { border-right:0; border-bottom:1px solid var(--line) !important; justify-content:flex-start; }
  .stat:last-child { border-bottom:0 !important; }
  .categories, .service-grid, .process, .why-grid, .form-grid, .requisition-list { grid-template-columns:1fr; }
  .process { gap:34px; }
  .why-grid { gap:10px; }
  .why-item { text-align:left; display:grid; grid-template-columns:45px 1fr; column-gap:12px; }
  .why-item .icon { grid-row:1/3; }
  .why-item h3, .why-item p { text-align:left; }
  .sector-card { padding:24px; flex-direction:column; }
  .quote-form { padding:22px; }
  .form-actions { grid-template-columns:1fr; }
  .form-actions .form-note, .form-actions .form-status { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
  .floating-whatsapp { width:52px; height:52px; min-height:52px; padding:0; justify-content:center; right:15px; bottom:15px; }
  .floating-whatsapp span { display:none; }
}
