/* ===== Reset & Base ===== */
*, *::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;
    --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;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.938rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn--teal:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

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

.btn--sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

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

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

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

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

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.nav__logo-icon {
    display: flex;
    align-items: center;
    color: var(--teal-600);
}

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

.nav__menu a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--slate-600);
    position: relative;
}

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

.nav__menu a:hover {
    color: var(--teal-600);
}

.nav__menu a:hover::after {
    width: 100%;
}

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

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ===== Hero ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--slate-50) 0%, #ffffff 50%, var(--teal-50) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-50);
    color: var(--teal-700);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid var(--teal-100);
}

.hero__badge svg {
    color: var(--teal-500);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

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

.hero__stats {
    display: flex;
    gap: 24px;
    align-items: center;
}

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

.hero__stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal-600);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.813rem;
    color: var(--slate-500);
    font-weight: 500;
}

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

.hero__image {
    position: relative;
}

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

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

.hero__image-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
}

.hero__image-accent img {
    width: 280px;
    height: 200px;
    object-fit: cover;
}

.hero__image-badge {
    position: absolute;
    top: 24px;
    right: -20px;
    background: var(--teal-600);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

/* ===== Section Shared ===== */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

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

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

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

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: #fff;
}

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

.service-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-card__icon {
    width: 52px;
    height: 52px;
    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: var(--transition);
}

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

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.938rem;
    color: var(--slate-500);
    line-height: 1.65;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: var(--slate-900);
    color: #fff;
}

.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-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about__img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--slate-900);
}

.about__img-secondary img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.about__experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--teal-600);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-lg);
}

.about__exp-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.about__exp-text {
    font-size: 0.813rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.3;
}

.about__content .section-tag {
    color: var(--teal-400);
}

.about__content .section-title {
    color: #fff;
}

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

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--slate-300);
}

.about__feature-check {
    width: 22px;
    height: 22px;
    background: var(--teal-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

/* ===== Gallery ===== */
.gallery {
    padding: 100px 0;
    background: var(--slate-50);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 16px;
}

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover::after {
    opacity: 1;
}

.gallery__item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery__item--large img {
    height: 100%;
}

.gallery__item--wide {
    grid-column: span 7;
}

.gallery__item:not(.gallery__item--large):not(.gallery__item--wide) {
    grid-column: span 4;
}

/* ===== Location ===== */
.location {
    padding: 100px 0;
    background: #fff;
}

.location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.location__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.location__detail {
    display: flex;
    gap: 16px;
}

.location__detail-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;
}

.location__detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 6px;
}

.location__detail p {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.location__detail a {
    color: var(--teal-600);
    font-weight: 500;
}

.location__detail a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

.location__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    color: #fff;
}

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

.contact__content .section-tag {
    color: var(--teal-400);
}

.contact__content .section-title {
    color: #fff;
}

.contact__desc {
    font-size: 1.063rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.contact__direct-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact__direct-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--teal-500);
    transform: translateX(4px);
}

.contact__direct-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.contact__direct-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.contact__direct-value {
    display: block;
    font-size: 1.063rem;
    font-weight: 600;
    color: #fff;
    margin-top: 2px;
}

.contact__form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

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

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

.form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form__group label {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--slate-700);
    letter-spacing: 0.02em;
}

.form__group input,
.form__group select,
.form__group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--slate-800);
    transition: var(--transition);
    background: var(--slate-50);
    outline: none;
}

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

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

.contact__success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.contact__success.show {
    display: flex;
}

.contact__success-icon {
    width: 64px;
    height: 64px;
    background: var(--teal-50);
    border: 2px solid var(--teal-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
}

.contact__success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
}

.contact__success p {
    font-size: 0.938rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    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: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer__logo-icon {
    color: var(--teal-500);
}

.footer__brand p {
    font-size: 0.938rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer__links h4,
.footer__hours h4,
.footer__contact h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

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

.footer__links a {
    font-size: 0.938rem;
    color: var(--slate-400);
}

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

.footer__hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.938rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer__contact a {
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__grid {
        gap: 40px;
    }

    .hero__image-main img {
        height: 560px;
    }

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

    .about__grid {
        gap: 48px;
    }

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

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

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

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

    .nav__toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .hero__image {
        order: -1;
    }

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

    .hero__image-accent {
        left: -16px;
        bottom: -16px;
    }

    .hero__image-badge {
        right: 0;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .hero__stats {
        flex-wrap: wrap;
    }

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

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

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

    .about__img-secondary {
        right: -16px;
        bottom: -20px;
    }

    .about__img-secondary img {
        width: 220px;
        height: 160px;
    }

    .about__experience {
        left: -10px;
        top: -10px;
    }

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

    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery__item--large img,
    .gallery__item--wide img {
        height: 220px;
    }

    .gallery__item:not(.gallery__item--large):not(.gallery__item--wide) img {
        height: 200px;
    }

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

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

    .contact__form-wrap {
        padding: 28px;
    }

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__stat-num {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .gallery__item--large,
    .gallery__item--wide,
    .gallery__item:not(.gallery__item--large):not(.gallery__item--wide) {
        grid-column: span 1;
    }

    .gallery__item--large img,
    .gallery__item--wide img {
        height: 240px;
    }
}
