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

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    --surface: #ffffff;
    --surface-alt: #faf9f7;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #7a7a8a;
    --border: #e8e4df;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--surface);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    font-weight: 600;
}

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

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

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

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.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: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--plum-800);
}

.nav__logo-icon {
    width: 32px;
    height: 32px;
    color: var(--plum-600);
}

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

.nav__link {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--plum-500);
    border-radius: 1px;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--plum-700);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--plum-700);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav__cta:hover {
    background: var(--plum-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.3);
}

.nav__cta svg {
    width: 16px;
    height: 16px;
}

.nav__menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
}

.nav__menu-btn svg {
    width: 24px;
    height: 24px;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-600) 30%, #d97706 70%, var(--amber-400) 100%);
}

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

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(88, 28, 135, 0.88) 0%,
        rgba(147, 51, 234, 0.75) 35%,
        rgba(217, 119, 6, 0.7) 70%,
        rgba(251, 191, 36, 0.65) 100%
    );
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    margin-bottom: 28px;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.1;
}

.hero__title-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--amber-200);
}

.hero__subtitle {
    font-size: clamp(1.063rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: white;
}

.hero__stat-label {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.6);
    animation: float 2.5s ease-in-out infinite;
}

.hero__scroll svg {
    width: 28px;
    height: 28px;
}

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.938rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--plum-700);
    color: white;
    box-shadow: 0 4px 16px rgba(126, 34, 206, 0.25);
}

.btn--primary:hover {
    background: var(--plum-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(126, 34, 206, 0.35);
}

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

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

.btn--ghost-light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

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

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

/* ─── SECTIONS ─── */
.section {
    padding: 100px 0;
}

.section--light {
    background: var(--surface-alt);
}

.section--gradient {
    background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-600) 50%, var(--amber-600) 100%);
    color: white;
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: var(--plum-100);
    border-radius: 50px;
}

.section--gradient .section__tag {
    color: var(--amber-200);
    background: rgba(255, 255, 255, 0.15);
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section--gradient .section__title {
    color: white;
}

.section__subtitle,
.cta__text {
    font-size: 1.063rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section--gradient .cta__text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    margin: 0 auto 32px;
}

.accent {
    color: var(--plum-600);
}

.section--gradient .accent {
    color: var(--amber-300);
}

/* ─── SERVICES ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    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: linear-gradient(90deg, var(--plum-500), var(--amber-400));
    opacity: 0;
    transition: var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--plum-100), var(--amber-100));
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--plum-700);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

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

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

.about__images {
    position: relative;
}

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

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

.about__img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

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

.about__badge {
    position: absolute;
    top: -16px;
    left: -16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.813rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.about__badge svg {
    width: 16px;
    height: 16px;
    color: var(--amber-300);
}

.about__content .section__tag {
    margin-bottom: 12px;
}

.about__text {
    font-size: 1rem;
    color: var(--text-secondary);
    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(--text-primary);
}

.about__feature svg {
    width: 20px;
    height: 20px;
    color: var(--plum-500);
    flex-shrink: 0;
}

/* ─── GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(88, 28, 135, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item__overlay span {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

/* ─── CTA ─── */
.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

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

/* ─── CONTACT ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.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;
    background: linear-gradient(135deg, var(--plum-100), var(--amber-100));
    border-radius: var(--radius-md);
    color: var(--plum-700);
    flex-shrink: 0;
}

.contact__detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact__detail strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact__detail p {
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact__detail a {
    color: var(--plum-600);
    font-weight: 500;
}

.contact__detail a:hover {
    color: var(--plum-800);
    text-decoration: underline;
}

.contact__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact__form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.938rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    background: var(--surface-alt);
    transition: var(--transition);
    outline: none;
}

.form__input:focus {
    border-color: var(--plum-400);
    background: white;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form__input::placeholder {
    color: var(--text-muted);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form__success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form__success svg {
    width: 56px;
    height: 56px;
    color: var(--plum-500);
    margin: 0 auto 20px;
}

.form__success h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form__success p {
    color: var(--text-secondary);
    font-size: 0.938rem;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--plum-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer__logo-icon {
    width: 28px;
    height: 28px;
    color: var(--amber-400);
}

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

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

.footer__links strong {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

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

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

.footer__contact p {
    font-size: 0.938rem;
    margin-bottom: 4px;
}

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

.footer__contact a:hover {
    color: var(--amber-200);
    text-decoration: underline;
}

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

/* ─── MOBILE MENU ─── */
.nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.nav__links.open .nav__link {
    font-size: 1.063rem;
}

.nav__links.open .nav__cta {
    width: 100%;
    justify-content: center;
}

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

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

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

    .nav__menu-btn {
        display: flex;
    }

    .nav__links.open {
        display: flex;
    }

    .hero__content {
        padding: 100px 24px 80px;
    }

    .hero__stats {
        gap: 20px;
    }

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

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

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

    .about__img-secondary {
        right: 0;
    }

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

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

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

    .contact__form-wrap {
        padding: 28px;
    }

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

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

    .section {
        padding: 72px 0;
    }
}

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

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

    .hero__stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero__stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .cta__actions {
        flex-direction: column;
        width: 100%;
    }

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

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .gallery-item,
    .btn {
        transition: var(--transition);
    }
}

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