/* ========================================
   1. CSS Variables
======================================== */
:root {
    --color-primary: #073b70;
    --color-primary-dark: #052c54;
    --color-primary-soft: #eaf1f7;

    --color-secondary: #659c35;
    --color-secondary-dark: #4e7d28;
    --color-secondary-soft: #eff6e9;

    --color-background: #f7f8f5;
    --color-surface: #ffffff;
    --color-surface-muted: #f1f3ef;

    --color-text: #1f2933;
    --color-text-muted: #68737d;
    --color-border: #e1e5df;

    --color-warning: #c98223;
    --color-danger: #c94a4a;

    --font-family-base: "Tajawal", "Segoe UI", "Noto Sans Arabic", Arial, sans-serif;

    --shadow-soft: 0 8px 24px rgba(31, 41, 51, 0.06);
    --shadow-tiny: 0 2px 8px rgba(31, 41, 51, 0.04);

    --radius-lg: 16px;
    --radius-md: 14px;
    --radius-sm: 12px;
    --radius-xs: 10px;

    --container-width: 1180px;
    --transition-base: 220ms ease;
}


/* ========================================
   2. Reset and Base Styles
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
    margin: 0;
}

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

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

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

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

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


/* ========================================
   3. General Layout, Typography and Shared Buttons
======================================== */
body {
    font-family: var(--font-family-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

.container {
    width: min(100% - 32px, var(--container-width));
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

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

.section-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 32px;
}

.section-kicker {
    color: var(--color-secondary-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.section-title {
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
    line-height: 1.2;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-xs);
    font-weight: 700;
    transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-tiny);
}

.button--primary:hover {
    background: var(--color-primary-dark);
}

.button--ghost {
    background: var(--color-surface);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.button--ghost:hover {
    border-color: var(--color-primary-soft);
    background: var(--color-primary-soft);
}

.button--small {
    min-height: 42px;
    padding-inline: 16px;
}

.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;
}

.anchor-target {
    scroll-margin-top: 104px;
}

.site-content {
    flex: 1;
}


/* ========================================
   6. Navbar
======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 248, 245, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand__logo {
    width: 140px;
    height: auto;
}

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

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-xs);
    color: var(--color-text);
    font-weight: 500;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.site-nav__link:hover,
.site-nav__link.is-active {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
}

.site-nav__cta {
    white-space: nowrap;
}

.site-nav__auth {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-inline-start: 12px;
    border-inline-start: 1px solid var(--color-border);
    white-space: nowrap;
}

.site-nav__auth-link,
.site-nav__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding-inline: 10px;
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color var(--transition-base), background-color var(--transition-base);
}

.site-nav__auth-link {
    color: var(--color-primary);
}

.site-nav__auth-link:hover {
    color: var(--color-primary-dark);
    background: var(--color-primary-soft);
}

.site-nav__logout {
    color: var(--color-danger);
}

.site-nav__logout:hover {
    background: #fff0f0;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    background: var(--color-surface);
}

.nav-toggle__line {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary);
}


/* ========================================
   8. Shared Sections
======================================== */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 32px 0;
    background: linear-gradient(180deg, var(--color-primary-soft) 0%, rgba(234, 241, 247, 0.45) 100%);
    border-bottom: 1px solid var(--color-border);
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at top right, rgba(7, 59, 112, 0.08) 0, rgba(7, 59, 112, 0.08) 2px, transparent 2px),
        radial-gradient(circle at bottom left, rgba(101, 156, 53, 0.08) 0, rgba(101, 156, 53, 0.08) 2px, transparent 2px);
    background-size: 36px 36px;
    opacity: 0.8;
}

.page-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.page-header__content {
    display: grid;
    gap: 10px;
    max-width: 64ch;
}

.page-header__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.page-header__breadcrumb-separator {
    color: var(--color-secondary-dark);
}

.page-header__title {
    font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem);
    line-height: 1.2;
    color: var(--color-primary-dark);
}

.page-header__text {
    color: var(--color-text-muted);
    max-width: 58ch;
}

.page-header__decor {
    flex-shrink: 0;
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    box-shadow: var(--shadow-tiny);
}

.page-header__decor svg {
    width: 42px;
    height: 42px;
}

.page-layout {
    padding: 32px 0 80px;
}

.page-shell {
    display: grid;
    gap: 24px;
}

.page-shell__section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-tiny);
}


/* ========================================
   7. Hero Section
======================================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(620px, 78vh, 840px);
    padding-top: 56px;
    background: var(--color-primary-dark);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(5, 44, 84, 0.56);
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 32px;
}

.hero__content {
    display: grid;
    gap: 20px;
}

.hero__title {
    color: #fff;
    font-size: clamp(2.4rem, 2rem + 2vw, 4.3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero__text {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
    max-width: 55ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-tour-trigger {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.86);
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.home-tour-trigger:hover,
.home-tour-trigger:focus-visible {
    color: #fff;
}

.home-tour-trigger:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 5px;
    border-radius: 4px;
}

.home-tour-trigger svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.driver-popover.bayt-lbayt-tour {
    direction: rtl;
    width: min(360px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    border-radius: 14px;
    padding: 20px;
    color: var(--color-text);
    font-family: "Tajawal", sans-serif;
    text-align: right;
    box-shadow: var(--shadow-soft);
}

.bayt-lbayt-tour .driver-popover-title {
    color: var(--color-primary-dark);
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.45;
}

.bayt-lbayt-tour .driver-popover-description {
    color: var(--color-text-muted);
    font-family: inherit;
    line-height: 1.8;
}

.bayt-lbayt-tour .driver-popover-close-btn {
    inset: 8px auto auto 8px;
    color: var(--color-text-muted);
}

.bayt-lbayt-tour .driver-popover-footer {
    direction: rtl;
    align-items: center;
    gap: 10px;
}

.bayt-lbayt-tour .driver-popover-navigation-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.bayt-lbayt-tour .driver-popover-next-btn,
.bayt-lbayt-tour .driver-popover-prev-btn,
.bayt-lbayt-tour .driver-popover-skip-btn,
.bayt-lbayt-tour .driver-popover-feedback-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    text-shadow: none;
    cursor: pointer;
}

.bayt-lbayt-tour .driver-popover-next-btn {
    color: #fff;
    background: var(--color-primary);
}

.bayt-lbayt-tour .driver-popover-prev-btn,
.bayt-lbayt-tour .driver-popover-skip-btn {
    color: var(--color-primary-dark);
    background: #fff;
}

.bayt-lbayt-tour .driver-popover-feedback-link {
    color: #fff;
    background: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    text-decoration: none;
}

.bayt-lbayt-tour .driver-popover-progress-text {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

@media (max-width: 640px) {
    .driver-popover.bayt-lbayt-tour {
        padding: 17px;
    }

    .bayt-lbayt-tour .driver-popover-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .bayt-lbayt-tour .driver-popover-navigation-btns {
        width: 100%;
    }
}

.hero .button--primary {
    background: var(--color-secondary);
}

.hero .button--primary:hover {
    background: var(--color-secondary-dark);
}

.hero .button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
}

.hero .button--ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
}

.hero__gallery {
    position: relative;
    min-height: 490px;
    margin-inline-start: 18px;
}

.hero__gallery::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    inset: 50% 50% auto auto;
    border-radius: 50%;
    background: rgba(101, 156, 53, 0.2);
    transform: translate(50%, -50%);
    filter: blur(2px);
}

.hero__photo {
    position: absolute;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: 0 24px 55px rgba(5, 24, 44, 0.24);
}

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

.hero__photo--main {
    width: 57%;
    height: 82%;
    inset: 8% auto auto 8%;
    z-index: 2;
}

.hero__photo--top,
.hero__photo--bottom {
    width: 38%;
    height: 43%;
    z-index: 3;
}

.hero__photo--top {
    inset: 0 4% auto auto;
    transform: rotate(2deg);
}

.hero__photo--bottom {
    inset: auto 1% 2% auto;
    transform: rotate(-2deg);
}

@media (max-width: 1100px) {
    .hero {
        min-height: clamp(560px, 72vh, 780px);
    }
}

@media (max-width: 860px) {
    .hero {
        min-height: clamp(540px, 70vh, 720px);
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: clamp(500px, 68vh, 660px);
    }
}

/* ==================================================
   البطاقات
   ================================================== */
.listing-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-tiny);
}

.listing-card__title {
    line-height: 1.35;
}

.listing-card {
    overflow: hidden;
}

.listing-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--color-surface-muted);
}

.listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-card__badge,
.listing-card__featured-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-secondary-dark);
}

.listing-card__badge--exchange,
.listing-card__badge--sell_or_exchange {
    background: var(--color-primary);
}

.listing-card__badge--donation {
    background: var(--color-secondary-dark);
}

.listing-card__badge--wanted {
    background: var(--color-warning);
}

.listing-card__featured-tag {
    right: auto;
    left: 12px;
    background: var(--color-warning);
}

.listing-card__body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.listing-card__meta {
    color: var(--color-secondary-dark);
    font-weight: 700;
    font-size: 0.92rem;
}

.listing-card__title {
    font-size: 1.08rem;
}

.listing-card__info,
.listing-card__condition,
.listing-card__trade {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.listing-card__details {
    display: grid;
    gap: 6px;
}

.listing-card__price {
    color: var(--color-primary-dark);
    font-weight: 800;
}

.listing-card__trade {
    color: var(--color-secondary-dark);
    font-weight: 700;
}

.listing-card--featured {
    border-color: rgba(198, 130, 35, 0.25);
}

/* ========================================
   12. Alerts and Empty States
======================================== */
.empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
    padding: 40px 24px;
}

.empty-state__title {
    font-size: 1.2rem;
}

.empty-state__text {
    color: var(--color-text-muted);
    max-width: 46ch;
}

/* ==================================================
   تفاصيل المتجر
   ================================================== */
.page-layout__section {
    padding: 24px;
}

.store-hero {
    overflow: hidden;
    display: grid;
    gap: 0;
}

.store-hero__cover {
    position: relative;
    aspect-ratio: 16 / 6;
    background: var(--color-surface-muted);
}

.store-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-hero__body {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.store-profile {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.store-profile__avatar {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--color-primary-soft);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    overflow: hidden;
}

.store-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-profile__title {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.store-profile__owner,
.store-profile__meta,
.store-profile__description,
.store-profile__phone {
    color: var(--color-text-muted);
}

.store-profile__trusted {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--color-secondary-soft);
    color: var(--color-secondary-dark);
    font-weight: 700;
}

.store-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-filters__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.store-filters__button.is-active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.store-filters__button:hover {
    border-color: var(--color-primary-soft);
}

.store-details__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.store-details__empty {
    grid-column: 1 / -1;
}

@media (max-width: 1100px) {
    .store-details__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .store-profile {
        flex-direction: column;
    }

    .store-details__grid {
        grid-template-columns: 1fr;
    }
}

.store-profile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-profile__meta span {
    display: grid;
    min-width: 180px;
    gap: 2px;
    padding: 12px 16px;
    border-radius: var(--radius-xs);
    background: var(--color-surface-muted);
}

.store-profile__meta strong {
    color: var(--color-text);
    font-size: 0.88rem;
}

.listing-card:target {
    outline: 3px solid rgba(101, 156, 53, 0.25);
    outline-offset: 3px;
}



/* ========================================
   Home Services and Why Section
======================================== */
.home-services {
    position: relative;
    overflow: hidden;
    padding-block: 108px 116px;
    background: #fbfcfa;
}

.home-services::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    inset: -260px auto auto -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 156, 53, 0.12), transparent 68%);
    pointer-events: none;
}

.home-heading {
    position: relative;
    max-width: 700px;
    margin: 0 auto 52px;
    text-align: center;
}

.home-heading__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--color-secondary-dark);
    font-size: 0.94rem;
    font-weight: 800;
}

.home-heading__kicker::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 10px;
    background: var(--color-secondary);
}

.home-heading__title {
    margin-bottom: 15px;
    color: var(--color-primary-dark);
    font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
    line-height: 1.2;
}

.home-heading__text {
    color: var(--color-text-muted);
    font-size: 1.06rem;
}

.home-services__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-statistics {
    position: relative;
    z-index: 2;
    padding-block: 62px;
    border-block: 1px solid rgba(7, 59, 112, 0.1);
    background: var(--color-surface);
}

.home-statistics__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.home-statistics__heading h2 {
    margin-top: 5px;
    color: var(--color-primary-dark);
    font-size: clamp(1.7rem, 1.3rem + 1vw, 2.4rem);
}

.home-statistics__heading>p {
    color: var(--color-text-muted);
}

.home-statistics__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.home-statistic {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-width: 0;
    padding: 22px 12px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-background);
    text-align: center;
    box-shadow: var(--shadow-tiny);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.home-statistic:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 59, 112, 0.22);
    box-shadow: var(--shadow-soft);
}

.home-statistic__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 3px;
    border-radius: 12px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.home-statistic__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-statistic strong {
    color: var(--color-primary-dark);
    font-size: clamp(1.45rem, 1.2rem + 0.65vw, 2rem);
    line-height: 1;
}

.home-statistic>span {
    color: var(--color-text-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.home-service {
    position: relative;
    min-height: 310px;
    padding: 28px 24px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    box-shadow: 0 12px 36px rgba(31, 41, 51, 0.05);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.home-service::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms ease;
}

.home-service:hover {
    transform: translateY(-7px);
    border-color: rgba(101, 156, 53, 0.38);
    box-shadow: 0 20px 46px rgba(5, 44, 84, 0.1);
}

.home-service:hover::after {
    transform: scaleX(1);
}

.home-service__number {
    position: absolute;
    inset: 20px auto auto 22px;
    color: rgba(7, 59, 112, 0.09);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.home-service__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 26px;
    border-radius: 17px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    transition: color 240ms ease, background-color 240ms ease, transform 240ms ease;
}

.home-service:hover .home-service__icon {
    color: #fff;
    background: var(--color-primary);
    transform: rotate(-3deg) scale(1.04);
}

.home-service__icon svg {
    width: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-service h3 {
    margin-bottom: 10px;
    color: var(--color-primary-dark);
    font-size: 1.3rem;
}

.home-service p {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.85;
}

.home-why {
    position: relative;
    overflow: hidden;
    padding-block: 108px;
    color: #fff;
    background: var(--color-primary-dark);
    border-bottom: 12px solid var(--color-background);
}

.home-why::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    inset: -240px -180px auto auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 64px rgba(255, 255, 255, 0.025), 0 0 0 128px rgba(255, 255, 255, 0.015);
}

.home-why__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(50px, 8vw, 96px);
}

.home-heading__kicker--light {
    color: #bddba2;
}

.home-why__intro h2 {
    max-width: 520px;
    margin-bottom: 18px;
    font-size: clamp(2.15rem, 1.6rem + 1.6vw, 3.3rem);
    line-height: 1.25;
}

.home-why__intro>p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.04rem;
}

.home-why__note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-why__note>span {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-secondary);
    font-weight: 800;
}

.home-why__note p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.home-why__note strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.home-why__features {
    display: grid;
    gap: 14px;
}

.home-why__feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.065);
    transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.home-why__feature:hover {
    transform: translateX(-6px);
    border-color: rgba(189, 219, 162, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.home-why__feature>span {
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    height: 50px;
    border-radius: 14px;
    color: #cfe5bc;
    background: rgba(101, 156, 53, 0.22);
    font-size: 0.88rem;
    font-weight: 800;
}

.home-why__feature h3 {
    margin-bottom: 5px;
    font-size: 1.18rem;
}

.home-why__feature p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.93rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

.home-services__grid .reveal-on-scroll:nth-child(2),
.home-why__features .reveal-on-scroll:nth-child(2) {
    transition-delay: 80ms;
}

.home-services__grid .reveal-on-scroll:nth-child(3),
.home-why__features .reveal-on-scroll:nth-child(3) {
    transition-delay: 160ms;
}

.home-services__grid .reveal-on-scroll:nth-child(4) {
    transition-delay: 240ms;
}

.join-section {
    position: relative;
    overflow: hidden;
    padding-block: 106px 114px;
    background: var(--color-background);
}

.join-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    inset: auto -240px -260px auto;
    border-radius: 50%;
    background: var(--color-primary-soft);
    opacity: 0.55;
    pointer-events: none;
}

.join-section .container {
    position: relative;
}

.join-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    max-width: 1000px;
    margin-inline: auto;
}

.join-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.join-card:hover {
    transform: translateY(-5px);
    border-color: rgba(101, 156, 53, 0.38);
    box-shadow: 0 20px 46px rgba(5, 44, 84, 0.09);
}

.join-card--merchant {
    border-color: rgba(7, 59, 112, 0.3);
    border-top: 4px solid var(--color-primary);
    background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.join-card:not(.join-card--merchant) {
    border-top: 4px solid var(--color-secondary);
}

.join-card__featured {
    position: absolute;
    inset: 20px auto auto 20px;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--color-secondary-dark);
    background: var(--color-secondary-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.join-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 17px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.join-card--merchant .join-card__icon {
    color: #fff;
    background: var(--color-primary);
}

.join-card__icon svg {
    width: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.join-card__label {
    margin-bottom: 8px;
    color: var(--color-secondary-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.join-card h3 {
    margin-bottom: 11px;
    color: var(--color-primary-dark);
    font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.7rem);
    line-height: 1.35;
}

.join-card>p {
    margin-bottom: 22px;
    color: var(--color-text-muted);
}

.join-card__benefits {
    display: grid;
    gap: 10px;
    width: 100%;
    margin: 0 0 28px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.join-card__benefits li {
    position: relative;
    padding-inline-start: 25px;
    color: var(--color-text-muted);
    font-size: 0.94rem;
}

.join-card__benefits li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--color-secondary);
    font-weight: 800;
}

.join-card .button {
    min-width: 150px;
    margin-top: auto;
}

.home-feedback {
    padding-block: 74px;
    background: var(--color-primary-soft);
}

.home-feedback__card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 30px 34px;
    border: 1px solid rgba(7, 59, 112, 0.14);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.home-feedback__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    color: #fff;
    background: var(--color-primary);
}

.home-feedback__icon svg {
    width: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-feedback__content h2 {
    margin: 5px 0 7px;
    color: var(--color-primary-dark);
    font-size: clamp(1.45rem, 1.2rem + 0.7vw, 2rem);
}

.home-feedback__content p {
    max-width: 72ch;
    color: var(--color-text-muted);
}

@media (max-width: 860px) {
    .home-feedback__card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .home-feedback__card>.button {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .home-feedback {
        padding-block: 54px;
    }

    .home-feedback__card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 20px;
    }

    .home-feedback__icon {
        width: 54px;
        height: 54px;
    }

    .home-feedback__card>.button {
        grid-column: auto;
        width: 100%;
    }
}

/* ========================================
   Stores Page
======================================== */
.stores-page {
    padding-block: 76px 104px;
    background: var(--color-background);
}

.stores-page__header {
    max-width: 720px;
    margin-bottom: 38px;
}

.stores-page__header h1 {
    margin: 7px 0 12px;
    color: var(--color-primary-dark);
    font-size: clamp(2.1rem, 1.55rem + 1.7vw, 3.35rem);
    line-height: 1.2;
}

.stores-page__header p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.stores-filter {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(210px, 0.8fr) auto;
    align-items: end;
    gap: 16px;
    margin-bottom: 54px;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: var(--shadow-tiny);
}

.field {
    display: grid;
    gap: 8px;
}

.field__label {
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.field__control {
    width: 100%;
    min-height: 50px;
    padding-inline: 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    outline: none;
    color: var(--color-text);
    background: var(--color-surface);
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.field__control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(7, 59, 112, 0.09);
}

.field__control::placeholder {
    color: #929ba3;
}

.field__input-wrap {
    position: relative;
}

.field__input-wrap svg {
    position: absolute;
    z-index: 1;
    width: 21px;
    inset: 50% 14px auto auto;
    fill: none;
    stroke: var(--color-text-muted);
    stroke-width: 1.8;
    stroke-linecap: round;
    transform: translateY(-50%);
    pointer-events: none;
}

.field__input-wrap .field__control {
    padding-inline-start: 45px;
}

.stores-filter__button {
    min-width: 108px;
    min-height: 50px;
}

.stores-page__results {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.stores-page__results h2 {
    margin-top: 4px;
    color: var(--color-primary-dark);
    font-size: clamp(1.55rem, 1.3rem + 0.7vw, 2rem);
}

.stores-page__count {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 0.88rem;
    font-weight: 700;
}

.stores-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.store-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-secondary);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: var(--shadow-tiny);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.store-card:hover {
    transform: translateY(-5px);
    border-color: rgba(101, 156, 53, 0.48);
    border-top-color: var(--color-secondary);
    box-shadow: var(--shadow-soft);
}

.store-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.store-card__mark {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    height: 54px;
    border-radius: 16px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.store-card__mark svg {
    width: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-card__top h3 {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    line-height: 1.35;
}

.store-card__top p {
    margin-top: 3px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.store-card__description {
    min-height: 78px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.store-rating-summary {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 0.84rem;
}

.store-rating-summary strong {
    color: var(--color-primary-dark);
}

.rating-stars-display {
    position: relative;
    display: inline-block;
    direction: ltr;
    color: #d2d7dc;
    font-size: 1.05rem;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
}

.rating-stars-display__filled {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: #e2a914;
    white-space: nowrap;
}

.store-card__details {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding-block: 17px;
    border-block: 1px solid var(--color-border);
}

.store-card__details>div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

.store-card__details dt {
    color: var(--color-text-muted);
    font-size: 0.86rem;
}

.store-card__details dd {
    margin: 0;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: left;
}

.store-card__action {
    width: 100%;
    margin-top: auto;
}

/* ========================================
   Store Details and Advertisements
======================================== */
.store-show {
    padding-block: 56px 104px;
    background: var(--color-background);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    color: var(--color-primary);
    font-size: 0.94rem;
    font-weight: 700;
    transition: color 220ms ease, transform 220ms ease;
}

.back-link::before {
    content: "←";
}

.back-link:hover {
    color: var(--color-secondary-dark);
    transform: translateX(-3px);
}

.store-profile-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.65fr);
    align-items: center;
    gap: 26px;
    margin-bottom: 48px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(7, 59, 112, 0.18);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.store-profile-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    inset: auto auto -140px -90px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    pointer-events: none;
}

.store-profile-card__mark {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 22px;
    color: #fff;
    background: var(--color-primary);
}

.store-profile-card__mark svg {
    width: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-profile-card__content {
    position: relative;
    z-index: 1;
}

.store-profile-card__content h1 {
    margin: 5px 0 3px;
    color: var(--color-primary-dark);
    font-size: clamp(1.9rem, 1.45rem + 1.25vw, 2.7rem);
    line-height: 1.25;
}

.store-profile-card__owner {
    margin-bottom: 13px;
    color: var(--color-secondary-dark);
    font-weight: 700;
}

.store-profile-card__description {
    max-width: 60ch;
    color: var(--color-text-muted);
}

.store-profile-card__details {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 19px;
    border-radius: 15px;
    background: var(--color-surface-muted);
}

.store-profile-card__details>div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.store-profile-card__details dt {
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.store-profile-card__details dd {
    margin: 0;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.store-profile-card__rating {
    display: flex;
    align-items: center;
    gap: 7px;
}

.store-ratings {
    margin-bottom: 44px;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    box-shadow: var(--shadow-tiny);
}

.store-ratings__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.store-ratings__heading h2 {
    margin-top: 4px;
    color: var(--color-primary-dark);
    font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2.1rem);
}

.store-ratings__average {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-ratings__average>strong {
    color: var(--color-primary-dark);
    font-size: 2rem;
}

.store-ratings__average>div {
    display: grid;
    gap: 5px;
}

.store-ratings__average>div>span {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.store-rating-form,
.store-ratings__notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 18px;
    border-radius: 14px;
    background: var(--color-primary-soft);
}

.store-rating-form p,
.store-ratings__notice p,
.store-ratings__eligibility {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.star-rating-input {
    display: inline-flex;
    flex-direction: row;
    direction: rtl;
    gap: 2px;
    margin: 0;
    padding: 0;
    border: 0;
}

.star-rating-input input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.star-rating-input label {
    color: #c8cdd2;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 160ms ease, transform 160ms ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover~label,
.star-rating-input input:checked+label,
.star-rating-input input:checked~label {
    color: #e2a914;
}

.star-rating-input label:hover {
    transform: scale(1.12);
}

.star-rating-input input:focus-visible+label {
    outline: 3px solid rgba(226, 184, 80, 0.45);
    outline-offset: 3px;
    border-radius: 4px;
}

.store-ratings__eligibility {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--color-surface-muted);
}

.store-ratings__list {
    display: grid;
    gap: 10px;
}

.store-rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-background);
}

.store-rating-item>div {
    display: grid;
    gap: 3px;
}

.store-rating-item time {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.store-ratings__empty {
    padding: 24px;
    border: 1px dashed var(--color-border);
    border-radius: 12px;
    color: var(--color-text-muted);
    text-align: center;
}

.store-ratings__pagination {
    margin-top: 20px;
}

.advertisements-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.advertisements-toolbar h2 {
    margin-top: 4px;
    color: var(--color-primary-dark);
    font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2.1rem);
}

.advertisements-toolbar__filter {
    width: min(100%, 280px);
}

.advertisement-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.advertisement-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: var(--shadow-tiny);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.advertisement-card:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 59, 112, 0.24);
    box-shadow: var(--shadow-soft);
}

.advertisement-card__media {
    position: relative;
    min-height: 100%;
    background: var(--color-surface-muted);
}

.favorite-button__form {
    position: absolute;
    inset: auto auto 12px 12px;
    z-index: 3;
    margin: 0;
}

a.favorite-button {
    position: absolute;
    inset: auto auto 12px 12px;
    z-index: 3;
}

.favorite-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(7, 59, 112, 0.18);
    border-radius: 50%;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-tiny);
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.favorite-button:hover {
    color: #c62828;
    transform: scale(1.08);
}

.favorite-button svg {
    width: 22px;
    height: 22px;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.favorite-button.is-favorite {
    color: #fff;
    border-color: #c62828;
    background: #c62828;
}

.favorite-button.is-favorite svg {
    fill: currentColor;
}

.favorite-button:focus-visible {
    outline: 3px solid rgba(226, 184, 80, 0.45);
    outline-offset: 3px;
}

.favorites-page {
    min-height: 65vh;
    padding-block: 56px 104px;
    background: var(--color-background);
}

.favorites-page__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--color-border);
}

.favorites-page__header h1 {
    margin: 5px 0 7px;
    color: var(--color-primary-dark);
    font-size: clamp(2rem, 1.5rem + 1.25vw, 3rem);
}

.favorites-page__header p,
.favorites-page__unavailable {
    color: var(--color-text-muted);
}

.favorites-page__count {
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-weight: 800;
    white-space: nowrap;
}

.favorites-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 64px 24px;
    border: 1px dashed var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    text-align: center;
}

.favorites-empty__icon {
    color: var(--color-secondary-dark);
    font-size: 4rem;
    line-height: 1;
}

.favorites-empty h2 {
    color: var(--color-primary-dark);
}

.favorites-empty p {
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.favorites-page__unavailable {
    display: block;
    margin-top: auto;
    padding: 11px;
    border-radius: 9px;
    background: var(--color-surface-muted);
    font-size: 0.86rem;
}

.favorites-page__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 32px;
}

.favorites-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    color: var(--color-primary);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease,
        border-color 0.2s ease;
}

a.favorites-pagination__item:hover,
a.favorites-pagination__item:focus-visible {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.favorites-pagination__item.is-current {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.favorites-pagination__item.is-disabled,
.favorites-pagination__item.is-separator {
    cursor: default;
    color: var(--color-text-muted);
    background: var(--color-surface-muted);
}

.favorites-pagination__item.is-separator {
    min-width: 32px;
    padding-inline: 8px;
    border-color: transparent;
    background: transparent;
}

.advertisement-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advertisement-card__type,
.advertisement-card__featured {
    position: absolute;
    inset: 12px 12px auto auto;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 800;
}

.advertisement-card__type--donation {
    background: var(--color-secondary-dark);
}

.advertisement-card__type--wanted {
    background: var(--color-warning);
}

.advertisement-card__type--exchange {
    background: #4d6478;
}

.advertisement-card__featured {
    inset: 12px auto auto 12px;
    background: var(--color-warning);
}

.advertisement-card__body {
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.advertisement-card__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: var(--color-secondary-dark);
    font-size: 0.84rem;
    font-weight: 700;
}

.advertisement-card__status {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--color-secondary-dark);
    background: var(--color-secondary-soft);
    font-size: 0.76rem;
}

.advertisement-card__status--completed,
.advertisement-card__status--closed {
    color: var(--color-text-muted);
    background: var(--color-surface-muted);
}

.advertisement-card h3 {
    margin-bottom: 8px;
    color: var(--color-primary-dark);
    font-size: 1.16rem;
    line-height: 1.4;
}

.advertisement-card__description {
    margin-bottom: 15px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.advertisement-card__meta {
    display: grid;
    gap: 7px;
    margin: 0 0 15px;
}

.advertisement-card__meta>div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.advertisement-card__meta dt {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.advertisement-card__meta dd {
    margin: 0;
    color: var(--color-text);
    font-size: 0.84rem;
    font-weight: 700;
    text-align: left;
}

.advertisement-card__price {
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 1.14rem;
    font-weight: 800;
}

.advertisement-card__exchange {
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 9px;
    color: var(--color-text-muted);
    background: var(--color-secondary-soft);
    font-size: 0.84rem;
}

.advertisement-card__exchange strong {
    color: var(--color-secondary-dark);
}

.advertisement-card__action {
    width: 100%;
    margin-top: auto;
}

/* ========================================
   Advertisement Details
======================================== */
.advertisement-show {
    padding-block: 46px 104px;
    background: var(--color-background);
}

.advertisement-show__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    min-height: 520px;
    margin-bottom: 42px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.advertisement-show__main-image {
    position: relative;
    min-height: 520px;
    background: var(--color-surface-muted);
}

.advertisement-show__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advertisement-show__summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 48px);
}

.advertisement-show__labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.advertisement-show__labels>span:not(.advertisement-card__status) {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.advertisement-show__summary h1 {
    margin-bottom: 14px;
    color: var(--color-primary-dark);
    font-size: clamp(2rem, 1.5rem + 1.25vw, 3rem);
    line-height: 1.25;
}

.advertisement-show__description {
    margin-bottom: 22px;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.advertisement-show__price {
    margin-bottom: 18px;
    color: var(--color-primary);
    font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2rem);
    font-weight: 800;
}

.advertisement-show__exchange {
    display: grid;
    gap: 2px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 11px;
    background: var(--color-secondary-soft);
}

.advertisement-show__exchange span {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.advertisement-show__exchange strong {
    color: var(--color-secondary-dark);
}

.advertisement-show__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.advertisement-gallery,
.advertisement-info,
.requests-section {
    margin-bottom: 42px;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: var(--shadow-tiny);
}

.advertisement-show__section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.advertisement-show__section-heading h2 {
    margin-top: 3px;
    color: var(--color-primary-dark);
    font-size: clamp(1.4rem, 1.15rem + 0.6vw, 1.8rem);
}

.advertisement-show__section-heading>span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.advertisement-gallery__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 48%);
    gap: 14px;
    padding: 2px 2px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--color-secondary) var(--color-surface-muted);
    scrollbar-width: thin;
}

.advertisement-gallery__slide {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    scroll-snap-align: start;
    background: var(--color-surface-muted);
}

.advertisement-gallery__slide img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.advertisement-gallery__slide figcaption {
    padding: 9px 12px;
    color: var(--color-text-muted);
    background: var(--color-surface);
    font-size: 0.84rem;
}

.advertisement-show__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 20px;
}

.advertisement-info__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-border);
}

.advertisement-info__grid>div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 14px 16px;
    background: var(--color-surface);
}

.advertisement-info__grid dt {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.advertisement-info__grid dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--color-text);
    font-size: 0.94rem;
    font-weight: 700;
}

.advertisement-contact {
    padding: 26px;
    border-radius: 18px;
    color: #fff;
    background: var(--color-primary-dark);
}

.advertisement-contact .section-kicker {
    color: #b9d69f;
}

.advertisement-contact h2 {
    margin: 7px 0 10px;
    font-size: 1.28rem;
    line-height: 1.4;
}

.advertisement-contact p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.advertisement-contact-access {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface-muted);
}

.advertisement-contact-access__privacy,
.advertisement-contact-access__accepted {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.advertisement-contact-access__accepted {
    margin-top: 8px;
    color: var(--color-secondary-dark);
    font-weight: 800;
}

.contact-action-buttons,
.request-contact-details__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.contact-action-buttons .button {
    min-width: 110px;
}

.request-contact-details {
    display: grid;
    gap: 4px;
}

.request-contact-details__actions {
    margin-top: 0;
}

.request-contact-details__actions a {
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.request-contact-details__locked {
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

.report-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    color: #fff;
    font-weight: 700;
    transition: color 220ms ease;
}

.report-link:hover {
    color: #b9d69f;
}

.requests-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.requests-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    text-align: right;
}

.requests-table th,
.requests-table td {
    padding: 14px 15px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.requests-table th {
    color: var(--color-primary-dark);
    background: var(--color-primary-soft);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.requests-table td {
    max-width: 260px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.requests-table tbody tr:last-child td {
    border-bottom: 0;
}

.request-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--color-warning);
    background: #fff5e8;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.request-status--accepted {
    color: var(--color-secondary-dark);
    background: var(--color-secondary-soft);
}

.request-status--rejected {
    color: var(--color-danger);
    background: #fff0f0;
}

.requests-table--sell {
    min-width: 760px;
}

.table-offer-value {
    color: var(--color-primary);
    white-space: nowrap;
}

/* ========================================
   Request, Cancellation and Report Forms
======================================== */
.form-page {
    padding-block: 54px 96px;
    background: var(--color-background);
}

.form-page__container {
    max-width: 860px;
}

.form-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.form-card__header {
    padding: 34px 38px 30px;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, var(--color-primary-soft), rgba(234, 241, 247, 0.35));
}

.form-card--report .form-card__header {
    background: linear-gradient(180deg, #fff5f5, rgba(255, 245, 245, 0.35));
}

.form-card__header h1 {
    margin: 6px 0 10px;
    color: var(--color-primary-dark);
    font-size: clamp(1.85rem, 1.45rem + 1vw, 2.5rem);
    line-height: 1.25;
}

.form-card__header p {
    max-width: 66ch;
    color: var(--color-text-muted);
}

.request-form,
.report-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 34px 38px 38px;
}

.field--full,
.form-card__notice,
.form-card__actions {
    grid-column: 1 / -1;
}

.field__control--textarea {
    min-height: 130px;
    padding-block: 13px;
    resize: vertical;
    line-height: 1.7;
}

.field__hint {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.field__suffix-wrap {
    position: relative;
}

.field__suffix-wrap .field__control {
    padding-inline-end: 54px;
}

.field__suffix-wrap>span {
    position: absolute;
    inset: 50% auto auto 14px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-card__notice {
    padding: 15px 17px;
    border-inline-start: 4px solid var(--color-secondary);
    border-radius: 10px;
    color: var(--color-text-muted);
    background: var(--color-secondary-soft);
    font-size: 0.9rem;
}

.form-card__notice strong {
    display: block;
    margin-bottom: 2px;
    color: var(--color-secondary-dark);
}

.form-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
}

.dialog-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 84px);
    padding-block: 64px;
    background: rgba(5, 44, 84, 0.08);
}

.confirm-dialog {
    width: min(100%, 560px);
    margin-inline: auto;
    padding: 38px;
    border: 1px solid rgba(201, 74, 74, 0.18);
    border-radius: 22px;
    text-align: center;
    background: var(--color-surface);
    box-shadow: 0 24px 70px rgba(31, 41, 51, 0.16);
}

.confirm-dialog__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: var(--color-danger);
    background: #fff0f0;
    font-size: 1.7rem;
    font-weight: 800;
}

.confirm-dialog h1 {
    margin-bottom: 10px;
    color: var(--color-primary-dark);
    font-size: clamp(1.65rem, 1.35rem + 0.7vw, 2rem);
    line-height: 1.35;
}

.confirm-dialog>p {
    color: var(--color-text-muted);
}

.confirm-dialog__warning {
    margin-block: 24px;
    padding: 16px;
    border: 1px solid rgba(201, 74, 74, 0.18);
    border-radius: 11px;
    color: var(--color-text-muted);
    background: #fff7f7;
    text-align: right;
}

.confirm-dialog__warning strong {
    display: block;
    margin-bottom: 3px;
    color: var(--color-danger);
}

.confirm-dialog__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.button--danger {
    color: #fff;
    background: var(--color-danger);
}

.button--danger:hover {
    background: #ad3737;
}

/* ========================================
   Sell Advertisements Page
======================================== */
.sell-page {
    padding-block: 72px 104px;
    background: var(--color-background);
}

.sell-page__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 38px;
}

.sell-page__header>div {
    max-width: 760px;
}

.sell-page__header h1 {
    margin: 7px 0 12px;
    color: var(--color-primary-dark);
    font-size: clamp(2.1rem, 1.55rem + 1.6vw, 3.3rem);
    line-height: 1.2;
}

.sell-page__header p {
    color: var(--color-text-muted);
    font-size: 1.04rem;
}

.sell-page__type {
    flex: 0 0 auto;
    padding: 9px 15px;
    border-radius: 999px;
    color: #fff;
    background: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.sell-filters {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 13px 14px;
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
    box-shadow: 0 8px 24px rgba(31, 41, 51, 0.045);
}

.sell-filters__title {
    grid-column: span 2;
}

.sell-filters .field {
    gap: 6px;
}

.sell-filters .field__label {
    color: var(--color-primary-dark);
    font-size: 0.84rem;
}

.sell-filters .field__control {
    min-height: 44px;
    padding-inline: 12px;
    border-color: #dce2e6;
    background-color: #fff;
    font-size: 0.9rem;
}

.sell-filters .field__control:hover {
    border-color: #c9d2d9;
}

.sell-filters .field__suffix-wrap>span {
    font-size: 0.78rem;
}

.sell-filters__button {
    min-height: 44px;
    padding-inline: 18px;
}

.sell-filters__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: end;
    grid-column: span 2;
}

.sell-filters__reset {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 13px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: 0.84rem;
    font-weight: 700;
    transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.sell-filters__reset:hover {
    border-color: var(--color-primary-soft);
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.sell-page__results {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.sell-page__results h2 {
    margin-top: 4px;
    color: var(--color-primary-dark);
    font-size: clamp(1.55rem, 1.25rem + 0.7vw, 2rem);
}

.sell-page__results>span {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 0.88rem;
    font-weight: 700;
}

.sell-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sell-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: var(--shadow-tiny);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.sell-card:hover {
    transform: translateY(-5px);
    border-color: rgba(7, 59, 112, 0.25);
    box-shadow: var(--shadow-soft);
}

.sell-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-surface-muted);
}

.sell-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.sell-card:hover .sell-card__media img {
    transform: scale(1.035);
}

.sell-card__type,
.sell-card__featured {
    position: absolute;
    inset: 12px 12px auto auto;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.sell-card__type--donation {
    background: var(--color-secondary-dark);
}

.donation-card__note {
    margin: auto 0 16px;
    color: var(--color-secondary-dark);
    font-size: 0.94rem;
    font-weight: 800;
}

.donation-show__note {
    display: grid;
    gap: 3px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 11px;
    color: var(--color-secondary-dark);
    background: var(--color-secondary-soft);
}

.donation-show__note span {
    color: var(--color-text-muted);
    font-size: 0.86rem;
}

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

.sell-page__type--wanted,
.sell-card__type--wanted {
    background: var(--color-warning);
}

.wanted-card__note {
    margin: auto 0 16px;
    color: var(--color-warning);
    font-size: 0.94rem;
    font-weight: 800;
}

.wanted-show__note {
    display: grid;
    gap: 3px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 11px;
    color: #8a5819;
    background: #fff5e8;
}

.wanted-show__note span {
    color: var(--color-text-muted);
    font-size: 0.86rem;
}

/* ========================================
   Informational and Legal Pages
======================================== */
.content-page {
    padding-block: 76px 104px;
    background: var(--color-background);
}

.content-hero {
    max-width: 850px;
    margin-bottom: 48px;
}

.content-hero h1 {
    margin: 7px 0 15px;
    color: var(--color-primary-dark);
    font-size: clamp(2.15rem, 1.55rem + 1.8vw, 3.5rem);
    line-height: 1.2;
}

.content-hero>p {
    max-width: 72ch;
    color: var(--color-text-muted);
    font-size: 1.08rem;
}

.content-label {
    color: var(--color-secondary-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    align-items: center;
    gap: clamp(40px, 8vw, 96px);
    margin-bottom: 86px;
    padding: 44px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.about-intro__content h2 {
    margin: 6px 0 16px;
    color: var(--color-primary-dark);
    font-size: clamp(1.7rem, 1.35rem + 1vw, 2.4rem);
    line-height: 1.3;
}

.about-intro__content p {
    color: var(--color-text-muted);
}

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

.about-intro__mark {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 270px;
    border-radius: 50% 50% 46% 54% / 45% 55% 45% 55%;
    color: #fff;
    background: var(--color-primary-dark);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.05;
}

.about-intro__mark i {
    width: 42px;
    height: 4px;
    margin-block: 9px;
    border-radius: 999px;
    background: var(--color-secondary);
}

.values-section {
    margin-bottom: 72px;
}

.content-heading {
    margin-bottom: 24px;
}

.content-heading h2 {
    margin-top: 4px;
    color: var(--color-primary-dark);
    font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2.1rem);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.value-card {
    padding: 25px;
    border: 1px solid var(--color-border);
    border-radius: 17px;
    background: var(--color-surface);
}

.value-card>span {
    color: var(--color-secondary-dark);
    font-size: 0.85rem;
    font-weight: 800;
}

.value-card h3 {
    margin: 15px 0 7px;
    color: var(--color-primary-dark);
    font-size: 1.15rem;
}

.value-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.content-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 20px;
    color: #fff;
    background: var(--color-primary-dark);
}

.content-cta .section-kicker {
    color: #b9d69f;
}

.content-cta h2 {
    margin: 4px 0 5px;
    font-size: 1.6rem;
}

.content-cta p {
    color: rgba(255, 255, 255, 0.7);
}

.content-cta .button {
    flex: 0 0 auto;
    background: var(--color-secondary);
}

.contact-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 42px;
    padding: 42px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background: var(--color-primary-dark);
}

.contact-hero>div:first-child {
    max-width: 750px;
}

.contact-hero .section-kicker {
    color: #b9d69f;
}

.contact-hero h1 {
    margin: 6px 0 12px;
    font-size: clamp(2.15rem, 1.6rem + 1.7vw, 3.4rem);
    line-height: 1.2;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

.contact-hero__mark {
    display: grid;
    place-items: center;
    flex: 0 0 130px;
    height: 130px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 35px;
    color: #cce5b5;
    background: rgba(255, 255, 255, 0.08);
}

.contact-hero__mark svg {
    width: 58px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 24px;
}

.contact-details,
.contact-form-card {
    padding: 34px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    box-shadow: var(--shadow-tiny);
}

.contact-section-heading {
    margin-bottom: 23px;
}

.contact-section-heading h2 {
    margin: 4px 0 6px;
    color: var(--color-primary-dark);
    font-size: clamp(1.45rem, 1.2rem + 0.65vw, 1.85rem);
}

.contact-section-heading p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin: 0;
    font-style: normal;
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 13px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: var(--color-surface-muted);
    transition: background-color 220ms ease, transform 220ms ease;
}

.contact-list a:hover {
    border-color: rgba(7, 59, 112, 0.12);
    background: var(--color-primary-soft);
    transform: translateX(-3px);
}

.contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    height: 46px;
    border-radius: 13px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.contact-icon svg,
.social-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-list__content {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.contact-list small,
.contact-social small {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.contact-list strong,
.contact-social strong {
    overflow-wrap: anywhere;
    color: var(--color-primary-dark);
}

.contact-list__arrow {
    margin-inline-start: auto;
    color: var(--color-text-muted);
    transition: transform 220ms ease;
}

.contact-list a:hover .contact-list__arrow {
    transform: translateX(-3px);
}

.contact-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
}

.contact-social h3 {
    grid-column: 1 / -1;
    margin-bottom: 11px;
    color: var(--color-primary-dark);
    font-size: 1rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 62px;
    padding: 9px 11px;
    border: 1px solid var(--color-border);
    border-radius: 13px;
    font-size: 0.84rem;
    transition: border-color 220ms ease, transform 220ms ease;
}

.contact-social a:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.contact-social a>span:last-child {
    display: grid;
    min-width: 0;
}

.social-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    border-radius: 11px;
    color: #fff;
}

.social-icon--facebook {
    background: #1877f2;
}

.social-icon--instagram {
    background: #b52f72;
}

.social-icon svg {
    stroke: currentColor;
}

.social-icon--facebook svg {
    fill: currentColor;
    stroke: none;
}

.contact-form-card {
    border-top: 4px solid var(--color-secondary);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
}

.legal-hero {
    grid-column: 1 / -1;
    margin-bottom: 10px;
}

.legal-updated {
    display: inline-flex;
    margin-top: 17px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.legal-nav {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 4px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    background: var(--color-surface);
}

.legal-nav strong {
    margin-bottom: 7px;
    color: var(--color-primary-dark);
}

.legal-nav a {
    padding-block: 7px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.legal-nav a:hover {
    color: var(--color-secondary-dark);
}

.legal-content {
    padding: 36px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    box-shadow: var(--shadow-tiny);
}

.legal-content section {
    scroll-margin-top: 110px;
}

.legal-content section+section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.legal-content h2 {
    margin-bottom: 11px;
    color: var(--color-primary-dark);
    font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-muted);
}

.legal-content ul {
    display: grid;
    gap: 8px;
}

.legal-content li {
    position: relative;
    padding-inline-start: 20px;
}

.legal-content li::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    inset: 10px 0 auto auto;
    border-radius: 50%;
    background: var(--color-secondary);
}

.legal-content a {
    color: var(--color-primary);
    font-weight: 700;
}

.legal-note {
    margin-top: 15px;
    padding: 14px 16px;
    border-inline-start: 4px solid var(--color-warning);
    border-radius: 9px;
    color: #7a511c;
    background: #fff6e9;
}

.sell-card__featured {
    inset: 12px auto auto 12px;
    background: var(--color-warning);
}

.sell-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.sell-card__heading {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: var(--color-secondary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.sell-card__heading span:last-child {
    color: var(--color-text-muted);
}

.sell-card h3 {
    margin-bottom: 8px;
    color: var(--color-primary-dark);
    font-size: 1.13rem;
    line-height: 1.4;
}

.sell-card__description {
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 0.89rem;
}

.sell-card__location {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.sell-card__location span {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--color-text-muted);
    background: var(--color-surface-muted);
    font-size: 0.78rem;
}

.sell-card__price {
    margin: auto 0 16px;
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 800;
}

.sell-card__action {
    width: 100%;
}

.recommendation-label {
    align-self: flex-start;
    margin: -1px 0 10px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 0.78rem;
    font-weight: 800;
}

.recommendation-label--strong {
    color: var(--color-secondary-dark);
    background: var(--color-secondary-soft);
}

.home-recommendations {
    background: var(--color-surface-muted);
}

.home-recommendations__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.home-recommendations__header h2 {
    margin-top: 4px;
    color: var(--color-primary-dark);
    font-size: clamp(1.55rem, 1.25rem + 0.7vw, 2rem);
}

.recommendation-card__note {
    margin: auto 0 16px;
    color: var(--color-secondary-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

/* ========================================
   13. Footer
======================================== */
.site-footer {
    color: #fff;
    background: var(--color-primary-dark);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(160px, 0.75fr));
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
    padding-block: 52px 44px;
}

.footer-brand {
    display: grid;
    justify-items: start;
    gap: 18px;
}

.brand--footer .brand__logo {
    width: 140px;
}

.footer-brand__text {
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
}

.footer-contact-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-contact-channel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.footer-contact-channel svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-channel .contact-channel-icon__fill {
    fill: currentColor;
    stroke: none;
}

.footer-contact-channel:hover,
.footer-contact-channel:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.footer-contact-channel:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
}

.footer-links {
    display: grid;
    gap: 14px;
    align-content: start;
}

.footer-links__title {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.4;
}

.footer-links ul {
    display: grid;
    gap: 4px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 220ms ease, transform 220ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #a8cf84;
    transform: translateX(-3px);
}

.footer-links a:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
}

.footer-bottom {
    padding-block: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

/* Floating contact channels */
.floating-contact {
    position: fixed;
    inset-inline-end: max(18px, env(safe-area-inset-left));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.floating-contact__links {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease;
}

.floating-contact.is-open .floating-contact__links {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-contact__link,
.floating-contact__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 8px 22px rgba(16, 47, 24, 0.2);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.floating-contact__link svg,
.floating-contact__toggle svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-contact__link .contact-channel-icon__fill {
    fill: currentColor;
    stroke: none;
}

.floating-contact__link--whatsapp {
    background: #188b4b;
}

.floating-contact__link--instagram {
    background: linear-gradient(135deg, #833ab4, #e1306c 55%, #f77737);
}

.floating-contact__link--facebook {
    background: #1877f2;
}

.floating-contact__link--contact,
.floating-contact__toggle {
    background: var(--color-primary);
}

.floating-contact__link:hover,
.floating-contact__link:focus-visible,
.floating-contact__toggle:hover,
.floating-contact__toggle:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 11px 26px rgba(16, 47, 24, 0.28);
}

.floating-contact__link:focus-visible,
.floating-contact__toggle:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}


/* ========================================
   14. Responsive Design
======================================== */
@media (max-width: 1100px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .home-statistics__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero__content {
        max-width: 760px;
    }

    .hero__gallery {
        width: min(100%, 680px);
        min-height: 440px;
        margin: 18px auto 0;
    }

    .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-why__layout {
        grid-template-columns: 1fr;
    }

    .home-why__intro {
        max-width: 680px;
    }

    .stores-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-profile-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .store-profile-card__details {
        grid-column: 1 / -1;
    }

    .advertisement-cards {
        grid-template-columns: 1fr;
    }

    .advertisement-show__hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    }

    .advertisement-show__content {
        grid-template-columns: 1fr;
    }

    .advertisement-contact {
        margin-top: -22px;
    }

    .sell-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(160px, 0.7fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .site-header__inner {
        min-height: 72px;
    }

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

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        gap: 16px;
        padding: 16px;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-soft);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base), transform var(--transition-base);
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .site-nav__link {
        width: 100%;
    }

    .site-nav__cta {
        width: 100%;
    }

    .site-nav__auth {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px 0 0;
        border-inline-start: 0;
        border-top: 1px solid var(--color-border);
    }

    .site-nav__auth .button,
    .site-nav__auth-link,
    .site-nav__logout {
        width: 100%;
    }

    .site-nav__logout {
        grid-column: 1 / -1;
    }

    .join-options {
        grid-template-columns: 1fr;
        max-width: 640px;
    }

    .stores-filter {
        grid-template-columns: 1fr 1fr;
    }

    .stores-filter__search {
        grid-column: 1 / -1;
    }

    .advertisement-card {
        grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
    }

    .advertisement-show__hero {
        grid-template-columns: 1fr;
    }

    .advertisement-show__main-image {
        min-height: auto;
        aspect-ratio: 3 / 2;
    }

    .advertisement-gallery__track {
        grid-auto-columns: minmax(290px, 75%);
    }

    .sell-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sell-filters__title {
        grid-column: 1 / -1;
    }

    .sell-filters__actions {
        grid-column: 1 / -1;
    }

    .store-ratings__heading,
    .store-rating-form,
    .store-ratings__notice {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .container {
        width: min(100% - 24px, var(--container-width));
    }

    .store-ratings {
        padding: 20px 16px;
    }

    .store-rating-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .star-rating-input label {
        font-size: 1.8rem;
    }

    .hero {
        padding-top: 40px;
    }

    .home-statistics {
        padding-block: 48px;
    }

    .home-statistics__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-statistics__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__gallery {
        min-height: 330px;
        margin-top: 10px;
    }

    .hero__photo {
        border-width: 3px;
        border-radius: 16px;
    }

    .hero__photo--main {
        width: 59%;
        height: 78%;
        inset-inline-start: 2%;
    }

    .hero__photo--top,
    .hero__photo--bottom {
        width: 40%;
        height: 42%;
    }

    .home-services,
    .home-why,
    .join-section {
        padding-block: 76px;
    }

    .home-heading {
        margin-bottom: 38px;
    }

    .home-services__grid {
        grid-template-columns: 1fr;
    }

    .home-service {
        min-height: 280px;
    }

    .home-why__feature {
        gap: 14px;
        padding: 20px 17px;
    }

    .home-why__feature>span {
        flex-basis: 44px;
        height: 44px;
    }

    .join-card {
        padding: 28px 22px;
    }

    .join-card__featured {
        inset: 18px auto auto 18px;
    }

    .join-card .button {
        width: 100%;
    }

    .stores-page {
        padding-block: 58px 76px;
    }

    .stores-page__header {
        margin-bottom: 30px;
    }

    .stores-filter {
        grid-template-columns: 1fr;
        margin-bottom: 42px;
        padding: 18px;
    }

    .stores-filter__search {
        grid-column: auto;
    }

    .stores-filter__button {
        width: 100%;
    }

    .stores-page__results {
        align-items: flex-start;
    }

    .stores-cards {
        grid-template-columns: 1fr;
    }

    .store-card__description {
        min-height: auto;
    }

    .store-show {
        padding-block: 38px 76px;
    }

    .store-profile-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
    }

    .store-profile-card__mark {
        width: 66px;
        height: 66px;
    }

    .store-profile-card__details {
        grid-column: auto;
    }

    .advertisements-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .advertisements-toolbar__filter {
        width: 100%;
    }

    .advertisement-card {
        grid-template-columns: 1fr;
    }

    .advertisement-card__media {
        aspect-ratio: 16 / 10;
    }

    .advertisement-show {
        padding-block: 34px 72px;
    }

    .advertisement-show__hero {
        min-height: auto;
        border-radius: 17px;
    }

    .advertisement-show__summary {
        padding: 24px 20px;
    }

    .advertisement-show__actions .button {
        width: 100%;
    }

    .advertisement-gallery,
    .advertisement-info,
    .requests-section {
        padding: 20px 16px;
    }

    .advertisement-gallery__track {
        grid-auto-columns: 88%;
    }

    .advertisement-info__grid {
        grid-template-columns: 1fr;
    }

    .advertisement-contact {
        margin-top: -22px;
        padding: 22px;
    }

    .form-page {
        padding-block: 36px 72px;
    }

    .form-card__header,
    .request-form,
    .report-form {
        padding: 24px 20px;
    }

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

    .field--full,
    .form-card__notice,
    .form-card__actions {
        grid-column: auto;
    }

    .form-card__actions .button,
    .confirm-dialog__actions .button {
        width: 100%;
    }

    .dialog-page {
        min-height: calc(100vh - 72px);
        padding-block: 34px;
    }

    .confirm-dialog {
        padding: 28px 20px;
    }

    .sell-page {
        padding-block: 56px 76px;
    }

    .sell-page__header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .home-recommendations__header {
        align-items: stretch;
        flex-direction: column;
    }

    .home-recommendations__header .button {
        width: 100%;
    }

    .sell-filters {
        grid-template-columns: 1fr;
        margin-bottom: 42px;
        padding: 18px;
    }

    .sell-filters__title {
        grid-column: auto;
    }

    .sell-filters__actions {
        display: grid;
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .sell-filters__button,
    .sell-filters__reset {
        min-height: 46px;
    }

    .sell-page__results {
        align-items: flex-start;
    }

    .sell-cards {
        grid-template-columns: 1fr;
    }

    .content-page {
        padding-block: 56px 76px;
    }

    .content-hero {
        margin-bottom: 34px;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 60px;
        padding: 26px 20px;
    }

    .about-intro__mark {
        min-height: 220px;
    }

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

    .content-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 26px 20px;
    }

    .content-cta .button {
        width: 100%;
    }

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

    .contact-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 22px;
    }

    .contact-hero__mark {
        display: none;
    }

    .contact-details,
    .contact-form-card {
        padding: 24px 20px;
    }

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

    .contact-social h3 {
        grid-column: auto;
    }

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

    .contact-form .field--full,
    .contact-form .form-card__actions {
        grid-column: auto;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .legal-hero {
        grid-column: auto;
    }

    .legal-nav {
        position: static;
    }

    .legal-content {
        padding: 26px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 40px 34px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .brand--footer .brand__logo {
        width: 126px;
    }

    .footer-links a {
        min-height: 42px;
    }

    .footer-bottom {
        padding-block: 16px;
    }
}

@media (max-width: 640px) {
    .floating-contact {
        inset-inline-end: max(12px, env(safe-area-inset-left));
        bottom: max(12px, env(safe-area-inset-bottom));
        gap: 8px;
    }

    .floating-contact__links {
        gap: 8px;
    }

    .floating-contact__link,
    .floating-contact__toggle {
        width: 44px;
        height: 44px;
    }

    .floating-contact__link svg,
    .floating-contact__toggle svg {
        width: 21px;
        height: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-contact-channel,
    .floating-contact__links,
    .floating-contact__link,
    .floating-contact__toggle {
        transition: none;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-service,
    .home-why__feature,
    .join-card {
        transition: none;
    }
}
