/* 
   Theme: Organic Elegance (Flower Hub Vibe)
   Colors: Sage Green, Lavender, Cream, Dark Grey
*/

:root {
    /* Stitch "Organic Luxury" Palette */
    --color-bg: #F9F9F4;
    /* Coconut Cream */
    --color-text-primary: #2D3128;
    /* Deep Forest Green */
    --color-text-secondary: #4A4E42;
    /* Darker Sage Grey */
    --color-text-dark: #1A1C18;
    /* Darker Green for better contrast */
    --color-text: #2D3128;
    /* Base text color */
    --color-primary: #C2C395;
    /* Avocado */
    --color-accent: #C2C395;
    --color-accent-light: #8ae619;
    /* High-Visibility Green */
    --color-white: #FFFFFF;

    --color-surface-glass: rgba(255, 255, 255, 0.4);
    --border-glass: rgba(255, 255, 255, 0.6);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;

    --radius-lg: 1.5rem;
    --radius-xl: 3rem;
    --radius-full: 9999px;
    --radius-blob: 60% 40% 30% 70% / 60% 30% 70% 40%;

    --blur-std: 20px;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    /* Relaxed leading from Stitch */
    overflow-x: hidden;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 400;
    letter-spacing: -0.02em;
    /* Tighter letter spacing for luxury feel */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(194, 195, 149, 0.3);
    /* Updated shadow to match Avocado */
}

.btn-secondary {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
}

/* Navbar */
/* Header & Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 6%;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-capsule {
    pointer-events: auto;
    background: var(--color-surface-glass);
    backdrop-filter: blur(var(--blur-std));
    -webkit-backdrop-filter: blur(var(--blur-std));
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo-group {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    color: var(--color-accent);
}

.logo-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-divider {
    width: 1px;
    height: 1.2rem;
    background: rgba(45, 49, 40, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lang-btn:hover {
    transform: scale(1.15);
}

.flag-icon svg {
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.menu-toggle {
    display: none;
}

.footer-logo-img {
    height: 100px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    /* Keep white for footer */
}

/* Hero Workspace Styles - Scroll Scrubbing */
.hero-scroll-container {
    height: 250vh;
    /* Adjust for scroll duration */
    position: relative;
    background-color: var(--color-bg);
}

/* Hero Layout Strategy (45/55 Split) */
.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-text-col {
    flex: 0 0 45%;
    padding: 0 5% 0 10%;
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-visual-col {
    flex: 0 0 55%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Stitch Polish: Noise & Radial Bloom */
.visual-noise::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, var(--color-bg) 100%);
    z-index: 2;
    pointer-events: none;
}

.visual-noise::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: 3;
    pointer-events: none;
}

.hero-mask-container {
    width: 85%;
    height: 85%;
    border-radius: var(--radius-blob);
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(45, 49, 40, 0.12);
    background: #000;
    transition: transform 2s cubic-bezier(0.2, 1, 0.2, 1);
    z-index: 5;
}

.hero-mask-container:hover {
    transform: scale(1.02);
}

#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.hero-phase {
    grid-area: 1 / 1 / 2 / 2;
    position: relative;
    width: 100%;
    max-width: 550px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.hero-phase.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-eyebrow-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.eyebrow-line {
    width: 2rem;
    height: 1px;
    background: var(--color-accent);
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 5.5rem) !important;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

.hero-title span {
    font-style: normal;
    display: block;
    margin-left: 2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 450px;
}

/* Stitch Glass CTA Button */
.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--color-surface-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    cursor: pointer;
    width: fit-content;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.6);
}

.btn-glass .icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    transition: transform 0.3s ease;
}

.btn-glass:hover .icon-circle {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .hero-sticky {
        flex-direction: column;
    }

    .hero-text-col {
        flex: 0 0 55%;
        width: 100%;
        order: 2;
        padding: 5%;
        text-align: center;
        align-items: center;
    }

    .hero-visual-col {
        flex: 0 0 45%;
        width: 100%;
        order: 1;
    }

    .hero-mask-container {
        width: 80%;
        height: 90%;
    }

    .hero-title span {
        margin-left: 0;
    }

    .hero-eyebrow-container {
        justify-content: center;
    }
}

/* --- New Hero Ornaments (Stitch Polish) --- */

/* Parent container for badges */
.hero-visual-col {
    position: relative;
    z-index: 10;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--color-surface-glass);
    backdrop-filter: blur(var(--blur-std));
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-primary);
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.floating-badge .badge-icon {
    font-size: 1.1rem;
    color: var(--color-accent);
}

.badge-tr {
    top: 15%;
    right: 5%;
    animation: float1 4s ease-in-out infinite;
}

.badge-bl {
    bottom: 20%;
    left: 0%;
    animation: float2 5s ease-in-out infinite reverse;
}

@keyframes float1 {

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

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float2 {

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

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

/* Patient Stats Block */
.hero-stats {
    position: absolute;
    bottom: 10%;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    margin-left: -0.75rem;
    background: #e2e2e2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.avatars img:first-child {
    margin-left: 0;
}

.stats-text {
    display: flex;
    flex-direction: column;
}

.stats-number {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.stars {
    display: flex;
    color: var(--color-accent);
}

.stars .material-symbols-outlined {
    font-size: 14px;
}

/* Simple Scroll Down Hint */
.scroll-down-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    z-index: 20;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-down-hint .material-symbols-outlined {
    font-size: 1.2rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .hidden-mobile {
        display: none !important;
    }

    .badge-bl {
        bottom: 5%;
        left: 5%;
    }
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

/* Organic Background Shape */
.bg-shape {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 650px;
    height: 650px;
    opacity: 0.15;
    z-index: 0;
    animation: slowSpin 60s linear infinite;
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* SVG Signature Animation */
.signature-container {
    margin-top: 2rem;
    width: 250px;
}

.signature-svg {
    width: 100%;
    height: auto;
}

.sig-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 2s ease-in-out;
}

.about.active .sig-path,
.reveal.active .sig-path {
    stroke-dashoffset: 0;
}

.about-image {
    position: relative;
}

.image-frame {
    width: 100%;
    height: 600px;
    border-radius: 200px 24px 200px 24px;
    /* Stitch Asymmetric Leaf Shape */
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(45, 49, 40, 0.1);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.about-image::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-primary);
    border-radius: 200px 24px 200px 24px;
    z-index: -1;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.role-title {
    font-family: var(--font-body);
    text-transform: uppercase;
    color: var(--color-primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.signature {
    font-family: 'Mrs Saint Delafield', cursive;
    /* Fallback if not loaded, added to head? maybe later */
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-top: 2rem;
}

/* Scroll Reveal Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Services Section (Stitch Cards) */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg);
}

.section-header {
    margin-bottom: var(--spacing-md);
}

.services .eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}

.services .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-text-primary);
    font-weight: 400;
}

.services .section-title em {
    font-style: italic;
    color: var(--color-text-secondary);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.service-card .icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(138, 230, 25, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent-light);
}

.service-card .icon-wrapper .material-symbols-outlined {
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    font-weight: 400;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 0.95rem;
    color: var(--color-accent);
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1.5rem !important;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.service-card .card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    width: 100%;
}

.service-card .btn-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.service-card .btn-link .material-symbols-outlined {
    font-size: 1.2rem;
}

.service-card .btn-link:hover {
    color: var(--color-accent);
}

/* SVG Line Animation */
.draw-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .draw-path,
.reveal.active .draw-path {
    stroke-dashoffset: 0;
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

/* Modal Overlay Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 47, 47, 0.85);
    /* Dark background matching text-dark */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-bg);
    /* Coconut Cream */
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-soft);
    padding: 2.5rem;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-right: 20px;
}

.modal-body p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--color-text);
}

.modal-image-container {
    width: 100%;
    border-radius: var(--radius-soft);
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.modal-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Outline Button for Services */
.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    /* For full width in card */
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(194, 195, 149, 0.3);
}


/* ---------------------------------
   RESULTS SECTION (Before & After)
--------------------------------- */
.results {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg);
}

.results .eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}

.results .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-text-primary);
    font-weight: 400;
}

.results .section-title em {
    font-style: italic;
    color: var(--color-text-secondary);
}

.slider-wrapper {
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    /* Soft shadow surrounding the entire block */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.case-slider {
    position: relative;
    width: 100%;
    /* Keep aspect ratio based on images, roughly 16:9 or similar */
    aspect-ratio: 16 / 9;
    cursor: col-resize;
    user-select: none;
    touch-action: pan-y;
}

.case-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.img-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Clip overlay exactly at 50% horizontally to start */
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    pointer-events: none;
    /* Let the container handle drag */
}

.handle-hint {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-white);
    background: var(--color-text-dark);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 0.15em;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    animation: pulseHint 2s infinite ease-in-out;
}

.handle-hint::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--color-text-dark);
}

@keyframes pulseHint {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 1;
    }
}

/* Tooltip Implementation */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-text-dark);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.slider-handle .material-symbols-outlined {
    /* Unfold more icon usually points vertical, rotate it horizontal */
    transform: rotate(90deg);
    font-size: 1.5rem;
}

/* Before / After Badges inside slider */
.img-badge {
    position: absolute;
    top: 2rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 5;
}

.badge-before {
    left: 2rem;
}

.badge-after {
    right: 2rem;
}

/* ---------------------------------
   INFO & NAVIGATION BAR
--------------------------------- */
.slider-nav-bar {
    background: var(--color-white);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: var(--color-bg);
    border-color: rgba(0, 0, 0, 0.2);
}

.case-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-grow: 1;
    justify-content: flex-start;
    padding-left: 2rem;
}

.info-block {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-text-secondary);
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
}

.info-value {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: 1.1rem;
}

.divider {
    width: 1px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
}

.case-counter {
    margin-left: auto;
    /* Push to right edge of info section */
    background: var(--color-bg);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
}

.case-counter span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
}

/* Gallery Section */
.gallery {
    padding: var(--spacing-xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top center;
    /* Fix for cutting off faces */
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer & Contact */
.footer {
    padding: var(--spacing-xl) 0 2rem;
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.logo-footer {
    font-family: var(--font-heading-alt);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.contact-details p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    /* Improved contrast for readability on dark bg */
}

.contact-details a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--color-accent);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #AAA;
}

/* =========================================
   12. REVIEWS SECTION
   ========================================= */
.reviews {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg);
}

.reviews .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-text-primary);
    font-weight: 400;
}

.reviews .section-title em {
    font-style: italic;
    color: var(--color-text-secondary);
}

.reviews .eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-md);
}

.google-review-card {
    background-color: #fff;
    border-radius: var(--radius-soft);
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.reviewer-stats {
    font-size: 0.8rem;
    color: #70757a;
}

.google-logo-small {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: auto;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.review-rating .stars {
    display: flex;
    gap: 2px;
}

.review-rating .material-symbols-outlined {
    font-size: 1.1rem;
    color: #fbbc04;
    /* Google Yellow */
    font-variation-settings: 'FILL' 1;
}

.review-time {
    font-size: 0.85rem;
    color: #70757a;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
    font-family: var(--font-body);
}

.review-attached-image-container {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.review-attached-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Section Styles */
.cta-banner {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.wpp-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: #25D366;
    /* WhatsApp Green */
    color: white;
    padding: 1.2rem 3rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.wpp-btn-large:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    color: white;
}

.wpp-btn-large .material-symbols-outlined {
    font-size: 2rem;
}

.wpp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.wpp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20BA5A;
    color: white;
}

/* Responsive */
/* Responsive Fixes - Stitch Style */
@media (max-width: 900px) {
    .navbar {
        padding: 1.5rem 5%;
    }

    .nav-capsule {
        display: none;
        /* Hide on mobile, show mobile trigger instead */
    }

    .menu-toggle {
        display: block;
        pointer-events: auto;
        background: var(--color-surface-glass);
        backdrop-filter: blur(10px);
        padding: 0.75rem;
        border-radius: 50%;
        border: 1px solid var(--border-glass);
    }

    .hero-scroll-container {
        height: 180vh;
    }

    .hero-sticky {
        height: 100svh;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 70px;
        /* Evita que el logo se monte sobre la imagen */
    }

    /* Stack Hero Content */
    .hero-text-col {
        flex: 0 0 60%;
        /* Más espacio para el texto */
        width: 100%;
        order: 2;
        padding: 2rem 8%;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-visual-col {
        flex: 0 0 40%;
        /* Menos espacio para la imagen para que no empuje el texto */
        width: 100%;
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-mask-container {
        width: 75%;
        height: 85%;
        border-radius: 80px 80px 30px 80px;
    }

    .hero-eyebrow-container {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.2rem) !important;
        /* Más grande y con más presencia */
        margin-bottom: 0.8rem;
        letter-spacing: -0.02em;
    }

    .hero-title span {
        margin-left: 0;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    /* Mobile Menu (Reused & Updated) */
    .mobile-nav-panel {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 85%;
        background: rgba(249, 249, 244, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 999;
        gap: 2.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-panel.active {
        right: 0;
    }

    .mobile-nav-panel a {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        color: var(--color-text-primary);
    }

    /* Other Sections Integration */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .image-frame {
        height: 450px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-info,
    .footer-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-logo-img {
        margin: 0 auto 1.5rem;
    }

    .results {
        padding: var(--spacing-md) 5%;
    }

    .slider-wrapper {
        margin: 0 -5%;
        width: calc(100% + 10%);
        border-radius: 0;
    }

    .case-info {
        padding: 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .divider {
        display: none;
    }

    .case-counter {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-scroll-container {
        height: 250vh;
    }

    .hero-phase .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .hero-phase .hero-subtitle {
        font-size: 0.9rem;
    }

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

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

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