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

:root {
    --midnight: #0A2342;
    --midnight-light: #13315C;
    --midnight-dark: #061829;
    --mint: #5EEAD4;
    --mint-dark: #3DD9C4;
    --mint-light: #B5F5EC;
    --bg: #F5F7FA;
    --bg-white: #FFFFFF;
    --text: #1A2B3C;
    --text-light: #5A6B7C;
    --text-muted: #8A9BAC;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(10, 35, 66, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 35, 66, 0.08);
    --shadow-lg: 0 12px 40px rgba(10, 35, 66, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 35, 66, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--midnight);
    color: var(--mint);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--midnight);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--mint-dark);
}

.logo-icon {
    flex-shrink: 0;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.primary-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.938rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.primary-nav a:hover {
    color: var(--midnight);
    background: rgba(10, 35, 66, 0.05);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.938rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--midnight);
    color: #fff;
    border-color: var(--midnight);
}

.btn-primary:hover {
    background: var(--midnight-light);
    border-color: var(--midnight-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-mint {
    background: var(--mint);
    color: var(--midnight);
    border-color: var(--mint);
}

.btn-mint:hover {
    background: var(--mint-dark);
    border-color: var(--mint-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--midnight);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--midnight);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

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

/* ─── NAV TOGGLE ─── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: var(--transition);
}

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

.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: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--midnight);
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(94, 234, 212, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(94, 234, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(94, 234, 212, 0.12);
    border: 1px solid rgba(94, 234, 212, 0.25);
    color: var(--mint);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-mint {
    color: var(--mint);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-card-1 {
    width: 100%;
    aspect-ratio: 4/3;
}

.hero-card-2 {
    width: 80%;
    margin-left: auto;
    aspect-ratio: 3/2;
    border: 4px solid var(--midnight);
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ─── SECTION COMMON ─── */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint-dark);
    background: rgba(94, 234, 212, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--midnight);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.063rem;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 56px;
}

/* ─── SERVICES ─── */
.services {
    padding: 100px 0;
    background: var(--bg);
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--mint);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(94, 234, 212, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--mint);
}

.service-card:hover .service-icon svg {
    stroke: var(--midnight);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ─── ABOUT ─── */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--bg-white);
}

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

.about-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--midnight);
    box-shadow: var(--shadow-md);
}

.about-badge svg {
    color: var(--mint-dark);
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.063rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.938rem;
    color: var(--text);
}

.about-feature svg {
    flex-shrink: 0;
}

/* ─── GALLERY ─── */
.gallery {
    padding: 100px 0;
    background: var(--bg);
}

.gallery .section-header {
    text-align: center;
}

.gallery .section-header .section-desc {
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 35, 66, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 0.938rem;
}

.gallery-item-lg {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 4;
}

.gallery-item:nth-child(3) {
    grid-column: span 3;
}

.gallery-item:nth-child(4) {
    grid-column: span 4;
}

.gallery-item:nth-child(5) {
    grid-column: span 3;
}

/* ─── CTA STRIP ─── */
.cta-strip {
    padding: 80px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(94, 234, 212, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1.063rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ─── CONTACT ─── */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-desc {
    font-size: 1.063rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(94, 234, 212, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--midnight);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--mint-dark);
}

/* ─── FORM ─── */
.contact-form-wrapper {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--text);
    background: var(--bg-white);
    transition: var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mint-dark);
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--midnight);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
    font-size: 0.938rem;
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--midnight-dark);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
    color: #fff;
    font-size: 1.375rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.938rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.938rem;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--mint);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

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

.footer-location {
    color: rgba(255, 255, 255, 0.25) !important;
}

/* ─── ANIMATIONS ─── */
[data-anim] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-anim].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

    .hero-visual {
        max-width: 560px;
        margin: 0 auto;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        max-width: 480px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

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

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }

    .primary-nav.open {
        right: 0;
    }

    .primary-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .primary-nav a {
        display: block;
        padding: 12px 16px;
        font-size: 1.063rem;
    }

    .primary-nav .btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-card-2 {
        width: 70%;
    }

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

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

    .about-image-accent {
        right: 0;
        bottom: -20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item-lg {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
    }

    .gallery-item {
        height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

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

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

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

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

    .hero-card-2 {
        width: 60%;
    }

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

    .services,
    .about,
    .gallery,
    .contact {
        padding: 64px 0;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 35, 66, 0.5);
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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