/* =========================================================
   IMPORT BRITO - LANDING 03
   Estilos principales
   ========================================================= */

:root {
    --navy: #0b2a43;
    --navy-dark: #071d30;
    --blue: #1266a8;
    --gold: #e6a72e;
    --gold-dark: #c98d18;
    --white: #ffffff;
    --light: #f4f7fa;
    --text: #243746;
    --muted: #687887;
    --border: #dce4ea;
    --success: #198754;
    --danger: #dc3545;
    --shadow: 0 18px 45px rgba(7, 29, 48, 0.12);
    --radius: 18px;
}

/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select {
    font: inherit;
}

/* ---------------------------------------------------------
   CONTENEDOR
   --------------------------------------------------------- */

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

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 24px 0;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.brand-subtitle {
    font-size: 11px;
    opacity: 0.75;
    margin-top: 4px;
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(30, 144, 255, 0.20),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 85%,
            rgba(230, 167, 46, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--navy-dark) 0%,
            var(--navy) 55%,
            #103c5c 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -260px;
    top: -240px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -250px;
    bottom: -250px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 70px;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-content {
    color: var(--white);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}

.hero-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(230, 167, 46, 0.12);
}

.hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.03;
    letter-spacing: -2.5px;
    max-width: 680px;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--gold);
}

.hero-description {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-highlight {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

/* ---------------------------------------------------------
   FORM CARD
   --------------------------------------------------------- */

.form-card {
    background: var(--white);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.form-header {
    margin-bottom: 25px;
}

.form-header h2 {
    color: var(--navy);
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--muted);
    font-size: 14px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.form-control {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fbfcfd;
    color: var(--text);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-control::placeholder {
    color: #9aa7b2;
}

.form-control:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(18, 102, 168, 0.1);
}

select.form-control {
    cursor: pointer;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.form-checkbox input {
    margin-top: 3px;
    accent-color: var(--blue);
}

.form-checkbox a {
    color: var(--blue);
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   BOTONES
   --------------------------------------------------------- */

.btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 11px;
    padding: 13px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

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

.btn-primary {
    color: var(--white);
    background: var(--gold);
    box-shadow: 0 10px 25px rgba(230, 167, 46, 0.25);
}

.btn-primary:hover {
    background: var(--gold-dark);
    box-shadow: 0 14px 30px rgba(230, 167, 46, 0.32);
}

.btn-whatsapp {
    color: var(--white);
    background: #159447;
    margin-top: 11px;
}

.btn-whatsapp:hover {
    background: #117b3b;
    box-shadow: 0 10px 25px rgba(21, 148, 71, 0.22);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* ---------------------------------------------------------
   ESTADO DEL FORMULARIO
   --------------------------------------------------------- */

.form-status {
    display: none;
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.form-status.show {
    display: block;
}

.form-status.success {
    color: #146c43;
    background: #d1e7dd;
    border: 1px solid #badbcc;
}

.form-status.error {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
}

.form-status.loading {
    color: #055160;
    background: #cff4fc;
    border: 1px solid #b6effb;
}

/* ---------------------------------------------------------
   SECCIÓN INFORMATIVA
   --------------------------------------------------------- */

.info-section {
    padding: 90px 0;
    background: var(--white);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-label {
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.info-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(230, 167, 46, 0.12);
    color: var(--gold-dark);
    font-weight: 900;
    margin-bottom: 20px;
}

.info-card h3 {
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--muted);
    font-size: 14px;
}

/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.cta-section {
    padding: 75px 0;
    background: var(--light);
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 55px;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(30, 144, 255, 0.2),
            transparent 35%
        ),
        linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
}

.cta-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    right: -130px;
    bottom: -180px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
}

.cta-button {
    width: auto;
    display: inline-flex;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {
    padding: 28px 0;
    background: #061927;
    color: rgba(255, 255, 255, 0.62);
}

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

.footer-brand {
    color: var(--white);
    font-weight: 800;
}

.footer-copy {
    font-size: 12px;
}

/* ---------------------------------------------------------
   ANIMACIONES
   --------------------------------------------------------- */

.fade-up {
    animation: fadeUp 0.7s ease both;
}

.fade-up-delay {
    animation: fadeUp 0.7s 0.15s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 130px;
    }

    .hero-content {
        max-width: 720px;
    }

    .form-card {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: 0 auto;
    }

    .cta-box {
        padding: 42px 32px;
    }
}

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

    .site-header {
        padding: 17px 0;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .hero-grid {
        padding-top: 105px;
        padding-bottom: 55px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 16px;
    }

    .form-card {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .form-header h2 {
        font-size: 23px;
    }

    .info-section {
        padding: 65px 0;
    }

    .info-card {
        padding: 25px;
    }

    .cta-section {
        padding: 55px 0;
    }

    .cta-box {
        padding: 35px 25px;
        border-radius: 18px;
    }

    .cta-button {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------------------------------------------------------
   REDUCIR MOVIMIENTO
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
