/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #FAFAF8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
    color: #0A2540;
}

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #0A2540;
    color: #FFFFFF;
    padding: 0.75rem 1.25rem;
    z-index: 200;
    font-size: 0.875rem;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #0A2540;
    color: #FFFFFF;
    border: 2px solid #0A2540;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #123A5E;
    border-color: #123A5E;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: #0A2540;
    border: 2px solid #0A2540;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: #0A2540;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ===== Section Eyebrow ===== */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6DD5C0;
    margin-bottom: 1rem;
}

/* ===== Section Title ===== */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
}

/* ===== Section Subtitle ===== */
.section-subtitle {
    font-size: 1.0625rem;
    color: #4A5568;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(10, 37, 64, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* ===== Logo ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #0A2540;
    color: #6DD5C0;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0A2540;
}

.logo-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #6DD5C0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ===== Navigation ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #0A2540;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #1a1a2e;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #0A2540;
    background-color: rgba(10, 37, 64, 0.06);
}

.nav-cta {
    margin-left: 0.75rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ===== Hero ===== */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(135deg, #0A2540 0%, #0D2E4D 50%, #103659 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(109, 213, 192, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    position: relative;
}

.hero-content {
    color: #FFFFFF;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6DD5C0;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.hero-headline em {
    color: #6DD5C0;
    font-style: italic;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

.hero-actions .btn-secondary:hover,
.hero-actions .btn-secondary:focus-visible {
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

/* Hero Image */
.hero-image {
    position: relative;
    flex-shrink: 0;
}

.hero-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(109, 213, 192, 0.3);
    border-radius: 16px;
    z-index: -1;
}

/* ===== About ===== */
.about {
    padding: 7rem 0;
    background-color: #FAFAF8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(10, 37, 64, 0.1);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.0625rem;
    color: #4A5568;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1rem;
    color: #1a1a2e;
    font-weight: 500;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #6DD5C0;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

/* ===== Services ===== */
.services {
    padding: 7rem 0;
    background-color: #F5F7F5;
}

.services .section-header {
    margin-bottom: 3.5rem;
}

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

.service-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(10, 37, 64, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(10, 37, 64, 0.1);
    border-color: rgba(109, 213, 192, 0.3);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.06) 0%, rgba(109, 213, 192, 0.12) 100%);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    color: #0A2540;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 0.75rem;
    color: #0A2540;
}

.service-card p {
    font-size: 0.9375rem;
    color: #4A5568;
    line-height: 1.7;
}

/* ===== Approach ===== */
.approach {
    padding: 7rem 0;
    background-color: #0A2540;
    color: #FFFFFF;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach .section-eyebrow {
    color: #6DD5C0;
}

.approach .section-title {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.approach-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.approach-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #6DD5C0;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15);
}

.approach-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Location ===== */
.location {
    padding: 7rem 0;
    background-color: #FAFAF8;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-info .section-title {
    margin-bottom: 2rem;
}

.location-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.location-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.location-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6DD5C0;
}

.location-item span,
.location-item a {
    font-size: 1.0625rem;
    color: #1a1a2e;
    line-height: 1.6;
}

.location-item a:hover {
    color: #0A2540;
    text-decoration: underline;
}

.location-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(10, 37, 64, 0.1);
    aspect-ratio: 4/3;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background-color: #FFFFFF;
    padding: 0.75rem 1.125rem;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-size: 0.875rem;
    font-weight: 500;
    color: #0A2540;
}

.map-overlay svg {
    width: 20px;
    height: 20px;
    color: #E53E3E;
}

/* ===== Contact ===== */
.contact {
    padding: 7rem 0;
    background: linear-gradient(135deg, #F5F7F5 0%, #FAFAF8 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 1.25rem;
}

.contact-info > p {
    font-size: 1.0625rem;
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(10, 37, 64, 0.08);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6DD5C0;
}

.contact-item a,
.contact-item span {
    font-size: 1rem;
    color: #1a1a2e;
}

.contact-item a:hover {
    color: #0A2540;
    text-decoration: underline;
}

/* ===== Form ===== */
.contact-form-wrapper {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.08);
    border: 1px solid rgba(10, 37, 64, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #0A2540;
}

.form-group input,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    padding: 0.875rem 1rem;
    border: 1.5px solid rgba(10, 37, 64, 0.15);
    border-radius: 8px;
    background-color: #FAFAF8;
    color: #1a1a2e;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0AEC0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6DD5C0;
    box-shadow: 0 0 0 3px rgba(109, 213, 192, 0.15);
    background-color: #FFFFFF;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    font-size: 0.8125rem;
    color: #A0AEC0;
    text-align: center;
    margin-top: 0.5rem;
}

/* Success State */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
}

.form-success svg {
    width: 52px;
    height: 52px;
    color: #6DD5C0;
}

.form-success h3 {
    font-size: 1.375rem;
    color: #0A2540;
}

.form-success p {
    font-size: 0.9375rem;
    color: #4A5568;
    line-height: 1.7;
    max-width: 320px;
}

/* ===== Footer ===== */
.footer {
    background-color: #0A2540;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand .logo-mark {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
}

.footer-brand .logo-name {
    color: #FFFFFF;
    font-size: 1.125rem;
}

.footer-brand .logo-title {
    color: #6DD5C0;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 320px;
    line-height: 1.6;
}

.footer-links nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #6DD5C0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: #6DD5C0;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #8FE8D4;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .approach-grid,
    .location-grid,
    .contact-grid {
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: stretch;
        padding: 6rem 1.5rem 2rem;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 100;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 0 3rem;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-accent {
        display: none;
    }

    .about-grid,
    .approach-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-wrapper,
    .approach-image {
        order: -1;
    }

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

    .approach-stats {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .stat-divider {
        display: none;
    }

    .contact-form-wrapper {
        padding: 1.75rem;
    }

    .footer-inner {
        gap: 2rem;
    }

    .footer-links nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.625rem;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== Mobile Nav Overlay ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 37, 64, 0.4);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
