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

:root {
    --teal: #0D9488;
    --teal-dark: #0F766E;
    --teal-light: #14B8A6;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.6;
    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 24px;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
}

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

.nav__link {
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal);
    transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav__cta:hover {
    background: var(--teal-light);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(13, 148, 136, 0.3) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 100px;
}

.hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 28px;
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__headline em {
    font-style: italic;
    color: var(--teal-light);
}

.hero__sub {
    font-size: 1.15rem;
    color: var(--slate-300);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-out);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background: var(--teal);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

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

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--slate-900);
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--slate-900);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--slate-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

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

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    padding: 28px 0;
}

.trust-bar__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 64px;
}

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

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    color: var(--slate-900);
    line-height: 1.1;
}

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 900;
    color: var(--slate-200);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-card:hover .service-card__number {
    color: var(--teal);
    opacity: 0.3;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    margin-bottom: 24px;
    color: var(--teal);
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.925rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

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

.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--teal);
    border-radius: 12px;
    z-index: 0;
}

.about__content {
    position: relative;
    z-index: 1;
}

.about__content .section-eyebrow {
    color: var(--teal-light);
}

.about__content .section-headline {
    color: var(--white);
    margin-bottom: 28px;
}

.about__body {
    font-size: 1.05rem;
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--slate-700);
    border-bottom: 1px solid var(--slate-700);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.8rem;
    color: var(--slate-500);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about__content .btn {
    margin-top: 8px;
}

/* ===== PROCESS ===== */
.process {
    padding: 120px 0;
    background: var(--slate-50);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: start;
}

.process-step {
    text-align: center;
    padding: 0 20px;
}

.process-step__num {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--teal);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.process-step__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.process-step__desc {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.process-step__connector {
    width: 40px;
    height: 2px;
    background: var(--slate-300);
    margin-top: 28px;
    align-self: start;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner__eyebrow {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.cta-banner__headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-banner__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-banner__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__text {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.contact-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 1rem;
    color: var(--slate-800);
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--teal);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 48px;
}

.contact-form__title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 32px;
}

.contact-form__group {
    margin-bottom: 24px;
}

.contact-form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-600);
    margin-bottom: 8px;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: var(--slate-400);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: 8px;
    color: var(--teal-dark);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

.contact-form__success.visible {
    display: flex;
}

/* ===== MAP SECTION ===== */
.map-section {
    position: relative;
}

.map-section__overlay {
    position: relative;
}

.map-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(40%);
}

.map-section__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    padding: 48px 56px;
    border-radius: 16px;
}

.map-section__title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.map-section__text {
    font-size: 1rem;
    color: var(--slate-400);
    margin-bottom: 24px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--slate-900);
    padding: 80px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--slate-800);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 280px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--teal-light);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__contact a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: color 0.3s ease;
}

.footer__contact a:hover {
    color: var(--teal-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8rem;
    color: var(--slate-600);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__layout {
        gap: 48px;
    }
    
    .process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-step__connector {
        display: none;
    }
    
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--slate-900);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav__menu.open {
        right: 0;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__cta {
        justify-content: center;
    }
    
    .hero__headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .trust-bar__items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image-wrap img {
        height: 500px;
    }
    
    .about__image-accent {
        width: 120px;
        height: 120px;
        bottom: -12px;
        right: -12px;
    }
    
    .process__steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trust-bar__items {
        grid-template-columns: 1fr;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    .cta-banner__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .map-section__content {
        padding: 32px 24px;
        width: 90%;
    }
}
