/**
 * PostCodeData Homepage Styles
 * Sections: Hero, Logos, Features, Stats, Reviews, How It Works, Pricing, Who Uses, FAQ
 * Uses BEM naming (block__element--modifier). Accent: var(--color-accent-green, #22c55e)
 */

/* ===== HERO SECTION ===== */

/* Shared hero image container (single + carousel) */
.hero-image-single,
.hero-image-carousel {
    margin-top: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
}

/* Carousel-only additions */
.hero-image-carousel {
    position: relative;
    aspect-ratio: 16 / 9;
}

.hero-image-single img,
.hero-image-carousel img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero-image-carousel img.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Hide non-active carousel slides (used by carousel.js) */
.carousel-slide--hidden {
    display: none;
}

/* Carousel navigation buttons */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 2.5rem;
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-accent-green);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(34,197,94,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(34, 197, 94, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.hero {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: 100px 0 0;
    text-align: center;
    background: var(--color-bg);
    position: relative;
}

.hero > .logos-section {
    margin-top: auto;
    flex-shrink: 0;
}

/* Left glow — dominant Chartreuse backlight/drp */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: clamp(600px, 55vw, 1400px);
    height: clamp(700px, 60vh, 1400px);
    background: radial-gradient(
        ellipse,
        rgba(209, 255, 130, 0.5) 0%,
        rgba(209, 255, 130, 0.3) 20%,
        rgba(209, 255, 130, 0.12) 45%,
        rgba(209, 255, 130, 0.03) 65%,
        rgba(255, 255, 255, 0) 80%
    );
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

/* Right glow — Electric Mint, extends into logo section */
.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: clamp(600px, 55vw, 1400px);
    height: clamp(700px, 60vh, 1400px);
    background: radial-gradient(
        ellipse,
        rgba(167, 255, 100, 0.4) 0%,
        rgba(128, 255, 165, 0.22) 20%,
        rgba(209, 255, 130, 0.08) 45%,
        rgba(255, 255, 255, 0) 75%
    );
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.hero > .container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-self: center;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background:var(--color-accent-green);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 4s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%   { opacity: 1;    transform: scale(1);    background-color: #22c55e; }
    10%  { opacity: 0.9;  transform: scale(1.05); background-color: #7fff00; }
    20%  { opacity: 0.8;  transform: scale(1.1);  background-color: #6b8e23; }
    30%  { opacity: 0.7;  transform: scale(1.15); background-color: #32cd32; }
    40%  { opacity: 0.6;  transform: scale(1.2);  background-color: #9acd32; }
    50%  { opacity: 0.5;  transform: scale(1.3);  background-color: #228b22; }
    60%  { opacity: 0.6;  transform: scale(1.2);  background-color: #66ff66; }
    70%  { opacity: 0.7;  transform: scale(1.15); background-color: #b4c424; }
    80%  { opacity: 0.8;  transform: scale(1.1);  background-color: #00ff7f; }
    90%  { opacity: 0.9;  transform: scale(1.05); background-color: #3fff00; }
    100% { opacity: 1;    transform: scale(1);    background-color: #22c55e; }
}

.hero__title {
    font-size: clamp(1.75rem, 5vw + 1.5rem, 2.5rem); /* fluid: 28px–40px by default */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    max-width: 700px;
    margin: 0 auto 20px;
    text-align: center;
}

.hero__subtitle {
    font-size: 1.00rem;
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.6;
    color: var(--color-text-primary);
}
/* Preserve spacing when hero subtitle is rendered via rich text. */
.hero__subtitle > *:first-child { margin-top: 0; }
.hero__subtitle > *:last-child { margin-bottom: 0; }

/* ===== SEARCH BAR ===== */
.search-bar {
    max-width: min(620px, 100%);
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.search-bar__input-wrapper {
    display: flex;
    align-items: center;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 6px 8px 6px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-bar__input-wrapper:focus-within {
    border-color: var(--color-accent-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.search-bar__icon {
    flex-shrink: 0;
    color: var(--color-text-light);
    margin-right: 12px;
}

.search-bar__icon svg {
    width: 20px;
    height: 20px;
}

.search-bar__input {
    flex: 1;
    padding: 14px 0;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    background: transparent;
}

.search-bar__input::placeholder {
    color: var(--color-text-light);
}

.search-bar__btn {
    flex-shrink: 0;
    padding: 12px 24px;
    background: var(--color-bg-dark);
    color: var(--color-text-white);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.search-bar__btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== LOGO CAROUSEL ===== */
.logos-section {
    box-sizing: border-box;
    height: clamp(90px, 7vw, 140px);
    padding: 12px 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    overflow: hidden;
    background: transparent;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}
.logos-section__label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: clamp(24px, 2vw, 48px);
    width: max-content;
    flex: 0 0 auto;
}

.logos-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.logo-item img {
    display: block;
    max-height: clamp(40px, 3.5vw, 80px);
    width: auto;
    object-fit: contain;
}

.logo-item:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

.logo-item svg {
    height: 28px;
    width: auto;
}

.logo-item span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Tooltip shown on hover via [data-title] attribute */
.logo-item::after {
    content: attr(data-title);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 4px 12px;
    background: var(--color-bg-dark, #1a1a1a);
    color: var(--color-text-white, #fff);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.logo-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== OVERVIEW (product graphic below hero) =====
   Cap display size so a moderate-res PNG is not upscaled (reduces blur).
   Re-export from Figma at 2× this max-width (~960px wide) as PNG, or use SVG if vector. */
.overview-section {
    padding: 3rem 0;
    text-align: center;
}

.overview-section__image {
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* ===== MARKETING IMAGE BLOCK =====
   Reusable image block for FlexiblePage and PostCodeData landing pages.
   Uses the block's own width/alignment/spacing modifiers instead of borrowing
   homepage-specific overview classes. */
.marketing-image.marketing-section--spacing-none {
    padding: 0;
}

.marketing-image.marketing-section--spacing-compact {
    padding: clamp(16px, 3vw, 32px) 0;
}

.marketing-image.marketing-section--spacing-default {
    padding: clamp(24px, 4vw, 48px) 0;
}

.marketing-image.marketing-section--spacing-roomy {
    padding: clamp(40px, 6vw, 72px) 0;
}

.marketing-image__figure {
    margin: 0;
}

.marketing-image__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.marketing-image__caption {
    width: 100%;
    max-width: min(100%, 70ch);
    margin-top: 14px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.marketing-image--width-full .marketing-image__img {
    max-width: 100%;
}

.marketing-image--width-medium .marketing-image__img {
    max-width: min(100%, 960px);
}

.marketing-image--width-narrow .marketing-image__img {
    max-width: min(100%, 760px);
}

.marketing-image--align-center .marketing-image__figure {
    text-align: center;
}

.marketing-image--align-center .marketing-image__img {
    margin-left: auto;
    margin-right: auto;
}

.marketing-image--align-center .marketing-image__caption {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.marketing-image--align-left .marketing-image__figure {
    text-align: left;
}

.marketing-image--align-left .marketing-image__img {
    margin-left: 0;
    margin-right: auto;
}

.marketing-image--align-left .marketing-image__caption {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.marketing-image--align-right .marketing-image__figure {
    text-align: right;
}

.marketing-image--align-right .marketing-image__img {
    margin-left: auto;
    margin-right: 0;
}

.marketing-image--align-right .marketing-image__caption {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

@media (max-width: 640px) {
    .marketing-image--width-medium .marketing-image__img,
    .marketing-image--width-narrow .marketing-image__img {
        max-width: 100%;
    }

    .marketing-image__caption {
        margin-top: 12px;
        font-size: 0.875rem;
    }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: clamp(64px, 6vw, 128px) 0;
    background: var(--color-bg);
}

.features__header {
    text-align: center;
    margin-bottom: 64px;
}

.features__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.features__title {
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.125rem;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.features__subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: -1%;
}
/*  Preserve spacing when subtitle is rendered via rich text. */
.features__subtitle > *:first-child { margin-top: 0; }
.features__subtitle > *:last-child { margin-bottom: 0; }

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 1.5vw, 40px);
}

.feature-card {
    padding: 32px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card__top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 10px;
}

.feature-card__icon svg {
    width: 30px;
    height: 30px;
}

.feature-card__title {
    font-weight: 700;
    letter-spacing: -0.125rem;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.feature-card__description {
    font-size: 1rem;
    line-height: 1.6;
}

.feature-card__description > *:first-child {
    margin-top: 0;
}

.feature-card__description > *:last-child {
    margin-bottom: 0;
}

.feature-card__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.feature-card__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    padding: 16px;
}


.feature-card__list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.feature-card__cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
    box-sizing: border-box;
}

.feature-card__cta--accent {
    background: black;
    color: white;
}

.feature-card__cta--primary {
    background: var(--color-bg-dark);
    color: var(--color-text-white);
}

.feature-card__cta--outline {
    background: transparent;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-primary);
}

.features--included .feature-card {
    --pcd-bg: #effea6;
    --pcd-figma-text: #0d0d0d;
    --pcd-figma-cta: #1a2406;
    --pcd-figma-cta-text: #ffffff;
    --pcd-figma-row-edge: rgba(255, 255, 255, 0.28);
    --pcd-figma-row-mid: #ffffff;
    background: var(--pcd-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 34px 32px 30px;
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    height: 100%;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.features--included .feature-card:hover {
    transform: translateY(-4px);
}

.features--included .feature-card__scroll-wrapper {
    max-height: 332px;
    overflow: hidden;
    position: relative;
}

.features--included .feature-card__list--ticker {
    animation: wl-pcd-features-ticker 18s linear infinite;
}

.features--included .feature-card__scroll-wrapper:hover .feature-card__list--ticker {
    animation-play-state: paused;
}

.features--included .feature-card__scroll-wrapper::before,
.features--included .feature-card__scroll-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 28px;
    z-index: 1;
    pointer-events: none;
}

.features--included .feature-card__scroll-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, var(--pcd-bg) 0%, rgba(255, 255, 255, 0) 100%);
}

.features--included .feature-card__scroll-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, var(--pcd-bg) 0%, rgba(255, 255, 255, 0) 100%);
}

@keyframes wl-pcd-features-ticker {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.features--included .feature-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.features--included .feature-card__title {
    color: var(--pcd-figma-text);
    font-weight: 700;
    font-size: 2.05rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.features--included .feature-card__icon {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.features--included .feature-card__icon svg {
    width: 32px;
    height: 32px;
    color: var(--pcd-figma-text);
}

.features--included .feature-card__description,
.features--included .feature-card__description p {
    color: var(--pcd-figma-text);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    opacity: 0.92;
}

.features--included .feature-card__description > *:first-child {
    margin-top: 0;
}

.features--included .feature-card__description > *:last-child {
    margin-bottom: 0;
}

.features--included .feature-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features--included .feature-card__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--pcd-figma-text);
    padding: 14px 16px;
    border-radius: 10px;
    line-height: 1.25;
}

.features--included .feature-card__list li:first-child,
.features--included .feature-card__list li:last-child {
    background: var(--pcd-figma-row-edge);
}

.features--included .feature-card__list li:not(:first-child):not(:last-child),
.features--included .feature-card__list li:only-child {
    background: var(--pcd-figma-row-mid);
    box-shadow: 0 1px 2px rgba(13, 13, 13, 0.06);
}

.features--included .feature-card__list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.features--included .feature-card__list-icon svg {
    width: 18px;
    height: 18px;
    color: var(--pcd-figma-text);
}

.features--included .feature-card__cta {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: auto;
    padding: 15px 24px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    background: var(--pcd-figma-cta);
    color: var(--pcd-figma-cta-text);
    border: none;
    border-radius: 10px;
    transition: filter 0.2s ease;
}

.features--included .feature-card__cta:hover {
    color: var(--pcd-figma-cta-text);
    filter: brightness(1.08);
}

.features--included .feature-card__cta--accent,
.features--included .feature-card__cta--primary,
.features--included .feature-card__cta--outline {
    background: var(--pcd-figma-cta);
    color: var(--pcd-figma-cta-text);
    border: none;
}

/* Re-anchored to canonical Laptop boundary (was max-width: 1199.98px) */
@media (min-width: 1025px) and (max-width: 1439px) {
    /* 4-col steps too narrow at 1025-1200px; drop to 3-col with the 4th wrapping */
    .how-it-works__steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .features--included .feature-card {
        padding: 28px 24px;
    }

    .features--included .feature-card__title {
        font-size: 1.75rem;
    }

    .features--included .feature-card__description,
    .features--included .feature-card__description p,
    .features--included .feature-card__list li {
        font-size: 0.95rem;
    }

    .features--included .feature-card__scroll-wrapper {
        max-height: 300px;
    }
}

/* ===== CONTENT SECTIONS (2 per row, reusable across pages) ===== */
.content-sections {
    padding: 0 24px 80px;
}

.content-sections__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 85.375rem;
    margin: 0 auto;
}

.content-sections__item {
    min-width: 0;
}

/* Single insight grid spans full width  */
.content-sections__item:only-child {
    grid-column: 1 / -1;
}


/* ===== PROPERTY ACCORDION SECTION (dropdown items left + image right) ===== */
.property-accordion-section {
    padding: clamp(64px, 6vw, 128px) 0;
}

.property-accordion-section__container {
    width: 100%;
    max-width: 85.375rem;
    margin: 0 auto;
    padding: 0 24px;
}

.property-accordion-section__header {
    text-align: center;
    margin-bottom: 48px;
}

.property-accordion-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--color-accent-green);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* .property-accordion-section__badge-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-dot 4s ease-in-out infinite;
} */

.property-accordion-section__inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
    max-width: 76.25rem;
    margin: 0 auto;
}

.property-accordion-section__list {
    flex: 0 0 542px;
    width: 542px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.property-accordion-section__title {
    font-size: 2.625rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 100%;
    letter-spacing: -4%;
}

.property-accordion-section__intro {
    font-size: 0.8125em;
    line-height: 100%;
    margin-bottom: 0;
    max-width: 872px;
    margin-left: auto;
    margin-right: auto;

    font-weight: 400;
}

.property-accordion-section__items {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    min-height: 0;
}

.property-accordion-item {
    width: 100%;
    max-width: 542px;
}

.property-accordion-item__header {
    width: 100%;
    display: flex;
    position: relative;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 16px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.25rem;
    transition: color 0.2s;
    text-align: left;
}

.property-accordion-item__header::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    bottom: -1px;
    height: 4px;
    background: #d9dde3;
    pointer-events: none;
    z-index: 1;
}

.property-accordion-item__header::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 4px;
    width: 100%;
    background: var(--color-accent-green);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
    z-index: 2;
}

.property-accordion-item--open .property-accordion-item__header::before {
    animation: property-accordion-progress var(--accordion-progress-ms, 7000ms) linear forwards;
}

.property-accordion-item--open .property-accordion-item__chevron {
    transform: rotate(180deg);
}

.property-accordion-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-accordion-item__icon img {
    width: 20px;
    height: 20px;
}

.property-accordion-item__title {
    flex: 1;
}

.property-accordion-item__chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-text-light);
    transition: transform 0.2s;
}

.property-accordion-item__body {
    max-height: 0;
    overflow: hidden;
    width: 510px;
    max-width: 100%;
    padding: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.property-accordion-item--open .property-accordion-item__body {
    max-height: 240px;
    min-height: 134px;
    padding: 16px 0 0 0;
}

.property-accordion-item__body p, 
.property-accordion-item__content p {
    font-size: 1rem;
    line-height: normal;
    font-weight: 400;
}

.property-accordion-item__content {
    margin-bottom: 24px;
}

.property-accordion-item__link {
    font-size: 1.0625em;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.property-accordion-item__link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.property-accordion-section__visual {
    flex: 1 1 0;
    min-width: 0;
    max-width: 630px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.property-accordion-section__img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg, 12px);
    transition: opacity 0.25s ease, transform 0.3s ease;
    opacity: 1;
    display: block;
}

.property-accordion-section__img.accordion-img--fading {
    opacity: 0;
    transform: scale(0.97);
}

@keyframes property-accordion-progress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@media (max-width: 1200px) {
    .property-accordion-section__list {
        min-width: 0;
        flex-basis: 48%;
    }

    .property-accordion-section__visual {
        min-width: 0;
        flex-basis: 54%;
    }
}

@media (max-width: 1024px) {
    .property-accordion-section__inner {
        flex-direction: column;
        gap: 32px;
    }

    .property-accordion-section__visual {
        order: -1;
        max-width: 100%;
        min-width: 0;
        position: static;
    }

    .property-accordion-section__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .property-accordion-section {
        padding: 48px 0;
    }

    .property-accordion-section__title {
        font-size: 1.5rem;
    }

    .property-accordion-item__body {
        width: 100%;
    }
}

/* ===== MAKING SECTION ===== */
.making-section {
    padding: clamp(64px, 6vw, 128px) 0;
    background: rgba(253, 249, 247, 1);
    width: 100%;
}

.making-section__container {
    width: 100%;
    max-width: 85.375rem;
    margin: 0 auto;
    padding: 0 24px;
}

.making-section__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(24px, 2vw, 56px);
    padding: clamp(24px, 3vw, 64px) clamp(24px, 3vw, 72px);
}

.making-section__visual {
    flex: 0 1 50%;
    min-width: 0;
}

.making-section__img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.making-section__placeholder {
    position: relative;
    width: 100%;
    max-width: 560px;
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
}

.making-section__placeholder-screen {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    border-radius: 8px 8px 0 0;
    padding: 24px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.making-section__placeholder-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.making-section__placeholder-address {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.making-section__placeholder-fields {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.making-section__placeholder-base {
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 8px 8px;
    margin-top: -2px;
}

.making-section__content {
    flex: 1;
    min-width: 0;
}

.making-section__title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -4%;
    margin-bottom: 20px;
    line-height: 100%;
}

.making-section__paragraph {
    font-size: 0.85125rem;
    line-height: 100%;
    margin-bottom: 16px;
}

.making-section__paragraph:last-of-type {
    margin-bottom: 28px;
}

.making-section__cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    border: 2px solid var(--color-border);
}



@media (max-width: 1024px) {
    .making-section__inner {
        flex-direction: column;
        padding: 36px 24px;
        gap: 32px;
    }

    .making-section__visual {
        max-width: 100%;
        order: 1;
    }

    .making-section__content {
        order: 2;
    }

    .making-section__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .making-section__inner {
        padding: 24px 16px;
    }

    .making-section__title {
        font-size: 1.5rem;
    }

    .making-section__paragraph {
        font-size: 0.95rem;
    }
}

/* ===== STATS SECTION ===== */
/* ===== STATS SECTION ===== */
.stats {
    padding: clamp(64px, 6vw, 128px) 0;
    background: var(--color-bg);
}

.stats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.stats__grid--without-image {
    grid-template-columns: 1fr;
}

.stats__items {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.stats__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 16px;
    align-items: start;
    background: var(--color-accent-green);
    min-height: 170px;
    padding: 32px;
    border-radius: var(--radius-lg);
}

.stats__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats__number {
    display: block;
    margin: 0;
    font-weight: 600;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.stats__label {
    margin: 0;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.stats__icon {
    width: 32px;
    height: 32px;
    justify-self: end;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats__icon img,
.stats__icon svg {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stats__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 0;
}

.stats__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ===== REVIEWS SECTION =====
   - Grid layout: intro (sticky) + cards column
   - First 10 cards shown; "View all" reveals rest (JS: homepage.js)
   - Empty state (.reviews__empty): when no reviews, CTA "Be the first to review"
   - Uses accent green (#22c55e) for CTAs and accents
   ===== */
.reviews {
    padding: clamp(64px, 6vw, 128px) 0;
    background: #FDF9F7;
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 4vw, 96px);
    align-items: start;
}

.reviews__intro {
    position: sticky;
    top: 120px;
}

.reviews__title {
    font-weight: 700;
    font-size: 1.75em;
    line-height: 1.2;
    letter-spacing: -2px;
}

.reviews__subtitle {
    font-weight: 400;
    font-size: 1em;
    letter-spacing: -1%;
    margin-bottom: 32px;
    max-width: 420px;
    line-height: 100%;
}
/* REVIEW: Preserve spacing when subtitle is rendered via rich text. */
.reviews__subtitle > *:first-child { margin-top: 0; }
.reviews__subtitle > *:last-child { margin-bottom: 0; }

.reviews__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--color-accent-green);
    color: var(--color-text-primary);
    border-radius: var(--radius-md, 8px);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition, all 0.2s ease);
}

.reviews__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.reviews__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reviews__card {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr;
    gap: 24px;
    align-items: start;
    background: #F9F9F9;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition, all 0.2s ease);
}

.reviews__card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    min-width: 0;
}

.reviews__card-right {
    min-width: 0;
}

.reviews__card:hover {
    border-color: var(--color-accent-green);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.06));
    transform: translateY(-2px);
}

.reviews__card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.reviews__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.reviews__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-green);
    color: var(--color-text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.reviews__reviewer {
    display: flex;
    flex-direction: column;
}

.reviews__name {
    font-weight: 700;
    font-size: 0.95rem;
}

.reviews__role {
    font-size: 0.75rem;
    margin-top: 2px;
}

.reviews__verified {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    margin-left: 4px;
    vertical-align: middle;
}

.reviews__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.reviews__stars {
    display: flex;
    gap: 2px;
}

.reviews__date {
    font-size: 0.78rem;
    color: var(--color-text-light);
}

/* .reviews__source {
    font-size: 0.78rem;
    color: var(--color-text-light);
    font-style: italic;
} */

.reviews__card--hidden {
    display: none;
}

.reviews__show-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 28px;
    background: transparent;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md, 8px);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: var(--transition, all 0.2s ease);
}

.reviews__show-all:hover {
    border-color: var(--color-accent-green);
    background: rgba(34, 197, 94, 0.04);
    transform: translateY(-1px);
}

.reviews__text {
    font-size: 0.8rem;
    line-height: 1.7;
}
/* REVIEW: Preserve spacing when review copy is rendered via rich text. */
.reviews__text > *:first-child { margin-top: 0; }
.reviews__text > *:last-child { margin-bottom: 0; }

/* Reviews empty state — shown when review_snippet has no reviews;
   centered layout with icon, title, message, and CTA */
.reviews__empty {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 48px 24px;
}

.reviews__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 50%;
}

.reviews__empty-icon svg {
    width: 32px;
    height: 32px;
}

.reviews__empty-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.reviews__empty-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.reviews__cta--empty {
    display: inline-flex;
}

/* ===== REVIEW FORM PAGES ===== */
.review-form {
    max-width: 560px;
    margin: 0 auto;
    padding: 64px 0;
}

.review-form__title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.review-form__subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.review-form__field {
    margin-bottom: 24px;
}

.review-form__label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.review-form__input,
.review-form__textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md, 8px);
    background: #fff;
    transition: var(--transition, all 0.2s ease);
}

.review-form__input:focus,
.review-form__textarea:focus {
    outline: none;
    border-color: var(--color-accent-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.review-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.review-form__help {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 6px;
}

.review-form__error {
    font-size: 0.85rem;
    color: var(--color-accent-red);
    margin-top: 6px;
}

.review-form__submit {
    margin-top: 32px;
}

.review-form__link {
    display: inline-block;
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.review-form__link:hover {
    color: var(--color-accent-green);
}

.required-star {
    color: var(--color-accent-red);
}

.review-success {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 96px 24px;
}

.review-success__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 50%;
    color: var(--color-accent-green);
}

.review-success__icon svg {
    width: 40px;
    height: 40px;
}

.review-success__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.review-success__text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.review-success__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--color-accent-green);
    color: var(--color-text-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition, all 0.2s ease);
}

.review-success__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: clamp(64px, 6vw, 128px) 0;
    background: var(--color-bg);
}

.how-it-works__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.how-it-works__title {
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 3.15;
    font-size: 2rem;
}


.how-it-works__subtitle {
    font-size: 1.125rem;
    line-height: 100%;
    margin-bottom: 32px;
    max-width: 480px;
    letter-spacing: -1%;
}
/* REVIEW: Preserve spacing when subtitle is rendered via rich text. */
.how-it-works__subtitle > *:first-child { margin-top: 0; }
.how-it-works__subtitle > *:last-child { margin-bottom: 0; }

.how-it-works__ctas {
    display: flex;
    gap: 12px;
}

.how-it-works__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition, all 0.2s ease);
    cursor: pointer;
    border: none;
}

.how-it-works__btn--primary {
    background: var(--color-accent-green);
    color: var(--color-text-primary);
}

.how-it-works__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.how-it-works__btn--outline {
    background: transparent;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-primar);
}

.how-it-works__btn--outline:hover {
    border-color: var(--color-text-primary);
    transform: translateY(-2px);
}

.how-it-works__btn--accent {
    background: var(--color-accent-green);
    color: var(--color-text-primary);
    padding: 16px 36px;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.how-it-works__btn--accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

/* Video placeholder */
.how-it-works__video-placeholder {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 240px;
    gap: 16px;
}

.how-it-works__play-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.how-it-works__play-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-primary, #111);
    margin-left: 3px;
}

.how-it-works__play-icon:hover {
    background: var(--color-accent-green);
    border-color: var(--color-accent-green);
}

.how-it-works__video-placeholder p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    max-width: 240px;
}

/* Responsive video embed (YouTube/Vimeo)  */
.how-it-works__video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.how-it-works__video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg, 12px);
}

.how-it-works__video-embed--image .how-it-works__video-placeholder-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-lg, 12px);
    background: var(--color-bg-light);
}

/* Video caption: displays subtitle/description below the video */
.how-it-works__video-caption {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.5;
}
/* REVIEW: Preserve spacing when video caption is rendered via rich text. */
.how-it-works__video-caption-text > *:first-child { margin-top: 0; }
.how-it-works__video-caption-text > *:last-child { margin-bottom: 0; }

.how-it-works__video-caption-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-text-secondary, #666);
}

.how-it-works__video-caption-icon svg {
    display: block;
}

/* Steps grid */
.how-it-works__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}



.how-it-works__step {
    border: 2px solid rgba(208, 208, 208, 1);
    padding: 28px 24px;
    border-radius: 8px;
    padding: 40px;
    transition: all 0.2s ease;
}

.how-it-works__step:hover {
    border-color: var(--color-border);
    transform: translateY(-2px);
}

.how-it-works__step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.how-it-works__step-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.how-it-works__step-number {
    font-weight: 600;
    font-size: 64.4px;
    line-height: 101%;
    color: var(--color-black-08);
}

.how-it-works__step-desc {
    font-size: 0.1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Bottom CTA */
.how-it-works__bottom-cta {
    text-align: center;
}


/* ===== WHO USES US SECTION ===== */
.who-uses {
    padding: clamp(64px, 6vw, 128px) 0;
    background: rgba(254, 251, 251, 1);
}

.who-uses__header {
    text-align: center;
    margin-bottom: 80px;
}

.who-uses__title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.who-uses__subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}
/* Top-align columns like typical Figma rows (not vertically centred vs image height) */
.who-uses__case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(48px, 5vw, 100px);
    /* Hard min of 900px would overflow tablet viewports; rely on canonical breakpoints + max-width 100% on small screens. */
    width: 100%;
    max-width: clamp(320px, 60vw, 1400px);
    background: rgba(254, 251, 251, 1);
}

.who-uses__case--reverse {
    direction: rtl;
}

.who-uses__case--reverse > * {
    direction: ltr;
}

.who-uses__image {
    display: flex;
    align-items: flex-start;
}

/* Image sits toward the text column (gutter), matching common Figma zig-zag */
.who-uses__case:not(.who-uses__case--reverse) .who-uses__image {
    justify-content: flex-end;
}

.who-uses__case--reverse .who-uses__image {
    justify-content: flex-start;
}


.who-uses__image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
}

.who-uses__number {
    display: block;
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: -4%;
    line-height: 100%;
    margin-bottom: 8px;
    color: var(--color-black-08);
}

.who-uses__content {
    min-width: 0;
    padding: 24px;
}

/* Keep reversed-row text closer to its paired image */
.who-uses__case--reverse .who-uses__content {
    max-width: 300px;
    margin-right: -20px;
}

.who-uses__case-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.who-uses__content p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* base.css resets ul/ol (list-style: none; padding 0) — restore bullets for this section */
.who-uses__list {
    list-style: disc;
    list-style-position: outside;
    padding-left: 1.25rem;
    margin: 0;
}

.who-uses__list-item {
    display: list-item;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.35em;
}

.who-uses__list-item:last-child {
    margin-bottom: 0;
}

.who-uses__bottom-cta {
    text-align: center;
    margin-top: 16px;
}

.who-uses__bottom-cta--hidden {
    display: none;
}

.who-uses__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--color-accent-green, #22c55e);
    color: var(--color-text-primary, #111);
    border-radius: var(--radius-md, 8px);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition, all 0.2s ease);
}

.who-uses__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.05rem;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }
    .how-it-works__top {
        grid-template-columns: 1fr;
    }
    .how-it-works__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .reviews__intro {
        position: static;
        text-align: center;
    }
    .reviews__subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .who-uses__case {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .who-uses__case:not(.who-uses__case--reverse) .who-uses__image,
    .who-uses__case--reverse .who-uses__image {
        justify-content: center;
    }
    .who-uses__case--reverse {
        direction: ltr;
    }
}

@media (max-width: 640px) {

    .hero {
        padding: 80px 0 0;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .features__title {
        font-size: 1.75rem;
    }

    .features__subtitle {
        font-size: 1.5rem;
    }

    .search-bar__btn {
        padding: 12px 16px;
        font-size: 0.8rem;
    }

    .logos-track {
        gap: 24px;
    }

    /* Stats: single column, reduced padding for smaller screens */
    .stats__row {
        grid-template-columns: minmax(0, 1fr) 24px;
        gap: 12px;
        min-height: 140px;
        padding: 20px;
    }

    .stats__icon {
        width: 24px;
        height: 24px;
    }

    .stats__number {
        font-size: 1.75rem;
    }

    .stats__label {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .how-it-works__steps {
        grid-template-columns: 1fr;
    }

    .how-it-works__title {
        font-size: 1.5rem;
    }

    .how-it-works__ctas {
        flex-direction: column;
    }

    .how-it-works__ctas .how-it-works__btn {
        width: 100%;
        justify-content: center;
    }

    .who-uses__title {
        font-size: 1.5rem;
    }

    .who-uses__case {
        margin-bottom: 48px;
    }

    .who-uses__number {
        font-size: 2.5rem;
    }

    .who-uses__case-title {
        font-size: 1.25rem;
    }

    .reviews__card {
        grid-template-columns: 1fr;
    }
}

/* ===== LARGE SCREENS (1440px+) ===== */
/* Container/footer rules at 1440/1920/2560 live in base.css. Only homepage-specific rules below. */
@media (min-width: 1440px) {
    .hero__title {
        font-size: 4.5rem;
        max-width: 900px;
    }

    .hero__subtitle {
        font-size: 1.3rem;
        max-width: 620px;
    }

    .search-bar {
        max-width: 720px;
    }
}
/* ===== EXTRA LARGE SCREENS (1920px+) ===== */
@media (min-width: 1920px) {
    .content-sections__grid,
    .property-accordion-section__container,
    .making-section__container {
        max-width: 100rem;
    }

    .hero__title {
        font-size: 5rem;
        max-width: 1050px;
    }

    .hero__subtitle {
        font-size: 1.25rem;
        max-width: 750px;
        margin: 0 auto 56px;
    }

    .search-bar {
        max-width: 800px;
    }

    .hero__badge {
        font-size: 0.85rem;
        padding: 10px 22px;
        margin-bottom: 40px;
    }
}
/* ===== ULTRA WIDE SCREENS (2560px+) ===== */
@media (min-width: 2560px) {
    .property-accordion-section__container,
    .making-section__container {
        max-width: 120rem;
    }

    .hero__title {
        font-size: 5.5rem;
        max-width: 75rem;
    }

    .hero__subtitle {
        font-size: 1.35rem;
        max-width: 850px;
    }

    .search-bar {
        max-width: 900px;
    }

    .features__grid {
        max-width: 120rem;
        margin: 0 auto;
    }

    .who-uses__case {
        max-width: 1400px;
    }
}

/* ===== WHATS INCLUDED — Feature Card Ticker ===== */
/* Migrated from inline <style> in components/whats_included_section.html */
.feature-card__scroll-wrapper {
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

.feature-card__list--ticker {
    animation: ticker-scroll 12s linear infinite;
}

.feature-card__scroll-wrapper:hover .feature-card__list--ticker {
    animation-play-state: paused;
}

.feature-card__scroll-wrapper::before,
.feature-card__scroll-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 24px;
    z-index: 1;
    pointer-events: none;
}

.feature-card__scroll-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, var(--color-bg), transparent);
}

.feature-card__scroll-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

@keyframes ticker-scroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Inline flex layout for feature card top (icon + title) — defined once above (~L562). */

/* ===== INSIGHT GRID SECTION (Valuation, Market & Area Insights) ===== */
/* Migrated from inline <style> in components/insight_grid_section.html */
/* Background is set per-section via nth-child in content_sections_grid (1st/3rd/5th = beige, 2nd/4th/6th = transparent) */
.insight-grid-section {
    padding: 80px 24px;
}

.insight-grid-section__wrapper {
    max-width: 85.375rem;
    margin: 0 auto;
    padding: 48px 40px 56px;
}

.insight-grid-section__header {
    margin-bottom: 48px;
    text-align: center;
}

.insight-grid-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--pasted-lime);
    color: #1a1a1a;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.insight-grid-section__badge--custom {
    background: var(--badge-bg);
    color: var(--badge-color);
}

.insight-grid-section__title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}

.insight-grid-section__desc {
    font-size: 1rem;
    line-height: 100%;
    margin-bottom: 0;
}

.insight-grid-section__desc p {
    margin-bottom: 12px;
}

.insight-grid-section__desc p:last-child {
    margin-bottom: 0;
}

.insight-grid-section__grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 2), 1fr);
    gap: 32px;
}

/* Default: no white container – sits on beige background (per Figma) */
.insight-grid-section__card {
    padding: 24px;
    background: transparent;
}

/* Full-width only: bordered card (e.g. Sold Comparables & Last Price Paid) */
.insight-grid-section__card--full-width {
    grid-column: 1 / -1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Icon and title on one line */
.insight-grid-section__card-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.insight-grid-section__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    line-height: 0;
}

.insight-grid-section__icon svg {
    display: block;
}

.insight-grid-section__card-title {
    flex: 1;
    min-width: 0;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-header);
    line-height: var(--line-height-header);
    margin: 0;
}

.insight-grid-section__card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.insight-grid-section__card-desc p {
    margin-bottom: 8px;
}

.insight-grid-section__images {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.insight-grid-section__images--side-by-side {
    flex-direction: row;
}

.insight-grid-section__images--side-by-side .insight-grid-section__image-block {
    flex: 1;
}

.insight-grid-section__image-block {
    margin-bottom: 0;
}

.insight-grid-section__img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Split layout: text and image side by side */
.insight-grid-section__card--split .insight-grid-section__card-split {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.insight-grid-section__card-text {
    flex: 1;
    min-width: 0;
}

.insight-grid-section__card-media {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .insight-grid-section__wrapper {
        padding: 32px 20px 40px;
    }
    /* Stack images vertically on mobile (both 1-image and 2-image cards) */
    .insight-grid-section__images--side-by-side {
        flex-direction: column;
    }
    .insight-grid-section__card--split .insight-grid-section__card-split {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .insight-grid-section__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CONTENT SECTIONS GRID — Alternating Section Backgrounds ===== */
/* Migrated from inline <style> in components/content_sections_grid.html */
.content-sections .insight-grid-section__card--full-width {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.content-sections__item:nth-child(odd) .insight-grid-section {
    background: var(--section-color);
}

.content-sections__item:nth-child(even) .insight-grid-section {
    background: transparent;
}