/* ==========================================================================
   Businesses Mart — Main Stylesheet
   Design language adapted from the Archi "cleaning service" demo (Inter /
   Roboto, light header, full-height hero, flush coloured feature boxes,
   square corners, light parallax panels, fadeInUp reveals) and re-coloured
   with the Businesses Mart logo palette.

   Table of contents
   01. Design tokens
   02. Base & typography
   03. Layout helpers
   04. Buttons & badges
   06. Header & call box
   07. Logo element graphics (cart, awning, bars, arrow, speed lines)
   08. Hero & sub-header
   09. Feature boxes, counter intro, icon boxes, category mosaic, listing filter, hours
   10. About / split blocks
   11. Category cards
   12. Listing cards
   13. Light parallax panels & CTA
   15. RSS feed (list view)
   16. Testimonials (selector + quote stage)
   17. FAQ accordion
   18. Single listing
   19. Sidebar & widgets
   20. Blog
   21. Forms & contact
   22. Search
   23. Sitemap & policy
   24. 404 page
   25. Footer
   26. Utilities: reveal, back-to-top, lightbox
   27. Responsive
   ========================================================================== */


/* ==========================================================================
   01. Design tokens
   ========================================================================== */
:root {
    --red: #eb0e11;
    --red-dark: #c40b0e;
    --blue: #0160ab;
    --blue-dark: #014a85;
    --gray: #595757;
    --dark: #111111;
    --dark-2: #1b1b1b;
    --heading: #222222;
    --text: #606060;
    --muted: #8a8a8a;
    --line: #e7e7e7;
    --light: #f6f7f9;
    --white: #ffffff;

    --font-heading: "Inter", Helvetica, Arial, sans-serif;
    --font-body: "Inter", Helvetica, Arial, sans-serif;
    --font-nav: "Roboto", Arial, Helvetica, sans-serif;

    --radius: 0;
    --radius-lg: 0;
    --shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
    --shadow-lg: 0 20px 50px rgba(17, 17, 17, 0.15);
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --section-space: 90px;
    --header-height: 84px;
}


/* ==========================================================================
   02. Base & typography
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--heading);
}

h1 {
    font-size: 60px;
    letter-spacing: -2px;
}

h2 {
    font-size: 32px;
    letter-spacing: -1.15px;
}

h3 {
    font-size: 22px;
    letter-spacing: -0.4px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

p {
    margin: 0 0 18px;
}

a {
    color: var(--red);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

a:hover {
    color: var(--blue);
}

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

ul {
    margin: 0;
    padding: 0;
}

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

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 15px;
    z-index: 2000;
    padding: 10px 18px;
    color: var(--white);
    background-color: var(--blue);
}

.skip-link:focus {
    top: 10px;
    color: var(--white);
}


/* ==========================================================================
   03. Layout helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    position: relative;
    padding: var(--section-space) 0;
    /* Clip decorative swooshes without breaking sticky sidebars */
    overflow-x: clip;
}

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

.section--dark {
    color: rgba(255, 255, 255, 0.75);
    background-color: var(--dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

.section--no-top {
    padding-top: 0;
}

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

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

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

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

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

.with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 50px;
    align-items: start;
}

.with-sidebar--left {
    grid-template-columns: 300px minmax(0, 1fr);
}

/* Section heading: small label with speed lines + Inter title */
.section-head {
    max-width: 720px;
    margin-bottom: 50px;
}

.section-head--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-head--center .eyebrow {
    justify-content: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
}

.section-title span {
    color: var(--blue);
}

.section--dark .section-title span {
    color: var(--red);
}

.lead {
    font-size: 18px;
}


/* ==========================================================================
   04. Buttons & badges
   ========================================================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background-color: var(--red);
    border: 2px solid var(--red);
    border-radius: var(--radius);
    cursor: pointer;
    transition: color 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease);
    z-index: -1;
}

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

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn .btn__arrow {
    transition: transform 0.35s var(--ease);
}

.btn:hover .btn__arrow {
    transform: translateX(5px);
}

.btn--blue {
    background-color: var(--blue);
    border-color: var(--blue);
}

.btn--blue::before {
    background-color: var(--red);
}

.btn--blue:hover {
    border-color: var(--red);
}

.btn--line {
    color: var(--white);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--line-dark {
    color: var(--heading);
    background-color: transparent;
    border-color: var(--heading);
}

.btn--line-dark:hover {
    color: var(--white);
}

.btn--white {
    color: var(--red);
    background-color: var(--white);
    border-color: var(--white);
}

.btn--white::before {
    background-color: var(--dark);
}

.btn--white:hover {
    border-color: var(--dark);
}

.btn--sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Cart-wheel button: two wheels spin on hover (logo element) */
.btn--cart .btn__wheels {
    display: inline-flex;
    gap: 3px;
}

.btn--cart .btn__wheels i {
    display: block;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
}

.btn--cart:hover .btn__wheels i {
    animation: wheel-spin 0.6s linear infinite;
}

.link-more {
    display: inline-flex;
    flex-shrink: 0;
    white-space: nowrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--heading);
}

.link-more::after {
    content: "";
    width: 18px;
    height: 2px;
    background-color: var(--red);
    transition: width 0.35s var(--ease);
}

.link-more:hover::after {
    width: 34px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--blue);
    transition: background-color 0.3s var(--ease);
}

a.badge:hover {
    color: var(--white);
    background-color: var(--red);
}

.badge--red {
    background-color: var(--red);
}

.badge--claimed {
    color: #1b7a35;
    background-color: #e3f5e8;
}


/* ==========================================================================
   06. Header (light, Archi cleaning-service style)
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 900;
    background-color: var(--white);
    transition: box-shadow 0.35s var(--ease);
}

.header.is-scrolled {
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: var(--header-height);
    transition: min-height 0.35s var(--ease);
}

.header.is-scrolled .header__inner {
    min-height: 70px;
}

/* --------------------------------------------------------------------------
   Animated logo
   The original logo is split into transparent layers of the same size.
   Stacked, they rebuild it exactly; each layer animates independently.
   Transform origins are percentages of the full logo canvas.
   -------------------------------------------------------------------------- */
.logo {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 190px;
    overflow: hidden;
}

.logo__stage {
    position: relative;
    display: block;
    aspect-ratio: 3 / 1;
}

.logo__layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Shine sweep across the whole logo */
.logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

/* Entrance: plays on load (header) or when scrolled into view (footer) */
.logo--play .logo__layer--cart,
.logo.is-visible .logo__layer--cart {
    animation: logo-cart-in 0.9s var(--ease) both;
}

.logo--play .logo__layer--wheels,
.logo.is-visible .logo__layer--wheels {
    animation: logo-cart-in 0.9s var(--ease) both, logo-wheel-hop 0.5s 0.9s ease-out, logo-wheel-hop 0.5s 6s ease-out infinite;
}

.logo--play .logo__layer--awning,
.logo.is-visible .logo__layer--awning {
    transform-origin: 23% 19%;
    animation: logo-awning-drop 0.6s 0.7s var(--ease) both, logo-awning-swing 4s 1.4s ease-in-out infinite;
}

.logo--play .logo__layer--bars,
.logo.is-visible .logo__layer--bars {
    transform-origin: 22% 66%;
    animation: logo-bars-grow 0.6s 1s var(--ease) both;
}

.logo--play .logo__layer--arrow,
.logo.is-visible .logo__layer--arrow {
    animation: logo-arrow-draw 0.7s 1.3s var(--ease) both;
}

.logo--play .logo__layer--swoosh,
.logo.is-visible .logo__layer--swoosh {
    animation: logo-swoosh-draw 0.8s 1.6s var(--ease) both;
}

.logo--play .logo__layer--divider,
.logo.is-visible .logo__layer--divider {
    transform-origin: 37.6% 54%;
    animation: logo-divider-grow 0.5s 0.6s var(--ease) both;
}

.logo--play .logo__layer--word,
.logo.is-visible .logo__layer--word {
    animation: logo-word-in 0.8s 0.9s var(--ease) both;
}

.logo--play .logo__layer--pill,
.logo.is-visible .logo__layer--pill {
    animation: logo-pill-in 0.7s 1.2s var(--ease) both;
}

.logo--play .logo__layer--lines,
.logo.is-visible .logo__layer--lines {
    transform-origin: 78% 71%;
    animation: logo-lines-in 0.6s 1.6s var(--ease) both, logo-lines-race 2.4s 2.4s ease-in-out infinite;
}

.logo--play::after,
.logo.is-visible::after {
    animation: logo-shine 1.2s 2.3s var(--ease), logo-shine-loop 8s 5s var(--ease) infinite;
}

/* Hover: wheels hop, speed lines race, shine sweeps */
.logo:hover .logo__layer--wheels {
    animation: logo-wheel-hop 0.45s ease-out infinite;
}

.logo:hover .logo__layer--lines {
    animation: logo-lines-race 0.6s ease-in-out infinite;
}

.logo:hover::after {
    animation: logo-shine 0.9s var(--ease);
}

.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav__list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav__link {
    position: relative;
    display: block;
    padding: 10px 0;
    font-family: var(--font-nav);
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}

.nav__link::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--red);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background-color: var(--red);
    border: 0;
    cursor: pointer;
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--white);
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Call box (Archi "Call Us" block, used for the listing CTA) */
.call-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--heading);
}

.call-box__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    background-color: var(--blue);
    transition: background-color 0.35s var(--ease), transform 0.5s var(--ease);
}

.call-box__icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.call-box__text small {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    color: var(--muted);
}

.call-box__text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.call-box:hover {
    color: var(--red);
}

.call-box:hover .call-box__icon {
    background-color: var(--red);
    transform: rotate(-12deg);
}


/* ==========================================================================
   07. Logo element graphics
   Shapes redrawn from the logo: shopping cart, striped awning,
   growth bars, rising arrow, swoosh arc and speed lines.
   ========================================================================== */
.speed-lines {
    display: inline-grid;
    gap: 3px;
}

.speed-lines i {
    display: block;
    height: 3px;
    background-color: var(--red);
    border-radius: 2px;
    transform: skewX(-25deg);
    transform-origin: right;
}

.speed-lines i:nth-child(1) {
    width: 26px;
}

.speed-lines i:nth-child(2) {
    width: 20px;
    margin-left: 6px;
}

.speed-lines i:nth-child(3) {
    width: 14px;
    margin-left: 12px;
}

.is-visible .speed-lines i,
.speed-lines.is-visible i {
    animation: speed-line-in 0.8s var(--ease) both;
}

.is-visible .speed-lines i:nth-child(2) {
    animation-delay: 0.1s;
}

.is-visible .speed-lines i:nth-child(3) {
    animation-delay: 0.2s;
}

/* Speed lines in section labels keep "racing" gently */
.eyebrow .speed-lines i {
    animation: speed-dash 1.8s ease-in-out infinite;
}

.eyebrow .speed-lines i:nth-child(2) {
    animation-delay: 0.15s;
}

.eyebrow .speed-lines i:nth-child(3) {
    animation-delay: 0.3s;
}

/* Scalloped red/white awning strip */
.awning {
    display: flex;
    height: 26px;
    overflow: hidden;
}

.awning i {
    flex: 1;
    background-color: var(--red);
    border-radius: 0 0 50% 50% / 0 0 70% 70%;
    transform-origin: top;
}

.awning i:nth-child(even) {
    background-color: #f2f2f2;
}

.awning--drop i {
    animation: awning-drop 0.6s var(--ease) both;
}

.awning--drop i:nth-child(2) {
    animation-delay: 0.08s;
}

.awning--drop i:nth-child(3) {
    animation-delay: 0.16s;
}

.awning--drop i:nth-child(4) {
    animation-delay: 0.24s;
}

.awning--drop i:nth-child(5) {
    animation-delay: 0.32s;
}

.awning--drop i:nth-child(6) {
    animation-delay: 0.4s;
}

/* Growth bars */
.growth-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 48px;
}

.growth-bars i {
    display: block;
    width: 12px;
    background-color: var(--gray);
    transform-origin: bottom;
    transform: scaleY(0);
}

.growth-bars i:nth-child(1) {
    height: 45%;
}

.growth-bars i:nth-child(2) {
    height: 70%;
}

.growth-bars i:nth-child(3) {
    height: 100%;
}

.is-visible .growth-bars i,
.growth-bars.is-visible i {
    animation: bar-grow 0.8s var(--ease) forwards;
}

.is-visible .growth-bars i:nth-child(2) {
    animation-delay: 0.15s;
}

.is-visible .growth-bars i:nth-child(3) {
    animation-delay: 0.3s;
}

/* Shopping cart from the original logo, built from stacked layers.
   Transform origins are percentages of the cart canvas. */
.cart-anim {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 345 / 320;
}

.cart-anim__layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.is-visible .cart-anim__layer--cart,
.is-visible .cart-anim__layer--wheels {
    animation: logo-cart-in 0.9s var(--ease) both;
}

.is-visible .cart-anim__layer--wheels {
    animation: logo-cart-in 0.9s var(--ease) both, logo-wheel-hop 0.5s 5s ease-out infinite;
}

.is-visible .cart-anim__layer--awning {
    transform-origin: 59% 17%;
    animation: logo-awning-drop 0.6s 0.6s var(--ease) both, logo-awning-swing 4s 1.3s ease-in-out infinite;
}

.is-visible .cart-anim__layer--bars {
    transform-origin: 56% 70%;
    animation: logo-bars-grow 0.6s 0.9s var(--ease) both;
}

.is-visible .cart-anim__layer--arrow {
    animation: cart-arrow-draw 0.7s 1.2s var(--ease) both;
}

.is-visible .cart-anim__layer--swoosh {
    animation: cart-swoosh-draw 0.8s 1.5s var(--ease) both;
}

/* Swoosh arc decoration (logo red arc) */
.swoosh {
    position: absolute;
    border: 10px solid transparent;
    border-top-color: var(--red);
    border-right-color: var(--red);
    border-radius: 50%;
    opacity: 0.18;
    pointer-events: none;
    animation: swoosh-turn 18s linear infinite;
}

.swoosh--blue {
    border-top-color: var(--blue);
    border-right-color: transparent;
    border-left-color: var(--blue);
    animation-direction: reverse;
}


/* ==========================================================================
   08. Hero & sub-header
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: 90px 0 160px;
    overflow: hidden;
    background-color: var(--light);
}

.parallax-media {
    position: absolute;
    inset: -12% 0;
    z-index: 0;
    will-change: transform;
}

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

/* Image stays clear on the left and fades to white behind the text */
.hero__fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.88) 52%, #ffffff 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero__content {
    grid-column: 2;
}

.hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
}

.hero__text {
    max-width: 560px;
    font-size: 17px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: #ffb400;
    letter-spacing: 2px;
}

/* Search panel */
.search-panel {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 8px;
    max-width: 640px;
    margin-top: 30px;
    padding: 8px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
}

.search-panel--center {
    margin: 30px auto 0;
}

.search-panel input,
.search-panel select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    color: var(--heading);
    background-color: var(--light);
    border: 1px solid transparent;
    transition: border-color 0.3s var(--ease);
}

.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--blue);
    outline: none;
}

/* Hero slider (single listing) */
.slider {
    position: relative;
    height: 70vh;
    min-height: 460px;
    overflow: hidden;
    background-color: var(--dark);
}

.slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}

.slider__slide.is-active {
    opacity: 1;
}

.slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 7s linear;
}

.slider__slide.is-active img {
    transform: scale(1);
}

.slider__slide--logo {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--light), #dfe9f4);
}

.slider__slide--logo img {
    width: auto;
    max-width: 60%;
    height: auto;
    max-height: 55%;
    padding: 30px;
    object-fit: contain;
    background-color: var(--white);
}

.slider .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(10, 18, 30, 0.75) 0%, rgba(10, 18, 30, 0) 60%);
}

.slider__caption {
    position: absolute;
    bottom: 140px;
    left: 0;
    right: 0;
    z-index: 2;
}

.slider__caption h2 {
    font-size: 44px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.slider__dots {
    position: absolute;
    right: 30px;
    bottom: 140px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.slider__dots button {
    width: 30px;
    height: 4px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.4);
    border: 0;
    cursor: pointer;
    transition: background-color 0.3s var(--ease), width 0.3s var(--ease);
}

.slider__dots button.is-active {
    width: 50px;
    background-color: var(--red);
}

/* Sub-header (inner pages, light parallax) */
.subheader {
    position: relative;
    padding: 100px 0 90px;
    overflow: hidden;
    background-color: var(--light);
}

.subheader .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 45%, rgba(255, 255, 255, 0.35) 100%);
}

.subheader .container {
    position: relative;
    z-index: 2;
}

.subheader h1 {
    max-width: 760px;
    margin-bottom: 10px;
    font-size: 48px;
}

.subheader p {
    max-width: 620px;
}

.subheader .swoosh {
    width: 380px;
    aspect-ratio: 1;
    right: -120px;
    bottom: -220px;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--red);
}

.breadcrumb a {
    font-weight: 600;
    color: var(--heading);
}

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


/* ==========================================================================
   09. Feature boxes (flush coloured boxes overlapping the hero)
   ========================================================================== */
.features {
    position: relative;
    z-index: 5;
    margin-top: -70px;
    padding-bottom: var(--section-space);
}

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

.feature {
    position: relative;
    padding: 30px;
    overflow: hidden;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.45s var(--ease);
}

.feature--blue {
    background-color: var(--blue);
}

.feature--red {
    background-color: var(--red);
}

.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.7s var(--ease);
}

.feature:hover {
    transform: translateY(-8px);
}

.feature:hover::before {
    transform: translateX(0);
}

.feature h3 {
    margin-bottom: 18px;
    font-size: 18px;
    color: var(--white);
}

.feature__icon {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    color: var(--white);
    transition: transform 0.6s var(--ease);
}

.feature__icon svg {
    width: 46px;
    height: 46px;
    fill: currentColor;
}

.feature:hover .feature__icon {
    transform: rotateY(180deg);
}

.feature p {
    margin: 0;
}

/* Big counter intro row */
.intro-count {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.intro-count__num strong {
    display: block;
    font-size: 180px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -10px;
    color: var(--heading);
}

.intro-count__num span {
    display: inline-block;
    padding: 5px 10px;
    font-weight: 700;
    color: var(--heading);
}

.intro-count__title {
    margin: 0;
    font-size: 30px;
}

.intro-count__title span {
    color: var(--blue);
}

/* Square icon boxes */
.box-number {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.box-number__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    color: var(--white);
    background-color: var(--red);
    transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.box-number__icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.box-number:hover .box-number__icon {
    background-color: var(--blue);
    transform: translateY(-6px);
}

.box-number h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.box-number p {
    margin: 0;
}

/* Section heading row: title left, button right */
.section-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 45px;
}

.section-row .section-head {
    margin-bottom: 0;
}

.swoosh--section {
    width: 460px;
    aspect-ratio: 1;
    top: -180px;
    right: -160px;
    opacity: 0.1;
}

/* Top categories mosaic */
.cat-mosaic {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 20px;
}

.cat-mosaic__tile {
    position: relative;
    display: block;
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.cat-mosaic__tile--feature {
    grid-column: span 2;
    grid-row: span 2;
}

.cat-mosaic__tile--wide {
    grid-column: span 2;
}

.cat-mosaic__tile > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
    z-index: -2;
}

.cat-mosaic__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.05) 25%, rgba(17, 17, 17, 0.85) 100%);
    transition: background-color 0.5s var(--ease);
}

.cat-mosaic__tile:hover {
    color: var(--white);
}

.cat-mosaic__tile:hover > img {
    transform: scale(1.1);
}

.cat-mosaic__tile:hover::after {
    background-color: rgba(1, 96, 171, 0.35);
}

.cat-mosaic__num {
    position: absolute;
    top: 22px;
    left: 25px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
}

.cat-mosaic__body {
    position: absolute;
    left: 25px;
    right: 80px;
    bottom: 24px;
}

.cat-mosaic__count {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: var(--red);
}

.cat-mosaic__name {
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.cat-mosaic__tile--feature .cat-mosaic__name {
    font-size: 32px;
    letter-spacing: -1px;
}

.cat-mosaic__text {
    display: block;
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    opacity: 0;
    transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease);
}

.cat-mosaic__tile--feature .cat-mosaic__text,
.cat-mosaic__tile:hover .cat-mosaic__text {
    max-height: 90px;
    margin-top: 6px;
    opacity: 1;
}

.cat-mosaic__arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.18);
    transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.cat-mosaic__arrow svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
    transform: rotate(-45deg);
    transition: transform 0.4s var(--ease);
}

.cat-mosaic__tile:hover .cat-mosaic__arrow {
    background-color: var(--red);
}

.cat-mosaic__tile:hover .cat-mosaic__arrow svg {
    transform: rotate(0deg);
}

/* Featured listings: filter tabs + cards */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.filter-tabs__btn {
    position: relative;
    padding: 10px 20px;
    overflow: hidden;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
    background-color: var(--light);
    border: 0;
    cursor: pointer;
    transition: color 0.35s var(--ease);
    z-index: 1;
}

.filter-tabs__btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--blue);
    transform: translateY(101%);
    transition: transform 0.4s var(--ease);
}

.filter-tabs__btn:hover,
.filter-tabs__btn.is-active {
    color: var(--white);
}

.filter-tabs__btn:hover::before,
.filter-tabs__btn.is-active::before {
    transform: translateY(0);
}

.filter-tabs__btn.is-active::before {
    background-color: var(--red);
}

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

.feat-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--white);
    border: 1px solid var(--line);
    transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

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

.feat-card.is-entering {
    animation: card-in 0.6s var(--ease) both;
}

.feat-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feat-card__shot {
    position: relative;
    padding: 22px 22px 0;
    background-color: var(--light);
}

/* Diagonal blue sweep behind the logo on hover */
.feat-card__body {
    display: flex;
    flex-direction: column;
    padding: 24px 26px;
}

.feat-card__cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue);
}

.feat-card h3 {
    margin: 6px 0 8px;
    font-size: 18px;
    line-height: 1.4;
}

.feat-card h3 a {
    color: var(--heading);
}

.feat-card h3 a:hover {
    color: var(--red);
}

.feat-card p {
    flex: 1;
    margin-bottom: 15px;
    font-size: 14px;
}

.feat-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}

.feat-card__biz {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
}

.feat-card__biz svg {
    width: 14px;
    height: 14px;
    fill: var(--red);
}

.feat-card__more {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--white);
    background-color: var(--blue);
    transition: background-color 0.35s var(--ease);
}

.feat-card__more svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.35s var(--ease);
}

.feat-card:hover .feat-card__more {
    color: var(--white);
    background-color: var(--red);
}

.feat-card:hover .feat-card__more svg {
    transform: translateX(3px);
}

/* Opening hours (single listing) */
.hours {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}

.hours__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
}

.hours__list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 22px;
    transition: background-color 0.3s var(--ease), padding 0.3s var(--ease);
}

.hours__list li + li {
    border-top: 1px solid var(--line);
}

.hours__list li:hover {
    padding-left: 30px;
    background-color: var(--light);
}

.hours__list strong {
    color: var(--heading);
}

.hours__list .is-closed strong {
    color: var(--red);
}

.hours__list .is-today {
    color: var(--white);
    background-color: var(--blue);
}

.hours__list .is-today strong,
.hours__list .is-today.is-closed strong {
    color: var(--white);
}

.hours__list .is-today:hover {
    background-color: var(--blue);
}

.hours__note {
    display: flex;
    gap: 18px;
    padding: 25px;
    background-color: var(--light);
    border-left: 4px solid var(--red);
}

.hours__note svg {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    fill: var(--blue);
    animation: clock-tick 4s steps(4) infinite;
}

.hours__note p {
    margin: 0;
}

.hours__status {
    display: block;
    margin-bottom: 4px;
    color: var(--heading);
}

.hours__status.is-open {
    color: #1b7a35;
}

.hours__status.is-closed {
    color: var(--red);
}

.share-links--mb {
    margin-bottom: 20px;
}

.search-empty--white {
    background-color: var(--white);
}


/* ==========================================================================
   10. About / split blocks
   ========================================================================== */
.media-frame {
    position: relative;
}

.media-frame__img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.media-frame__img img {
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.media-frame:hover .media-frame__img img {
    transform: scale(1.06);
}

.media-frame::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 55%;
    height: 60%;
    border: 6px solid var(--red);
    border-radius: var(--radius);
    z-index: -1;
}

.media-frame__badge {
    position: absolute;
    right: -25px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    color: var(--white);
    background-color: var(--blue);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.media-frame__badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1;
}

.media-frame__badge .growth-bars i {
    background-color: var(--white);
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 25px 0 30px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 32px;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 18px;
    height: 18px;
    background-color: var(--red);
    border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.8 17.4L5 12.2l1.7-1.7 3.5 3.5 7.2-7.2 1.7 1.7-8.9 8.9z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.8 17.4L5 12.2l1.7-1.7 3.5 3.5 7.2-7.2 1.7 1.7-8.9 8.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section--dark .check-list li {
    color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   11. Category cards
   ========================================================================== */
.cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    color: var(--white);
    border-radius: var(--radius);
    isolation: isolate;
}

.cat-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.cat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 35%, rgba(17, 17, 17, 0.88) 100%);
    transition: background-color 0.5s var(--ease);
}

.cat-card .awning {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
}

.cat-card__body {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 22px;
    z-index: 2;
}

.cat-card h3 {
    margin: 0;
    font-size: 20px;
    color: var(--white);
}

.cat-card__meta {
    display: block;
    max-height: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    opacity: 0;
    transition: max-height 0.45s var(--ease), opacity 0.45s var(--ease), margin 0.45s var(--ease);
}

.cat-card:hover {
    color: var(--white);
}

.cat-card:hover img {
    transform: scale(1.1) rotate(1deg);
}

.cat-card:hover .awning {
    transform: translateY(0);
}

.cat-card:hover .cat-card__meta {
    max-height: 30px;
    margin-top: 6px;
    opacity: 1;
}

/* Compact tile used for long category lists */
.cat-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    color: var(--heading);
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cat-tile img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.5s var(--ease);
}

.cat-tile span {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.cat-tile::after {
    content: "\2192";
    margin-left: auto;
    padding-right: 6px;
    color: var(--red);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cat-tile:hover {
    color: var(--red);
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.cat-tile:hover img {
    transform: scale(1.08);
}

.cat-tile:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.cat-group + .cat-group {
    margin-top: 70px;
}

.cat-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.cat-group__head h2 {
    margin: 0;
    font-size: 28px;
}

.cat-group__count {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}


/* ==========================================================================
   12. Listing cards
   ========================================================================== */
.listing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.listing-card__media {
    position: relative;
    padding: 52px 18px 18px;
    background-color: var(--light);
    border-bottom: 1px solid var(--line);
}

.listing-card__media .badge {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 3;
}

.listing-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px;
}

.listing-card h3 {
    font-size: 18px;
    line-height: 1.4;
}

.listing-card h3 a {
    color: var(--heading);
}

.listing-card h3 a:hover {
    color: var(--red);
}

.listing-card p {
    flex: 1;
    font-size: 15px;
}

.listing-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
}

/* Horizontal listing row (category single, search) */
.listing-row {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.listing-row + .listing-row {
    margin-top: 25px;
}

.listing-row:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.listing-row__media {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--light);
}

.listing-row__media::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background-color: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--ease);
}

.listing-row:hover .listing-row__media::after {
    transform: scaleY(1);
}

.listing-row__body {
    padding: 28px 30px;
}

.listing-row h3 {
    margin: 12px 0 10px;
    font-size: 20px;
}

.listing-row h3 a {
    color: var(--heading);
}

.listing-row h3 a:hover {
    color: var(--red);
}

.listing-row p {
    font-size: 15px;
}


/* ==========================================================================
   Browser frame: website screenshot with address / search bar
   ========================================================================== */
/* Let grid/flex parents shrink so long addresses truncate instead of overflowing */
.feat-card,
.listing-card,
.listing-row,
.feat-card__shot,
.listing-card__media,
.listing-row__media {
    min-width: 0;
}

.browser {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.1);
    transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    background-color: #eef1f5;
    border-bottom: 1px solid #dcdfe4;
}

/* Window dots use the logo colours */
.browser__dots {
    display: flex;
    flex-shrink: 0;
    gap: 5px;
}

.browser__dots i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--red);
}

.browser__dots i:nth-child(2) {
    background-color: #f2b705;
}

.browser__dots i:nth-child(3) {
    background-color: var(--blue);
}

.browser__address {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 24px;
    padding: 0 9px;
    font-size: 11px;
    line-height: 1;
    color: #555555;
    background-color: var(--white);
    border: 1px solid #dcdfe4;
    border-radius: 20px;
    transition: border-color 0.35s var(--ease);
}

.browser__url {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser__lock,
.browser__search {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
}

.browser__lock {
    fill: #1b7a35;
}

.browser__search {
    fill: var(--muted);
    transition: fill 0.35s var(--ease), transform 0.35s var(--ease);
}

/* Screen shows the top of the page; it scrolls down on hover */
.browser__screen {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--light);
}

.browser__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: object-position 2.4s ease-in-out, transform 0.8s var(--ease);
}

.listing-card:hover .browser,
.listing-row:hover .browser,
.feat-card:hover .browser {
    box-shadow: 0 14px 30px rgba(1, 96, 171, 0.22);
    transform: translateY(-3px);
}

.listing-card:hover .browser__address,
.listing-row:hover .browser__address,
.feat-card:hover .browser__address {
    border-color: var(--blue);
}

.listing-card:hover .browser__search,
.listing-row:hover .browser__search,
.feat-card:hover .browser__search {
    fill: var(--red);
    transform: scale(1.2);
}

.listing-card:hover .browser__screen img,
.listing-row:hover .browser__screen img,
.feat-card:hover .browser__screen img {
    object-position: bottom center;
}


/* ==========================================================================
   13. Parallax sections (light) & CTA
   ========================================================================== */
.parallax-section {
    position: relative;
    overflow: hidden;
    background-color: var(--light);
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

.parallax-section .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.88);
}

/* Red call-to-action band */
.cta-band {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    color: var(--white);
    background-color: var(--red);
}

.cta-band__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-band h2 {
    margin: 0;
    font-size: 30px;
    color: var(--white);
}

.cta-band__art {
    position: absolute;
    right: 18%;
    top: 50%;
    width: 180px;
    opacity: 0.12;
    transform: translateY(-50%);
    filter: brightness(0) invert(1);
}

.cta-band .speed-lines i {
    background-color: var(--white);
}


/* ==========================================================================
   15. RSS feed (list view)
   ========================================================================== */
.rss-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.rss-head .section-head {
    margin-bottom: 0;
}

.rss-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.rss-status::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--muted);
    border-radius: 50%;
}

.rss-status.is-live::before {
    background-color: #22b04b;
    animation: pulse-dot 1.6s ease-in-out infinite;
}

.rss-status.is-error::before {
    background-color: var(--red);
}

.rss-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.rss-item {
    position: relative;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 56px;
    gap: 30px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.4s var(--ease), padding 0.4s var(--ease);
}

/* Red bar grows from the left on hover */
.rss-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 2px;
    background-color: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.rss-item:hover {
    padding-right: 15px;
    padding-left: 15px;
    background-color: var(--light);
}

.rss-item:hover::before {
    transform: scaleX(1);
}

.rss-item__date {
    text-align: center;
    color: var(--white);
    background-color: var(--blue);
    transition: background-color 0.4s var(--ease);
}

.rss-item:hover .rss-item__date {
    background-color: var(--red);
}

.rss-item__date strong {
    display: block;
    padding-top: 8px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.rss-item__date span {
    display: block;
    padding: 4px 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rss-item__meta {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.rss-item h3 {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 1.4;
}

.rss-item h3 a {
    color: var(--heading);
}

.rss-item h3 a:hover {
    color: var(--red);
}

.rss-item p {
    margin: 0;
    font-size: 15px;
}

.rss-item__link {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--heading);
    border: 1px solid var(--line);
    transition: color 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.rss-item__link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transform: rotate(-45deg);
    transition: transform 0.35s var(--ease);
}

.rss-item:hover .rss-item__link {
    color: var(--white);
    background-color: var(--red);
    border-color: var(--red);
}

.rss-item:hover .rss-item__link svg {
    transform: rotate(0deg);
}

.rss-skeleton {
    height: 110px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, #eef0f3 25%, #f7f8fa 50%, #eef0f3 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}

.rss-skeleton + .rss-skeleton {
    margin-top: 10px;
}

.rss-error {
    padding: 40px;
    text-align: center;
    border: 1px dashed var(--red);
}

.rss-credit {
    margin-top: 25px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}


/* ==========================================================================
   16. Testimonials (selector list + quote stage)
   ========================================================================== */
.testi {
    overflow: hidden;
}

.testi__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.testi__score {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 25px 0 30px;
    padding: 20px 24px;
    background-color: var(--white);
    border-left: 4px solid var(--red);
}

.testi__score .growth-bars i:nth-child(2) {
    background-color: var(--blue);
}

.testi__score .growth-bars i:nth-child(3) {
    background-color: var(--red);
}

.testi__score strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: var(--heading);
}

.testi__score small {
    display: block;
    color: var(--muted);
}

.testi__people {
    display: grid;
    gap: 10px;
}

.testi-person {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 12px 16px;
    overflow: hidden;
    font: inherit;
    text-align: left;
    color: var(--heading);
    background-color: var(--white);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.testi-person:hover {
    transform: translateX(6px);
}

.testi-person.is-active {
    border-color: var(--blue);
}

.testi-person__avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    font-weight: 700;
    color: var(--white);
    background-color: var(--gray);
    border-radius: 50%;
    transition: background-color 0.35s var(--ease);
}

.testi-person.is-active .testi-person__avatar {
    background-color: var(--red);
}

.testi-person__name {
    font-weight: 700;
}

/* Progress bar showing time until the next quote */
.testi-person__bar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
}

.testi-person.is-active .testi-person__bar {
    animation: testi-progress 6.5s linear forwards;
}

.testi-stage {
    position: relative;
    min-height: 360px;
    padding: 60px 55px 50px;
    color: rgba(255, 255, 255, 0.9);
    background-color: var(--blue);
}

.testi-stage::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent 50%, var(--red) 50%);
}

.testi-stage__mark {
    position: absolute;
    top: 18px;
    right: 40px;
    font-size: 150px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.14);
}

.testi-stage .speed-lines i {
    background-color: var(--white);
}

.testi-stage__quote {
    position: absolute;
    left: 55px;
    right: 55px;
    top: 95px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(25px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s;
}

.testi-stage__quote.is-active {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    margin-top: 25px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testi-stage__quote p {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.3px;
    color: var(--white);
}

.testi-stage__quote cite {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
}


/* ==========================================================================
   17. FAQ accordion
   ========================================================================== */
.accordion {
    display: grid;
    gap: 12px;
}

.accordion__item {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.accordion__item.is-open {
    border-color: transparent;
    box-shadow: var(--shadow);
}

.accordion__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px 25px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: var(--heading);
    background: none;
    border: 0;
    cursor: pointer;
}

.accordion__icon {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: var(--light);
    border-radius: 50%;
    transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.accordion__icon::before,
.accordion__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: var(--heading);
    transform: translate(-50%, -50%);
    transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}

.accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__item.is-open .accordion__icon {
    background-color: var(--red);
    transform: rotate(180deg);
}

.accordion__item.is-open .accordion__icon::before,
.accordion__item.is-open .accordion__icon::after {
    background-color: var(--white);
}

.accordion__item.is-open .accordion__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease);
}

.accordion__item.is-open .accordion__panel {
    grid-template-rows: 1fr;
}

.accordion__content {
    overflow: hidden;
}

.accordion__content p {
    margin: 0;
    padding: 0 25px 22px;
}


/* ==========================================================================
   18. Single listing (numbered blocks, Archi single-property style)
   ========================================================================== */
.listing-info-box {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: center;
    gap: 30px;
    margin-top: -90px;
    padding: 35px 40px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.listing-info-box__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.listing-info-box h3 {
    margin: 4px 0 0;
    font-size: 18px;
}

.listing-info-box__actions {
    display: flex;
    gap: 10px;
}

.block {
    padding: 70px 0;
    border-bottom: 1px solid var(--line);
}

.block:last-child {
    border-bottom: 0;
}

.block__head {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

.block__num {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -3px;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--red);
}

.block__head h2 {
    margin: 0;
    font-size: 34px;
}

.block__head h2 span {
    display: block;
    color: var(--blue);
}

.block__body {
    padding-left: 130px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    background-color: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.spec {
    padding: 22px 20px;
    background-color: var(--white);
    transition: background-color 0.3s var(--ease);
}

.spec:hover {
    background-color: var(--light);
}

.spec span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.spec strong {
    display: block;
    margin-top: 6px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--heading);
    word-break: break-word;
}

.spec a {
    color: var(--blue);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.icon-box {
    padding: 30px 25px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.icon-box:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.icon-box__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    color: var(--red);
    background-color: #fdeaea;
    border-radius: 50%;
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.icon-box:hover .icon-box__icon {
    color: var(--white);
    background-color: var(--red);
}

.icon-box__icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.icon-box h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.icon-box p {
    margin: 0;
    font-size: 14px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: var(--light);
    border-radius: var(--radius);
}

.gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.gallery__item--contain img {
    padding: 30px;
    object-fit: contain;
}

.gallery__item::after {
    content: "View";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background-color: rgba(1, 96, 171, 0.82);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.gallery__item:hover::after {
    opacity: 1;
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.hours-note {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background-color: var(--light);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius);
}

.hours-note svg {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    fill: var(--blue);
}

.hours-note p {
    margin: 0;
}

.contact-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 35px;
    padding: 35px;
    background-color: var(--light);
    border-radius: var(--radius);
}

.contact-card__logo {
    display: grid;
    place-items: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--radius);
}

.contact-card__lines {
    display: grid;
    gap: 14px;
    margin: 18px 0 25px;
    list-style: none;
}

.contact-card__lines li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-card__lines svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 5px;
    fill: var(--red);
}

.contact-card__lines a {
    color: var(--heading);
    word-break: break-all;
}

.contact-card__lines a:hover {
    color: var(--red);
}

.map-frame {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(0.25);
}

.rating-summary {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

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

.rating-summary__score strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: 1;
    color: var(--heading);
}

.rating-bars {
    display: grid;
    gap: 8px;
    list-style: none;
}

.rating-bars li {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 40px;
    gap: 12px;
    align-items: center;
    font-size: 14px;
}

.rating-bars__track {
    height: 8px;
    background-color: var(--line);
    border-radius: 8px;
}

.rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-self: start;
    gap: 4px;
}

.rating-input input {
    position: absolute;
    opacity: 0;
}

.form .rating-input label {
    font-size: 28px;
    line-height: 1;
    color: #d6d6d6;
    cursor: pointer;
    transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.form .rating-input label:hover,
.form .rating-input label:hover ~ label,
.form .rating-input input:checked ~ label {
    color: #ffb400;
}

.form .rating-input label:hover {
    transform: scale(1.2);
}

.share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-links a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--heading);
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.share-links a:hover {
    color: var(--white);
    background-color: var(--red);
    transform: translateY(-3px);
}

.share-links svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


/* ==========================================================================
   19. Sidebar & widgets
   ========================================================================== */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    display: grid;
    gap: 30px;
}

.widget {
    padding: 30px;
    background-color: var(--light);
    border-radius: var(--radius);
}

.widget__title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-size: 18px;
}

.widget__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--red);
}

.widget-list {
    list-style: none;
}

.widget-list li + li {
    border-top: 1px solid var(--line);
}

.widget-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--heading);
    transition: color 0.3s var(--ease), padding 0.3s var(--ease);
}

.widget-list a:hover,
.widget-list a.is-active {
    padding-left: 8px;
    color: var(--red);
}

.widget-list small {
    color: var(--muted);
}

.widget--cta {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.85);
    background-color: var(--blue);
}

.widget--cta h3 {
    color: var(--white);
}

.widget--cta .awning {
    margin: -30px -30px 25px;
}

.widget-search {
    display: flex;
}

.widget-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 15px;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: var(--radius) 0 0 var(--radius);
}

.widget-search button {
    width: 52px;
    color: var(--white);
    background-color: var(--red);
    border: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: background-color 0.3s var(--ease);
}

.widget-search button:hover {
    background-color: var(--blue);
}

.widget-search svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

.tags a {
    padding: 5px 14px;
    font-size: 13px;
    color: var(--heading);
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: 30px;
    transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tags a:hover {
    color: var(--white);
    background-color: var(--red);
    border-color: var(--red);
}

.mini-post {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mini-post + .mini-post {
    margin-top: 18px;
}

.mini-post img {
    width: 74px;
    height: 74px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var(--radius);
}

.mini-post a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading);
}

.mini-post a:hover {
    color: var(--red);
}

.mini-post time {
    display: block;
    font-size: 12px;
    color: var(--muted);
}


/* ==========================================================================
   20. Blog
   ========================================================================== */
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.post-card__img {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.post-card__img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.post-card:hover .post-card__img img {
    transform: scale(1.08);
}

.post-card__date {
    position: absolute;
    left: 20px;
    bottom: 0;
    padding: 10px 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--white);
    background-color: var(--red);
}

.post-card__date strong {
    display: block;
    font-size: 22px;
}

.post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.post-card__cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
}

.post-card h3 {
    margin: 8px 0 12px;
    font-size: 20px;
}

.post-card h3 a {
    color: var(--heading);
}

.post-card h3 a:hover {
    color: var(--red);
}

.post-card p {
    flex: 1;
    font-size: 15px;
}

/* Featured post (blog listing lead) */
.post-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    margin-bottom: 60px;
    background-color: var(--dark);
    border-radius: var(--radius);
}

.post-feature__img {
    overflow: hidden;
}

.post-feature__img img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.post-feature:hover .post-feature__img img {
    transform: scale(1.05);
}

.post-feature__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    color: rgba(255, 255, 255, 0.75);
}

.post-feature__body h2 {
    font-size: 30px;
}

.post-feature__body h2 a {
    color: var(--white);
}

.post-feature__body h2 a:hover {
    color: var(--red);
}

/* Blog list rows (category page) */
.post-row {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--line);
}

.post-row + .post-row {
    margin-top: 35px;
}

.post-row__img {
    overflow: hidden;
    border-radius: var(--radius);
}

.post-row__img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.post-row:hover .post-row__img img {
    transform: scale(1.07);
}

.post-row h2 {
    margin: 8px 0 12px;
    font-size: 24px;
}

.post-row h2 a {
    color: var(--heading);
}

.post-row h2 a:hover {
    color: var(--red);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: var(--muted);
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-meta svg {
    width: 14px;
    height: 14px;
    fill: var(--red);
}

/* Article */
.article__img {
    margin-bottom: 35px;
    overflow: hidden;
    border-radius: var(--radius);
}

.article__img img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.article h2 {
    margin-top: 40px;
    font-size: 26px;
}

.article ul {
    margin: 0 0 22px;
    padding-left: 22px;
}

.article li {
    margin-bottom: 8px;
}

.article blockquote {
    position: relative;
    margin: 35px 0;
    padding: 30px 35px 30px 40px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--heading);
    background-color: var(--light);
    border-left: 4px solid var(--red);
}

.article__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.post-nav a {
    display: block;
    padding: 22px 25px;
    color: var(--heading);
    background-color: var(--light);
    border-radius: var(--radius);
    transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.post-nav a:hover {
    color: var(--white);
    background-color: var(--blue);
}

.post-nav small {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.post-nav strong {
    font-family: var(--font-heading);
    font-weight: 600;
}

.post-nav a:last-child {
    text-align: right;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    list-style: none;
}

.pagination a,
.pagination span {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-weight: 700;
    color: var(--heading);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pagination a:hover,
.pagination .is-current {
    color: var(--white);
    background-color: var(--red);
    border-color: var(--red);
}


/* ==========================================================================
   21. Forms & contact
   ========================================================================== */
.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form__field--full {
    grid-column: 1 / -1;
}

.form label,
.form__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 14px 16px;
    color: var(--heading);
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form textarea {
    min-height: 150px;
    resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(1, 96, 171, 0.1);
}

.form .is-invalid {
    border-color: var(--red);
}

.form__msg {
    grid-column: 1 / -1;
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius);
}

.form__msg.is-success {
    display: block;
    color: #1b7a35;
    background-color: #e3f5e8;
}

.form__msg.is-error {
    display: block;
    color: var(--red-dark);
    background-color: #fdeaea;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-info__item {
    display: flex;
    gap: 18px;
    padding: 25px;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact-info__item:hover {
    box-shadow: var(--shadow);
    transform: translateX(6px);
}

.contact-info__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    color: var(--white);
    background-color: var(--red);
    border-radius: var(--radius);
}

.contact-info__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-info__item h3 {
    margin: 0 0 4px;
    font-size: 17px;
}

.contact-info__item p {
    margin: 0;
    font-size: 15px;
}

.form-panel {
    padding: 45px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 35px 30px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--red);
}


/* ==========================================================================
   22. Search
   ========================================================================== */
.search-bar {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 12px;
    padding: 25px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.search-bar input,
.search-bar select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    background-color: var(--light);
    border: 1px solid transparent;
    border-radius: var(--radius);
}

.search-bar input:focus,
.search-bar select:focus {
    border-color: var(--blue);
    outline: none;
}

.search-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 45px 0 25px;
}

.search-summary strong {
    color: var(--red);
}

.search-empty {
    padding: 60px 30px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.search-empty .cart-anim {
    max-width: 150px;
    margin: 0 auto 20px;
}


/* ==========================================================================
   23. Sitemap & policy
   ========================================================================== */
.sitemap-col {
    padding: 35px;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--red);
    border-radius: var(--radius);
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.sitemap-col:nth-child(even) {
    border-top-color: var(--blue);
}

.sitemap-col:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.sitemap-col h2 {
    font-size: 22px;
}

.sitemap-list {
    columns: 1;
    list-style: none;
}

.sitemap-list--2 {
    columns: 2;
    column-gap: 25px;
}

.sitemap-list--3 {
    columns: 3;
    column-gap: 25px;
}

.sitemap-list li {
    break-inside: avoid;
}

.sitemap-list a {
    display: inline-block;
    padding: 5px 0;
    font-size: 15px;
    color: var(--text);
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.sitemap-list a::before {
    content: "\203A";
    margin-right: 8px;
    color: var(--red);
}

.sitemap-list a:hover {
    color: var(--red);
    transform: translateX(5px);
}

.policy-toc {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.policy-toc a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: var(--heading);
}

.policy-toc a::before {
    counter-increment: toc;
    content: counter(toc, decimal-leading-zero) ".";
    margin-right: 10px;
    font-weight: 700;
    color: var(--red);
}

.policy-toc a:hover,
.policy-toc a.is-active {
    color: var(--red);
}

.policy section {
    scroll-margin-top: calc(var(--header-height) + 30px);
}

.policy section + section {
    margin-top: 45px;
}

.policy h2 {
    font-size: 26px;
}

.policy ul {
    margin: 0 0 20px;
    padding-left: 22px;
}

.policy li {
    margin-bottom: 8px;
}


/* ==========================================================================
   24. 404 page — built from logo elements
   ========================================================================== */
.error-page {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 126px);
    padding: 80px 0;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, var(--light) 70%);
}

.error-page .swoosh {
    width: 520px;
    aspect-ratio: 1;
}

.error-page .swoosh:first-of-type {
    top: -200px;
    left: -160px;
}

.error-page .swoosh--blue {
    right: -180px;
    bottom: -240px;
}

.error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 180px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -8px;
}

.error-code__four {
    color: var(--red);
    animation: four-bounce 2.4s ease-in-out infinite;
}

.error-code__four:last-child {
    color: var(--blue);
    animation-delay: 0.3s;
}

.error-code__wheel {
    position: relative;
    width: 140px;
    height: 140px;
    border: 26px solid var(--blue);
    border-radius: 50%;
    animation: wheel-spin 3s linear infinite;
}

.error-code__wheel::before,
.error-code__wheel::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 8px;
    background-color: var(--red);
    border-radius: 4px;
    transform: translate(-50%, -50%);
}

.error-code__wheel::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.error-scene {
    position: relative;
    width: min(560px, 100%);
    height: 170px;
    margin: 10px auto 30px;
}

.error-scene__road {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--gray) 0 30px, transparent 30px 50px);
    border-radius: 4px;
}

.error-scene__cart {
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 150px;
    animation: cart-roll 6s ease-in-out infinite;
}

.error-scene__cart .speed-lines {
    position: absolute;
    top: 45%;
    left: -40px;
}

.error-scene__cart .speed-lines i {
    animation: speed-line 0.9s ease-out infinite;
}

.error-scene__bars {
    position: absolute;
    right: 20px;
    bottom: 14px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.error-scene__bars i {
    display: block;
    width: 22px;
    background-color: var(--gray);
    transform-origin: bottom;
    animation: bar-wobble 2.4s ease-in-out infinite;
}

.error-scene__bars i:nth-child(1) {
    height: 70px;
}

.error-scene__bars i:nth-child(2) {
    height: 45px;
    animation-delay: 0.2s;
    transform: rotate(-12deg);
}

.error-scene__bars i:nth-child(3) {
    height: 25px;
    animation-delay: 0.4s;
}

.error-page h1 {
    font-size: 40px;
}

.error-page p {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.error-awning {
    width: 320px;
    margin: 0 auto 30px;
}

.error-awning i {
    animation: awning-swing 2.5s ease-in-out infinite;
}

.error-awning i:nth-child(odd) {
    animation-delay: 0.2s;
}


/* ==========================================================================
   25. Footer (light, with grey sub-footer)
   ========================================================================== */
.footer {
    position: relative;
    overflow: hidden;
    font-size: 15px;
    color: var(--text);
    background-color: var(--white);
    border-top: 1px solid var(--line);
}

.footer .awning {
    height: 18px;
}

.footer__main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 45px;
    padding: 80px 0 60px;
}

.footer__logo {
    width: 220px;
    margin-bottom: 22px;
}

/* Running cart along the top of the footer */
.footer__road {
    position: relative;
    height: 74px;
    margin-top: 10px;
    overflow: hidden;
}

.footer__road::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--line) 0 34px, transparent 34px 56px);
}

.footer__cart {
    position: absolute;
    left: 0;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: footer-cart-run 14s linear infinite;
}

.footer__cart img {
    width: 64px;
    animation: footer-cart-bump 0.5s ease-in-out infinite;
}

.footer__cart .speed-lines i {
    animation: speed-line 0.9s ease-out infinite;
}

.footer__cart .speed-lines i:nth-child(2) {
    animation-delay: 0.15s;
}

.footer__cart .speed-lines i:nth-child(3) {
    animation-delay: 0.3s;
}

.footer h3 {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 12px;
    font-size: 20px;
}

.footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: var(--red);
}

.footer-links {
    display: grid;
    gap: 6px;
    list-style: none;
}

.footer-links a {
    color: var(--text);
    transition: color 0.3s var(--ease), padding 0.3s var(--ease);
}

.footer-links a:hover {
    padding-left: 6px;
    color: var(--red);
}

.footer__bottom {
    padding: 25px 0;
    font-size: 14px;
    background-color: #f8f8f8;
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.footer__bottom p {
    margin: 0;
}

.footer__bottom a {
    font-weight: 600;
    color: var(--heading);
}

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

.footer__legal {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer .swoosh {
    width: 420px;
    aspect-ratio: 1;
    right: -160px;
    top: -200px;
    opacity: 0.08;
}


/* ==========================================================================
   26. Utilities: reveal, back-to-top, lightbox, image fallback
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal--left {
    transform: translateX(-50px);
}

.reveal--right {
    transform: translateX(50px);
}

.reveal--zoom {
    transform: scale(0.92);
}

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

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

.mt-40 {
    margin-top: 40px;
}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 800;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--white);
    background-color: var(--red);
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s, background-color 0.3s var(--ease);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--blue);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: center;
    padding: 40px;
    background-color: rgba(10, 10, 10, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

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

.lightbox img {
    max-width: min(1000px, 100%);
    max-height: 80vh;
    background-color: var(--white);
    border-radius: var(--radius);
    transform: scale(0.9);
    transition: transform 0.4s var(--ease);
}

.lightbox.is-open img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    font-size: 28px;
    line-height: 1;
    color: var(--white);
    background-color: var(--red);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

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


/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes testi-progress {
    to {
        transform: scaleX(1);
    }
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.97);
    }

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

@keyframes clock-tick {
    to {
        transform: rotate(360deg);
    }
}

@keyframes speed-dash {
    0%,
    100% {
        transform: skewX(-25deg) translateX(0);
    }

    50% {
        transform: skewX(-25deg) translateX(-5px);
    }
}

@keyframes speed-line {
    0% {
        opacity: 0;
        transform: translateX(20px) skewX(-20deg) scaleX(0.3);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-30px) skewX(-20deg) scaleX(1);
    }
}

@keyframes speed-line-in {
    from {
        opacity: 0;
        transform: skewX(-25deg) scaleX(0);
    }

    to {
        opacity: 1;
        transform: skewX(-25deg) scaleX(1);
    }
}

@keyframes logo-cart-in {
    from {
        opacity: 0;
        transform: translateX(-18%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes logo-wheel-hop {
    0%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-3%);
    }
}

@keyframes logo-awning-drop {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes logo-awning-swing {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-1.5deg);
    }
}

@keyframes logo-bars-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes logo-arrow-draw {
    from {
        clip-path: inset(0 84% 0 0);
    }

    to {
        clip-path: inset(0 64% 0 0);
    }
}

@keyframes logo-swoosh-draw {
    from {
        clip-path: inset(0 82% 0 0);
    }

    to {
        clip-path: inset(0 63% 0 0);
    }
}

@keyframes logo-divider-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes logo-word-in {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes logo-pill-in {
    from {
        opacity: 0;
        transform: translateX(10%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes logo-lines-in {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes logo-lines-race {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(1.2%);
    }
}

@keyframes footer-cart-run {
    from {
        transform: translateX(-140px);
    }

    to {
        transform: translateX(calc(100vw + 40px));
    }
}

@keyframes footer-cart-bump {
    0%,
    100% {
        transform: translateY(0);
    }

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

@keyframes cart-arrow-draw {
    from {
        clip-path: inset(0 64% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes cart-swoosh-draw {
    from {
        clip-path: inset(0 58% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes logo-shine {
    from {
        left: -60%;
    }

    to {
        left: 130%;
    }
}

@keyframes logo-shine-loop {
    0% {
        left: -60%;
    }

    15%,
    100% {
        left: 130%;
    }
}

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

@keyframes awning-drop {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes awning-swing {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(1.5deg);
    }
}

@keyframes bar-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes swoosh-turn {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float-y {
    0%,
    100% {
        transform: translateY(0);
    }

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

@keyframes pulse-dot {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 176, 75, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 176, 75, 0);
    }
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

@keyframes four-bounce {
    0%,
    100% {
        transform: translateY(0);
    }

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

@keyframes cart-roll {
    0% {
        transform: translateX(-20px);
    }

    50% {
        transform: translateX(240px) rotate(-2deg);
    }

    100% {
        transform: translateX(-20px);
    }
}

@keyframes bar-wobble {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-6deg);
    }
}


/* ==========================================================================
   27. Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    h1 {
        font-size: 44px;
    }

    .nav__list {
        gap: 20px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .call-box__text {
        display: none;
    }

    .intro-count__num strong {
        font-size: 140px;
    }

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


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

    .listing-info-box {
        grid-template-columns: repeat(3, 1fr);
    }

    .listing-info-box__actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    :root {
        --section-space: 70px;
    }

    h2 {
        font-size: 30px;
    }

    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        width: min(320px, 85vw);
        padding: 100px 30px 30px;
        overflow-y: auto;
        background-color: var(--dark);
        transform: translateX(100%);
        transition: transform 0.45s var(--ease);
    }

    .nav__menu.is-open {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav__link {
        padding: 14px 0;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav__toggle {
        position: relative;
        z-index: 960;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 940;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease), visibility 0.4s;
    }

    .nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

    .hero__inner,
    .split,
    .testi__grid,
    .hours,
    .intro-count,
    .with-sidebar,
    .with-sidebar--left,
    .post-feature {
        grid-template-columns: 1fr;
    }

    .hero__content {
        grid-column: 1;
    }

    .hero__fade {
        background: rgba(255, 255, 255, 0.86);
    }

    .nav {
        order: 3;
    }

    .call-box {
        margin-left: auto;
    }

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

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

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


    .sidebar {
        position: static;
    }

    .media-frame__badge {
        right: 15px;
    }

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

    .block__body {
        padding-left: 0;
    }

    .cta-band__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    :root {
        --section-space: 60px;
    }

    /* Slide reveals vertically on phones to avoid sideways overflow */
    .reveal--left,
    .reveal--right {
        transform: translateY(40px);
    }

    h1,
    .subheader h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    h2,
    .block__head h2 {
        font-size: 26px;
    }

    .hero {
        min-height: auto;
        padding: 70px 0 130px;
    }

    .hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .intro-count__num strong {
        font-size: 110px;
        letter-spacing: -6px;
    }

    .cat-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .cat-mosaic__tile--feature,
    .cat-mosaic__tile--wide {
        grid-column: auto;
        grid-row: auto;
    }

    .cat-mosaic__tile--feature .cat-mosaic__name {
        font-size: 24px;
    }

    .feat-card__shot {
        padding: 14px 14px 0;
    }

    .rss-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 18px;
    }

    .rss-item__link {
        display: none;
    }

    .testi-stage {
        padding: 45px 28px 40px;
    }

    .testi-stage__quote {
        left: 28px;
        right: 28px;
    }

    .testi-stage__quote p {
        font-size: 18px;
    }

    .box-number__icon {
        width: 64px;
        height: 64px;
    }

    .search-panel,
    .search-bar,
    .form {
        grid-template-columns: 1fr;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .feat-grid,
    .icon-grid,
    .gallery,
    .steps,
    .post-nav,
    .footer__main {
        grid-template-columns: 1fr;
    }

    .listing-row,
    .post-row,
    .contact-card,
    .rating-summary {
        grid-template-columns: 1fr;
    }

    .listing-info-box {
        grid-template-columns: 1fr;
        margin-top: -60px;
        padding: 25px;
    }

    .block__head {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .block__num {
        font-size: 48px;
    }

    .rss-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .slider__caption h2 {
        font-size: 30px;
    }

    .form-panel {
        padding: 28px;
    }

    .post-feature__body {
        padding: 30px;
    }

    .error-code {
        gap: 10px;
        font-size: 96px;
        letter-spacing: -4px;
    }

    .error-code__wheel {
        width: 80px;
        height: 80px;
        border-width: 15px;
    }

    .sitemap-list--2,
    .sitemap-list--3 {
        columns: 1;
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

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

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


/* ==========================================================================
   19. Dynamic content (WordPress data)
   ========================================================================== */
.bsm-initials {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 55%, var(--red) 140%);
    user-select: none;
}

.bsm-initials[hidden],
.bsm-listing-img[hidden],
.cat-card img[hidden],
.cat-mosaic__tile > img[hidden],
.slider__slide img[hidden] {
    display: none;
}

.browser__screen .bsm-listing-img {
    object-position: center;
}

.listing-card:hover .browser__screen .bsm-listing-img,
.listing-row:hover .browser__screen .bsm-listing-img,
.feat-card:hover .browser__screen .bsm-listing-img {
    object-position: center;
    transform: scale(1.04);
}

.cat-card .bsm-initials--cat {
    aspect-ratio: 4 / 3;
    height: auto;
    font-size: 64px;
}

.cat-mosaic__tile > .bsm-initials--cat {
    position: absolute;
    inset: 0;
    z-index: -2;
    padding-bottom: 30%;
    font-size: 72px;
}

.slider__slide .bsm-initials--hero {
    font-size: clamp(64px, 12vw, 160px);
}

.contact-card__logo .bsm-listing-img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.contact-card__logo .bsm-initials {
    width: 160px;
    height: 160px;
    min-height: 0;
}

.post-card__img .bsm-initials--post {
    aspect-ratio: 16 / 10;
    height: auto;
}

.post-feature__img .bsm-initials--post {
    min-height: 380px;
    font-size: 96px;
}

.mini-post .bsm-initials--post {
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    min-height: 0;
    font-size: 22px;
}

.rss-item--thumb {
    grid-template-columns: 90px 72px minmax(0, 1fr) 56px;
}

.rss-item__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: var(--light);
}

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

.rss-item:hover .rss-item__thumb img {
    transform: scale(1.06);
}

.bsm-track {
    background: linear-gradient(var(--red), var(--red)) left center / var(--fill, 0%) 100% no-repeat, var(--line);
}

.bsm-reviews .icon-box .stars {
    display: block;
    margin-bottom: 10px;
    color: #f5a623;
}

.bsm-post-faq {
    margin-top: 50px;
}

.bsm-post-faq .section-title {
    margin-bottom: 25px;
}

.policy h3 {
    margin: 25px 0 10px;
}

@media (max-width: 767px) {
    .rss-item--thumb {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .rss-item__thumb {
        display: none;
    }
}
