/* ============================================================
   Sentrum Tannklinikk – Luxury Glassmorphism Design System
   Primary: #7f7971 (Dark Beige)  |  Background: #F9F8F6 (Cream)
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #1b3d5a;
    --primary-hover: #4A9DB5;
    --primary-light: rgba(74, 157, 181, 0.12);
    --primary-glow: rgba(74, 157, 181, 0.25);

    --navbar-bg: rgba(255, 255, 255, 0.75);
    --navbar-text: #1A2F3A;
    --navbar-border: rgba(255, 255, 255, 0.45);

    --bg: #F9F8F6;
    --bg-warm: #F4F2EF;
    --text: #2C2C2C;
    --text-muted: #1A2F3A;
    --text-light: #71727f;

    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-blur: 18px;
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
    --glass-shadow-lg: 0 16px 48px rgba(31, 38, 135, 0.12);

    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    --font-base: 16px;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    --max-width: 1400px;
    --nav-height: 110px;
    --footer-height: 58px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- High Contrast Mode --- */
.high-contrast {
    --primary: #000000;
    --primary-hover: #222222;
    --primary-light: rgba(0, 0, 0, 0.1);
    --primary-glow: rgba(0, 0, 0, 0.2);
    --navbar-bg: #FFFFFF;
    --navbar-text: #000000;
    --navbar-border: rgba(0, 0, 0, 0.35);
    --bg: #FFFFFF;
    --bg-warm: #F5F5F5;
    --text: #000000;
    --text-muted: #333333;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-bg-strong: rgba(255, 255, 255, 1);
    --glass-border: rgba(0, 0, 0, 0.3);
    --glass-shadow: none;
    --glass-shadow-lg: none;
}

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

html {
    font-size: var(--font-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
}

h1 { font-size: 2.8rem; letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

#about > h2 {
    margin-bottom: 15px;
}

p { color: var(--text-muted); }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }

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

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; margin-top: 50px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-hover); }

/* --- Hidden utility --- */
.hidden { display: none !important; }

/* ============================================================
   NAVBAR – Floating Glass
   ============================================================ */
.glass-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--max-width);
    background: var(--navbar-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--navbar-border);
    border-radius: var(--radius);
    padding: 0.8rem 2rem;
    z-index: 1000;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition);
    color: var(--navbar-text);
}

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

.logo-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.logo-container img {
    height: 42px;
    transition: transform var(--transition);
    display: block;
}
.logo-container img:hover { transform: scale(1.04); }

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.7) 60%, transparent 100%);
        animation: sweepPause 15.5s cubic-bezier(0.4,0,0,1) 0s infinite; 
    pointer-events: none;
    opacity: 0.7;
}

body[data-navbar-white="false"] .logo-container::before {
    animation: none;
    opacity: 0;
}

.logo-container img {
    position: relative;
    z-index: 1;
}



.nav-info {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--navbar-text);
    align-items: center;
}

.nav-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-open-hours {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--navbar-border);
    background: rgba(255, 255, 255, 0.2);
    color: var(--navbar-text);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-open-hours:hover {
    background: var(--primary-light);
    color: var(--navbar-text);
}

.nav-open-hours:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 2px;
}

.nav-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: var(--navbar-text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 9px;
    border-radius: var(--radius-xs);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-copy-btn:hover {
    background: var(--primary-light);
    color: var(--navbar-text);
}

.nav-copy-btn:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 2px;
}

.nav-copy-btn:active {
    transform: translateY(1px);
}

.nav-info .fa-map-marker-alt,
.nav-info .fa-phone { color: var(--navbar-text); font-size: 0.8rem; }

.copy-toast {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 2500;
    max-width: min(360px, calc(100vw - 24px));
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    box-shadow: 0 14px 32px rgba(22, 41, 58, 0.18), 0 2px 6px rgba(22, 41, 58, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.88rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.copy-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.copy-toast.error {
    border-color: rgba(161, 48, 48, 0.3);
    color: #8f2d2d;
}

.fb-link {
    color: var(--navbar-text);
    font-size: 1.1rem;
    transition: color var(--transition);
    margin-left: 8px;
}
.fb-link:hover { color: #1877F2; }

.email-link {
    color: var(--navbar-text);
    font-size: 1.1rem;
    transition: color var(--transition);
}
.email-link:hover { color: #1877F2; }

/* Language Picker */
.lang-picker {
    position: relative;
    margin-left: 8px;
}

.lang-trigger {
    border: 1.5px solid transparent;
    background: transparent;
    color: var(--navbar-text);
    border-radius: var(--radius-xs);
    min-height: 36px;
    min-width: 40px;
    padding: 0 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.lang-trigger:hover {
    border-color: var(--primary-glow);
    background: var(--primary-light);
}

.lang-trigger:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 2px;
}

.lang-trigger-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.lang-trigger-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(22, 41, 58, 0.12);
}

.lang-trigger-chevron {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform var(--transition);
}

.lang-picker.open .lang-trigger {
    border-color: var(--primary);
    background: var(--primary-light);
}

.lang-picker.open .lang-trigger-chevron {
    transform: rotate(-135deg) translateY(-1px);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    display: grid;
    gap: 4px;
    padding: 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 34px rgba(22, 41, 58, 0.18), 0 4px 14px rgba(22, 41, 58, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1100;
}

.lang-menu[hidden] {
    display: none;
}

.lang-option {
    border: 0;
    background: transparent;
    color: var(--navbar-text);
    border-radius: 10px;
    min-height: 40px;
    padding: 8px 10px 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    transition: background var(--transition), transform var(--transition);
}

.lang-option:hover {
    background: var(--primary-light);
}

.lang-option.active {
    background: var(--primary-light);
    font-weight: 600;
}

.lang-option:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 1px;
}

.lang-option-label {
    white-space: nowrap;
}

.lang-option-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(22, 41, 58, 0.12);
}

/* Nav Links */
.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 8px;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--navbar-border);
}

.nav-links a {
    text-decoration: none;
    color: var(--navbar-text);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 6px 16px;
    border-radius: var(--radius-xs);
    position: relative;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--navbar-text);
    background: var(--primary-light);
}

.nav-links a.active {
    color: var(--navbar-text);
    font-weight: 600;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--navbar-text);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-xs);
    transition: background var(--transition);
}
.mobile-menu-btn:hover { background: var(--primary-light); }

/* Logo sweep animation */
@keyframes sweepPause {
    0% { transform: translateX(-120%) skewX(-40deg); opacity: 0; }
    3.33% { opacity: 1; }
    16.67% { opacity: 1; }
    33.33% { transform: translateX(120%) skewX(-40deg); opacity: 0; }
    100% { transform: translateX(120%) skewX(-40deg); opacity: 0; }
}

/* ============================================================
   MAIN LAYOUT – Split View (Content Left, 3D Right)
   ============================================================ */
.main-container {
    display: flex;
    height: calc(100vh - var(--nav-height));
    margin-top: var(--nav-height);
    max-width: 100%;
    position: relative;
    z-index: 2;
}

#content-wrapper {
    width: 55%;
    height: 100%;
    overflow-y: auto;
    padding: 2.5rem calc(4rem + 12.5px) 4rem;
    position: relative;
    z-index: 3;
}

#canvas-container {
    width: 45%;
    height: calc(100% - var(--footer-height));
    position: relative;
    overflow: hidden;
}

#canvas-container canvas {
    outline: none;
    border-radius: var(--radius) 0 0 var(--radius);
}

/* Floating hero image above 3D model */
.hero-float-img {
    position: absolute;
    top: 2.5rem;
    left: calc(50% - 5%);
    transform: translateX(-50%);
    width: min(85%, 480px);
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 5;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hero-float-img.visible {
    opacity: 1;
}

/* Loading overlay */
#loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    z-index: 10;
    transition: opacity 0.5s ease;
}
#loading-overlay.loaded {
    opacity: 0;
    pointer-events: none;
}

/* ============================================================
   FOOTER – Global Brand Strip
   ============================================================ */
.site-brand-strip {
    position: fixed;
    left: 55%;
    right: 0;
    bottom: 0;
    height: var(--footer-height);
    z-index: 4;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-footer-inner {
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0.2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.12rem;
    color: var(--text-muted);
    font-size: 0.64rem;
    letter-spacing: 0.02em;
}

.site-footer-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.site-footer-row-bottom {
    gap: 0.7rem;
}

.site-footer-logo {
    width: auto;
    height: 100%;
    padding: 16.5px;
    box-sizing: border-box;
    object-fit: contain;
    opacity: 0.92;
}

.site-footer-logos {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0.14rem;
    padding-right: 0.08rem;
}

.site-footer-text {
    margin: 0;
    white-space: nowrap;
    color: var(--text-muted);
    line-height: 1.2;
}

.site-footer-text-mobile-copyright {
    display: none;
}

.site-footer-text a {
    color: var(--primary);
    font-weight: 600;
}

.site-footer-text a:hover {
    color: var(--primary-hover);
}

.site-footer-text a:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================================
   PAGE SECTIONS – Content Transitions
   ============================================================ */
.page-section {
    display: none;
    opacity: 0;
    transform: translateY(16px);
}

.page-section.active {
    display: block;
    animation: sectionFadeIn var(--transition-slow) forwards;
}

.page-section.fade-out {
    animation: sectionFadeOut 0.3s forwards;
}

@keyframes sectionFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes sectionFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-10px); }
}

/* ============================================================
   WELCOME SECTION
   ============================================================ */
#welcome h1 {
    margin-bottom: 0.6rem;
    font-size: 2.6rem;
}

#welcome .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* Feature Grid */
.grid-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#welcome .contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
    margin-right: 0.7rem;
    padding: 0.82rem 1.15rem;
    border-radius: var(--radius-xs);
    border: 1.5px solid transparent;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

#welcome .contact-btn:first-of-type {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 18px var(--primary-glow);
}

#welcome .contact-btn:first-of-type:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

#welcome .contact-btn:last-of-type {
    background: rgba(255, 255, 255, 0.55);
    color: var(--primary);
    border-color: rgba(27, 61, 90, 0.45);
}

#welcome .contact-btn:last-of-type:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1.8rem;
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    border-radius: 3px 0 0 3px;
    transform: scaleY(0);
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-lg);
}
.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.feature-card p {
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-content {
    max-width: 600px;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.3rem;
}

/* Team photo */
.team-photo {
    width: 100%;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    box-shadow: var(--glass-shadow);
}

/* Team Grid */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin: 1.5rem 0 2rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 110px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 2px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.team-member:hover .team-avatar {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glass-shadow-lg);
}

.team-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.3;
}

.team-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Opening Hours */
.hours-list {
    list-style: none;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--glass-shadow);
    margin-bottom: 2rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(127, 121, 113, 0.06);
    font-size: 0.95rem;
    color: var(--text-muted);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child {
    font-weight: 600;
    color: var(--text);
    min-width: 80px;
}

/* Map placeholder */
.map-container {
    width: 100%;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    margin-top: 1rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-location-text {
    margin-top: 10px;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: calc(var(--radius) - 6px);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.2rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    position: relative;
    padding-right: 3rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2rem;
    line-height: 1;
    transition: transform var(--transition), color var(--transition);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    border-top: 1px solid rgba(127, 121, 113, 0.08);
    padding: 0.25rem 1.2rem 1rem;
}

.faq-answer p {
    margin: 0.65rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.faq-answer ul {
    margin: 0.4rem 0 0.75rem;
    padding-left: 1.1rem;
}

.faq-answer li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.45rem;
}

.faq-anxiety-video-wrap {
    float: right;
    width: 250px;
    max-width: 100%;
    margin: 0.15rem 0 0.85rem 1rem;
}

#price-review-video-wrap {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: min(320px, 43%);
    max-width: 100%;
    z-index: 1200;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    display: none;
}

#price-review-video-wrap.visible {
    display: block;
}

#price-review-video-wrap .faq-anxiety-video {
    border-radius: 0;
}

.faq-anxiety-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--glass-shadow);
    background: #000;
}

.faq-answer-anxiety::after {
    content: '';
    display: block;
    clear: both;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact h2 { margin-bottom: 0.35rem; }

#contact .contact-intro {
    color: var(--text-muted);
    margin-bottom: 1.4rem;
    max-width: 62ch;
    line-height: 1.75;
}

#contact h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    color: var(--primary);
    font-size: 1.22rem;
}

.contact-details-list {
    margin-bottom: 1.5rem;
}

.contact-details-list li {
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-details-list li span:first-child {
    min-width: 112px;
}

.contact-detail-link,
.contact-detail-address {
    color: var(--text-muted);
    text-align: right;
    line-height: 1.55;
    max-width: 70%;
    margin-left: auto;
}

.contact-detail-link {
    color: var(--primary);
    font-weight: 600;
}

.contact-detail-link:hover {
    color: var(--primary-hover);
}

.contact-social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.55rem;
    padding: 0.82rem 1rem;
    border: 1.5px solid rgba(127, 121, 113, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary);
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.contact-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(27, 61, 90, 0.35);
    background: var(--primary-light);
    box-shadow: var(--glass-shadow);
}

.contact-social-link i {
    font-size: 1.08rem;
}

.contact-video-wrap {
    margin: 0;
    margin-top: 0.6rem;
    max-width: 780px;
}

.contact-video-wrap .faq-anxiety-video {
    border-radius: var(--radius);
}

@media (max-width: 640px) {
    .faq-item summary {
        font-size: 0.94rem;
        padding: 0.9rem 1rem;
        padding-right: 2.6rem;
    }

    .faq-item summary::after {
        right: 0.95rem;
    }

    .faq-answer {
        padding: 0.1rem 1rem 0.9rem;
    }

    .faq-anxiety-video-wrap {
        float: none;
        width: min(250px, 100%);
        margin: 0.35rem auto 0.9rem;
    }
}

/* ============================================================
   PRICE LIST
   ============================================================ */
#prices h2 { margin-bottom: 0.4rem; }
#prices > p { margin-bottom: 2rem; }

.price-table {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.price-row {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(127, 121, 113, 0.06);
    cursor: pointer;
    transition: background var(--transition);
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--primary-light); }

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-header:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius-xs);
}

.price-header .price-name {
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.price-header .price-amount {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    white-space: nowrap;
}

.price-expand-icon {
    color: var(--text-light);
    font-size: 0.75rem;
    margin-left: 8px;
    transition: transform var(--transition);
}
.price-row.expanded .price-expand-icon {
    transform: rotate(180deg);
}

.price-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 0;
}

.price-details-text {
    margin: 0;
}

.price-add-btn {
    align-self: flex-start;
    min-height: 44px;
    padding: 8px 16px;
    font-size: 0.82rem;
}

.price-row.expanded .price-details {
    max-height: 190px;
    padding: 0.6rem 0 0.35rem;
}

/* ============================================================
   CALCULATOR – Typeform-style Wizard
   ============================================================ */
.wizard-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    position: relative;
}

/* Progress bar */
.progress-bar {
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}
.progress-bar .fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width var(--transition-slow);
    width: 0%;
}

/* Step headings */
.calc-step h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

/* Category & Service cards */
.calc-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.calc-card {
    padding: 1.2rem 1.5rem;
    border: 1.5px solid rgba(127, 121, 113, 0.15);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
}

.calc-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateX(4px);
}

.calc-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.calc-card .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.calc-card .card-label {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
}

.calc-card .card-price {
    margin-left: auto;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    white-space: nowrap;
}

.calc-card .card-qty {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(27, 61, 90, 0.12);
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.calc-cart-summary {
    margin-top: 1rem;
    border: 1px solid rgba(127, 121, 113, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.38);
    padding: 0.8rem 0.95rem;
}

.calc-cart-summary h4 {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
    color: var(--text);
}

.calc-cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.calc-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.55rem;
    border: 1px solid rgba(127, 121, 113, 0.12);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.58);
}

.calc-cart-item-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.calc-cart-item-name {
    font-size: 0.88rem;
    color: var(--text);
}

.calc-cart-item-meta {
    font-size: 0.76rem;
    color: var(--text-light);
}

.calc-cart-remove {
    border: 1px solid rgba(27, 61, 90, 0.28);
    background: transparent;
    color: var(--primary);
    border-radius: var(--radius-xs);
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.calc-cart-remove:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

/* Quantity input */
.qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(127, 121, 113, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.3);
}

.qty-row label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: var(--radius-xs);
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    box-shadow: 0 6px 14px var(--primary-glow);
}

.qty-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.qty-btn:active {
    transform: translateY(1px);
}

.qty-btn:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 2px;
}

.qty-input {
    width: 99px; /* 78px * 1.10 */
    padding: 8px 12px;
    border: 1.5px solid rgba(127, 121, 113, 0.2);
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 1.35rem;
    text-align: center;
    background: white;
    color: var(--text);
    transition: border-color var(--transition);
}
.qty-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Results */
.result-line {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(127, 121, 113, 0.06);
    font-size: 0.95rem;
}
.result-line:last-of-type { border-bottom: none; }
.result-line .result-label { color: var(--text-muted); }
.result-line.result-line-item {
    align-items: flex-start;
    gap: 12px;
}
.result-line .result-main {
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
    min-width: 0;
}
.result-line .result-meta {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.3;
}
.result-line .result-value-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    flex-shrink: 0;
}

.result-remove-btn {
    margin-top: 0.35rem;
    border: 1px solid rgba(27, 61, 90, 0.28);
    background: transparent;
    color: var(--primary);
    border-radius: var(--radius-xs);
    padding: 5px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.result-remove-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}
.result-line .result-value {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text);
}
.result-line .result-subvalue {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: normal;
    text-align: right;
    max-width: 220px;
}

.discount-section {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(127, 121, 113, 0.04);
    border-radius: var(--radius-sm);
}
.discount-section label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--text-muted);
    padding: 0.4rem 0;
}
.discount-section input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.total-box {
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}
.total-box .total-label { font-weight: 500; }
.total-box .total-amount {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
}

.calc-disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

.btn-print-quote {
    margin-top: 0.9rem;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Controls */
.calc-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 12px;
}

/* ============================================================
   INSTRUCTIONS SECTION
   ============================================================ */
.instr-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.instr-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.instr-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(127, 121, 113, 0.12);
    border-radius: var(--radius-sm);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
    color: var(--text);
}

.instr-card .instr-card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.instr-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow);
}

.instr-result {
    animation: sectionFadeIn var(--transition-slow) forwards;
}

.instr-result h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.instr-result p {
    line-height: 1.8;
    font-size: 1rem;
}

.instr-contact-copy {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border: 1px dashed rgba(27, 61, 90, 0.35);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.68);
    user-select: text;
}

.instr-contact-copy strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--primary);
    font-size: 0.92rem;
}

.instr-contact-copy p {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
    word-break: break-word;
}

.instr-contact-copy p + p {
    margin-top: 0.3rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-pri {
    padding: 10px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}
.btn-pri:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-glow);
}
.btn-pri:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-sec {
    padding: 10px 28px;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-sec:hover {
    background: var(--primary-light);
}

.btn-text {
    padding: 8px 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.88rem;
    cursor: pointer;
    transition: color var(--transition);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.btn-text:hover { color: var(--primary); }

/* ============================================================
   ACCESSIBILITY PANEL – Floating Glass
   ============================================================ */
#accessibility-panel {
    position: fixed;
    bottom: calc(24px + var(--footer-height));
    left: 24px;
    z-index: 2000;
}

#a11y-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all var(--transition);
}
#a11y-toggle:hover {
    transform: scale(1.08);
    box-shadow: var(--glass-shadow-lg);
}

.a11y-controls {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: min(360px, calc(100vw - 28px));
    background: var(--glass-bg-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow-lg);
    padding: 1.15rem;
    max-height: min(78vh, 720px);
    overflow-y: auto;
    animation: sectionFadeIn 0.3s ease forwards;
}

.a11y-controls h4 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(127, 121, 113, 0.08);
}

.a11y-contrast-status {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: black;
    font-weight: 500;
    line-height: 1.2;
    background: white;
    border-radius: 8px;
    padding: 3px 6px;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

#a11y-contrast-status {
    text-align: center;
    width: 100%;
}

.a11y-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.85rem;
}

.a11y-inline-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.a11y-inline-row #font-slider {
    flex: 1;
}

.a11y-field > button,
.a11y-choice-btn {
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(127, 121, 113, 0.15);
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
    box-shadow: 0 6px 14px rgba(16, 38, 54, 0.06);
}

.a11y-field > button:hover,
.a11y-choice-btn:hover {
    background: var(--primary);
    color: white;
}

.a11y-field > button:focus-visible,
.a11y-choice-btn:focus-visible,
.a11y-link-btn:focus-visible,
.a11y-reset-swatch:focus-visible,
.a11y-swatch:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 2px;
}

.a11y-link-btn {
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.a11y-section {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(127, 121, 113, 0.08);
}

.a11y-section-title {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.a11y-scheme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.a11y-scheme-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.a11y-custom-section {
    display: grid;
    gap: 0.75rem;
}

.a11y-color-group {
    display: grid;
    gap: 0.45rem;
}

.a11y-color-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.a11y-reset-swatch {
    border: 1px solid rgba(127, 121, 113, 0.2);
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 5px 10px;
}

.a11y-reset-swatch:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.a11y-swatch-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.45rem;
}

.a11y-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    border: 1px solid rgba(22, 41, 58, 0.18);
    background: var(--swatch-color);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
}

.a11y-swatch:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 41, 58, 0.14);
}

.a11y-swatch.active {
    transform: translateY(-1px) scale(1.04);
    border-color: #111111;
    box-shadow: 0 0 0 2px #ffffff inset, 0 0 0 1px #111111;
}

.a11y-swatch[data-color="#ffffff"],
.a11y-swatch[data-color="#f9f8f6"],
.a11y-swatch[data-color="#f6f1e1"] {
    border-color: rgba(22, 41, 58, 0.35);
}

.a11y-controls input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ============================================================
   MOBILE / RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    :root {
        --nav-height: 0px;
        --footer-height: 88px;
    }

    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }

    .main-container {
        flex-direction: column;
        margin-top: 0;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .glass-nav {
        position: relative;
        top: 0;
        width: 100%;
        border-radius: 0;
        transform: none;
        left: 0;
        padding: 0.6rem 1.2rem;
    }

    .nav-info {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 2px;
        padding-top: 0.6rem;
        border-top: 1px solid rgba(127, 121, 113, 0.08);
    }
    .nav-links.mobile-open {
        display: flex;
    }
    .nav-links a {
        padding: 10px 12px;
        display: block;
    }

    #canvas-container {
        height: 220px;
        width: 100%;
        order: -1;
    }

    .hero-float-img {
        top: 1rem;
        width: min(70%, 320px);
        border-radius: var(--radius-sm);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    #content-wrapper {
        width: 100%;
        height: auto;
        overflow: visible;
        padding: 1.5rem 1.2rem 3rem;
    }

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

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

    .wizard-container {
        padding: 1.5rem;
    }

    .contact-details-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .contact-details-list li span:first-child {
        min-width: 0;
    }

    .contact-detail-link,
    .contact-detail-address {
        text-align: left;
        max-width: none;
        margin-left: 0;
    }

    .calc-controls {
        flex-wrap: wrap;
    }

    .site-brand-strip {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-top: 0;
        flex-direction: column-reverse;
        align-items: stretch;
        justify-content: center;
    }

    .site-footer-inner {
        width: 100%;
        height: 150px;
        align-items: stretch;
        padding: 1rem 2rem 2rem;
    }

    .site-footer-text {
        font-size: .75rem;
    }

    .site-footer-text-mobile-copyright {
        font-size: 1rem;
        display: block;
    }

    .site-footer-text-mobile-copyright .site-footer-org-line {
        display: block;
        white-space: nowrap;
    }

    .site-footer-row {
        justify-content: center;
        padding: 0px;
    }

    .site-footer-row-top {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .site-footer-row-top .site-footer-text-mobile-copyright {
        order: -1;
    }

    .site-footer-row-bottom {
        display: none;
    }

    .site-footer-logos {
        width: 100%;
        padding: 0px;
        justify-content: center;
        align-items: center;
    }

    .site-footer-logo {
        height: 75px;
    }

    

    #accessibility-panel {
        bottom: calc(12px + var(--footer-height));
        left: 12px;
    }

    #a11y-toggle {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .a11y-controls {
        width: min(320px, calc(100vw - 24px));
        max-height: 70vh;
        padding: 1rem;
    }

    .a11y-swatch-row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .copy-toast {
        top: 14px;
        left: 12px;
        right: 12px;
        max-width: none;
    }
}

@media (max-width: 600px) {
    :root {
        --footer-height: 122px;
    }

    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.4rem; }

    .team-grid {
        justify-content: center;
        width: 100%;
        max-width: 320px;
        margin: 1.5rem auto 2rem;
        gap: 28px 18px;
    }

    .team-member {
        flex: 1 1 120px;
        width: auto;
        max-width: 140px;
    }

    .site-footer-inner {
        font-size: 0.58rem;
        gap: 0.18rem;
    }

    .site-footer-row {
        justify-content: flex-start;
        width: 100%;
    }

    .site-footer-text-mobile-copyright {
        font-size: 1rem;
        padding-bottom: 5px;
    }

    .site-footer-text {
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .site-footer-logo {
        max-height: 50px;
        padding: 6px 8px;
    }
    
    .feature-card { padding: 1.3rem; }

    #welcome .contact-btn {
        display: flex;
        width: 100%;
        margin-right: 0;
    }
    
    .total-box {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .btn-print-quote {
        width: 100%;
    }

    .price-row.expanded .price-details {
        max-height: 240px;
    }

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

    .calc-cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .calc-cart-remove {
        width: 100%;
    }

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

/* ============================================================
   DESKTOP 4K SCALING – Center content
   ============================================================ */
@media (min-width: 2000px) {
    #content-wrapper {
        padding-left: 6rem;
        padding-right: 6rem;
    }
    h1 { font-size: 3.2rem; }
}
