/* ===================== DESIGN TOKENS ===================== */
:root {
    --navy: #0a2540;
    --navy-800: #0e2f52;
    --navy-700: #143a63;
    --blue: #1e6fff;
    --blue-600: #1560e0;
    --cyan: #00a4e4;
    --ink: #1a2433;
    --body: #46566b;
    --muted: #7b8aa0;
    --line: #e6ebf2;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;
    --bg-alt: #f7f9fc;
    --white: #ffffff;
    --green: #16a34a;

    --radius: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
    --shadow: 0 12px 30px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.14);
    --container: 1160px;
    --header-h: 74px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================== RESET ===================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    box-shadow: 0 10px 24px rgba(30, 111, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(30, 111, 255, 0.36); }
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===================== HEADER ===================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    border-color: var(--line);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
    height: 46px;
    width: auto;
    max-width: 170px;
    border-radius: 10px;
    object-fit: contain;
    display: block;
}
.brand-name { font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -0.02em; }
.brand-name.light { color: #fff; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.96rem;
    color: var(--navy-800);
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--blue); background: var(--bg-soft); }
.nav-cta {
    background: var(--navy);
    color: #fff;
    padding: 9px 20px;
    margin-left: 6px;
    border-radius: 999px;
}
.nav-cta:hover { background: var(--blue); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 70px) 0 90px;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(0, 164, 228, 0.16), transparent 60%),
        radial-gradient(500px 380px at 10% 20%, rgba(30, 111, 255, 0.12), transparent 60%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--blue);
    background: rgba(30, 111, 255, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow.center { display: inline-block; }
.hero-title {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 18px;
}
.hero-title strong {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--body);
    max-width: 540px;
    margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.stat-label { font-size: 0.9rem; color: var(--muted); }

/* Hero visual (image) */
.hero-visual {
    position: relative;
}
.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transform: perspective(1000px) rotateY(-4deg);
}
.hero-image-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy);
    box-shadow: var(--shadow);
}
.hero-image-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

/* ===================== TRUST STRIP ===================== */
.strip {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.9);
}
.strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.95rem;
}
.dot-sep { color: var(--cyan); }

/* ===================== SECTIONS ===================== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 14px;
}
.section-title.left { text-align: left; }
.section-desc { font-size: 1.05rem; color: var(--body); }
.section-desc.left { text-align: left; }

/* ===================== SERVICE CARDS ===================== */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(30,111,255,0.12), rgba(0,164,228,0.12));
    color: var(--blue);
    margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.card-text { color: var(--body); margin-bottom: 18px; }
.card-list { display: grid; gap: 10px; }
.card-list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.95rem;
    color: var(--body);
}
.card-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ===================== ABOUT ===================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.check-list { display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list li {
    position: relative;
    padding-left: 32px;
    font-weight: 500;
    color: var(--ink);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 3px;
    width: 20px; height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.about-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
}
.about-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.about-stat-label { font-size: 0.92rem; color: var(--body); }

/* ===================== PROCESS ===================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.step-title { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.step-text { font-size: 0.95rem; color: var(--body); }

/* ===================== FAQ ===================== */
.faq-container { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s;
}
.faq-item.active { box-shadow: var(--shadow); border-color: transparent; }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
}
.faq-icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--blue);
    font-size: 1.3rem;
    font-weight: 600;
    transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--body); }

/* ===================== CONTACT ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-ic {
    width: 46px; height: 46px;
    flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--bg-soft);
    font-size: 1.2rem;
}
.contact-label { margin: 0; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.contact-val { font-weight: 700; color: var(--navy); }
a.contact-val { display: block; }
a.contact-val:hover { color: var(--blue); }

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
    display: grid;
    gap: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink);
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-alt);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 111, 255, 0.12);
}
.form-note {
    margin: 0;
    text-align: center;
    color: var(--green);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 64px 24px 44px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-desc { font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a {
    display: block;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 22px 24px;
    font-size: 0.88rem;
}
.footer-bottom-inner p { margin: 0; }
.footer-muted { color: rgba(255, 255, 255, 0.5); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { transform: none; max-width: 520px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 20px 22px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-140%);
        transition: transform 0.35s var(--ease);
        z-index: 90;
    }
    .nav.open { transform: translateY(0); }
    .nav-link { padding: 12px 14px; }
    .nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
    .nav-toggle { display: flex; }

    .cards-3 { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 68px 0; }
    .hero { padding-top: calc(var(--header-h) + 40px); }
}

@media (max-width: 480px) {
    .steps { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .hero-stats { gap: 22px; }
    .strip-inner { font-size: 0.86rem; gap: 10px; }
}

/* ===================== ACCESSIBILITY ===================== */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
