/* ===================================
   GIAI MIÊN HEALING SPA
   Design System & Styles
   =================================== */

/* --- CSS Variables --- */
:root {
    /* Colors - Warm Earth Palette */
    --color-cream: #F5EDE3;
    --color-cream-light: #FDFBF7;
    --color-cream-dark: #E8DED2;
    --color-wood: #4A3728;
    --color-wood-light: #6B5344;
    --color-earth: #8B7355;
    --color-sage: #7A8B6E;
    --color-terracotta: #C45C3B;
    --color-gold: #B8956B;

    /* Text Colors */
    --text-primary: #3D3028;
    --text-secondary: #6B5F54;
    --text-light: #9A8D82;
    --text-inverse: #FDFBF7;

    /* Typography */
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Transitions */
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(74, 55, 40, 0.08);
    --shadow-md: 0 8px 24px rgba(74, 55, 40, 0.12);
    --shadow-lg: 0 16px 48px rgba(74, 55, 40, 0.16);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-wood);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background-color: var(--color-wood-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--color-wood);
    color: var(--text-inverse);
}

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background-color: rgba(245, 237, 227, 0.85);
    backdrop-filter: blur(8px);
    transition: var(--transition-medium);
}

.nav.scrolled {
    background-color: var(--color-cream);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.nav-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-wood);
    white-space: nowrap;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    display: inline;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-wood);
    transition: var(--transition-fast);
}

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

.nav-link--cta {
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-wood);
    color: var(--text-inverse);
    border-radius: var(--radius-sm);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background-color: var(--color-wood-light);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-wood);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(245, 237, 227, 0.35) 0%,
            rgba(245, 237, 227, 0.5) 40%,
            rgba(245, 237, 227, 0.8) 100%);
}

.hero-content {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-logo-box {
    margin-bottom: 8px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-tagline {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
    font-weight: 500;
    color: var(--color-wood);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-title {
        white-space: normal;
        font-size: var(--text-4xl);
    }
}

.hero-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
    max-width: 600px;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.hero-scroll span {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.scroll-indicator {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-wood), transparent);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* --- Animations --- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--transition-slow) forwards;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- About Section --- */
.about {
    padding: var(--space-3xl) 0;
    background-color: var(--color-cream-light);
}

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

.about-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.9;
}

.about-philosophy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.philosophy-item {
    text-align: center;
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    color: var(--color-sage);
}

.philosophy-icon svg {
    width: 100%;
    height: 100%;
}

.philosophy-item h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.philosophy-item p {
    font-size: var(--text-sm);
    color: var(--text-light);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(74, 55, 40, 0.1);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

/* --- Services Section --- */
.services {
    padding: var(--space-3xl) 0;
    background-color: var(--color-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background-color: var(--color-cream-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

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

.service-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 55, 40, 0.3) 0%, transparent 50%);
}

.service-content {
    padding: var(--space-xl);
}

.service-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-xs);
}

.service-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
}

.service-subtitle {
    font-size: var(--text-sm);
    color: var(--color-sage);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.service-features {
    margin-bottom: var(--space-lg);
}

.service-features li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--color-sage);
    border-radius: 50%;
}

/* --- Space Gallery Section --- */
.space {
    padding: var(--space-3xl) 0;
    background-color: var(--color-cream-light);
}

/* Bento Grid */
.space-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: var(--space-md);
}

/* --- Bento Tile --- */
.bento-tile {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-tile:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

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

.bento-tile:hover img {
    transform: scale(1.08);
}

/* Tile Sizes */
.bento-tile--large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-tile--wide {
    grid-column: span 2;
}

/* --- Bento Overlay --- */
.bento-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    background: linear-gradient(to top,
            rgba(61, 48, 40, 0.85) 0%,
            rgba(61, 48, 40, 0.4) 40%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-tile:hover .bento-overlay {
    opacity: 1;
}

.bento-overlay .featured-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-terracotta) 100%);
    color: var(--text-inverse);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(196, 92, 59, 0.3);
    opacity: 1;
}

.bento-overlay h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--text-inverse);
    margin-bottom: 6px;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-tile:hover .bento-overlay h3 {
    transform: translateY(0);
}

.bento-tile--large .bento-overlay h3 {
    font-size: var(--text-3xl);
}

.bento-overlay p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    transform: translateY(10px);
    transition: transform 0.5s 0.05s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
}

.bento-tile:hover .bento-overlay p {
    transform: translateY(0);
}

/* Click hint icon */
.bento-tile::after {
    content: '';
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M15 3h6v6M14 10l6.1-6.1M9 21H3v-6M10 14l-6.1 6.1'/%3E%3C/svg%3E");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
}

.bento-tile:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* --- Space Lightbox --- */
.space-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.space-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 22, 17, 0.88);
    backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.space-lightbox.active .lightbox-content {
    transform: translateY(0) scale(1);
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
    color: white;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Lightbox Carousel */
.lightbox-carousel {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--color-wood);
}

.lightbox-slides {
    position: absolute;
    inset: 0;
}

.lightbox-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.lightbox-slides img.active {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 22px;
    height: 22px;
    color: white;
}

.lightbox-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(184, 149, 107, 0.5);
}

/* Lightbox Info */
.lightbox-info {
    background: var(--color-cream-light);
    padding: var(--space-lg) var(--space-xl);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-wood);
    margin-bottom: 8px;
}

.lightbox-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Space Bento Responsive --- */
@media (max-width: 1024px) {
    .space-bento {
        grid-auto-rows: 240px;
    }
}

@media (max-width: 768px) {
    .space-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
        gap: var(--space-sm);
    }

    .bento-tile--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-tile--wide {
        grid-column: span 2;
    }

    .bento-overlay {
        opacity: 1;
        background: linear-gradient(to top,
                rgba(61, 48, 40, 0.8) 0%,
                rgba(61, 48, 40, 0.2) 50%,
                transparent 80%);
    }

    .bento-overlay h3 {
        font-size: var(--text-xl);
        transform: none;
    }

    .bento-tile--large .bento-overlay h3 {
        font-size: var(--text-2xl);
    }

    .bento-overlay p {
        font-size: var(--text-xs);
        transform: none;
    }

    .bento-tile::after {
        display: none;
    }

    .lightbox-content {
        width: 95%;
    }

    .lightbox-carousel {
        padding-bottom: 70%;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
    }

    .lightbox-info {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .space-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .bento-tile--large,
    .bento-tile--wide {
        grid-column: span 1;
    }

    .bento-tile--large {
        grid-row: span 1;
    }

    .lightbox-close {
        top: -40px;
        width: 34px;
        height: 34px;
    }
}

/* --- Gallery Carousel --- */
.gallery-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.gallery-carousel-slide.active {
    opacity: 1;
}

.gallery-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.gallery-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* --- Tea Grid 2-column --- */
.tea-grid--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    height: 100%;
}

.tea-grid--2col .tea-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* --- Quote Section --- */
.quote-section {
    padding: var(--space-3xl) 0;
    background-color: var(--color-wood);
    color: var(--text-inverse);
}

.quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote p {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.quote cite {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-style: normal;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-2xl) 0;
    background: linear-gradient(to bottom, var(--color-cream) 0%, var(--color-cream-light) 100%);
}

.contact .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* --- Contact Info --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-group {
    padding: var(--space-md);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-gold);
}

.info-group h3 {
    font-size: var(--text-sm);
    color: var(--color-wood);
    margin-bottom: var(--space-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-group p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.sub-detail {
    font-size: var(--text-xs) !important;
    color: var(--color-sage) !important;
    margin-top: 4px;
}

.info-socials {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
    font-size: var(--text-xs);
    font-weight: 500;
}

.info-socials a {
    color: var(--color-wood);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.info-socials .divider {
    color: var(--color-cream-dark);
}

.contact-map {
    margin-top: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    line-height: 0;
    border: 3px solid var(--color-gold);
}

/* --- Contact Form Card --- */
.contact-form-card {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--color-cream-light) 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(74, 55, 40, 0.12);
    border: 1px solid var(--color-cream-dark);
}

.form-card-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    color: var(--color-wood);
    font-weight: 500;
    text-align: center;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-wood);
    margin-bottom: var(--space-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--text-primary);
    background-color: #FFFFFF;
    border: 2px solid var(--color-cream-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(184, 149, 107, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.contact-form-card .btn {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    letter-spacing: 0.1em;
    width: 100%;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-wood) 0%, var(--color-wood-light) 100%);
    text-transform: uppercase;
    font-size: var(--text-sm);
}

.contact-form-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 55, 40, 0.25);
}

/* --- Music Control --- */
.music-control {
    position: fixed;
    background: linear-gradient(135deg, var(--color-wood) 0%, var(--color-wood-light) 100%);
    border: none;
    box-shadow: 0 4px 16px rgba(74, 55, 40, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 1002;
    /* Above nav and content */
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .music-control {
        bottom: 20px;
        left: 20px;
        width: 48px;
        height: 48px;
    }
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(74, 55, 40, 0.35);
}

.music-control.paused {
    background: linear-gradient(135deg, var(--color-cream-dark) 0%, var(--color-earth) 100%);
    opacity: 0.7;
}

.music-icon {
    width: 24px;
    height: 24px;
    color: var(--text-inverse);
}

.music-control.paused .music-icon {
    opacity: 0.6;
}

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

/* --- Footer --- */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background-color: var(--color-cream-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(74, 55, 40, 0.1);
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
    font-size: var(--text-2xl);
    white-space: nowrap;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--color-wood);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-cream);
    border-radius: 50%;
    color: var(--color-wood);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--color-wood);
    color: var(--text-inverse);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 400px;
    }

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



    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: var(--space-xl);
        background-color: var(--color-cream-light);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-medium);
        gap: var(--space-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-desc br {
        display: none;
    }

    .about-philosophy {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }



    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-xl);
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }
}

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

    .service-content {
        padding: var(--space-lg);
    }

    .contact-form {
        padding: var(--space-lg);
    }
}

.story-services {
    padding: var(--space-3xl) 0;
    background-color: var(--color-cream-light);
    position: relative;
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    position: relative;
    padding-top: var(--space-xl);
}

/* Left Column - Sticky List with Timeline */
.story-text-column {
    position: sticky;
    top: 18vh;
    height: fit-content;
    padding-right: var(--space-xl);
    padding-left: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: center;
}

/* Vertical Timeline Line */
.story-text-column::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--color-cream-dark) 10%,
            var(--color-cream-dark) 90%,
            transparent 100%);
    display: block;
}

/* Story Text Items */
.story-text-item {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    opacity: 0.7;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: var(--space-md) var(--space-lg);
    border-left: 3px solid transparent;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-left: calc(-1 * var(--space-xl));
    padding-left: calc(var(--space-xl) + var(--space-lg));
    margin-bottom: 4px;
}

/* Timeline Dot */
.story-text-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-xl) - 5px);
    top: calc(var(--space-md) + 10px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-cream-dark);
    border: 2px solid var(--color-cream-light);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: block;
}

.story-text-item.active::before {
    background-color: var(--color-terracotta);
    border-color: var(--color-cream-light);
    box-shadow: 0 0 0 4px rgba(196, 92, 59, 0.2);
    transform: scale(1.2);
}

.story-text-item.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.08) 0%, rgba(245, 237, 227, 0.5) 100%);
    border-left: 3px solid var(--color-terracotta);
    margin-left: calc(-1 * var(--space-xl) - 1px);
}

.story-text-item:hover {
    opacity: 0.85;
    background-color: rgba(184, 149, 107, 0.05);
}

.story-text-item.active:hover {
    opacity: 1;
}

/* Entering Animation */
.story-text-item.entering {
    animation: storyStepEnter 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes storyStepEnter {
    0% {
        background-color: rgba(196, 92, 59, 0.06);
    }

    50% {
        background-color: rgba(196, 92, 59, 0.1);
    }

    100% {
        background-color: transparent;
    }
}

/* Step Number & Subtitle - Inline Header */
.story-step-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 6px;
}

.story-step-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-wood);
    opacity: 0.8;
    transition: all 0.5s ease;
    min-width: 28px;
}

.story-text-item.active .story-step-number {
    color: var(--color-terracotta);
    opacity: 1;
}

.story-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-earth);
    margin-bottom: 0;
    position: relative;
    padding-left: var(--space-sm);
}

.story-subtitle::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--color-earth);
    opacity: 0.4;
}

.story-subtitle::after {
    display: none;
}

/* Story Title */
.story-title {
    font-size: var(--text-2xl);
    color: var(--color-wood);
    margin-bottom: 0;
    line-height: 1.3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-text-item.active .story-title {
    color: var(--color-terracotta);
    font-size: var(--text-3xl);
}

/* Story Description - Accordion */
.story-desc {
    font-size: var(--text-base);
    color: var(--text-primary);
    line-height: 1.8;
    margin-top: 0;

    /* Smooth Accordion */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-text-item.active .story-desc {
    max-height: 400px;
    opacity: 1;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-xs);
}

/* Right Column - Scrollable Images */
.story-image-column {
    display: flex;
    flex-direction: column;
    gap: 18vh;
    padding-bottom: 18vh;
}

.story-image-item {
    scroll-margin-top: 25vh;
    opacity: 0.4;
    transform: scale(0.98) translateY(10px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: grayscale(10%);
    will-change: transform, opacity, filter;
}

.story-image-item.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: grayscale(0);
}

/* Active Image Hover */
.story-image-item.active:hover img,
.story-image-item.active:hover .therapy-img,
.story-image-item.active:hover .tea-img {
    transform: scale(1.02);
}

/* Images & Galleries */
.story-slideshow,
.story-gallery,
.story-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    transition: box-shadow 0.5s ease;
}

.story-image-item.active .story-slideshow,
.story-image-item.active .story-gallery,
.story-image-item.active .story-img {
    box-shadow: 0 20px 60px rgba(74, 55, 40, 0.18), 0 0 0 1px rgba(184, 149, 107, 0.1);
}

.story-slideshow .slideshow-img,
.therapy-img,
.tea-img,
.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.story-slideshow .slideshow-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.story-slideshow .slideshow-img.active {
    opacity: 1;
}

/* Grids */
.therapy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 100%;
}

.tea-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 100%;
}

/* CTA Journey Section */
.cta-journey {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-cream-light) 0%, #FFF 100%);
    text-align: center;
    border-top: 1px solid rgba(74, 55, 40, 0.05);
}

.cta-journey-title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    color: var(--color-wood);
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-journey-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}


/* Story Section Responsive */
@media (max-width: 1024px) {
    .story-container {
        gap: var(--space-xl);
    }

    .story-title {
        font-size: var(--text-xl);
    }

    .story-text-item.active .story-title {
        font-size: var(--text-2xl);
    }

    .story-desc {
        font-size: var(--text-sm);
    }
}

@media (max-width: 768px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .story-text-column {
        position: relative;
        top: 0;
        height: auto;
        padding-right: 0;
        padding-left: var(--space-lg);
        margin-bottom: var(--space-sm);
    }

    .story-text-column::before {
        left: 0;
    }

    .story-text-item {
        position: relative;
        opacity: 1;
        transform: none;
        display: block;
        margin-left: calc(-1 * var(--space-lg));
        padding-left: calc(var(--space-lg) + var(--space-md));
        padding: var(--space-sm) var(--space-md) var(--space-sm) calc(var(--space-lg) + var(--space-md));
    }

    .story-text-item::before {
        left: calc(-1 * var(--space-lg) - 5px);
        top: calc(var(--space-sm) + 8px);
    }

    .story-text-item.active {
        margin-left: calc(-1 * var(--space-lg) - 1px);
    }

    .story-text-item .story-desc {
        max-height: 400px;
        opacity: 1;
        margin-top: var(--space-xs);
    }

    .story-step-number {
        font-size: var(--text-base);
    }

    .story-image-column {
        gap: var(--space-xl);
        padding-bottom: 0;
    }

    .story-image-item {
        opacity: 1;
        transform: none;
        filter: none;
        scroll-margin-top: 20px;
        display: block;
    }

    .story-slideshow,
    .story-gallery,
    .story-img {
        height: 350px;
    }
}

/* ===================================
   PRICING PAGE STYLES 
   =================================== */

/* --- Pricing Page Layout --- */
.pricing-page {
    padding-top: 120px;
    padding-bottom: var(--space-3xl);
    min-height: 100vh;
    background: linear-gradient(180deg, var(--color-cream-light) 0%, var(--color-cream) 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.pricing-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.8;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-wood);
    margin-bottom: var(--space-xl);
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--color-wood-light);
    transform: translateX(-4px);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* --- Sticky Category Nav --- */
.pricing-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    margin-bottom: var(--space-2xl);
    position: sticky;
    top: 72px;
    z-index: 99;
    background: rgba(245, 237, 227, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(74, 55, 40, 0.06);
}

.pricing-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-wood);
    background: transparent;
    border: 1.5px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

.pricing-nav-item:hover {
    background: rgba(184, 149, 107, 0.1);
    border-color: var(--color-earth);
}

.pricing-nav-item.active {
    background: var(--color-wood);
    color: var(--text-inverse);
    border-color: var(--color-wood);
    box-shadow: 0 4px 16px rgba(74, 55, 40, 0.25);
}

/* --- Category Section --- */
.pricing-category {
    margin-bottom: var(--space-3xl);
    scroll-margin-top: 160px;
}

.pricing-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.pricing-category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.pricing-category-title {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
    font-weight: 500;
    color: var(--color-wood);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* --- Pricing Card Grid --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.pricing-grid--two {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.pricing-grid--four {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.pricing-grid--combo {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

/* Category Note */
.pricing-category-note {
    text-align: center;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-sage);
    font-style: italic;
    margin-top: -12px;
    margin-bottom: var(--space-xl);
    letter-spacing: 0.03em;
}

/* Tall Card */
.pricing-card--tall .pricing-card-image {
    height: 240px;
}

/* --- Pricing Card --- */
.pricing-card {
    background: var(--color-cream-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74, 55, 40, 0.06);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(74, 55, 40, 0.06);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(74, 55, 40, 0.14);
    border-color: rgba(184, 149, 107, 0.2);
}

/* Featured Card */
.pricing-card--featured {
    border: 2px solid var(--color-gold);
    position: relative;
}

.pricing-card--featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    box-shadow: inset 0 0 30px rgba(184, 149, 107, 0.08);
}

/* Horizontal Card (for Combos) */
.pricing-card--horizontal {
    display: grid;
    grid-template-columns: 280px 1fr;
}

/* Card Image */
.pricing-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.pricing-card--horizontal .pricing-card-image {
    height: 100%;
    min-height: 220px;
}

.pricing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover .pricing-card-image img {
    transform: scale(1.08);
}

.pricing-card-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(74, 55, 40, 0.85);
    backdrop-filter: blur(6px);
    color: var(--text-inverse);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.pricing-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-terracotta) 100%);
    color: var(--text-inverse);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(196, 92, 59, 0.3);
}

/* Card Body */
.pricing-card-body {
    padding: var(--space-lg);
}

.pricing-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: 8px;
}

.pricing-card-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-wood);
    line-height: 1.3;
    margin: 0;
}

.pricing-card-price {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-terracotta);
    white-space: nowrap;
    line-height: 1;
}

.pricing-card-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Variant Tags */
.pricing-card-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.variant-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-earth);
    background: rgba(184, 149, 107, 0.12);
    border-radius: 14px;
    letter-spacing: 0.02em;
}

/* Combo Includes */
.pricing-card-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.pricing-card-includes span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-sage);
    background: rgba(122, 139, 110, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(122, 139, 110, 0.15);
}

/* Add-on Tag */
.pricing-card-addon {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gold);
    background: rgba(184, 149, 107, 0.08);
    border: 1px dashed var(--color-gold);
    border-radius: 14px;
}

/* --- Pricing Note --- */
.pricing-note {
    font-size: var(--text-sm);
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    margin-top: var(--space-lg);
}

/* --- Pricing CTA --- */
.pricing-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

.pricing-cta .btn {
    padding: 14px 48px;
    font-size: var(--text-base);
    letter-spacing: 0.08em;
}

.pricing-cta-phone {
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.pricing-cta-phone a {
    color: var(--color-terracotta);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pricing-cta-phone a:hover {
    color: var(--color-wood);
}

/* Card Entrance Animation */
.pricing-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

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

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

    .pricing-card--horizontal {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-nav {
        gap: 6px;
        padding: 12px 8px;
        top: 65px;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pricing-nav::-webkit-scrollbar {
        display: none;
    }

    .pricing-nav-item {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .pricing-grid,
    .pricing-grid--two,
    .pricing-grid--four {
        grid-template-columns: 1fr;
    }

    .pricing-card--horizontal {
        grid-template-columns: 1fr;
    }

    .pricing-card--horizontal .pricing-card-image {
        height: 200px;
        min-height: auto;
    }

    .pricing-category {
        scroll-margin-top: 130px;
    }
}

@media (max-width: 480px) {
    .pricing-nav-item {
        padding: 7px 12px;
        font-size: 0.82rem;
    }

    .pricing-card-body {
        padding: var(--space-md);
    }

    .pricing-card-name {
        font-size: var(--text-lg);
    }

    .pricing-card-price {
        font-size: var(--text-xl);
    }
}

/* Response for Story Services */
@media (max-width: 900px) {

    .story-img,
    .story-gallery,
    .story-slideshow {
        height: 350px !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .story-title {
        font-size: 2rem;
    }

    .gallery-item--featured .gallery-caption {
        padding: var(--space-md);
    }

    .featured-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* --- Floating CTA --- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 110px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-terracotta);
    color: var(--text-inverse);
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(196, 92, 59, 0.4);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta:hover {
    background-color: #A94B2E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 92, 59, 0.6);
}

.floating-cta-icon {
    width: 20px;
    height: 20px;
    animation: pulseIcon 2s infinite;
}

.floating-cta-icon svg {
    width: 100%;
    height: 100%;
}

.floating-cta-text {
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 84px;
        padding: 10px 16px;
    }
}

/* --- Floating Contact Buttons --- */
.floating-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-contact-buttons.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0;
    animation: ripple 2s infinite cubic-bezier(0.0, 0.0, 0.2, 1);
}

.floating-btn.zalo-btn {
    background: white;
    /* Changed from gradient to white because Zalo image has its own blue background */
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
    padding: 0;
    overflow: hidden;
}

.floating-btn.zalo-btn::before {
    border-color: #0068FF;
}

.custom-zalo-icon {
    width: 60px;
    /* Same as the button width */
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
}


.floating-btn.phone-btn {
    background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
}

.floating-btn.phone-btn::before {
    border-color: #FF416C;
}

.floating-btn svg {
    width: 32px;
    height: 32px;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

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

@media (max-width: 768px) {
    .floating-contact-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
    }

    .floating-btn svg {
        width: 28px;
        height: 28px;
    }

    .custom-zalo-icon {
        width: 52px;
        height: 52px;
    }
}