/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --charcoal-mid: #3a3a3a;
    --coral: #E8634B;
    --coral-light: #f07860;
    --coral-dark: #d4523c;
    --white: #ffffff;
    --off-white: #f7f7f5;
    --gray-100: #f0f0ee;
    --gray-200: #e2e2de;
    --gray-300: #c4c4be;
    --gray-400: #949490;
    --gray-500: #6a6a66;
    --gray-600: #4a4a46;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Syne', 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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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 Shared ── */
.section__eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 48px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: var(--coral);
    color: var(--white);
    border: 1.5px solid var(--coral);
}

.btn--primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 99, 75, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn--outline:hover {
    background: var(--charcoal);
    color: var(--white);
    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(--charcoal);
    transform: translateY(-2px);
}

.btn--large {
    padding: 18px 40px;
    font-size: 1rem;
}

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 1px 0 var(--gray-200);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal);
}

.nav__logo-mark {
    width: 28px;
    height: 28px;
    background: var(--coral);
    border-radius: 4px;
    display: block;
    position: relative;
}

.nav__logo-mark::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: var(--white);
    border-radius: 2px;
}

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

.nav__links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-500);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

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

.nav__cta {
    background: var(--charcoal);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s var(--ease-out) !important;
}

.nav__cta:hover {
    background: var(--coral) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

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

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

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

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

/* ── Mobile Menu ── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--charcoal);
    padding: 12px 0;
    transition: color 0.2s;
}

.mobile-menu__link:hover {
    color: var(--coral);
}

.mobile-menu__cta {
    margin-top: 24px;
    display: inline-block;
    background: var(--coral);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.hero__headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.0;
    color: var(--charcoal);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero__headline br {
    display: block;
}

.hero__desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-500);
    max-width: 460px;
    margin-bottom: 40px;
    font-weight: 300;
}

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

.hero__image {
    position: relative;
}

.hero__image img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--gray-100);
}

.hero__image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--coral);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

.hero__line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

/* ── Divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.divider__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-400);
    white-space: nowrap;
}

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

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

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

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

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

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

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 24px;
    color: var(--coral);
    transition: all 0.3s var(--ease-out);
}

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

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

.service-card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-500);
    font-weight: 300;
}

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--off-white);
}

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

.about__body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 20px;
    font-weight: 300;
}

.about__stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--gray-200);
}

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

.stat__number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--coral);
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.about__image img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--gray-100);
}

/* ── Projects ── */
.projects {
    padding: 120px 0;
    background: var(--white);
}

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

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 11;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: background 0.3s;
}

.project-card:hover .project-card__overlay {
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.2) 100%);
}

.project-card__tag {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 8px;
}

.project-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.375rem;
    color: var(--white);
}

/* ── CTA ── */
.cta {
    padding: 120px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--coral);
    border-radius: 50%;
    opacity: 0.06;
}

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

.cta__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.cta__desc {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--off-white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

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

.contact-detail__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--coral);
    flex-shrink: 0;
}

.contact-detail__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-detail__value {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 400;
    line-height: 1.6;
}

.contact-detail__value a {
    color: var(--charcoal);
    transition: color 0.2s;
}

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

.contact__map {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

/* ── Contact Form ── */
.contact__form-wrap {
    background: var(--white);
    padding: 48px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.contact__form-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--white);
    transition: all 0.2s;
    outline: none;
    appearance: none;
}

.form-input::placeholder {
    color: var(--gray-300);
}

.form-input:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(232, 99, 75, 0.1);
}

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

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

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

.form-success__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.375rem;
    color: var(--charcoal);
}

.form-success__text {
    font-size: 0.9375rem;
    color: var(--gray-500);
    font-weight: 300;
}

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

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--charcoal-light);
}

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

.footer__logo-mark {
    width: 28px;
    height: 28px;
    background: var(--coral);
    border-radius: 4px;
    display: block;
    position: relative;
}

.footer__logo-mark::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: var(--white);
    border-radius: 2px;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: var(--gray-400);
    font-weight: 300;
    line-height: 1.7;
    max-width: 280px;
}

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

.footer__links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    font-weight: 300;
    transition: color 0.2s;
}

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

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

.footer__phone,
.footer__email {
    font-size: 0.9375rem;
    color: var(--gray-400);
    font-weight: 300;
    transition: color 0.2s;
}

.footer__phone:hover,
.footer__email:hover {
    color: var(--coral);
}

.footer__bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 300;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

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

    .hero__image img {
        height: 560px;
    }

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

    .about__inner {
        gap: 48px;
    }

    .about__image img {
        height: 500px;
    }

    .contact__inner {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

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

    .hero__headline {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero__image {
        order: -1;
    }

    .hero__image img {
        height: 400px;
    }

    .hero__image::before {
        display: none;
    }

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

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

    .about__image {
        order: -1;
    }

    .about__image img {
        height: 400px;
    }

    .about__stats {
        gap: 32px;
    }

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

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

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

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

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

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
}

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

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

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