@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700&f[]=monument-extended@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500&family=Anton&display=swap');

/* 
   Yasno — Premium Quiet Luxury Design System
   Method: Editorial Noir & Brutalism
*/

:root {
    /* Color Palette — Quiet Luxury */
    --bg-base: #FAF9F6;
    --text-primary: #1C1A19;
    --accent: #C6B388; /* Brass */
    --muted: #7B6C64;  /* Muted Earth */
    --hero-overlay: rgba(28, 26, 25, 0.7);
    
    /* Typography */
    --font-display: 'Monument Extended', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    --font-sans: 'Satoshi', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    --font-mono: 'JetBrains Mono', 'Geist Mono', monospace;
    
    /* Grid Spacing */
    --gutter: 2rem;
}

body.light-off {
    --bg-base: #0C0C0C;
    --text-primary: #FAF9F6;
    --muted: #888888;
    --hero-overlay: rgba(12, 12, 12, 0.8);
}

/* 1. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0px !important; /* Force sharp corners on everything */
    box-shadow: none !important; /* Force remove all drop shadows */
    filter: none !important; /* Force remove all filters, including backdrop blur */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    overflow-x: clip;
    width: 100%;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: clip;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Плавный переход цвета и рамок на десктопах и мобильных */
body, 
header, 
section, 
footer, 
h1, h2, h3, p, 
span, a, 
.btn, 
.brand-card, 
.package-card, 
.hook-card, 
.observation-item, 
.standard-item, 
.step-item, 
.faq-item,
input, 
textarea, 
.file-upload-zone,
.hero-image-overlay {
    transition: background-color 1.5s ease, color 1.5s ease, border-color 1.5s ease, opacity 1.5s ease;
}


/* Fixed background SVG noise */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* 2. TYPOGRAPHY */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

p {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 60ch;
}

/* 3. HEADER (Sticky with CTA) */
.site-header {
    border-bottom: 1px solid var(--muted);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background-color: var(--bg-base);
    z-index: 100;
}

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

.logo {
    font-family: 'Anton', 'Impact', 'Arial Black', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-mono);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: none;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Theme Toggle — compact icon button */
.theme-toggle-icon {
    background: none;
    border: 1px solid var(--muted);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.125rem;
    color: var(--text-primary);
    transition: border-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
}

.theme-toggle-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-icon-sun,
.theme-icon-moon {
    position: absolute;
    transition: opacity 0.3s ease;
}

/* По умолчанию (свет ВКЛ): показываем луну (переключить на тёмный) */
.theme-icon-sun { opacity: 0; }
.theme-icon-moon { opacity: 1; }

/* Свет ВЫКЛ: показываем солнце (переключить на светлый) */
body.light-off .theme-icon-sun { opacity: 1; }
body.light-off .theme-icon-moon { opacity: 0; }

/* Header CTA — всегда видима на десктопе */
.header-cta {
    padding: 0.7rem 1.5rem !important;
    font-size: 0.75rem !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

/* Phone in header */
.header-phone {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-phone:hover {
    color: var(--accent);
}

body.light-off .header-phone {
    color: #FAF9F6;
}

body.light-off .header-phone:hover {
    color: var(--accent);
}

.nav-overlay {
    display: none;
}

.mobile-header-phone {
    display: none;
}

/* Burger Button (hidden on desktop) */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
    -webkit-appearance: none;
    appearance: none;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Light-off header overrides */
body.light-off .site-header .logo {
    color: #FAF9F6;
}

body.light-off .site-header .nav-link {
    color: #888888;
}

body.light-off .site-header .nav-link:hover {
    color: var(--accent);
}

body.light-off .theme-toggle-icon {
    color: #FAF9F6;
    border-color: #444;
}

body.light-off .theme-toggle-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
}

body.light-off .burger-btn span {
    background-color: #FAF9F6;
}

/* 4. HERO SECTION */
.hero {
    position: relative;
    min-height: 70dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--muted);
    background-color: #1C1A19;
}

.hero-asset {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('hero_garden_night.jpg');
    background-size: cover;
    background-position: center;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 26, 25, 0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text-block {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    color: #FAF9F6;
}

.hero-subtitle {
    color: #FAF9F6;
    opacity: 0.8;
}

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

/* 5. BUTTONS (Brutalist Inversion) */
.btn {
    padding: 1.25rem 2.5rem;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: 1px solid var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: none;
    background: transparent;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
    color: var(--text-primary);
}

.btn-primary {
    background-color: var(--accent);
    color: #0C0C0C;
    border-color: var(--accent);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
    background-color: #DCD0B4;
    color: #0C0C0C;
    border-color: #DCD0B4;
}

.btn-secondary {
    background-color: transparent !important;
    border: 1px solid var(--text-primary) !important;
    color: var(--text-primary) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--accent) !important;
    color: #0C0C0C !important;
    border-color: var(--accent) !important;
}

body.light-off .btn-secondary {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    background-color: transparent !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.light-off .btn-secondary:hover {
    background-color: var(--accent) !important;
    color: #0C0C0C !important;
    border-color: var(--accent) !important;
}

.full-width {
    width: 100%;
}

/* Section Common Titles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 3rem;
}

/* 6. BEFORE/AFTER SLIDER */
.section-slider {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border: 1px solid var(--muted);
    user-select: none;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-before {
    z-index: 1;
}

.slider-after {
    z-index: 2;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.slider-container img {
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.slider-after img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 50% 0 0);
    -webkit-clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
    background-color: transparent;
}

.slider-handle::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--accent);
    transform: translateX(-50%);
}

.slider-handle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 40px;
    background-color: #FFFFFF;
    border: 1px solid var(--text-primary);
    pointer-events: none;
}

/* 7. OBSERVATIONS GRID */
.section-observations {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
}

.observations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.observation-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--muted);
}

.tech-num {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--muted);
}

.observation-item h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    text-transform: uppercase;
}

.observation-item p {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.5;
}

/* 8. BRANDS BENTO GRID */
.section-brands {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
}

.brands-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.brand-card {
    border: 1px solid var(--muted);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-base);
}

.brand-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    pointer-events: none;
}

.brand-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    transition: color 0.5s ease;
}

.brand-card p {
    font-size: 1.125rem;
    color: var(--muted);
}

.brand-card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.brand-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Первые три карточки брендов: FX Luminaire, WE-EF, Robers */
.brand-card:nth-child(-n+3):hover .brand-card-bg,
.brand-card:nth-child(-n+3).in-view .brand-card-bg {
    opacity: 0.15;
}

/* Четвертая карточка бренда: Deltalight */
.brand-card:nth-child(4):hover .brand-card-bg,
.brand-card:nth-child(4).in-view .brand-card-bg {
    opacity: 0.30;
}

.brand-card:hover h3,
.brand-card.in-view h3 {
    color: var(--accent);
}

/* 9. STANDARDS (Clean Mounting) */
.section-standards {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.standard-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--muted);
}

.standard-item h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    text-transform: uppercase;
}

.standard-item p {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.5;
}

/* 10. PROJECT STEPS */
.section-steps {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
}

.steps-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-idx {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--accent);
    font-style: italic;
    opacity: 0.5;
    line-height: 1;
}

.step-item h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    text-transform: uppercase;
}

.step-item p {
    font-size: 1.125rem;
    color: var(--muted);
}

/* 11. SERVICE PACKAGES (Concepts) */
.section-packages {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.package-card {
    border: 1px solid var(--muted);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-base);
}

.package-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.package-card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.package-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-card:hover .package-card-bg,
.package-card.in-view .package-card-bg {
    opacity: 0.15;
}

.package-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.package-card p {
    font-size: 1.125rem;
    color: var(--muted);
    flex-grow: 1;
    margin-bottom: 2rem;
}

.package-meta {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--muted);
}

.price-indicator {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent);
}

/* 12. HOOK & FORM SECTION */
.section-hook {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
    scroll-margin-top: 0;
}

.hook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.hook-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.hook-text p {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.6;
}

.hook-card {
    background: transparent;
    border: 1px solid var(--muted);
    padding: 4rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
}

.form-group input[type="tel"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--muted);
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1.125rem;
}

.form-group input[type="tel"]:focus {
    outline: none;
    border-color: var(--text-primary);
}

.file-upload-zone {
    border: 1px dashed var(--muted);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.file-upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--muted);
    white-space: nowrap;
}

.form-group-checkbox {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.form-group-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    accent-color: var(--accent);
    border: 1px solid var(--muted);
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.4;
    cursor: pointer;
}

/* 13. FAQ SECTION */
.section-faq {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
}

.faq-list {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
    border-top: 1px solid var(--muted);
}

.faq-item {
    border-bottom: 1px solid var(--muted);
}

.faq-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    padding: 2.5rem 0;
    color: var(--text-primary);
}

.faq-toggle * {
    pointer-events: none; /* Fix Safari iOS touch/click events on button children */
}

.faq-toggle h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-toggle:hover h3,
.faq-item.open .faq-toggle h3 {
    color: var(--accent);
}

.faq-icon {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-left: 2rem;
    flex-shrink: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.4s ease, padding-bottom 0.4s ease;
}

.faq-content p {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.faq-item.open .faq-content {
    max-height: 500px; /* Increased from 300px to prevent text truncation on narrow mobile screens */
    opacity: 1;
    padding-bottom: 2.5rem;
}

/* 14. FOOTER */
footer {
    padding: 6rem 0 4rem;
    border-top: 1px solid var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.footer-grid .nav-link {
    font-size: 0.75rem;
    padding: 0;
    transition: color 0.2s ease;
}

.phone-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: var(--accent);
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.5;
}

/* 15. ADAPTIVITY */
@media (max-width: 1024px) {
    .observations-grid, .standards-grid, .steps-flow, .packages-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .brands-bento, .hook-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .slider-container {
        height: 400px;
    }
    
    .hook-card {
        padding: 2.5rem;
    }
    
    .package-card, .brand-card {
        padding: 2rem;
    }
    
    .package-card h3, .brand-card h3, .observation-item h3, .standard-item h3, .step-item h3, .faq-toggle h3 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 1.1rem 1.75rem;
        font-size: 0.8rem;
    }
    .upload-placeholder {
        font-size: 0.8rem;
    }
    .nav-link {
        font-size: 0.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile: burger menu, overlay nav */
    .burger-btn {
        display: flex;
    }

    .mobile-header-phone {
        display: block;
        font-family: var(--font-mono);
        font-size: clamp(0.75rem, 3.5vw, 0.875rem);
        color: var(--text-primary);
        text-decoration: none;
        margin-left: auto;
        margin-right: 1.25rem;
        white-space: nowrap;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .mobile-header-phone:hover {
        color: var(--accent);
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75vw;
        max-width: 320px;
        height: 100dvh;
        background-color: var(--bg-base);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        border-left: 1px solid var(--muted);
        transition: right 0.35s cubic-bezier(0.25, 1, 0.3, 1);
        z-index: 150;
    }

    .header-nav.active {
        right: 0;
    }

    /* Overlay behind mobile nav — separate element */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 140;
    }

    .nav-overlay.active {
        display: block;
    }

    .header-nav .nav-link {
        font-size: 1rem !important;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid var(--muted);
        width: 100%;
    }

    .header-nav .theme-toggle-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .header-nav .header-cta {
        width: 100%;
        padding: 1rem 1.5rem !important;
        font-size: 0.8rem !important;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    /* Hero mobile */
    .hero {
        min-height: 55dvh;
    }

    .hero-text-block {
        gap: 1.25rem;
    }

    .package-card, .brand-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .package-card h3, .brand-card h3, .observation-item h3, .standard-item h3, .step-item h3, .faq-toggle h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-col {
        align-items: center;
    }
    
    .footer-brand {
        align-items: center;
    }

    .btn {
        padding: 0.9rem 1.25rem;
        font-size: 0.75rem;
    }
    .upload-placeholder {
        font-size: 0.75rem;
    }
}

@media (max-width: 375px) {
    .btn {
        padding: 0.8rem 1rem;
        font-size: 0.7rem;
        letter-spacing: 0.02em;
    }
    .upload-placeholder {
        font-size: 0.7rem;
    }
}

/* 16. LEGAL PAGES & NOTES */
.legal-page {
    padding: clamp(6rem, 12vw, 10rem) 0;
    border-bottom: 1px solid var(--muted);
}

.legal-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
    margin-top: 4rem;
}

.legal-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--muted);
}

.legal-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.legal-section p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 100%;
}

.legal-section ul {
    margin-left: 1.5rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: var(--text-primary);
}

.form-privacy-note {
    font-size: 0.75rem !important;
    color: var(--muted) !important;
    line-height: 1.4 !important;
    margin-top: 1rem !important;
    max-width: 100% !important;
    text-align: center;
}

.form-privacy-note a {
    color: var(--muted);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.form-privacy-note a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .legal-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}