/* ==========================================================================
   Reset minimal
   ========================================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
}

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

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    line-height: 1.2;
}

p {
    overflow-wrap: break-word;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Accessibility: focus visible */
:focus-visible {
    outline: 2px solid #8B1A3A;
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 8px 16px;
    background: #8B1A3A;
    color: #fff;
}
.skip-link:focus {
    top: 0;
}

/* Touch delay fix */
a,
button,
input,
select {
    touch-action: manipulation;
}

/* Main flex layout */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#main {
    flex: 1 0 auto;
}

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

/* No-JS fallbacks */
@media (max-width: 767px) {
    .no-js .site-header__nav-list {
        display: flex;
        flex-direction: column;
    }
}
.no-js .menu-toggle {
    display: none;
}
.no-js .lead-form__step {
    display: block !important;
}
.no-js .lead-form__step-indicator,
.no-js [data-step="next"],
.no-js [data-step="back"] {
    display: none;
}
.no-js .consent-banner {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Design Tokens — RADICAL REDESIGN
   ========================================================================== */

:root {
    /* Spacing scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-md);

    /* COLOR SCHEME — Bordeaux Wine + Soft Gold */
    --color-accent: #8B1A3A;
    --color-accent-dark: #6B1230;
    --color-secondary: #C8956C;
    --color-dark: #1C1017;
    --color-dark-lighter: #2D1A23;
    --color-surface: #FBF9F7;
    --color-surface-card: #ffffff;
    --color-text: #2A1F24;
    --color-text-body: #5A4E53;
    --color-text-light: #8A7F84;
    --color-text-muted: #A89DA3;
    --color-border: rgba(139, 26, 58, 0.1);
    --color-gold-line: #C8956C;

    /* Gradients — Gold to Bordeaux */
    --gradient-primary: linear-gradient(135deg, #C8956C 0%, #8B1A3A 100%);
    --gradient-primary-hover: linear-gradient(135deg, #B8855C 0%, #6B1230 100%);
    --gradient-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;

    /* Shadows — stronger for white cards on warm gray */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-sticky: 0 -2px 12px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;

    /* Z-index scale */
    --z-header: 100;
    --z-overlay: 200;
    --z-modal: 300;
    --z-consent: 400;
    --z-sticky-cta: 90;

    /* Typography scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;

    /* Badge colors */
    --badge-online-bg: rgba(0, 0, 0, 0.5);
    --badge-online-dot: #22C55E;
}

/* Responsive spacing */
@media (min-width: 768px) {
    :root {
        --container-padding: var(--space-lg);
        --space-xl: 48px;
        --space-2xl: 80px;
        --space-3xl: 120px;
    }
}

/* ==========================================================================
   Typography — System fonts, tight headings, relaxed body
   ========================================================================== */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: optional;
    src: url('../fonts/inter-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-body);
    background-color: var(--color-surface);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); }
h6 { font-size: var(--text-sm); }

@media (min-width: 768px) {
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-2xl); }
}

@media (min-width: 1024px) {
    h1 { font-size: var(--text-5xl); }
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-body);
    line-height: 1.7;
}

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

a {
    color: var(--color-accent);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-dark);
}

strong, b {
    font-weight: 600;
}

small {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Content typography */
.content-area h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.content-area h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.content-area p {
    margin-bottom: var(--space-md);
}

.content-area ul,
.content-area ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.content-area ul {
    list-style: disc;
}

.content-area ol {
    list-style: decimal;
}

.content-area li {
    margin-bottom: var(--space-xs);
}

.content-area blockquote {
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    border-left: 4px solid var(--color-accent);
    background: rgba(139, 26, 58, 0.04);
    font-style: italic;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Gradient text utility */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Utility classes
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.section {
    padding-block: var(--space-2xl);
}

.section--alt {
    background-color: var(--color-surface);
}

/* Flex shortcuts */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Grid */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

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

/* Text */
.text-center { text-align: center; }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-light { color: var(--color-text-light); }
.font-bold { font-weight: 700; }

/* Spacing */
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Visibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .hide-mobile { display: none; }
}

@media (min-width: 768px) {
    .hide-desktop { display: none; }
}

.section-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--text-3xl);
    }
}

/* ==========================================================================
   Header — Dark charcoal (#1a1a1a) with rose accent
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: var(--color-dark);
}

.site-header--dark {
    background: var(--color-dark);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    min-height: 60px;
}

/* Logo / Brand — white text, accent word in rose */
.site-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-header__logo-icon {
    display: block;
    flex-shrink: 0;
    height: 32px;
    width: auto;
}

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

.site-header__logo-text {
    font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: var(--text-xl);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.site-header__logo-accent {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .site-header__logo-text {
        font-size: var(--text-2xl);
    }
}

/* Nav area */
.site-header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

/* Nav list — clean text links in white/gray */
.site-header__nav-list {
    display: none;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .site-header__nav-list {
        display: flex;
    }
}

.site-header__nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    padding: var(--space-sm) 0;
    text-decoration: none;
    border: none;
    background: none;
    border-radius: 0;
}

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

/* CTA button in header — rose gradient */
.site-header__cta-btn {
    padding: 8px 20px;
    font-size: var(--text-sm);
    min-height: 38px;
    border-radius: var(--radius-pill);
}

/* Gold separator line */
.site-header__separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-line), transparent);
}

/* Hamburger toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background var(--transition-fast);
    border-radius: 2px;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.menu-toggle__bar::before { top: -6px; }
.menu-toggle__bar::after { bottom: -6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
    background: transparent;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* Mobile menu — full overlay */
@media (max-width: 767px) {
    .site-header__inner {
        position: relative;
    }

    .site-header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-dark);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: var(--space-xl);
    }

    .site-header__nav.is-open {
        display: flex;
    }

    .site-header__nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .site-header__nav-list li {
        width: 100%;
        text-align: center;
    }

    .site-header__nav-link {
        display: block;
        padding: 16px 0;
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

    .site-header__cta-btn {
        margin-top: 24px;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 14px 24px;
    }

    .menu-toggle {
        z-index: 1000;
    }
}

/* Legacy is-open on nav-list for backward compat */
.site-header__nav-list.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    border-bottom: 2px solid rgba(139, 26, 58, 0.3);
    padding: var(--space-md) var(--container-padding);
    gap: 0;
    z-index: 99;
}

.site-header__nav-list.is-open .site-header__nav-link {
    display: flex;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile nav (old site-nav classes for compatibility) */
.site-nav {
    display: none;
}

.site-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    border-bottom: 2px solid rgba(139, 26, 58, 0.3);
    padding: var(--space-md) var(--container-padding);
    box-shadow: var(--shadow-lg);
}

.site-nav.is-open .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.site-nav.is-open .site-nav__link {
    display: flex;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .site-nav {
        display: block;
    }
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    padding: var(--space-sm) 0;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.current-menu-item > a {
    color: var(--color-accent);
}

.site-nav__link .icon {
    width: 18px;
    height: 18px;
}

/* Header variant overrides */
.variant-header-minimal .site-header {
    box-shadow: none;
}
.variant-header-minimal .site-nav {
    display: none;
}
@media (min-width: 768px) {
    .variant-header-minimal .site-nav {
        display: none;
    }
}

.variant-header-conversion .site-header__inner {
    justify-content: center;
    gap: var(--space-xl);
}
.variant-header-conversion .site-nav {
    display: none;
}
@media (min-width: 768px) {
    .variant-header-conversion .site-header__cta {
        display: inline-flex;
        font-size: var(--text-lg);
    }
}

/* Old header classes — hidden/compatibility */
.site-header__top {
    display: none;
}

.site-header__nav-bar {
    display: none;
}

/* ==========================================================================
   Footer — Dark charcoal (#1a1a1a) matching header
   ========================================================================== */

.site-footer {
    background: var(--color-dark);
    color: var(--color-text-muted);
    padding-block: var(--space-xl) var(--space-lg);
}

.site-footer--dark {
    background: var(--color-dark);
    color: var(--color-text-muted);
}

/* Override old --seo variant */
.site-footer--seo {
    background: var(--color-dark);
    color: var(--color-text-muted);
    border-top: none;
}

.site-footer--seo a {
    color: var(--color-text-muted);
}

.site-footer--seo a:hover {
    color: #fff;
}

.site-footer--seo .site-footer__card {
    background: transparent;
    border: none;
}

.site-footer--seo .site-footer__count {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
}

.site-footer--seo .site-footer__title {
    color: #fff;
}

.site-footer--seo .site-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
    color: var(--color-text-muted);
}

.site-footer a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.site-footer a:hover {
    color: var(--color-accent);
}

.site-footer__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

.site-footer__grid--3 {
    grid-template-columns: 1fr;
}

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

.site-footer__brand {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: #fff;
}

.site-footer__desc {
    font-size: var(--text-sm);
    opacity: 0.6;
    line-height: 1.6;
}

.site-footer__title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
    color: #fff;
}

.site-footer__links li {
    margin-bottom: 6px;
}

.site-footer__links a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    display: block;
    padding: 2px 0;
}

.site-footer__links a:hover {
    color: var(--color-accent);
}

.site-footer__bottom {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

@media (min-width: 768px) {
    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Footer card style (no borders in dark mode) */
.site-footer__card {
    background: transparent;
    border: none;
    padding: 0;
}

.site-footer__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    font-size: var(--text-xs);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: var(--color-text-muted);
    margin-left: auto;
}

.site-footer__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Region toggle — expand/collapse */
.site-footer__region-item {
    list-style: none;
}

.site-footer__region-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    text-align: left;
}

.site-footer__region-toggle:hover {
    background: rgba(139, 26, 58, 0.1);
    color: var(--color-accent);
}

.site-footer__arrow {
    font-size: 10px;
    transition: transform var(--transition-fast);
}

.site-footer__region-item.is-open .site-footer__arrow {
    transform: rotate(180deg);
}

.site-footer__region-item.is-open .site-footer__region-toggle {
    background: rgba(139, 26, 58, 0.1);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.site-footer__cities {
    list-style: none;
    padding: var(--space-xs) 0 var(--space-xs) var(--space-md);
    margin-top: 4px;
}

.site-footer__cities li {
    margin-bottom: 2px;
}

.site-footer__cities a {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    padding: 4px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer__cities a:hover {
    color: var(--color-accent);
}

.site-footer__regions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.site-footer__empty {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-style: italic;
}

/* Footer variant overrides */
.variant-footer-minimal .site-footer {
    padding-block: var(--space-lg);
}
.variant-footer-minimal .site-footer__grid {
    display: none;
}

.variant-footer-seo .site-footer__grid {
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .variant-footer-seo .site-footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Buttons — Rose/Purple gradient
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast),
                border-color var(--transition-fast), transform var(--transition-fast),
                box-shadow var(--transition-fast);
    white-space: nowrap;
    min-height: 48px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Primary — solid rose */
.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-xl);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    color: #fff;
}

/* Gradient button — rose to purple */
.btn-gradient {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 15px rgba(139, 26, 58, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 26, 58, 0.35);
}

.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary-hover);
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: inherit;
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient:hover {
    box-shadow: 0 4px 20px rgba(139, 26, 58, 0.4);
    color: #fff;
}

.btn-gradient span {
    position: relative;
    z-index: 1;
}

/* Secondary — outline rose */
.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    border-radius: var(--radius-xl);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Ghost */
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Outline light */
.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-xl);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: var(--text-sm);
    min-height: 36px;
    border-radius: var(--radius-xl);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--text-lg);
    min-height: 56px;
    border-radius: var(--radius-xl);
}

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

.btn .icon {
    width: 18px;
    height: 18px;
}

/* Pill button (deprecated — kept for compat) */
.btn-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    background: transparent;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.btn-pill:hover {
    background: var(--color-accent);
    color: #fff;
}

/* ==========================================================================
   Cards — Horizontal classifieds style
   ========================================================================== */

/* -- Card Annonce (horizontal classifieds card) -- */
.card-annonce {
    background: var(--color-surface-card);
    border-radius: var(--radius-sm);
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 12px;
    transition: background var(--transition-fast);
}

.card-annonce:hover {
    background: #fafafa;
}

.card-annonce__link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    padding: 16px;
    gap: 16px;
}

/* Image — square 180px, left side */
.card-annonce__image {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.card-annonce__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Photo count overlay — bottom-left of image */
.card-annonce__photo-count {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Content — right side, flex 1 */
.card-annonce__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Title — accent color, bold */
.card-annonce__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Tags row */
.card-annonce__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    align-items: center;
}

.card-annonce__tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.card-annonce__tag--age {
    background: #4CAF50;
    color: #fff;
}

.card-annonce__tag--location {
    background: #2196F3;
    color: #fff;
}

/* Status badge — inline with tags */
.card-annonce__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text-light);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-pill);
}

.card-annonce__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Badge variants */
.card-annonce__badge--online {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}
.card-annonce__badge--online .card-annonce__badge-dot {
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
}

.card-annonce__badge--dispo {
    background: rgba(139, 26, 58, 0.1);
    color: var(--color-accent);
}
.card-annonce__badge--dispo .card-annonce__badge-dot { background: var(--color-accent); }

.card-annonce__badge--recent {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}
.card-annonce__badge--recent .card-annonce__badge-dot { background: #f59e0b; }

.card-annonce__badge--offline {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-text-muted);
}
.card-annonce__badge--offline .card-annonce__badge-dot { background: #9ca3af; }

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

/* Old badge classes (card-profil__badge) — compatibility */
.card-profil__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
}

.card-profil__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-profil__badge--online { background: rgba(0, 0, 0, 0.5); color: #fff; }
.card-profil__badge--online .card-profil__badge-dot {
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
}

.card-profil__badge--dispo {
    background: rgba(139, 26, 58, 0.85);
    color: #fff;
}
.card-profil__badge--dispo .card-profil__badge-dot { background: #fff; }

.card-profil__badge--recent { background: rgba(0, 0, 0, 0.5); color: #fff; }
.card-profil__badge--recent .card-profil__badge-dot { background: #f59e0b; }

.card-profil__badge--offline {
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.7);
}
.card-profil__badge--offline .card-profil__badge-dot { background: #9ca3af; }

/* Excerpt — gray text, 3-4 lines max */
.card-annonce__excerpt {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Hidden old elements — compatibility */
.card-annonce__location-pill { display: none; }
.card-annonce__name-overlay { display: none; }
.card-annonce__name { display: none; }
.card-annonce__cta { display: none; }
.card-annonce__meta { display: none; }
.card-annonce__age { display: none; }

/* Mobile: stack card vertically */
@media (max-width: 599px) {
    .card-annonce__link {
        flex-direction: column;
        padding: 12px;
    }
    .card-annonce__image {
        width: 100%;
        height: 200px;
    }
    .card-annonce__excerpt {
        -webkit-line-clamp: 2;
    }
}

/* -- Card Profil (old overlay style — compatibility) -- */
.card-profil {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    background: var(--color-surface-card);
}

.card-profil:hover {
    box-shadow: var(--shadow-card-hover);
    transform: scale(1.02);
}

.card-profil__image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-profil__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.card-profil:hover .card-profil__image img {
    transform: scale(1.04);
}

.card-profil__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl) var(--space-md) var(--space-md);
    background: var(--gradient-overlay);
    z-index: 2;
}

.card-profil__distance {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--color-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-pill);
}

.card-profil__label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
}

.card-profil__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-profil__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl) var(--space-md) var(--space-md);
    background: var(--gradient-overlay);
    color: #fff;
    z-index: 2;
}

.card-profil__name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.card-profil__meta {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.card-profil__desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-profil__cta {
    width: 100%;
    margin-top: var(--space-sm);
}

/* Variant B */
.card-profil--b .card-profil__image { aspect-ratio: 3/4; }
.card-profil--b .card-profil__desc { display: none; }

/* Variant C — horizontal */
.card-profil--c {
    display: flex;
    flex-direction: row;
}

.card-profil--c .card-profil__image {
    width: 140px;
    flex-shrink: 0;
    aspect-ratio: auto;
}

.card-profil--c .card-profil__body {
    position: static;
    background: none;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-md);
}

.card-profil--c .card-profil__name { color: var(--color-text); }
.card-profil--c .card-profil__meta { color: var(--color-text-light); }

@media (min-width: 768px) {
    .card-profil--c .card-profil__image { width: 180px; }
}

/* -- Card Article -- */
.card-article {
    background: var(--color-surface-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card-article:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.card-article__image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.card-article__body { padding: var(--space-md); }

.card-article__date {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.card-article__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-article__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Hero / Intro — Eliminated
   ========================================================================== */

.hero {
    display: none;
}

/* Old inline intro — hidden */
.hp-inline-intro { display: none; }

/* Classifieds header — page title + filter pills */
.hp-classifieds-header {
    padding: var(--space-lg) 0 var(--space-sm);
}

.hp-classifieds-header__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
    .hp-classifieds-header__title {
        font-size: 1.8rem;
    }
}

.hp-classifieds-header__pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.hp-classifieds-header__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-pill);
    background: rgba(139, 26, 58, 0.06);
    color: var(--color-accent);
    border: 1px solid rgba(139, 26, 58, 0.15);
}

.hp-classifieds-header__pill--active {
    background: rgba(139, 26, 58, 0.1);
    border-color: var(--color-accent);
}

.hp-classifieds-header__online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hp-classifieds-header__count {
    font-weight: 700;
    color: var(--color-accent);
}

/* ==========================================================================
   Homepage sections
   ========================================================================== */

.hp-section {
    padding-block: var(--space-md);
}

/* Hero SEO box — hidden */
.hp-section--hero {
    display: none;
}

.hp-hero__box {
    display: none;
}

/* Profile section — tight spacing */
.hp-section--profils {
    padding-top: var(--space-sm);
}

/* Section header — hidden */
.hp-section__header {
    display: none;
}

.hp-section__title {
    display: none;
}

/* Two-column classifieds layout */
.hp-classifieds-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .hp-classifieds-layout {
        flex-direction: row;
    }
}

.hp-classifieds-layout__main {
    flex: 1;
    min-width: 0;
}

@media (min-width: 768px) {
    .hp-classifieds-layout__main {
        flex: 0 0 70%;
        max-width: 70%;
    }
}

.hp-classifieds-layout__sidebar {
    width: 100%;
}

@media (min-width: 768px) {
    .hp-classifieds-layout__sidebar {
        flex: 0 0 28%;
        max-width: 28%;
    }
}

/* Listing list (vertical, one per row) */
.listing-list--annonces {
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Sidebar — Search / CTA / Cities / Nearby
   ========================================================================== */

.sidebar-search {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sidebar-search__cta {
    margin-bottom: var(--space-xs);
}

.sidebar-search__cta-btn {
    font-size: 1rem;
    padding: 14px 20px;
    min-height: 48px;
    width: 100%;
    text-align: center;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(139, 26, 58, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-search__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 26, 58, 0.35);
}

.sidebar-search__box {
    background: var(--color-surface-card);
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    padding: var(--space-md);
}

.sidebar-search__box-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
}

.sidebar-search__search-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(139, 26, 58, 0.04);
    border: 1px solid rgba(139, 26, 58, 0.15);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent);
    transition: background var(--transition-fast);
}

.sidebar-search__search-link:hover {
    background: rgba(139, 26, 58, 0.08);
}

/* City list */
.sidebar-search__city-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-search__city-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-search__city-list li:last-child {
    border-bottom: none;
}

.sidebar-search__city-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 2px;
    font-size: var(--text-sm);
    color: var(--color-text-body);
    transition: color var(--transition-fast);
}

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

.sidebar-search__city-name {
    color: var(--color-accent);
    font-weight: 500;
}

.sidebar-search__city-count {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

/* Nearby profiles */
.sidebar-search__nearby {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.sidebar-search__nearby-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.sidebar-search__nearby-card:hover {
    background: rgba(139, 26, 58, 0.04);
}

.sidebar-search__nearby-img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-search__nearby-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-search__nearby-info {
    display: flex;
    flex-direction: column;
}

.sidebar-search__nearby-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
}

.sidebar-search__nearby-age {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* Header online dot */
.site-header__online-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 2px;
    vertical-align: middle;
    animation: pulse-dot 2s ease-in-out infinite;
}

.site-header__nav-link--online {
    color: rgba(255, 255, 255, 0.85);
}

/* SEO grid (3 columns: regions, cities, latest) */
.hp-section--seo {
    background: var(--color-dark);
    padding-block: var(--space-xl);
    color: var(--color-text-muted);
}

.hp-seo-grid--3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

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

.hp-seo-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
}

.hp-seo-card__title {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hp-seo-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-seo-card__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hp-seo-card__list li:last-child {
    border-bottom: none;
}

.hp-seo-card__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 2px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.hp-seo-card__list a:hover {
    color: var(--color-accent);
}

.hp-seo-card__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 8px;
    font-size: var(--text-xs);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--color-text-muted);
}

/* HP pagination */
.hp-pagination {
    text-align: center;
    margin-top: var(--space-lg);
}

.hp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: 500;
    margin: 0 2px;
    color: var(--color-text);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.hp-pagination .page-numbers.current {
    background: var(--gradient-primary);
    color: #fff;
}

.hp-pagination .page-numbers:hover:not(.current):not(.dots) {
    background: rgba(139, 26, 58, 0.08);
    color: var(--color-accent);
}

/* ==========================================================================
   Forms
   ========================================================================== */

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

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: var(--text-base);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 48px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(139, 26, 58, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-light);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    border-radius: var(--radius-md);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236B7280' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.form-check input {
    margin-top: 3px;
    flex-shrink: 0;
}

.form-input--error {
    border-color: var(--color-error, #ef4444);
}

.form-error {
    font-size: var(--text-xs);
    color: var(--color-error, #ef4444);
    margin-top: var(--space-xs);
}

.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Contact form */
.contact-form {
    background: var(--color-surface-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
}

.contact-form__title {
    font-size: var(--text-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.contact-form__subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* Message chips */
.message-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.message-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast),
                color var(--transition-fast);
    white-space: nowrap;
    user-select: none;
}

.message-chip:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(139, 26, 58, 0.04);
}

.message-chip.is-selected {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.message-chip input { display: none; }

.contact-form .form-textarea {
    min-height: 100px;
    margin-bottom: var(--space-md);
}

.contact-form__submit { width: 100%; }

/* Lead form */
.lead-form {
    background: var(--color-surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.lead-form__title {
    font-size: var(--text-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    text-align: center;
}

.lead-form__step { display: none; }
.lead-form__step.is-active { display: block; }

.lead-form__step-indicator {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.lead-form__step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.lead-form__step-dot.is-active {
    background: var(--color-accent);
}

.lead-form__gender-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.lead-form__gender-btn {
    padding: var(--space-md);
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.lead-form__gender-btn:hover {
    border-color: var(--color-accent);
}

.lead-form__gender-btn.is-selected {
    border-color: var(--color-accent);
    background: rgba(139, 26, 58, 0.05);
}

.lead-form__gender-btn input { display: none; }

.form-message {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
}

.form-message--success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid #10b981;
}

.form-message--error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* ==========================================================================
   Register page
   ========================================================================== */

.register-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f3d 50%, #1a1a1a 100%);
}

.register-page__inner {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.register-page__box {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.register-page__header {
    background: linear-gradient(135deg, var(--color-accent) 0%, #c0392b 100%);
    padding: 32px 28px 24px;
    text-align: center;
    color: #fff;
}

.register-page__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.register-page__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.register-page__subtitle {
    font-size: .95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.register-page__subtitle strong {
    color: #fff;
}

.register-page__stats {
    display: flex;
    justify-content: space-around;
    padding: 20px 16px;
    background: #fafaf7;
    border-bottom: 1px solid #eee;
}

.register-page__stat {
    text-align: center;
}

.register-page__stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text);
}

.register-page__stat-label {
    display: block;
    font-size: .7rem;
    color: #888;
    margin-top: 2px;
}

.register-page__promise {
    text-align: center;
    padding: 16px 28px 0;
    font-size: .9rem;
    color: var(--color-accent);
    font-weight: 600;
}

.register-form {
    padding: 20px 28px 8px;
}

.register-page__trust {
    padding: 0 28px 16px;
    border-top: 1px solid #eee;
    margin-top: 16px;
    padding-top: 16px;
}

.register-page__trust p {
    font-size: .78rem;
    color: #888;
    margin-bottom: 4px;
    line-height: 1.5;
}

.register-form__legal {
    text-align: center;
    padding: 0 28px 20px;
    font-size: .72rem;
    color: #aaa;
}

.register-form__legal a {
    color: var(--color-accent);
}

.register-form__label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.register-form__field {
    margin-bottom: 16px;
}

.register-form__input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: var(--color-text);
    transition: border-color .15s ease;
    box-sizing: border-box;
}

.register-form__input:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(233,30,99,.15);
}

.register-form__submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 8px;
    cursor: pointer;
}

.register-form__legal {
    font-size: .75rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .register-page__box { padding: 24px 18px; }
    .register-page__title { font-size: 1.3rem; }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    padding: var(--space-md) 0;
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.breadcrumbs__item:not(:last-child)::after {
    content: '\203A';
    color: var(--color-text-light);
    opacity: 0.5;
}

.breadcrumbs__item a {
    color: var(--color-text-light);
}

.breadcrumbs__item a:hover,
.breadcrumbs__item a:focus-visible {
    color: var(--color-accent);
}

.breadcrumbs__item [aria-current="page"] {
    color: var(--color-text);
    font-weight: 500;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    margin-top: var(--space-xl);
    text-align: center;
}

.pagination__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.pagination__item a,
.pagination__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-sm);
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text);
    background: var(--color-surface-card);
    transition: background var(--transition-fast), color var(--transition-fast),
                border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pagination__item a:hover,
.pagination__item a:focus-visible {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.pagination__item--active span {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(139, 26, 58, 0.25);
}

.pagination__item .dots {
    border: none;
    background: none;
}

.pagination__info {
    margin-top: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

.pagination__item--prev a,
.pagination__item--next a {
    border-radius: var(--radius-xl);
    padding: 0 var(--space-md);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
    max-width: 800px;
    margin-inline: auto;
}

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

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: var(--text-xl);
    color: var(--color-accent);
    flex-shrink: 0;
    margin-left: var(--space-md);
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item__answer {
    padding-bottom: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ==========================================================================
   Sticky CTA bar — Dark sleek, frosted glass
   ========================================================================== */

.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky-cta);
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0;
    transform: translateY(0);
    transition: transform var(--transition-base);
}

.sticky-cta-bar--dark {
    background: rgba(26, 26, 26, 0.92);
}

.sticky-cta-bar.is-hidden {
    transform: translateY(100%);
}

.sticky-cta-bar__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    height: 40px;
}

.sticky-cta-bar__text {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    display: none;
}

@media (min-width: 768px) {
    .sticky-cta-bar__text {
        display: block;
        font-size: 0.82rem;
    }
}

.sticky-cta-bar__btn {
    flex-shrink: 0;
    padding: 6px 18px;
    font-size: 0.8rem;
    min-height: 30px;
    border-radius: var(--radius-pill);
}

.sticky-cta-bar__close {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    padding: 4px;
    line-height: 1;
}

.sticky-cta-bar__close:hover {
    color: #fff;
}

/* Mobile sticky bar */
@media (max-width: 767px) {
    .sticky-cta-bar__btn {
        flex: 1;
    }
    .sticky-cta-bar__inner {
        gap: var(--space-sm);
    }
    .sticky-cta-bar__text {
        display: none;
    }
}

/* ==========================================================================
   CTA Section variants
   ========================================================================== */

.cta-section--a {
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    padding: var(--space-2xl) 0;
    border-radius: var(--radius-lg);
}

.cta-section--a .cta-section__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: #fff;
}

.cta-section--a .cta-section__desc {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .cta-section--a .cta-section__title {
        font-size: var(--text-3xl);
    }
}

.cta-section--b {
    padding: var(--space-2xl) 0;
}

.cta-section--b .cta-section__card {
    max-width: 600px;
    margin-inline: auto;
    padding: var(--space-xl);
    background: var(--color-surface-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.cta-section--b .cta-section__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.cta-section--b .cta-section__desc {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   Consent banner
   ========================================================================== */

.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-consent);
    background: var(--color-surface-card);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: var(--space-md) 0;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.consent-banner.is-visible {
    transform: translateY(0);
}

.consent-banner__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .consent-banner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.consent-banner__text {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    flex: 1;
}

.consent-banner__text a {
    text-decoration: underline;
}

.consent-banner__actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* ==========================================================================
   Listing layouts — grid
   ========================================================================== */

.listing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

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

/* 3 column variant */
.listing-grid--3 {
    grid-template-columns: 1fr;
}

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

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

/* 4 column variant */
.listing-grid--4 {
    grid-template-columns: 1fr;
}

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

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

/* Full-width variant */
.listing-grid--full {
    grid-template-columns: 1fr;
}

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

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

@media (min-width: 1200px) {
    .listing-grid--full {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Annonces grid — kept for taxonomy/archive pages */
.listing-grid--annonces {
    grid-template-columns: 1fr;
    gap: 12px;
}

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

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

@media (min-width: 1024px) {
    .listing-grid--annonces {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* List variant */
.variant-listing-list .listing-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* Masonry variant */
.variant-listing-masonry .listing-grid {
    columns: 1;
    gap: var(--space-lg);
}

.variant-listing-masonry .listing-grid > * {
    break-inside: avoid;
    margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
    .variant-listing-masonry .listing-grid { columns: 2; }
}

@media (min-width: 1024px) {
    .variant-listing-masonry .listing-grid { columns: 4; }
}

/* Related grid */
.listing-grid--related {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

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

/* Reset card-annonce styles inside related grid */
.listing-grid--related > a {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.listing-grid--related > a > div {
    display: block !important;
    flex-direction: unset !important;
    padding: 0 !important;
}

/* Card Mini — compact overlay card for related profiles */
.card-mini {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

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

.card-mini__image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-mini__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-mini__placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

.card-mini__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
}

.card-mini__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.card-mini__badge--online .card-mini__dot {
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

.card-mini__badge--dispo {
    background: rgba(139,26,58,0.8);
}
.card-mini__badge--dispo .card-mini__dot { background: #fff; }
.card-mini__badge--recent .card-mini__dot { background: #f59e0b; }
.card-mini__badge--offline { background: rgba(0,0,0,0.4); color: rgba(255,255,255,0.7); }
.card-mini__badge--offline .card-mini__dot { background: #9ca3af; }

.card-mini__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 12px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-mini__name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-mini__location {
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    font-weight: 500;
}

/* ==========================================================================
   Listing page layout
   ========================================================================== */

.listing-page {
    padding-block: var(--space-xl);
}

.listing-page__header {
    margin-bottom: var(--space-lg);
}

.listing-page__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
    .listing-page__title {
        font-size: var(--text-3xl);
    }
}

.listing-page__count {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.listing-page__subtitle {
    font-size: var(--text-xl);
    font-weight: 800;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.listing-page__empty {
    color: var(--color-text-light);
    font-style: italic;
    padding: var(--space-xl) 0;
}

/* Region cities grid */
.region-cities {
    margin-bottom: var(--space-xl);
}

.region-cities__title {
    font-size: var(--text-lg);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.region-cities__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

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

@media (min-width: 1024px) {
    .region-cities__grid { grid-template-columns: repeat(4, 1fr); }
}

.region-cities__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.region-cities__item:hover {
    border-color: var(--color-accent);
    background: rgba(139, 26, 58, 0.04);
}

.region-cities__name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.region-cities__count {
    font-size: var(--text-xs);
    color: var(--color-accent);
    font-weight: 600;
}

.region-cities__count--empty {
    color: var(--color-text-light);
    font-weight: 400;
    font-style: italic;
}

.listing-page__filters {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-surface-card);
    border-radius: var(--radius-md);
}

.listing-page__seo {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.listing-page__seo h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.listing-page__seo p {
    color: var(--color-text-light);
    max-width: 800px;
    line-height: 1.7;
}

/* Listing variant B */
.listing-page--b .listing-page__layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .listing-page--b .listing-page__layout {
        flex-direction: row;
    }
    .listing-page--b .listing-page__sidebar {
        width: 260px;
        flex-shrink: 0;
    }
    .listing-page--b .listing-page__content {
        flex: 1;
        min-width: 0;
    }
}

.listing-page--b .listing-grid > .cta-block {
    grid-column: 1 / -1;
}

.listing-page--b .listing-page__sidebar-filters {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-surface-card);
    border-radius: var(--radius-md);
}

/* Listing variant C */
.listing-page--c .listing-page__hero {
    background: var(--color-dark);
    color: #fff;
    padding: var(--space-2xl) var(--container-padding);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.listing-page--c .listing-page__hero .listing-page__title {
    color: #fff;
}

.listing-page--c .listing-page__hero .listing-page__count {
    color: rgba(255, 255, 255, 0.7);
}

.listing-page--c .listing-page__hero-filters {
    margin-top: var(--space-lg);
    max-width: 700px;
    margin-inline: auto;
}

.listing-page--c .listing-page__hero-filters .search-filters select,
.listing-page--c .listing-page__hero-filters .search-filters .form-select {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: var(--radius-md);
}

.listing-page--c .listing-page__hero-filters .search-filters .btn {
    background: var(--gradient-primary);
    color: #fff;
}

.listing-page--c .listing-page__seo-content,
.listing-page--c .listing-page__cities,
.listing-page--c .listing-page__cta {
    margin-top: var(--space-xl);
}

/* ==========================================================================
   Single profil — Full-width image hero, overlapping white card
   ========================================================================== */

.single-profil {
    padding-block: 0;
}

/* Full-width image hero */
/* Page layout: 2 columns on desktop */
.single-profil__page-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
}

@media (min-width: 1024px) {
    .single-profil__page-layout {
        flex-direction: row;
        gap: 30px;
    }
}

/* Sidebar banners (desktop) */
.single-profil__sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .single-profil__sidebar {
        display: block;
        width: 280px;
        flex-shrink: 0;
    }
}

/* Mobile banners (horizontal scroll) */
/* Mobile banners on single profil — not sticky, static position */
.single-profil .inline-banners-scroll {
    position: static;
    display: flex;
}

@media (max-width: 1024px) {
    .single-profil .sidebar-banners,
    .single-profil .sidebar-banner {
        position: static !important;
    }
}

@media (min-width: 1024px) {
    .single-profil__mobile-banners,
    .single-profil__mobile-banners-section {
        display: none !important;
    }
}

/* Top section: photo + info side by side on desktop */
.single-profil__top {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (min-width: 600px) {
    .single-profil__top {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Photo: natural size, rounded, not stretched */
.single-profil__photo {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    max-width: 350px;
}

@media (min-width: 600px) {
    .single-profil__photo {
        width: 280px;
    }
}

.single-profil__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

/* Badge on photo */
.single-profil__badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-pill);
}

.single-profil__badge + .single-profil__badge {
    top: auto;
    bottom: var(--space-sm);
    left: var(--space-sm);
}

.single-profil__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.single-profil__badge--online .single-profil__badge-dot {
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

.single-profil__badge--dispo {
    background: rgba(139, 26, 58, 0.85);
}
.single-profil__badge--dispo .single-profil__badge-dot { background: #fff; }

.single-profil__badge--recent .single-profil__badge-dot { background: #f59e0b; }

.single-profil__badge--offline {
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.7);
}
.single-profil__badge--offline .single-profil__badge-dot { background: #9ca3af; }

/* Info section next to photo */
.single-profil__info {
    flex: 1;
    min-width: 0;
}

/* Tags (age, location) */
.single-profil__tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
}

.single-profil__tag--age {
    background: #22c55e;
    color: #fff;
}

.single-profil__tag--location {
    background: var(--color-accent);
    color: #fff;
}

.single-profil__tag--distance {
    background: var(--color-surface-alt);
    color: var(--color-text);
}

.single-profil__desc-courte {
    margin-top: var(--space-md);
    font-size: var(--text-base);
    color: var(--color-text-light);
    font-style: italic;
}

/* Main content card — white with shadow */
.single-profil__main {
    flex: 1;
    min-width: 0;
}

.single-profil__card {
    background: var(--color-surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.single-profil__name {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .single-profil__name {
        font-size: var(--text-3xl);
    }
}

.single-profil__meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.single-profil__meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.single-profil__desc {
    margin-bottom: var(--space-lg);
    line-height: 1.8;
    color: var(--color-text-body);
}

/* Related links */
.single-profil__related-links {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.single-profil__links-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
    margin-top: var(--space-xs);
}

.single-profil__links-list a {
    color: var(--color-accent);
    font-size: var(--text-sm);
}

.single-profil__links-list a:hover {
    color: var(--color-accent-dark);
}

/* Contact form card */

.single-profil__contact-card {
    background: var(--color-surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 80px;
}

.single-profil__contact-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.single-profil__contact-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-weight: 600;
    font-size: var(--text-sm);
}

.single-profil__contact-note {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* Old contact section (compatibility) */
.single-profil__contact {
    margin-top: var(--space-xl);
    background: var(--color-surface-card);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

/* Chips */
.single-profil__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.single-profil__chip {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base);
}

.single-profil__chip:hover,
.single-profil__chip.active {
    background: var(--color-accent);
    color: #fff;
}

.single-profil__textarea {
    width: 100%;
    min-height: 80px;
    padding: var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-md);
    font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: var(--text-base);
    resize: vertical;
    margin-bottom: var(--space-md);
    transition: border-color var(--transition-base);
}

.single-profil__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(139, 26, 58, 0.1);
}

.single-profil__textarea::placeholder {
    color: var(--color-text-light);
}

.single-profil__submit {
    width: 100%;
}

.single-profil__char-count {
    text-align: right;
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

/* Badge dot in contact header */
.single-profil__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.single-profil__contact-status .single-profil__badge-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Old header style (compat — hidden) */
.single-profil__header {
    display: none;
}

.single-profil__image {
    display: none;
}

/* Status badge inline */
.profil-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(34, 197, 94, 0.08);
}

.profil-status--online {
    color: #22c55e;
}

.profil-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Generic page */
.page-content {
    padding-block: var(--space-xl);
    max-width: 800px;
}

/* 404 */
.page-404 {
    text-align: center;
    padding-block: var(--space-3xl);
}

.page-404__title {
    font-size: var(--text-5xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.page-404__text {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

/* Single profil variant B (compat) */
.single-profil--b .single-profil__hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.single-profil--b .single-profil__hero img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.single-profil--b .single-profil__status {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
}

.single-profil--b .single-profil__body {
    max-width: 700px;
    margin-inline: auto;
}

.single-profil--b .single-profil__meta-list--inline {
    justify-content: center;
}

/* Single profil variant C (compat) */
.single-profil--c .single-profil__card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 900px;
    margin-inline: auto;
}

.single-profil--c .single-profil__visual { position: relative; }

.single-profil--c .single-profil__visual img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.single-profil--c .single-profil__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: var(--gradient-overlay);
    color: #fff;
}

.single-profil--c .single-profil__overlay .single-profil__name {
    color: #fff;
}

.single-profil--c .single-profil__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-lg);
}

@media (min-width: 768px) {
    .single-profil--c .single-profil__content { flex-direction: row; }
    .single-profil--c .single-profil__main { flex: 1; }
    .single-profil--c .single-profil__sidebar { width: 280px; flex-shrink: 0; }
}

.single-profil--c .single-profil__sidebar {
    background: rgba(139, 26, 58, 0.03);
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

.single-profil--c .single-profil__sidebar-title {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
}

.single-profil--c .single-profil__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.single-profil--c .single-profil__detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.single-profil--c .single-profil__detail-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.single-profil--c .single-profil__detail-value {
    font-weight: 500;
    font-size: var(--text-sm);
}

/* Related section */
.related-section {
    padding-block: var(--space-2xl);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.related-section__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
}

.section-related {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    padding-block: var(--space-xl);
}

.section-related__title {
    font-size: var(--text-xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

/* ==========================================================================
   SEO Footer (compat)
   ========================================================================== */

.seo-footer {
    background: var(--color-dark);
    padding-block: var(--space-2xl);
    border-top: none;
    color: var(--color-text-muted);
}

.seo-footer__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.seo-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

.seo-footer__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-md);
}

.seo-footer__regions a,
.seo-footer__cities a,
.seo-footer__latest a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.seo-footer__regions a:hover,
.seo-footer__cities a:hover,
.seo-footer__latest a:hover {
    color: var(--color-accent);
}

.seo-footer__regions ul,
.seo-footer__cities ul,
.seo-footer__latest ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.seo-footer__cities li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seo-footer__cities .count {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

.seo-footer__latest a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Email capture modal
   ========================================================================== */

.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.email-modal[aria-hidden="false"] {
    display: flex;
}

.email-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.email-modal__box {
    position: relative;
    background: var(--color-surface-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.email-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
    line-height: 1;
}

.email-modal__close:hover {
    color: var(--color-text);
}

.email-modal__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-text);
}

.email-modal__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.email-modal__label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.email-modal__input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 8px;
    outline: none;
    box-sizing: border-box;
}

.email-modal__input:focus {
    border-color: var(--color-accent);
}

.email-modal__error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.email-modal__submit {
    width: 100%;
    margin-top: 12px;
    padding: 16px;
    font-size: 1.1rem;
}

.email-modal__legal {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 12px;
}

/* ==========================================================================
   Sidebar Banners — Page layout with right sidebar
   ========================================================================== */

.page-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.page-layout .main-content {
    flex: 1;
    min-width: 0;
}

.page-layout .sidebar-banners {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

/* Sidebar banners inside homepage classifieds layout */
.hp-classifieds-layout__sidebar .sidebar-banners {
    margin-top: 20px;
    position: sticky;
    top: 80px;
}

/* Banner slot */
.sidebar-banner {
    margin-bottom: 20px;
}

.sidebar-banner__link {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-banner__link:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sidebar-banner__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-banner__link .sidebar-banner__img {
    border-radius: 0;
    box-shadow: none;
}

/* Responsive: hide sidebar on mobile/tablet */
@media (max-width: 1024px) {
    .page-layout {
        display: block;
    }

    .hp-classifieds-layout__sidebar {
        order: 99;
    }

    .page-layout .sidebar-banners,
    .hp-classifieds-layout__sidebar .sidebar-banners {
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin-top: 20px;
    }

    .page-layout .sidebar-banners .sidebar-banner,
    .hp-classifieds-layout__sidebar .sidebar-banners .sidebar-banner {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

/* ==========================================================================
   INLINE BANNERS (mobile ad slots between cards)
   ========================================================================== */

.inline-banner {
    display: none;
    width: 100%;
    margin: 16px 0;
}

.inline-banner__link {
    display: block;
}

.inline-banner__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hide inline banners everywhere — sidebar is always visible now */
.inline-banner {
    display: none;
}

/* ==========================================================================
   INLINE BANNERS SCROLL (horizontal scroll after 1st profile)
   ========================================================================== */

.inline-banners-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 16px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.inline-banners-scroll::-webkit-scrollbar {
    height: 4px;
}

.inline-banners-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

.inline-banners-scroll__item {
    flex: 0 0 45%;
    max-width: 200px;
}

.inline-banners-scroll__link {
    display: block;
}

.inline-banners-scroll__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.inline-banners-scroll__link:hover .inline-banners-scroll__img {
    transform: scale(1.03);
}

@media (min-width: 1025px) {
    .inline-banners-scroll {
        display: none;
    }
}
