@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --ink: #0b1b2f;
    --ink-soft: #223248;
    --muted: #5f6f85;
    --navy-950: #071a2e;
    --navy-900: #0b2542;
    --navy-800: #123458;
    --navy-700: #1a4670;
    --accent: #e11d3d;
    --accent-dark: #b7132e;
    --accent-soft: rgba(225, 29, 61, 0.12);
    --surface: #ffffff;
    --surface-alt: #f2f4f7;
    --border: #e1e6ee;
    --shadow-lg: 0 24px 60px rgba(7, 26, 46, 0.14);
    --shadow-md: 0 18px 36px rgba(7, 26, 46, 0.1);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(11, 37, 66, 0.04), transparent 55%),
        radial-gradient(circle at 18% 12%, rgba(18, 52, 88, 0.08), transparent 40%),
        #f7f8fa;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    margin: 0 0 0.6rem 0;
    color: var(--navy-900);
}

p {
    margin: 0 0 1rem 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(11, 37, 66, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.3rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 18px rgba(11, 37, 66, 0.18);
    background: #fff;
    padding: 4px;
}

.brand-text h1 {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.brand-text p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.site-nav a {
    position: relative;
    padding-bottom: 0.2rem;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

.site-nav a.active {
    color: var(--accent);
    font-weight: 600;
}

.site-nav a.active::after {
    width: 100%;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: var(--navy-900);
    color: #fff;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 14px 30px rgba(11, 37, 66, 0.28);
}

.button:hover {
    transform: translateY(-2px);
    background: var(--navy-800);
}

.button.ghost {
    background: transparent;
    color: var(--accent);
    border-color: rgba(225, 29, 61, 0.35);
    box-shadow: none;
}

.button.ghost:hover {
    background: var(--accent-soft);
}

.hero {
    position: relative;
    padding: 4.5rem 0 3.5rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -12%;
    width: 60%;
    height: 140%;
    background: linear-gradient(135deg, rgba(11, 37, 66, 0.12), rgba(11, 37, 66, 0.02));
    transform: skewX(-16deg);
    z-index: 0;
}


.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-rows: auto auto;
    gap: 2.5rem;
    align-items: center;
    z-index: 1;
}

.hero-content {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.hero-content h2 {
    font-size: clamp(2.2rem, 3.4vw, 3.4rem);
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--navy-700);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.eyebrow::before {
    content: '';
    width: 12px;
    height: 6px;
    background: var(--accent);
    transform: skew(-18deg);
    border-radius: 2px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0 2rem 0;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-metrics span {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy-900);
}

.hero-metrics p {
    margin: 0.2rem 0 0 0;
    font-size: 0.85rem;
}

.hero-card {
    background: var(--surface);
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(11, 37, 66, 0.08);
    position: relative;
    overflow: hidden;
    grid-column: 2;
    grid-row: 2;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--navy-800));
}

.hero-card ul {
    padding-left: 1.2rem;
    margin: 1rem 0 1.5rem 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.hero-media {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    background: linear-gradient(140deg, var(--navy-900), var(--navy-800));
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hero-media img {
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    object-position: 75% 50%;
    transform: scale(1.06);
    clip-path: polygon(24% 0, 100% 0, 88% 100%, 0% 100%);
}

.hero-thumb {
    margin: 1.2rem 0 1.5rem 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(11, 37, 66, 0.12);
}

.hero-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    object-position: 70% 50%;
    transform: scale(1.03);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

.link {
    color: var(--accent);
    font-weight: 600;
}

.section {
    padding: 4rem 0;
}

.section.alt {
    background: var(--surface-alt);
}

.legal-hero {
    padding: 4rem 0 2.5rem 0;
    background: linear-gradient(135deg, rgba(11, 37, 66, 0.08), transparent 60%);
    border-bottom: 1px solid rgba(11, 37, 66, 0.08);
}

.legal-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: 2rem;
    align-items: end;
}

.legal-summary {
    background: var(--surface);
    padding: 1.6rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.legal-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
}

.legal-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-list {
    padding-left: 1.2rem;
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.legal-note {
    background: rgba(11, 37, 66, 0.03);
}

.page-hero {
    padding: 4rem 0 2.5rem 0;
    background: linear-gradient(135deg, rgba(11, 37, 66, 0.08), transparent 60%);
    border-bottom: 1px solid rgba(11, 37, 66, 0.08);
}

.page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: 2rem;
    align-items: end;
}

.page-hero-card {
    background: var(--surface);
    padding: 1.6rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
}

.page-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.page-card p:last-child {
    margin-bottom: 0;
}

.page-list {
    padding-left: 1.2rem;
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.page-media {
    margin-top: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.page-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
}

.page-form {
    display: grid;
    gap: 1rem;
}

.page-form label {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.9rem;
}

.page-form input,
.page-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
}

.page-form input:focus,
.page-form textarea:focus {
    outline: 2px solid rgba(225, 29, 61, 0.25);
    border-color: rgba(225, 29, 61, 0.4);
}

.page-form button {
    justify-self: start;
}

.inline-links a {
    color: var(--accent);
    font-weight: 600;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(11, 37, 66, 0.08);
}

.image-slice {
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.image-slice img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-grid span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.section-head {
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--surface);
    padding: 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 18px 32px rgba(11, 37, 66, 0.08);
    transition: transform 0.2s ease, border 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 29, 61, 0.3);
}

.timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(11, 37, 66, 0.08);
}

.timeline-step span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.insight-card {
    background: var(--surface);
    padding: 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.approach-media {
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.approach-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
}

#insights.section.alt {
    background: var(--navy-900);
    color: #fff;
}

#insights.section.alt h2,
#insights.section.alt h3,
#insights.section.alt p {
    color: #f8fafc;
}

#insights.section.alt .insight-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.contact-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 0.8rem;
}

.site-footer {
    background: var(--navy-950);
    color: #e2e8f0;
    padding: 3rem 0 0 0;
}

.site-footer p {
    color: rgba(226, 232, 240, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-grid h3, .footer-grid h4 {
    color: #fff;
}

.footer-grid a {
    display: block;
    color: rgba(226, 232, 240, 0.75);
    margin-bottom: 0.6rem;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(226, 232, 240, 0.15);
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.85);
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-card,
.section {
    animation: fadeUp 0.8s ease both;
}

.hero-card {
    animation-delay: 0.1s;
}

.section:nth-of-type(2) {
    animation-delay: 0.1s;
}

.section:nth-of-type(3) {
    animation-delay: 0.2s;
}

.section:nth-of-type(4) {
    animation-delay: 0.3s;
}

.section:nth-of-type(5) {
    animation-delay: 0.4s;
}

@media (max-width: 980px) {
    .nav-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-hero-inner,
    .legal-content,
    .page-hero-inner,
    .page-grid {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .hero-media,
    .hero-card {
        grid-column: auto;
        grid-row: auto;
    }

    .card-grid,
    .insight-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hero {
        padding: 3rem 0 2rem 0;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .insight-grid,
    .footer-grid,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: static;
    }
}
