html {
    scrollbar-gutter: stable;
}

body {
    overflow-x: hidden;
    position: relative;
}

html {
    width: 100%;
    overflow-x: hidden;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
}


* {
    box-sizing: border-box;
    max-width: 100%;
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

/* Fix for scroll to ID being covered by fixed header */
section[id] {
    scroll-margin-top: 100px;
}

/* =========================================
   DESIGN SYSTEM TOKENS (from design_system.html)
   ========================================= */
:root {
    --color-primary: #B89D94;
    --color-primary-rgb: 184, 157, 148;
    --color-primary-dark: #9A827A;
    --color-primary-light: #D4C4BE;
    --color-primary-deeper: #6E5C56;

    --color-secondary: #FFFFFF;
    --color-gray: #7A7A7A;

    --text-main: #5A5A5A;
    --text-heading: #3A3A3A;
    --text-muted: #8A8A8A;

    --bg-body: #FFFFFF;
    --bg-surface: #FAFAF9;
    --border-light: rgba(184, 157, 148, 0.15);
    --border-subtle: rgba(0, 0, 0, 0.04);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --beam-color: var(--color-primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* =========================================
   ANIMATIONS (from design_system.html)
   ========================================= */

/* Blur-Fade Entrance */
@keyframes animationIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation-fill-mode: forwards;
}

.animate-on-scroll.active {
    animation: animationIn 1.0s var(--ease-out-expo) forwards;
}

/* Stagger Delays */
.delay-100 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
    transition-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

.delay-700 {
    animation-delay: 0.7s;
    transition-delay: 0.7s;
}

.delay-800 {
    animation-delay: 0.8s;
    transition-delay: 0.8s;
}

/* Spacing Utilities */
.py-24 {
    padding-top: 96px;
    padding-bottom: 96px;
}

.py-32 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.py-48 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.py-56 {
    padding-top: 160px;
    padding-bottom: 160px;
}

.text-center {
    text-align: center;
}

/* Scroll Down Animation */
.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 64px;
    text-decoration: none;
    color: var(--color-primary-light);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    opacity: 0.7;
}

.scroll-indicator:hover {
    color: var(--color-primary);
    transform: translateY(6px);
    opacity: 1;
}

.scroll-indicator iconify-icon {
    font-size: 1.1rem;
    animation: bounce 2.5s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-2px);
    }
}


/* Float */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Spin */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Beam Animations */
@keyframes beam-v {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(120%);
        opacity: 0;
    }
}

@keyframes beam-h {
    0% {
        transform: translateX(-200px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

.beam-h,
.beam-v {
    display: none;
}

/*.beam-v {
    position: absolute;
    width: 1px;
    height: 200px;
    background: linear-gradient(180deg, transparent, var(--beam-color), transparent);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-200px);
    will-change: transform;
}

.beam-h {
    position: absolute;
    height: 1px;
    width: 200px;
    background: linear-gradient(90deg, transparent, var(--beam-color), transparent);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-200px);
    will-change: transform;
}*/

/* Subtle Pulse */
@keyframes subtlePulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Image Reveal */
@keyframes imageReveal {
    0% {
        clip-path: inset(100% 0 0 0);
        transform: scale(1.08);
    }

    100% {
        clip-path: inset(0 0 0 0);
        transform: scale(1);
    }
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.bg-grid {
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(184, 157, 148, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(184, 157, 148, 0.04) 1px, transparent 1px);
}

.grid-line-v {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(184, 157, 148, 0.06);
    z-index: 0;
}

.grid-line-h {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(184, 157, 148, 0.06);
    z-index: 0;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

/* Force header to appear instantly — no slide, no blur, no delay */
header.animate-on-scroll,
header.animate-on-scroll.active {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* Beam Button */
.beam-btn {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 1.5px;
    cursor: pointer;
    display: inline-flex;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
    border: none;
    background: none;
}

.beam-btn:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 16px 40px -8px rgba(184, 157, 148, 0.35);
}

.beam-spinner {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0 340deg, var(--color-primary) 360deg);
    animation: spin 3s linear infinite;
}

.beam-btn-content {
    background: var(--color-primary);
    color: #fff;
    padding: 16px 40px;
    border-radius: 11px;
    position: relative;
    z-index: 2;
    transition: background 0.3s;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.beam-btn:hover .beam-btn-content {
    background: var(--color-primary-dark);
}

/* Glow Card */
.glow-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.glow-card::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 157, 148, 0.08) 0%, transparent 60%);
    top: var(--y, -250px);
    left: var(--x, -250px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.glow-card:hover::after {
    opacity: 1;
}

.glow-card:hover {
    border-color: rgba(184, 157, 148, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -15px rgba(184, 157, 148, 0.15);
}

/* Flashlight Card (Interactive hover) */
.flashlight-card {
    background: rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: border-color 0.3s, transform 0.3s var(--ease-out-expo);
    z-index: 1;
}

.flashlight-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.flashlight-card::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(184, 157, 148, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 2;
}

.flashlight-card:hover::before {
    opacity: 1;
}

/* =========================================
   HERO-SPECIFIC STYLES
   ========================================= */

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Image Container */
.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    animation: imageReveal 1.4s var(--ease-out-expo) 0.3s both;
}

/* Decorative frame behind image */
.hero-image-frame {
    position: absolute;
    top: 20px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary-light);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.5;
}

/* Floating accent dot */
.accent-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
    position: absolute;
    animation: subtlePulse 3s ease-in-out infinite;
}

/* Areas of practice tags */
.practice-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary-deeper);
    background: rgba(184, 157, 148, 0.08);
    border: 1px solid rgba(184, 157, 148, 0.12);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.practice-tag:hover {
    background: rgba(184, 157, 148, 0.15);
    border-color: rgba(184, 157, 148, 0.3);
    transform: translateY(-1px);
}

/* Practice Tags Carousel */
.hero-tags-carousel {
    display: flex;
    width: max-content;
    max-width: none;
    animation: scroll-tags 35s linear infinite;
    will-change: transform;
}

.hero-tags-carousel:hover {
    animation-play-state: paused;
}

.hero-tags-track {
    display: flex;
    gap: 10px;
    padding-right: 10px;
}

@keyframes scroll-tags {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Divider line */
.divider-warm {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
}

/* WhatsApp button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-heading);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #fff;
    border-color: rgba(184, 157, 148, 0.4);
    box-shadow: 0 8px 24px -6px rgba(184, 157, 148, 0.15);
    transform: translateY(-2px);
}

/* Trust indicators */
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trust-item iconify-icon {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    margin-bottom: 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--border-light);
}

.faq-item summary {
    padding: 24px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
    content: '';
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(184, 157, 148, 0.08);
}

.faq-item[open] summary::after {
    content: '−';
    background: rgba(184, 157, 148, 0.15);
}

.faq-item summary:hover {
    color: var(--color-primary);
}

.faq-item[open] summary {
    color: var(--color-primary);
}

.faq-item p {
    padding: 0 0 24px 0;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.8;
    max-width: 680px;
}

@media (max-width: 768px) {
    .faq-item summary {
        font-size: 0.95rem;
        padding: 20px 0;
    }

    .faq-item p {
        font-size: 0.9rem;
    }
}

/* Scroll Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0 !important;
    }

    .hero-text-col {
        display: contents;
    }

    .hero-text-col>* {
        text-align: center;
    }

    .hero-image-col {
        order: 2;
        max-width: 320px;
        margin: 0 auto 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-image-col .glow-card:first-of-type {
        left: 0px !important;
        bottom: 10px !important;
    }

    .hero-image-col .glow-card:last-of-type {
        right: 0px !important;
        top: 20px !important;
    }

    .hero-cta-group {
        order: 3;
        justify-content: center !important;
        flex-direction: column;
        width: 100%;
        gap: 12px !important;
    }

    .hero-trust-row {
        order: 4;
        justify-content: center !important;
    }

    .hero-tags {
        justify-content: center !important;
    }

    .divider-warm {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-frame {
        right: 0px;
        top: 14px;
    }

    .hero-image-col .glow-card {
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .hero-image-frame {
        right: 0 !important;
    }

    .bg-orb {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.site-footer {
    position: relative;
    z-index: 10;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
}

.footer-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-heading);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-title::before {
    content: '';
    width: 16px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s var(--ease-out-expo);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

a.footer-contact-item:hover {
    color: var(--color-primary);
}

.footer-contact-item iconify-icon {
    color: var(--color-primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 157, 148, 0.08);
    border: 1px solid rgba(184, 157, 148, 0.12);
    color: var(--color-primary-deeper);
    font-size: 1.15rem;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -6px rgba(184, 157, 148, 0.3);
}

/* Footer Form */
.footer-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.footer-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(184, 157, 148, 0.1);
}

.footer-input::placeholder {
    color: var(--text-muted);
}

textarea.footer-input {
    resize: vertical;
    min-height: 80px;
}

.footer-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.footer-submit-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(184, 157, 148, 0.3);
}

.footer-submit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Copyright */
.footer-copyright {
    border-top: 1px solid var(--border-light);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer Form Section */
.footer-form-section {
    position: relative;
    z-index: 10;
    background: #fff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* =========================================
   LAYOUT UTILITIES (from design_system.html)
   ========================================= */
.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
}

.divider-warm {
    height: 1.5px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    width: 60px;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.container-luxury {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.items-center {
    align-items: center;
}

.section-title-luxury {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .grid-2col {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .grid-3col {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .section-title-luxury {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    .footer-copyright {
        flex-direction: column;
        text-align: center;
    }

    .footer-form-grid {
        grid-template-columns: 1fr !important;
    }

    .py-32,
    .py-48,
    .py-56 {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .grid-3col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .metric-row {
        flex-direction: column;
        gap: 32px !important;
        text-align: center;
    }

    .metric-value {
        font-size: 4rem !important;
    }

    .section-title-luxury {
        font-size: 1.75rem;
    }

    #contato-final .section-title-luxury {
        font-size: 2rem !important;
    }
}

/* Responsive adjustments for header - Push-Down Menu (HTML/CSS ONLY) */
.nav-btn {
    display: none;
}

.mobile-cta-only {
    display: none;
}

/* Ensure header is sticky instead of fixed for better push behavior */
header.fixed {
    position: sticky !important;
    top: 0;
    width: 100%;
}

@media (max-width: 1024px) {
    header>div:first-of-type {
        padding: 0 20px !important;
        flex-wrap: wrap;
        /* Allow wrapping for the push effect */
    }

    .nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 18px;
        cursor: pointer;
        order: 2;
        /* Burger on the right */
    }

    /* Target only the first link (the Logo) for ordering */
    header>div:first-of-type>a:first-of-type {
        order: 1;
        /* Logo on the left */
    }

    .nav-btn label {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
    }

    .nav-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-heading);
        border-radius: 2px;
    }

    .nav-links {
        display: none !important;
        /* Hidden by default */
        position: relative;
        /* Relative pushes content down */
        width: 100%;
        background: #FFFFFF;
        flex-direction: column !important;
        padding: 24px 0 !important;
        gap: 20px !important;
        border-top: 1px solid var(--border-light);
        order: 3;
        /* Appears below logo/toggle row */
        margin-top: 12px;
    }

    /* Ensure children of nav-links follow their natural HTML order */
    .nav-links * {
        order: initial !important;
    }

    .mobile-cta-only {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .mobile-cta-only.mobile-cta-only {
        /* Specificity boost */
        background: var(--color-primary) !important;
        color: #fff !important;
        display: block;
        text-align: center;
        padding: 12px 24px;
        border-radius: 12px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(184, 157, 148, 0.3);
    }

    .desktop-cta {
        display: none !important;
    }

    /* Checkbox Hack Trigger - Expand the header and show links */
    #nav-check:checked~.nav-links {
        display: flex !important;
    }

    /* Adjust header container height when open if necessary */
    header {
        height: auto !important;
        transition: none;
    }

    header>div:first-of-type {
        height: auto !important;
        min-height: 72px;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

@media (max-width: 768px) {
    header a span.font-heading {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    header div[style*="width: 36px"] {
        width: 32px !important;
        height: 32px !important;
    }
}

/* Services Grid fix for tablets */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.fixed {
    max-width: 100%;
    overflow-x: hidden;
}