/* ============================================================================
   GLAM BY OLAITAN — Luxury Makeup Artistry
   Premium Website Styles · Rose Gold Aesthetic
   ============================================================================ */

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

:root {
    /* ── Rose Gold Palette ── */
    --rose-50: #FFF5F3;
    --rose-100: #FBEAE5;
    --rose-200: #F5D0C5;
    --rose-300: #E8B4A2;
    --rose-400: #D4967E;
    --rose-500: #C08B7A;
    --rose-600: #A8705E;
    --rose-700: #8B5A4A;
    --rose-800: #6E4639;
    --rose-900: #4A2E25;

    /* ── Gold Accents ── */
    --gold-light: #F5E6D3;
    --gold: #D4A574;
    --gold-dark: #B8864E;

    /* ── Neutrals ── */
    --cream: #FDF8F5;
    --white: #FFFFFF;
    --gray-100: #F7F3F0;
    --gray-200: #EDE6E0;
    --gray-300: #D4CBC4;
    --gray-400: #9E938A;
    --gray-500: #6E6259;
    --gray-600: #4A4039;
    --gray-700: #352D27;
    --gray-800: #231D19;
    --gray-900: #141110;

    /* ── Functional ── */
    --success: #6DAE8E;
    --whatsapp: #25D366;

    /* ── Gradients ── */
    --gradient-rose: linear-gradient(135deg, #E8B4A2 0%, #C08B7A 50%, #A8705E 100%);
    --gradient-warm: linear-gradient(135deg, #FDF8F5 0%, #FBEAE5 50%, #F5D0C5 100%);
    --gradient-shimmer: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.15) 50%, transparent 75%);
    --gradient-overlay: linear-gradient(180deg, rgba(74, 46, 37, 0.1) 0%, rgba(74, 46, 37, 0.5) 100%);

    /* ── Typography ── */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

    /* ── Spacing ── */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* ── Borders & Shadows ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(74, 46, 37, 0.06), 0 1px 2px rgba(74, 46, 37, 0.04);
    --shadow-md: 0 4px 12px rgba(74, 46, 37, 0.08), 0 2px 4px rgba(74, 46, 37, 0.04);
    --shadow-lg: 0 10px 30px rgba(74, 46, 37, 0.12), 0 4px 8px rgba(74, 46, 37, 0.06);
    --shadow-xl: 0 20px 50px rgba(74, 46, 37, 0.16), 0 8px 16px rgba(74, 46, 37, 0.08);
    --shadow-glow: 0 0 40px rgba(192, 139, 122, 0.25);

    /* ── Transitions ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 600ms;

    /* ── Layout ── */
    --max-width: 1240px;
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-5);
}

.section {
    padding: var(--sp-16) 0;
}

/* ============================================================================
   PAGE LOADER
   ============================================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--rose-600);
    margin-bottom: var(--sp-6);
    letter-spacing: 0.02em;
}

.loader-bar {
    width: 160px;
    height: 3px;
    background: var(--rose-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-fill {
    width: 0;
    height: 100%;
    background: var(--gradient-rose);
    border-radius: var(--radius-full);
    animation: loaderProgress 1.2s var(--ease-out) forwards;
}

@keyframes loaderProgress {
    to {
        width: 100%;
    }
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(253, 248, 245, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(212, 167, 116, 0.12);
    transition: transform var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out),
        background var(--duration-normal);
}

.navbar.scrolled {
    background: rgba(253, 248, 245, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar.hide-nav {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

/* Masterpiece Logo Styles */
.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    z-index: 10;
}

.brand-masterpiece {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    position: relative;
    padding-right: 8px;
}

.brand-glam {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #B8864E 0%, #D4A574 25%, #FFF0C0 50%, #D4A574 75%, #B8864E 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
    position: relative;
    z-index: 2;
}

.brand-signature {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: -12px;
    margin-left: 2px;
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: rotate(-3deg);
    text-shadow: 0 2px 4px rgba(196, 69, 105, 0.1);
    position: relative;
    z-index: 1;
}

.brand-sparkle {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 0.6em;
    vertical-align: top;
    color: #FFF0C0;
    -webkit-text-fill-color: #FFF0C0;
    position: absolute;
    top: -4px;
    right: -14px;
    animation: twinkle 2.5s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(255, 240, 192, 0.8);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes twinkle {

    0%,
    100% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

/* Footer Logo Adjustments */
.footer-brand .brand-masterpiece {
    align-items: flex-start;
    /* Changed to start to match left alignment of footer text */
}

.footer-brand .brand-glam {
    font-size: 2.5rem;
}

.footer-brand .brand-signature {
    margin-top: -14px;
    font-size: 2.2rem;
}

@media (max-width: 640px) {
    .brand-glam {
        font-size: 1.7rem;
    }

    .brand-signature {
        font-size: 1.5rem;
        margin-top: -10px;
    }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--sp-8);
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--gray-500);
    padding: var(--sp-2) 0;
    position: relative;
    transition: color var(--duration-fast);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-rose);
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--rose-600);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link svg {
    transition: transform var(--duration-fast);
}

.nav-link:hover svg {
    transform: rotate(180deg);
}

.nav-cta {
    display: none;
    padding: var(--sp-3) var(--sp-6);
    background: var(--gradient-rose);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: transform var(--duration-fast) var(--ease-spring),
        box-shadow var(--duration-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--sp-2);
    background: none;
    border: none;
    z-index: 10;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--rose-600);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Menu */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(253, 248, 245, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        gap: var(--sp-8);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--duration-normal) var(--ease-out),
            visibility var(--duration-normal);
    }

    .nav-menu.open {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        font-family: var(--font-display);
        font-size: 1.8rem;
        font-weight: 500;
        color: var(--gray-700);
    }
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + var(--sp-8));
    padding-bottom: var(--sp-12);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-warm);
    z-index: 0;
}

.hero-shimmer {
    position: absolute;
    inset: 0;
    background: var(--gradient-shimmer);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    opacity: 0.5;
}

@keyframes shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold-dark);
    margin-bottom: var(--sp-2);
    opacity: 0;
    animation: fadeUp 0.8s 0.3s var(--ease-out) forwards;
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: var(--sp-4);
    opacity: 0;
    animation: fadeUp 0.8s 0.5s var(--ease-out) forwards;
}

.hero-title-line-1 {
    display: block;
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 700;
    color: var(--rose-700);
    letter-spacing: -0.02em;
}

.hero-title-line-2 {
    display: block;
    font-size: clamp(1.4rem, 4vw, 2.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold-dark);
    margin-top: var(--sp-1);
}

.hero-tagline {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-500);
    margin-bottom: var(--sp-6);
    opacity: 0;
    animation: fadeUp 0.8s 0.7s var(--ease-out) forwards;
}

.hero-description {
    max-width: 520px;
    margin: 0 auto var(--sp-8);
    font-size: 1rem;
    color: var(--gray-500);
    opacity: 0;
    animation: fadeUp 0.8s 0.9s var(--ease-out) forwards;
}

.hero-actions {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--sp-10);
    opacity: 0;
    animation: fadeUp 0.8s 1.1s var(--ease-out) forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-6);
    opacity: 0;
    animation: fadeUp 0.8s 1.3s var(--ease-out) forwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--rose-700);
    line-height: 1.2;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rose-700);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s 0.6s var(--ease-out) forwards;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    object-fit: cover;
    aspect-ratio: 3/4;
    position: relative;
    z-index: 2;
}

.hero-image-frame {
    position: absolute;
    top: var(--sp-4);
    left: var(--sp-4);
    right: calc(var(--sp-4) * -1);
    bottom: calc(var(--sp-4) * -1);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    z-index: 1;
    opacity: 0.4;
}

.hero-float {
    position: absolute;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.hero-float-1 {
    top: 10%;
    right: -8px;
    color: var(--gold);
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 20%;
    left: -12px;
    font-size: 1.5rem;
    animation-delay: 1.5s;
}

.hero-float-3 {
    top: 40%;
    right: -16px;
    font-size: 1.8rem;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    z-index: 2;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--rose-300);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--rose-600);
    animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
    0% {
        top: -50%;
    }

    100% {
        top: 100%;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-6);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all var(--duration-normal) var(--ease-out);
    white-space: nowrap;
}

.btn-lg {
    padding: var(--sp-4) var(--sp-8);
    font-size: 0.92rem;
}

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

.btn-primary {
    background: var(--gradient-rose);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--rose-600);
    border: 2px solid var(--rose-400);
}

.btn-ghost:hover {
    background: var(--rose-600);
    border-color: var(--rose-600);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-rose {
    background: transparent;
    color: var(--rose-600);
    border: 1.5px solid var(--rose-400);
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: var(--sp-3) var(--sp-5);
}

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

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

.btn-whatsapp:hover {
    background: #1EBE5C;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

/* ============================================================================
   SECTION HEADERS
   ============================================================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--sp-12);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-dark);
    margin-bottom: var(--sp-2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.15;
    margin-bottom: var(--sp-4);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 540px;
    margin: 0 auto;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(74, 46, 37, 0.15));
    pointer-events: none;
}

.about-badge {
    position: absolute;
    bottom: -16px;
    right: var(--sp-6);
    background: var(--gradient-rose);
    color: var(--white);
    padding: var(--sp-4) var(--sp-6);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
}

.about-text-col .section-eyebrow {
    margin-bottom: var(--sp-3);
}

.about-text-col .section-title {
    text-align: left;
    margin-bottom: var(--sp-3);
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-rose);
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-6);
}

.about-lead {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--rose-600);
    margin-bottom: var(--sp-4);
}

.about-text-col p {
    margin-bottom: var(--sp-4);
    color: var(--gray-500);
    font-size: 0.95rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    margin-top: var(--sp-6);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--rose-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--rose-600);
}

.about-feature span {
    font-weight: 500;
    color: var(--gray-600);
    font-size: 0.92rem;
}

/* ============================================================================
   SERVICES SECTION
   ============================================================================ */
.services {
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
}

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

.service-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover .service-card-img img {
    transform: scale(1.06);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(74, 46, 37, 0.12));
    pointer-events: none;
}

.service-card-body {
    padding: var(--sp-6);
    text-align: center;
}

.service-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--sp-2);
}

.service-price {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rose-600);
    margin-bottom: var(--sp-3);
}

.service-card-body p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: var(--sp-5);
    line-height: 1.6;
}

/* ============================================================================
   PORTFOLIO SECTION
   ============================================================================ */
.portfolio {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-item--wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(74, 46, 37, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--sp-5);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-full);
    width: fit-content;
    margin-bottom: var(--sp-2);
}

.portfolio-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

/* ============================================================================
   TESTIMONIALS SECTION
   ============================================================================ */
.testimonials {
    background: var(--gray-100);
}

.testimonials-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    position: relative;
    transition: transform var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--sp-4);
    right: var(--sp-6);
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--rose-200);
    line-height: 1;
    opacity: 0.5;
}

.testimonial-stars {
    display: flex;
    gap: var(--sp-1);
    color: var(--gold);
    margin-bottom: var(--sp-5);
}

.testimonial-card blockquote p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-rose);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--gray-400);
    font-size: 0.82rem;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    padding: var(--sp-5);
    border-radius: var(--radius-md);
    background: var(--gray-100);
    transition: background var(--duration-fast), transform var(--duration-fast);
}

.contact-card:hover {
    background: var(--rose-50);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-rose);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--sp-1);
}

.contact-card p,
.contact-card a {
    font-size: 0.92rem;
    color: var(--gray-500);
    transition: color var(--duration-fast);
}

.contact-card a:hover {
    color: var(--rose-600);
}

.contact-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: var(--sp-1);
}

.contact-social {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-2);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--rose-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-500);
    transition: all var(--duration-fast) var(--ease-spring);
}

.social-link:hover {
    background: var(--rose-600);
    border-color: var(--rose-600);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-cta-col {
    display: flex;
    align-items: flex-start;
}

.cta-card {
    position: relative;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
    overflow: hidden;
    width: 100%;
}

.cta-card-shimmer {
    position: absolute;
    inset: 0;
    background: var(--gradient-shimmer);
    background-size: 200% 100%;
    animation: shimmer 4s infinite linear;
    opacity: 0.3;
    pointer-events: none;
}

.cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--sp-4);
    position: relative;
}

.cta-card>p {
    color: var(--gray-400);
    font-size: 0.92rem;
    margin-bottom: var(--sp-6);
    position: relative;
}

.cta-note {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-top: var(--sp-3);
    position: relative;
}

.cta-divider {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin: var(--sp-6) 0;
    position: relative;
}

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

.cta-divider span {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background: var(--gray-800);
    color: var(--white);
    padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    margin-bottom: var(--sp-10);
}

.footer-brand .brand {
    margin-bottom: var(--sp-4);
}

.footer-brand .brand-text {
    color: var(--rose-300);
}

.footer-brand .brand-accent {
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    max-width: 320px;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--sp-5);
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--sp-3);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color var(--duration-fast);
}

.footer-col a:hover {
    color: var(--rose-300);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color var(--duration-fast);
}

.footer-social a:hover {
    color: var(--rose-300);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--sp-8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* ============================================================================
   CHAT WIDGET
   ============================================================================ */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: var(--sp-4);
    width: 380px;
    max-height: 520px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: transform var(--duration-normal) var(--ease-spring),
        opacity var(--duration-normal);
}

.chat-widget.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chat-header {
    background: var(--gradient-rose);
    color: var(--white);
    padding: var(--sp-5) var(--sp-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.chat-status {
    font-size: 0.78rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin: 0;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6AE89A;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast);
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-5);
    background: var(--gray-100);
    max-height: 340px;
}

.chat-message {
    margin-bottom: var(--sp-4);
    display: flex;
    animation: slideUp 0.3s var(--ease-out);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 82%;
    padding: var(--sp-3) var(--sp-5);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.6;
    background: var(--white);
    color: var(--gray-600);
    box-shadow: var(--shadow-sm);
}

.chat-message.user .message-bubble {
    background: var(--gradient-rose);
    color: var(--white);
}

.message-bubble p {
    margin-bottom: var(--sp-2);
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.message-bubble ul {
    margin: var(--sp-2) 0 var(--sp-2) var(--sp-5);
    font-size: 0.88rem;
}

.message-bubble li {
    margin-bottom: var(--sp-1);
}

.chat-input-wrap {
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: var(--sp-3);
    background: var(--white);
}

#chat-input {
    flex: 1;
    padding: var(--sp-3) var(--sp-4);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-600);
    background: var(--gray-100);
    transition: border-color var(--duration-fast);
    outline: none;
}

#chat-input:focus {
    border-color: var(--rose-400);
    background: var(--white);
}

.chat-send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-rose);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--duration-fast) var(--ease-spring),
        box-shadow var(--duration-fast);
}

.chat-send:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
}

/* Chat FAB */
.chat-fab {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-rose);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: transform var(--duration-fast) var(--ease-spring),
        box-shadow var(--duration-fast);
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.chat-fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--rose-400);
    animation: fabPulse 2.5s infinite;
}

@keyframes fabPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* Mobile Chat */
@media (max-width: 480px) {
    .chat-widget {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 85vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
}

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

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

/* ============================================================================
   RESPONSIVE — TABLET (640px+)
   ============================================================================ */
@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .portfolio-item--wide {
        grid-column: span 2;
    }
}

/* ============================================================================
   RESPONSIVE — DESKTOP (768px+)
   ============================================================================ */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--sp-8);
    }

    .section {
        padding: var(--sp-20) 0;
    }

    .hamburger {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-12);
    }

    .hero-content {
        text-align: left;
    }

    .hero-description {
        margin-left: 0;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-16);
    }

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

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ============================================================================
   RESPONSIVE — LARGE DESKTOP (1024px+)
   ============================================================================ */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .hero-title-line-1 {
        font-size: 6rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .portfolio-item--wide {
        grid-column: span 2;
    }
}

/* ============================================================================
   SELECTION & SCROLLBAR
   ============================================================================ */
::selection {
    background: var(--rose-200);
    color: var(--gray-800);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--rose-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rose-500);
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}