/**
 * Oplus — Property Developers Directory
 * Loaded only on the agency archive / all-agencies template.
 *
 * Card/grid geometry follows the measured reference directory; colour,
 * motion and the contact block are Oplus brand work on top of it.
 *
 * Brand note: the logo green (#009A44) measures 3.68:1 on white and cannot
 * carry text or button labels. #00803C (5.06:1) is the action green; the
 * logo green is kept for large decorative marks and dark backgrounds only.
 */

.odev {
    /* Brand */
    --odev-brand: #00803c;
    --odev-brand-hover: #00682f;
    --odev-brand-logo: #009a44;
    --odev-brand-accent: #4fc46a;
    --odev-brand-deep: #062e1b;
    --odev-brand-deep-2: #0a4327;
    --odev-brand-tint: rgba(0, 128, 60, 0.07);
    --odev-brand-ring: rgba(0, 128, 60, 0.24);

    /* Ink — logo grey family */
    --odev-ink: #2b2b2b;
    --odev-ink-72: rgba(43, 43, 43, 0.74);
    /* 0.643 is the minimum alpha that clears 4.5:1 on white against the
       #2b2b2b base; 0.68 keeps a little margin. */
    --odev-ink-muted: rgba(43, 43, 43, 0.68);
    --odev-ink-10: rgba(43, 43, 43, 0.12);
    --odev-ink-04: rgba(43, 43, 43, 0.045);

    --odev-surface: #ffffff;

    --odev-r: 10px;
    --odev-r-panel: 14px;
    --odev-r-pill: 999px;

    --odev-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --odev-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --odev-fast: 180ms;
    --odev-mid: 320ms;
    --odev-slow: 700ms;

    color: var(--odev-ink);
    background: var(--odev-surface);
    font-feature-settings: "kern" 1, "liga" 1;
}

.odev *,
.odev *::before,
.odev *::after {
    box-sizing: border-box;
}

.odev .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.odev .odev-icon {
    width: 1.05em;
    height: 1.05em;
    flex: none;
}

/* Houzez's default breadcrumb grey does not meet 4.5:1 on white. */
.odev .breadcrumb-wrap,
.odev .breadcrumb-wrap a,
.odev .breadcrumb-wrap .breadcrumb-item,
.odev .breadcrumb-wrap .breadcrumb-item::before {
    color: #505858;
}

.odev .breadcrumb-wrap a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Motion: reveal on scroll ──────────────────────────────────── */

.odev [data-odev-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--odev-slow) var(--odev-ease-out),
                transform var(--odev-slow) var(--odev-ease-out);
    transition-delay: var(--odev-delay, 0ms);
}

.odev [data-odev-reveal].is-in {
    opacity: 1;
    transform: none;
}

/*
 * Escape hatch: no JS, no IntersectionObserver, or the observer never fired.
 * `transition: none` is essential — with a transition still attached, any
 * environment that does not actually run transitions (background tab, some
 * embedded contexts) would hold the element at its 0 start value and the page
 * would stay blank. This must snap, not animate.
 */
.odev.no-reveal [data-odev-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
}

/* ── Hero ──────────────────────────────────────────────────────── */

.odev-hero {
    position: relative;
    padding: 2rem 0 3rem;
    /* Soft brand wash so the hero reads as a designed band, not bare text. */
    background:
        radial-gradient(900px 420px at 88% 0%, rgba(0, 154, 68, 0.10) 0%, rgba(0, 154, 68, 0) 62%),
        linear-gradient(180deg, rgba(43, 43, 43, 0.03) 0%, rgba(43, 43, 43, 0) 70%);
}

.odev-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

/* Stats panel — the right-hand column */
.odev-hero__panel {
    position: sticky;
    top: 2rem;
    padding: 1.75rem;
    border: 1px solid var(--odev-ink-10);
    border-radius: 18px;
    background: var(--odev-surface);
    box-shadow: 0 24px 48px -32px rgba(6, 46, 27, 0.45);
}

.odev-hero__panel-title {
    margin: 0 0 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--odev-ink-10);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--odev-ink-muted);
}

.odev-hero__panel-note {
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--odev-ink-10);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--odev-ink-muted);
}

.odev-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--odev-brand);
}

.odev-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--odev-brand);
}

.odev-hero__title {
    margin: 0;
    max-width: 15ch;
    font-size: clamp(2.5rem, 1.2rem + 4.4vw, 3.75rem);
    font-weight: 600;
    letter-spacing: -0.048em;
    line-height: 1;
    color: var(--odev-ink);
    text-wrap: balance;
}

.odev-hero__lede {
    margin: 1.5rem 0 0;
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--odev-ink-72);
}

.odev-hero__lede strong {
    font-weight: 600;
    color: var(--odev-ink);
}

.odev-hero__note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    max-width: 62ch;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(0, 128, 60, 0.2);
    border-radius: var(--odev-r);
    background: var(--odev-brand-tint);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--odev-ink-72);
}

.odev-hero__note svg {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--odev-brand);
}

/* 2×2 inside the panel, so the numbers read as a set */
.odev-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1rem;
    margin: 0;
}

.odev-hero__stat {
    margin: 0;
}

.odev-hero__stat-value {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--odev-brand);
    font-variant-numeric: tabular-nums;
}

.odev-hero__stat-label {
    margin: 0.2rem 0 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--odev-ink-muted);
}

/* ── Hub + filter bar ──────────────────────────────────────────── */

.odev-hub {
    padding: 0 0 4rem;
}

/*
 * Deliberately NOT sticky: a bar that follows the scroll covered the cards
 * and read as clutter. This is a settled panel at the top of the results.
 */
.odev-filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--odev-ink-10);
    border-radius: 18px;
    background: var(--odev-surface);
    box-shadow: 0 18px 40px -34px rgba(6, 46, 27, 0.4);
}

.odev-filter__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

/* Search */
.odev-search {
    position: relative;
    flex: 1 1 420px;
    min-width: 0;
    max-width: 520px;
}

.odev-search__icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 1rem;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--odev-ink-muted);
    pointer-events: none;
    transition: color var(--odev-fast) var(--odev-ease);
}

.odev-search__input {
    width: 100%;
    height: 52px;
    padding-inline: 3rem 3rem;
    border: 1px solid var(--odev-ink-10);
    border-radius: var(--odev-r-pill);
    background: var(--odev-surface);
    font-size: 1rem;
    color: var(--odev-ink);
    transition: border-color var(--odev-fast) var(--odev-ease),
                box-shadow var(--odev-fast) var(--odev-ease);
}

.odev-search__input::placeholder {
    color: var(--odev-ink-muted);
}

.odev-search__input:hover {
    border-color: rgba(43, 43, 43, 0.24);
}

.odev-search__input:focus {
    outline: none;
    border-color: var(--odev-brand);
    box-shadow: 0 0 0 4px var(--odev-brand-ring);
}

.odev-search:focus-within .odev-search__icon {
    color: var(--odev-brand);
}

.odev-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.odev-search__clear {
    position: absolute;
    top: 50%;
    inset-inline-end: 0.5rem;
    transform: translateY(-50%) scale(0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--odev-ink-04);
    color: var(--odev-ink-72);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--odev-fast) var(--odev-ease),
                transform var(--odev-fast) var(--odev-ease),
                background-color var(--odev-fast) var(--odev-ease);
}

.odev-search__clear:not([hidden]) {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.odev-search__clear:hover {
    background: var(--odev-ink-10);
    color: var(--odev-ink);
}

/* Live suggestions */
.odev-suggest {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    z-index: 40;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    border: 1px solid var(--odev-ink-10);
    border-radius: var(--odev-r-panel);
    background: var(--odev-surface);
    box-shadow: 0 18px 40px -20px rgba(43, 43, 43, 0.45);
    max-height: 320px;
    overflow-y: auto;
}

.odev-suggest[hidden] {
    display: none;
}

.odev-suggest__item {
    display: block;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 0;
    border-radius: var(--odev-r);
    background: transparent;
    font: inherit;
    font-size: 0.9375rem;
    text-align: start;
    color: var(--odev-ink);
    cursor: pointer;
}

.odev-suggest__item:hover,
.odev-suggest__item.is-active {
    background: var(--odev-brand-tint);
    color: var(--odev-brand);
}

.odev-suggest__item mark {
    background: transparent;
    color: var(--odev-brand);
    font-weight: 600;
}

/* Emirate / market pills */
.odev-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.odev-chips--markets {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--odev-ink-10);
}

.odev-chips__label {
    margin-inline-end: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--odev-ink-muted);
}

.odev-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.45rem 1rem;
    border: 1px solid var(--odev-ink-10);
    border-radius: var(--odev-r-pill);
    background: var(--odev-surface);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--odev-ink-72);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--odev-fast) var(--odev-ease),
                color var(--odev-fast) var(--odev-ease),
                border-color var(--odev-fast) var(--odev-ease),
                transform var(--odev-fast) var(--odev-ease);
}

.odev-chip:hover {
    border-color: var(--odev-brand);
    color: var(--odev-brand);
}

.odev-chip:active {
    transform: scale(0.97);
}

.odev-chip:focus-visible {
    outline: none;
    border-color: var(--odev-brand);
    box-shadow: 0 0 0 4px var(--odev-brand-ring);
}

.odev-chip.is-active {
    background: var(--odev-brand);
    border-color: var(--odev-brand);
    color: #fff;
}

.odev-chip__count {
    font-size: 0.8125rem;
    opacity: 0.72;
    font-variant-numeric: tabular-nums;
}

/* Count + sort */
.odev-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.odev-resultbar {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--odev-ink-muted);
    font-variant-numeric: tabular-nums;
}

.odev-resultbar strong {
    font-weight: 600;
    color: var(--odev-ink);
}

.odev-sort__select {
    height: 42px;
    padding-inline: 0.9rem 2.4rem;
    border: 1px solid var(--odev-ink-10);
    border-radius: var(--odev-r-pill);
    background-color: var(--odev-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2b2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
    font-size: 0.9375rem;
    color: var(--odev-ink);
    cursor: pointer;
    transition: border-color var(--odev-fast) var(--odev-ease);
}

[dir="rtl"] .odev-sort__select {
    background-position: left 0.9rem center;
}

.odev-sort__select:hover {
    border-color: rgba(43, 43, 43, 0.24);
}

.odev-sort__select:focus-visible {
    outline: none;
    border-color: var(--odev-brand);
    box-shadow: 0 0 0 4px var(--odev-brand-ring);
}

/* ── Grid ──────────────────────────────────────────────────────── */

.odev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
    gap: 2rem 1.75rem;
}

.odev-empty {
    padding: 4rem 1rem;
    text-align: center;
    color: var(--odev-ink-72);
}

.odev-pagination {
    padding: 3rem 0 0;
}

/* ── Card ──────────────────────────────────────────────────────── */

.odev-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.odev-card[hidden] {
    display: none;
}

.odev-card__panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 2rem 1rem;
    border: 1px solid var(--odev-ink-10);
    border-radius: var(--odev-r-panel);
    background: var(--odev-surface);
    overflow: hidden;
    text-decoration: none;
    transition: border-color var(--odev-mid) var(--odev-ease),
                transform var(--odev-mid) var(--odev-ease),
                box-shadow var(--odev-mid) var(--odev-ease);
}

/* A soft brand wash rises behind the logo on hover. */
.odev-card__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 128, 60, 0) 40%, rgba(0, 128, 60, 0.06) 100%);
    opacity: 0;
    transition: opacity var(--odev-mid) var(--odev-ease);
    pointer-events: none;
}

.odev-card:hover .odev-card__panel {
    border-color: rgba(0, 128, 60, 0.34);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -24px rgba(6, 46, 27, 0.55);
}

.odev-card:hover .odev-card__panel::after {
    opacity: 1;
}

.odev-card:focus-within .odev-card__panel {
    border-color: var(--odev-brand);
    box-shadow: 0 0 0 4px var(--odev-brand-ring);
}

.odev-card__logo {
    position: relative;
    z-index: 1;
    max-width: 200px;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--odev-slow) var(--odev-ease);
}

.odev-card:hover .odev-card__logo {
    transform: scale(1.06);
}

.odev-card__monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--odev-brand-tint);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--odev-brand);
}

.odev-card__tags {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: calc(100% - 2rem);
}

.odev-tag {
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.odev-tag--gold   { background: #fdf1d8; color: #875503; }
.odev-tag--rose   { background: #fce9ef; color: #9b1c46; }
.odev-tag--blue   { background: #e4f1fb; color: #10527f; }
.odev-tag--green  { background: #e2f2e7; color: #1a5c31; }
.odev-tag--violet { background: #eeecfb; color: #443596; }

.odev-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1 1 auto;
    padding: 1.1rem 0.25rem 0;
}

.odev-card__header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.odev-card__name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.odev-card__name a {
    color: var(--odev-ink);
    text-decoration: none;
    transition: color var(--odev-fast) var(--odev-ease);
}

.odev-card__name a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.odev-card:hover .odev-card__name a {
    color: var(--odev-brand);
}

.odev-card__meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--odev-ink-muted);
}

.odev-card__meta svg {
    width: 14px;
    height: 14px;
    color: var(--odev-brand);
}

.odev-card__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--odev-ink-72);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.odev-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.75rem;
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--odev-ink-10);
}

.odev-stat {
    margin: 0;
}

.odev-stat__value {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--odev-ink);
    font-variant-numeric: tabular-nums;
}

.odev-stat__label {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--odev-ink-muted);
}

/* WhatsApp — a real button, not a text link */
.odev-card__wa {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    margin-top: auto;
    padding: 0.6rem 1.15rem;
    border: 1px solid var(--odev-brand);
    border-radius: var(--odev-r-pill);
    background: var(--odev-surface);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--odev-brand);
    text-decoration: none;
    align-self: flex-start;
    overflow: hidden;
    transition: color var(--odev-fast) var(--odev-ease),
                border-color var(--odev-fast) var(--odev-ease),
                transform var(--odev-fast) var(--odev-ease);
}

/* Fill sweeps in from the leading edge. */
.odev-card__wa::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--odev-brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--odev-mid) var(--odev-ease);
    z-index: -1;
}

[dir="rtl"] .odev-card__wa::before {
    transform-origin: right center;
}

.odev-card__wa > * {
    position: relative;
    z-index: 1;
}

.odev-card__wa:hover {
    color: #fff;
    border-color: var(--odev-brand);
}

.odev-card__wa:hover::before {
    transform: scaleX(1);
}

.odev-card__wa:active {
    transform: scale(0.98);
}

.odev-card__wa:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--odev-brand-ring);
}

.odev-card__wa svg {
    width: 17px;
    height: 17px;
}

/* ── Dark brand banner ─────────────────────────────────────────── */

.odev-banner {
    position: relative;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--odev-brand-deep);
    color: #fff;
    overflow: hidden;
}

/* Soft brand glow, purely decorative. */
.odev-banner::before {
    content: "";
    position: absolute;
    top: -40%;
    inset-inline-end: -10%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 154, 68, 0.28) 0%, rgba(0, 154, 68, 0) 68%);
    pointer-events: none;
}

.odev-banner__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, auto);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.odev-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--odev-brand-accent);
}

.odev-banner__eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--odev-brand-accent);
}

/* Proof row under the headline */
.odev-banner__checks {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1.25rem 2rem;
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    padding: clamp(1.5rem, 3vw, 2rem) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    list-style: none;
}

.odev-banner__check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.odev-banner__check svg {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--odev-brand-accent);
}

.odev-banner__check strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
}

.odev-banner__title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: #fff;
    text-wrap: balance;
}

.odev-banner__title span {
    color: var(--odev-brand-accent);
}

.odev-banner__text {
    margin: 0;
    max-width: 56ch;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.odev-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ── Buttons ───────────────────────────────────────────────────── */

.odev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.85rem 1.6rem;
    border-radius: var(--odev-r-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--odev-fast) var(--odev-ease),
                border-color var(--odev-fast) var(--odev-ease),
                color var(--odev-fast) var(--odev-ease),
                transform var(--odev-fast) var(--odev-ease),
                box-shadow var(--odev-fast) var(--odev-ease);
}

.odev-btn:active {
    transform: scale(0.98);
}

.odev-btn svg {
    width: 18px;
    height: 18px;
}

.odev-btn--primary {
    background: var(--odev-brand-logo);
    color: #04220c;
    box-shadow: 0 10px 24px -14px rgba(0, 154, 68, 0.9);
}

.odev-btn--primary:hover {
    background: #00b451;
    color: #04220c;
    box-shadow: 0 14px 28px -14px rgba(0, 154, 68, 1);
}

.odev-btn--primary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.odev-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.odev-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.odev-btn--ghost:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.odev-btn--solid {
    background: var(--odev-brand);
    color: #fff;
    box-shadow: 0 10px 24px -16px rgba(0, 128, 60, 0.9);
}

.odev-btn--solid:hover {
    background: var(--odev-brand-hover);
    color: #fff;
}

.odev-btn--outline {
    border: 1px solid var(--odev-ink-10);
    background: var(--odev-surface);
    color: var(--odev-ink);
    font-variant-numeric: tabular-nums;
}

.odev-btn--outline:hover {
    border-color: var(--odev-brand);
    color: var(--odev-brand);
}

.odev-btn--solid:focus-visible,
.odev-btn--outline:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--odev-brand-ring);
}

/* ── Sections ──────────────────────────────────────────────────── */

.odev-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.odev-section--tint {
    background: var(--odev-ink-04);
}

.odev-section__head {
    margin-bottom: 2rem;
}

.odev-section__title {
    margin: 0;
    font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: var(--odev-ink);
    text-wrap: balance;
}

.odev-section__lede {
    margin: 0.75rem 0 0;
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--odev-ink-72);
}

/* Curated segments */
.odev-segments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
}

.odev-segment {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 210px;
    padding: 1.5rem;
    border: 1px solid var(--odev-ink-10);
    border-radius: var(--odev-r-panel);
    background: var(--odev-surface);
    text-align: start;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: border-color var(--odev-fast) var(--odev-ease),
                transform var(--odev-mid) var(--odev-ease),
                box-shadow var(--odev-mid) var(--odev-ease);
}

.odev-segment:hover {
    border-color: var(--odev-brand);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -26px rgba(6, 46, 27, 0.6);
}

.odev-segment:focus-visible {
    outline: none;
    border-color: var(--odev-brand);
    box-shadow: 0 0 0 4px var(--odev-brand-ring);
}

.odev-segment.is-active {
    border-color: var(--odev-brand);
    background: var(--odev-brand-tint);
}

.odev-segment__title {
    /* Must be block: these are spans inside a button. */
    display: block;
    margin: 0 0 0.6rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--odev-ink);
}

.odev-segment__desc {
    display: block;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--odev-ink-72);
}

.odev-segment__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--odev-brand);
}

.odev-segment__link span {
    transition: transform var(--odev-fast) var(--odev-ease);
}

.odev-segment:hover .odev-segment__link span {
    transform: translateX(4px);
}

[dir="rtl"] .odev-segment__link span {
    transform: scaleX(-1);
}

[dir="rtl"] .odev-segment:hover .odev-segment__link span {
    transform: scaleX(-1) translateX(4px);
}

/* ── FAQ ───────────────────────────────────────────────────────── */

.odev-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.odev-faq__aside {
    position: sticky;
    top: 2rem;
}

.odev-faq__ask {
    margin-top: 1.75rem;
}

.odev-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Each question is its own card — easier to scan than a hairline stack. */
.odev-faq__item {
    border: 1px solid var(--odev-ink-10);
    border-radius: var(--odev-r-panel);
    background: var(--odev-surface);
    overflow: hidden;
    transition: border-color var(--odev-fast) var(--odev-ease),
                box-shadow var(--odev-fast) var(--odev-ease);
}

.odev-faq__item:hover {
    border-color: rgba(0, 128, 60, 0.34);
}

.odev-faq__item[open] {
    border-color: var(--odev-brand);
    box-shadow: 0 16px 34px -28px rgba(6, 46, 27, 0.6);
}

.odev-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 64px;
    padding: 1.15rem 1.35rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--odev-ink);
    cursor: pointer;
    list-style: none;
    transition: color var(--odev-fast) var(--odev-ease);
}

.odev-faq__q::-webkit-details-marker {
    display: none;
}

.odev-faq__q:hover {
    color: var(--odev-brand);
}

.odev-faq__q:focus-visible {
    outline: 2px solid var(--odev-brand);
    outline-offset: -3px;
}

/* Plus that rotates into a minus — unambiguous open/closed state. */
.odev-faq__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--odev-ink-04);
    color: var(--odev-ink-72);
    transition: transform var(--odev-mid) var(--odev-ease),
                background-color var(--odev-fast) var(--odev-ease),
                color var(--odev-fast) var(--odev-ease);
}

.odev-faq__chevron svg {
    width: 16px;
    height: 16px;
}

.odev-faq__q:hover .odev-faq__chevron {
    background: var(--odev-brand-tint);
    color: var(--odev-brand);
}

.odev-faq__item[open] .odev-faq__chevron {
    transform: rotate(135deg);
    background: var(--odev-brand);
    color: #fff;
}

.odev-faq__a {
    padding: 0 1.35rem 1.35rem;
}

.odev-faq__a p {
    margin: 0;
    max-width: 76ch;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--odev-ink-72);
}

/* ── Contact / lead block ──────────────────────────────────────── */

.odev-lead {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.odev-lead__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    padding: clamp(2rem, 4vw, 3.25rem);
    border-radius: 20px;
    background:
        radial-gradient(1200px 400px at 100% 0%, rgba(0, 154, 68, 0.16) 0%, rgba(0, 154, 68, 0) 60%),
        var(--odev-brand-deep);
    color: #fff;
    overflow: hidden;
}

.odev-lead__title {
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: #fff;
    text-wrap: balance;
}

.odev-lead__copy > p {
    margin: 0 0 1.75rem;
    max-width: 52ch;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.odev-lead__points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.odev-lead__point {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.odev-lead__point svg {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--odev-brand-accent);
}

.odev-lead__nap {
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
}

.odev-lead__nap strong {
    display: block;
    font-weight: 600;
    color: #fff;
}

/* Action card */
.odev-lead__card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-self: center;
    padding: 1.75rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.odev-lead__card-title {
    margin: 0 0 0.35rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #fff;
}

.odev-lead__card-note {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.odev-btn--wa {
    background: var(--odev-brand-logo);
    color: #04220c;
    box-shadow: 0 12px 26px -16px rgba(0, 154, 68, 1);
}

.odev-btn--wa:hover {
    background: #00b451;
    color: #04220c;
}

.odev-btn--line {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.odev-btn--line:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.odev-btn--wa:focus-visible,
.odev-btn--line:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Page body injected by the page template */
.odev-pagebody {
    padding: 2rem 0 0;
}

.odev-pagebody__inner {
    max-width: 72ch;
    line-height: 1.7;
    color: var(--odev-ink-72);
}

/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .odev-banner__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .odev-hero__grid {
        grid-template-columns: 1fr;
    }

    .odev-hero__panel {
        position: static;
    }

    .odev-hero__stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 991px) {
    .odev-lead__panel {
        grid-template-columns: 1fr;
    }

    .odev-faq__grid {
        grid-template-columns: 1fr;
    }

    .odev-faq__aside {
        position: static;
    }
}

@media (max-width: 767px) {
    .odev-hero {
        padding-bottom: 1.75rem;
    }

    .odev-filter {
        padding: 1.15rem;
        border-radius: 14px;
    }

    .odev-chips--markets {
        padding-bottom: 0.85rem;
    }

    .odev-filter__row {
        flex-direction: column;
        align-items: stretch;
    }

    /*
     * flex-basis resolves against the MAIN axis, so the desktop
     * `flex: 1 1 420px` would become a 420px HEIGHT once the row is a column,
     * detaching the absolutely-positioned icon and clear button.
     */
    .odev-search {
        flex: 0 0 auto;
        max-width: none;
    }

    .odev-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: -15px;
        padding-inline: 15px;
        padding-bottom: 0.25rem;
        scroll-snap-type: x proximity;
    }

    .odev-chips::-webkit-scrollbar {
        display: none;
    }

    .odev-chip {
        scroll-snap-align: start;
    }

    .odev-meta {
        justify-content: space-between;
    }

    .odev-sort__select {
        max-width: 60vw;
    }

    .odev-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
        gap: 1.75rem 1.25rem;
    }

    .odev-card__panel {
        height: 168px;
    }

    .odev-lead__card {
        padding: 1.25rem;
    }
}

@media (max-width: 560px) {
    .odev-grid {
        grid-template-columns: 1fr;
    }

    .odev-hero__panel {
        padding: 1.25rem;
    }

    /* Explicit 2-up: an auto-fit min track can't fit two columns once the
       panel padding is subtracted, and four stats stacked is a long scroll. */
    .odev-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .odev-card__panel {
        height: 152px;
        padding: 1.5rem 1rem;
    }

    .odev-card__logo {
        max-height: 54px;
    }

    .odev-card__wa {
        width: 100%;
    }

    .odev-banner__actions .odev-btn,
    .odev-lead__card .odev-btn {
        width: 100%;
    }
}

/* ── Preferences ───────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .odev *,
    .odev *::before,
    .odev *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .odev [data-odev-reveal] {
        opacity: 1;
        transform: none;
    }

    .odev-card:hover .odev-card__panel,
    .odev-card:hover .odev-card__logo,
    .odev-segment:hover {
        transform: none;
    }
}

@media (prefers-contrast: more) {
    .odev {
        --odev-ink-72: rgba(43, 43, 43, 0.92);
        --odev-ink-muted: rgba(43, 43, 43, 0.82);
        --odev-ink-10: rgba(43, 43, 43, 0.42);
    }
}
