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

:root {
    --teal-900: #0A3D3D;
    --teal-800: #0D4F4F;
    --teal-700: #116363;
    --teal-600: #157878;
    --teal-500: #1A8A8A;
    --teal-400: #2CAFAF;
    --teal-100: #E0F2F2;
    --teal-50: #F0FAFA;
    --slate-900: #1A2332;
    --slate-800: #243044;
    --slate-700: #2E3D52;
    --slate-600: #4A5A6E;
    --slate-500: #6B7F94;
    --slate-400: #8FA3B5;
    --slate-300: #B4C4D4;
    --slate-200: #D4DEE8;
    --slate-100: #EAF0F6;
    --slate-50: #F5F7FA;
    --cream: #FAFAF8;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06), 0 1px 2px rgba(26, 35, 50, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 35, 50, 0.08), 0 2px 4px rgba(26, 35, 50, 0.04);
    --shadow-lg: 0 12px 40px rgba(26, 35, 50, 0.12), 0 4px 12px rgba(26, 35, 50, 0.06);
    --shadow-xl: 0 24px 60px rgba(26, 35, 50, 0.16), 0 8px 20px rgba(26, 35, 50, 0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ===== SECTION LABELS ===== */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-label--light {
    color: var(--teal-300);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-title--light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--teal-700);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(13, 79, 79, 0.3);
}

.btn--primary:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 79, 79, 0.35);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

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

btn--dark:hover {
    background: var(--slate-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--light {
    background: var(--white);
    color: var(--teal-800);
    box-shadow: var(--shadow-md);
}

.btn--light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--lg {
    padding: 18px 42px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

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

.nav.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(16px);
    padding: 14px 0;
    box-shadow: 0 1px 20px rgba(26, 35, 50, 0.08);
}

.nav.scrolled .nav__logo-text {
    color: var(--slate-900);
}

.nav.scrolled .nav__link {
    color: var(--slate-600);
}

.nav.scrolled .nav__link:hover {
    color: var(--teal-700);
}

.nav__container {
    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;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
}

.nav__logo-icon {
    color: var(--teal-400);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav__link--cta {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-left: 8px;
    font-weight: 500;
}

.nav__link--cta:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

.nav__toggle.active .nav__toggle-bar: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(10, 61, 61, 0.82) 0%,
        rgba(26, 35, 50, 0.72) 50%,
        rgba(13, 79, 79, 0.65) 100%
    );
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--teal-300);
    background: rgba(44, 175, 175, 0.15);
    border: 1px solid rgba(44, 175, 175, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
    max-width: 800px;
    margin-bottom: 24px;
}

.hero__subheadline {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about__images {
    position: relative;
}

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

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

.about__img-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--cream);
}

.about__img-accent img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about__content {
    padding: 20px 0;
}

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

.about__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--teal-700);
    line-height: 1.2;
}

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

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--slate-200);
}

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

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

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

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--teal-50);
    color: var(--teal-700);
    margin-bottom: 24px;
    transition: all var(--transition);
}

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

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

.service-card__text {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ===== AREAS ===== */
.areas {
    padding: 120px 0;
    background: var(--cream);
}

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

.areas__text {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.areas__list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

.areas__list li {
    font-size: 0.95rem;
    color: var(--slate-700);
    padding-left: 20px;
    position: relative;
}

.areas__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--teal-500);
    border-radius: 50%;
}

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

.areas__image img {
    width: 100%;
    height: 900px;
    object-fit: cover;
}

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

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

.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    border-color: var(--slate-200);
    box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
    display: flex;
    gap: 4px;
    color: var(--teal-500);
    margin-bottom: 20px;
}

.testimonial-card__text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--slate-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-card__author {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

/* ===== CTA ===== */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
}

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

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 61, 61, 0.88) 0%,
        rgba(26, 35, 50, 0.82) 100%
    );
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.contact__grid {
    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.8;
    margin-bottom: 40px;
}

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

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

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

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

.contact-detail__value {
    display: block;
    font-size: 1rem;
    color: var(--slate-800);
    font-weight: 500;
}

.contact-detail__value a {
    color: var(--teal-700);
    transition: color var(--transition);
}

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

.contact__form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-600);
}

.form-input,
.form-textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: all var(--transition);
    outline: none;
    width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--teal-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 138, 138, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--slate-400);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: var(--teal-700);
}

.form-success.show {
    display: flex;
}

.form-success p {
    font-size: 1rem;
    color: var(--slate-700);
}

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

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

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

.footer__logo svg {
    color: var(--teal-400);
}

.footer__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer__heading {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

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

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

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

.footer__contact p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer__contact a {
    color: var(--teal-400);
    transition: color var(--transition);
}

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

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__bottom p {
    margin: 0;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about__grid,
    .areas__inner,
    .contact__grid {
        gap: 48px;
    }

    .about__img-accent {
        right: -20px;
        bottom: -20px;
        width: 220px;
    }

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

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

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

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--slate-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__link {
        color: rgba(255, 255, 255, 0.7);
        font-size: 1rem;
        width: 100%;
        padding: 12px 16px;
    }

    .nav__link:hover {
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: 12px;
        background: var(--teal-700);
        text-align: center;
        justify-content: center;
    }

    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about__grid,
    .areas__inner,
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .about__images {
        order: -1;
    }

    .about__img-main img {
        height: 500px;
    }

    .about__img-accent {
        width: 180px;
        bottom: -16px;
        right: -8px;
    }

    .services__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .areas__image img {
        height: 500px;
    }

    .contact__form-wrapper {
        padding: 32px 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .hero__scroll {
        display: none;
    }
}

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

    .hero__actions .btn {
        width: 100%;
    }

    .about__stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

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