:root {
    /* Premium HSL Color Tokens - Sleek Dark Theme (Default) */
    --bg-main: #07070c;
    --bg-surface: rgba(15, 14, 26, 0.65);
    --bg-header: rgba(7, 7, 12, 0.85);
    
    --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: #6366f1; /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.25);
    --accent: #d946ef; /* Magenta */
    --accent-glow: rgba(217, 70, 239, 0.2);
    --success: #10b981; /* Emerald for savings and success */
    --success-glow: rgba(16, 185, 129, 0.2);
    
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #a855f7 50%, #db2777 100%);
    --gradient-glow: 0 8px 32px 0 rgba(99, 102, 241, 0.25);
    
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe 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: #fbfaf6;
    --bg-surface: rgba(255, 255, 255, 0.86);
    --bg-header: rgba(251, 250, 246, 0.92);
    
    --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: #9a6a20;
    --primary-glow: rgba(154, 106, 32, 0.13);
    --accent: #0f766e;
    --accent-glow: rgba(15, 118, 110, 0.13);
    
    --gradient-primary: linear-gradient(135deg, #9a6a20 0%, #0f766e 100%);
    --gradient-glow: 0 8px 32px 0 rgba(154, 106, 32, 0.14);
}

* {
    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;
}

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: "Cuenca, Ecuador";
    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 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-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-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-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%;
    }

    .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;
}
