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

: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;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

/* ─── LOADER ─── */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--slate-950);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.loader-logo {
    animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.logo-text {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.logo-accent {
    color: var(--teal-400);
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-300);
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-400);
    transition: var(--transition);
}
.nav-link:hover {
    color: #fff;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-cta {
    background: var(--teal-600);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 600;
}
.nav-cta::after {
    display: none;
}
.nav-cta:hover {
    background: var(--teal-500);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.mobile-toggle.active .hamburger {
    background: transparent;
}
.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.mobile-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu ul {
    list-style: none;
    text-align: center;
}
.mobile-menu li {
    margin: 0.5rem 0;
}
.mobile-link {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-300);
    transition: var(--transition);
    padding: 0.5rem 1rem;
}
.mobile-link:hover {
    color: var(--teal-400);
}
.mobile-cta {
    display: inline-block;
    margin-top: 1rem;
    background: var(--teal-600);
    color: #fff !important;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 100px;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--slate-950);
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(13, 148, 136, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(15, 118, 110, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(20, 184, 166, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, var(--slate-950) 0%, #0a1f1f 50%, var(--slate-950) 100%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 8rem 1.5rem 6rem;
}
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 1.5rem;
}
.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--slate-400);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-500);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--teal-500), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--teal-600);
    color: #fff;
}
.btn-primary:hover {
    background: var(--teal-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid var(--slate-600);
}
.btn-outline:hover {
    border-color: var(--teal-400);
    color: var(--teal-400);
    transform: translateY(-2px);
}
.btn-white {
    background: #fff;
    color: var(--teal-800);
}
.btn-white:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.btn-ghost {
    background: transparent;
    color: var(--slate-300);
    border: 1.5px solid var(--slate-600);
}
.btn-ghost:hover {
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}
.btn-full {
    width: 100%;
}

/* ─── STATS ─── */
.stats {
    background: var(--slate-900);
    padding: 4rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat-item {
    text-align: center;
    padding: 1rem;
}
.stat-number {
    display: block;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--teal-400);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--slate-400);
    font-weight: 500;
}

/* ─── SECTION COMMON ─── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.accent {
    color: var(--teal-600);
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.8;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header .section-subtitle {
    margin: 0 auto;
}

/* ─── ABOUT ─── */
.about {
    padding: 7rem 0;
    background: var(--slate-50);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 40%;
    background: var(--teal-600);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}
.about-content .section-title {
    margin-top: 0.5rem;
}
.about-content p {
    color: var(--slate-600);
    margin-bottom: 1rem;
    font-size: 1rem;
}
.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}
.value-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-700);
}
.value-item svg {
    width: 18px;
    height: 18px;
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ─── SERVICES ─── */
.services {
    padding: 7rem 0;
    background: #fff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    border-color: var(--teal-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.08);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-600);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.service-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}
.service-title {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}
.service-desc {
    color: var(--slate-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-600);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}
.service-link:hover {
    gap: 0.6rem;
    color: var(--teal-700);
}

/* ─── AREAS ─── */
.areas {
    padding: 7rem 0;
    background: var(--slate-900);
}
.areas .section-eyebrow {
    color: var(--teal-400);
}
.areas .section-title {
    color: #fff;
}
.areas .section-subtitle {
    color: var(--slate-400);
}
.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.areas-content {
    max-width: 500px;
}
.areas-content .section-subtitle {
    margin-bottom: 2rem;
}
.areas-list {
    list-style: none;
}
.areas-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid var(--slate-800);
}
.area-name {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.area-detail {
    font-size: 0.85rem;
    color: var(--slate-500);
    text-align: right;
    max-width: 200px;
}
.areas-img-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.areas-img-grid img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
    padding: 7rem 0;
    background: var(--slate-50);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--slate-100);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.testimonial-quote {
    width: 32px;
    height: 24px;
    color: var(--teal-200);
    margin-bottom: 1.5rem;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.author-avatar svg {
    width: 100%;
    height: 100%;
}
.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-800);
}
.author-detail {
    display: block;
    font-size: 0.8rem;
    color: var(--slate-400);
    margin-top: 0.15rem;
}

/* ─── CTA ─── */
.cta {
    padding: 7rem 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(13, 148, 136, 0.5) 0%, transparent 60%),
        var(--slate-900);
    text-align: center;
}
.cta .section-eyebrow {
    color: var(--teal-400);
}
.cta-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.cta-sub {
    font-size: 1.05rem;
    color: var(--slate-400);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── CONTACT ─── */
.contact {
    padding: 7rem 0;
    background: #fff;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-desc {
    color: var(--slate-500);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--slate-700);
    font-size: 0.95rem;
    transition: var(--transition);
}
.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-item a:hover {
    color: var(--teal-600);
}
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
}
.contact-map iframe {
    border-radius: var(--radius);
}

/* ─── FORM ─── */
.contact-form-wrap {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--slate-100);
}
.form-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: #fff;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-note {
    font-size: 0.8rem;
    color: var(--slate-400);
    margin-top: 1rem;
    text-align: center;
}
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}
.form-success svg {
    color: var(--teal-500);
    margin-bottom: 1rem;
}
.form-success h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}
.form-success p {
    color: var(--slate-500);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--slate-950);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand .logo-text {
    font-size: 1.15rem;
}
.footer-tagline {
    color: var(--slate-500);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.6rem;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--teal-400);
}
.footer-contact p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}
.footer-contact a {
    color: var(--slate-400);
    transition: var(--transition);
}
.footer-contact a:hover {
    color: var(--teal-400);
}
.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-600);
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .about-grid,
    .areas-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image {
        max-width: 500px;
    }
    .areas-img-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .areas-img-grid {
        grid-template-columns: 1fr;
    }
    .about-values {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        padding: 7rem 1.5rem 5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
