/* ============================
   CSS VARIABLES
   ============================ */
:root {
    --gold: #C9A84C;
    --gold-light: #E2C980;
    --gold-dark: #A07830;
    --cream: #FAF7F2;
    --white: #FFFFFF;
    --text: #1C1C1C;
    --text-muted: #6B6560;
    --border: #E8E0D5;
    --nav-h: 80px;
    --radius: 12px;
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

em {
    font-style: italic;
    color: var(--gold);
}

.section__label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--text);
}

.section__desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
}

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section__header .section__desc {
    margin: 0 auto;
}

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

.section {
    padding: 100px 0;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.03em;
}

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

.btn--gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

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

/* ============================
   NAV
   ============================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: var(--nav-h);
}

.nav__logo img {
    height: 78px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: filter var(--transition);
}

.nav.scrolled .nav__logo img {
    filter: none;
}

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

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    transition: color var(--transition);
    letter-spacing: 0.02em;
}

.nav.scrolled .nav__links a {
    color: var(--text);
}

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

.nav__cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
}

.nav__cta:hover {
    background: var(--gold-dark) !important;
}

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

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav.scrolled .nav__burger span {
    background: var(--text);
}

.nav__mobile {
    display: none;
    flex-direction: column;
    padding: 16px 40px 24px;
    background: var(--white);
    border-top: 1px solid var(--border);
    gap: 4px;
}

.nav__mobile a {
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.nav__mobile a:hover {
    color: var(--gold);
}

.nav__mobile.open {
    display: flex;
}

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

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

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.hero:hover .hero__img {
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(15, 10, 5, 0.62) 0%,
            rgba(30, 20, 10, 0.50) 50%,
            rgba(10, 8, 5, 0.72) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 0 20px;
    max-width: 760px;
}

.hero__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.hero__title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.hero__title em {
    color: var(--gold-light);
}

.hero__sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.4rem;
    font-weight: 300;
}

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

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero__scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    position: relative;
}

.hero__scroll span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* ============================
   STATS
   ============================ */
.stats {
    background: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    flex-wrap: wrap;
}

.stats__item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 16px 24px;
    color: var(--white);
}

.stats__item .stats__num {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gold);
}

.stats__item>span:not(.stats__num) {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
}

.stats__item p {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.stats__divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

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

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

.about__images {
    position: relative;
    height: 540px;
}

.about__img {
    position: absolute;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about__img--main {
    width: 72%;
    height: 420px;
    top: 0;
    left: 0;
}

.about__img--accent {
    width: 52%;
    height: 280px;
    bottom: 0;
    right: 0;
    border: 6px solid var(--white);
}

.about__badge {
    position: absolute;
    top: 50%;
    left: 58%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 2;
    padding: 12px;
}

.about__badge img {
    width: 100%;
    object-fit: contain;
}

.about__text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about__list {
    margin: 1.8rem 0 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
}

.about__icon {
    color: var(--gold);
    font-size: 0.8rem;
    flex-shrink: 0;
}

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

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

.service-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================
   GALLERY
   ============================ */
.gallery {
    background: var(--text);
    padding-bottom: 80px;
}

.gallery .section__header {
    padding-top: 100px;
}

.gallery .section__label {
    color: var(--gold-light);
}

.gallery .section__title {
    color: var(--white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 6px;
    padding: 0 6px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.gallery__item--tall {
    grid-row: span 2;
}

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

.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.08);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 8, 5, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

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

.gallery__overlay span {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--gold-light);
}

/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
    display: flex;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 12px;
    letter-spacing: 0.1em;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--gold);
}

.lightbox__close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__prev,
.lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__prev {
    left: 24px;
}

.lightbox__next {
    right: 24px;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials {
    background: var(--cream);
    overflow: hidden;
}

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

.testi__card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testi__stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.testi__card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.4rem;
    font-style: italic;
}

.testi__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testi__author strong {
    display: block;
    font-size: 0.9rem;
}

.testi__author span {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.testi__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.testi__dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.testi__dots .dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

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

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

.contact__info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 2rem;
}

.contact__details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact__details strong {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2px;
}

.contact__details a,
.contact__details span {
    font-size: 0.95rem;
    color: var(--text);
    transition: color var(--transition);
}

.contact__details a:hover {
    color: var(--gold);
}

.contact__form {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

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

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

label {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

.form__success {
    display: none;
    text-align: center;
    color: var(--gold-dark);
    font-size: 0.95rem;
    margin-top: 12px;
    font-weight: 500;
}

.form__success.visible {
    display: block;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 24px 32px;
    text-align: center;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer__logo {
    height: 78px;
    width: auto;
    opacity: 0.9;
}

.footer__tagline {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer__links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

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

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

.footer__copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 8px;
    letter-spacing: 0.05em;
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(-40px);
}

.fade-right {
    transform: translateX(40px);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: none;
}

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

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

    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .contact__grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 68px;
    }

    .section {
        padding: 72px 0;
    }

    .nav__inner {
        padding: 0 20px;
    }

    .nav__links {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

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

    .about__images {
        height: 360px;
        margin-bottom: 40px;
    }

    .about__img--main {
        width: 80%;
        height: 300px;
    }

    .about__img--accent {
        width: 58%;
        height: 200px;
    }

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

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

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

    .gallery__item--tall {
        grid-row: span 1;
    }

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

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

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

    .contact__form {
        padding: 24px;
    }

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

    .stats {
        gap: 0;
    }

    .stats__divider {
        width: 40px;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item--wide,
    .gallery__item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .stats {
        flex-direction: column;
    }

    .stats__divider {
        width: 60%;
        height: 1px;
    }
}