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

:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --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: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
    --shadow-md: 0 4px 12px rgba(15,23,42,.07), 0 2px 4px rgba(15,23,42,.04);
    --shadow-lg: 0 12px 32px rgba(15,23,42,.10), 0 4px 10px rgba(15,23,42,.05);
    --shadow-xl: 0 20px 50px rgba(15,23,42,.12), 0 8px 16px rgba(15,23,42,.06);

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

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

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

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

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

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--teal-700);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 var(--radius-sm) 0;
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; }

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

.btn--outline {
    background: transparent;
    color: var(--teal-700);
    border-color: var(--teal-600);
}
.btn--outline:hover {
    background: var(--teal-600);
    color: #fff;
    transform: translateY(-2px);
}

.btn--light {
    background: #fff;
    color: var(--teal-700);
    border-color: #fff;
}
.btn--light:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost {
    background: transparent;
    color: var(--teal-700);
    border-color: var(--teal-600);
}
.btn--ghost:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
}

.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

/* ── Section helpers ─────────────────────────────── */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-desc {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header .section-desc { margin: 0 auto; }

/* ── Navigation ──────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-900);
}
.nav__logo svg { flex-shrink: 0; }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav__menu a {
    padding: 0.4rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}
.nav__menu a:hover { color: var(--teal-700); background: var(--teal-50); }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav__bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────── */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--teal-50) 50%, var(--slate-100) 100%);
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--teal-100);
    color: var(--teal-800);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
}

.hero__desc {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.hero__stat { flex: 1; }
.hero__stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1.2;
}
.hero__stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    line-height: 1.4;
}
.hero__stat-divider {
    width: 1px;
    height: 2.5rem;
    background: var(--slate-300);
    flex-shrink: 0;
}

.hero__image-wrap {
    position: relative;
    height: 600px;
}
.hero__image-hero {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero__image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__image-float {
    position: absolute;
    bottom: -1.5rem;
    left: -2rem;
    width: 160px;
    height: 160px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
}
.hero__image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Services ────────────────────────────────────── */
.services {
    padding: 6rem 0;
    background: #fff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-200);
    background: #fff;
}
.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}
.service-card:hover .service-card__icon { background: var(--teal-600); }
.service-card:hover .service-card__icon svg { stroke: #fff; }
.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}
.service-card__desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ── About ───────────────────────────────────────── */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--slate-100) 100%);
}
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about__image-wrap {
    position: relative;
    height: 600px;
}
.about__image-main {
    width: 80%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about__image-main img { width: 100%; height: 100%; object-fit: cover; }
.about__image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
}
.about__image-accent img { width: 100%; height: 100%; object-fit: cover; }

.about__content .section-tag { margin-bottom: 0.5rem; }
.about__content .section-title { margin-bottom: 1.5rem; }
.about__text {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin: 2rem 0;
}
.about__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--slate-700);
    font-size: 0.9375rem;
}
.about__feature svg { flex-shrink: 0; }
.about__content .btn { margin-top: 0.5rem; }

/* ── Gallery ─────────────────────────────────────── */
.gallery {
    padding: 6rem 0;
    background: #fff;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: auto;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── Reviews ─────────────────────────────────────── */
.reviews {
    padding: 6rem 0;
    background: var(--slate-900);
}
.reviews .section-tag { color: var(--teal-400); }
.reviews .section-title { color: #fff; }
.reviews .section-desc { color: var(--slate-400); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.review-card {
    background: var(--slate-800);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--slate-700);
    transition: all var(--transition);
}
.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--teal-700);
    box-shadow: 0 0 30px rgba(13,148,136,.15);
}
.review-card__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}
.review-card__text {
    font-size: 1rem;
    color: var(--slate-300);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.review-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--teal-700);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review-card__author span {
    font-weight: 600;
    color: var(--slate-200);
    font-size: 0.9375rem;
}

/* ── CTA ─────────────────────────────────────────── */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-800) 50%, var(--slate-800) 100%);
    overflow: hidden;
}
.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.cta__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.cta__desc {
    font-size: 1.125rem;
    color: var(--teal-200);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 480px;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn--ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.btn--ghost-light:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    transform: translateY(-2px);
}
.cta__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 500px;
}
.cta__image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Contact ─────────────────────────────────────── */
.contact {
    padding: 6rem 0;
    background: #fff;
}
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact__info .section-tag { margin-bottom: 0.5rem; }
.contact__info .section-title { margin-bottom: 1rem; }
.contact__desc {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: 2rem;
}
.contact__details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact__detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.contact__detail strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
}
.contact__detail p {
    font-size: 1rem;
    color: var(--slate-800);
    line-height: 1.6;
}
.contact__detail a {
    color: var(--teal-700);
    font-weight: 500;
    transition: color var(--transition);
}
.contact__detail a:hover { color: var(--teal-500); }
.contact__map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 4rem 0 0;
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 1rem;
}
.footer__brand p { font-size: 0.9375rem; line-height: 1.7; max-width: 300px; }
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links strong {
    color: #fff;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.footer__links a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    padding: 0.25rem 0;
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--teal-400); }
.footer__contact strong {
    color: #fff;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.75rem;
}
.footer__contact a { color: var(--teal-400); transition: color var(--transition); }
.footer__contact a:hover { color: var(--teal-300); }
.footer__bottom {
    border-top: 1px solid var(--slate-800);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* ── Scroll reveal (progressive enhancement) ─────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Fallback: always visible when JS is disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
    .hero__inner,
    .about__inner,
    .cta__inner,
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero__image-wrap,
    .about__image-wrap { height: 420px; }
    .hero__image-float { display: none; }
    .services-grid,
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .cta__image { height: 360px; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: absolute;
        top: 4.5rem;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem 1.5rem;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }
    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav__menu a { padding: 0.75rem 0; }
    .nav__menu .btn { align-self: flex-start; margin-top: 0.5rem; }

    .hero { padding: 7rem 0 4rem; }
    .hero__stats { flex-wrap: wrap; gap: 1rem; }
    .hero__stat-divider { display: none; }

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

    .about__image-wrap { height: 360px; }
    .about__features { grid-template-columns: 1fr; }

    .cta__inner { gap: 2rem; }
    .cta__image { height: 280px; }
    .cta__actions { flex-direction: column; }
    .cta__actions .btn { justify-content: center; }

    .contact__inner { grid-template-columns: 1fr; }
    .contact__map { min-height: 300px; }

    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero__headline { font-size: 2.25rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr; }
}
