:root {
    --gold: #c5a15a;
    --gold-soft: #d7bd88;
    --graphite: #2b2b2b;
    --steel: #6a6a6a;
    --black: #0d0d0d;
    --black-2: #171717;
    --ivory: #f2f2f2;
    --paper: #faf9f6;
    --white: #ffffff;
    --border: #ddd8cf;
    --border-dark: rgba(197,161,90,.22);
    --danger: #b42318;
    --success: #067647;
    --font: "Inter", "Segoe UI", Arial, sans-serif;
    --container: 1180px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 14px 38px rgba(13,13,13,.07);
    --shadow-lg: 0 28px 90px rgba(13,13,13,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--graphite);
    background: var(--paper);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
section[id] { scroll-margin-top: 132px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}
.section { padding: 108px 0; }
.section-cloud { background: var(--ivory); }
.section-dark {
    color: var(--white);
    background:
        radial-gradient(circle at 82% 15%, rgba(197,161,90,.16), transparent 28%),
        linear-gradient(135deg, var(--black), var(--black-2));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
    color: #8b6a2f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.eyebrow::before {
    width: 31px;
    height: 1px;
    content: "";
    background: var(--gold);
}
.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta .eyebrow { color: var(--gold-soft); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -.04em;
}
h1 { font-size: clamp(43px, 6.2vw, 78px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 22px; }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.hero h1,
.hero h2,
.hero h3,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.cta h1,
.cta h2,
.cta h3 { color: var(--white); }
.lead {
    max-width: 760px;
    color: var(--steel);
    font-size: clamp(18px, 2vw, 21px);
}
.section-dark .lead,
.hero .lead,
.page-hero .lead { color: #cbc8c2; }

.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: var(--black);
    background: var(--gold);
    box-shadow: 0 14px 36px rgba(197,161,90,.23);
}
.btn-primary:hover { background: var(--gold-soft); }
.btn-secondary {
    color: var(--black);
    border-color: var(--border);
    background: var(--white);
}
.btn-dark {
    color: var(--gold-soft);
    border-color: rgba(197,161,90,.28);
    background: var(--black);
}
.hero .btn-secondary,
.section-dark .btn-secondary,
.cta .btn-secondary {
    color: var(--white);
    border-color: rgba(197,161,90,.45);
    background: rgba(255,255,255,.025);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 13px; }

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 9px 14px;
    color: var(--black);
    background: var(--gold);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(43,43,43,.08);
    background: rgba(250,249,246,.96);
    backdrop-filter: blur(18px);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(13,13,13,.08); }
.topbar {
    color: #d7d2c8;
    background: var(--black);
    border-bottom: 1px solid rgba(197,161,90,.16);
}
.topbar-inner {
    display: flex;
    min-height: 35px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.topbar-contact { display: flex; align-items: center; gap: 15px; }
.topbar a { color: #ded9d0; text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.header-inner {
    display: flex;
    min-height: 126px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: flex;
    width: 270px;
    height: 118px;
    align-items: center;
    overflow: visible;
    text-decoration: none;
}
.brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.main-nav { display: flex; align-items: center; gap: 7px; }
.main-nav > a,
.nav-dropdown-toggle {
    padding: 11px 14px;
    border: 0;
    border-radius: 999px;
    color: var(--graphite);
    background: transparent;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}
.main-nav > a:hover,
.main-nav > a.is-active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-active {
    color: var(--black);
    background: #edeae3;
}
.main-nav .nav-cta {
    margin-left: 8px;
    padding-inline: 21px;
    color: var(--black);
    background: var(--gold);
}
.main-nav .nav-cta:hover,
.main-nav .nav-cta.is-active { background: var(--gold-soft); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 6px; }
.nav-dropdown-toggle svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    display: grid;
    width: 260px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: .2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-menu a {
    padding: 11px 13px;
    border-radius: 11px;
    color: var(--steel);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}
.nav-dropdown-menu a:hover { color: var(--black); background: var(--ivory); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
}
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--black); transition: .2s ease; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 82px;
    color: var(--white);
    background:
        radial-gradient(circle at 86% 15%, rgba(197,161,90,.23), transparent 28%),
        radial-gradient(circle at 72% 76%, rgba(106,106,106,.12), transparent 27%),
        linear-gradient(135deg, #0b0b0b, #181818);
}
.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to right, black, transparent 75%);
}
.hero::after {
    position: absolute;
    right: -145px;
    bottom: -265px;
    width: 590px;
    height: 590px;
    border: 1px solid rgba(197,161,90,.24);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 58px rgba(197,161,90,.035), 0 0 0 125px rgba(197,161,90,.018);
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 76px;
}
.hero h1 { max-width: 820px; margin-bottom: 25px; }
.hero h1 span { color: var(--gold-soft); }
.hero-copy > p { max-width: 735px; margin-bottom: 34px; color: #c8c4bb; font-size: 20px; }
.hero-card {
    position: relative;
    min-height: 450px;
    padding: 36px;
    overflow: hidden;
    border: 1px solid rgba(197,161,90,.22);
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015)),
        #151515;
    box-shadow: var(--shadow-lg);
}
.hero-card::after {
    position: absolute;
    right: -35px;
    bottom: -15px;
    width: 310px;
    height: 310px;
    content: "";
    opacity: .23;
    background-image: url('/branding/aduanera_sp_branding_final/01_logos/aduanera-sp-isotipo-fondo-oscuro.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.hero-card::before {
    position: absolute;
    z-index: 2;
    top: 26px;
    right: 26px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    content: "";
    background: var(--gold);
    box-shadow: 0 0 0 8px rgba(197,161,90,.11);
}
.hero-card > * { position: relative; z-index: 3; }
.hero-card small { color: var(--gold-soft); font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero-card h2 { margin: 27px 0 18px; font-size: 32px; }
.hero-card p { max-width: 390px; color: #c8c5be; }
.hero-points { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.hero-points li::before { width: 8px; height: 8px; border-radius: 50%; content: ""; background: var(--gold); }

.trust-strip { padding: 29px 0; border-bottom: 1px solid var(--border); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 8px 26px; border-right: 1px solid var(--border); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 3px; color: var(--black); font-size: 15px; }
.trust-item span { color: var(--steel); font-size: 13px; }

/* Sections / cards */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading > div { max-width: 760px; }
.section-heading p { max-width: 500px; color: var(--steel); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
    position: relative;
    display: flex;
    min-height: 350px;
    flex-direction: column;
    padding: 29px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 3px; content: ""; background: linear-gradient(90deg, var(--gold), transparent); }
.service-card:hover { border-color: rgba(197,161,90,.58); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-number {
    display: grid;
    width: 47px;
    height: 47px;
    margin-bottom: 53px;
    place-items: center;
    border: 1px solid rgba(197,161,90,.34);
    border-radius: 14px;
    color: #7f612b;
    background: rgba(197,161,90,.09);
    font-weight: 800;
}
.service-card h3 { margin-bottom: 14px; }
.service-card p { color: var(--steel); }
.service-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #806126; font-size: 14px; font-weight: 800; text-decoration: none; }

.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.process-list { display: grid; gap: 16px; }
.process-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 23px;
    border: 1px solid rgba(197,161,90,.15);
    border-radius: 18px;
    background: rgba(255,255,255,.045);
}
.process-step { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; color: var(--black); background: var(--gold); font-weight: 900; }
.process-item h3 { margin-bottom: 7px; font-size: 18px; }
.process-item p { margin: 0; color: #c5c1b9; font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.info-panel {
    position: relative;
    padding: 41px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.info-panel::before { position: absolute; top: 29px; right: 29px; width: 12px; height: 12px; border-radius: 50%; content: ""; background: var(--gold); }
.info-panel h3 { font-size: 30px; }
.info-list { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.info-list li { position: relative; padding: 0 0 18px 26px; border-bottom: 1px solid var(--border); color: var(--steel); }
.info-list li::before { position: absolute; top: 8px; left: 0; width: 8px; height: 8px; border-radius: 50%; content: ""; background: var(--gold); }

.cta {
    position: relative;
    overflow: hidden;
    padding: 64px;
    border: 1px solid rgba(197,161,90,.18);
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        radial-gradient(circle at 90% 25%, rgba(197,161,90,.18), transparent 29%),
        linear-gradient(135deg, var(--black), #1b1b1b);
}
.cta::after { position: absolute; right: -90px; bottom: -165px; width: 360px; height: 360px; border: 55px solid rgba(197,161,90,.055); border-radius: 50%; content: ""; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 680px; margin-bottom: 12px; }
.cta p { margin: 0; color: #c7c3bb; }

/* Internal pages */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 76px;
    color: var(--white);
    background:
        radial-gradient(circle at 84% 12%, rgba(197,161,90,.2), transparent 30%),
        linear-gradient(135deg, #0b0b0b, #1a1a1a);
}
.page-hero::after {
    position: absolute;
    right: -120px;
    top: -180px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(197,161,90,.16);
    border-radius: 50%;
    content: "";
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(43px, 5.2vw, 69px); }
.page-hero p { max-width: 780px; color: #c8c4bc; font-size: 20px; }

.service-detail { display: grid; grid-template-columns: 120px 1fr; gap: 39px; padding: 44px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: 0; }
.service-detail-index { color: var(--gold); font-size: 42px; font-weight: 800; letter-spacing: -.05em; }
.service-detail h2 { margin-bottom: 18px; }
.service-detail p { max-width: 820px; color: var(--steel); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 26px 0 31px; padding: 0; list-style: none; }
.check-grid li { position: relative; padding-left: 26px; color: var(--graphite); font-weight: 600; }
.check-grid li::before { position: absolute; top: .55em; left: 0; width: 9px; height: 9px; border-radius: 50%; content: ""; background: var(--gold); }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; }
.about-copy p { color: var(--steel); font-size: 18px; }
.contact-card {
    padding: 36px;
    border: 1px solid rgba(197,161,90,.24);
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        radial-gradient(circle at 86% 15%, rgba(197,161,90,.16), transparent 30%),
        var(--black);
    box-shadow: var(--shadow-lg);
}
.contact-card h2 { color: var(--white); font-size: 30px; }
.contact-card .eyebrow { color: var(--gold-soft); }
.contact-card a,
.contact-card address span { display: block; margin-top: 15px; color: #d0ccc4; text-decoration: none; }
.contact-card a:hover { color: var(--gold-soft); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 29px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.value-card span { display: grid; width: 43px; height: 43px; margin-bottom: 24px; place-items: center; border: 1px solid rgba(197,161,90,.38); border-radius: 13px; color: #7f612b; background: rgba(197,161,90,.09); font-weight: 800; }
.value-card p { color: var(--steel); }

.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coverage-card { min-height: 270px; padding: 31px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.coverage-card .tag { display: inline-flex; margin-bottom: 51px; padding: 7px 12px; border: 1px solid rgba(197,161,90,.28); border-radius: 999px; color: #806126; background: rgba(197,161,90,.08); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.coverage-card p { color: var(--steel); }

/* Form */
.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 62px; align-items: start; }
.form-card { padding: 38px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--black); font-size: 13px; font-weight: 800; }
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    min-height: 53px;
    padding: 13px 15px;
    border: 1px solid #d4d0c8;
    border-radius: 12px;
    outline: none;
    color: var(--black);
    background: var(--white);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 148px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197,161,90,.13); }
.phone-control {
    display: grid;
    grid-template-columns: minmax(205px, .95fr) minmax(190px, 1.05fr);
    gap: 12px;
}
.phone-control select,
.phone-control input {
    min-width: 0;
}

.checkbox { display: flex; align-items: flex-start; gap: 11px; color: var(--steel); font-size: 13px; }
.checkbox {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 19px minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    overflow-wrap: anywhere;
}
.checkbox input[type="checkbox"] {
    width: 19px !important;
    min-width: 19px;
    height: 19px !important;
    min-height: 0 !important;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--gold);
}
.checkbox span {
    display: block;
    min-width: 0;
    line-height: 1.55;
}
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.alert { margin-bottom: 22px; padding: 15px 17px; border-radius: 12px; font-size: 14px; font-weight: 650; }
.alert-success { color: var(--success); background: #ecfdf3; border: 1px solid #abefc6; }
.alert-error { color: var(--danger); background: #fef3f2; border: 1px solid #fecdca; }
.form-note { margin: 18px 0 0; color: var(--steel); font-size: 12px; }

/* Footer */
.site-footer { padding: 70px 0 0; color: #cbc7bf; background: #080808; border-top: 1px solid rgba(197,161,90,.16); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1.25fr; gap: 50px; }
.footer-logo {
    display: flex;
    width: 320px;
    max-width: 100%;
    min-height: 165px;
    align-items: center;
    overflow: visible;
    margin-bottom: 12px;
}
.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 165px;
    object-fit: contain;
    object-position: left center;
}
.footer-brand p { max-width: 335px; color: #a6a198; }
.rif { display: inline-flex; padding: 7px 11px; border: 1px solid rgba(197,161,90,.22); border-radius: 999px; color: var(--gold-soft); font-size: 12px; font-weight: 700; }
.site-footer h2 { margin-bottom: 23px; color: var(--white); font-size: 15px; letter-spacing: .03em; }
.footer-links { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer-links a,
.footer-contact a { color: #aaa59c; font-size: 14px; text-decoration: none; }
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold-soft); }
.footer-contact { display: grid; gap: 11px; }
.footer-contact span { color: #aaa59c; font-size: 14px; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 58px; padding: 24px 0; border-top: 1px solid rgba(197,161,90,.12); color: #77736d; font-size: 12px; }
.footer-bottom p { margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
    .topbar { display: none; }
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        inset: 126px 0 auto;
        display: none;
        max-height: calc(100vh - 126px);
        align-items: stretch;
        padding: 20px;
        overflow-y: auto;
        border-top: 1px solid var(--border);
        background: var(--paper);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.is-open { display: grid; }
    .main-nav > a,
    .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 16px; border-radius: 12px; text-align: left; }
    .main-nav .nav-cta { margin-left: 0; text-align: center; }
    .nav-dropdown-menu { position: static; display: none; width: 100%; margin-top: 5px; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
    .nav-dropdown.is-open .nav-dropdown-menu { display: grid; }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.is-open:hover .nav-dropdown-menu { display: grid; }
    .hero-grid, .process-grid, .split, .about-grid, .form-layout { grid-template-columns: 1fr; gap: 46px; }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
    .trust-item:nth-child(2) { border-right: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 78px 0; }
    .header-inner { min-height: 112px; }
    
    
    .main-nav { top: 112px; max-height: calc(100vh - 112px); }
    .hero { padding-top: 68px; }
    .hero-grid { gap: 42px; }
    .hero-card, .form-card, .info-panel { padding: 27px; }
    .hero-card { min-height: 420px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--border); }
    .trust-item:last-child { border-bottom: 0; }
    .section-heading { display: block; }
    .card-grid, .coverage-grid, .values-grid, .form-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 305px; }
    .service-detail { grid-template-columns: 1fr; gap: 10px; padding: 35px 0; }
    .check-grid { grid-template-columns: 1fr; }
    .cta { padding: 40px 29px; }
    .cta-inner { display: block; }
    .cta .btn { margin-top: 25px; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .footer-bottom { display: block; }
    .footer-bottom p + p { margin-top: 7px; }
    
    
}


/* =============================================
   Ajustes definitivos Aduanera SP
   ============================================= */

.form-layout > *,
.form-card,
.form-grid,
.form-field {
    min-width: 0;
}

.form-field input,
.form-field textarea,
.form-field select {
    max-width: 100%;
}

@media (max-width: 1050px) {
    .brand {
        width: 250px;
        height: 112px;
    }

    .main-nav {
        top: 126px;
        max-height: calc(100vh - 126px);
    }
}

@media (max-width: 700px) {
    .header-inner {
        min-height: 112px;
    }

    .brand {
        width: 225px;
        height: 104px;
    }

    .brand img {
        object-position: left center;
    }

    .main-nav {
        top: 112px;
        max-height: calc(100vh - 112px);
    }

    .phone-control {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        width: 290px;
        min-height: 148px;
    }

    .footer-logo img {
        max-height: 148px;
    }
}
