:root {
    --primary: #0d2b55;
    --accent: #c8a84b;
    --accent-light: #e8d08a;
    --bg: #f9f9f7;
    --surface: #ffffff;
    --text: #1a1a1a;
    --muted: #5a6070;
    --border: #dde0e8;
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
nav {
    background: var(--primary);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo {
    display: block;
    flex: 0 1 510px;
    text-decoration: none;
}
.logo svg {
    display: block;
    width: 100%;
    max-width: 510px;
    height: auto;
    max-height: 120px;
}
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}
nav ul a:hover { color: var(--accent); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary) 60%, #1a4a7a);
    color: #fff;
    padding: 100px 5% 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(200,168,75,0.25);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.hero h1 em {
    color: var(--accent);
    font-style: normal;
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-bottom: 2rem;
}
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 14px 32px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-secondary {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 13px 28px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 1rem;
    transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: #fff; }
.hero-stats {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.stat-item { text-align: center; }
.stat-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}
.stat-label {
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* TRUST BAR */
.trust-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.trust-label {
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    white-space: nowrap;
}
.trust-items { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.trust-item {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trust-item::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

/* SECTION WRAPPER */
section { padding: 80px 5%; }
.section-tag {
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.25;
}
.section-sub {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: var(--muted);
    max-width: 580px;
    margin-bottom: 3rem;
}

/* SERVICES */
.services { background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
}
.service-card:hover { box-shadow: 0 8px 28px rgba(13,43,85,0.1); transform: translateY(-3px); }
.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.service-card p {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}
.service-card .cert-badge {
    display: inline-block;
    margin-top: 1rem;
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 3px;
    padding: 3px 8px;
    letter-spacing: 0.06em;
}

/* ABOUT */
.about { background: var(--surface); }
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-image-block {
    background: linear-gradient(145deg, var(--primary), #1a4a7a);
    border-radius: 8px;
    padding: 3rem;
    color: #fff;
    position: relative;
}
.about-image-block::after {
    content: '';
    position: absolute;
    bottom: -12px; right: -12px;
    width: 100%; height: 100%;
    border: 2px solid var(--accent);
    border-radius: 8px;
    z-index: -1;
}
.about-quote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}
.about-name {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.about-title-text {
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}
.about p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-family: Arial, sans-serif;
    line-height: 1.75;
}
.about-bullets {
    list-style: none;
    margin-top: 1.5rem;
}
.about-bullets li {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.about-bullets li::before {
    content: "→";
    color: var(--accent);
    font-weight: bold;
}

/* PROCESS */
.process { background: var(--primary); color: #fff; }
.process .section-title { color: #fff; }
.process .section-sub { color: rgba(255,255,255,0.65); }
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    counter-reset: steps;
}
.step {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 2rem;
    counter-increment: steps;
    position: relative;
}
.step-num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(200,168,75,0.3);
    line-height: 1;
    margin-bottom: 1rem;
}
.step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--accent);
}
.step p {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* TESTIMONIALS */
.testimonials { background: var(--bg); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover { box-shadow: 0 8px 28px rgba(13,43,85,0.08); transform: translateY(-2px); }
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.4;
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-family: Georgia, serif;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.testimonial-name {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}
.testimonial-company {
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
}
.carousel-controls { display: none; }

/* CTA */
.cta {
    background: var(--surface);
    text-align: center;
}
.cta-box {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: 0 4px 24px rgba(13,43,85,0.06);
}
.cta-box h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.cta-box p {
    font-family: Arial, sans-serif;
    color: var(--muted);
    margin-bottom: 2rem;
}
.cta-form { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cta-form input {
    flex: 1;
    min-width: 220px;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: Arial, sans-serif;
    outline: none;
    transition: border-color 0.2s;
}
.cta-form input:focus { border-color: var(--primary); }
.cta-form .field-full { flex: 0 0 100%; }
.cta-form .field-half {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: 0;
}
.cta-form .btn-primary { border: none; cursor: pointer; }
.cta-form .btn-primary:disabled { cursor: wait; opacity: 0.7; }
.cta-form .form-status {
    flex-basis: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
}
.cta-form .form-status.success { color: #26713c; }
.cta-form .form-status.error { color: #a12b2b; }
.contact-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* FOOTER */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.55);
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
}
footer a { color: var(--accent); text-decoration: none; }

.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 90;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 18px rgba(13,43,85,0.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s, background 0.2s;
}
.back-to-top:hover { background: var(--accent-light); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1100px) {
    nav { height: 110px; }
    .logo { flex-basis: 330px; max-width: 330px; }
    nav ul { gap: 1rem; }
    nav ul a { font-size: 0.78rem; }
}

@media (max-width: 900px) {
    nav { height: 90px; }
    .logo { flex-basis: 275px; max-width: calc(100% - 64px); }
    .menu-toggle { display: block; flex: 0 0 44px; }
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 5% 1rem;
        background: var(--primary);
        border-top: 1px solid rgba(255,255,255,0.12);
        box-shadow: 0 10px 22px rgba(0,0,0,0.18);
    }
    nav ul.is-open { display: flex; }
    nav ul a { display: block; padding: 0.8rem 0; font-size: 0.88rem; }
}

@media (max-width: 768px) {
    section { padding: 60px 5%; }
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 60px;
        text-align: center;
    }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero .btn-primary,
    .hero .btn-secondary { margin-left: 0.35rem; margin-right: 0.35rem; }
    .about-inner { grid-template-columns: 1fr; }
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        padding: 1.25rem;
    }
    .stat-num { font-size: 1.9rem; }
    .stat-label { font-size: 0.72rem; }
    .cta-form .field-half { flex-basis: 100%; }

    .testimonials-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonial-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.25rem;
        font-family: Arial, sans-serif;
        color: var(--muted);
    }
    .carousel-button {
        width: 42px;
        height: 42px;
        border: 1px solid var(--border);
        border-radius: 50%;
        background: var(--surface);
        color: var(--primary);
        font-size: 1.2rem;
        cursor: pointer;
    }
    .carousel-status { min-width: 3.5rem; text-align: center; }
    .back-to-top { right: 1rem; bottom: 1rem; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    nav { height: 78px; }
    .logo { flex-basis: 220px; max-width: calc(100% - 58px); }
    .cta-box { padding: 2rem 1.25rem; }
    .hero .btn-primary,
    .hero .btn-secondary {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .hero .btn-secondary { margin-top: 0.75rem; }
}

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