* {
    box-sizing: border-box;
}

:root {
    --navy: #12347f;
    --navy-dark: #0a235c;
    --red: #cf2929;
    --green: #24713b;
    --ink: #1f2937;
    --muted: #667085;
    --line: #e5e7eb;
    --bg: #f6f8fb;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.topo {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 300px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
}

.menu {
    display: flex;
    gap: 28px;
}

.menu a {
    text-decoration: none;
    font-weight: 700;
    color: #334155;
}

.menu a:hover {
    color: var(--navy);
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    padding: 88px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(38,113,59,.32), transparent 30%),
        radial-gradient(circle at 20% 90%, rgba(207,41,41,.25), transparent 28%),
        linear-gradient(135deg, var(--navy-dark), #102f73 62%, #081b46);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr;
    gap: 56px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.eyebrow {
    color: #dbeafe;
}

h1 {
    margin: 12px 0 18px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.03;
    letter-spacing: -2.4px;
}

.hero-text {
    max-width: 720px;
    font-size: 19px;
    color: #e2e8f0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    filter: brightness(.94);
}

.btn-outline {
    border-color: rgba(255,255,255,.45);
    color: var(--white);
}

.hero-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-card-label {
    margin: 0;
    color: #bfdbfe;
    font-weight: 700;
}

.hero-card h2 {
    margin: 8px 0 14px;
    font-size: 28px;
    line-height: 1.2;
}

.hero-card ul {
    margin: 0;
    padding-left: 19px;
    color: #e2e8f0;
}

.section {
    padding: 86px 0;
}

.alt {
    background: var(--bg);
}

.two-cols {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--red);
}

.section h2 {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.14;
    letter-spacing: -1.5px;
}

.text-block {
    color: #475467;
    font-size: 18px;
}

.text-block p:first-child {
    margin-top: 0;
}

.cards {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
}

.card h3 {
    margin: 16px 0 8px;
    font-size: 20px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf0ff;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
}

.contact-section {
    border-top: 1px solid var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    color: var(--muted);
    font-size: 18px;
}

.contact-list {
    display: grid;
    gap: 20px;
    margin: 30px 0 22px;
}

.contact-list div {
    border-left: 4px solid var(--navy);
    padding-left: 15px;
}

.contact-list strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--muted);
}

.contact-list a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
}

address {
    font-style: normal;
}

.map-link {
    color: var(--navy);
    font-weight: 800;
}

.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.field {
    margin-bottom: 17px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    font-size: 14px;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    background: var(--white);
}

.field input:focus,
.field textarea:focus {
    outline: 3px solid rgba(18,52,127,.12);
    border-color: var(--navy);
}

.btn-full {
    width: 100%;
    border: 0;
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    margin: 12px 0 0;
}

.hp {
    position: absolute !important;
    left: -99999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

.alert {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 14px;
}

.success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

footer {
    background: #0d1830;
    color: #cbd5e1;
    padding: 28px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-grid p {
    margin: 3px 0 0;
}

@media (max-width: 860px) {
    .hero-grid,
    .two-cols,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav {
        min-height: 76px;
    }

    .brand strong {
        font-size: 23px;
    }

    .menu-btn {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 16px 22px 22px;
        flex-direction: column;
        gap: 14px;
    }

    .menu.open {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    h1 {
        font-size: 43px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}


.footer-brand img {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
    background: #fff;
    border-radius: 4px;
    padding: 4px;
}

.footer-brand p {
    margin-top: 8px;
}

@media (max-width: 640px) {
    .brand img {
        width: 220px;
        max-height: 58px;
    }
}

@media (max-width: 400px) {
    .brand img {
        width: 190px;
    }
}


/* =========================================================
   VISUAL V3 - TECHNITRON
   ========================================================= */

:root {
    --tech-blue: #0b3fa5;
    --tech-blue-dark: #061b47;
    --tech-black: #101114;
    --tech-red: #d71920;
    --tech-green: #008f3d;
    --tech-bg: #f4f7fb;
}

.topo {
    box-shadow: 0 5px 25px rgba(0,0,0,.06);
}

.nav {
    min-height: 92px;
}

.brand img {
    width: 335px;
    max-height: 76px;
}

.menu a {
    position: relative;
    padding: 32px 0;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 22px;
    height: 3px;
    background: var(--tech-blue);
    transition: .22s ease;
}

.menu a:hover::after {
    right: 0;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 82px;
    background:
        linear-gradient(120deg, rgba(3,15,40,.98), rgba(7,38,96,.94)),
        radial-gradient(circle at 78% 24%, rgba(0,143,61,.28), transparent 28%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    right: -180px;
    top: -170px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow:
        0 0 0 80px rgba(255,255,255,.02),
        0 0 0 160px rgba(255,255,255,.015);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42%;
    height: 7px;
    background: linear-gradient(90deg, var(--tech-red), var(--tech-blue), var(--tech-green));
}

.hero-grid {
    position: relative;
    z-index: 2;
    grid-template-columns: 1.15fr .85fr;
    gap: 64px;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
}

.service-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.07);
    color: #e7efff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(46px, 6vw, 76px);
    letter-spacing: -3px;
}

.hero-text {
    max-width: 760px;
    font-size: 19px;
    line-height: 1.75;
}

.btn-whatsapp {
    background: var(--tech-green);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,143,61,.28);
}

.btn-whatsapp:hover {
    filter: brightness(.94);
}

.btn-light {
    background: #fff;
    color: var(--tech-blue-dark);
}

.hero-trust {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-trust div {
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.2);
}

.hero-trust strong,
.hero-trust span {
    display: block;
}

.hero-trust strong {
    color: #fff;
    font-size: 14px;
}

.hero-trust span {
    color: #aebbd4;
    font-size: 12px;
    margin-top: 2px;
}

.hero-panel {
    position: relative;
    background: #fff;
    color: var(--ink);
    padding: 32px;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
    border-top: 6px solid var(--tech-blue);
}

.hero-panel::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(90deg, var(--tech-red) 0 34%, var(--tech-blue) 34% 67%, var(--tech-green) 67%);
}

.hero-panel-badge {
    display: inline-flex;
    background: var(--tech-black);
    color: #fff;
    font-size: 11px;
    letter-spacing: 1.6px;
    font-weight: 900;
    padding: 6px 9px;
    margin-bottom: 16px;
}

.hero-panel h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.panel-services {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.panel-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--line);
}

.panel-item span {
    font-size: 12px;
    font-weight: 900;
    color: var(--tech-blue);
}

.panel-item p {
    margin: 0;
    font-weight: 700;
    color: #344054;
}

.panel-contact {
    display: inline-block;
    margin-top: 22px;
    color: var(--tech-blue);
    text-decoration: none;
    font-weight: 900;
}

.quick-services {
    position: relative;
    z-index: 5;
    margin-top: -28px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15,23,42,.09);
    overflow: hidden;
}

.quick-grid article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding: 24px;
    align-items: start;
}

.quick-grid article + article {
    border-left: 1px solid var(--line);
}

.quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #edf3ff;
    color: var(--tech-blue);
    font-size: 12px;
    font-weight: 900;
}

.quick-grid strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.quick-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 94px 0;
}

.section-kicker {
    color: var(--tech-blue);
}

#empresa {
    padding-top: 108px;
}

#empresa .two-cols {
    position: relative;
}

#empresa .two-cols::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 90px;
    left: -28px;
    top: 4px;
    background: linear-gradient(var(--tech-red), var(--tech-blue), var(--tech-green));
}

.alt {
    background:
        linear-gradient(rgba(244,247,251,.96), rgba(244,247,251,.96)),
        repeating-linear-gradient(135deg, transparent 0 30px, rgba(11,63,165,.025) 30px 31px);
}

.cards {
    gap: 20px;
}

.card {
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    min-height: 245px;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--tech-blue);
}

.card:nth-child(3n+1)::before {
    background: var(--tech-red);
}

.card:nth-child(3n+2)::before {
    background: var(--tech-blue);
}

.card:nth-child(3n+3)::before {
    background: var(--tech-green);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(15,23,42,.09);
    border-color: #d0d8e5;
}

.card .icon {
    width: 52px;
    height: 52px;
    background: #eef4ff;
    color: var(--tech-blue);
    border: 1px solid #dce8ff;
}

.cta-section {
    padding: 0 0 82px;
    background: var(--tech-bg);
}

.cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--tech-black);
    color: #fff;
    padding: 42px 44px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.cta-box::after {
    content: "";
    position: absolute;
    height: 6px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--tech-red) 0 33%, var(--tech-blue) 33% 66%, var(--tech-green) 66%);
}

.cta-box h2 {
    color: #fff;
    max-width: 650px;
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.cta-box p {
    color: #cbd5e1;
    margin-bottom: 0;
}

.contact-section {
    background: #fff;
}

.form-card {
    border-top: 5px solid var(--tech-blue);
}

.map-link {
    display: inline-flex;
    margin-top: 6px;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    min-width: 130px;
    height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--tech-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(0,0,0,.22);
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

footer {
    border-top: 6px solid var(--tech-black);
}

.footer-right {
    text-align: right;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid article + article {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .nav {
        min-height: 80px;
    }

    .brand img {
        width: 225px;
        max-height: 62px;
    }

    .menu {
        top: 80px;
    }

    .hero {
        padding: 68px 0 65px;
    }

    .hero h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        padding: 24px;
    }

    .quick-services {
        margin-top: -16px;
    }

    .quick-grid article {
        padding: 19px;
    }

    #empresa .two-cols::before {
        display: none;
    }

    .cta-box {
        padding: 30px 24px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        min-width: 116px;
        height: 45px;
        font-size: 13px;
    }

    .footer-right {
        text-align: left;
    }
}
