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

/* --- JÁNNHA MEDISPA BRAND KIT DESIGN SYSTEM --- */
:root {
    /* Brand Typefaces (04 · TYPOGRAPHY) */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-script: 'Sacramento', cursive;

    /* Brand Palette Tokens (03 · COLOUR) */
    --brand-gallery-white: #F7F7F4;
    --brand-espresso-black: #2F2925;
    --brand-brass: #B8964E;
    --brand-bronze: #7A6236;
    --brand-sage: #8A9A7B;
    --brand-sage-soft: #DDE3D5;
    --brand-jute: #C8AE84;
    --brand-stone-grey: #5F625B;

    /* Dark Theme Variables (Espresso & Brass Dark Mode) */
    --bg-primary: #191614;
    --bg-secondary: #24201D;
    --bg-tertiary: #2F2925;
    --text-primary: #F7F7F4;
    --text-secondary: #C8AE84;
    --text-muted: #8A9A7B;
    --accent-gold: #B8964E;
    --accent-gold-rgb: 184, 150, 78;
    --accent-bronze: #C8AE84;
    --accent-glow: rgba(184, 150, 78, 0.35);
    --border-color: rgba(184, 150, 78, 0.25);
    --border-hover: #B8964E;
    --shadow-sm: rgba(0, 0, 0, 0.15);
    --shadow-md: rgba(0, 0, 0, 0.25);
    --shadow-lg: rgba(0, 0, 0, 0.35);
    --glass-bg: rgba(36, 32, 29, 0.88);
    --glass-border: rgba(184, 150, 78, 0.28);
    --hero-overlay: rgba(25, 22, 20, 0.82);
    --btn-primary-bg: #B8964E;
    --btn-primary-text: #191614;
    
    /* Spacing & Corners (05 · GRAPHICS & LAYOUT: 4px on buttons/cards, square on photos, round on tags) */
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 4px;
    --border-radius-lg: 4px;
    --border-radius-full: 9999px;
}

/* Primary Brand Theme — Gallery White, Espresso Black, Brass, Bronze & Sage Soft (03 · COLOUR) */
[data-theme="light"] {
    --bg-primary: #F7F7F4;       /* Gallery White — 65% main background */
    --bg-secondary: #DDE3D5;     /* Sage Soft — 12% quiet backgrounds, chips, photo mats */
    --bg-tertiary: #EFEFE9;      /* Soft warm surface */
    --text-primary: #2F2925;     /* Espresso Black — headlines, primary text, frames */
    --text-secondary: #5F625B;   /* Stone Grey — secondary text, captions */
    --text-muted: #5F625B;
    --accent-gold: #B8964E;      /* Brass — logo bar, thin rules, frames, badge rings */
    --accent-gold-rgb: 184, 150, 78;
    --accent-bronze: #7A6236;    /* Bronze — links and small headings (the only coloured text) */
    --accent-glow: rgba(184, 150, 78, 0.2);
    --border-color: rgba(47, 41, 37, 0.16);
    --border-hover: #2F2925;
    --shadow-sm: rgba(47, 41, 37, 0.03);
    --shadow-md: rgba(47, 41, 37, 0.05);
    --shadow-lg: rgba(47, 41, 37, 0.08);
    --glass-bg: #F7F7F4;
    --glass-border: rgba(47, 41, 37, 0.18);
    --hero-overlay: rgba(247, 247, 244, 0.92);
    --btn-primary-bg: #2F2925;   /* Espresso Black primary buttons */
    --btn-primary-text: #F7F7F4; /* Gallery White button label */
}

/* --- GENERAL RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.18;
}

.script-accent {
    font-family: var(--font-script);
    font-size: 2.3rem;
    color: var(--accent-bronze);
    font-weight: 400;
    line-height: 1.2;
    display: block;
    margin-bottom: 0.35rem;
}

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

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

/* --- CORE LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7rem 0;
}

.text-center { text-align: center; }
.gold-text { color: var(--accent-bronze); }

/* Decorative Section Header (04 · TYPOGRAPHY & 05 · GRAPHICS & LAYOUT) */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header .subtitle {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-bronze);
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 600;
}

.section-header .title {
    font-size: 3.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Short Brass Bar underlining headlines (05 · GRAPHICS & LAYOUT) */
.section-header::after {
    content: '';
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 2px;
    background-color: var(--brand-brass);
}

/* --- BRAND KIT BUTTONS (04 · TYPOGRAPHY: Montserrat SemiBold · caps · 0.08em · 4px corners) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-bg);
}

.btn-primary:hover {
    background-color: var(--brand-brass);
    border-color: var(--brand-brass);
    color: #F7F7F4;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--brand-brass);
}

.btn-outline:hover {
    background-color: rgba(184, 150, 78, 0.08);
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.65rem 1.4rem;
    font-size: 0.74rem;
}

/* --- THIN-FRAMED CARD COMPONENT (05 · GRAPHICS & LAYOUT: Thin frames, 4px corners, no heavy drop shadows) --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    box-shadow: 0 4px 16px var(--shadow-sm);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--brand-brass);
    box-shadow: 0 8px 24px var(--shadow-md);
}

/* --- HEADER & LUXURY FLOATING NAV --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.3rem 0;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--border-color);
}

header.scrolled {
    padding: 0.85rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 6px 20px var(--shadow-sm);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-quick);
}

[data-theme="dark"] header .logo-img {
    filter: brightness(0) invert(0.96);
}

.footer-brand .logo-img {
    height: 54px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent-gold);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

/* Primary Logo Wordmark with Brass Bar underneath (02 · LOGO) */
.logo-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.38rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.logo-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-brass);
}

.logo-text span {
    font-size: inherit;
    display: inline;
    letter-spacing: inherit;
    font-family: inherit;
    text-transform: uppercase;
    color: inherit;
    margin-top: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-brass);
    transition: var(--transition-quick);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    border-color: var(--brand-brass);
    color: var(--accent-bronze);
    transform: rotate(30deg);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Mobile Nav Menu Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--text-primary);
    margin: 6px 0;
    transition: var(--transition-quick);
}

/* --- HERO SECTION WITH GALLERY WHITE / SAGE & THIN FRAME (01 · THE IDEA & 05 · GRAPHICS) --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 8.5rem 0 4.5rem;
    display: flex;
    align-items: center;
    background-image: url('images/front-desk.jpg');
    background-size: cover;
    background-position: center 65%;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, var(--hero-overlay) 0%, var(--hero-overlay) 62%, rgba(221, 227, 213, 0.85) 100%);
    backdrop-filter: blur(5px);
    z-index: 1;
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(135deg, rgba(25, 22, 20, 0.90) 0%, rgba(25, 22, 20, 0.78) 100%);
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

/* Thin-framed square photo panel with Sage Soft mat (05 · GRAPHICS & LAYOUT) */
.hero-image-card {
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--text-primary);
    background-color: var(--brand-sage-soft);
    padding: 12px;
    max-width: 440px;
    margin-left: auto;
    aspect-ratio: 3 / 4;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    border: 1px solid var(--brand-brass);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-image-card {
        margin: 0 auto;
        width: 100%;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--brand-brass);
    color: var(--accent-bronze);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: var(--border-radius-full);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1.25rem;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: var(--brand-brass);
}

.hero-title span {
    font-style: italic;
    color: var(--accent-bronze);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 540px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Floating Trust Cards */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- DETAILED SERVICES MENU PORTFOLIO --- */
.services-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.services-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.6rem;
    border-radius: var(--border-radius-full);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(var(--accent-gold-rgb), 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    transition: var(--transition-smooth);
}

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

.service-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 16, 18, 0.7) 0%, transparent 100%);
}

.service-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(15, 16, 18, 0.85);
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-full);
    z-index: 2;
    backdrop-filter: blur(4px);
}

.service-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-weight: 300;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    margin-top: auto;
}

.service-meta {
    display: flex;
    flex-direction: column;
}

.service-price {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.service-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.1rem;
}

.add-estimate-btn {
    background: none;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.add-estimate-btn:hover {
    background-color: var(--accent-gold);
    color: #0f1012;
    box-shadow: 0 0 12px var(--accent-glow);
}

.add-estimate-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.add-estimate-btn.selected {
    background-color: var(--accent-gold);
    color: #0f1012;
    border-color: var(--accent-gold);
}

/* --- CURATED SPECIALS SECTION (Sage Soft with faint Ginkgo-leaf line pattern, 05 · GRAPHICS & LAYOUT) --- */
.specials-section {
    background-color: var(--bg-secondary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%232F2925' stroke-width='0.75' stroke-opacity='0.09'%3E%3Cpath d='M36 52 C22 38 18 22 36 18 C54 22 50 38 36 52 Z'/%3E%3Cline x1='36' y1='52' x2='36' y2='64'/%3E%3Cline x1='36' y1='52' x2='28' y2='24'/%3E%3Cline x1='36' y1='52' x2='36' y2='20'/%3E%3Cline x1='36' y1='52' x2='44' y2='24'/%3E%3C/g%3E%3C/svg%3E");
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.special-card {
    border: 1px solid var(--accent-gold) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.special-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-gold);
    color: #0f1012;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-full);
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-glow);
}

.special-card .service-img-wrapper {
    height: 180px;
}

.special-card .service-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.special-card .service-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.special-card .service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-weight: 300;
}

.special-card .service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    margin-top: auto;
}

.special-card .special-subtitle {
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* --- INTERACTIVE TREATMENT ADVISOR QUIZ --- */
.advisor-section {
    background-color: var(--bg-primary);
}

.advisor-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.quiz-progress-bar {
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    margin-bottom: 3rem;
    position: relative;
}

.quiz-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33.3%;
    background-color: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: var(--transition-smooth);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeInStep 0.5s ease-out;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quiz-option-card {
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    background-color: rgba(var(--accent-gold-rgb), 0.02);
}

.quiz-option-card:hover {
    border-color: var(--accent-gold);
    background-color: rgba(var(--accent-gold-rgb), 0.05);
}

.quiz-option-card.selected {
    border-color: var(--accent-gold);
    background-color: rgba(var(--accent-gold-rgb), 0.1);
    box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.15);
}

.quiz-option-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.quiz-option-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.quiz-option-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.quiz-nav-btns {
    display: flex;
    justify-content: space-between;
}

/* Advisor Recommendation Results */
.quiz-results {
    display: none;
    text-align: center;
}

.quiz-results.active {
    display: block;
    animation: fadeInStep 0.6s ease-out;
}

.results-header {
    margin-bottom: 3rem;
}

.results-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: rgba(var(--accent-gold-rgb), 0.12);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--border-radius-full);
    margin-bottom: 1rem;
}

.results-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.results-desc {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.recommendations-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.rec-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: rgba(var(--accent-gold-rgb), 0.03);
}

.rec-title {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.rec-reason {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
}

/* Form structure and constraint validation styles for Advisor Step 4 */
.advisor-step-form {
    max-width: 480px;
    margin: 0 auto 2.5rem auto;
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.advisor-step-form .form-group {
    display: flex;
    flex-direction: column;
}

.advisor-step-form .form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.advisor-step-form .form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

.advisor-step-form .form-input:focus {
    border-color: var(--accent-gold);
    background-color: rgba(var(--accent-gold-rgb), 0.02);
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.1);
}

/* User Valid/Invalid styling */
.advisor-step-form .form-input:user-invalid {
    border-color: rgba(220, 90, 90, 0.6);
    background-color: rgba(220, 90, 90, 0.03);
}

.advisor-step-form .form-input:user-valid {
    border-color: rgba(var(--accent-gold-rgb), 0.6);
}

/* Error message styling */
.advisor-step-form .error-msg {
    display: none;
    color: #ff6b6b;
    font-size: 0.75rem;
    margin-top: 0.35rem;
    font-weight: 300;
}

.advisor-step-form .form-input:user-invalid + .error-msg {
    display: block;
}

/* --- DYNAMIC BOOKING & ESTIMATE WIDGET --- */
.booking-section {
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.booking-form-wrapper {
    padding: 3rem;
}

.booking-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.booking-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-size: 0.95rem;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.2rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-quick);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.1);
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.booking-btn {
    grid-column: span 2;
    margin-top: 1rem;
}

/* Summary Estimator Widget Panel */
.estimator-panel {
    padding: 3rem;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    position: sticky;
    top: 100px;
}

.estimator-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.estimator-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.estimator-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.selected-services-list {
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.empty-estimate-state {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    padding: 3rem 0;
}

.estimate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--accent-gold-rgb), 0.08);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.estimate-item-info {
    display: flex;
    flex-direction: column;
}

.estimate-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.estimate-item-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.estimate-item-price-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.estimate-item-price {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.remove-estimate-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.remove-estimate-btn:hover {
    color: #e74c3c;
}

.remove-estimate-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.estimator-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.totals-row.grand-total {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--border-color);
}

.totals-lbl {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.totals-val {
    font-weight: 500;
}

.totals-row.grand-total .totals-lbl {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.totals-row.grand-total .totals-val {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    font-weight: 600;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 16, 18, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.success-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.success-modal-content {
    max-width: 500px;
    width: 90%;
    padding: 3.5rem;
    text-align: center;
    border: 1px solid var(--accent-gold);
}

.success-modal-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-gold);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--accent-gold);
    animation: scaleUpIcon 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUpIcon {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-modal-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.success-modal-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.success-modal-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* --- ABOUT US / HIGHLIGHTS SECTION --- */
.about-section {
    background-color: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

.about-img-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-img-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 280px;
}

.about-img-item.large {
    grid-row: span 2;
    height: 580px;
}

.about-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    transition: var(--transition-smooth);
}

.about-img-item:hover img {
    transform: scale(1.05);
}

.about-info-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.about-info-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 300;
}

.about-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    display: flex;
    gap: 1rem;
}

.feature-box-icon {
    color: var(--accent-gold);
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 0.2rem;
}

.feature-box-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.feature-box-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- TESTIMONIAL SUITE --- */
.testimonials-section {
    background-color: var(--bg-secondary);
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.testimonial-card-inner {
    text-align: center;
    padding: 4rem 3rem;
    position: relative;
}

.testimonial-quote-icon {
    font-size: 4rem;
    font-family: var(--font-serif);
    line-height: 1;
    color: rgba(var(--accent-gold-rgb), 0.15);
    margin-bottom: -1rem;
    display: block;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.testimonial-client {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.testimonial-client span {
    font-weight: 300;
    color: var(--text-muted);
    font-size: 0.75rem;
    display: block;
    margin-top: 0.3rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--border-radius-full);
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-quick);
}

.indicator-dot.active {
    background-color: var(--accent-gold);
    width: 24px;
}

/* --- FOOTER & CONTACT DETAILS (Espresso Black #2F2925 per 03 · COLOUR) --- */
footer {
    background-color: #2F2925;
    border-top: 2px solid var(--brand-brass);
    padding: 7rem 0 3rem;
    color: #DDE3D5;
}

[data-theme="light"] footer {
    background-color: #2F2925;
    color: #DDE3D5;
}

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

.footer-brand .logo-text {
    color: #f4f3f0;
}

.footer-brand-desc {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 300;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4f3f0;
    transition: var(--transition-quick);
}

.social-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.2);
}

.social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.footer-column-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #f4f3f0;
    margin-bottom: 2rem;
}

.footer-hours-list {
    list-style: none;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    font-weight: 300;
}

.hours-item.highlight {
    color: var(--accent-gold);
    font-weight: 500;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item-box {
    display: flex;
    gap: 1rem;
}

.contact-item-icon {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.contact-item-info {
    display: flex;
    flex-direction: column;
}

.contact-item-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.contact-item-val {
    font-size: 0.9rem;
    color: #f4f3f0;
    font-weight: 300;
}

.contact-item-val a:hover {
    color: var(--accent-gold);
}

/* Beautiful Stylized Map Box */
.map-mock-box {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.map-mock-bg {
    width: 100%;
    height: 100%;
    background-color: #17181c;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 0), radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-mock-marker {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-full);
    background-color: rgba(var(--accent-gold-rgb), 0.2);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    box-shadow: 0 0 25px var(--accent-gold);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--accent-gold-rgb), 0.6); }
    70% { transform: scale(1.08); box-shadow: 0 0 0 15px rgba(var(--accent-gold-rgb), 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--accent-gold-rgb), 0); }
}

.map-mock-overlay {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    background: rgba(15, 16, 18, 0.85);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    color: #f4f3f0;
    backdrop-filter: blur(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

/* --- BRAND STORY SECTION --- */
.brand-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.brand-story-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.brand-story-text p:last-child {
    margin-bottom: 0;
}

.brand-story-image-box {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 540px;
    box-shadow: 0 15px 35px var(--shadow-md);
    border: 1px solid var(--border-color);
}

.brand-story-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%;
    transition: var(--transition-smooth);
}

.brand-story-image-box:hover img {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .brand-story-image-box {
        height: 350px;
    }
}

/* --- ANIMATION UTILITIES ON SCROLL --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* --- RESPONSIVE LAYOUTS & BREAKPOINTS --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-title {
        font-size: 3.8rem;
    }
    .booking-grid {
        grid-template-columns: 1fr;
    }
    .estimator-panel {
        position: static;
        margin-top: 2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-img-gallery {
        order: 2;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    .section-header .title {
        font-size: 2.2rem;
    }
    .nav-menu {
        display: none; /* Hide default menu */
    }
    .mobile-nav-toggle {
        display: block;
    }
    /* Mobile overlay navigation active state style */
    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-primary);
        z-index: 999;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        animation: slideInRight 0.4s ease-out;
    }
    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }
    
    /* Mobile header enhancements */
    .nav-actions .btn {
        display: none; /* Hide wide Book Appointment button in header on mobile */
    }
    .nav-actions {
        gap: 1rem;
    }
    
    /* Hero refinements */
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
        word-break: break-word;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    /* Services filter wrapping */
    .services-filter {
        gap: 0.6rem;
        margin-bottom: 2.5rem;
    }
    .filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Specials Grid */
    .specials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    .special-card .service-body {
        padding: 1.5rem;
    }
    
    /* Advisor Quiz & Form adjustments */
    .advisor-container {
        padding: 1.8rem 1.2rem;
    }
    .quiz-question {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    .results-title {
        font-size: 1.8rem;
    }
    .quiz-options {
        grid-template-columns: 1fr;
    }
    .recommendations-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Booking & Estimator Padding adjustments */
    .booking-form-wrapper, .estimator-panel {
        padding: 1.8rem 1.2rem;
    }
    .booking-form {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .booking-btn {
        grid-column: span 1;
    }
    
    /* Testimonials sizing adjustments */
    .testimonial-card-inner {
        padding: 2.5rem 1.5rem;
    }
    .testimonial-text {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    /* Success Modal sizing */
    .success-modal-content {
        padding: 2.5rem 1.5rem;
    }
    .success-modal-title {
        font-size: 1.8rem;
    }
    
    /* Footer layout */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- MEET OUR TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(var(--accent-gold-rgb), 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--accent-gold-rgb), 0.05);
}

.team-image-box {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.team-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.team-role {
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    margin-top: 0.5rem;
}

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

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .team-image-box {
        height: 380px;
    }
}

@media (max-width: 480px) {
    .about-img-gallery {
        grid-template-columns: 1fr;
    }
    .about-img-item, .about-img-item.large {
        grid-row: auto;
        height: 220px;
    }
}
