/* ==========================================================================
   NEARRESTO – Your Hospitality Growth Partner
   Mobile-first stylesheet. Red & white brand system.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --red: #C8202F;
    --red-deep: #A81727;
    --red-soft: #FCEEEF;
    --white: #FFFFFF;
    --bg-soft: #F8F8F8;
    --text: #171717;
    --text-2: #666666;
    --border: #EAEAEA;
    --border-strong: #D9D9D9;

    --font-head: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 2px rgba(23, 23, 23, .04), 0 4px 12px rgba(23, 23, 23, .04);
    --shadow-md: 0 12px 32px -8px rgba(23, 23, 23, .14);
    --shadow-lg: 0 24px 56px -16px rgba(23, 23, 23, .24);

    --container: 1200px;
    --gutter: 20px;
    --section-y: clamp(64px, 8vw, 104px);
    --header-h: 72px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    overflow-x: clip;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .6em;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 1.35rem + 2.9vw, 3.65rem);
}

h2 {
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1.1em;
}

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

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

[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

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

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--red);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: top .2s;
}

.skip-link:focus {
    top: 12px;
}

.icon {
    width: 24px;
    height: 24px;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- 3. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 26px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.btn .icon {
    width: 18px;
    height: 18px;
    transition: transform .25s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(200, 32, 47, .6);
}

.btn-primary:hover {
    background: var(--red-deep);
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff;
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--red-deep);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4);
}

.btn-white:hover {
    background: #fff3f4;
    transform: translateY(-2px);
}

.btn-sm {
    min-height: 44px;
    padding: 9px 20px;
    font-size: .95rem;
}

.btn-lg {
    min-height: 58px;
    padding: 15px 30px;
}

.btn-block {
    width: 100%;
}

.btn[disabled] {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

/* ---------- 4. Header & navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px -12px rgba(23, 23, 23, .18);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.brand-word {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: .03em;
    color: var(--text);
    line-height: 1;
}

.brand-word span {
    color: var(--red);
}

.brand--light .brand-word {
    color: #fff;
}

.header-cta {
    display: none;
}

.nav-toggle {
    margin-left: auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
}

.nav-toggle-bars {
    position: relative;
    width: 20px;
    height: 14px;
}

.nav-toggle-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}

.nav-toggle-bars span:nth-child(1) {
    top: 0;
}

.nav-toggle-bars span:nth-child(2) {
    top: 6px;
}

.nav-toggle-bars span:nth-child(3) {
    top: 12px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

/* Mobile panel */
.nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -20px rgba(23, 23, 23, .25);
    padding: 8px var(--gutter) 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
}

.nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.nav-list a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color .2s, padding-left .2s;
}

.nav-list a:not(.btn):hover {
    color: var(--red);
    padding-left: 8px;
}

.nav-list a[aria-current="page"] {
    color: var(--red);
    box-shadow: inset 3px 0 0 var(--red);
    padding-left: 14px;
}

.nav-cta-item {
    margin-top: 20px;
}

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

    .header-cta {
        display: inline-flex;
    }

    .nav {
        position: static;
        margin-left: auto;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .nav-cta-item {
        display: none;
    }

    .nav-list a:not(.btn) {
        position: relative;
        min-height: 44px;
        padding: 8px 16px;
        border: 0;
        border-radius: 10px;
        font-size: .975rem;
        color: var(--text);
    }

    .nav-list a:not(.btn):hover {
        padding-left: 16px;
        background: var(--bg-soft);
    }

    .nav-list a[aria-current="page"] {
        box-shadow: none;
        padding-left: 16px;
        background: transparent;
    }

    .nav-list a[aria-current="page"]::after {
        content: '';
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 4px;
        height: 2px;
        border-radius: 2px;
        background: var(--red);
    }
}

/* ---------- 5. Shared layout helpers ---------- */
.section {
    padding: var(--section-y) 0;
}

.section--tight {
    padding-top: clamp(40px, 5vw, 64px);
}

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

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(36px, 5vw, 56px);
    text-align: center;
}

.section-head p {
    color: var(--text-2);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.section-action {
    margin-top: clamp(32px, 4vw, 48px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.eyebrow--light {
    color: #fff;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
    color: var(--red-deep);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

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

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

@media (min-width: 640px) {

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

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

    .grid {
        gap: 24px;
    }
}

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

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.split {
    display: grid;
    gap: 40px;
    align-items: center;
    grid-template-columns: 1fr;
}

.split--top {
    align-items: start;
}

.split-text>p {
    color: var(--text-2);
}

@media (min-width: 900px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: clamp(48px, 6vw, 88px);
    }
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 32px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
}

.check-list .icon {
    width: 22px;
    height: 22px;
    padding: 3px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    stroke-width: 2.4;
    margin-top: 2px;
}

/* ---------- 6. Media & image frames ---------- */
.media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fdeff0, #f5d6d9);
    box-shadow: var(--shadow-lg);
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}

.media:hover img {
    transform: scale(1.035);
}

.media.is-fallback img {
    display: none;
}

.media.is-fallback::after {
    content: 'NEARRESTO';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: .24em;
    font-size: 1.05rem;
    color: rgba(200, 32, 47, .4);
}

.ratio-45 {
    aspect-ratio: 4 / 5;
}

.ratio-43 {
    aspect-ratio: 4 / 3;
}

.ratio-hero {
    aspect-ratio: 4 / 4.3;
}

.accent-frame {
    position: relative;
}

.accent-frame .media {
    position: relative;
    z-index: 1;
}

.accent-frame::before {
    content: '';
    position: absolute;
    z-index: 0;
    right: -12px;
    bottom: -12px;
    width: 62%;
    height: 62%;
    border: 2px solid var(--red);
    border-radius: var(--radius-lg);
}

.accent-frame--left::before {
    right: auto;
    left: -12px;
}

/* ---------- 7. Hero ---------- */
.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.hero::before,
.page-hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -160px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 32, 47, .11), rgba(200, 32, 47, 0) 66%);
    pointer-events: none;
}

.hero {
    padding: 40px 0 72px;
}

.page-hero {
    padding: 40px 0 64px;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 48px;
    align-items: center;
    grid-template-columns: 1fr;
}

.hero-copy .lead {
    font-size: 1.08rem;
    color: var(--text-2);
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-copy h1 {
    margin-bottom: .5em;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-actions .btn {
    width: 100%;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 30px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--text);
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-points .icon {
    width: 18px;
    height: 18px;
    color: var(--red);
    stroke-width: 2.6;
}

.hero-visual {
    position: relative;
    padding: 0 0 16px 16px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62%;
    height: 58%;
    z-index: 0;
    background: var(--red);
    border-radius: var(--radius-lg);
}

.hero-visual::after {
    content: '';
    position: absolute;
    top: -16px;
    right: 0;
    width: 110px;
    height: 110px;
    z-index: 0;
    opacity: .4;
    background-image: radial-gradient(var(--red) 1.6px, transparent 1.8px);
    background-size: 16px 16px;
}

.hero-visual .media {
    position: relative;
    z-index: 1;
}

.hero-badge {
    position: absolute;
    z-index: 2;
    left: 16px;
    bottom: 36px;
    max-width: calc(100% - 56px);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 12px 12px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.hero-badge:hover {
    transform: translateX(-4px) scale(1.03);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .18);
}

@media (max-width: 639px) {
    .hero-badge {
        left: 12px;
        bottom: 24px;
        padding: 8px 12px 8px 8px;
        gap: 8px;
        max-width: calc(100% - 40px);
    }

    .hero-badge strong {
        font-size: .85rem;
    }

    .hero-badge small {
        font-size: .7rem;
    }

    .hero-badge .icon-box .icon {
        width: 16px;
        height: 16px;
    }

    .hero-badge .icon-box {
        width: 34px;
        height: 34px;
    }
}

.hero-badge strong {
    display: block;
    font-family: var(--font-head);
    font-size: .95rem;
    line-height: 1.3;
}

.hero-badge small {
    display: block;
    color: var(--text-2);
    font-size: .8rem;
    line-height: 1.4;
}

.page-hero--center {
    padding: 64px 0 56px;
    text-align: center;
}

.hero-copy--center {
    max-width: 760px;
    margin-inline: auto;
}

.hero-copy--center .lead {
    margin-inline: auto;
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-actions .btn {
        width: auto;
    }
}

@media (min-width: 992px) {
    .hero {
        padding: 80px 0 104px;
    }

    .page-hero {
        padding: 72px 0 96px;
    }

    .hero-grid {
        grid-template-columns: 1.08fr .92fr;
        gap: 72px;
    }

    .hero-visual {
        padding: 0 0 24px 24px;
    }

    .hero-visual::after {
        top: -24px;
        width: 140px;
        height: 140px;
    }

    .hero-badge {
        left: -8px;
        bottom: 56px;
    }

    .page-hero--center {
        padding: 88px 0 72px;
    }
}

/* ---------- 8. Cards ---------- */
.icon-box {
    display: grid;
    place-items: center;
    flex: none;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--red-soft);
    color: var(--red);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.icon-box--sm {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 12px;
}

.icon-box--sm .icon {
    width: 22px;
    height: 22px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 32, 47, .35);
}

.card:hover .icon-box {
    background: var(--red);
    color: #fff;
}

.card h3 {
    margin-bottom: .5em;
}

.card p {
    color: var(--text-2);
    font-size: .975rem;
    margin-bottom: 0;
}

.card--compact {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
}

.card--compact .icon-box {
    margin-bottom: 0;
    width: 48px;
    height: 48px;
}

.card--compact h3 {
    margin: 0;
    font-size: 1.1rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    font-weight: 700;
    color: var(--red);
    font-family: var(--font-head);
}

.card-link .icon {
    width: 18px;
    height: 18px;
    transition: transform .25s var(--ease);
}

.card-link:hover .icon {
    transform: translateX(4px);
}

.service-card {
    padding: 32px 28px 28px;
}

.service-num {
    position: absolute;
    top: 24px;
    right: 26px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    color: var(--border);
    transition: color .3s;
}

.service-card:hover .service-num {
    color: rgba(200, 32, 47, .25);
}

.service-card p {
    margin-bottom: 24px;
}

.card-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ---------- 9. Why choose ---------- */
.why-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.why-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 56px);
    color: #fff;
    background: linear-gradient(150deg, var(--red) 0%, var(--red-deep) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.why-panel::before,
.why-panel::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .18);
    pointer-events: none;
}

.why-panel::before {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -120px;
}

.why-panel::after {
    width: 200px;
    height: 200px;
    right: -60px;
    bottom: -60px;
}

.why-panel>* {
    position: relative;
    z-index: 1;
}

.why-panel h2 {
    color: #fff;
}

.why-panel p {
    color: rgba(255, 255, 255, .88);
}

.why-panel .why-tagline {
    font-family: var(--font-head);
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
}

.value-list {
    display: grid;
    align-content: center;
}

.value-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.value-list li:first-child {
    padding-top: 0;
}

.value-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.value-list h3 {
    font-size: 1.1rem;
    margin-bottom: .25em;
}

.value-list p {
    margin: 0;
    color: var(--text-2);
    font-size: .95rem;
}

@media (min-width: 992px) {
    .why-grid {
        grid-template-columns: .95fr 1.05fr;
        gap: 64px;
    }
}

/* ---------- 10. Timeline ---------- */
.timeline {
    display: grid;
    gap: 0;
}

.timeline li {
    position: relative;
    padding: 0 0 36px 72px;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 56px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(var(--red), rgba(200, 32, 47, .15));
}

.step-icon {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    box-shadow: 0 0 0 6px var(--red-soft);
}

.step-icon .icon {
    width: 22px;
    height: 22px;
}

.step-label {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    line-height: 1;
    padding-top: 4px;
    margin-bottom: 8px;
}

.timeline h3 {
    margin-bottom: .3em;
}

.timeline p {
    color: var(--text-2);
    margin: 0;
    font-size: .975rem;
}

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

    .timeline li {
        padding: 72px 0 0;
        text-align: center;
    }

    .step-icon {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline li:not(:last-child)::after {
        left: 50%;
        right: calc(-50% - 16px);
        top: 23px;
        bottom: auto;
        width: auto;
        height: 2px;
        background: linear-gradient(90deg, var(--red), rgba(200, 32, 47, .15));
    }
}

/* ---------- 11. CTA band ---------- */
.cta-section {
    padding: 0 0 var(--section-y);
}

.section-soft+.cta-section {
    padding-top: var(--section-y);
}

.cta-band {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding: clamp(44px, 7vw, 80px) clamp(24px, 6vw, 72px);
    background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cta-band::before,
.cta-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .16);
    pointer-events: none;
}

.cta-band::before {
    width: 420px;
    height: 420px;
    left: -160px;
    top: -200px;
}

.cta-band::after {
    width: 300px;
    height: 300px;
    right: -100px;
    bottom: -150px;
    background: rgba(255, 255, 255, .05);
}

.cta-band>* {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    color: #fff;
    max-width: 780px;
    margin-inline: auto;
}

.cta-band p {
    max-width: 640px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
}

.cta-band h2:last-child {
    margin-bottom: 0;
}

.cta-band h2+.btn {
    margin-top: 28px;
}

.cta-band .btn {
    max-width: 100%;
}

    .cta-band :focus-visible {
        outline-color: #fff;
    }

/* ---------- 12. Reviews carousel ---------- */
.review-carousel-wrap {
    position: relative;
    padding: 0 16px;
}

.review-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 32px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s var(--ease);
    will-change: transform;
    touch-action: pan-y;
}

.review-slide {
    flex: none;
    width: 100%;
    max-width: 100%;
}

.slide-content {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.slide-content:hover {
    border-color: var(--border-strong);
    box-shadow: 0 8px 24px rgba(23, 23, 23, .08);
}

.review-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.reviewer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviewer-name {
    font-weight: 700;
    font-size: .95rem;
    color: var(--text);
}

.reviewer-count {
    font-size: .82rem;
    color: var(--text-2);
}

.review-stars {
    color: #F59E0B;
    font-size: 1.05rem;
    line-height: 1;
    letter-spacing: 2px;
}

.review-time {
    margin: 0;
    font-size: .82rem;
    color: var(--text-2);
}

.review-text {
    margin: 0;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--text);
}

.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    background: var(--red);
    color: #fff;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-right: 6px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.carousel-btn:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

.carousel-btn .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.carousel-next .icon {
    transform: none;
}

.carousel-prev .icon {
    transform: rotate(180deg);
}

@media (max-width: 639px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    .carousel-btn .icon {
        width: 16px;
        height: 16px;
    }
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background-color .2s, transform .2s;
}

.carousel-dot.is-active {
    background: var(--red);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--text-2);
}

.carousel-dot:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

@media (min-width: 640px) {
    .carousel-track { gap: 28px; }
    .review-slide { width: 50%; }
    .slide-content { padding: 26px; }
    .review-carousel-wrap { padding: 0 24px; }
}

@media (min-width: 992px) {
    .carousel-track { gap: 32px; }
    .review-slide { width: 33.333%; }
}

/* ---------- 13. About page ---------- */
.pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 28px;
}

.pillars li {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 700;
}

.mv-card {
    height: 100%;
    padding: clamp(28px, 4vw, 44px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.mv-card p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-2);
}

.mv-card--red {
    background: linear-gradient(150deg, var(--red), var(--red-deep));
    border-color: transparent;
}

.mv-card--red h2,
.mv-card--red p {
    color: #fff;
}

.mv-card--red p {
    color: rgba(255, 255, 255, .9);
}

.mv-card--red .icon-box {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.how-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr;
}

.how-intro p {
    color: var(--text-2);
}

.how-list {
    display: grid;
    gap: 16px;
    counter-reset: how;
}

.how-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .3s, box-shadow .3s;
}

.how-list li:hover {
    border-color: rgba(200, 32, 47, .35);
    box-shadow: var(--shadow-md);
}

.how-num {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--red-soft);
    color: var(--red);
    font-family: var(--font-head);
    font-weight: 800;
}

.how-list h3 {
    font-size: 1.1rem;
    margin-bottom: .25em;
}

.how-list p {
    margin: 0;
    color: var(--text-2);
    font-size: .95rem;
}

@media (min-width: 992px) {
    .how-grid {
        grid-template-columns: .8fr 1.2fr;
        gap: 72px;
    }

    .how-intro {
        position: sticky;
        top: calc(var(--header-h) + 32px);
        align-self: start;
    }
}

/* ---------- 13. Services page ---------- */
.info-pair {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.info-box {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-sm);
}

.info-box h3 {
    font-size: 1.05rem;
    margin-bottom: .2em;
}

.info-box p {
    margin: 0;
    color: var(--text-2);
    font-size: .95rem;
}

.audience-list {
    display: grid;
    padding: 12px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.audience-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-head);
    font-weight: 700;
}

.audience-list li:last-child {
    border-bottom: 0;
}

.audience-list .icon {
    width: 26px;
    height: 26px;
    padding: 5px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    stroke-width: 2.6;
}

/* ---------- Contact info cards in one row ---------- */
.section--tight > .container > .grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.section--tight > .container > .grid > * {
    min-width: 0;
}

@media (min-width: 640px) {
    .section--tight > .container > .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 992px) {
    .section--tight > .container > .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (min-width: 640px) {
    .info-pair {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- 14. Contact page ---------- */
.info-card {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.info-card .icon-box {
    flex: none;
}

.info-label {
    display: inline-block;
    white-space: nowrap;
    margin: 0;
}

.info-value {
    display: inline-block;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.info-label {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-2);
    font-weight: 700;
    margin-bottom: .4em;
}

.info-value {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text);
    overflow-wrap: anywhere;
    transition: color .2s;
}

a.info-value:hover {
    color: var(--red);
}

.info-sub {
    margin-top: 10px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--red);
}

.info-sub:hover {
    text-decoration: underline;
}

.info-sub[hidden] {
    display: none;
}

.is-placeholder {
    cursor: default;
}

[data-contact].is-placeholder {
    font-style: italic;
    font-weight: 500;
    color: var(--text-2);
}

.contact-layout {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
    align-items: start;
}

.form-card {
    padding: clamp(24px, 4vw, 44px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-card h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.form-intro {
    color: var(--text-2);
    margin-bottom: 28px;
}

.req {
    color: var(--red);
    font-weight: 700;
}

.form-row {
    display: grid;
    gap: 0 20px;
    grid-template-columns: 1fr;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: .92rem;
}

.field input,
.field select,
.field textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--border-strong);
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.field select {
    padding-right: 44px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9a9a9a;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #b9b9b9;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(200, 32, 47, .14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--red-deep);
    background: #fffafa;
}

.field-error {
    margin: 6px 0 0;
    font-size: .85rem;
    font-weight: 500;
    color: var(--red-deep);
    display: none;
}

.field.has-error .field-error {
    display: block;
}

.form-status {
    display: none;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: .95rem;
    line-height: 1.55;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: #effaf3;
    border: 1px solid #b7e3c6;
    color: #14633a;
}

.form-status.is-error {
    background: var(--red-soft);
    border: 1px solid #f1bcc1;
    color: var(--red-deep);
}

.form-status.is-info {
    background: var(--bg-soft);
    border: 1px solid var(--border-strong);
    color: var(--text);
}

.form-status strong {
    display: block;
    font-family: var(--font-head);
    margin-bottom: 2px;
}

.form-note {
    margin: 14px 0 0;
    font-size: .82rem;
    color: var(--text-2);
    text-align: center;
}

.side-stack {
    display: grid;
    gap: 24px;
}

.wa-card {
    padding: 32px;
    background: var(--red-soft);
    border: 1px solid #f4cfd2;
    border-radius: var(--radius-lg);
}

.wa-card .icon-box {
    background: var(--red);
    color: #fff;
}

.wa-card h2 {
    font-size: 1.5rem;
}

.wa-card p {
    color: var(--text-2);
}

.note-card {
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.note-card .check-list {
    margin: 0;
}

.note-card h3 {
    margin-bottom: 1em;
}

.map-wrap {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px;
    text-align: center;
    color: var(--text-2);
    background:
        linear-gradient(rgba(248, 248, 248, .88), rgba(248, 248, 248, .88)),
        repeating-linear-gradient(0deg, transparent 0 39px, var(--border) 39px 40px),
        repeating-linear-gradient(90deg, transparent 0 39px, var(--border) 39px 40px);
}

.map-placeholder .icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    margin-bottom: 8px;
}

.map-placeholder strong {
    color: var(--text);
    font-family: var(--font-head);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 1.5fr .85fr;
        gap: 40px;
    }

    .side-stack {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

@media (max-width: 639px) {
    .map-wrap {
        aspect-ratio: auto;
        min-height: 320px;
    }
}

/* ---------- 15. Footer ---------- */
.site-footer {
    background: #141414;
    color: rgba(255, 255, 255, .72);
    padding-top: clamp(56px, 7vw, 88px);
}

.site-footer :focus-visible {
    outline-color: #fff;
}

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

.footer-tagline {
    margin: 18px 0 12px;
    font-family: var(--font-head);
    font-weight: 700;
    color: #fff;
}

.footer-about {
    font-size: .95rem;
    max-width: 380px;
    margin: 0;
}

.footer-title {
    font-size: .85rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: .95rem;
    transition: color .2s, padding-left .2s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact {
    display: grid;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    overflow-wrap: anywhere;
}

.footer-contact .icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: #ff6b78;
}

.footer-contact a {
    transition: color .2s;
}

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

.footer-contact [data-contact].is-placeholder {
    color: rgba(255, 255, 255, .6);
}

.footer-bottom {
    margin-top: clamp(40px, 5vw, 64px);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom .footer-credit {
    margin: 0;
}

.footer-bottom .footer-credit {
    color: #e53935;
}

.footer-bottom .footer-credit .name {
    color: #e53935;
    font-weight: 700;
}

.footer-bottom .footer-credit .label {
    color: #fff;
    opacity: .85;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr .8fr 1.2fr 1.3fr;
        gap: 48px;
    }

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

/* ---------- 16. Utilities: toast, scroll-to-top ---------- */
.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s, background-color .2s;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.to-top:hover {
    background: var(--red-deep);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 150;
    max-width: calc(100% - 40px);
    padding: 12px 20px;
    background: #171717;
    color: #fff;
    border-radius: 12px;
    font-size: .92rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .3s, transform .3s, visibility 0s linear .3s;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

/* ---------- 17. Scroll reveal ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .media:hover img,
    .card:hover,
    .btn:hover {
        transform: none;
    }
}
/* ==========================================================================
   19. VISUAL REFINEMENT LAYER (v2)
   Polish, motion and the new "Brands We Work With" section.
   Loaded after the base system so it only overrides what it needs to.
   ========================================================================== */

/* ---------- 19.1 Tokens & base polish ---------- */
:root {
    --red-tint: #FFF6F6;
    --ink: #101014;
    --cream: #FBF9F7;
    --gold: #FFB400;

    --grad-red: linear-gradient(135deg, #E23A4E 0%, #C8202F 45%, #A3121F 100%);
    --grad-soft: linear-gradient(180deg, #FFFFFF 0%, #FBF9F7 100%);

    --shadow-card: 0 1px 2px rgba(24, 16, 18, .04), 0 10px 30px -14px rgba(24, 16, 18, .16);
    --shadow-card-hover: 0 2px 4px rgba(24, 16, 18, .05), 0 26px 50px -22px rgba(163, 18, 31, .35);

    --ease-out: cubic-bezier(.16, .84, .44, 1);
    --header-h: 76px;
}

body {
    color: var(--ink);
    background: var(--white);
}

::selection {
    background: rgba(200, 32, 47, .16);
    color: var(--ink);
}

@media (min-width: 992px) {
    body {
        font-size: 1.0125rem;
    }
}

h1,
h2 {
    letter-spacing: -.032em;
}

h2 {
    font-size: clamp(1.75rem, 1.15rem + 2.25vw, 2.7rem);
}

/* Comfortable, visible focus for keyboard users everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 6px;
}

[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Thin brand scrollbar (desktop) */
@media (min-width: 992px) {
    html {
        scrollbar-color: #D9D9D9 #fff;
        scrollbar-width: thin;
    }

    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-thumb {
        background: #DADADA;
        border-radius: 999px;
        border: 3px solid #fff;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #C4C4C4;
    }
}

/* Page scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: var(--grad-red);
    z-index: 200;
    pointer-events: none;
    border-radius: 0 3px 3px 0;
}

/* ---------- 19.2 Header ---------- */
.site-header {
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid rgba(24, 16, 18, .07);
    transition: box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: rgba(24, 16, 18, .09);
    box-shadow: 0 10px 30px -22px rgba(24, 16, 18, .45);
}

.brand img {
    border-radius: 13px;
    box-shadow: 0 6px 16px -8px rgba(200, 32, 47, .7);
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}

.brand:hover img {
    transform: rotate(-4deg) scale(1.04);
    box-shadow: 0 10px 22px -10px rgba(200, 32, 47, .85);
}

.brand-word {
    font-size: 1.32rem;
    letter-spacing: -.015em;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .nav-list a:not(.btn) {
        padding: 9px 15px;
        border-radius: 999px;
        font-weight: 600;
        color: #3A3A3A;
        transition: color .25s, background .25s;
    }

    .nav-list a:not(.btn):hover {
        background: var(--red-tint);
        color: var(--red);
    }

    .nav-list a[aria-current="page"] {
        color: var(--red);
        background: var(--red-tint);
    }

    .nav-list a[aria-current="page"]::after {
        display: none;
    }

    .header-cta {
        margin-left: 6px;
    }
}

@media (max-width: 991px) {
    .nav.is-open {
        box-shadow: 0 30px 60px -30px rgba(24, 16, 18, .45);
    }

    body.nav-open {
        overflow: hidden;
    }

    .nav.is-open .nav-list li {
        animation: navItemIn .45s var(--ease-out) both;
    }

    .nav.is-open .nav-list li:nth-child(1) {
        animation-delay: .05s;
    }

    .nav.is-open .nav-list li:nth-child(2) {
        animation-delay: .1s;
    }

    .nav.is-open .nav-list li:nth-child(3) {
        animation-delay: .15s;
    }

    .nav.is-open .nav-list li:nth-child(4) {
        animation-delay: .2s;
    }

    .nav.is-open .nav-list li:nth-child(5) {
        animation-delay: .25s;
    }

    .nav.is-open .nav-list li:nth-child(6) {
        animation-delay: .3s;
    }
}

@keyframes navItemIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* ---------- 19.3 Buttons ---------- */
.btn {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    letter-spacing: .01em;
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s,
        color .3s, border-color .3s;
}

.btn-primary {
    background: var(--grad-red);
    border-color: transparent;
    box-shadow: 0 10px 24px -14px rgba(163, 18, 31, .9);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -16px rgba(163, 18, 31, .95);
    background: linear-gradient(135deg, #E8455A 0%, #C8202F 45%, #96101C 100%);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: skewX(-18deg);
    transition: left .6s var(--ease-out);
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn:active {
    transform: translateY(0) scale(.985);
}

.btn .icon {
    transition: transform .3s var(--ease-out);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn-outline {
    background: rgba(255, 255, 255, .7);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: var(--red);
    color: var(--red);
    background: #fff;
    box-shadow: 0 14px 28px -20px rgba(24, 16, 18, .55);
}

/* ---------- 19.4 Hero ---------- */
.hero {
    padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 104px);
    background:
        radial-gradient(900px 480px at 82% -10%, rgba(200, 32, 47, .10), transparent 70%),
        radial-gradient(700px 420px at 0% 20%, rgba(255, 180, 0, .07), transparent 70%),
        linear-gradient(180deg, #fff 0%, #FCFAF9 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(24, 16, 18, .055) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(420px 320px at 8% 78%, #000, transparent 75%);
    mask-image: radial-gradient(420px 320px at 8% 78%, #000, transparent 75%);
    pointer-events: none;
    opacity: .9;
}

.hero-grid {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 1.2rem + 3.3vw, 3.85rem);
    line-height: 1.06;
    letter-spacing: -.038em;
    margin-bottom: .55em;
}

.hero-copy .lead {
    font-size: 1.06rem;
    line-height: 1.75;
    color: #5C5C5C;
}

.hero-points li {
    padding: 8px 14px 8px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 1px 2px rgba(24, 16, 18, .03);
}

.hero-points .icon {
    background: var(--red-tint);
    border-radius: 50%;
    padding: 2px;
    width: 20px;
    height: 20px;
}

.hero-visual {
    padding: 0 0 20px 20px;
}

.hero-visual::before {
    background: var(--grad-red);
    box-shadow: 0 30px 60px -30px rgba(163, 18, 31, .6);
    border-radius: 28px;
}

.hero-visual .media {
    border-radius: 28px;
    box-shadow: 0 40px 80px -40px rgba(24, 16, 18, .55);
}

.hero-visual .media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 16, 20, 0) 55%, rgba(16, 16, 20, .28) 100%);
    pointer-events: none;
}

.hero-badge {
    animation: floatY 5.5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

.hero-badge:hover {
    animation-play-state: paused;
}

.page-hero {
    background:
        radial-gradient(760px 420px at 88% -20%, rgba(200, 32, 47, .10), transparent 72%),
        linear-gradient(180deg, #fff 0%, #FCFAF9 100%);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(24, 16, 18, .05) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(360px 260px at 4% 90%, #000, transparent 75%);
    mask-image: radial-gradient(360px 260px at 4% 90%, #000, transparent 75%);
    pointer-events: none;
}

/* ---------- 19.5 Section headers & cards ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    letter-spacing: .23em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--red);
}

.section-head {
    max-width: 760px;
}

.section-head h2 {
    margin-bottom: .5em;
}

.section-head p {
    color: #5C5C5C;
    font-size: 1.03rem;
}

.section-soft {
    background: linear-gradient(180deg, #FCFAF9 0%, #F7F5F3 100%);
    border-block: 1px solid rgba(24, 16, 18, .055);
}

.card {
    border-radius: 20px;
    border: 1px solid rgba(24, 16, 18, .075);
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}

.card::before {
    content: '';
    position: absolute;
    inset: -1px -1px auto -1px;
    height: 3px;
    border-radius: 20px 20px 0 0;
    background: var(--grad-red);
    opacity: 0;
    transform: scaleX(.55);
    transform-origin: 50% 0;
    transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 32, 47, .22);
    box-shadow: var(--shadow-card-hover);
}

.card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.icon-box {
    background: var(--grad-red);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 24px -16px rgba(163, 18, 31, .9);
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}

.card:hover .icon-box {
    transform: perspective(600px) translateZ(12px) rotate(-5deg) scale(1.06);
    box-shadow: 0 18px 30px -16px rgba(163, 18, 31, .95);
}

.card h3 {
    letter-spacing: -.018em;
}

.value-list li {
    border-radius: 16px;
    transition: transform .35s var(--ease-out), background .35s;
}

.value-list li:hover {
    transform: translateX(4px);
}

.check-list li {
    align-items: flex-start;
}

.check-list .icon {
    margin-top: 4px;
    background: var(--red-tint);
    border-radius: 50%;
    padding: 2px;
    flex: none;
}

/* Review stars as icons */
.stars,
.review-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--gold);
    letter-spacing: 0;
}

.stars .icon,
.review-stars .icon {
    width: 17px;
    height: 17px;
    fill: currentColor;
    stroke: currentColor;
    color: var(--gold);
}

/* ---------- 19.6 Brands we work with ---------- */
.partners {
    position: relative;
    overflow: hidden;
    padding-top: clamp(56px, 7vw, 96px);
    padding-bottom: clamp(48px, 6vw, 84px);
    background: #fff;
}

.partners-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(620px 340px at 12% 0%, rgba(200, 32, 47, .055), transparent 70%),
        radial-gradient(560px 360px at 92% 24%, rgba(255, 180, 0, .07), transparent 72%);
}

.partners .container {
    position: relative;
    z-index: 1;
}

.partners .section-head {
    margin-bottom: clamp(28px, 4vw, 40px);
}

/* Auto-scrolling logo marquee */
.partner-marquee {
    position: relative;
    margin-bottom: clamp(36px, 5vw, 56px);
    padding: 26px 0;
    border-block: 1px solid rgba(24, 16, 18, .07);
    background: linear-gradient(180deg, rgba(252, 250, 249, .9), #fff);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    overflow: hidden;
}

.partner-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: partnerScroll 62s linear infinite;
    will-change: transform;
}

.partner-marquee:hover .partner-track,
.partner-marquee:focus-within .partner-track {
    animation-play-state: paused;
}

@keyframes partnerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 15px));
    }
}

.pm-item {
    flex: none;
    display: grid;
    place-items: center;
    padding: 6px 4px;
    min-width: 216px;
    opacity: .62;
    filter: grayscale(1);
    transition: opacity .4s, filter .4s, transform .4s var(--ease-out);
}

.pm-item:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
}

.pm-item .plogo {
    width: 200px;
    height: 48px;
}

@media (max-width: 639px) {
    .pm-item {
        min-width: 168px;
    }

    .pm-item .plogo {
        width: 156px;
        height: 38px;
    }
}

/* Numbers strip */
.partner-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 clamp(28px, 4vw, 44px);
    padding: 0;
    list-style: none;
}

.partner-stats li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 18px 20px;
    border: 1px solid rgba(24, 16, 18, .075);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #FCFAF9);
    box-shadow: var(--shadow-sm);
}

.partner-stats strong {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--red);
}

.partner-stats span {
    font-size: .84rem;
    font-weight: 600;
    color: #6A6A6A;
    letter-spacing: .01em;
}

@media (min-width: 720px) {
    .partner-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Filters – segmented pill control */
.partner-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 6px;
    margin-bottom: clamp(26px, 3.5vw, 36px);
    border-radius: 999px;
    border: 1px solid #eceef1;
    background: #f6f7f8;
}

@media (max-width: 639px) {
    .partner-filters {
        width: 100%;
        border-radius: 20px;
    }
}

.partner-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #3f3f46;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .28s var(--ease-out), color .28s var(--ease-out),
        border-color .28s var(--ease-out), box-shadow .28s var(--ease-out),
        transform .28s var(--ease-out);
}

.partner-filter:hover {
    background: #fff;
    color: var(--red);
    border-color: #e5e7eb;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.partner-filter:focus-visible {
    outline: 3px solid rgba(200, 32, 47, .35);
    outline-offset: 2px;
}

.partner-filter .pcount {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 21px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(23, 23, 23, .08);
    font-size: .72rem;
    font-weight: 800;
    color: #4b5563;
    transition: background .28s var(--ease-out), color .28s var(--ease-out);
}

.partner-filter.is-active {
    background: var(--grad-red);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 28px -14px rgba(163, 18, 31, .65);
}

.partner-filter.is-active .pcount {
    background: rgba(255, 255, 255, .24);
    color: #fff;
}

/* Show More / Show Less */
.partner-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: clamp(26px, 3vw, 36px);
}

.partner-more-wrap.is-hidden {
    display: none;
}

.partner-more {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 13px 28px;
    border-radius: 999px;
    border: 1.5px solid rgba(200, 32, 47, .38);
    background: #fff;
    color: var(--red);
    font-family: var(--font-head);
    font-size: .93rem;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out),
        background .3s var(--ease-out), color .3s var(--ease-out),
        border-color .3s var(--ease-out);
}

.partner-more:hover {
    background: var(--grad-red);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -14px rgba(163, 18, 31, .55);
}

.partner-more:focus-visible {
    outline: 3px solid rgba(200, 32, 47, .35);
    outline-offset: 3px;
}

.partner-more__count {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red-deep);
    font-size: .76rem;
    font-weight: 800;
    transition: background .3s var(--ease-out), color .3s var(--ease-out);
}

.partner-more:hover .partner-more__count {
    background: rgba(255, 255, 255, .28);
    color: #fff;
}

.partner-more .icon {
    width: 16px;
    height: 16px;
    transition: transform .3s var(--ease-out);
}

.partner-more[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.partner-more.is-hidden {
    display: none;
}

/* =============================================
   Brand cards – filterable grid
   ============================================= */
.partner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;          /* equal-height rows */
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 600px) {
    .partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 960px) {
    .partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;   /* header top · footer pinned to bottom */
    height: 100%;
    padding: 22px 22px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
        border-color .35s var(--ease-out);
}

/* thin brand-red accent line that sweeps in on hover */
.partner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-red);
    opacity: 0;
    transform: scaleX(.4);
    transform-origin: left center;
    transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
    z-index: 1;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 32, 47, .35);
    box-shadow: var(--shadow-card-hover);
}

.partner-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.partner-card.is-hidden {
    display: none;
}

/* ---- Card header: circular logo + name (left) · category pill (top-right) ---- */
.partner-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    row-gap: 10px;
    min-width: 0;
}

.partner-logo {
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: grid;
    place-items: center;
    padding: 8px;                    /* breathing room so logos never look cropped */
    overflow: hidden;
    box-shadow: 0 4px 12px -6px rgba(16, 16, 20, .35), inset 0 0 0 1px rgba(255, 255, 255, .7);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.partner-card:hover .partner-logo {
    transform: scale(1.06);
    box-shadow: 0 8px 20px -8px rgba(16, 16, 20, .45), inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;             /* never zoomed-in or clipped */
    object-position: center;
    display: block;
}

.partner-name {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.015em;
    color: var(--ink, #101014);
    overflow-wrap: break-word;
}

/* Category pill – always docked to the top-right of the header row */
.partner-card .ptag {
    flex: none;
    margin-left: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid transparent;
    pointer-events: none;
}

.ptag--restaurant {
    background: #fdecec;
    border-color: rgba(200, 32, 47, .22);
    color: #A3121F;
}

.ptag--cafe {
    background: #fbf3e2;
    border-color: rgba(192, 128, 48, .28);
    color: #7A4A12;
}

.ptag--hotel {
    background: #eceffb;
    border-color: rgba(51, 71, 126, .22);
    color: #21305C;
}

/* ---- Card footer: city location pills, pinned bottom-left ---- */
.partner-footer {
    margin-top: auto;                /* pinned to the bottom of every card */
    padding-top: 18px;
}

.partner-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding-top: 14px;
    border-top: 1px solid #eef0f2;
}

.pcity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.15;
    color: #4b5563;
    white-space: nowrap;
    transition: background .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out);
}

.pcity::before {
    content: "";
    width: 11px;
    height: 11px;
    flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: .85;
}

.partner-card:hover .pcity {
    background: #eef0f3;
    border-color: #dcdfe4;
    color: #374151;
}

@media (max-width: 639px) {
    .partner-card {
        padding: 18px 18px 16px;
        border-radius: 16px;
    }

    .partner-name {
        font-size: .98rem;
    }

    .partner-card .ptag {
        font-size: .56rem;
        padding: 4px 9px;
    }
}

/* Entry animation for cards revealed by filtering / Show More */
@keyframes partnerIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.96);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.partner-note {
    margin: clamp(26px, 4vw, 38px) 0 0;
    text-align: center;
    color: #5C5C5C;
    font-size: .97rem;
}

.partner-note a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--red);
    border-bottom: 1px solid rgba(200, 32, 47, .3);
    transition: gap .3s var(--ease-out), border-color .3s;
}

.partner-note a:hover {
    gap: 11px;
    border-color: var(--red);
}

.partner-note .icon {
    width: 17px;
    height: 17px;
}

/* ---------- 19.7 Reviews, CTA, footer polish ---------- */
.slide-content {
    border-radius: 18px;
    border: 1px solid rgba(24, 16, 18, .07);
    box-shadow: var(--shadow-card);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.review-slide:hover .slide-content {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.reviewer-name {
    letter-spacing: -.01em;
}

.review-text {
    color: #4E4E4E;
}

.carousel-btn {
    border-radius: 50%;
    transition: background .3s, color .3s, transform .3s var(--ease-out), border-color .3s;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.cta-band {
    background:
        radial-gradient(700px 300px at 15% 120%, rgba(255, 255, 255, .16), transparent 70%),
        var(--grad-red);
    border-radius: 28px;
}

.cta-band h2 {
    letter-spacing: -.03em;
}

.cta-band .btn-white {
    box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .6);
}

.cta-band .btn-white:hover {
    transform: translateY(-2px);
}

.site-footer {
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(200, 32, 47, .18), transparent 70%),
        #101012;
}

.footer-links a,
.footer-contact a {
    position: relative;
}

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

.footer-credit .name {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    transition: border-color .3s, color .3s;
}

.footer-credit:hover .name {
    color: #ff8a95;
    border-color: #ff8a95;
}

.to-top {
    border-radius: 50%;
    box-shadow: 0 14px 30px -14px rgba(163, 18, 31, .9);
}

/* ---------- 19.8 Reveal motion ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(3px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal {
        filter: none;
    }

    .hero-badge,
    .partner-track {
        animation: none !important;
    }

    .partner-card {
        animation: none;
    }
}

/* ---------------------------------------------
   Marquee crests (logo band above the grid)
   --------------------------------------------- */
/* marquee: show the crests in colour, they read better than grey discs */
.pm-item {
    min-width: 128px;
    opacity: .86;
    filter: none;
    transition: opacity .35s, transform .35s var(--ease-out);
}

.pm-item:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
}

.pm-item img.plogo--real {
    width: 74px;
    height: 74px;
    max-width: 74px;
    border-radius: 50%;
    box-shadow: 0 6px 16px -8px rgba(24, 16, 18, .4);
    transition: box-shadow .35s;
}

.pm-item:hover img.plogo--real {
    box-shadow: 0 12px 24px -10px rgba(24, 16, 18, .5);
}

@media (max-width: 639px) {
    .pm-item {
        min-width: 96px;
    }

    .pm-item img.plogo--real {
        width: 58px;
        height: 58px;
        max-width: 58px;
    }
}

/* ---------------------------------------------
   23. Stats strip as one unified band
   --------------------------------------------- */
.partner-stats {
    gap: 10px;
}

.partner-stats li {
    position: relative;
    overflow: hidden;
    padding: 20px 22px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #FCFAF9);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.partner-stats li::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--grad-red);
    opacity: .85;
}

.partner-stats li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.partner-stats strong {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-variant-numeric: tabular-nums;
}

.partner-stats span {
    text-transform: none;
}

@media (min-width: 900px) {
    .partner-stats {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(24, 16, 18, .08);
        border-radius: 20px;
        background: linear-gradient(180deg, #fff, #FCFAF9);
        box-shadow: var(--shadow-card);
        overflow: hidden;
    }

    .partner-stats li {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 24px 26px;
    }

    .partner-stats li + li {
        border-left: 1px solid rgba(24, 16, 18, .07);
    }

    .partner-stats li::before {
        inset: 0 0 auto 0;
        width: auto;
        height: 2px;
        opacity: 0;
        transition: opacity .35s;
    }

    .partner-stats li:hover {
        transform: none;
        box-shadow: none;
        background: rgba(200, 32, 47, .025);
    }

    .partner-stats li:hover::before {
        opacity: 1;
    }
}
