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

:root {
    --charcoal: #2c2c2c;
    --charcoal-light: #3d3d3d;
    --charcoal-dark: #1a1a1a;
    --coral: #e06c5c;
    --coral-light: #e8897a;
    --coral-dark: #c95544;
    --bg: #faf9f7;
    --bg-warm: #f4f1ed;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --text-lighter: #999;
    --white: #ffffff;
    --line: rgba(44, 44, 44, 0.1);
    --line-strong: rgba(44, 44, 44, 0.2);
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease);
}

.nav.scrolled {
    border-bottom-color: var(--line);
}

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

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--charcoal);
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav__links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: width 0.3s var(--ease);
}

.nav__links a:hover {
    color: var(--charcoal);
}

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

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

.nav__toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

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

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

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

/* ─── HERO ─── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

.hero__eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 20px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal-dark);
    margin-bottom: 24px;
    max-width: 520px;
}

.hero__title em {
    font-style: italic;
    color: var(--coral);
}

.hero__desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 440px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn--coral {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}

.btn--coral:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(224, 108, 92, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--line-strong);
}

.btn--outline:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.hero__image {
    position: relative;
}

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

.hero__image::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--coral);
    border-radius: 2px;
    z-index: -1;
    opacity: 0.4;
}

/* ─── SECTION COMMON ─── */
section {
    padding: 120px 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal-dark);
    margin-bottom: 20px;
}

/* ─── SERVICES ─── */
.services {
    background: var(--white);
}

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

.service-card {
    padding: 36px 28px;
    border: 1px solid var(--line);
    border-radius: 2px;
    transition: all 0.4s var(--ease);
}

.service-card:hover {
    border-color: var(--coral);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44, 44, 44, 0.08);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--coral);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ─── ABOUT ─── */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 2px;
}

/* ─── WORK ─── */
.work {
    background: var(--bg-warm);
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.work__item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.work__item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.work__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.work__item:hover .work__item-overlay {
    opacity: 1;
}

.work__item-overlay span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 0.04em;
}

/* ─── CTA ─── */
.cta {
    background: var(--charcoal-dark);
    color: var(--white);
}

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

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

.cta .section-label {
    color: var(--coral-light);
}

.cta__text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.85;
    max-width: 440px;
}

.cta__contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 12px;
}

.cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    transition: color 0.3s var(--ease);
}

.cta__phone:hover {
    color: var(--coral-light);
}

.cta__address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.cta__map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--coral);
    transition: color 0.3s var(--ease);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.cta__map:hover {
    color: var(--coral-light);
    border-bottom-color: var(--coral-light);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--charcoal);
    padding: 40px 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__brand {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.footer__copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ─── TOAST ─── */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--charcoal);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 400;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s var(--ease);
    z-index: 200;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast svg {
    color: var(--coral-light);
    flex-shrink: 0;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 247, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
        border-bottom: 1px solid transparent;
    }

    .nav__links.open {
        max-height: 300px;
        padding: 24px 0;
        border-bottom-color: var(--line);
    }

    .nav__links li {
        margin: 12px 0;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 60px;
    }

    .hero__image {
        order: -1;
    }

    .hero__image img {
        height: 400px;
    }

    .hero__image::after {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

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

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

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

    .work__item img {
        height: 260px;
    }

    section {
        padding: 80px 0;
    }

    .footer__inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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

    .hero__title {
        font-size: 1.8rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
