@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600&display=swap');

:root {
    /* Palette */
    --charcoal: #1C1C1C;
    --charcoal-light: #2A2A2A;
    --gold: #C6A75E;
    --gold-dark: #B8923F;
    --gold-light: #F0E6CC;
    /* Softer gold for backgrounds */
    --ivory: #FDFDFD;
    --bg-alt: #F9F7F2;
    /* Sophisticated off-white for alternating sections */
    --white: #FFFFFF;
    --border-color: rgba(198, 167, 94, 0.15);

    /* Layout */
    --container-w: 1200px;
    --header-h: 90px;

    /* Soft UI Variables */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 20px 60px rgba(28, 28, 28, 0.08);
    /* Beefed up from 0.04 */
    --shadow-hover: 0 30px 70px rgba(198, 167, 94, 0.25);
    /* Beefed up from 0.15 */

    /* Transitions */
    --trans-std: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --trans-slow: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Elite Background Decor System */
.soft-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    /* Increased blur */
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    /* Increased from 0.15 for visibility */
    animation: floatingOrb 25s infinite alternate ease-in-out;
}

@keyframes floatingOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

/* Scroll Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--trans-slow);
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--white);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    transition: var(--trans-std);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
    /* Softness applied globally */
}

.logo-img,
.logo-img-footer {
    border-radius: 0 !important;
    /* Logo should not be rounded as per user request */
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 30px;
}

/* Text Utilities */
.text-gold {
    color: var(--gold);
}

.text-charcoal {
    color: var(--charcoal);
}

.section-subtitle {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.section-alt {
    background-color: var(--bg-alt) !important;
}

/* Buttons (Soft & Rounded) */
.btn-gold {
    display: inline-block;
    padding: 16px 36px;
    background: var(--gold);
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-radius: 50px;
    /* Fully rounded */
    box-shadow: 0 10px 20px rgba(198, 167, 94, 0.3);
    transition: var(--trans-std);
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(198, 167, 94, 0.4);
}

.btn-gold-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.btn-gold-outline:hover {
    background: var(--gold-light);
    color: var(--gold-dark);
    border-color: var(--gold-dark);
}

/* 1. Navbar Redesign (Elite Edition - Floating Glass) */
#navbar {
    position: fixed;
    top: 30px;
    /* Slightly lower for the larger bar */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    /* Extended to 1560px (+20%) as per user request */
    max-width: 1560px;
    background: transparent;
    /* Initially transparent as per user request */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    height: 100px;
    /* Increased for more breathing room */
    z-index: 1000;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    /* No border initially */
    border-radius: 100px;
    /* Perfect pill */
    box-shadow: none;
    /* No shadow initially */
    transition: var(--trans-std);
}

#navbar.scrolled {
    top: 15px;
    height: 80px;
    /* Increased from 65px for less squeeze */
    width: 90%;
    /* Increased width for scrolled state too */
    background: rgba(18, 18, 18, 0.85);
    /* Visible background on scroll */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-color: rgba(198, 167, 94, 0.4);
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(198, 167, 94, 0.15);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 60px;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: var(--trans-std);
}

.logo-img {
    height: 50px;
    /* Enlarged for better brand presence */
    width: auto;
    object-fit: contain;
    transition: var(--trans-std);
    filter: drop-shadow(0 0 5px rgba(198, 167, 94, 0.2));
}

#navbar.scrolled .logo-img {
    height: 42px;
    /* Proportional shrink */
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.mobile-cta {
    display: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    transition: var(--trans-std);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--trans-std);
}

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

.nav-cta {
    padding: 12px 30px;
    background: var(--gold);
    color: var(--charcoal);
    /* High contrast */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    box-shadow: 0 8px 20px rgba(198, 167, 94, 0.4);
    transition: var(--trans-std);
    border: 1px solid var(--gold);
}

.nav-cta:hover {
    background: transparent;
    color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(198, 167, 94, 0.2);
}

/* 2. Hero Slider */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--charcoal);
}

/* Navbar Overlay Gradient (for visibility) */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    /* Cover top area */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 5;
    /* Above slides, below content */
    pointer-events: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide img {
    border-radius: 0;
    /* Hero images specific exception */
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    z-index: 0;
    /* Slightly darker for better text contrast */
}

/* YouTube Background Support */
.slide-video-container {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    transform: translate(-50%, -50%) !important;
    overflow: hidden;
    z-index: 0;
    background: #000;
}

.slide-bg-iframe {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    transform-origin: center;
    /* Massive scale (3.5x) ensures a vertical (9:16) Short fills a horizontal (16:9) viewport by cropping top/bottom */
    transform: translate(-50%, -50%) scale(3.5) !important;
    pointer-events: none;
    filter: brightness(0.5);
    opacity: 1;
}

/* On mobile/vertical screens, we don't need such heavy scaling */
@media (max-width: 1024px) {
    .slide-bg-iframe {
        transform: translate(-50%, -50%) scale(1.2) !important;
    }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    /* Boosted for depth */
    padding: 0 30px;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.5s;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.7s;
    letter-spacing: 0.05em;
}

.slide.active .hero-title,
.slide.active .hero-text {
    opacity: 1;
    transform: translateY(0);
}

/* 2.1 Hero Slider Navigation (Timeline Bars) */
.hero-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 20;
    width: 90%;
    max-width: 1200px;
}

.hero-nav-item {
    flex: 1;
    cursor: pointer;
    position: relative;
    padding-top: 15px;
}

.hero-nav-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: var(--trans-std);
}

.hero-nav-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--progress-width, 0%);
    height: 100%;
    background: var(--gold);
    transition: var(--progress-transition, none);
}

.hero-nav-item.active .hero-nav-progress::after {
    /* JS will handle the actual value to sync with slide time */
    width: 100%;
}

.hero-nav-label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--trans-std);
}

.hero-nav-item.active .hero-nav-label {
    color: var(--white);
}

.hero-nav-item:hover .hero-nav-label {
    color: var(-- gold);
}

/* 3. About Institute (Soft Cards) */
#about {
    padding: 120px 0;
    background-color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.about-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.about-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
    bottom: -50px;
    left: -100px;
    animation-delay: -5s;
}

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

.stats-row {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item h4 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.offset-frame-wrapper {
    position: relative;
    display: block;
    width: 100%;
    z-index: 1;
    margin-bottom: 30px;
    /* Space for the name below */
}

.offset-frame-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    /* Slightly tighter for team portraits */
    left: 15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.4;
    transition: var(--trans-std);
}

.offset-frame-wrapper:hover::before {
    transform: translate(-10px, -10px);
    opacity: 0.6;
}

.about-img {
    height: 600px;
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

/* 4. Services Preview (Soft & Clean Premium) */
#services {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-orb {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(198, 167, 94, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

/* 4. Service Compact Slate (Elite High-Density) */
.services-slate {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-slate-card {
    position: relative;
    height: 250px;
    /* Uniform compact height */
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(198, 167, 94, 0.1);
}

.service-slate-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: all 0.6s ease;
}

.slate-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(28, 28, 28, 0.7) 0%, transparent 70%);
}

.slate-number {
    position: absolute;
    top: 20px;
    left: 25px;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--gold);
    opacity: 0.8;
}

.service-slate-card h3 {
    font-family: var(--subtitle-font);
    font-size: 1.1rem;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.slate-link {
    margin-top: 10px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    font-weight: 700;
    opacity: 0.6;
    transition: var(--trans-std);
}

/* Hover Clinical Elevation */
.service-slate-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-slate-card:hover img {
    filter: brightness(0.9);
    transform: scale(1.05);
}

.service-slate-card:hover .slate-link {
    opacity: 1;
    color: var(--white);
}

@media (max-width: 1024px) {
    .services-slate {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-slate {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-slate-card {
        height: 200px;
    }
}

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

/* 5. Price List (REFINED Tabs Soft & Clean) */
#pricelist {
    padding: 120px 0;
    background-color: var(--ivory);
    position: relative;
}

#pricelist::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(198, 167, 94, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.pricelist-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 30px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: var(--white);
    color: #888;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--trans-std);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.tab-btn:hover {
    color: var(--gold);
    background: #FFFCF5;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(198, 167, 94, 0.3);
}

.price-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.price-category {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease-out;
}

.price-category.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(28, 28, 28, 0.03);
    transition: var(--trans-std);
    border-left: 3px solid transparent;
}

.price-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(28, 28, 28, 0.06);
    border-left-color: var(--gold);
}

.item-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 5px;
}

.item-info p {
    font-size: 0.85rem;
    color: #888;
}

.item-price {
    text-align: right;
}

.price-val {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gold-dark);
    display: block;
}

.price-time {
    font-size: 0.75rem;
    color: #aaa;
}

/* 6. Technologies */
#technologies {
    background-color: var(--charcoal);
    padding: 80px 0;
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    opacity: 0.5;
}

.tech-logo {
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
}

/* 7. Team (Redesigned Compact View) */
#team {
    padding: 100px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    position: relative;
    cursor: pointer;
}

/* Photo Container */
.member-photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.member-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), filter 0.4s ease;
}

/* Hover Effect: Zoom & slight dim */
.member-card:hover .member-photo-wrapper img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Creative Hover Overlay - Socials or "Book" */
.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
}

.member-card:hover .member-overlay {
    opacity: 1;
    transform: translateY(0);
}

.member-btn-mini {
    background: rgba(255, 255, 255, 0.9);
    color: var(--charcoal);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: var(--trans-std);
}

.member-btn-mini:hover {
    background: var(--gold);
    color: var(--white);
}

/* Text Styling */
.member-info {
    text-align: center;
}

.member-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 5px;
    font-weight: 600;
}

.member-role {
    display: block;
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    font-weight: 500;
}

.member-bio {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
    padding: 0 10px;
    opacity: 0.8;
}

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

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

    .member-photo-wrapper {
        aspect-ratio: 1/1;
        /* More compact on mobile */
    }
}

/* 8. Reviews - Compact Modern Edition */
#reviews {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.reviews-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.review-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
}

.gold-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -200px;
}

.gold-orb-2 {
    width: 600px;
    height: 600px;
    background: var(--gold-light);
    bottom: -200px;
    left: -200px;
}

/* Google Summary Brief */
.google-rating-brief {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.g-brand {
    font-weight: 700;
}

.g-score {
    font-weight: 800;
    color: var(--charcoal);
}

.g-stars {
    color: var(--gold);
    letter-spacing: 2px;
}

.g-count {
    opacity: 0.5;
}

/* Compact Carousel Wrapper */
.reviews-compact-wrapper {
    overflow: hidden;
    padding: 20px 0 60px 0;
    /* Space for shadow/hover */
    margin: 0 -20px;
    /* Negative margin to allow side-swiping on mobile without padding issues */
}

.reviews-track-compact {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 20px;
    /* Compensation for negative margin */
}

/* Card Styles */
.review-card-compact {
    flex: 0 0 calc(33.333% - 20px);
    /* 3 cards visible minus gap */
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    user-select: none;
}

.review-card-compact:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(198, 167, 94, 0.15);
    border-color: rgba(198, 167, 94, 0.2);
}

.rc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rc-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.goog-icon {
    width: 24px;
    height: 24px;
    background: #f1f3f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #4285F4;
    font-size: 14px;
}

.rc-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal);
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rc-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.rc-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rc-date {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* Navigation */
.reviews-compact-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.rc-prev,
.rc-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.rc-prev:hover,
.rc-next:hover {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.rc-dots {
    display: flex;
    gap: 8px;
}

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

.rc-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.text-link-gold {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.text-link-gold:hover {
    border-color: var(--gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .review-card-compact {
        flex: 0 0 calc(50% - 15px);
        /* 2 cards on tablet */
    }
}

@media (max-width: 768px) {
    .review-card-compact {
        flex: 0 0 100%;
        /* 1 card on mobile */
        padding: 30px 25px;
    }

    .reviews-track-compact {
        gap: 20px;
    }

    .rc-text {
        font-size: 1.1rem;
    }
}

/* 9. Premium CTA */
#cta-premium {
    padding: 140px 0;
    background: var(--charcoal);
    color: var(--white);
    text-align: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&q=100&w=2000');
    background-size: cover;
    background-blend-mode: multiply;
}

/* 10. Contact */
#contact {
    background: #111;
    color: #888;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

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

.footer-title {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

/* 11. Process Section (Droga do Piękna) */
#process {
    padding: 140px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* Connecting Line */
.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
    z-index: -1;
}

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

.process-step {
    width: 80px;
    height: 80px;
    background: var(--ivory);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    box-shadow: var(--shadow-soft);
    transition: var(--trans-std);
}

.process-item:hover .process-step {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.process-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-desc {
    font-size: 0.85rem;
    color: #666;
    padding: 0 10px;
}

/* 12. Metamorfozy (Before & After) */
#metamorfozy {
    padding: 140px 0;
    background-color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.meta-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.compare-container {
    position: relative;
    height: 450px;
    /* Slightly taller */
    overflow: hidden;
    user-select: none;
}

.compare-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.compare-item img {
    width: 100%;
    /* Force fill */
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    border-radius: 0;
    /* Remove default rounding inside container */
}

/* Base image (Before) */
.compare-item.before {
    z-index: 1;
}

/* Top image (After) - initially clipped to 50% */
.compare-item.after {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
}

.compare-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    margin: 0;
    z-index: 10;
    cursor: ew-resize;
}

/* Remove default slider track and thumb */
.compare-slider::-webkit-slider-runnable-track {
    background: transparent;
}

.compare-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 2px;
    height: 100%;
    background: transparent;
}

/* Custom Visual Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--gold);
    z-index: 5;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231C1C1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15 3-3-3-3'/%3E%3Cpath d='m6 9-3 3 3 3'/%3E%3Cline x1='3' x2='21' y1='12' y2='12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.compare-label {
    position: absolute;
    bottom: 25px;
    padding: 6px 18px;
    background: rgba(28, 28, 28, 0.85);
    backdrop-filter: blur(5px);
    color: var(--white);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    z-index: 3;
}

.label-before {
    left: 25px;
}

.label-after {
    right: 25px;
}

.meta-info {
    padding: 35px 25px;
    text-align: center;
}

.meta-treatment {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

/* 13. FAQ Accordion */
#faq {
    padding: 140px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    /* Slightly more gap */
    border-radius: var(--radius-md);
    background: #fdfaf3;
    /* Warmer, subtle gold-ivory tint */
    overflow: hidden;
    transition: var(--trans-std);
    border: 1px solid rgba(198, 167, 94, 0.15);
    /* Delicate gold border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* Extremely soft shadow */
}

.faq-item.active {
    border-color: rgba(198, 167, 94, 0.2);
    box-shadow: var(--shadow-hover);
}

.faq-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--charcoal);
    transition: var(--trans-std);
    position: relative;
    border-left: 0px solid var(--gold);
}

.faq-item.active .faq-header {
    background: var(--white);
    color: var(--gold);
    border-left: 4px solid var(--gold);
}

.faq-header:hover {
    background: var(--white);
    color: var(--gold);
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(198, 167, 94, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 0 15px rgba(198, 167, 94, 0.4);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s;
    padding: 0 30px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

.faq-item.active .faq-body {
    max-height: 300px;
    padding: 0 30px 30px;
}

/* 14. Integrated Contact & Map Section */
#contact {
    background: var(--white);
    padding: 0;
    /* Full bleed for map */
    color: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.contact-split {
    display: flex;
    min-height: 800px;
}

.contact-info-side {
    flex: 1;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-map-side {
    flex: 1.2;
    min-height: 600px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.8) contrast(1.2) invert(0.05);
    /* Stylish clinical map */
}

.contact-pretitle {
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 15px;
    display: block;
}

.contact-main-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 50px;
    max-width: 500px;
}

.contact-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-detail-item {
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-detail-item i {
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}

.contact-line-form {
    margin-top: 40px;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.input-group {
    flex: 1;
    position: relative;
}

.line-input {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--trans-std);
}

.line-input:focus {
    border-color: var(--gold);
}

.line-label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    transition: var(--trans-std);
}

.line-input:focus+.line-label,
.line-input:not(:placeholder-shown)+.line-label {
    top: -10px;
    font-size: 0.6rem;
    color: var(--gold);
}

.contact-submit-btn {
    margin-top: 40px;
    padding: 15px 50px;
    background: var(--white);
    border: 1px solid #ddd;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: var(--trans-std);
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-submit-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.footer-bottom {
    padding: 40px 80px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.6;
}

@media (max-width: 768px) {

    .about-grid,
    .services-grid,
    .team-grid,
    .process-grid,
    .meta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-split {
        flex-direction: column;
    }

    .contact-info-side {
        padding: 60px 30px;
    }

    .contact-map-side {
        min-height: 400px;
    }

    .contact-main-title {
        font-size: 2.2rem;
    }

    .process-grid::before {
        display: none;
        /* Hide connecting line on mobile */
    }

    .newsletter-form {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }


}

/* --- Robust Dropdown System --- */
.nav-item {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▾';
    position: relative;
    /* Reset absolute positioning from .nav-link::after */
    background: none !important;
    /* Remove inherited gold background */
    bottom: auto;
    /* Reset bottom offset */
    left: auto;
    /* Reset left offset */
    width: auto;
    /* Reset width */
    height: auto;
    /* Reset height */
    font-size: 0.8rem;
    color: var(--gold);
    transition: var(--trans-std);
    margin-top: 2px;
    /* Fine tune vertical alignment */
}

.nav-item:hover .dropdown-toggle::after {
    transform: translateY(2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    /* Lifted from 20px */
    min-width: 220px;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--trans-std);
    z-index: 1100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    /* Lifted from 10px */
}

.dropdown-item {
    display: block;
    padding: 12px 30px;
    color: rgba(255, 255, 255, 0.8) !important;
    /* Explicit color to stay away from blue */
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: var(--trans-std);
}

.dropdown-item:hover {
    color: var(--gold) !important;
    background: rgba(198, 167, 94, 0.1);
    padding-left: 35px;
}

.dropdown-item.active {
    color: var(--gold) !important;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: var(--trans-std);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    #navbar {
        height: 80px;
        background: rgba(18, 18, 18, 0.95);
        /* Ensure background visibility */
        backdrop-filter: blur(10px);
    }

    /* Hide desktop CTA button, show mobile menu item instead */
    .nav-cta {
        display: none;
    }

    .mobile-cta {
        display: block;
        margin-top: 20px;
        padding-top: 0;
        border-top: none;
    }

    .mobile-cta .nav-link {
        background: var(--gold);
        color: var(--charcoal) !important;
        justify-content: center;
        text-align: center;
        font-weight: 700;
        border-radius: 50px;
        padding: 14px 0;
        box-shadow: 0 4px 15px rgba(198, 167, 94, 0.3);
    }

    /* Mobile Menu Structure */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.98);
        padding: 30px;
        gap: 0;
        /* Reset gap for list styling */
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 15px 0;
        font-size: 0.9rem;
        justify-content: space-between;
        /* Put arrow at end */
    }

    /* Mobile Dropdown Logic */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        box-shadow: none;
        padding: 0;
        display: none;
        /* Toggle via JS */
        margin-bottom: 10px;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 12px 20px;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6) !important;
    }

    .dropdown-toggle::after {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

    .nav-item.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* --- Section Formatting Fixes --- */
/* --- Elegant Subpage Hero System --- */
.subpage-hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    background-color: var(--charcoal);
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 28, 28, 0.8) 0%, rgba(28, 28, 28, 0.4) 50%, rgba(28, 28, 28, 0.9) 100%);
    z-index: 1;
}

.subpage-hero .container {
    position: relative;
    z-index: 2;
}

.subpage-hero .section-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle-elegant {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.promo-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--trans-std);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.promo-badge {
    position: absolute;
    top: 25px;
    right: -35px;
    background: var(--gold);
    color: var(--white);
    padding: 8px 45px;
    font-size: 0.75rem;
    font-weight: 800;
    transform: rotate(45deg);
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.promo-price {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.indication-group {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid transparent;
    transition: var(--trans-std);
}

.indication-group:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.indication-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--charcoal);
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 10px;
}

.indication-list li {
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.indication-list li:last-child {
    border-bottom: none;
}

.legal-text {
    max-width: 1000px;
    margin: 40px auto;
    background: var(--white);
    padding: 80px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.legal-text h2 {
    font-size: 1.6rem;
    color: var(--gold-dark);
    margin: 40px 0 20px;
    font-family: 'Playfair Display', serif;
}

.legal-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* Gallery Modernization */
.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-img-full {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--trans-slow);
    cursor: zoom-in;
}

.gallery-img-full:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .legal-text {
        padding: 30px;
    }

    .indication-group {
        padding: 25px;
    }

    .promo-card {
        padding: 30px;
    }
}

/* --- O Nas Enrichment Styles --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--trans-std);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.value-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.mission-split {
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 140px 0;
}

.mission-txt {
    flex: 1;
}

.mission-quote {
    flex: 1;
    position: relative;
    padding: 60px;
    background: var(--charcoal);
    color: var(--white);
    border-radius: var(--radius-lg);
}

.mission-quote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 30px;
    position: relative;
}

.quote-author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--white);
    padding: 100px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-split {
        flex-direction: column;
        gap: 60px;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
}

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

/* 10. FAQ - Elite Refined Edition */
#faq {
    padding: 140px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.faq-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    align-items: start;
    /* KEEP THIS */
}

.faq-intro {
    position: relative;
    /* Changed from sticky to relative */
    align-self: start;
    /* Added explicitly */
    height: fit-content;
    /* Prevents stretching */
}

.faq-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal);
    opacity: 0.7;
    margin-top: 30px;
}

.faq-node {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--trans-std);
}

.faq-node:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-trigger {
    padding: 35px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: color 0.3s ease;
    user-select: none;
}

.faq-trigger span {
    max-width: 85%;
}

.plus-minus {
    position: relative;
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plus-minus::before,
.plus-minus::after {
    content: '';
    position: absolute;
    background-color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Horizontal bar */
.plus-minus::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

/* Vertical bar */
.plus-minus::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-node.active .plus-minus {
    transform: rotate(180deg);
}

.faq-node.active .plus-minus::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-node.active .faq-trigger {
    color: var(--gold-dark);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-node.active .faq-content {
    opacity: 1;
}

.faq-inner {
    padding-bottom: 40px;
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 90%;
}

@media (max-width: 1024px) {
    .faq-split-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .faq-intro {
        position: static;
        text-align: center;
    }

    .faq-trigger {
        font-size: 1.2rem;
        padding: 25px 0;
    }
}

/* Hero + Countdown (Zmieniamy się Dla Ciebie) */
.hero-countdown {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 100px;
    background-color: var(--charcoal);
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-countdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(28, 28, 28, 0.75) 0%, rgba(28, 28, 28, 0.55) 45%, rgba(28, 28, 28, 0.85) 100%);
    z-index: 1;
}

.hero-countdown .container {
    position: relative;
    z-index: 2;
}

.hero-countdown .section-title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-countdown .hero-subtitle-elegant {
    margin-bottom: 24px;
}

.countdown-orb {
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    opacity: 0.25;
    z-index: 1;
}

.subpage-hero-lede {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: rgba(28, 28, 28, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(198, 167, 94, 0.35);
    border-radius: var(--radius-md);
    padding: 36px 40px;
    min-width: 150px;
    transition: var(--trans-std);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.countdown-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(198, 167, 94, 0.3);
}

.countdown-number {
    font-family: 'Manrope', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.countdown-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-countdown {
        padding: 140px 0 80px;
    }

    .hero-countdown .section-title {
        font-size: 2.4rem;
    }

    .countdown-display {
        gap: 12px;
    }

    .countdown-item {
        min-width: 0;
        padding: 22px 18px;
        flex: 1 1 calc(50% - 12px);
        gap: 8px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .subpage-hero-lede {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}