/* ==========================================================================
   HTML Factory — Base Stylesheet
   Generated with design tokens. Do not edit manually.
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    /* Colors */
    --c-primary: #a16207;
    --c-primary-hover: #854d0e;
    --c-accent: #fbbf24;
    --c-bg: #ffffff;
    --c-bg-alt: #fefce8;
    --c-bg-contrast: #fef3c7;
    --c-text: #2c1a0e;
    --c-text-secondary: #6b7280;
    --c-text-muted: #9ca3af;
    --c-border: #e5e7eb;

    /* RGB variants for rgba() usage */
    --c-primary-rgb: 161,98,7;

    /* Typography */
    --font-heading: 'EB Garamond', sans-serif;
    --font-body: 'Crimson Text', sans-serif;

    /* Border Radius */
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 16px;
    --r-full: 9999px;

    /* Spacing (8px base) */
    --s-xs: 4px;
    --s-sm: 8px;
    --s-md: 16px;
    --s-lg: 24px;
    --s-xl: 32px;
    --s-2xl: 48px;
    --s-3xl: 64px;
    --s-4xl: 80px;
    --s-5xl: 96px;
    --s-6xl: 120px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.08);
    --shadow-xl: 0 16px 48px rgba(0,0,0,.1);
    --shadow-glow: 0 4px 20px rgba(var(--c-primary-rgb),.15);
    --shadow-glow-lg: 0 8px 32px rgba(var(--c-primary-rgb),.25);

    /* Transitions */
    --t-fast: 150ms ease;
    --t-normal: 250ms ease;
    --t-slow: 400ms ease;
    --t-bounce: 300ms cubic-bezier(.34,1.56,.64,1);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol { list-style: none; }

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button { cursor: pointer; }

table {
    border-collapse: collapse;
    width: 100%;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--c-text);
}

h1 {
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1rem;
    line-height: 1.3;
}

.display {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 700;
}

p {
    margin-bottom: var(--s-md);
}

p:last-child { margin-bottom: 0; }

small, .text-small { font-size: 14px; line-height: 1.6; }

.text-caption { font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; }

.text-mono { font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.5; letter-spacing: 0.04em; }

strong { font-weight: 600; }

/* Typography Accents */
.text-gradient {
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    background: linear-gradient(transparent 60%, rgba(var(--c-primary-rgb), .15) 60%);
    padding: 0 4px;
}

.text-underline {
    text-decoration: underline;
    text-decoration-color: var(--c-accent);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.heading-dot::after {
    content: '.';
    color: var(--c-primary);
}

.heading-dash::before {
    content: '\2014\00a0';
    color: var(--c-primary);
    font-weight: 400;
}

.pull-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    line-height: 1.4;
    color: var(--c-primary);
    border-left: none;
    padding: var(--s-xl) 0;
    margin: var(--s-2xl) 0;
    text-align: center;
    font-style: italic;
}

/* ==========================================================================
   4. Layout — Containers
   ========================================================================== */

.container       { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow{ max-width: 640px;  margin: 0 auto; padding: 0 24px; }
.container-wide  { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-text  { max-width: 720px;  margin: 0 auto; padding: 0 24px; }
.full-bleed      { width: 100vw; margin-left: calc(-50vw + 50%); padding: 0; }

/* Grid Splits */
.grid-50-50 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2xl); align-items: center; }
.grid-60-40 { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-2xl); align-items: center; }
.grid-40-60 { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s-2xl); align-items: center; }
.grid-70-30 { display: grid; grid-template-columns: 2.3fr 1fr; gap: var(--s-2xl); align-items: center; }
.grid-30-70 { display: grid; grid-template-columns: 1fr 2.3fr; gap: var(--s-2xl); align-items: center; }
.grid-55-45 { display: grid; grid-template-columns: 1.22fr 1fr; gap: var(--s-2xl); align-items: center; }

/* Card Grid Patterns */
.grid-equal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-lg);
}

.grid-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--s-lg);
}
.grid-featured > :first-child { grid-row: 1 / -1; }

.grid-stagger {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-lg);
}
.grid-stagger > :nth-child(even) { margin-top: 40px; }

.grid-scroll {
    display: flex;
    gap: var(--s-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--s-md);
    -webkit-overflow-scrolling: touch;
}
.grid-scroll > * {
    flex: 0 0 300px;
    scroll-snap-align: start;
}
.grid-scroll::-webkit-scrollbar { height: 4px; }
.grid-scroll::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 2px; }

.grid-masonry {
    columns: 2;
    column-gap: var(--s-lg);
}
.grid-masonry > * {
    break-inside: avoid;
    margin-bottom: var(--s-lg);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }

/* ==========================================================================
   5. Section Base
   ========================================================================== */

.section {
    padding: var(--s-4xl) 0;
    position: relative;
    overflow: hidden;
}

.section--alt {
    background: var(--c-bg-alt);
}

.section--compact {
    padding: var(--s-3xl) 0;
}

.section--spacious {
    padding: var(--s-5xl) 0;
}

.section--hero {
    padding: var(--s-6xl) 0 var(--s-4xl);
}

/* ==========================================================================
   6. Depth Utilities
   ========================================================================== */

.section-overlap {
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.section-overlap-source {
    padding-bottom: calc(var(--s-4xl) + 48px);
}

.img-breakout {
    width: calc(100% + 80px);
    margin-left: -40px;
    border-radius: 0;
}

.img-breakout-right {
    width: calc(100% + 40px);
    margin-right: -40px;
    border-radius: var(--r-lg) 0 0 var(--r-lg);
}

.floating-card {
    position: relative;
    z-index: 3;
    margin-top: -60px;
    margin-bottom: -20px;
    box-shadow: var(--shadow-xl);
}

.section-layered {
    position: relative;
}
.section-layered::before {
    content: '';
    position: absolute;
    top: 40px; left: 5%; right: 5%;
    bottom: -20px;
    background: var(--c-bg-alt);
    border-radius: var(--r-xl);
    z-index: -1;
}

/* ==========================================================================
   7. Image Treatments
   ========================================================================== */

.img-rounded { border-radius: var(--r-lg); box-shadow: var(--shadow-xl); }
.img-sharp { border-radius: 0; }
.img-framed { border: 4px solid var(--c-bg); box-shadow: var(--shadow-lg); border-radius: var(--r-sm); }

.img-overlay { position: relative; display: inline-block; }
.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--c-primary-rgb), .1);
    border-radius: inherit;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.img-offset {
    position: relative;
    border-radius: var(--r-md);
    display: inline-block;
}
.img-offset::before {
    content: '';
    position: absolute;
    top: 12px; left: 12px; right: -12px; bottom: -12px;
    background: var(--c-bg-alt);
    border-radius: inherit;
    z-index: -1;
}

.img-zoom { overflow: hidden; border-radius: var(--r-md); }
.img-zoom img { transition: transform 0.5s ease; }
.img-zoom:hover img { transform: scale(1.06); }

/* ==========================================================================
   8. Buttons (5 variants)
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    color: #fff;
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    transition: all var(--t-normal);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    text-align: center;
    min-height: 44px;
}
.btn-primary:hover {
    background: var(--c-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 27px;
    background: transparent;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    transition: all var(--t-normal);
    cursor: pointer;
    min-height: 44px;
}
.btn-outline:hover {
    background: var(--c-primary);
    color: #fff;
}

.btn-ghost {
    padding: 8px 0;
    background: none;
    color: var(--c-primary);
    border: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--t-normal);
    cursor: pointer;
    min-height: 44px;
}
.btn-ghost:hover { gap: 10px; }
.btn-ghost::after { content: '\2192'; }

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #fff;
    color: var(--c-text);
    border: none;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    box-shadow: var(--shadow-md);
    transition: all var(--t-normal);
    cursor: pointer;
    min-height: 44px;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: var(--c-bg-alt);
    color: var(--c-primary);
    border: none;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
}

/* Button States */
.btn-loading {
    pointer-events: none;
    opacity: .7;
    position: relative;
}
.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

.btn-success {
    background: #22c55e !important;
    pointer-events: none;
}
.btn-success::after { content: ' \2713'; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   9. Cards (4 variants)
   ========================================================================== */

.card-bordered {
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: var(--s-xl);
    background: var(--c-bg);
    transition: box-shadow var(--t-normal), transform var(--t-normal);
}
.card-bordered:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-elevated {
    border: none;
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    background: var(--c-bg);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--t-normal), transform var(--t-normal);
}
.card-elevated:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.card-flat {
    border: none;
    border-radius: var(--r-md);
    padding: var(--s-xl);
    background: var(--c-bg-alt);
    transition: background var(--t-fast);
}
.card-flat:hover {
    background: var(--c-border);
}

.card-accent {
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-primary);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: var(--s-xl);
    background: var(--c-bg);
}

.card-accent--top {
    border-left: 1px solid var(--c-border);
    border-top: 3px solid var(--c-primary);
    border-radius: var(--r-sm);
}

/* ==========================================================================
   10. Section Headings (4 variants)
   ========================================================================== */

.section-heading { margin-bottom: var(--s-2xl); }

.section-heading--center {
    text-align: center;
    margin-bottom: var(--s-2xl);
}
.section-heading--center h2 { margin-bottom: var(--s-sm); }
.section-heading--center p {
    color: var(--c-text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

.section-heading--left { margin-bottom: var(--s-2xl); }
.accent-line {
    width: 40px;
    height: 3px;
    background: var(--c-primary);
    margin-bottom: var(--s-md);
    border-radius: 2px;
}

.section-heading--label { margin-bottom: var(--s-2xl); }
.label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-primary);
    display: block;
    margin-bottom: var(--s-sm);
}

.section-heading--solo { margin-bottom: var(--s-2xl); }

/* ==========================================================================
   11. Form Elements
   ========================================================================== */

.form-group {
    margin-bottom: var(--s-md);
}

.label-field {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    display: block;
    margin-bottom: 6px;
}

.input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 16px;
    font-family: inherit;
    background: var(--c-bg);
    color: var(--c-text);
    outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    min-height: 44px;
}
.input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), .1);
}
.input::placeholder { color: var(--c-text-muted); }

.input.valid { border-color: #22c55e; }
.input.invalid { border-color: #ef4444; animation: shake 0.3s ease; }

.field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: none;
    animation: fadeIn 0.2s ease;
}
.field-error.show { display: block; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* ==========================================================================
   12. Links (3 variants)
   ========================================================================== */

.link-slide {
    background-image: linear-gradient(var(--c-primary), var(--c-primary));
    background-size: 0% 1.5px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size var(--t-normal);
}
.link-slide:hover { background-size: 100% 1.5px; }

.link-color {
    color: var(--c-primary);
    transition: color var(--t-fast);
}
.link-color:hover { color: var(--c-primary-hover); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--c-primary);
    transition: gap var(--t-normal);
}
.link-arrow:hover { gap: 10px; }
.link-arrow::after { content: '\2192'; }

/* ==========================================================================
   13. Dark Section Variant
   ========================================================================== */

.section--dark {
    background: var(--c-bg-contrast);
    color: rgba(255,255,255,.85);
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.65); }
.section--dark .card-bordered {
    border-color: rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
}
.section--dark .card-bordered:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.section--dark .card-elevated {
    background: rgba(255,255,255,.05);
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.section--dark .card-elevated:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.section--dark .card-flat {
    background: rgba(255,255,255,.05);
}
.section--dark .card-accent {
    border-color: rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
}
.section--dark .btn-primary {
    background: #fff;
    color: var(--c-bg-contrast);
    box-shadow: var(--shadow-md);
}
.section--dark .btn-primary:hover {
    box-shadow: var(--shadow-xl);
}
.section--dark .btn-outline {
    border-color: rgba(255,255,255,.4);
    color: #fff;
}
.section--dark .btn-outline:hover {
    background: #fff;
    color: var(--c-bg-contrast);
}
.section--dark .input {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.15);
    color: #fff;
}
.section--dark .input::placeholder { color: rgba(255,255,255,.4); }
.section--dark .accent-line { background: var(--c-accent); }
.section--dark .label { color: var(--c-accent); }
.section--dark .link-color { color: var(--c-accent); }
.section--dark .text-gradient {
    background: linear-gradient(135deg, #fff, var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   14. Scroll Reveal Animations
   ========================================================================== */

body.js-ready .reveal {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.reveal.visible { opacity: 1; }

body.js-ready .reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

body.js-ready .reveal-stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.5s ease;
}
body.js-ready .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
body.js-ready .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: none; }
body.js-ready .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: none; }
body.js-ready .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.15s; opacity: 1; transform: none; }
body.js-ready .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.2s; opacity: 1; transform: none; }
body.js-ready .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.25s; opacity: 1; transform: none; }

/* ==========================================================================
   15. Hero Section
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2xl);
    align-items: center;
    padding: var(--s-4xl) 0 var(--s-3xl);
}

.hero-content h1 { margin-bottom: var(--s-md); }
.hero-content p {
    color: var(--c-text-secondary);
    margin-bottom: var(--s-xl);
    max-width: 480px;
}

.hero-image img {
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
}

.hero--centered {
    text-align: center;
    padding: var(--s-4xl) 0 var(--s-2xl);
}
.hero--centered h1 { max-width: 640px; margin: 0 auto var(--s-md); }
.hero--centered p { max-width: 520px; margin: 0 auto var(--s-xl); }
.hero--centered .hero-image {
    margin-top: var(--s-2xl);
}
.hero--centered .hero-image img {
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
}

.hero--fullphoto {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
}
.hero--fullphoto .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero--fullphoto .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero--fullphoto .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 50%, transparent 100%);
    z-index: 1;
}
.hero--fullphoto .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-bottom: var(--s-3xl);
}
.hero--fullphoto .hero-content h1 { color: #fff; }
.hero--fullphoto .hero-content p { color: rgba(255,255,255,.7); }

.hero--dark {
    background: var(--c-bg-contrast);
    text-align: center;
    padding: var(--s-6xl) 0;
    position: relative;
}
.hero--dark::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--c-primary-rgb), .08), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hero--dark h1 { color: #fff; position: relative; z-index: 1; }
.hero--dark p { color: rgba(255,255,255,.6); position: relative; z-index: 1; max-width: 520px; margin: 0 auto var(--s-xl); }
.hero--dark .btn-white { position: relative; z-index: 1; }

.hero--asymmetric {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--s-2xl);
    align-items: center;
    padding: var(--s-4xl) 0 var(--s-3xl);
}
.hero--asymmetric .hero-image { margin-top: 40px; }

/* ==========================================================================
   16. Trust Bar
   ========================================================================== */

.trust-bar {
    padding: var(--s-lg) 0;
    text-align: center;
}

.trust-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--s-sm);
    font-size: 14px;
    color: var(--c-text-secondary);
}
.trust-inline .trust-sep {
    margin: 0 var(--s-sm);
    color: var(--c-text-muted);
}

.trust-badges {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--s-sm);
}
.trust-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background: var(--c-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
}
.trust-badge-icon svg { width: 20px; height: 20px; }
.trust-badge-text { font-size: 14px; font-weight: 600; }
.trust-badge-sub { font-size: 12px; color: var(--c-text-secondary); }

.trust-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.trust-pill {
    padding: 6px 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-secondary);
}

/* ==========================================================================
   17. Testimonials
   ========================================================================== */

.review-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: var(--s-sm);
}

.review-text {
    font-style: italic;
    color: var(--c-text);
    margin-bottom: var(--s-md);
    line-height: 1.7;
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-bg-alt);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 14px;
}

.review-meta {
    font-size: 12px;
    color: var(--c-text-muted);
}

.review-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--c-primary);
    background: var(--c-bg-alt);
    padding: 2px 8px;
    border-radius: var(--r-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-block;
}

/* ==========================================================================
   18. FAQ
   ========================================================================== */

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--s-md) 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    cursor: pointer;
    min-height: 48px;
    gap: var(--s-md);
}
.faq-question:hover { color: var(--c-primary); }

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--t-normal);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-a-inner {
    padding: 0 0 var(--s-md);
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   19. Comparison
   ========================================================================== */

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-lg);
}

.comparison-list { list-style: none; }
.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--s-sm);
    padding: var(--s-sm) 0;
    font-size: 15px;
}
.comparison-list li + li { border-top: 1px solid var(--c-border); }

.comparison-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.comparison-icon--good { color: #22c55e; }
.comparison-icon--bad { color: #ef4444; }

/* ==========================================================================
   20. Timeline / Steps
   ========================================================================== */

.timeline {
    position: relative;
    max-width: 560px;
    padding-left: var(--s-2xl);
}
.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--c-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--s-xl);
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: calc(-1 * var(--s-2xl) + -1px);
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-primary);
}

.timeline-item h3 { margin-bottom: var(--s-xs); }
.timeline-item p { color: var(--c-text-secondary); }

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin: 0 auto var(--s-md);
}

/* ==========================================================================
   21. Data Table
   ========================================================================== */

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.data-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-text-muted);
    padding: var(--s-sm) var(--s-md);
    border-bottom: 2px solid var(--c-border);
}
.data-table td {
    padding: var(--s-sm) var(--s-md);
    border-bottom: 1px solid var(--c-border);
    font-size: 15px;
}
.data-table .bar-cell { width: 30%; }
.data-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--c-primary);
    transition: width var(--t-slow);
}

/* ==========================================================================
   22. Lead Form
   ========================================================================== */

.lead-form-card {
    max-width: 460px;
    margin: 0 auto;
}

.lead-form-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: var(--s-md) 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    margin-bottom: var(--s-md);
    font-size: 11px;
    color: var(--c-text-muted);
}
.lead-form-trust svg { width: 16px; height: 16px; flex-shrink: 0; }

.lead-form-legal {
    font-size: 11px;
    color: var(--c-text-muted);
    text-align: center;
    margin-top: var(--s-md);
    line-height: 1.5;
}
.lead-form-legal a {
    color: var(--c-text-secondary);
    text-decoration: underline;
}

.lead-form-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2xl);
    align-items: start;
}

.lead-form-benefits {
    list-style: none;
}
.lead-form-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--s-sm);
    padding: var(--s-sm) 0;
    font-size: 15px;
}
.lead-form-benefits svg { width: 20px; height: 20px; flex-shrink: 0; color: #22c55e; margin-top: 2px; }

.lead-form-inline {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.lead-form-inline .form-group { flex: 1; margin-bottom: 0; }
.lead-form-inline .btn-primary { flex-shrink: 0; }

/* ==========================================================================
   23. Cookie Consent
   ========================================================================== */

.cookie-banner {
    position: fixed;
    z-index: 9999;
    background: var(--c-bg);
    box-shadow: var(--shadow-xl);
    padding: var(--s-lg) var(--s-xl);
    display: none;
}

.cookie-banner--bottom {
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--c-border);
}

.cookie-banner--corner {
    bottom: var(--s-lg);
    right: var(--s-lg);
    max-width: 380px;
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border);
}

.cookie-banner--top {
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--c-border);
}

.cookie-banner.show { display: block; }

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: var(--s-lg);
}
.cookie-banner--corner .cookie-banner-inner { flex-direction: column; align-items: stretch; }

.cookie-text {
    font-size: 13px;
    color: var(--c-text-secondary);
    flex: 1;
}
.cookie-text a { color: var(--c-primary); text-decoration: underline; }

.cookie-actions {
    display: flex;
    gap: var(--s-sm);
    flex-shrink: 0;
}

.cookie-reopen {
    position: fixed;
    bottom: var(--s-md);
    left: var(--s-md);
    z-index: 9998;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}

/* ==========================================================================
   24. Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    font-size: 13px;
    color: var(--c-text-muted);
    padding: var(--s-md) 0;
}
.breadcrumbs a { color: var(--c-text-secondary); transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs .sep { margin: 0 6px; }

.back-link {
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--s-md) 0;
    color: var(--c-text-secondary);
    transition: color var(--t-fast);
}
.back-link:hover { color: var(--c-primary); }

/* ==========================================================================
   25. Article Content
   ========================================================================== */

.article-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: var(--s-2xl);
    margin-bottom: var(--s-md);
}
.article-content h3 {
    margin-top: var(--s-xl);
    margin-bottom: var(--s-sm);
}
.article-content p {
    margin-bottom: var(--s-md);
    line-height: 1.8;
}
.article-content ul,
.article-content ol {
    margin-bottom: var(--s-md);
    padding-left: var(--s-lg);
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
    margin-bottom: var(--s-xs);
    line-height: 1.7;
}
.article-content blockquote {
    border-left: 3px solid var(--c-primary);
    padding: var(--s-md) var(--s-lg);
    margin: var(--s-xl) 0;
    background: var(--c-bg-alt);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: var(--c-text-secondary);
    font-style: italic;
}
.article-content img {
    border-radius: var(--r-md);
    margin: var(--s-xl) 0;
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--c-bg-alt);
    color: var(--c-primary);
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: var(--s-md);
}

.article-meta {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: var(--s-xl);
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-lg);
    margin-top: var(--s-3xl);
    padding-top: var(--s-xl);
    border-top: 1px solid var(--c-border);
}
.article-nav a {
    display: block;
    padding: var(--s-md);
    border-radius: var(--r-sm);
    transition: background var(--t-fast);
}
.article-nav a:hover { background: var(--c-bg-alt); }
.article-nav-label {
    font-size: 12px;
    color: var(--c-text-muted);
    margin-bottom: var(--s-xs);
}
.article-nav-title {
    font-weight: 600;
    font-size: 15px;
}
.article-nav a:last-child { text-align: right; }

/* Article layouts */
.article-layout-sidebar {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--s-2xl);
    max-width: 960px;
    margin: 0 auto;
}

.article-toc {
    position: sticky;
    top: 80px;
}
.article-toc-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-text-muted);
    margin-bottom: var(--s-sm);
}
.article-toc a {
    display: block;
    font-size: 13px;
    color: var(--c-text-secondary);
    padding: var(--s-xs) 0;
    border-left: 2px solid var(--c-border);
    padding-left: var(--s-sm);
    transition: all var(--t-fast);
}
.article-toc a:hover,
.article-toc a.active {
    color: var(--c-primary);
    border-color: var(--c-primary);
}

.article-layout-magazine .article-content {
    max-width: 800px;
    font-size: 17px;
}
.article-layout-magazine .article-content p:first-of-type::first-letter {
    font-size: 3.5em;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--c-primary);
}

/* ==========================================================================
   26. Legal Page
   ========================================================================== */

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--s-2xl) 0;
}
.legal-content h1 {
    margin-bottom: var(--s-xl);
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.legal-content h2 {
    margin-top: var(--s-2xl);
    margin-bottom: var(--s-md);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}
.legal-content p {
    margin-bottom: var(--s-md);
    color: var(--c-text-secondary);
    line-height: 1.8;
}
.legal-content ul {
    margin-bottom: var(--s-md);
    padding-left: var(--s-lg);
    list-style: disc;
}
.legal-content li {
    margin-bottom: var(--s-xs);
    color: var(--c-text-secondary);
}

/* ==========================================================================
   27. Newsletter
   ========================================================================== */

.newsletter-form {
    display: flex;
    gap: var(--s-sm);
    max-width: 400px;
    margin: 0 auto;
}
.newsletter-form .input { flex: 1; }
.newsletter-form .btn-primary { flex-shrink: 0; }

/* ==========================================================================
   28. Header & Navigation
   ========================================================================== */

/* Top info bar (email/phone) */
.top-info-bar {
    background: var(--c-bg-contrast);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-info-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-info-bar a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}
.top-info-bar a:hover { color: #fff; }
@media (max-width: 640px) {
    .top-info-bar__inner { justify-content: center; }
    .top-info-bar__left { display: none; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-border);
    height: 60px;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--s-xl);
}
.site-nav a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-text-secondary);
    transition: color var(--t-fast);
}
.site-nav a:hover,
.site-nav a.active { color: var(--c-primary); }

/* Header centered variant */
.site-header--centered {
    height: auto;
    padding: var(--s-md) 0;
}
.site-header--centered .container {
    flex-direction: column;
    gap: var(--s-md);
    height: auto;
}
.site-header--centered .site-logo { font-size: 20px; }
.site-header--centered .site-nav { gap: var(--s-xl); }

/* Header with promo bar */
.promo-bar {
    background: var(--c-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 6px var(--s-lg);
    position: relative;
}
.promo-bar a { color: #fff; text-decoration: underline; }
.promo-close {
    position: absolute;
    right: var(--s-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 16px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header transparent */
.site-header--transparent {
    position: absolute;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.site-header--transparent .site-logo,
.site-header--transparent .site-nav a { color: #fff; }
.site-header--transparent .site-nav a:hover { color: rgba(255,255,255,.7); }
.site-header--transparent.scrolled {
    position: fixed;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid var(--c-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--t-slow);
}
.site-header--transparent.scrolled .site-logo,
.site-header--transparent.scrolled .site-nav a { color: var(--c-text-secondary); }
.site-header--transparent.scrolled .site-nav a:hover,
.site-header--transparent.scrolled .site-nav a.active { color: var(--c-primary); }

/* Burger */
.burger {
    display: none;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
.burger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--c-text);
    border-radius: 1px;
    transition: all var(--t-normal);
    position: absolute;
    left: 2px;
}
.burger-line:nth-child(1) { top: 6px; }
.burger-line:nth-child(2) { top: 11px; }
.burger-line:nth-child(3) { top: 16px; }

.burger.active .burger-line:nth-child(1) { transform: rotate(45deg); top: 11px; }
.burger.active .burger-line:nth-child(2) { opacity: 0; }
.burger.active .burger-line:nth-child(3) { transform: rotate(-45deg); top: 11px; }

.site-header--transparent .burger-line { background: #fff; }
.site-header--transparent.scrolled .burger-line { background: var(--c-text); }

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-bg);
    box-shadow: var(--shadow-lg);
    padding: var(--s-lg);
    border-bottom: 1px solid var(--c-border);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block;
    padding: var(--s-sm) 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text-secondary);
    min-height: 44px;
    display: flex;
    align-items: center;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--c-primary); }

/* ==========================================================================
   29. Footer
   ========================================================================== */

.site-footer {
    background: #fef3c7;
    color: rgba(255,255,255,.65);
    padding: var(--s-2xl) 0 var(--s-lg);
}
.site-footer a { color: rgba(255,255,255,.65); transition: color var(--t-fast); }
.site-footer a:hover { color: #fff; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--s-xl);
    margin-bottom: var(--s-xl);
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    margin-bottom: var(--s-sm);
}
.footer-tagline { font-size: 14px; line-height: 1.6; }

.footer-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.85);
    margin-bottom: var(--s-md);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--s-sm); }
.footer-links a { font-size: 13px; }

.footer-disclaimer {
    font-size: 11px;
    padding-top: var(--s-lg);
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.4);
    line-height: 1.6;
}

.footer-copyright {
    font-size: 12px;
    padding-top: var(--s-md);
    color: rgba(255,255,255,.4);
}

/* Footer light variant */
.site-footer--light {
    background: var(--c-bg-alt);
    color: var(--c-text-muted);
    text-align: center;
}
.site-footer--light a { color: var(--c-text-secondary); }
.site-footer--light a:hover { color: var(--c-primary); }
.site-footer--light .footer-disclaimer {
    border-top-color: var(--c-border);
    color: var(--c-text-muted);
}
.site-footer--light .footer-copyright { color: var(--c-text-muted); }

.footer-links-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-md);
    margin-bottom: var(--s-md);
}

/* Footer minimal */
.site-footer--minimal {
    padding: var(--s-lg) 0;
    border-top: 1px solid var(--c-border);
    background: var(--c-bg);
    color: var(--c-text-muted);
}
.site-footer--minimal a { color: var(--c-text-secondary); }
.footer-minimal-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-md);
}
.footer-minimal-links {
    display: flex;
    gap: var(--s-md);
    font-size: 13px;
}

/* Footer with CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-hover));
    color: #fff;
    text-align: center;
    padding: var(--s-2xl) 0;
}
.footer-cta h2 { color: #fff; margin-bottom: var(--s-md); }
.footer-cta p { color: rgba(255,255,255,.7); margin-bottom: var(--s-lg); }

/* ==========================================================================
   30. Accessibility
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--c-primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    font-size: 14px;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

*:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}
*:focus:not(:focus-visible) { outline: none; }

/* ==========================================================================
   31. Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==========================================================================
   32. Guarantee Section
   ========================================================================== */

.guarantee-shield {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--s-lg);
    color: var(--c-primary);
}

/* ==========================================================================
   33. Articles Listing
   ========================================================================== */

.article-card {
    display: block;
    transition: transform var(--t-normal), box-shadow var(--t-normal);
}
.article-card:hover {
    transform: translateY(-4px);
}
.article-card-image {
    overflow: hidden;
    border-radius: var(--r-md) var(--r-md) 0 0;
}
.article-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.article-card:hover .article-card-image img { transform: scale(1.04); }
.article-card-body { padding: var(--s-lg); }

.article-card-horizontal {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}
.article-card-horizontal .article-card-image {
    border-radius: var(--r-md) 0 0 var(--r-md);
}
.article-card-horizontal .article-card-image img {
    height: 100%;
    min-height: 160px;
}

/* ==========================================================================
   34. Thank You Page
   ========================================================================== */

.thank-you {
    text-align: center;
    padding: var(--s-6xl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--c-bg-alt);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--s-lg);
}
.thank-you-icon svg { width: 40px; height: 40px; }

/* ==========================================================================
   35. Error 404
   ========================================================================== */

.error-page {
    text-align: center;
    padding: var(--s-6xl) 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error-code {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    color: var(--c-border);
    line-height: 1;
    margin-bottom: var(--s-md);
}

/* ==========================================================================
   36. Contact Page
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2xl);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--s-md);
    margin-bottom: var(--s-lg);
}
.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background: var(--c-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--c-primary);
}
.contact-info-icon svg { width: 20px; height: 20px; }

/* ==========================================================================
   37. Zigzag Rows
   ========================================================================== */

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2xl);
    align-items: center;
    padding: var(--s-xl) 0;
}
.zigzag-row:nth-child(even) { direction: rtl; }
.zigzag-row:nth-child(even) > * { direction: ltr; }

/* ==========================================================================
   38. Logo Component
   ========================================================================== */

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--c-text);
}
.logo-text--dot::after { content: '.'; color: var(--c-primary); }
.logo-text--bracket::before { content: '['; color: var(--c-primary); font-weight: 400; }
.logo-text--bracket::after { content: ']'; color: var(--c-primary); font-weight: 400; }
.logo-text--underline {
    border-bottom: 2px solid var(--c-primary);
    padding-bottom: 2px;
}
.logo-text--circle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.logo-text--circle::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-primary);
    flex-shrink: 0;
}

/* ==========================================================================
   39. Responsive — Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .grid-equal { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .grid-featured { grid-template-columns: 1fr; }
    .grid-featured > :first-child { grid-row: auto; }
    .grid-stagger > :nth-child(even) { margin-top: 0; }
    .article-layout-sidebar { grid-template-columns: 1fr; }
    .article-toc { position: static; }
}

/* ==========================================================================
   40. Responsive — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    .section { padding: calc(var(--s-4xl) * 0.7) 0; }
    .section--hero { padding: calc(var(--s-6xl) * 0.7) 0 calc(var(--s-4xl) * 0.7); }

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--s-2xl) 0;
    }
    .hero-split .hero-image { display: none; }
    .hero-split .hero-content p { margin-left: auto; margin-right: auto; }

    .hero--asymmetric {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero--asymmetric .hero-image { margin-top: var(--s-lg); }

    .hero--fullphoto { min-height: 380px; }

    .grid-50-50,
    .grid-60-40,
    .grid-40-60,
    .grid-70-30,
    .grid-30-70,
    .grid-55-45 {
        grid-template-columns: 1fr;
    }

    .grid-equal,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-masonry { columns: 1; }

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

    .site-nav { display: none; }
    .burger { display: flex; align-items: center; justify-content: center; }

    .site-header--centered .container { flex-direction: row; justify-content: space-between; }
    .site-header--centered .site-nav { display: none; }
    .site-header--centered { height: 60px; padding: 0; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-minimal-inner { flex-direction: column; text-align: center; }

    .lead-form-split { grid-template-columns: 1fr; }
    .lead-form-inline { flex-direction: column; }

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

    .zigzag-row {
        grid-template-columns: 1fr;
    }
    .zigzag-row:nth-child(even) { direction: ltr; }

    .article-nav { grid-template-columns: 1fr; }
    .article-card-horizontal { grid-template-columns: 1fr; }
    .article-card-horizontal .article-card-image {
        border-radius: var(--r-md) var(--r-md) 0 0;
    }
    .article-card-horizontal .article-card-image img {
        height: 200px;
        min-height: auto;
    }

    .promo-bar { display: none; }

    .cookie-banner--corner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: none;
        border-radius: 0;
    }
}

/* ==========================================================================
   41. Responsive — Small (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .container,
    .container-narrow,
    .container-wide,
    .container-text {
        padding: 0 16px;
    }

    .trust-badges { gap: var(--s-lg); }
    .trust-pills { gap: 8px; }

    .cookie-actions { flex-direction: column; }
    .cookie-banner-inner { flex-direction: column; }
}

/* ==========================================================================
   42. Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .cookie-reopen,
    .burger,
    .mobile-nav,
    .promo-bar,
    .skip-link,
    .btn-primary,
    .btn-outline,
    .btn-ghost,
    .btn-white {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
        line-height: 1.5;
    }

    .section { padding: 20pt 0; }
    .section--dark { background: #f5f5f5; color: #000; }
    .section--dark h2, .section--dark h3, .section--dark p { color: #000; }

    a { text-decoration: underline; }
    a[href]::after { content: ' (' attr(href) ')'; font-size: 9pt; }
    .site-nav a[href]::after,
    .footer-links a[href]::after { content: none; }

    img { max-width: 100% !important; }
}

/* ── Button color safety — ordered by specificity ── */

/* Default: primary=white text, white=dark text, outline=primary text */
.btn-primary { color: #fff; }
.btn-white { color: #1a1a1a; background: #fff; }
.btn-outline { color: var(--c-primary); }

/* Dark contexts: invert buttons */
.hero--dark .btn-primary,
.section--dark .btn-primary,
.footer-cta .btn-primary { background: #fff; color: #1a1a1a; }

.hero--dark .btn-primary:hover,
.section--dark .btn-primary:hover,
.footer-cta .btn-primary:hover { background: rgba(255,255,255,.9); color: #1a1a1a; }

.hero--dark .btn-outline,
.section--dark .btn-outline,
.footer-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }

.hero--dark .btn-white,
.section--dark .btn-white,
.footer-cta .btn-white { color: #1a1a1a; background: #fff; }

/* Hero dark — all text white */
.hero--dark { color: #fff; }
.hero--dark h1, .hero--dark h2, .hero--dark h3 { color: #fff; }
.hero--dark p { color: rgba(255,255,255,.7); }
.hero--dark a { color: rgba(255,255,255,.85); }

/* Section dark — all text white */
.section--dark { color: rgba(255,255,255,.85); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.65); }
.section--dark a { color: var(--c-accent); }

/* Footer CTA — all text white */
.footer-cta { color: #fff; }
.footer-cta h2 { color: #fff; }
.footer-cta p { color: rgba(255,255,255,.7); }

/* Footer minimal/light — dark text on light bg */
.site-footer--minimal .footer-disclaimer,
.site-footer--light .footer-disclaimer { color: var(--c-text-muted); border-top-color: var(--c-border); }
.site-footer--minimal .footer-copyright,
.site-footer--light .footer-copyright { color: var(--c-text-muted); }
.site-footer--minimal .footer-disclaimer span,
.site-footer--light .footer-disclaimer span { color: var(--c-text-muted); }