:root {
    --deep-blue: #0b3a75;
    --sky-blue: #1a6fb4;
    --steppe-gold: #c8a15a;
    --turquoise: #18a999;
    --sand: #f6f1e7;
    --text-dark: #1f2933;
    --text-muted: #596070;
    --white: #ffffff;
    --shadow-soft: 0 14px 40px rgba(11, 58, 117, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-eyebrow,
.overline {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--turquoise);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-blue);
    margin-top: 0.5em;
    margin-bottom: 0.6em;
}

p {
    margin: 0 0 1.2em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--sky-blue);
}

.btn-outline {
    border-color: var(--deep-blue);
    color: var(--deep-blue);
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(11, 58, 117, 0.12);
}

.btn-ghost {
    background: transparent;
    border-color: var(--steppe-gold);
    color: var(--deep-blue);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(200, 161, 90, 0.18);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(11, 58, 117, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: linear-gradient(135deg, var(--deep-blue), var(--sky-blue));
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

.brand-tagline {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.primary-nav ul {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    font-weight: 600;
    color: var(--text-dark);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--sky-blue);
}

.nav-toggle {
    background: none;
    border: none;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 26px;
    height: 3px;
    border-radius: 5px;
    background: var(--deep-blue);
}

/* Hero */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, rgba(26, 111, 180, 0.08), rgba(246, 241, 231, 0.8));
}

.hero-content {
    display: grid;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.hero-highlights li {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-weight: 600;
    color: var(--deep-blue);
}

.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* About */
.section-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
}

/* Approach */
.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.approach-step {
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(11, 58, 117, 0.15);
    background: linear-gradient(135deg, rgba(200, 161, 90, 0.12), rgba(246, 241, 231, 0.6));
    position: relative;
}

.step-number {
    position: absolute;
    top: -18px;
    left: 24px;
    background: var(--deep-blue);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    gap: 32px;
    margin-top: 40px;
}

.portfolio-card {
    display: grid;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.portfolio-card img {
    border-radius: var(--radius-md);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 26px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.testimonial-card blockquote {
    margin: 0 0 16px;
    font-size: 1rem;
    color: var(--text-dark);
    font-style: italic;
}

/* Insights */
.insights-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 40px;
}

.insight-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-soft);
}

.insight-link {
    font-weight: 600;
    color: var(--deep-blue);
}

.insight-link:hover,
.insight-link:focus-visible {
    color: var(--sky-blue);
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 48px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 16px;
    margin: 32px 0;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--turquoise);
    display: block;
}

.team-gallery {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(11, 58, 117, 0.2);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--sky-blue);
    border-color: transparent;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-status {
    min-height: 1.2em;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, rgba(11, 58, 117, 0.96), rgba(11, 58, 117, 0.88));
    color: var(--white);
    padding: 60px 0 28px;
}

.footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
}

.footer-nav ul,
.footer-contact ul,
.footer-sitemap ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    color: var(--steppe-gold);
    font-weight: 600;
}

.footer-bottom {
    margin-top: 28px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.68);
}

.footer-mark {
    background: linear-gradient(135deg, rgba(24, 169, 153, 0.4), rgba(200, 161, 90, 0.7));
    color: var(--white);
}

/* Legal pages */
.legal-main {
    padding-bottom: 80px;
}

.legal-hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, rgba(24, 169, 153, 0.12), rgba(246, 241, 231, 0.9));
}

.legal-content {
    padding: 40px 0;
}

.legal-content article {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--deep-blue);
    color: var(--white);
    font-size: 1.4rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    z-index: 98;
}

.scroll-top:focus-visible,
.scroll-top:hover {
    background: var(--sky-blue);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    background: rgba(11, 58, 117, 0.95);
    color: var(--white);
    padding: 22px 0;
    display: none;
    z-index: 100;
}

.cookie-content {
    width: min(960px, 92vw);
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

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

/* Responsive */
@media (max-width: 960px) {
    .hero-content,
    .section-grid {
        grid-template-columns: 1fr;
    }

    .primary-nav {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.98);
        padding-top: 110px;
        transform: translateX(100%);
        transition: var(--transition);
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .primary-nav.open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }
}

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

    .hero-section {
        padding-top: 100px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form {
        padding: 24px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .scroll-top {
        bottom: 16px;
        right: 16px;
    }
}