:root {
    --color-white: #FFFFFF;
    --color-brown: #592E02;
    --color-brown-light: #7A4205;
    --color-blue: #000862;
    --color-blue-dark: #000433;
    --color-bg-light: #f8f9fa;
    --color-text: #333333;
    --color-text-muted: #666666;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 5px 15px rgba(0, 8, 98, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 8, 98, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 8, 98, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Cormorant Garamond', serif;
}

.logo,
.serif {
    font-family: 'Marck Script', cursive;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-left {
    transform: translateY(40px);
}

.reveal.fade-right {
    transform: translateY(40px);
}

.reveal.fade-left.active,
.reveal.fade-right.active {
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 8, 98, 0.95);
    backdrop-filter: blur(15px);
    color: var(--color-white);
    z-index: 1000;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(89, 46, 2, 0.5);
    transition: var(--transition);
}

.navbar.shrink {
    padding: 0.6rem 5%;
    background: rgba(0, 4, 51, 0.98);
}

.logo {
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-white);
    cursor: pointer;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--color-brown);
    transition: var(--transition);
}

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

.controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.emergency-phone {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-brown);
    background: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.emergency-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--color-bg-light);
}

.lang-switcher {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.lang-switcher button {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-switcher button.active,
.lang-switcher button:hover {
    color: var(--color-brown);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transform-origin: center;
    transition: var(--transition);
}

/* Burger morphs into an X while the menu is open */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Lock background scroll while the mobile menu is open */
body.nav-open {
    overflow: hidden;
}

/* Single-page smooth scroll */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 90px;
}

/* Common Section */
.section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-light {
    background: var(--color-white);
}

.section-dark {
    background: var(--color-blue-dark);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 4rem;
    color: var(--color-blue);
    margin-bottom: 1.5rem;
    display: block;
}

.section-dark .section-title {
    color: var(--color-white);
}

/* Decorative rule sits in normal flow BELOW the heading text —
   never absolutely positioned over it. margin: auto keeps it centred. */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    margin: 1rem auto 0;
    background: var(--color-brown);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: var(--color-brown);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-brown-light);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/hero-bg.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-blue-dark) 0%, rgba(0, 4, 51, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 800px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-brown);
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero p.desc {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

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

/* Features (Below Hero) */
.features-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    /* negative margin overlaps the hero without leaving an empty gap below */
    margin: -110px auto 0;
}

.feature-box {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-brown);
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.5rem;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

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

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
    height: 600px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-brown);
    z-index: -1;
}

.about-text h3 {
    font-size: 3rem;
    color: var(--color-blue);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-list {
    list-style: none;
    margin-top: 2rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-list-icon {
    color: var(--color-brown);
    font-size: 1.5rem;
    line-height: 1;
}

.about-list h5 {
    font-size: 1.3rem;
    color: var(--color-blue);
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
}

/* Services Detail Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--color-white);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-brown);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--color-brown);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 2rem;
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.price-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--color-bg-light);
    color: var(--color-brown);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* Catalog Filter & Grid */
.catalog-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-bottom: 0.5rem;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-brown);
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--color-blue);
}

.filter-btn.active::after,
.filter-btn:hover::after {
    width: 100%;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.catalog-item {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-radius: 20px;
    overflow: hidden;
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.catalog-img {
    height: 350px;
    position: relative;
    overflow: hidden;
    background: #eaeaea;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.catalog-content {
    padding: 2rem;
    text-align: center;
}

.catalog-content h4 {
    font-size: 1.8rem;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.catalog-price {
    color: var(--color-brown);
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

/* FAQ Section */
.faq-item {
    background: var(--color-white);
    margin-bottom: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-blue);
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-brown);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 2rem;
    color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    overflow: hidden;
}

.contact-info {
    background: var(--color-blue);
    color: var(--color-white);
    padding: 5rem 4rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-icon {
    font-size: 2rem;
    color: var(--color-brown);
}

.info-text h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text p {
    font-size: 1.1rem;
    font-weight: 500;
}

.info-text p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.info-text p a:hover {
    color: var(--color-brown-light);
    text-decoration: underline;
}

.contact-form {
    padding: 5rem 6rem;
}

.contact-form h3 {
    font-size: 3rem;
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.contact-form>p {
    margin-bottom: 3rem;
    color: var(--color-text-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-full {
    grid-column: 1 / -1;
}

.form-input {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--color-brown);
}

/* Footer */
footer {
    background: var(--color-blue-dark);
    color: var(--color-white);
    padding: 6rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 350px;
}

.footer-h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-white);
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-brown);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-bar {
        /* keep 3 columns, drop the hero overlap on smaller screens */
        margin: 0 auto 4rem;
    }

    .hero {
        height: auto;
        padding: 10rem 10% 6rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        /* solid panel — top padding clears the fixed navbar (which sits above at z 1000) */
        padding: 6rem 5% 3rem;
        background: var(--color-blue-dark);
        text-align: center;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu-toggle {
        display: flex;
    }

    /* backdrop-filter on .navbar creates a containing block for its
       position:fixed children, anchoring the .nav-links panel to the
       navbar instead of the viewport. Drop it on mobile so the panel
       fills the viewport, and layer the navbar contents above it. */
    .navbar,
    .navbar.shrink {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--color-blue);
    }

    .navbar .logo-wrapper,
    .navbar .controls,
    .navbar .menu-toggle {
        position: relative;
        z-index: 2;
    }

    .nav-links {
        z-index: 1;
    }

    /* Duplicate of the sticky bottom "Подзвонити" bar — hide in the
       navbar. Kept at 992px so it disappears together with the burger. */
    .emergency-phone {
        display: none;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .features-bar {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p.desc {
        font-size: 1rem;
    }

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

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

    .controls {
        display: flex;
        gap: 1rem;
    }

    .lang-switcher button {
        font-size: 0.75rem;
        margin-left: 0.4rem;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* ============================================================
   REFACTOR ADDITIONS
   ============================================================ */

/* Logo (navbar + footer) — replaces former inline styles */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.navbar .logo-wrapper {
    transform: translateY(4px);
}

.logo-dove {
    fill: var(--color-white);
    margin-top: -5px;
}

/* single dove sits left of the wordmark, facing it */
.logo-dove--left {
    transform: scaleX(-1);
}

.footer-logo {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 3rem;
}

.footer-dove {
    fill: currentColor;
}

/* Inline line-icons (single visual style) */
.icon {
    flex: 0 0 auto;
    vertical-align: middle;
}

.footer-phone {
    font-size: 1.5rem;
    color: var(--color-brown);
}

/* Trust line (§12.1) */
.trust-line {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 0 5% 4rem;
    margin: 0 auto;
}

/* First-hours steps (§12.2) */
.steps {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border-radius: 20px;
    padding: 1.5rem 2rem;
}

.step-num {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-blue);
    color: var(--color-white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
}

.step p {
    font-size: 1.1rem;
    color: var(--color-text);
}

/* Service note (EN repatriation, §4.3) */
.srv-note {
    margin-top: 1rem;
    color: var(--color-brown);
    font-weight: 600;
    font-size: 0.95rem;
}

.srv-note:empty {
    display: none;
}

/* FAQ list + answer spacing (moved from inline styles) */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-answer p {
    padding-top: 1rem;
}

/* Contact form result states */
.form-result {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.form-result--error {
    color: var(--color-brown);
}

.form-result-phone {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--color-brown);
    text-decoration: none;
    white-space: nowrap;
}

/* No-JS emergency bar (§12.3) */
.noscript-bar {
    background: var(--color-brown);
    color: var(--color-white);
    text-align: center;
    padding: 0.8rem 1rem;
    font-weight: 600;
}

.noscript-bar a {
    color: var(--color-white);
}

/* Mobile sticky CTA (§6) */
.mobile-cta {
    display: none;
}

.mobile-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.mobile-cta__btn--call {
    flex: 1.6;
    background: var(--color-brown);
    color: var(--color-white);
}

.mobile-cta__btn--write {
    background: var(--color-blue);
    color: var(--color-white);
}

/* Visible focus for keyboard users (§10) */
:focus-visible {
    outline: 2px solid var(--color-brown);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1500;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
        padding-bottom: env(safe-area-inset-bottom);
        transition: transform 0.3s ease;
    }

    .mobile-cta.is-hidden {
        transform: translateY(120%);
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
}

/* Reduced motion (§10) */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}