:root{
    --bg: #f5f8fc;
    --bg-soft: #edf3fb;
    --surface: #ffffff;
    --surface-2: #f8fbff;
    --text: #132033;
    --muted: #61718a;
    --line: rgba(19, 32, 51, 0.10);

    --brand: #0d56c9;
    --brand-2: #1fa4ff;
    --brand-dark: #0b2e68;
    --accent: #7ed6ff;

    --success-bg: #edf9f0;
    --success-border: #b9e3c2;
    --success-text: #1f6a34;

    --error-bg: #fff2f2;
    --error-border: #f2c1c1;
    --error-text: #9b2222;

    --shadow-sm: 0 8px 24px rgba(17, 36, 71, 0.06);
    --shadow-md: 0 18px 45px rgba(17, 36, 71, 0.10);
    --shadow-lg: 0 25px 60px rgba(13, 34, 67, 0.16);

    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 30px;

    --container: 1200px;
    --nav-h: 88px;
}

*,
*::before,
*::after{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

a{
    color: var(--brand);
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}

iframe{
    border: 0;
}

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

.section{
    padding: 96px 0;
}

.section-soft{
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.section-head{
    margin-bottom: 42px;
}

.section-head.center{
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 42px;
}

.eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}

.eyebrow::before{
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

h1,h2,h3,h4{
    margin: 0 0 16px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h1{
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
}

h2{
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
}

h3{
    font-size: 24px;
    font-weight: 700;
}

p{
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 17px;
}

.lead{
    font-size: 20px;
    color: rgba(255,255,255,.92);
    max-width: 760px;
}

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    cursor: pointer;
}

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

.btn-primary{
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    box-shadow: 0 12px 30px rgba(13, 86, 201, .22);
}

.btn-primary:hover{
    color: #fff;
    box-shadow: 0 16px 36px rgba(13, 86, 201, .28);
}

.btn-secondary{
    background: #fff;
    color: var(--text);
    border-color: rgba(19, 32, 51, .12);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover{
    color: var(--text);
}

.btn-secondary-dark{
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary-dark:hover{
    color: #fff;
    background: rgba(255,255,255,.12);
}

.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(7, 20, 38, .72);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-wrap{
    min-height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand{
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    min-width: 0;
}

.brand:hover{
    color: #fff;
}

.brand-mark{
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    padding: 4px;
}

.brand-text{
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title{
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.brand-subtitle{
    font-size: 13px;
    color: rgba(255,255,255,.78);
    white-space: nowrap;
}

.site-nav{
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a{
    color: rgba(255,255,255,.88);
    font-weight: 600;
    font-size: 15px;
}

.site-nav a:hover{
    color: #fff;
}

.nav-toggle{
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span{
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
}

.hero{
    position: relative;
    overflow: hidden;
}

.hero-home{
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(6, 18, 36, .76) 0%, rgba(10, 48, 115, .55) 52%, rgba(31, 164, 255, .30) 100%),
        url('/assets/img/site/hero-main.jpg') center center / cover no-repeat;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.15), transparent 28%),
        linear-gradient(to bottom, rgba(6,12,22,.20), rgba(6,12,22,.38));
    pointer-events: none;
}

.hero-grid{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 34px;
    align-items: center;
    padding: 72px 0;
}

.hero-copy{
    color: #fff;
}

.hero-copy .eyebrow,
.hero-copy h1{
    color: #fff;
}

.hero-copy .eyebrow::before{
    background: rgba(255,255,255,.7);
}

.hero-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-stats{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.hero-stat{
    min-width: 130px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.hero-stat strong{
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.hero-stat span{
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    margin-top: 4px;
}

.glass-card{
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    color: #fff;
}

.hero-card-label{
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-card h2{
    color: #fff;
    font-size: 34px;
    margin-bottom: 12px;
}

.hero-card p{
    color: rgba(255,255,255,.86);
}

.check-list{
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.check-list li{
    position: relative;
    padding-left: 28px;
    color: #fff;
    font-weight: 600;
}

.check-list li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8ae1ff, #fff);
    box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}

.split-layout{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.split-layout-reverse{
    grid-template-columns: 1fr 1fr;
}

.image-stack img{
    width: 100%;
    height: min(620px, 72vw);
    min-height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.section-copy{
    max-width: 640px;
}

.category-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.category-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.feature-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.feature-icon{
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(13, 86, 201, .18);
}

.feature-card p{
    margin-bottom: 0;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.gallery-card{
    grid-column: span 4;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    min-height: 280px;
    background: #dbe6f6;
}

.gallery-card-large{
    grid-column: span 8;
    min-height: 580px;
}

.gallery-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-card:hover img{
    transform: scale(1.03);
}

.opening-card,
.contact-panel,
.info-card,
.contact-form-card,
.embed-card,
.map-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.opening-card{
    margin-top: 26px;
    padding: 22px;
}

.info-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.steps-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.step-number{
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(13, 86, 201, .20);
}

.cta-box{
    margin-top: 28px;
    background: linear-gradient(135deg, #0d56c9 0%, #1fa4ff 100%);
    border-radius: var(--radius-lg);
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-md);
}

.cta-box h3,
.cta-box p{
    color: #fff;
    margin-bottom: 8px;
}

.cta-box p{
    opacity: .9;
}

.cta-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-box .btn-secondary{
    border-color: rgba(255,255,255,.25);
}

.contact-panel{
    padding: 24px;
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.contact-panel strong{
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-panel span,
.contact-panel a{
    color: var(--muted);
}

.map-card{
    overflow: hidden;
    min-height: 420px;
}

.map-card iframe{
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.site-footer{
    background: #091728;
    color: rgba(255,255,255,.78);
    padding-top: 34px;
}

.footer-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
}

.footer-brand{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand strong{
    color: #fff;
    font-size: 18px;
}

.footer-links{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a{
    color: rgba(255,255,255,.82);
}

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0 26px;
    font-size: 14px;
    color: rgba(255,255,255,.6);
}

/* CONTACT PAGINA */

.active-link{
    color: #fff !important;
}

.page-hero{
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-contact{
    background:
        linear-gradient(135deg, rgba(8, 20, 43, .78), rgba(13, 86, 201, .48)),
        url('/assets/img/site/contact-hero.jpg') center center / cover no-repeat;
}

.page-hero-overlay{
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.10), transparent 28%),
        linear-gradient(to bottom, rgba(6, 12, 22, .18), rgba(6, 12, 22, .42));
    pointer-events: none;
}

.page-hero-inner{
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 90px 0 70px;
}

.page-hero-inner h1,
.page-hero-inner .eyebrow,
.page-hero-inner .lead{
    color: #fff;
}

.page-hero-inner .eyebrow::before{
    background: rgba(255,255,255,.75);
}

.page-hero-inner .lead{
    max-width: 760px;
    color: rgba(255,255,255,.88);
    font-size: 20px;
}

.contact-page-grid{
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 30px;
    align-items: start;
}

.contact-form-card{
    padding: 28px;
}

.form-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field{
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-field label{
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.form-field input,
.form-field textarea{
    width: 100%;
    border: 1px solid rgba(19, 32, 51, .14);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    font: inherit;
    padding: 14px 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field textarea:focus{
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(13, 86, 201, .10);
}

.form-field textarea{
    resize: vertical;
    min-height: 180px;
}

.form-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.alert{
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 22px;
    font-weight: 500;
}

.alert ul{
    margin: 10px 0 0;
    padding-left: 18px;
}

.alert-success{
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-text);
}

.alert-error{
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
}

.info-card{
    padding: 24px;
    margin-bottom: 20px;
}

.contact-list{
    display: grid;
    gap: 18px;
}

.contact-list strong{
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text);
}

.contact-list span,
.contact-list a{
    color: var(--muted);
}

.embed-card{
    overflow: hidden;
    min-height: 320px;
}

.embed-card iframe{
    width: 100%;
    min-height: 320px;
    height: 100%;
}

/* RESPONSIVE */

@media (max-width: 1100px){
    .hero-grid,
    .split-layout,
    .contact-page-grid{
        grid-template-columns: 1fr;
    }

    .hero-home{
        min-height: auto;
    }

    .hero-grid{
        padding: 56px 0 72px;
    }

    .gallery-card,
    .gallery-card-large{
        grid-column: span 6;
    }
}

@media (max-width: 900px){
    .feature-grid,
    .steps-grid,
    .category-grid,
    .form-grid{
        grid-template-columns: 1fr;
    }

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

    .site-nav{
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 18px;
        border-radius: 22px;
        background: rgba(10, 20, 34, .96);
        border: 1px solid rgba(255,255,255,.08);
        box-shadow: var(--shadow-lg);
    }

    .site-nav.is-open{
        display: flex;
    }

    .nav-toggle{
        display: inline-flex;
    }
}

@media (max-width: 700px){
    .section{
        padding: 72px 0;
    }

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

    .gallery-card,
    .gallery-card-large{
        grid-column: auto;
        min-height: 260px;
    }

    .brand-subtitle{
        white-space: normal;
    }

    .lead,
    .page-hero-inner .lead{
        font-size: 18px;
    }

    .hero-stats{
        flex-direction: column;
    }

    .hero-stat{
        width: 100%;
    }
}