/* ============================================================
   Nexus Klíma — Landing page styles
   Mobile-first, scales up via min-width media queries.
   ============================================================ */

:root {
    /* Backgrounds */
    --bg-primary: #0a0a0a;
    --bg-elevated: #141414;
    --bg-deep: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-soft: rgba(255, 255, 255, 0.02);
    --bg-overlay: rgba(0, 0, 0, 0.6);
    --bg-overlay-66: rgba(0, 0, 0, 0.66);

    /* Brand */
    --gold: #d4af37;
    --gold-hover: #f5d061;
    --gold-dark: #aa8c2c;
    --gold-glow: rgba(212, 175, 55, 0.15);
    --gold-border: rgba(212, 175, 55, 0.3);
    --gold-border-strong: rgba(212, 175, 55, 0.55);
    --gold-faint: rgba(212, 175, 55, 0.05);
    --gold-faint-10: rgba(212, 175, 55, 0.1);
    --gold-faint-15: rgba(212, 175, 55, 0.15);
    --beige-warm: #d6b879;
    /** „A felmérés után” bal kártya — mélyebb mustársárga / arany (design hangulat) */
    --offer-card-gold: #c5a021;

    /* Accents */
    --red: #e31c25;
    --red-dark: #b3191f;
    --red-glow: rgba(227, 28, 37, 0.3);
    --star-gold: #f5b800;

    /* Text */
    --text-primary: #ffffff;
    --text-78: rgba(255, 255, 255, 0.78);
    --text-70: rgba(255, 255, 255, 0.7);
    --text-50: rgba(255, 255, 255, 0.5);
    --text-secondary: #b3b3b3;
    --text-muted: rgba(245, 245, 245, 0.92);
    --text-on-light: #1a1a1a;
    --text-placeholder: rgba(0, 0, 0, 0.5);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-subtle-06: rgba(255, 255, 255, 0.06);
    --border-subtle-08: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --grad-cta-red: linear-gradient(168deg, #e31c25 0%, #b3191f 100%);
    --grad-gold-light: linear-gradient(174deg, #f5d061 0%, #d4af37 100%);
    --grad-gold-solid: linear-gradient(155deg, #d4af37 0%, #aa8c2c 100%);
    --grad-card-dark: linear-gradient(126deg, #1a1a1a 6%, #0d0d0d 94%);
    --grad-pet-pill: linear-gradient(166deg, rgba(212, 175, 55, 0.08) 0%, rgba(20, 20, 20, 0.8) 100%);
    --grad-image-veil: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.85) 100%);
    --grad-step-line: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.5) 50%, rgba(212, 175, 55, 0) 100%);

    /* Shadows */
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-image: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-form: 0 20px 25px rgba(0, 0, 0, 0.6);
    --shadow-cta-red: 0 4px 16px rgba(227, 28, 37, 0.35);
    --shadow-cta-gold: 0 4px 16px rgba(212, 175, 55, 0.25);
    --shadow-header: 0 4px 16px rgba(0, 0, 0, 0.8);
    --shadow-gold-glow: 0 0 12px rgba(212, 175, 55, 0.18);
    --shadow-inner-hairline: inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* Radii */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-2xl: 24px;
    --r-pill: 50px;
    --r-full: 9999px;

    /* Layout */
    --container: 1200px;
    --container-wide: 1400px;
    --header-h: 78px;

    /* Type */
    --font-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    color-scheme: dark;
}

/* ============================================================
   Resets
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

main,
section {
    max-width: 100%;
    overflow-x: clip;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-weight: 800;
    line-height: 1.15;
}

input,
textarea,
select,
button {
    font-family: inherit;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
    z-index: 9999;
    background: var(--gold);
    color: #000;
    padding: 8px 12px;
    border-radius: var(--r-sm);
}

/* ============================================================
   Helpers
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

.text-gold {
    color: var(--gold);
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 12.8px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.eyebrow--soft {
    text-transform: none;
    letter-spacing: 0;
    font-size: 13.6px;
    font-weight: 400;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0 0 40px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    border: 0;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    color: var(--text-primary);
    background: transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--grad-cta-red);
    box-shadow: var(--shadow-cta-red);
    color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 8px 24px rgba(227, 28, 37, 0.45);
}

.btn--phone {
    background: var(--grad-gold-light);
    color: #000;
    box-shadow: var(--shadow-cta-gold);
    font-size: 16.8px;
}

.btn--phone:hover,
.btn--phone:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn--secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold-border);
    box-shadow: none;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
    color: var(--gold-hover);
    transform: translateY(-1px);
}

.btn--block {
    width: 100%;
}

.btn--blog-nav {
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    line-height: 1.35;
    max-width: 100%;
    flex: 1 1 220px;
}

.btn--blog-back {
    white-space: normal;
    padding: 14px 24px;
    font-size: 15px;
}

@media (min-width: 768px) {
    .btn--blog-nav {
        font-size: 16px;
        padding: 16px 26px;
        flex: 0 1 auto;
        max-width: min(100%, 340px);
    }

    .btn--blog-back {
        font-size: 16px;
    }

    .btn {
        padding: 16px 32px;
        font-size: 18px;
    }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-header);
}

.site-header__inner {
    max-width: var(--container-wide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    padding-block: 16px;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
}

a.site-header__logo {
    text-decoration: none;
    color: inherit;
}

.site-header__logo:hover,
.site-header__logo:focus,
.site-header__logo:active {
    background: transparent;
    background-color: transparent;
    box-shadow: none;
}

.site-header__logo img {
    height: 44px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 8px 12px;
    border-radius: var(--r-sm);
    color: var(--text-78);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.site-nav__phone {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 13.6px !important;
}

.site-nav__phone svg {
    fill: var(--gold);
}

.site-nav__cta {
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold) !important;
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: var(--gold);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-sm);
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1023px) {
    .site-header__inner {
        position: relative;
        z-index: 1002;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: calc(var(--header-h) + 10px);
        left: 16px;
        right: 16px;
        bottom: auto;
        z-index: 1001;
        flex-direction: column;
        align-items: stretch;
        background: rgba(5, 5, 5, 0.96) !important;
        background-color: rgba(5, 5, 5, 0.96) !important;
        padding: 14px;
        gap: 6px;
        transform: translateY(-14px) scale(0.98);
        transform-origin: top right;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--r-lg);
        box-shadow: 0 22px 45px rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .site-nav.is-open {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
        background: rgba(5, 5, 5, 0.96) !important;
        background-color: rgba(5, 5, 5, 0.96) !important;
    }

    .site-nav a {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: var(--r-md);
    }

    .site-nav__cta {
        margin-top: 4px;
        text-align: center;
    }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    min-height: clamp(540px, 88vh, 900px);
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg-poster,
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.hero__bg-poster {
    z-index: -3;
}

@media (prefers-reduced-motion: reduce) {
    .hero__bg {
        display: none;
    }
}

.hero__veil {
    position: absolute;
    inset: 0;
    /* Világosabb középső rész; csak az alsó harmadban sűrűbb átmenet a következő szekció hátteréhez (#0a0a0a). */
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.14) 0%,
        rgba(0, 0, 0, 0.18) 28%,
        rgba(0, 0, 0, 0.22) 52%,
        rgba(10, 10, 10, 0.55) 78%,
        rgba(10, 10, 10, 0.88) 92%,
        #0a0a0a 100%
    );
    z-index: -1;
}

.hero__inner {
    padding-block: 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: var(--container-wide);
}

.hero__title {
    font-size: clamp(40px, 9vw, 72px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0;
    max-width: 580px;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero__lead {
    font-size: clamp(18px, 2.2vw, 22.4px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-primary);
    max-width: 600px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.42), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero__cta {
    align-self: flex-start;
    padding: 16px 32px;
    font-size: clamp(18px, 2vw, 20px);
    box-shadow: var(--shadow-cta-red);
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-overlay);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    color: var(--text-primary);
    padding: 18px 24px;
    font-size: 16.8px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.chip svg {
    color: var(--gold);
    flex-shrink: 0;
    align-self: center;
}

@media (min-width: 768px) {
    .hero__inner {
        padding-block: 120px;
    }
}

@media (max-width: 767px) {
    .container {
        padding-inline: 20px;
    }

    .hero {
        min-height: 680px;
    }

    .hero__inner {
        align-items: flex-start;
        padding-block: 92px 72px;
        text-align: left;
    }

    .hero__lead {
        max-width: 100%;
    }

    .hero__chips {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .chip {
        width: 100%;
        max-width: 300px;
        display: grid;
        grid-template-columns: 24px 1fr;
        align-items: center;
        justify-content: start;
        text-align: left;
    }

    .chip svg {
        justify-self: center;
    }

    .btn {
        white-space: normal;
    }

    .steps {
        border-radius: var(--r-xl);
        margin-inline: auto;
    }

    .step {
        padding: 40px 18px 46px;
        align-items: center;
    }

    .step__num,
    .step__list,
    .step__numbered,
    .step__final,
    .pet-grid {
        max-width: min(100%, 320px);
    }

    .step__title {
        font-size: clamp(26px, 8vw, 32px);
    }

    .step__numbered li {
        padding-left: 24px;
    }

    .step__final {
        padding: 24px 18px;
    }

    .step__final .btn {
        width: 100%;
        min-width: 0;
        padding-inline: 18px;
    }

    .step__time {
        max-width: min(100%, 360px);
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        padding: 16px clamp(16px, 5vw, 28px);
    }
}

/* ============================================================
   Pain Points
   ============================================================ */
.pain {
    padding-block: 80px;
    background: var(--bg-primary);
}

.pain__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .pain__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

a.pain-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pain-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-border);
}

.pain-card__media {
    aspect-ratio: 16 / 10;
    background: #1a1a1a;
    overflow: hidden;
}

.pain-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.pain-card__title {
    padding: 24px 28px 28px;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

.pain__cta {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--gold-faint);
    border: 1px solid var(--gold-border);
    border-radius: var(--r-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.pain__cta p {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

@media (max-width: 767px) {
    .pain-card__title {
        padding: 18px 18px 22px;
        font-size: clamp(16px, 4.5vw, 18px);
        line-height: 1.28;
    }

    .pain__cta {
        margin-top: 28px;
        padding: 22px 20px;
    }

    .pain__cta p {
        font-size: clamp(15px, 4.2vw, 17px);
        line-height: 1.32;
        font-weight: 600;
    }
}

@media (min-width: 900px) {
    .pain__cta {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 32px 48px;
    }

    .pain__cta p {
        font-size: 24px;
    }
}

/* ============================================================
   Works (gallery)
   ============================================================ */
.works {
    position: relative;
    padding-block: 96px 72px;
    background: var(--beige-warm);
    isolation: isolate;
    overflow: hidden;
}

.works__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.45) 14%, rgba(10, 10, 10, 0) 36%, rgba(10, 10, 10, 0) 64%, rgba(10, 10, 10, 0.4) 86%, rgba(10, 10, 10, 0.88) 100%),
        linear-gradient(90deg, rgba(10, 10, 10, 0.28) 0%, rgba(10, 10, 10, 0) 18%, rgba(10, 10, 10, 0) 82%, rgba(10, 10, 10, 0.28) 100%),
        linear-gradient(180deg, rgba(214, 184, 121, 0.22) 0%, rgba(214, 184, 121, 0) 28%, rgba(214, 184, 121, 0) 72%, rgba(214, 184, 121, 0.18) 100%),
        url('images/og-cover.webp') center / cover no-repeat;
    opacity: 1;
    z-index: -1;
}

.works__intro {
    text-align: center;
    margin-bottom: 48px;
    padding: 32px 24px;
    background: rgba(8, 8, 8, 0.78);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.45);
}

.works__intro .eyebrow {
    display: block;
    font-size: 32px;
    letter-spacing: 0.05em;
    overflow-wrap: anywhere;
}

.works__lead {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 500;
    line-height: 1.45;
    max-width: 940px;
    margin-inline: auto;
}

.works__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
}

.work {
    position: relative;
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-image);
    isolation: isolate;
    cursor: zoom-in;
}

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

.work::after {
    content: none;
}

.work:hover img {
    transform: scale(1.04);
}

.work figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px 24px;
    z-index: 2;
    color: #fff;
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.86);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox__figure {
    width: min(1040px, 100%);
    max-height: 90vh;
    margin: 0;
    display: grid;
    gap: 14px;
}

.lightbox__image {
    width: 100%;
    max-height: calc(90vh - 70px);
    object-fit: contain;
    border-radius: var(--r-lg);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
    background: #111;
}

.lightbox__caption {
    color: #fff;
    text-align: center;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
}

.lightbox__close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.82);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.lightbox__close:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .works {
        padding-block: 72px 56px;
    }

    .works .container {
        padding-inline: 16px;
    }

    .works__bg {
        background:
            linear-gradient(180deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.52) 12%, rgba(10, 10, 10, 0) 34%, rgba(10, 10, 10, 0) 66%, rgba(10, 10, 10, 0.48) 88%, rgba(10, 10, 10, 0.92) 100%),
            linear-gradient(90deg, rgba(10, 10, 10, 0.22) 0%, rgba(10, 10, 10, 0) 14%, rgba(10, 10, 10, 0) 86%, rgba(10, 10, 10, 0.22) 100%),
            linear-gradient(180deg, rgba(214, 184, 121, 0.2) 0%, rgba(214, 184, 121, 0) 26%, rgba(214, 184, 121, 0) 74%, rgba(214, 184, 121, 0.16) 100%),
            url('images/og-cover.webp') center / cover no-repeat;
    }

    .works__intro {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 40px;
        padding: 28px 20px;
        border-radius: var(--r-xl);
    }

    .works__intro .eyebrow {
        font-size: clamp(24px, 8vw, 30px);
        line-height: 1.3;
        letter-spacing: 0.025em;
        text-wrap: balance;
    }

    .works__lead {
        font-size: 18px;
        line-height: 1.55;
    }

    .works__grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        gap: 10px;
        max-width: 360px;
        margin-inline: auto;
        align-items: stretch;
    }

    .work {
        min-height: 0;
        aspect-ratio: 1 / 1;
        border-radius: 10px;
    }

    .work--big {
        grid-column: 1;
        grid-row: auto;
    }

    .work:nth-child(2) {
        grid-column: 2;
        grid-row: auto;
    }

    .work:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
    }

    .work--wide {
        grid-column: 2;
        grid-row: auto;
    }

    .work figcaption {
        padding: 10px;
        font-size: clamp(11px, 3.2vw, 14px);
        line-height: 1.15;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox__close {
        top: 12px;
        right: 12px;
    }
}

@media (min-width: 768px) {
    .works__grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-auto-rows: 300px;
        grid-template-areas:
            "big top1 top2"
            "big wide wide";
    }

    .work--big {
        grid-area: big;
        grid-row: span 2;
    }

    .work:nth-child(2) {
        grid-area: top1;
    }

    .work:nth-child(3) {
        grid-area: top2;
    }

    .work--wide {
        grid-area: wide;
    }
}

/* ============================================================
   A-tól Z-ig (intro to PET)
   ============================================================ */
.atoz {
    position: relative;
    padding-block: 72px 84px;
    background: var(--bg-primary);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    isolation: isolate;
    overflow: hidden;
}

.atoz__inner {
    max-width: var(--container);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.atoz::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('images/valos-munkak-bg.webp') center / cover no-repeat;
    z-index: -2;
}

.atoz::after {
    content: "";
    position: absolute;
    inset: 0;
    /* A háttérkép jobban látszódjon; bal oldali finom árnyék csak olvashatóságnak nagy képernyőn. Alul átmenet a következő szekcióra. */
    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.42) 0%, rgba(10, 10, 10, 0.12) 40%, rgba(10, 10, 10, 0.16) 100%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.12) 38%, rgba(10, 10, 10, 0.22) 58%, rgba(10, 10, 10, 0.55) 78%, rgba(10, 10, 10, 0.9) 92%, #0a0a0a 100%);
    z-index: -1;
}

@media (max-width: 899px) {
    .atoz::after {
        background:
            linear-gradient(180deg, rgba(10, 10, 10, 0.12) 0%, rgba(10, 10, 10, 0.14) 32%, rgba(10, 10, 10, 0.24) 55%, rgba(10, 10, 10, 0.58) 80%, rgba(10, 10, 10, 0.92) 93%, #0a0a0a 100%);
    }
}

.atoz__title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.atoz__list {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 600px;
    text-align: left;
    padding: 24px;
    background: rgba(10, 10, 10, 0.72);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.atoz__list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.atoz__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    margin-top: 1px;
    color: var(--red);
}

.atoz__icon svg {
    display: block;
}

@media (min-width: 900px) {
    .atoz {
        text-align: left;
        padding-block: 96px;
    }

    .atoz__inner {
        min-height: 360px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 64px;
    }

    .atoz__title {
        flex: 0 0 42%;
        max-width: 440px;
    }

    .atoz__list {
        flex: 0 1 520px;
        margin-left: auto;
    }
}

.bullet {
    color: var(--gold);
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.3;
}

/* ============================================================
   P.E.T. process
   ============================================================ */
.process {
    padding-block: 96px;
    background: var(--bg-primary);
}

.process__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.process__pet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 4vw, 32px);
    margin: 10px 0 6px;
}

.process__pet img {
    width: auto;
    height: clamp(64px, 8vw, 84px);
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.18));
}

.process__sub {
    color: var(--text-secondary);
    font-size: 17.6px;
    line-height: 1.65;
}

/* Steps grid */
.steps {
    border: 1px solid var(--border-subtle-06);
    border-radius: var(--r-2xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--bg-primary);
    width: 100%;
    min-width: 0;
}

@media (min-width: 1180px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    position: relative;
    background: var(--bg-card-soft);
    border-top: 3px solid var(--gold-border);
    padding: 48px 32px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    min-width: 0;
}

.step + .step {
    border-top: 1px solid var(--border-subtle);
}

@media (min-width: 1180px) {
    .step + .step {
        border-top: 3px solid var(--gold-border);
        border-left: 1px solid var(--border-subtle);
    }

    .step--active {
        border-top-color: var(--gold);
    }
}

.step--active {
    border-top-color: var(--gold);
}

.step__num {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 380px;
}

.step__line {
    flex: 1;
    height: 2px;
    background: var(--grad-step-line);
}

.step__circle {
    width: 64px;
    height: 64px;
    border-radius: var(--r-full);
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--gold-border);
    color: var(--gold);
    font-size: 24px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold-glow);
    flex-shrink: 0;
}

.step__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    max-width: 100%;
    overflow-wrap: break-word;
}

.step__list {
    width: 100%;
    max-width: 380px;
    background: var(--bg-card-soft);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-xl);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.step__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.step__list li .bullet {
    margin-top: 2px;
}

.step__after {
    color: var(--gold);
    font-size: 19.2px;
    font-weight: 700;
    margin-top: 8px;
}

.step__offer-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    column-gap: 12px;
    row-gap: 10px;
    width: 100%;
    max-width: min(100%, 440px);
}

.step__offer-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.25rem;
    padding: 14px 12px;
    font-size: 13.6px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    border: 1px solid var(--gold-border);
    border-radius: var(--r-lg);
    background: var(--gold-faint);
    color: #fff;
}

.step__offer-card--beige {
    background: var(--offer-card-gold);
    color: var(--text-on-light);
    border-color: rgba(41, 32, 6, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.step__offer-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.1em;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold);
    user-select: none;
    opacity: 0.92;
}

.step__foot {
    color: var(--text-secondary);
    font-size: 17.6px;
    line-height: 1.5;
    margin-top: auto;
}

/* Step 2 specific */
.step__intro {
    color: var(--text-secondary);
    font-size: 14.4px;
    line-height: 1.55;
    max-width: 360px;
}

.step__quote {
    border: 1px solid var(--gold);
    border-radius: var(--r-md);
    padding: 18px 22px;
    color: var(--gold);
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 360px;
}

.step__lead {
    color: var(--gold);
    font-size: 16.8px;
    font-weight: 700;
    margin-top: 6px;
}

.pet-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 360px;
    text-align: left;
    margin: 0;
}

.pet-grid div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pet-grid dt {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.5);
    text-underline-offset: 4px;
}

.pet-grid dd {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.step__time {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gold-border);
    border-radius: var(--r-pill);
    padding: 16px 28px;
    background: var(--grad-pet-pill);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.step__time .text-gold {
    font-size: 22px;
    font-weight: 800;
}

.step__time svg {
    color: var(--gold);
    flex-shrink: 0;
}

.step__time strong {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
}

.step__time small {
    color: var(--text-70);
    font-size: 13.6px;
    font-weight: 400;
}

.step__time > span:last-of-type {
    min-width: 0;
}

/* Step 3 */
.step__numbered {
    display: flex;
    flex-direction: column;
    gap: 20px;
    counter-reset: step;
    text-align: left;
    max-width: 360px;
    width: 100%;
    padding-left: 0;
}

.step__numbered li {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    padding-left: 28px;
    position: relative;
}

.step__numbered li::before {
    counter-increment: step;
    content: counter(step) '.';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: 800;
    font-size: 16px;
}

.step__final {
    width: 100%;
    max-width: 380px;
    margin-top: auto;
    padding: 28px 24px;
    border: 1px solid var(--gold-border);
    border-radius: var(--r-lg);
    background: var(--grad-card-dark);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.step__final p {
    color: var(--gold);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 767px) {
    .steps {
        grid-template-columns: minmax(0, 1fr);
        border-radius: var(--r-xl);
        margin-inline: auto;
    }

    .step {
        padding: 40px 18px 46px;
    }

    .step__num,
    .step__list,
    .step__numbered,
    .step__final,
    .pet-grid {
        max-width: min(100%, 320px);
    }

    .step__title {
        font-size: clamp(26px, 8vw, 32px);
    }

    .step__numbered li {
        padding-left: 24px;
    }

    .step__final {
        padding: 24px 18px;
    }

    .step__final .btn {
        width: 100%;
        min-width: 0;
        padding-inline: 18px;
        white-space: normal;
    }

    .step__time {
        max-width: min(100%, 360px);
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        padding: 16px clamp(16px, 5vw, 28px);
    }
}

@media (min-width: 768px) and (max-width: 1179px) {
    .steps {
        max-width: 720px;
        grid-template-columns: minmax(0, 1fr);
        margin-inline: auto;
    }

    .step + .step {
        border-left: 0;
    }
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
    padding-block: 96px;
    background: var(--bg-primary);
    position: relative;
}

.pricing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 30% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 70%);
    pointer-events: none;
}

.price-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, calc((100vw - min(var(--container), 100vw)) / 2 + 20px));
    padding: 4px 20px 12px;
    margin-inline: -20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.price-grid::-webkit-scrollbar {
    display: none;
}

.price-card {
    flex: 0 0 min(86vw, 390px);
    scroll-snap-align: center;
    background: var(--bg-card-soft);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-2xl);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 900px) {
    .price-card {
        flex-basis: min(44vw, 420px);
    }
}

@media (min-width: 1180px) {
    .price-card {
        flex-basis: 380px;
    }
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-border);
}

.price-card__head {
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
}

.price-card__head h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.price-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.price-card li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 14.4px;
    font-weight: 400;
    line-height: 1.5;
}

.price-card__price {
    text-align: center;
    font-size: 28.8px;
    font-weight: 800;
    color: #fff;
    margin: 8px 0 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
}

.carousel-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.carousel-dots button.is-active {
    width: 28px;
    background: var(--gold);
}

/* ============================================================
   Partners
   ============================================================ */
.partners {
    background: var(--bg-primary);
}

.partners__bar {
    background: var(--gold);
    text-align: center;
    padding: 24px 16px;
}

.partners__bar h2 {
    font-size: clamp(24px, 3vw, 38px);
    color: #0d0d0d;
    font-weight: 800;
}

.partners__strip {
    background: #fff;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 22px 0;
}

.partners__track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.partners__track img {
    width: 150px;
    height: 52px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .partners__track {
        animation-play-state: paused;
    }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews {
    padding-block: 96px;
    background: var(--bg-primary);
    position: relative;
}

.reviews::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 30% at 50% 0%, rgba(212, 175, 55, 0.12), transparent 60%),
        radial-gradient(40% 40% at 16% 60%, rgba(227, 28, 37, 0.08), transparent 60%);
    pointer-events: none;
}

.reviews__inner {
    position: relative;
}

.reviews__head {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.reviews__head h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    color: #fff;
    letter-spacing: -0.02em;
}

.reviews__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle-08);
}

.reviews__rating strong {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.stars {
    color: var(--star-gold);
    letter-spacing: 0.08em;
    font-weight: 700;
}

.reviews__list {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, calc((100vw - min(var(--container), 100vw)) / 2 + 20px));
    padding: 4px 20px 12px;
    margin-inline: -20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.reviews__list::-webkit-scrollbar {
    display: none;
}

.review {
    flex: 0 0 min(86vw, 390px);
    scroll-snap-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-xl);
    padding: 28px 28px 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 900px) {
    .review {
        flex-basis: min(44vw, 420px);
    }
}

@media (min-width: 1180px) {
    .review {
        flex-basis: 380px;
    }
}

.review blockquote {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    font-style: italic;
}

.review figcaption {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #fff;
    font-size: 14.4px;
}

/* ============================================================
   Form
   ============================================================ */
.form-section {
    padding-block: 80px;
    background: var(--bg-primary);
}

.form-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.form-section__pretitle {
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 800;
    text-align: center;
    color: #fff;
}

.form-card {
    width: 100%;
    max-width: 600px;
    background: var(--grad-card-dark);
    border: 1px solid var(--gold-faint-15);
    border-radius: var(--r-2xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-form);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.form-card__title {
    font-size: clamp(28px, 4.5vw, 38.4px);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
}

.form-card__lead {
    color: var(--text-secondary);
    font-size: 15.2px;
    line-height: 1.6;
    text-align: center;
    max-width: 480px;
}

.form-card__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: inherit;
}

.form-card__success {
    width: 100%;
    display: flex;
    justify-content: center;
}

#form-success-panel[hidden],
#form-card-content[hidden] {
    display: none !important;
}

.form-success {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 8px 0 4px;
}

.form-success__icon {
    color: var(--gold);
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.25));
}

.form-success__eyebrow {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.form-success__title {
    margin: 0;
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.form-success__lead {
    margin: 0;
    font-size: 15.6px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.form-success__note {
    margin: 0;
    font-size: 14.8px;
    line-height: 1.5;
    color: var(--text-70);
    max-width: 42ch;
}

.form-success .btn--block + .btn--block {
    margin-top: 4px;
}

.required {
    color: var(--red);
    margin-left: 2px;
    font-weight: 700;
}

.form-status {
    width: 100%;
    max-width: 560px;
    margin: 4px auto 0;
    padding: 14px 18px;
    border-radius: var(--r-md);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    border: 1px solid transparent;
}

.form-status--success {
    background: rgba(34, 139, 34, 0.12);
    border-color: rgba(34, 139, 34, 0.45);
    color: #b9f0bd;
}

.form-status--error {
    background: rgba(227, 28, 37, 0.12);
    border-color: rgba(227, 28, 37, 0.45);
    color: #ffb3b6;
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    color: var(--gold);
    font-size: 12.8px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: #fff;
    color: var(--text-on-light);
    border: 2px solid transparent;
    border-radius: var(--r-md);
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
    border-color: #ff2f3d;
    box-shadow: 0 0 0 4px rgba(255, 47, 61, 0.2), 0 0 18px rgba(255, 47, 61, 0.34);
}

.field.is-valid input,
.field.is-valid select,
.field.is-valid textarea {
    border-color: #27c46a;
    box-shadow: 0 0 0 4px rgba(39, 196, 106, 0.14);
}

.field.is-invalid::after,
.field.is-valid::after {
    position: absolute;
    right: 14px;
    top: 40px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    pointer-events: none;
}

.field.is-invalid::after {
    content: "⚠";
    color: #fff;
    background: #ff2f3d;
    box-shadow: 0 0 14px rgba(255, 47, 61, 0.45);
}

.field.is-valid::after {
    content: "✓";
    color: #06170d;
    background: #27c46a;
}

.field.has-state input,
.field.has-state select {
    padding-right: 52px;
}

.field-error {
    display: none;
    margin: -2px 2px 0;
    color: #ff7a83;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.field-error::before {
    content: "⚠ ";
}

.field.is-invalid .field-error,
.checkbox.is-invalid + .field-error {
    display: block;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-placeholder);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus {
    border-color: #ff2f3d;
    box-shadow: 0 0 0 4px rgba(255, 47, 61, 0.22), 0 0 20px rgba(255, 47, 61, 0.38);
}

.field.is-valid input:focus,
.field.is-valid select:focus,
.field.is-valid textarea:focus {
    border-color: #27c46a;
    box-shadow: 0 0 0 4px rgba(39, 196, 106, 0.16);
}

.field textarea {
    resize: vertical;
    min-height: 128px;
}

.field__hint {
    margin: -2px 2px 0;
    color: var(--text-secondary);
    font-size: 12.5px;
    line-height: 1.45;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%231a1a1a'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 44px;
}

.checkbox {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 13.6px;
    line-height: 1.5;
}

.checkbox--required {
    padding: 12px 14px;
    border: 1px solid var(--gold-border);
    border-radius: var(--r-md);
    background: var(--gold-faint);
}

.checkbox.is-invalid {
    border-color: #ff2f3d;
    box-shadow: 0 0 0 4px rgba(255, 47, 61, 0.18), 0 0 18px rgba(255, 47, 61, 0.28);
}

.checkbox.is-valid {
    border-color: rgba(39, 196, 106, 0.72);
    box-shadow: 0 0 0 4px rgba(39, 196, 106, 0.12);
}

.checkbox.is-invalid::after,
.checkbox.is-valid::after {
    margin-left: auto;
    flex-shrink: 0;
    font-weight: 800;
}

.checkbox.is-invalid::after {
    content: "⚠";
    color: #ff7a83;
}

.checkbox.is-valid::after {
    content: "✓";
    color: #35d47b;
}

.checkbox input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.checkbox a {
    color: var(--gold);
    border-bottom: 1px solid var(--gold-border);
    padding-bottom: 1px;
}


.form.is-incomplete button[type="submit"],
.form button[type="submit"]:disabled {
    filter: grayscale(0.35) brightness(0.82);
    opacity: 0.82;
    cursor: not-allowed;
}

.form__or {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14.4px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    margin: 16px 0 4px;
}

.form__or::before,
.form__or::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 36%;
    height: 1px;
    background: var(--gold-border);
}

.form__or::before { left: 0; }
.form__or::after  { right: 0; }

.form__or span {
    background: transparent;
    padding: 0 16px;
}

.form__call {
    text-align: center;
    font-size: 19.2px;
    font-weight: 700;
}

.form-section__fallback {
    color: var(--text-50);
    font-size: 13px;
    text-align: center;
}

.form-section__fallback a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    padding-block: 64px 24px;
    color: var(--text-secondary);
}

.site-footer__grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.site-footer h3 {
    color: #fff;
    font-size: 14.4px;
    font-weight: 600;
    margin-bottom: 16px;
}

.site-footer__sub {
    margin-top: 22px;
}

.site-footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer a,
.site-footer p {
    color: var(--text-secondary);
    font-size: 13.6px;
    line-height: 1.55;
}

.site-footer a {
    transition: color 0.18s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--gold);
}

.site-footer a[aria-current="page"] {
    color: var(--gold);
    font-weight: 700;
}

.site-footer p + p {
    margin-top: 12px;
}

.site-footer__base {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13.6px;
}

/* ============================================================
   Floating phone CTA
   ============================================================ */
.floating-call {
    --floating-call-size: 56px;
    position: fixed;
    right: clamp(14px, 3.5vw, 26px);
    bottom: clamp(14px, 3.5vw, 26px);
    z-index: 100;
    display: inline-flex;
    align-items: stretch;
    max-width: var(--floating-call-size);
    height: var(--floating-call-size);
    overflow: hidden;
    background: linear-gradient(155deg, #e32730 0%, #b8141c 100%);
    color: #fff;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 10px 28px rgba(227, 28, 37, 0.35),
        0 20px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.floating-call__icon {
    flex: 0 0 var(--floating-call-size);
    width: var(--floating-call-size);
    min-width: var(--floating-call-size);
    display: grid;
    place-items: center;
    pointer-events: none;
}

.floating-call__text {
    align-self: center;
    padding-right: 18px;
    margin-left: 2px;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
    transition:
        max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.28s ease 0.04s;
}

@media (min-width: 768px) and (hover: hover) {
    .floating-call:hover {
        max-width: min(272px, calc(100vw - 32px));
        transform: translateY(-3px);
        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.12),
            0 14px 36px rgba(227, 28, 37, 0.42),
            0 24px 48px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .floating-call:hover .floating-call__text {
        max-width: 220px;
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .floating-call:focus-visible {
        outline: 0;
        max-width: min(272px, calc(100vw - 32px));
        transform: translateY(-2px);
        box-shadow:
            0 0 0 3px var(--bg-primary),
            0 0 0 6px rgba(212, 175, 55, 0.65),
            0 14px 36px rgba(227, 28, 37, 0.4),
            0 24px 48px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .floating-call:focus-visible .floating-call__text {
        max-width: 220px;
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .floating-call {
        max-width: var(--floating-call-size);
        width: var(--floating-call-size);
    }

    .floating-call__text {
        display: none;
    }

    .floating-call:active {
        transform: scale(0.96);
    }

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

@media (prefers-reduced-motion: reduce) {
    .floating-call,
    .floating-call__text {
        transition: none;
    }

    .floating-call:hover,
    .floating-call:focus-visible,
    .floating-call:active {
        transform: none;
    }
}

/* ============================================================
   Legal pages (privacy.html, aszf.html)
   ============================================================ */
.legal {
    padding-block: 64px 96px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.legal__inner {
    max-width: 820px;
}

.legal__head {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal__head h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 12px;
}

.legal__updated {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.legal section {
    margin-bottom: 32px;
}

.legal h2 {
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}

.legal p,
.legal li {
    color: var(--text-78);
    font-size: 16px;
    line-height: 1.7;
}

.legal p + p {
    margin-top: 12px;
}

.legal ul {
    margin-top: 8px;
    padding-left: 22px;
    list-style: disc;
}

.legal li {
    margin-bottom: 6px;
}

.legal a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal a:hover {
    color: var(--gold-hover);
}

.legal__back {
    margin-top: 40px;
    text-align: center;
}

.legal__note {
    background: var(--gold-faint-10);
    border: 1px solid var(--gold-border);
    border-radius: var(--r-lg);
    padding: 1rem 1.15rem;
    color: var(--text-78);
    margin: 1.5rem 0;
    line-height: 1.65;
}

.legal__table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: var(--r-md);
    border: 1px solid var(--border-subtle);
}

.legal__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--bg-card-soft);
    font-size: 14px;
}

.legal__table th,
.legal__table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: top;
}

.legal__table th {
    background: var(--gold-faint-10);
    color: var(--gold);
    font-weight: 700;
}

.legal__table td {
    color: var(--text-78);
    line-height: 1.5;
}

@media (max-width: 700px) {
    .legal__table {
        font-size: 13px;
    }

    .legal__table th,
    .legal__table td {
        padding: 0.65rem 0.75rem;
    }
}

/* ============================================================
   Blog articles (subpages)
   ============================================================ */
.blog-page {
    padding-top: var(--header-h);
    min-height: 100vh;
    background: var(--bg-primary);
}

.blog-page__inner {
    padding-block: 40px 72px;
}

.blog-article__head {
    max-width: 720px;
    margin: 0 auto;
}

.blog-article__intro {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 28px 22px;
    background: rgba(8, 8, 8, 0.78);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.45);
}

.blog-article__intro .blog-article__title {
    margin: 0 0 14px;
    text-wrap: balance;
}

@media (max-width: 767px) {
    .blog-article__intro {
        padding: 22px 18px;
    }
}

.blog-article__crumb {
    font-size: 14px;
    color: var(--text-70);
    margin-bottom: 20px;
}

.blog-article__crumb a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.blog-article__crumb a:hover,
.blog-article__crumb a:focus-visible {
    text-decoration: underline;
}

.blog-article__hero {
    aspect-ratio: 16 / 10;
    border-radius: var(--r-2xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: #1a1a1a;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.blog-article__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.blog-article__title {
    font-size: clamp(26px, 4.5vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.blog-article__title .text-gold {
    color: var(--gold);
}

.blog-article__meta {
    color: var(--text-70);
    font-size: 14px;
    margin: 0 0 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-article__intro .blog-article__meta {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13.6px;
}

.blog-article__prose {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
}

.blog-article__prose > *:first-child {
    margin-top: 0;
}

.blog-article__lead {
    border: 1px solid var(--gold);
    border-radius: var(--r-md);
    padding: 18px 22px;
    color: var(--gold);
    font-size: clamp(15px, 2.2vw, 16.8px);
    line-height: 1.55;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.06);
    margin: 0 0 28px;
}

.blog-article__prose h2 {
    font-size: clamp(20px, 2.8vw, 24px);
    font-weight: 700;
    color: var(--gold);
    margin: 44px 0 16px;
    line-height: 1.3;
}

.blog-article__prose h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 32px 0 12px;
}

.blog-article__prose p {
    margin: 0 0 1.25em;
}

.blog-article__prose strong {
    color: #fff;
    font-weight: 700;
}

.blog-article__prose a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-article__prose a:hover,
.blog-article__prose a:focus-visible {
    text-decoration-thickness: 2px;
}

.pain__cta.blog-article__cta {
    margin: 40px auto 0;
    max-width: 720px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px 24px;
    text-align: center;
    align-items: start;
    justify-items: center;
}

.pain__cta.blog-article__cta .blog-article__cta-title {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    text-wrap: balance;
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
}

.pain__cta.blog-article__cta .blog-article__cta-lead {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    color: var(--text-78);
    margin: 0;
    line-height: 1.5;
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
}

.pain__cta.blog-article__cta .btn {
    grid-column: 1;
    grid-row: 3;
    margin-top: 4px;
}

@media (min-width: 640px) {
    .pain__cta.blog-article__cta {
        text-align: left;
        justify-items: start;
    }
}

@media (min-width: 900px) {
    .pain__cta.blog-article__cta {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 28px;
        row-gap: 12px;
        align-items: center;
    }

    .pain__cta.blog-article__cta .blog-article__cta-title {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .pain__cta.blog-article__cta .blog-article__cta-lead {
        grid-column: 1;
        grid-row: 2;
    }

    .pain__cta.blog-article__cta .btn {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
    }
}

@media (max-width: 899px) {
    .pain__cta.blog-article__cta .btn {
        width: 100%;
        max-width: 360px;
    }
}

.blog-article__nav {
    max-width: 720px;
    margin: 32px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
}

.blog-article__nav-end {
    flex: 1 1 12px;
    min-width: 12px;
    pointer-events: none;
}

.blog-article__actions {
    max-width: 720px;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .blog-page__inner {
        padding-block: 28px 56px;
    }

    .blog-article__prose {
        font-size: 16px;
    }

    .blog-article__nav {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-article__nav .btn--blog-nav {
        flex: 1 1 auto;
        max-width: none;
    }

    .blog-article__nav-end {
        display: none;
    }
}

/* ============================================================
   Form — submit spinner & field shake
   ============================================================ */
@keyframes nx-spin {
    to { transform: rotate(360deg); }
}

@keyframes nx-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

.btn--loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
}

.btn--loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: nx-spin 0.7s linear infinite;
}

.nx-shake {
    animation: nx-shake 0.4s ease;
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0ms !important;
        scroll-behavior: auto !important;
    }
}
