:root {
    /* Premium HSL Color Tokens - Sleek Dark Theme (Default) */
    --bg-main: #090a0a;
    --bg-surface: rgba(22, 24, 23, 0.72);
    --bg-header: rgba(9, 10, 10, 0.88);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #b65f32;
    --primary-glow: rgba(182, 95, 50, 0.24);
    --accent: #7fa08d;
    --accent-glow: rgba(127, 160, 141, 0.18);
    --success: #7fa08d;
    --success-glow: rgba(127, 160, 141, 0.18);
    
    --gradient-primary: linear-gradient(135deg, #b65f32 0%, #7fa08d 100%);
    --gradient-glow: 0 8px 32px 0 rgba(182, 95, 50, 0.22);
    --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.28);
    --tile-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.22));
    
    --font-sans: Aptos, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --blur: 16px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sophisticated Expat Light Theme */
body.light-mode,
html.light-mode-ready {
    --bg-main: #f7f4ef;
    --bg-surface: rgba(255, 255, 255, 0.88);
    --bg-header: rgba(247, 244, 239, 0.93);
    
    --border-color: rgba(15, 23, 42, 0.06);
    --border-hover: rgba(15, 23, 42, 0.12);
    
    --text-primary: #17211f;
    --text-secondary: #4d5d57;
    --text-muted: #75847e;
    
    --primary: #9b4f2d;
    --primary-glow: rgba(155, 79, 45, 0.14);
    --accent: #3f6f5c;
    --accent-glow: rgba(63, 111, 92, 0.13);
    
    --gradient-primary: linear-gradient(135deg, #9b4f2d 0%, #3f6f5c 100%);
    --gradient-glow: 0 8px 32px 0 rgba(155, 79, 45, 0.14);
    --shadow-sm: 0 10px 24px rgba(42, 34, 24, 0.08);
    --shadow-md: 0 18px 42px rgba(42, 34, 24, 0.13);
    --tile-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(235, 226, 212, 0.58));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

/* Background Glow Effects */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.04) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.auto-hero-visual {
    min-height: 420px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        radial-gradient(circle at 22% 18%, rgba(182, 95, 50, 0.28), transparent 28%),
        radial-gradient(circle at 78% 72%, rgba(127, 160, 141, 0.2), transparent 32%),
        #111312;
    box-shadow: var(--gradient-glow);
}

.auto-hero-visual span {
    display: grid;
    place-items: end start;
    min-height: 180px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(0,0,0,0.22));
    color: #f5f1eb;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body.light-mode .auto-hero-visual,
html.light-mode-ready .auto-hero-visual {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.85), rgba(240,235,226,0.72)),
        radial-gradient(circle at 22% 18%, rgba(155, 79, 45, 0.18), transparent 28%),
        radial-gradient(circle at 78% 72%, rgba(63, 111, 92, 0.14), transparent 32%);
}

body.light-mode .auto-hero-visual span,
html.light-mode-ready .auto-hero-visual span {
    color: #1e2522;
    background: rgba(255,255,255,0.5);
    border-color: rgba(30,37,34,0.08);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Sticky Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-header);
    backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition), border-color var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.05em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--gradient-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    padding: 7rem 0 5rem 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Trust stats row */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Interactive Before/After smile slider */
.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 2px solid var(--border-color);
    user-select: none;
    -webkit-user-drag: none;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-img.before {
    z-index: 1;
}

.slider-img.after {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #ffffff;
    z-index: 10;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle::before {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 11;
    pointer-events: none;
}

/* Feature grid cards */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

.badge-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem;
    backdrop-filter: blur(var(--blur));
    text-align: center;
    transition: var(--transition);
}

.badge-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}

.badge-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
    background: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.badge-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.badge-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Services Grid & Drawers */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(var(--blur));
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Cost savings price calculator */
.calculator-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(var(--blur));
    margin-bottom: 6rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-row {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Custom CSS sliders */
input[type=range] {
    width: 100%;
    background: var(--border-color);
    height: 6px;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(99,102,241,0.5);
    transition: var(--transition);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(217, 70, 239, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.savings-badge {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: var(--success-glow);
    color: var(--success);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.savings-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.savings-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Vacation & Tours Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 6rem auto;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.75rem;
    top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--bg-main);
    border: 4px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(var(--blur));
}

.timeline-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

/* Accordion FAQs */
.faq-grid {
    max-width: 800px;
    margin: 0 auto 6rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(var(--blur));
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    user-select: none;
}

.faq-icon-arrow {
    transition: transform var(--transition);
    color: var(--primary);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.98rem;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open {
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.faq-item.open .faq-icon-arrow {
    transform: rotate(180deg);
}

.faq-item.open .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 250px;
}

/* WhatsApp corner float widget */
.whatsapp-float {
    position: fixed;
    bottom: 2.25rem;
    right: 2.25rem;
    width: 3.75rem;
    height: 3.75rem;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    cursor: pointer;
    animation: whatsapp-pulse 2s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Contact Lead forms styling details */
.quote-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(var(--blur));
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    margin-bottom: 6rem;
}

.quote-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

/* Thank you funnel specific elements */
.thankyou-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 4rem 3rem;
    max-width: 650px;
    margin: 6rem auto;
    text-align: center;
    backdrop-filter: blur(var(--blur));
    box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}

.timer-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 2rem auto;
}

.timer-svg {
    transform: rotate(-90deg);
}

.timer-circle-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 6;
}

.timer-circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.29; /* 2 * PI * r (r = 54) */
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Table styling override for price charts */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.price-table th {
    background: rgba(99,102,241,0.05);
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 800;
}

.price-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.price-table tr:hover td {
    background: rgba(255,255,255,0.01);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-grid, .calc-grid, .quote-grid, .timeline-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .price-table th, .price-table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Cleaner production styling overrides */
:root {
    --bg-main: #0f1f1c;
    --bg-surface: rgba(255, 255, 255, 0.065);
    --bg-header: rgba(15, 31, 28, 0.94);
    --text-primary: #f7f3ea;
    --text-secondary: #c8d3cc;
    --text-muted: #8fa29a;
    --border-color: rgba(247, 243, 234, 0.12);
    --border-hover: rgba(247, 243, 234, 0.22);
    --primary: #d6a85a;
    --accent: #6fb3a3;
    --success: #73c69b;
    --gradient-primary: linear-gradient(135deg, #d6a85a 0%, #6fb3a3 100%);
    --gradient-glow: 0 10px 28px rgba(214, 168, 90, 0.18);
    --font-sans: Candara, Optima, Avenir Next, Avenir, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    --font-serif: Constantia, Charter, "Iowan Old Style", Georgia, serif;
}

body::before,
body::after {
    display: none;
}

body.light-mode .theme-toggle,
html.light-mode-ready .theme-toggle {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.16);
    color: #0f172a;
}

body.light-mode .btn-secondary,
html.light-mode-ready .btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.16);
}

body.light-mode .service-card,
body.light-mode .badge-card,
body.light-mode .quote-panel,
body.light-mode .timeline-content,
body.light-mode .faq-item,
body.light-mode .doctor-profile-block,
body.light-mode .pricing-snapshot-card,
body.light-mode .pricing-table-wrap,
body.light-mode .team-card,
body.light-mode .package-panel,
body.light-mode .testimonial-card,
body.light-mode .travel-support-steps article,
body.light-mode .comparison-table-wrap {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.10);
}

html.light-mode-ready .service-card,
html.light-mode-ready .badge-card,
html.light-mode-ready .quote-panel,
html.light-mode-ready .timeline-content,
html.light-mode-ready .faq-item,
html.light-mode-ready .doctor-profile-block,
html.light-mode-ready .pricing-snapshot-card,
html.light-mode-ready .pricing-table-wrap,
html.light-mode-ready .team-card,
html.light-mode-ready .package-panel,
html.light-mode-ready .testimonial-card,
html.light-mode-ready .travel-support-steps article,
html.light-mode-ready .comparison-table-wrap {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.10);
}

body.light-mode .footer-cta,
html.light-mode-ready .footer-cta {
    background: linear-gradient(135deg, rgba(154, 106, 32, 0.10), rgba(15, 118, 110, 0.08));
}

body.light-mode .site-footer,
html.light-mode-ready .site-footer {
    background: #f0eee6;
}

body.light-mode .trust-strip article,
html.light-mode-ready .trust-strip article {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.10);
}

body.light-mode .travel-support-section,
html.light-mode-ready .travel-support-section {
    background: #f8fafc;
}

body.light-mode .travel-support-steps article,
html.light-mode-ready .travel-support-steps article {
    background: #ffffff;
}

body.light-mode .home-hero,
html.light-mode-ready .home-hero {
    background:
        linear-gradient(90deg, rgba(154, 106, 32, 0.055) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #fffdf7 0%, #f7f4ec 68%, var(--bg-main) 100%);
    background-size: 76px 100%, auto;
    border-bottom-color: rgba(23, 33, 31, 0.10);
}

body.light-mode .home-hero .hero-tag,
html.light-mode-ready .home-hero .hero-tag {
    background: rgba(154, 106, 32, 0.09);
    border-color: rgba(154, 106, 32, 0.20);
    color: #805613;
}

body.light-mode .home-hero-media,
html.light-mode-ready .home-hero-media {
    background: #ffffff;
    border-color: rgba(23, 33, 31, 0.11);
    box-shadow: 0 24px 52px rgba(52, 44, 31, 0.14);
}

body.light-mode .stats-grid,
html.light-mode-ready .stats-grid {
    border-top-color: rgba(23, 33, 31, 0.12);
}

body.light-mode .stat-value,
html.light-mode-ready .stat-value {
    background: none;
    -webkit-text-fill-color: #8a5e1b;
    color: #8a5e1b;
}

body.light-mode .service-hero,
body.light-mode .quote-page,
html.light-mode-ready .service-hero,
html.light-mode-ready .quote-page {
    background:
        linear-gradient(135deg, rgba(154, 106, 32, 0.095), rgba(15, 118, 110, 0.055)),
        #fffdf7;
    border-bottom-color: rgba(23, 33, 31, 0.10);
}

body.light-mode .service-detail-hero::after,
html.light-mode-ready .service-detail-hero::after {
    background: linear-gradient(180deg, rgba(255, 253, 247, 0.08), rgba(12, 25, 22, 0.88));
}

body.light-mode .service-detail-hero > img,
html.light-mode-ready .service-detail-hero > img {
    opacity: 0.42;
}

body.light-mode .service-detail-hero-content,
html.light-mode-ready .service-detail-hero-content,
body.light-mode .service-detail-hero-content h1,
html.light-mode-ready .service-detail-hero-content h1,
body.light-mode .service-detail-hero-content p,
html.light-mode-ready .service-detail-hero-content p,
body.light-mode .service-detail-hero-content .post-breadcrumbs,
html.light-mode-ready .service-detail-hero-content .post-breadcrumbs,
body.light-mode .service-detail-hero-content .post-breadcrumbs a,
html.light-mode-ready .service-detail-hero-content .post-breadcrumbs a {
    color: #fffaf0;
}

body.light-mode .service-detail-hero-content p,
html.light-mode-ready .service-detail-hero-content p {
    color: rgba(255, 250, 240, 0.88);
}

body.light-mode .service-detail-hero-content .post-breadcrumbs,
html.light-mode-ready .service-detail-hero-content .post-breadcrumbs {
    color: rgba(255, 250, 240, 0.72);
}

.logo {
    letter-spacing: 0;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text-primary);
}

.logo span {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
}

.site-logo-img {
    width: auto;
    height: 48px;
    max-width: 210px;
    object-fit: contain;
    display: block;
}

.logo.has-logo-image {
    min-width: 142px;
    flex: 0 0 auto;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: #071411 !important;
    -webkit-text-fill-color: #071411 !important;
    font-size: 0.78rem;
    font-weight: 900;
}

.primary-nav {
    display: flex;
    align-items: center;
}

.site-header {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

.site-header.is-scrolled {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.nav-container {
    gap: 1.5rem;
}

.nav-menu {
    gap: 0.35rem;
}

.nav-link {
    padding: 0.55rem 0.72rem;
    border-radius: 8px;
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.nav-dropdown:hover > .nav-link,
.nav-dropdown:focus-within > .nav-link {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.nav-dropdown {
    position: relative;
}

.nav-mega {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.25rem);
    width: min(760px, calc(100vw - 2rem));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(15, 31, 28, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 130;
    transition: opacity 0.12s ease, visibility 0.12s ease;
}

.nav-dropdown:hover .nav-mega,
.nav-dropdown:focus-within .nav-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-mega-intro {
    padding: 1rem;
    border-radius: 9px;
    background: rgba(214, 168, 90, 0.11);
    border: 1px solid rgba(214, 168, 90, 0.16);
}

.nav-mega-kicker {
    display: block;
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 900;
    margin-bottom: 0.55rem;
}

.nav-mega-intro strong {
    display: block;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.9rem;
}

.nav-mega-intro a {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 850;
}

.nav-mega-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.nav-mega-list a {
    display: block;
    padding: 0.78rem;
    border-radius: 8px;
    color: var(--text-secondary);
}

.nav-mega-list a:hover {
    background: rgba(255, 255, 255, 0.055);
    color: var(--text-primary);
}

.nav-mega-list span {
    display: block;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 850;
    margin-bottom: 0.18rem;
}

.nav-mega-list small {
    display: block;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-cta {
    padding: 0.55rem 1rem;
    border-radius: 9px;
    font-size: 0.85rem;
}

.mobile-menu-toggle,
.nav-mobile-cta {
    display: none;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active,
body.light-mode .nav-dropdown:hover > .nav-link,
body.light-mode .nav-dropdown:focus-within > .nav-link,
html.light-mode-ready .nav-link:hover,
html.light-mode-ready .nav-link.active,
html.light-mode-ready .nav-dropdown:hover > .nav-link,
html.light-mode-ready .nav-dropdown:focus-within > .nav-link {
    background: rgba(154, 106, 32, 0.08);
}

body.light-mode .nav-mega,
html.light-mode-ready .nav-mega {
    background: rgba(255, 253, 247, 0.98);
    border-color: rgba(23, 33, 31, 0.11);
    box-shadow: 0 24px 70px rgba(52, 44, 31, 0.14);
}

body.light-mode .nav-mega-list a:hover,
html.light-mode-ready .nav-mega-list a:hover {
    background: rgba(154, 106, 32, 0.07);
}

.btn,
.service-card,
.badge-card,
.quote-panel,
.timeline-content,
.calculator-panel,
.faq-item {
    border-radius: 10px;
}

.btn-primary,
.shf-submit {
    color: #071411;
}

body.light-mode .btn-primary,
body.light-mode .shf-submit,
html.light-mode-ready .btn-primary,
html.light-mode-ready .shf-submit {
    color: #ffffff;
}

.section-tag,
.hero-tag,
.footer-kicker,
.footer-column h3,
.pricing-table th,
.comparison-table th,
.shf-section-label {
    letter-spacing: 0;
}

.service-hero,
.quote-page {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(15, 118, 110, 0.03));
    border-bottom: 1px solid var(--border-color);
}

.home-block {
    margin-bottom: 5.5rem;
}

.home-hero {
    padding: 6.5rem 0 5.25rem;
    background:
        linear-gradient(90deg, rgba(214, 168, 90, 0.075) 0 1px, transparent 1px 100%),
        radial-gradient(circle at 78% 12%, rgba(41, 117, 101, 0.22), transparent 32%),
        linear-gradient(180deg, rgba(247, 243, 234, 0.05), rgba(15, 31, 28, 0.94) 68%, var(--bg-main));
    background-size: 72px 100%, auto;
    border-bottom: 1px solid var(--border-color);
}

.home-hero .hero-title {
    max-width: 760px;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-hero .hero-subtitle {
    max-width: 720px;
}

.home-hero .hero-tag {
    color: var(--primary);
    border-color: rgba(214, 168, 90, 0.22);
    background: rgba(214, 168, 90, 0.12);
}

.home-hero-media {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
    background: rgba(255, 255, 255, 0.04);
    position: relative;
}

.home-hero-media::after {
    content: "Prag, Tschechien";
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.38rem 0.65rem;
    border-radius: 4px;
    background: rgba(15, 31, 28, 0.76);
    border: 1px solid rgba(247, 243, 234, 0.18);
    color: #f7f3ea;
    font-size: 0.78rem;
    font-weight: 750;
    backdrop-filter: blur(12px);
}

.home-hero-media.hero-visual-shell::after {
    content: none;
    display: none;
}

.home-hero-media.hero-visual-shell {
    padding: 0;
}

.home-hero-media.hero-visual-shell .auto-hero-visual {
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}

.home-hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
}

.homepage-split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: center;
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.featured-img-container {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
}

.featured-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.homepage-split > div:last-child {
    min-width: 0;
}

.featured-title {
    max-width: 720px;
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.12;
    margin: 0.65rem 0 1rem;
    overflow-wrap: anywhere;
}

.homepage-split .hero-tag {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
}

body.light-mode .homepage-split,
body.light-mode .featured-img-container,
html.light-mode-ready .homepage-split,
html.light-mode-ready .featured-img-container {
    background: #ffffff;
    border-color: rgba(23, 33, 31, 0.10);
}

.homepage-split p,
.home-quote-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 680px;
    overflow-wrap: anywhere;
}

.home-quote-cta {
    text-align: center;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.home-quote-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    margin: 0.5rem 0 1rem;
}

.custom-home-content {
    color: var(--text-secondary);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.trust-strip article {
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
}

.trust-strip strong,
.travel-support-steps strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.trust-strip span,
.travel-support-steps span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.doctor-profile-block {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.doctor-profile-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    margin: 0.6rem 0 1rem;
}

.doctor-profile-copy p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.doctor-profile-media {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.doctor-profile-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 0 0 1.5rem;
}

.check-list li {
    position: relative;
    color: var(--text-secondary);
    padding-left: 1.75rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: var(--success);
}

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.comparison-table th {
    color: var(--text-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(214, 168, 90, 0.10);
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table td:first-child {
    color: var(--text-primary);
    font-weight: 800;
}

.pricing-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.pricing-snapshot-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.04);
}

.pricing-snapshot-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pricing-snapshot-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.pricing-snapshot-card span {
    display: inline-flex;
    color: #a7f3d0;
    font-size: 0.82rem;
    font-weight: 800;
}

.pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.pricing-table {
    width: 100%;
    min-width: 840px;
    border-collapse: collapse;
}

.pricing-table-wrap::after {
    content: "Scroll table sideways on smaller screens";
    display: none;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    border-top: 1px solid var(--border-color);
}

.pricing-table th,
.pricing-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.pricing-table th {
    background: rgba(214, 168, 90, 0.10);
    color: var(--text-primary);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-table td {
    color: var(--text-secondary);
}

.pricing-table td:first-child strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
}

.pricing-table td:first-child span {
    display: block;
    color: var(--text-muted);
    font-size: 0.84rem;
    margin-top: 0.18rem;
}

.pricing-table td:nth-child(3) {
    color: var(--primary);
    font-weight: 850;
}

.pricing-table td:last-child {
    color: var(--success);
    font-weight: 900;
}

.pricing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.025);
}

.pricing-footer strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.team-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.45rem;
    background: rgba(255, 255, 255, 0.04);
}

.team-avatar {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(214, 168, 90, 0.14);
    color: var(--primary);
    border: 1px solid rgba(214, 168, 90, 0.24);
    font-weight: 900;
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

.team-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    display: block;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 850;
    margin-bottom: 0.8rem;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.team-profile-image {
    margin: 0 0 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.team-profile-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.package-panel {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background:
        linear-gradient(135deg, rgba(214, 168, 90, 0.10), rgba(111, 179, 163, 0.08)),
        rgba(255, 255, 255, 0.035);
}

.package-list {
    columns: 2 280px;
    column-gap: 2rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.package-list li {
    break-inside: avoid;
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.package-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary);
}

.article-hero {
    padding: 5.5rem 0 4rem;
    border-bottom: 1px solid var(--border-color);
    background:
        linear-gradient(90deg, rgba(214, 168, 90, 0.07) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(247, 243, 234, 0.045), rgba(15, 31, 28, 0.90));
    background-size: 76px 100%, auto;
}

.article-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 3rem;
    align-items: center;
}

.article-hero-copy h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.45rem, 6vw, 5rem);
    line-height: 1.02;
    margin: 0.75rem 0 1rem;
}

.article-hero-copy p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 740px;
}

.article-breadcrumbs {
    margin-bottom: 1.1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 750;
}

.article-meta span {
    padding-right: 0.85rem;
    border-right: 1px solid var(--border-color);
}

.article-meta span:last-child {
    border-right: 0;
}

.article-cover {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.article-cover img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
}

.article-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    gap: 3rem;
    align-items: start;
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.article-sidebar {
    position: sticky;
    top: 6rem;
    display: grid;
    gap: 1rem;
}

.article-sidebar-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.article-sidebar-label {
    display: block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.article-sidebar-card a:not(.btn),
.article-sidebar-card button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    padding: 0.65rem 0;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.article-sidebar-card a:last-child,
.article-sidebar-card button:last-child {
    border-bottom: 0;
}

.article-sidebar-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 0.9rem;
}

.article-content {
    max-width: 760px;
}

.article-lede {
    padding-left: 1.15rem;
    border-left: 3px solid var(--primary);
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.post-content h2,
.post-content h3 {
    color: var(--text-primary);
    margin: 2rem 0 0.85rem;
    line-height: 1.18;
}

.post-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.post-content p,
.post-content li {
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.post-content p {
    margin-bottom: 1.1rem;
}

.post-content ul,
.post-content ol {
    margin: 0 0 1.35rem 1.35rem;
}

.post-content a {
    color: var(--primary);
    font-weight: 800;
}

.article-author {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    max-width: 980px;
    margin-bottom: 5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.author-bio-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.author-bio-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(214, 168, 90, 0.14);
    color: var(--primary);
    font-weight: 900;
    font-size: 1.8rem;
}

.article-author h2 {
    margin: 0.25rem 0 0.35rem;
}

.article-author p {
    color: var(--text-secondary);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.post-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.card-img-wrapper {
    display: block;
    overflow: hidden;
}

.card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.post-card:hover .card-img {
    transform: scale(1.035);
}

.card-body {
    padding: 1.25rem;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.12rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.card-summary {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 900;
    font-size: 0.9rem;
}

.related-posts-section {
    padding-bottom: 5rem;
}

.blog-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.blog-archive-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 2rem;
}

.page-num {
    min-width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
}

.page-num.active,
.page-num:hover {
    background: var(--primary);
    color: #071411;
    border-color: var(--primary);
}

.empty-state {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
}

body.light-mode .article-hero,
html.light-mode-ready .article-hero {
    background:
        linear-gradient(90deg, rgba(154, 106, 32, 0.055) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #fffdf7 0%, #f7f4ec 100%);
    background-size: 76px 100%, auto;
}

body.light-mode .article-cover,
body.light-mode .article-sidebar-card,
body.light-mode .article-author,
body.light-mode .post-card,
body.light-mode .empty-state,
html.light-mode-ready .article-cover,
html.light-mode-ready .article-sidebar-card,
html.light-mode-ready .article-author,
html.light-mode-ready .post-card,
html.light-mode-ready .empty-state {
    background: #ffffff;
    border-color: rgba(23, 33, 31, 0.10);
    box-shadow: 0 18px 42px rgba(52, 44, 31, 0.08);
}

.travel-support-section {
    background: rgba(255, 255, 255, 0.035);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 0;
}

.travel-support-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.travel-support-grid h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    margin: 0.5rem 0 1rem;
}

.travel-support-grid p {
    color: var(--text-secondary);
    font-size: 1.03rem;
}

.travel-support-steps {
    display: grid;
    gap: 1rem;
}

.travel-support-steps article {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(11, 16, 32, 0.72);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.testimonial-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
}

.testimonial-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.homepage-faq {
    margin-bottom: 0;
}

.site-footer {
    border-top: 1px solid var(--border-color);
    background:
        linear-gradient(180deg, rgba(247, 243, 234, 0.025), rgba(0, 0, 0, 0)),
        #0b1715;
    padding: 3.5rem 0 2rem;
    margin-top: 4rem;
}

.footer-cta {
    transform: translateY(-2.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(15, 118, 110, 0.12));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.footer-kicker {
    color: #7dd3fc;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-cta h2 {
    margin: 0.35rem 0 0.45rem;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.12;
}

.footer-cta p,
.footer-brand p,
.footer-bottom {
    color: var(--text-secondary);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(150px, 0.72fr));
    gap: 2rem;
    padding: 0 0 2rem;
}

.footer-trust-note {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--primary);
    background: rgba(214, 168, 90, 0.08);
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 540px;
}

.footer-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 850;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: auto;
    height: 42px;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.footer-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.footer-brand p {
    max-width: 520px;
    margin-bottom: 1.15rem;
}

.footer-mini-cta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.9rem;
}

.footer-mini-cta a {
    color: var(--primary);
    font-weight: 850;
}

.footer-contact-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-contact-line a,
.footer-column a {
    color: var(--text-secondary);
}

.footer-contact-line a:hover,
.footer-column a:hover {
    color: var(--text-primary);
}

.footer-column h3 {
    margin: 0 0 1rem;
    color: var(--text-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
    font-size: 0.92rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    font-size: 0.84rem;
}

.service-hero-inner,
.quote-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.service-hero h1,
.quote-page-copy h1,
.service-detail-hero h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.service-hero p,
.quote-page-copy p,
.service-detail-hero p {
    color: var(--text-secondary);
    max-width: 680px;
    font-size: 1.08rem;
}

.service-list-wrap {
    padding-top: 4rem;
}

.services-grid-polished {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.service-card-polished {
    padding: 0;
    overflow: hidden;
}

.service-card-polished img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.service-card-polished > div {
    padding: 1.5rem;
}

.service-detail-hero {
    min-height: 520px;
    position: relative;
    display: flex;
    align-items: end;
    overflow: hidden;
}

.service-detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
}

.service-detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 16, 32, 0.18), rgba(11, 16, 32, 0.94));
}

.service-detail-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 4rem;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.service-detail-copy {
    background: transparent;
}

.service-guide-intro {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 2rem;
}

.service-guide-intro h2 {
    margin-top: 0;
}

.service-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
    align-items: stretch;
    margin: 2rem 0;
}

.service-content-grid > div:first-child,
.service-price-box,
.service-steps,
.service-final-cta {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    padding: 1.35rem;
}

.service-content-grid h2,
.service-steps h2,
.service-final-cta h2 {
    margin-top: 0;
}

.service-price-box {
    background:
        linear-gradient(135deg, rgba(214, 168, 90, 0.14), rgba(111, 179, 163, 0.08)),
        rgba(255, 255, 255, 0.035);
}

.service-price-box span {
    display: block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 0.55rem;
}

.service-price-box strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.45rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.service-price-box p,
.service-final-cta p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.service-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.service-link-row a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.9rem;
    font-weight: 800;
}

.service-link-row a:hover {
    border-color: rgba(214, 168, 90, 0.55);
    color: var(--primary);
    transform: translateY(-1px);
}

.service-steps {
    margin: 2rem 0;
}

.service-steps ol {
    margin-bottom: 0;
}

.service-final-cta {
    margin: 2.25rem 0;
    background:
        linear-gradient(135deg, rgba(214, 168, 90, 0.11), rgba(111, 179, 163, 0.10)),
        rgba(255, 255, 255, 0.04);
}

.service-final-cta .btn {
    margin-top: 1rem;
}

body.light-mode .service-guide-intro,
body.light-mode .service-content-grid > div:first-child,
body.light-mode .service-price-box,
body.light-mode .service-steps,
body.light-mode .service-final-cta,
html.light-mode-ready .service-guide-intro,
html.light-mode-ready .service-content-grid > div:first-child,
html.light-mode-ready .service-price-box,
html.light-mode-ready .service-steps,
html.light-mode-ready .service-final-cta {
    background: #ffffff;
    border-color: rgba(23, 33, 31, 0.10);
}

body.light-mode .service-price-box,
body.light-mode .service-final-cta,
html.light-mode-ready .service-price-box,
html.light-mode-ready .service-final-cta {
    background: linear-gradient(135deg, rgba(154, 106, 32, 0.09), rgba(15, 118, 110, 0.055)), #ffffff;
}

body.light-mode .service-link-row a,
html.light-mode-ready .service-link-row a {
    background: rgba(15, 118, 110, 0.045);
    border-color: rgba(23, 33, 31, 0.12);
}

.gallery-page {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.gallery-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.gallery-filter-row a {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.045);
    font-weight: 800;
    font-size: 0.9rem;
}

.gallery-filter-row a.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #111;
}

.gallery-case-grid {
    display: grid;
    gap: 1.5rem;
}

.gallery-case-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 1.25rem;
    align-items: stretch;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-surface);
    padding: 1rem;
}

.gallery-image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.gallery-image-pair figure {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.04);
}

.gallery-image-pair img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-image-pair figcaption {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    border-radius: 999px;
    background: rgba(11, 16, 32, 0.78);
    color: #fff;
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 900;
}

.gallery-case-copy {
    padding: 0.75rem;
}

.gallery-case-copy span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gallery-case-copy h2 {
    margin: 0.45rem 0 0.65rem;
    font-size: 1.45rem;
}

.gallery-case-copy p,
.gallery-case-copy li {
    color: var(--text-secondary);
}

.gallery-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.gallery-card-actions a {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    color: var(--text-primary);
    font-weight: 850;
    font-size: 0.86rem;
    background: rgba(255, 255, 255, 0.045);
}

.gallery-card-actions a:first-child {
    border-color: var(--primary);
    background: var(--primary);
    color: #111;
}

.project-hero {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.project-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.project-hero-copy h1 {
    max-width: 760px;
    margin: 0.7rem 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.96;
}

.project-hero-copy p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.project-preview-note {
    border-left: 3px solid var(--primary);
    padding-left: 0.85rem;
    color: var(--primary) !important;
    font-weight: 850;
}

.project-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.25rem 0;
}

.project-meta-row span {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.86rem;
    font-weight: 850;
}

.project-hero-image {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 10;
    background: rgba(255,255,255,.04);
}

.project-hero-image img,
.project-photo-grid img,
.related-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.project-detail-main {
    display: grid;
    gap: 1.5rem;
}

.project-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.project-photo-grid figure {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    aspect-ratio: 4 / 3;
    background: rgba(255,255,255,.04);
}

.project-story,
.project-side-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-surface);
    padding: 1.25rem;
}

.project-story h2,
.project-side-card h3 {
    margin-bottom: 0.75rem;
}

.project-story p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.project-detail-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.project-side-card {
    display: grid;
    gap: 0.55rem;
}

.project-side-card a {
    color: var(--text-primary);
    font-weight: 800;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.45rem;
}

.related-projects {
    padding-bottom: 5rem;
}

.related-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.related-project-card {
    display: grid;
    gap: 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-surface);
    padding: 0.75rem;
    color: var(--text-primary);
}

.related-project-card img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

.related-project-card span {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gallery-empty-state {
    max-width: 820px;
    margin: 0 auto;
}

body.light-mode .gallery-filter-row a,
html.light-mode-ready .gallery-filter-row a {
    background: rgba(15, 118, 110, 0.045);
}

body.light-mode .gallery-case-card,
html.light-mode-ready .gallery-case-card {
    background: #ffffff;
    border-color: rgba(23, 33, 31, 0.10);
}

.service-cta-panel {
    position: sticky;
    top: 6rem;
    align-self: start;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
}

.service-cta-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-cta-panel p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-cta-panel .btn {
    width: 100%;
    margin-top: 0.75rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.about-card {
    text-align: left;
}

.about-card h2 {
    font-size: 1rem;
    line-height: 1.5;
}

.quote-page-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
}

.quote-trust-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.quote-trust-list span {
    border-left: 3px solid var(--accent);
    padding-left: 0.9rem;
}

.savings-calculator-mini {
    margin-top: 2rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
}

.savings-calculator-mini h2 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.savings-calculator-mini p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.calc-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.calc-mini-grid label {
    color: var(--text-secondary);
    font-weight: 750;
    font-size: 0.9rem;
}

.calc-mini-grid input {
    width: 100%;
    margin-top: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 0.7rem;
}

.calc-mini-result {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.calc-mini-result span {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.45rem;
}

.calc-mini-result strong {
    color: var(--primary);
}

body.light-mode .savings-calculator-mini,
html.light-mode-ready .savings-calculator-mini {
    background: #ffffff;
    border-color: rgba(23, 33, 31, 0.10);
}

.quote-panel-pro {
    margin-bottom: 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.075);
}

.shf-form {
    display: block;
}

.shf-section-label {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.shf-group {
    margin-bottom: 1.25rem;
}

.shf-label {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.shf-checkbox-grid,
.shf-radio-grp,
.shf-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.shf-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shf-option label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 0.85rem 0.95rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 700;
}

.shf-option input:checked + label {
    border-color: rgba(214, 168, 90, 0.72);
    background: rgba(214, 168, 90, 0.14);
    color: var(--text-primary);
}

.shf-full {
    grid-column: 1 / -1;
}

.shf-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: inline-block;
}

.shf-check.sq {
    border-radius: 4px;
}

.shf-option input:checked + label .shf-check {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: inset 0 0 0 3px var(--bg-main);
}

.shf-consent-option {
    margin-top: 0.2rem;
}

.shf-consent-label {
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.05rem;
    line-height: 1.65;
    font-size: 0.94rem;
    font-weight: 650;
    color: var(--text-secondary);
    background:
        linear-gradient(135deg, rgba(181, 38, 30, 0.08), rgba(154, 112, 20, 0.08)),
        rgba(255, 255, 255, 0.035);
}

.shf-consent-label .shf-check {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 0.16rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
}

.shf-consent-label .shf-check::after {
    content: "";
    display: block;
    width: 6px;
    height: 10px;
    margin: 2px auto 0;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) scale(0.8);
    transition: opacity 160ms ease, transform 160ms ease;
}

.shf-consent-option input:checked + .shf-consent-label .shf-check {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.shf-consent-option input:checked + .shf-consent-label .shf-check::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.shf-consent-option input:focus-visible + .shf-consent-label {
    outline: 3px solid var(--primary-glow);
    outline-offset: 3px;
}

.shf-consent-label a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    font-weight: 850;
}

.shf-consent-label a:hover {
    color: var(--text-primary);
}

.shf-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.75rem 0;
}

.shf-opt-tag,
.shf-photo-badge {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.shf-form input[type="text"],
.shf-form input[type="email"],
.shf-form input[type="tel"],
.shf-form textarea,
.shf-form select {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 0.9rem 1rem;
    font: inherit;
}

.shf-form textarea {
    min-height: 118px;
    resize: vertical;
}

.shf-upload-area {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 0.35rem;
    border: 1.5px dashed rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    padding: 1.75rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.035);
}

.shf-upload-area input {
    display: none;
}

.shf-upload-icon {
    color: var(--primary);
}

.shf-photo-hint,
.shf-privacy {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.shf-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.shf-preview-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.shf-preview-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.shf-preview-item span {
    display: block;
    padding: 0.45rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shf-submit {
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    background: var(--gradient-primary);
    color: #071411;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

body.light-mode .shf-submit,
html.light-mode-ready .shf-submit {
    color: #ffffff;
}

.shf-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 900px) {
    .nav-container {
        height: 4.5rem;
        min-height: 4.5rem;
        flex-wrap: nowrap;
        gap: 0.75rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 2.5rem;
        height: 2.5rem;
        margin-left: auto;
        border: 1px solid var(--border-color);
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.06);
        color: var(--text-primary);
        cursor: pointer;
    }

    .site-logo-img {
        height: 40px;
        max-width: 168px;
    }

    .logo.has-logo-image {
        min-width: 118px;
    }

    .mobile-menu-toggle span {
        width: 17px;
        height: 2px;
        margin: 0 auto;
        border-radius: 999px;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    body.nav-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.nav-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .primary-nav {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: 5rem;
        display: block;
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
        padding: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background: rgba(15, 31, 28, 0.98);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        z-index: 125;
        display: none;
    }

    body.nav-open .primary-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        display: block;
    }

    body.nav-open {
        overflow: hidden;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.35rem;
        overflow: visible;
        padding-bottom: 0;
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        white-space: normal;
        padding: 0.85rem;
    }

    .nav-dropdown > .nav-link {
        border-bottom: 1px solid var(--border-color);
        border-radius: 8px 8px 0 0;
    }

    .nav-mega {
        position: static;
        width: 100%;
        transform: none;
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 0.35rem;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.035);
    }

    .nav-mega-intro {
        display: none;
    }

    .nav-mega-list a {
        padding: 0.68rem 0.85rem;
    }

    .nav-mega-list small {
        display: none;
    }

    .nav-mega-list {
        grid-template-columns: 1fr;
    }

    .nav-actions {
        margin-left: 0;
    }

    .header-cta {
        display: none;
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 0.5rem;
    }

    .nav-mobile-cta .btn {
        width: 100%;
    }

    body.light-mode .primary-nav,
    html.light-mode-ready .primary-nav {
        background: rgba(255, 253, 247, 0.98);
        box-shadow: 0 24px 70px rgba(52, 44, 31, 0.16);
    }

    body.light-mode .nav-mega,
    html.light-mode-ready .nav-mega {
        background: rgba(154, 106, 32, 0.04);
    }

    .service-hero-inner,
    .quote-page-grid,
    .service-detail-layout,
    .service-content-grid,
    .gallery-case-card,
    .gallery-image-pair,
    .homepage-split,
    .doctor-profile-block,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .service-cta-panel {
        position: static;
    }

    .footer-cta {
        transform: none;
        margin-top: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip,
    .pricing-snapshot-grid,
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .travel-support-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-hero-grid,
    .article-shell,
    .blog-archive-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar,
    .blog-archive-sidebar {
        position: static;
    }

    .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .shf-checkbox-grid,
    .shf-radio-grp,
    .shf-two-col {
        grid-template-columns: 1fr;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .trust-strip,
    .pricing-snapshot-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding: 4.5rem 0 4rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .shf-consent-label {
        padding: 0.9rem;
        gap: 0.7rem;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .shf-consent-label .shf-check {
        flex-basis: 19px;
        width: 19px;
        height: 19px;
    }

    .footer-cta,
    .doctor-profile-block,
    .homepage-split,
    .quote-panel,
    .pricing-footer {
        padding: 1.25rem;
    }

    .featured-img {
        aspect-ratio: 16 / 10;
    }

    .pricing-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .pricing-footer .btn {
        width: 100%;
    }

    .pricing-table-wrap::after {
        display: block;
    }

    .package-list {
        columns: 1;
    }

    .article-hero {
        padding: 4rem 0 3rem;
    }

    .article-shell,
    .blog-archive-layout {
        padding-top: 2.5rem;
    }

    .article-author {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}

body * {
    letter-spacing: 0 !important;
}

/* Auto-Restauration.de identity overrides: sober German workshop/editorial feel */
.site-header {
    border-bottom: 3px solid rgba(182, 95, 50, 0.42);
}

.nav-container {
    min-height: 76px;
}

.logo,
.footer-logo-lockup {
    text-transform: none;
}

.logo-mark,
.footer-logo-mark {
    border-radius: 4px;
    background: #b65f32;
    color: #fff;
    box-shadow: none;
}

.nav-link {
    border-radius: 4px;
    font-weight: 750;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(182, 95, 50, 0.14);
}

.home-hero {
    padding: 5.8rem 0 4.2rem;
    background:
        linear-gradient(90deg, rgba(182,95,50,0.12), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.76fr);
    align-items: center;
}

.hero-tag,
.section-tag,
.nav-mega-kicker {
    border-radius: 3px;
    color: var(--primary);
    background: rgba(182, 95, 50, 0.11);
    border: 1px solid rgba(182, 95, 50, 0.2);
}

.hero-title {
    max-width: 880px;
    font-size: clamp(2.45rem, 5vw, 5.35rem);
    line-height: 0.98;
}

.hero-desc {
    max-width: 720px;
    font-size: 1.09rem;
}

.btn {
    border-radius: 5px;
    font-weight: 800;
}

.btn-primary {
    background: #b65f32;
    box-shadow: 0 12px 28px rgba(182, 95, 50, 0.18);
}

.stat-item,
.badge-card,
.service-card,
.pricing-snapshot-card,
.testimonial-card,
.faq-item,
.timeline-content,
.quote-panel,
.package-panel,
.featured-card,
.doctor-profile-block {
    border-radius: 6px;
    box-shadow: none;
}

.service-card,
.badge-card,
.testimonial-card,
.pricing-snapshot-card {
    border-left: 4px solid rgba(182, 95, 50, 0.62);
}

.service-card:hover,
.badge-card:hover,
.testimonial-card:hover {
    transform: translateY(-2px);
    border-color: rgba(182, 95, 50, 0.76);
}

.section-header {
    align-items: flex-start;
    text-align: left;
}

.section-title {
    max-width: 860px;
}

.section-desc {
    margin-left: 0;
    max-width: 760px;
}

.comparison-table-wrap,
.pricing-table-wrap {
    border-radius: 6px;
}

.comparison-table th,
.pricing-table th {
    background: rgba(182, 95, 50, 0.12);
    text-transform: uppercase;
}

.travel-support-section,
.site-footer {
    background:
        linear-gradient(180deg, rgba(182,95,50,0.08), transparent),
        rgba(12, 13, 13, 0.92);
}

.site-footer {
    border-top: 3px solid rgba(182, 95, 50, 0.44);
}

.shf-form,
.quote-panel-pro {
    border-radius: 6px;
}

.shf-section-label {
    color: var(--primary);
}

.shf-option label,
.shf-upload-area,
.form-control,
input,
select,
textarea {
    border-radius: 5px !important;
}

.auto-hero-visual {
    border-radius: 8px;
    transform: rotate(-1deg);
}

.auto-hero-visual span {
    border-radius: 4px;
    font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
    text-transform: uppercase;
}

body.light-mode .home-hero,
html.light-mode-ready .home-hero {
    background:
        linear-gradient(90deg, rgba(155,79,45,0.12), transparent 42%),
        #f7f4ef;
}

body.light-mode .travel-support-section,
body.light-mode .site-footer,
html.light-mode-ready .travel-support-section,
html.light-mode-ready .site-footer {
    background: #252a27;
    color: #f7f4ef;
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .auto-hero-visual {
        min-height: 320px;
        transform: none;
    }
}

/* Auto-Restauration.de industrial editorial redesign */
:root {
    --bg-main: #0d0f0f;
    --bg-surface: #171a1a;
    --bg-header: rgba(13, 15, 15, 0.94);
    --border-color: rgba(229, 224, 214, 0.15);
    --border-hover: rgba(229, 224, 214, 0.32);
    --text-primary: #f2efe7;
    --text-secondary: #c6c0b5;
    --text-muted: #8d877d;
    --primary: #c24f2f;
    --primary-glow: rgba(194, 79, 47, 0.2);
    --accent: #d7a84f;
    --accent-glow: rgba(215, 168, 79, 0.18);
    --success: #6f8f83;
    --success-glow: rgba(111, 143, 131, 0.18);
    --steel: #6f8791;
    --workshop-line: rgba(215, 168, 79, 0.22);
    --gradient-primary: linear-gradient(135deg, #c24f2f 0%, #d7a84f 100%);
    --gradient-glow: 0 14px 34px rgba(194, 79, 47, 0.22);
    --font-sans: Bahnschrift, "DIN Alternate", "Aptos Narrow", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    --font-serif: Constantia, Cambria, Georgia, serif;
}

body.light-mode,
html.light-mode-ready {
    --bg-main: #f0ece3;
    --bg-surface: #fffaf0;
    --bg-header: rgba(240, 236, 227, 0.96);
    --border-color: rgba(43, 38, 31, 0.18);
    --border-hover: rgba(43, 38, 31, 0.36);
    --text-primary: #201d18;
    --text-secondary: #514a40;
    --text-muted: #776f63;
    --primary: #a94027;
    --primary-glow: rgba(169, 64, 39, 0.14);
    --accent: #8a651f;
    --accent-glow: rgba(138, 101, 31, 0.13);
    --success: #496e60;
    --success-glow: rgba(73, 110, 96, 0.12);
    --steel: #526c77;
    --workshop-line: rgba(138, 101, 31, 0.2);
    --gradient-primary: linear-gradient(135deg, #a94027 0%, #8a651f 100%);
    --gradient-glow: 0 14px 34px rgba(86, 60, 34, 0.16);
}

body {
    background:
        linear-gradient(90deg, rgba(215, 168, 79, 0.035) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 18rem),
        var(--bg-main);
    background-size: 92px 100%, auto, auto;
    letter-spacing: 0;
}

body.light-mode,
html.light-mode-ready body {
    background:
        linear-gradient(90deg, rgba(32, 29, 24, 0.035) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(240, 236, 227, 0) 20rem),
        var(--bg-main);
}

body::before,
body::after {
    display: none;
}

.container {
    max-width: 1240px;
}

.site-header {
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

body.light-mode .site-header,
html.light-mode-ready .site-header {
    box-shadow: 0 10px 28px rgba(43, 38, 31, 0.08);
}

.nav-container {
    height: 4.9rem;
}

.logo {
    gap: 0.75rem;
    font-size: 1.08rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text-primary);
}

.logo-mark,
.footer-logo-mark {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 2px;
    background: var(--primary);
    color: #fff6ea;
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18);
}

.site-logo-img {
    max-height: 52px;
    object-fit: contain;
}

.nav-menu {
    gap: 0.25rem;
}

.nav-link {
    padding: 0.72rem 0.88rem;
    border-radius: 2px;
    font-size: 0.86rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown:hover > .nav-link,
.nav-dropdown:focus-within > .nav-link {
    background: var(--primary);
    color: #fff7eb;
}

.nav-mega {
    right: 0;
    left: auto;
    width: min(680px, calc(100vw - 2rem));
    border-radius: 2px;
    border: 2px solid var(--border-color);
    border-top: 4px solid var(--primary);
    background: #141716;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

body.light-mode .nav-mega,
html.light-mode-ready .nav-mega {
    background: #fffaf0;
    border-color: rgba(43, 38, 31, 0.18);
    box-shadow: 0 28px 60px rgba(43, 38, 31, 0.16);
}

.nav-mega-intro strong {
    font-family: var(--font-serif);
}

.nav-mega-list a {
    border-radius: 2px;
    border-left: 3px solid transparent;
}

.nav-mega-list a:hover {
    border-left-color: var(--accent);
    background: rgba(215, 168, 79, 0.08);
}

.btn,
.shf-submit,
.nav-mobile-cta .btn {
    border-radius: 2px;
    min-height: 46px;
    padding: 0.78rem 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    box-shadow: none;
}

.btn-primary,
.shf-submit {
    background: var(--primary);
    color: #fff7eb;
    border: 2px solid var(--primary);
}

.btn-primary:hover,
.shf-submit:hover {
    background: #161817;
    color: #fff7eb;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: none;
}

body.light-mode .btn-primary:hover,
body.light-mode .shf-submit:hover,
html.light-mode-ready .btn-primary:hover,
html.light-mode-ready .shf-submit:hover {
    background: #201d18;
    color: #fffaf0;
}

.btn-secondary {
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #16120d;
}

.home-hero {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(3.5rem, 6vw, 6rem);
    border-bottom: 2px solid var(--border-color);
    background:
        linear-gradient(90deg, var(--workshop-line) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(194, 79, 47, 0.18), rgba(13, 15, 15, 0.64) 44%, var(--bg-main));
    background-size: 92px 100%, auto;
}

body.light-mode .home-hero,
html.light-mode-ready .home-hero {
    background:
        linear-gradient(90deg, rgba(43, 38, 31, 0.055) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #fff6e7 0%, #efe7d8 62%, var(--bg-main) 100%);
    border-bottom-color: rgba(43, 38, 31, 0.2);
}

.hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.home-hero .hero-title,
.hero-title {
    max-width: 880px;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6.7vw, 6.75rem);
    line-height: 0.93;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--text-primary);
}

.hero-desc,
.home-hero .hero-subtitle {
    max-width: 680px;
    font-size: clamp(1.04rem, 1.45vw, 1.22rem);
    color: var(--text-secondary);
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.hero-tag,
.section-tag {
    border-radius: 2px;
    border: 1px solid var(--border-color);
    background: rgba(215, 168, 79, 0.08);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 800;
}

body.light-mode .hero-tag,
body.light-mode .section-tag,
html.light-mode-ready .hero-tag,
html.light-mode-ready .section-tag {
    background: rgba(138, 101, 31, 0.09);
    color: #6f4f16;
    border-color: rgba(43, 38, 31, 0.18);
}

.home-hero-media {
    border-radius: 2px;
    border: 2px solid var(--border-color);
    border-bottom: 8px solid var(--primary);
    box-shadow: 18px 18px 0 rgba(215, 168, 79, 0.13);
    transform: rotate(0.5deg);
}

body.light-mode .home-hero-media,
html.light-mode-ready .home-hero-media {
    background: #fffaf0;
    box-shadow: 18px 18px 0 rgba(138, 101, 31, 0.12);
}

.home-hero-media::after {
    border-radius: 2px;
    background: var(--primary);
    color: #fff7eb;
    border: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auto-hero-visual {
    min-height: 500px;
    border: 0;
    border-radius: 0 !important;
    padding: 1.1rem;
    gap: 1.1rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.34)),
        repeating-linear-gradient(135deg, rgba(215, 168, 79, 0.16) 0 2px, transparent 2px 18px),
        #1c2020;
    box-shadow: none;
}

.auto-hero-visual span {
    border-radius: 0 !important;
    border: 1px solid rgba(242, 239, 231, 0.18);
    background: rgba(13, 15, 15, 0.58);
    color: #f2efe7;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.light-mode .auto-hero-visual,
html.light-mode-ready .auto-hero-visual {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(138, 101, 31, 0.14)),
        repeating-linear-gradient(135deg, rgba(32, 29, 24, 0.08) 0 2px, transparent 2px 18px),
        #efe7d8;
}

body.light-mode .auto-hero-visual span,
html.light-mode-ready .auto-hero-visual span {
    color: #201d18;
    background: rgba(255, 250, 240, 0.72);
    border-color: rgba(43, 38, 31, 0.18);
}

.stats-grid {
    border-radius: 2px;
    border: 2px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
}

.stat-item + .stat-item {
    border-left: 1px solid var(--border-color);
}

.stat-value {
    color: var(--accent);
}

.home-block {
    margin-bottom: clamp(4rem, 7vw, 7rem);
}

.section-header {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: end;
    border-top: 3px solid var(--primary);
    padding-top: 1.25rem;
    margin-bottom: 2rem;
}

.section-header .section-tag {
    justify-self: start;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.4vw, 4.5rem);
    line-height: 0.98;
    max-width: 850px;
}

.section-desc {
    grid-column: 2;
    color: var(--text-secondary);
    max-width: 720px;
}

.trust-badges,
.services-grid,
.pricing-snapshot-grid,
.team-grid,
.testimonial-grid {
    gap: 1rem;
}

.badge-card,
.service-card,
.pricing-snapshot-card,
.team-card,
.testimonial-card,
.quote-panel,
.faq-item,
.doctor-profile-block,
.pricing-table-wrap,
.comparison-table-wrap,
.package-panel,
.article-sidebar-card,
.post-card,
.gallery-case-card,
.about-card {
    border-radius: 2px;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    box-shadow: none;
}

body.light-mode .badge-card,
body.light-mode .service-card,
body.light-mode .pricing-snapshot-card,
body.light-mode .team-card,
body.light-mode .testimonial-card,
body.light-mode .quote-panel,
body.light-mode .faq-item,
body.light-mode .doctor-profile-block,
body.light-mode .pricing-table-wrap,
body.light-mode .comparison-table-wrap,
body.light-mode .package-panel,
body.light-mode .article-sidebar-card,
body.light-mode .post-card,
body.light-mode .gallery-case-card,
body.light-mode .about-card,
html.light-mode-ready .badge-card,
html.light-mode-ready .service-card,
html.light-mode-ready .pricing-snapshot-card,
html.light-mode-ready .team-card,
html.light-mode-ready .testimonial-card,
html.light-mode-ready .quote-panel,
html.light-mode-ready .faq-item,
html.light-mode-ready .doctor-profile-block,
html.light-mode-ready .pricing-table-wrap,
html.light-mode-ready .comparison-table-wrap,
html.light-mode-ready .package-panel,
html.light-mode-ready .article-sidebar-card,
html.light-mode-ready .post-card,
html.light-mode-ready .gallery-case-card,
html.light-mode-ready .about-card {
    background: #fffaf0;
    border-color: rgba(43, 38, 31, 0.18);
}

.badge-card,
.service-card,
.pricing-snapshot-card {
    position: relative;
    padding: 1.35rem;
}

.badge-card::before,
.service-card::before,
.pricing-snapshot-card::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    width: 5px;
    height: calc(100% + 2px);
    background: var(--primary);
}

.service-card:hover,
.badge-card:hover,
.pricing-snapshot-card:hover,
.testimonial-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 8px 8px 0 rgba(215, 168, 79, 0.12);
}

body.light-mode .service-card:hover,
body.light-mode .badge-card:hover,
body.light-mode .pricing-snapshot-card:hover,
body.light-mode .testimonial-card:hover,
html.light-mode-ready .service-card:hover,
html.light-mode-ready .badge-card:hover,
html.light-mode-ready .pricing-snapshot-card:hover,
html.light-mode-ready .testimonial-card:hover {
    box-shadow: 8px 8px 0 rgba(138, 101, 31, 0.12);
}

.service-title,
.badge-title,
.pricing-snapshot-card h3,
.team-card h3 {
    font-family: var(--font-serif);
    letter-spacing: 0;
}

.read-more {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.trust-strip {
    margin-top: -2rem;
}

.trust-strip article {
    border-radius: 2px;
    border-top: 4px solid var(--accent);
    background: #151817;
}

body.light-mode .trust-strip article,
html.light-mode-ready .trust-strip article {
    background: #fffaf0;
}

.doctor-profile-block,
.homepage-split {
    border-radius: 2px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    background:
        linear-gradient(90deg, rgba(215, 168, 79, 0.05) 0 1px, transparent 1px 100%),
        rgba(255, 255, 255, 0.03);
    background-size: 54px 100%;
}

.doctor-profile-copy h2,
.featured-title,
.home-quote-cta h2 {
    font-family: var(--font-serif);
    letter-spacing: 0;
}

.doctor-profile-media,
.featured-img-container {
    border-radius: 2px;
    border: 2px solid var(--border-color);
    box-shadow: 10px 10px 0 rgba(194, 79, 47, 0.12);
}

.check-list li::before {
    border-radius: 0;
    background: var(--primary);
}

.comparison-table th,
.pricing-table th {
    background: var(--primary);
    color: #fff7eb;
    letter-spacing: 0.055em;
}

.comparison-table td,
.pricing-table td {
    color: var(--text-secondary);
}

.pricing-table td:nth-child(3),
.pricing-table td:last-child,
.pricing-snapshot-card span {
    color: var(--accent);
}

.pricing-footer,
.service-final-cta,
.footer-cta {
    border-radius: 2px;
    background:
        linear-gradient(90deg, rgba(215, 168, 79, 0.12) 0 1px, transparent 1px 100%),
        #151817;
    background-size: 62px 100%;
    border: 2px solid var(--border-color);
}

body.light-mode .pricing-footer,
body.light-mode .service-final-cta,
body.light-mode .footer-cta,
html.light-mode-ready .pricing-footer,
html.light-mode-ready .service-final-cta,
html.light-mode-ready .footer-cta {
    background:
        linear-gradient(90deg, rgba(43, 38, 31, 0.06) 0 1px, transparent 1px 100%),
        #fff3dc;
    background-size: 62px 100%;
}

.site-footer {
    border-top: 6px solid var(--primary);
    background:
        linear-gradient(90deg, rgba(215, 168, 79, 0.04) 0 1px, transparent 1px 100%),
        #0b0d0d;
    background-size: 92px 100%;
}

body.light-mode .site-footer,
html.light-mode-ready .site-footer {
    background:
        linear-gradient(90deg, rgba(43, 38, 31, 0.045) 0 1px, transparent 1px 100%),
        #242019;
    color: #f8f0e2;
}

body.light-mode .site-footer .footer-brand p,
body.light-mode .site-footer .footer-bottom,
body.light-mode .site-footer .footer-column a,
body.light-mode .site-footer .footer-contact-line,
html.light-mode-ready .site-footer .footer-brand p,
html.light-mode-ready .site-footer .footer-bottom,
html.light-mode-ready .site-footer .footer-column a,
html.light-mode-ready .site-footer .footer-contact-line {
    color: rgba(248, 240, 226, 0.78);
}

.footer-column h3,
.footer-kicker {
    color: var(--accent);
}

.shf-form-shell,
#shf-form,
.shf-upload-area,
.shf-option label,
.shf-group input,
.shf-group textarea,
.shf-group select {
    border-radius: 2px !important;
}

.shf-section-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 980px) {
    .section-header {
        grid-template-columns: 1fr;
    }

    .section-desc {
        grid-column: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-media {
        transform: none;
        box-shadow: 10px 10px 0 rgba(215, 168, 79, 0.12);
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding-top: 3.25rem;
    }

    .home-hero .hero-title,
    .hero-title {
        font-size: clamp(2.55rem, 15vw, 4.2rem);
    }

    .hero-desc {
        padding-left: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item + .stat-item {
        border-left: 0;
        border-top: 1px solid var(--border-color);
    }

    .auto-hero-visual {
        min-height: 340px;
    }

    .nav-link {
        text-transform: none;
        letter-spacing: 0;
    }
}

.service-hero,
.quote-page,
.article-hero,
.page-hero,
.gallery-hero {
    padding: clamp(4rem, 7vw, 7rem) 0;
    border-bottom: 2px solid var(--border-color);
    background:
        linear-gradient(90deg, var(--workshop-line) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(194, 79, 47, 0.16), rgba(13, 15, 15, 0.72) 58%, var(--bg-main));
    background-size: 92px 100%, auto;
}

body.light-mode .service-hero,
body.light-mode .quote-page,
body.light-mode .article-hero,
body.light-mode .page-hero,
body.light-mode .gallery-hero,
html.light-mode-ready .service-hero,
html.light-mode-ready .quote-page,
html.light-mode-ready .article-hero,
html.light-mode-ready .page-hero,
html.light-mode-ready .gallery-hero {
    background:
        linear-gradient(90deg, rgba(43, 38, 31, 0.055) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #fff6e7, #efe7d8 72%, var(--bg-main));
}

.service-hero h1,
.service-detail-hero h1,
.quote-page h1,
.article-hero-copy h1,
.page-hero h1,
.gallery-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.service-hero p,
.service-detail-hero p,
.quote-page p,
.article-hero-copy p,
.page-hero p,
.gallery-hero p {
    color: var(--text-secondary);
}

.service-detail-hero {
    border-radius: 2px;
    border: 2px solid var(--border-color);
    border-bottom: 8px solid var(--primary);
    box-shadow: 16px 16px 0 rgba(215, 168, 79, 0.11);
}

.service-detail-hero-content {
    border-left: 5px solid var(--primary);
    padding-left: clamp(1rem, 2vw, 1.5rem);
}

.service-guide-intro,
.service-content-grid > div:first-child,
.service-price-box,
.service-steps,
.service-final-cta {
    border-radius: 2px;
}

.service-link-row a,
.article-sidebar-card a:not(.btn),
.article-sidebar-card button,
.gallery-filter-row a {
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.article-cover,
.card-img-wrapper,
.gallery-case-images,
.media-card-thumb {
    border-radius: 2px;
}

.post-card,
.article-sidebar-card,
.article-author,
.empty-state {
    border-radius: 2px;
}

.card-title,
.article-sidebar-card h3,
.article-author h3,
.post-content h2,
.post-content h3 {
    font-family: var(--font-serif);
    letter-spacing: 0;
}

.quote-grid {
    align-items: start;
}

.quote-panel-pro,
.shf-form {
    border: 2px solid var(--border-color);
    border-top: 6px solid var(--primary);
    background:
        linear-gradient(90deg, rgba(215, 168, 79, 0.045) 0 1px, transparent 1px 100%),
        rgba(255, 255, 255, 0.035);
    background-size: 54px 100%;
}

body.light-mode .quote-panel-pro,
body.light-mode .shf-form,
html.light-mode-ready .quote-panel-pro,
html.light-mode-ready .shf-form {
    background:
        linear-gradient(90deg, rgba(43, 38, 31, 0.04) 0 1px, transparent 1px 100%),
        #fffaf0;
    background-size: 54px 100%;
}

.shf-option input:checked + label {
    border-color: var(--primary);
    background: rgba(194, 79, 47, 0.12);
}

.shf-consent-option input:checked + .shf-consent-label {
    background:
        linear-gradient(135deg, rgba(181, 38, 30, 0.12), rgba(154, 112, 20, 0.10)),
        rgba(255, 255, 255, 0.035);
}

body.light-mode .shf-consent-label,
html.light-mode-ready .shf-consent-label {
    background:
        linear-gradient(135deg, rgba(159, 33, 27, 0.055), rgba(143, 106, 19, 0.075)),
        #fffdf8;
    border-color: rgba(38, 33, 27, 0.14);
    color: var(--text-secondary);
}

body.light-mode .shf-consent-option input:checked + .shf-consent-label,
html.light-mode-ready .shf-consent-option input:checked + .shf-consent-label {
    background:
        linear-gradient(135deg, rgba(159, 33, 27, 0.10), rgba(143, 106, 19, 0.11)),
        #fffaf0;
}

body.light-mode .shf-consent-label .shf-check,
html.light-mode-ready .shf-consent-label .shf-check {
    background: #ffffff;
}

body.light-mode .shf-consent-label a,
html.light-mode-ready .shf-consent-label a {
    color: var(--primary);
}

.shf-check {
    border-radius: 1px;
}

.shf-radio-grp .shf-check {
    border-radius: 50%;
}

.shf-upload-area {
    border-style: solid;
    border-width: 2px;
    background:
        repeating-linear-gradient(135deg, rgba(215, 168, 79, 0.08) 0 2px, transparent 2px 16px),
        rgba(255, 255, 255, 0.02);
}

.footer-main {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-mode .footer-main,
body.light-mode .footer-bottom,
html.light-mode-ready .footer-main,
html.light-mode-ready .footer-bottom {
    border-color: rgba(248, 240, 226, 0.14);
}

/* German flag inspired refinement: restrained black, red, gold */
:root {
    --bg-main: #0b0b0a;
    --bg-surface: #171614;
    --bg-header: rgba(11, 11, 10, 0.95);
    --text-primary: #f5f1e8;
    --text-secondary: #cfc7ba;
    --text-muted: #91887b;
    --primary: #b5261e;
    --primary-glow: rgba(181, 38, 30, 0.2);
    --accent: #9a7014;
    --accent-glow: rgba(154, 112, 20, 0.2);
    --border-color: rgba(245, 241, 232, 0.15);
    --border-hover: rgba(154, 112, 20, 0.42);
    --gradient-primary: linear-gradient(135deg, #b5261e 0%, #9a7014 100%);
}

body.light-mode,
html.light-mode-ready {
    --bg-main: #f3efe6;
    --bg-surface: #fffaf0;
    --bg-header: rgba(243, 239, 230, 0.96);
    --text-primary: #171411;
    --text-secondary: #4e473d;
    --text-muted: #736a5e;
    --primary: #9f211b;
    --primary-glow: rgba(159, 33, 27, 0.13);
    --accent: #8f6a13;
    --accent-glow: rgba(143, 106, 19, 0.13);
    --border-color: rgba(23, 20, 17, 0.18);
    --border-hover: rgba(159, 33, 27, 0.32);
    --gradient-primary: linear-gradient(135deg, #9f211b 0%, #8f6a13 100%);
}

.container {
    max-width: 1300px;
}

.site-logo-img {
    max-height: 58px;
    max-width: 260px;
}

.footer-logo-img {
    max-height: 64px;
    max-width: 280px;
    object-fit: contain;
}

.logo.has-logo-image {
    min-width: min(260px, 34vw);
}

.nav-mega {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 2rem));
}

.nav-dropdown:hover .nav-mega,
.nav-dropdown:focus-within .nav-mega {
    transform: translateX(-50%);
}

.home-hero .hero-title,
.hero-title {
    font-size: clamp(2.65rem, 4.8vw, 5.35rem);
    line-height: 0.98;
    max-width: 820px;
}

.home-hero {
    padding: clamp(3.6rem, 6.8vw, 6.4rem) 0 clamp(3rem, 5vw, 5rem);
}

.hero-desc,
.home-hero .hero-subtitle {
    font-size: clamp(1rem, 1.18vw, 1.14rem);
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
}

.auto-hero-visual {
    min-height: 430px;
}

.home-hero-media.hero-visual-shell::after {
    content: none;
    display: none;
}

.home-hero-media.hero-visual-shell {
    overflow: hidden;
}

.home-hero-media.hero-visual-shell .auto-hero-visual {
    min-height: clamp(330px, 32vw, 430px);
    height: 100%;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}

.auto-hero-tile {
    position: relative;
    display: grid;
    place-items: end start;
    min-height: 180px;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(242, 239, 231, 0.18);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28)),
        rgba(13, 15, 15, 0.58);
    color: #f2efe7;
    transition: transform .18s ease, border-color .18s ease, filter .18s ease;
}

.auto-hero-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--tile-bg);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .28s ease, transform .28s ease;
}

.auto-hero-tile.has-bg::before {
    opacity: .74;
}

.auto-hero-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.58)),
        linear-gradient(90deg, rgba(181, 38, 30, 0.2), transparent 58%);
}

.auto-hero-tile span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: auto;
    min-height: 0;
    padding: .42rem .58rem;
    border: 1px solid rgba(245, 241, 232, 0.22);
    background: rgba(11, 11, 10, 0.72);
    color: #f8e8b8;
    font-family: var(--font-sans);
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.auto-hero-tile:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.auto-hero-tile:hover::before {
    transform: scale(1.08);
}

body.light-mode .auto-hero-tile,
html.light-mode-ready .auto-hero-tile {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(143, 106, 19, 0.12)),
        #efe7d8;
    border-color: rgba(43, 38, 31, 0.18);
}

body.light-mode .auto-hero-tile::after,
html.light-mode-ready .auto-hero-tile::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)),
        linear-gradient(90deg, rgba(159, 33, 27, 0.18), transparent 58%);
}

body.light-mode .auto-hero-tile span,
html.light-mode-ready .auto-hero-tile span {
    color: #fff3d0;
    background: rgba(23, 20, 17, 0.76);
}

.site-header {
    border-bottom-color: var(--primary);
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown:hover > .nav-link,
.nav-dropdown:focus-within > .nav-link,
.btn-primary,
.shf-submit,
.badge-card::before,
.service-card::before,
.pricing-snapshot-card::before,
.home-hero-media::after,
.logo-mark,
.footer-logo-mark {
    background: var(--primary);
}

.pricing-table th,
.comparison-table th {
    background: #171411;
    color: #f8e8b8;
    border-bottom: 3px solid var(--primary);
}

body.light-mode .pricing-table th,
body.light-mode .comparison-table th,
html.light-mode-ready .pricing-table th,
html.light-mode-ready .comparison-table th {
    background: #171411;
    color: #f8e8b8;
}

@media (min-width: 1100px) {
    .home-hero .hero-title,
    .hero-title {
        font-size: clamp(3.2rem, 4.35vw, 5.15rem);
    }
}

@media (max-width: 980px) {
    .nav-mega {
        left: 0;
        right: auto;
        transform: none;
        width: 100%;
    }

    .nav-dropdown:hover .nav-mega,
    .nav-dropdown:focus-within .nav-mega {
        transform: none;
    }

    .logo.has-logo-image {
        min-width: 0;
    }

    .site-logo-img {
        max-width: 210px;
    }

    .home-hero {
        padding-top: 3.5rem;
        padding-bottom: 3.25rem;
        overflow: hidden;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .home-hero-media {
        width: 100%;
        max-width: 680px;
        margin-inline: auto;
    }

    .home-hero-media.hero-visual-shell .auto-hero-visual {
        min-height: auto;
        grid-auto-rows: minmax(132px, auto);
        padding: .8rem;
        gap: .7rem;
    }

    .auto-hero-tile {
        min-height: 132px;
        padding: .8rem;
    }
}

@media (max-width: 768px) {
    .service-hero,
    .quote-page,
    .article-hero,
    .page-hero,
    .gallery-hero {
        padding: 3rem 0 2.6rem;
        overflow-x: hidden;
    }

    .service-hero-inner,
    .quote-page-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.35rem;
        align-items: start;
    }

    .service-hero h1,
    .service-detail-hero h1,
    .quote-page h1,
    .article-hero-copy h1,
    .page-hero h1,
    .gallery-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.02;
        max-width: 100%;
    }

    .service-hero p,
    .service-detail-hero p,
    .quote-page p,
    .article-hero-copy p,
    .page-hero p,
    .gallery-hero p {
        font-size: 0.98rem;
        line-height: 1.65;
        max-width: 100%;
    }

    .service-hero .btn,
    .quote-page .btn {
        width: 100%;
        justify-content: center;
    }

    .home-hero .hero-title,
    .hero-title {
        max-width: 100%;
        font-size: clamp(2.15rem, 9.2vw, 3rem);
        line-height: 1.08;
    }

    .hero-desc,
    .home-hero .hero-subtitle {
        font-size: .98rem;
        line-height: 1.65;
        max-width: 100%;
        padding-left: .85rem;
    }

    .home-hero-media.hero-visual-shell .auto-hero-visual {
        grid-auto-rows: minmax(112px, auto);
        padding: .65rem;
        gap: .6rem;
    }

    .auto-hero-tile {
        min-height: 112px;
        padding: .7rem;
    }

    .auto-hero-tile span {
        max-width: 100%;
        font-size: .74rem;
        line-height: 1.2;
        letter-spacing: .045em;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .home-hero {
        padding-top: 2.75rem;
    }

    .home-hero .hero-title,
    .hero-title {
        font-size: clamp(2rem, 9.5vw, 2.55rem);
    }

    .hero-cta {
        gap: .75rem;
    }

    .home-hero-media.hero-visual-shell .auto-hero-visual {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(96px, auto);
        padding: .55rem;
    }

    .auto-hero-tile {
        min-height: 96px;
        padding: .6rem;
    }
}

.location-region-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.location-region-card {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.026);
    padding: 1rem;
}

.location-region-card h4 {
    margin: 0 0 .9rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--primary);
}

.location-link-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.location-link-list li {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.035);
    padding: .9rem;
}

.location-link-list a {
    display: block;
    color: var(--text-primary);
    font-weight: 800;
}

.location-link-list span {
    display: block;
    margin-top: .25rem;
    color: var(--text-muted);
    font-size: .9rem;
}

body.light-mode .location-link-list li,
html.light-mode-ready .location-link-list li,
body.light-mode .location-region-card,
html.light-mode-ready .location-region-card {
    background: rgba(255, 250, 240, 0.68);
}

@media (max-width: 820px) {
    .location-region-grid {
        grid-template-columns: 1fr;
    }
}

.home-projects-section {
    padding-top: clamp(3rem, 6vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.4rem);
    margin-top: 1.5rem;
}

.home-project-card {
    display: grid;
    gap: .85rem;
    min-width: 0;
    padding: .72rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-project-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 60%, var(--border-color));
    box-shadow: var(--shadow-md);
}

.home-project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-surface) 82%, var(--bg-main));
}

.home-project-card span {
    color: var(--primary);
    font: 800 .72rem/1 var(--font-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-project-card strong {
    display: block;
    color: var(--text-primary);
    font: 800 clamp(1.05rem, 1.5vw, 1.25rem)/1.25 var(--font-serif);
}

.home-project-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.65;
}

.section-footer-link {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .project-hero-grid,
    .project-detail-layout,
    .related-project-grid,
    .home-project-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-side {
        order: -1;
    }
}

@media (max-width: 640px) {
    .project-hero {
        padding: 2.5rem 0 2rem;
    }

    .project-hero-copy h1 {
        font-size: 2.2rem;
        line-height: 1;
    }

    .project-photo-grid,
    .gallery-image-pair {
        grid-template-columns: 1fr;
    }

    .gallery-card-actions,
    .gallery-card-actions a,
    .project-meta-row span {
        width: 100%;
    }
}
