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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.06);
    --shadow-md: 0 4px 12px rgba(15,23,42,.1), 0 2px 4px rgba(15,23,42,.06);
    --shadow-lg: 0 12px 32px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
    --shadow-xl: 0 20px 48px rgba(15,23,42,.14), 0 8px 16px rgba(15,23,42,.08);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--teal-700);
}

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

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248,250,252,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow .3s;
}

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

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--slate-900);
}

.logo-light {
    color: #fff;
}

.logo-icon {
    color: var(--teal-600);
}

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

.nav-links a:not(.btn) {
    color: var(--slate-600);
    font-weight: 500;
    font-size: .938rem;
    transition: color .2s;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--teal-600);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-600);
    transition: width .2s;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .938rem;
    border: none;
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #fff;
}

.btn-primary:hover {
    background: var(--teal-700);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-300);
}

.btn-ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
}

.btn-nav {
    background: var(--teal-600);
    color: #fff;
    padding: 10px 20px;
    font-size: .875rem;
}

.btn-nav:hover {
    background: var(--teal-700);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--teal-700);
}

.btn-white:hover {
    background: var(--slate-100);
    color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all .3s;
}

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

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

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

/* ── HERO ── */
.hero {
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--teal-50) 50%, var(--slate-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13,148,136,.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,148,136,.1);
    color: var(--teal-700);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: .813rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

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

/* Hero visual cards */
.hero-visual {
    position: relative;
    min-height: 520px;
}

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

.hero-card-main {
    width: 100%;
    height: 520px;
}

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

.stat-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: float 4s ease-in-out infinite;
}

.stat-card--1 {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
}

.stat-card--2 {
    top: 40px;
    right: -20px;
    animation-delay: 1.3s;
}

.stat-card--3 {
    bottom: -10px;
    right: 30px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    animation-delay: 2.6s;
    padding: 14px 18px;
}

.stat-card--3 svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

.stat-card--3 span:last-child {
    font-weight: 600;
    font-size: .875rem;
    color: var(--slate-700);
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-600);
    line-height: 1;
}

.stat-label {
    font-size: .813rem;
    color: var(--slate-500);
    line-height: 1.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ── MARQUEE ── */
.marquee {
    background: var(--slate-900);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    color: var(--slate-400);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-dot {
    color: var(--teal-500);
    font-size: .625rem;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    color: var(--teal-600);
}

.section-sub {
    margin-top: 16px;
    font-size: 1.063rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ── SERVICES ── */
.services {
    background: #fff;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all .3s;
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    background: #fff;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 20px;
    transition: all .3s;
}

.service-card:hover .service-icon {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: #fff;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.service-card p {
    font-size: .938rem;
    color: var(--slate-500);
    line-height: 1.65;
}

/* ── ABOUT ── */
.about {
    background: var(--slate-50);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-img-float {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #fff;
}

.about-img-float img {
    width: 280px;
    height: 320px;
    object-fit: cover;
    display: block;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

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

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

.about-content > p {
    font-size: .938rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: 32px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-num {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal-600);
}

.about-stat-label {
    font-size: .813rem;
    color: var(--slate-500);
}

/* ── GALLERY ── */
.gallery {
    background: #fff;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
    display: block;
}

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

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(1) img { height: 100%; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(4) img { height: 100%; }

/* ── CTA ── */
.cta-section {
    background: var(--slate-900);
    padding: 100px 24px;
}

.cta-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.cta-content {
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content .section-tag {
    color: var(--teal-200);
}

.cta-title {
    color: #fff;
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--teal-100);
    font-size: 1.063rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.cta-visual {
    overflow: hidden;
}

.cta-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── CONTACT ── */
.contact {
    background: var(--slate-50);
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: .938rem;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: .938rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.contact-item a {
    color: var(--teal-600);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 6px;
}

.form-note {
    font-size: .875rem;
    color: var(--slate-400);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: .813rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
    letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: .938rem;
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--slate-50);
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13,148,136,.12);
    background: #fff;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    font-weight: 600;
    font-size: .938rem;
}

/* ── FOOTER ── */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 64px 24px 0;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: .938rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col strong {
    color: var(--slate-200);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-col a,
.footer-col p {
    color: var(--slate-400);
    font-size: .938rem;
    line-height: 1.6;
}

.footer-col a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .813rem;
    color: var(--slate-500);
}

.footer-bottom a {
    color: var(--slate-400);
}

.footer-bottom a:hover {
    color: var(--teal-400);
}

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

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

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

    .about-img-float {
        right: 10px;
        bottom: -20px;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-visual {
        height: 280px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(248,250,252,.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all .3s;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .hero-card-main {
        height: 360px;
    }

    .stat-card--1 {
        left: 0;
        bottom: 20px;
    }

    .stat-card--2 {
        right: 0;
        top: 20px;
    }

    .stat-card--3 {
        right: 10px;
        bottom: 0;
    }

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

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

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        grid-row: span 1;
    }

    .gallery-item img {
        height: 220px;
    }

    .cta-content {
        padding: 40px 28px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

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

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

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

    .section {
        padding: 72px 24px;
    }

    .about-img-main img {
        height: 400px;
    }

    .about-img-float img {
        width: 200px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

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

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

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

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

    .about-stats {
        flex-direction: column;
        gap: 16px;
    }
}

/* ── ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
