/* Ömer Döviz — public home (gold-forward palette) */
:root {
    --topbar-offset: 56px;
    --ink: #1c1917;
    --ink-muted: #57534e;
    --surface: #faf7f0;
    --white: #ffffff;
    /* Gold scale */
    --gold: #c9a227;
    --gold-bright: #e3c76d;
    --gold-deep: #8b6914;
    --gold-dark: #5c4a0f;
    --gold-mid: #b8941f;
    --gold-soft: #f5efd9;
    --gold-glow: rgba(201, 162, 39, 0.35);
    /* UI tokens (mapped to gold) */
    --primary: #8b6914;
    --primary-hover: #6b530f;
    --accent: var(--gold);
    --accent-soft: var(--gold-soft);
    --border: #e8e0d0;
    --shadow: 0 12px 40px rgba(28, 25, 23, 0.09);
    --radius: 10px;
    --max: 1200px;
    --header-h: 72px;
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--surface);
}

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

a:hover {
    text-decoration: underline;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wrap {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* Top bar */
.topbar {
    background: linear-gradient(90deg, #0c0a09 0%, #1c1917 50%, #0c0a09 100%);
    color: #d6d3d1;
    font-size: 13px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.topbar .wrap,
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 36px;
    gap: 0.65rem 1.25rem;
    padding-block: 0.35rem;
}

.topbar__ltr {
    direction: ltr;
    unicode-bidi: isolate;
}

.topbar a {
    color: var(--gold-bright);
}

.topbar a:hover {
    color: #fffef5;
}

.topbar__contact {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1 1 220px;
    min-width: 0;
    line-height: 1.35;
}

.topbar__contact-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.35rem;
    font-size: 12px;
}

.topbar__contact-line--meta {
    color: #a8a29e;
    font-size: 11px;
}

.topbar__dot {
    opacity: 0.55;
    user-select: none;
}

.topbar__hours,
.topbar__tagline {
    white-space: normal;
}

.topbar__end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.25rem;
}

.topbar__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 900px) {
    .topbar__contact {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 0.65rem;
    }

    .topbar__contact-line--meta::before {
        content: "·";
        opacity: 0.55;
        margin-inline-end: 0.35rem;
        user-select: none;
    }
}

@media (max-width: 767px) {
    .topbar .wrap,
    .topbar__inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.5rem 0.75rem;
    }

    .topbar__contact {
        flex: 0 1 auto;
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .topbar__contact-line,
    .topbar__contact-line--meta {
        justify-content: center;
    }

    .topbar__end {
        justify-content: center;
        width: 100%;
    }

    .topbar__links {
        justify-content: center;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #fffef9 0%, #fffdfb 100%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(201, 162, 39, 0.12);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--gold-dark);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
    color: var(--gold-deep);
}

.logo__mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(145deg, #e8c547 0%, #c9a227 45%, #8b6914 100%);
    box-shadow: 0 2px 8px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: grid;
    place-items: center;
    color: #1c1917;
    font-size: 14px;
    font-weight: 800;
}

.logo__img {
    height: 48px;
    width: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
    display: block;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
    text-decoration: none;
}

.btn--ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--ink);
}

.btn--ghost:hover {
    background: var(--gold-soft);
    border-color: #d4c4a8;
}

.btn--primary {
    background: linear-gradient(180deg, #e3c76d 0%, #c9a227 48%, #b8941f 100%);
    color: #1c1917;
    border-color: rgba(139, 105, 20, 0.35);
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.08);
}

.btn--primary:hover {
    background: linear-gradient(180deg, #edd88a 0%, #d4af37 50%, #c9a227 100%);
    color: #0c0a09;
}

.btn--menu {
    display: none;
    padding: 0.5rem 0.65rem;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink-muted);
}

.icon-btn:hover {
    background: var(--gold-soft);
    border-color: #d4c4a8;
    color: var(--gold-deep);
}

a.icon-btn {
    text-decoration: none;
    color: var(--ink-muted);
    box-sizing: border-box;
}

a.icon-btn:hover {
    color: var(--gold-deep);
}

/* Main nav */
.nav-main {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, #fffdfb 0%, #faf7f0 100%);
}

.nav-main .wrap {
    display: flex;
    align-items: stretch;
}

.nav-main__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.15rem;
    flex: 1;
}

.nav-main__item {
    position: relative;
}

.nav-main__trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.85rem 0.75rem;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.nav-main__trigger:hover,
.nav-main__item:hover .nav-main__trigger {
    color: var(--primary);
}

.nav-main__chev {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.nav-main__panel {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 280px;
    max-width: min(520px, 92vw);
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 50;
}

.nav-main__item:hover .nav-main__panel,
.nav-main__item:focus-within .nav-main__panel {
    display: block;
}

.nav-main__panel h3 {
    margin: 0 0 0.5rem;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
}

.nav-main__panel ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.nav-main__panel li {
    margin-bottom: 0.35rem;
}

.nav-main__panel a {
    font-size: 14px;
    color: var(--ink);
}

.nav-main__panel a:hover {
    color: var(--primary);
}

/* Flat primary navigation */
.nav-main--simple .nav-main__list--flat {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.5rem;
    padding-block: 0.15rem;
}

.nav-main__flat-item {
    list-style: none;
}

.nav-main__link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 0.65rem;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border-radius: var(--radius);
    white-space: nowrap;
}

.nav-main__link:hover {
    color: var(--primary);
    background: rgba(201, 162, 39, 0.12);
}

.section--muted {
    background: linear-gradient(180deg, #faf7f0 0%, #fffefb 100%);
}

.section__lead {
    margin: 0;
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-muted);
}

.news-card__meta {
    display: block;
    margin-top: 0.75rem;
    font-size: 12px;
    color: var(--ink-muted);
}

.cards-row--news {
    margin-top: 0.5rem;
}

/* Promo strip */
.promo-strip {
    background: linear-gradient(90deg, #5c4a0f 0%, #8b6914 35%, #b8941f 70%, #8b6914 100%);
    color: #fffef5;
    font-size: 14px;
    border-block: 1px solid rgba(255, 254, 245, 0.12);
}

.promo-strip .wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 44px;
    text-align: center;
}

.promo-strip a {
    color: #fff8cc;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.promo-strip a:hover {
    color: var(--white);
}

/* Hero */
.hero {
    background: var(--surface);
    padding: 0 0 2.5rem;
}

/* Full-bleed slider (viewport width); text inside slides uses .wrap */
.hero__slider-bleed {
    width: 100%;
}

.hero__slider {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: var(--ink);
    min-height: 280px;
    box-shadow: none;
}

@media (min-width: 900px) {
    .hero__slider {
        min-height: 360px;
    }
}

.hero__slide {
    display: none;
    position: relative;
    padding: 2rem 0;
    min-height: 280px;
    color: var(--white);
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero__slide__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #1c1917;
}

.hero__slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero__slide__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__slide__scrim--1 {
    background-image:
        linear-gradient(90deg, rgba(12, 10, 9, 0.58) 0%, rgba(12, 10, 9, 0.12) 52%, transparent 72%),
        linear-gradient(125deg, rgba(28, 25, 23, 0.42) 0%, rgba(45, 36, 18, 0.28) 100%),
        radial-gradient(circle at 85% 12%, rgba(227, 199, 109, 0.22), transparent 48%),
        radial-gradient(circle at 8% 88%, rgba(201, 162, 39, 0.12), transparent 52%);
}

.hero__slide__scrim--2 {
    background-image:
        linear-gradient(90deg, rgba(12, 10, 9, 0.6) 0%, rgba(12, 10, 9, 0.14) 50%, transparent 70%),
        linear-gradient(125deg, rgba(12, 10, 9, 0.45) 0%, rgba(40, 32, 12, 0.3) 100%),
        radial-gradient(circle at 22% 28%, rgba(201, 162, 39, 0.2), transparent 46%),
        radial-gradient(circle at 78% 78%, rgba(184, 148, 31, 0.14), transparent 55%);
}

.hero__slide__scrim--3 {
    background-image:
        linear-gradient(90deg, rgba(12, 10, 9, 0.55) 0%, rgba(12, 10, 9, 0.1) 48%, transparent 68%),
        linear-gradient(125deg, rgba(18, 16, 14, 0.4) 0%, rgba(55, 44, 12, 0.26) 100%),
        radial-gradient(circle at 50% 45%, rgba(232, 197, 71, 0.14), transparent 62%);
}

.hero__slide__body {
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (min-width: 900px) {
    .hero__slide {
        min-height: 360px;
        padding: 2.5rem 0;
    }
}

.hero__slide.is-active {
    display: flex;
}

.hero__slide h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    max-width: 22ch;
    text-shadow:
        0 1px 2px rgba(12, 10, 9, 0.85),
        0 2px 24px rgba(12, 10, 9, 0.55),
        0 0 40px rgba(12, 10, 9, 0.35);
}

.hero__slide p {
    margin: 0 0 1.25rem;
    opacity: 0.96;
    max-width: 40ch;
    font-size: 15px;
    text-shadow:
        0 1px 2px rgba(12, 10, 9, 0.8),
        0 2px 16px rgba(12, 10, 9, 0.45);
}

.hero__slide .btn {
    align-self: flex-start;
    background: linear-gradient(180deg, #e3c76d 0%, #c9a227 55%, #b8941f 100%);
    color: #1c1917;
    border: 1px solid rgba(255, 254, 245, 0.35);
    font-weight: 700;
}

.hero__slide .btn:hover {
    background: linear-gradient(180deg, #f0dfa0 0%, #d4af37 55%, #c9a227 100%);
    color: #0c0a09;
}

.hero__controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.hero__dot.is-active {
    background: var(--gold-bright);
    box-shadow: 0 0 0 2px rgba(255, 254, 245, 0.5);
    transform: scale(1.15);
}

.hero__arrows {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
    pointer-events: none;
    z-index: 2;
}

.hero__arrow {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(4px);
}

.hero__arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero__under {
    padding-top: 1.5rem;
}

.hero__side {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero__side-heading {
    margin: 0 0 0.15rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.quick-card {
    background: linear-gradient(180deg, #fffef9 0%, #fffdfb 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(28, 25, 23, 0.05);
}

.quick-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 0.2rem;
}

.quick-card span {
    font-size: 13px;
    color: var(--ink-muted);
}

.quick-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(145deg, #f5efd9, #e8d9a8);
    color: var(--gold-deep);
    border: 1px solid rgba(201, 162, 39, 0.35);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

/* Category grid */
.section {
    padding: 2.5rem 0;
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section__head h2 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--gold-dark);
}

.section__head a {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

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

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

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

.cat-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem;
    background: linear-gradient(180deg, #fffef9 0%, #fffdfb 100%);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cat-card:hover {
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: var(--shadow), 0 0 0 1px rgba(201, 162, 39, 0.08);
}

.cat-card h3 {
    margin: 0 0 0.35rem;
    font-size: 15px;
    color: var(--gold-deep);
}

.cat-card p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-muted);
}

/* Döviz tablosu + çevirici */
.fx-section {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.fx-section--hero {
    border-top: 1px solid var(--border);
    border-bottom: none;
    padding-top: 1.5rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

.fx-section__head {
    flex-wrap: wrap;
}

.fx-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-deep);
}

.fx-disclaimer {
    margin: 0 0 1.5rem;
    font-size: 13px;
    color: var(--ink-muted);
    max-width: 72ch;
    line-height: 1.5;
}

.fx-disclaimer a {
    color: var(--gold-deep);
    font-weight: 600;
}

.fx-layout {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 960px) {
    .fx-layout {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.fx-table-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fffef9 0%, #fffdfb 100%);
    overflow: hidden;
}

.fx-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.fx-table th,
.fx-table td {
    padding: 0.65rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.fx-table th {
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fx-table tbody tr:hover {
    background: rgba(201, 162, 39, 0.06);
}

.fx-table td:nth-child(2),
.fx-table td:nth-child(3) {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fx-pair-title {
    font-weight: 700;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
}

.fx-pair-code {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-deep);
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

.fx-calc {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    background: linear-gradient(180deg, #fffef9 0%, #faf7f0 100%);
    box-shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
}

.fx-calc__title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    color: var(--gold-dark);
}

.fx-calc__note {
    margin: 0 0 1.1rem;
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.45;
}

.fx-field {
    margin-bottom: 0.85rem;
}

.fx-field__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-muted);
    margin-bottom: 0.35rem;
}

.fx-field__input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: var(--white);
    color: var(--ink);
}

.fx-field__input:focus {
    outline: 2px solid rgba(201, 162, 39, 0.45);
    outline-offset: 1px;
}

.fx-calc__submit {
    width: 100%;
    margin-top: 0.25rem;
}

.fx-result {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: var(--gold-soft);
    border: 1px solid rgba(201, 162, 39, 0.35);
    font-size: 15px;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.fx-result__value {
    font-weight: 800;
    font-size: 1.25rem;
    font-variant-numeric: tabular-nums;
    color: var(--gold-dark);
}

.fx-result__currency {
    font-weight: 700;
    color: var(--ink-muted);
}

.fx-error {
    padding: 1rem 1.15rem;
    border-radius: var(--radius);
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 14px;
}

/* Feature cards row */
.cards-row {
    display: grid;
    gap: 1rem;
}

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

.feature-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.35rem;
    background: linear-gradient(180deg, #fffef9 0%, #faf7f0 100%);
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 16px;
    color: var(--gold-dark);
}

.feature-card p {
    margin: 0 0 1rem;
    font-size: 14px;
    color: var(--ink-muted);
}

.feature-card .link {
    font-weight: 600;
    font-size: 14px;
    color: var(--gold-deep);
}

.feature-card .link:hover {
    color: var(--gold-mid);
}

/* FAQ */
.faq {
    background: var(--surface);
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
}

details.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fffef9 0%, #fffdfb 100%);
    margin-bottom: 0.65rem;
    padding: 0 1rem;
}

details.faq__item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 1rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

details.faq__item summary::-webkit-details-marker {
    display: none;
}

details.faq__item[open] summary {
    border-bottom: 1px solid var(--border);
}

details.faq__item .faq__body {
    padding: 0.85rem 0 1rem;
    font-size: 14px;
    color: var(--ink-muted);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0c0a09 0%, #1c1917 40%, #0c0a09 100%);
    color: #a8a29e;
    font-size: 13px;
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.site-footer a {
    color: #e7e5e4;
}

.site-footer a:hover {
    color: var(--gold-bright);
}

.footer__intro {
    display: grid;
    gap: 1.5rem 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "brand"
        "contact"
        "linkcol"
        "legalcol";
    align-items: start;
}

.footer__intro--no-logo {
    grid-template-areas:
        "contact"
        "linkcol"
        "legalcol";
}

.footer__brand {
    grid-area: brand;
}

.footer__contact-block {
    grid-area: contact;
}

.footer__col--links {
    grid-area: linkcol;
}

.footer__col--legal {
    grid-area: legalcol;
}

@media (min-width: 640px) and (max-width: 959px) {
    .footer__intro:not(.footer__intro--no-logo) {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "brand contact"
            "linkcol legalcol";
    }

    .footer__intro--no-logo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "contact contact"
            "linkcol legalcol";
    }
}

@media (min-width: 960px) {
    .footer__intro:not(.footer__intro--no-logo) {
        grid-template-columns: auto minmax(200px, 1.2fr) minmax(140px, auto) minmax(150px, auto);
        grid-template-areas: "brand contact linkcol legalcol";
        gap: 1.25rem 2rem;
    }

    .footer__intro--no-logo {
        grid-template-columns: minmax(220px, 1.2fr) minmax(140px, auto) minmax(150px, auto);
        grid-template-areas: "contact linkcol legalcol";
        gap: 1.25rem 2rem;
    }
}

.footer__intro .footer__brand {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.footer__contact-heading {
    margin: 0 0 0.85rem;
    color: var(--gold-bright);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__contact-details li {
    margin-bottom: 0.55rem;
    font-size: 14px;
    line-height: 1.45;
}

.footer__contact-details li:last-child {
    margin-bottom: 0;
}

.footer__contact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(231, 229, 228, 0.65);
    margin-bottom: 0.2rem;
}

.footer__contact-hours {
    display: block;
    color: #e7e5e4;
}

.footer__logo-link {
    display: inline-block;
    text-decoration: none;
}

.footer__logo-link:hover {
    text-decoration: none;
    opacity: 0.92;
}

.footer__logo {
    height: 56px;
    width: auto;
    max-width: min(260px, 70vw);
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footer__col h4 {
    margin: 0 0 0.85rem;
    color: var(--gold-bright);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__col li {
    margin-bottom: 0.45rem;
}

.footer__bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* Mobile nav overlay */
@media (max-width: 1023px) {
    /* After .btn { display: inline-flex } — needs higher specificity than .btn alone */
    .header__actions .header__btn-admin {
        display: none;
    }

    .btn--menu {
        display: inline-flex;
    }

    .nav-main {
        display: none;
        position: fixed;
        inset: 0;
        top: calc(var(--topbar-offset) + var(--header-h));
        background: var(--surface);
        border: none;
        overflow-y: auto;
        z-index: 90;
    }

    .nav-main.is-open {
        display: block;
    }

    .nav-main .wrap {
        flex-direction: column;
        padding-block: 1rem;
    }

    .nav-main__list {
        flex-direction: column;
        gap: 0;
    }

    .nav-main__item {
        border-bottom: 1px solid var(--border);
    }

    .nav-main__trigger {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 0;
    }

    .nav-main__panel {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding: 0 0 1rem 0.5rem;
        max-width: none;
    }

    .nav-main__item:not(.is-open) .nav-main__panel {
        display: none;
    }

    .nav-main--simple .nav-main__list--flat {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding-block: 0;
    }

    .nav-main--simple .nav-main__flat-item {
        border-bottom: 1px solid var(--border);
    }

    .nav-main--simple .nav-main__link {
        display: flex;
        width: 100%;
        padding: 1rem 1rem;
        border-radius: 0;
        white-space: normal;
        line-height: 1.4;
        min-height: 3rem;
        align-items: center;
        text-align: start;
        box-sizing: border-box;
    }

    .nav-main--simple .nav-main__link:hover {
        background: transparent;
    }

    /* RTL global rule below was winning over column layout — force stack on small screens */
    html[dir="rtl"] .nav-main--simple .nav-main__list--flat {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    html[dir="rtl"] .nav-main .wrap {
        padding-inline: 1rem;
    }
}

body.nav-open {
    overflow: hidden;
}

/* Newsletter */
.section--newsletter {
    background: linear-gradient(180deg, #fffef9 0%, #f5efd9 45%, #faf7f0 100%);
    border-block: 1px solid var(--border);
}

.newsletter__inner {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.newsletter__copy h2 {
    margin: 0 0 0.65rem;
    font-size: 1.45rem;
    color: var(--gold-dark);
}

.newsletter__lead {
    margin: 0 0 1.5rem;
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.6;
    text-wrap: balance;
}

.newsletter__form {
    text-align: start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
}

.newsletter__msg {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.newsletter__msg--success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.newsletter__msg--info {
    background: var(--gold-soft);
    color: var(--gold-dark);
    border: 1px solid rgba(201, 162, 39, 0.45);
}

.newsletter__msg--error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.newsletter__label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0.45rem;
    color: var(--ink);
}

.newsletter__fields {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (min-width: 520px) {
    .newsletter__fields {
        flex-direction: row;
        align-items: stretch;
    }

    .newsletter__input {
        flex: 1;
        min-width: 0;
    }

    .newsletter__btn {
        flex-shrink: 0;
    }
}

.newsletter__input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 15px;
    background: #fffefb;
}

.newsletter__input:focus {
    outline: 2px solid rgba(201, 162, 39, 0.45);
    outline-offset: 1px;
    border-color: var(--gold-mid);
}

.newsletter__hint {
    margin: 0.85rem 0 0;
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.45;
}

html[dir="rtl"] .newsletter__form {
    text-align: right;
}

/* Contact form → WhatsApp */
.section--contact-wa {
    background: linear-gradient(180deg, #faf7f0 0%, #fffefb 100%);
    border-block: 1px solid var(--border);
}

.contact-wa__inner {
    max-width: 560px;
    margin-inline: auto;
}

.contact-wa__copy {
    text-align: center;
    margin-bottom: 1.35rem;
}

.contact-wa__copy h2 {
    margin: 0 0 0.65rem;
    font-size: 1.45rem;
    color: var(--gold-dark);
}

.contact-wa__lead {
    margin: 0;
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.6;
    text-wrap: balance;
}

.contact-wa__form {
    text-align: start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
}

.contact-wa__field {
    margin-bottom: 1rem;
}

.contact-wa__field:last-of-type {
    margin-bottom: 0.85rem;
}

.contact-wa__label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0.45rem;
    color: var(--ink);
}

.contact-wa__input,
.contact-wa__textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 15px;
    background: #fffefb;
    color: var(--ink);
}

.contact-wa__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.contact-wa__input:focus,
.contact-wa__textarea:focus {
    outline: 2px solid rgba(201, 162, 39, 0.45);
    outline-offset: 1px;
    border-color: var(--gold-mid);
}

.contact-wa__submit {
    width: 100%;
    margin-top: 0.25rem;
    padding-block: 0.65rem;
}

.contact-wa__hint {
    margin: 0.85rem 0 0;
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.45;
}

html[dir="rtl"] .contact-wa__form {
    text-align: right;
}

/* News (list, article, home cards) */
.feature-card--news {
    padding: 0;
    overflow: hidden;
}

.feature-card--news .feature-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 1.1rem 1.15rem;
    color: inherit;
    text-decoration: none;
    gap: 0.35rem;
}

.feature-card--news .feature-card__link:hover {
    text-decoration: none;
}

.feature-card--news .feature-card__link:hover h3 {
    color: var(--primary);
}

.news-card__thumb {
    margin: -1rem -1.1rem 0.65rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gold-soft);
}

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

.news-card__read {
    display: inline-block;
    margin-inline-start: 0.35rem;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
}

.news-home__empty {
    margin: 0;
    color: var(--ink-muted);
}

.news-breadcrumb {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
}

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

.news-breadcrumb__sep {
    margin-inline: 0.35rem;
    opacity: 0.5;
}

.news-breadcrumb__current {
    color: var(--ink-muted);
}

.section--news-index .section__head h1 {
    margin: 0 0 1.5rem;
    font-size: 1.65rem;
    color: var(--gold-dark);
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-teaser {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fffef9 0%, #fffdfb 100%);
    box-shadow: 0 4px 20px rgba(28, 25, 23, 0.05);
    overflow: hidden;
}

.news-teaser__link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    color: inherit;
    text-decoration: none;
}

@media (min-width: 720px) {
    .news-teaser__link {
        grid-template-columns: minmax(200px, 320px) 1fr;
    }
}

.news-teaser__media {
    aspect-ratio: 16 / 9;
    background: var(--gold-soft);
    min-height: 160px;
}

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

.news-teaser__body {
    padding: 1.1rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.news-teaser__title {
    margin: 0;
    font-size: 1.15rem;
    color: var(--gold-dark);
}

.news-teaser__date {
    font-size: 12px;
    color: var(--ink-muted);
}

.news-teaser__excerpt {
    margin: 0;
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.news-teaser__cta {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    margin-top: 0.25rem;
}

.news-teaser__link:hover .news-teaser__title {
    color: var(--primary);
}

.news-pagination {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.news-pagination__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.news-pagination__link {
    font-weight: 600;
    color: var(--primary);
}

.news-pagination__meta {
    font-size: 14px;
    color: var(--ink-muted);
}

.news-pagination__disabled {
    font-size: 14px;
    color: #a8a29e;
}

.wrap--article {
    max-width: 760px;
}

.article-header__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.2;
    color: var(--gold-dark);
}

.article-header__date {
    display: block;
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
}

.article-figure {
    margin: 0 0 1.75rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.article-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.article-prose {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
}

.article-prose p {
    margin: 0 0 1rem;
}

.article-prose h2,
.article-prose h3 {
    margin: 1.5rem 0 0.65rem;
    font-size: 1.2rem;
    color: var(--gold-dark);
}

.article-prose ul,
.article-prose ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.article-prose a {
    color: var(--primary);
    font-weight: 600;
}

.article-back {
    margin: 2.5rem 0 0;
}

/* Search */
.section--search {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.wrap--search {
    max-width: 900px;
}

.search-page__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    color: var(--gold-dark);
}

.search-page__lead {
    margin: 0 0 1.25rem;
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.55;
}

.search-page__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.search-page__input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
}

.search-page__input:focus {
    outline: 2px solid rgba(212, 175, 55, 0.45);
    outline-offset: 1px;
    border-color: #d4af37;
}

.search-page__submit {
    flex: 0 0 auto;
}

.search-page__hint,
.search-page__empty {
    margin: 0;
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.search-page__hint--warn {
    color: #b45309;
}

.search-page__form + .search-block {
    margin-top: 0.25rem;
}

.search-block + .search-block {
    margin-top: 2.25rem;
}

.search-block__title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: var(--gold-dark);
}

.search-pair-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.search-pair-list__item {
    margin: 0;
}

.search-pair-list__link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fffef9 0%, #fffdfb 100%);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-pair-list__link:hover {
    border-color: #d4c4a8;
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.07);
}

.search-pair-list__code {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gold-dark);
    font-variant-numeric: tabular-nums;
}

.search-pair-list__name {
    flex: 1 1 140px;
    color: var(--ink-muted);
    font-size: 14px;
}

.search-pair-list__meta {
    font-size: 13px;
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
}

.search-pair-list__cta {
    margin-inline-start: auto;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
}

@media (max-width: 540px) {
    .search-pair-list__link {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-pair-list__cta {
        margin-inline-start: 0;
    }
}

html[dir="rtl"] .search-page__form {
    text-align: right;
}

/* Legal (privacy, cookies) */
.section--legal {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.wrap--legal {
    max-width: 720px;
}

.legal-page__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    color: var(--gold-dark);
}

.legal-page__updated {
    margin: 0 0 1.75rem;
    font-size: 13px;
    color: var(--ink-muted);
}

.legal-prose h2 {
    margin: 1.75rem 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.legal-prose h2:first-of-type {
    margin-top: 0;
}

.legal-prose p {
    margin: 0 0 0.85rem;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
}

.legal-contact-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
}

.legal-contact-line__label {
    font-weight: 600;
    color: var(--gold-dark);
}

.legal-contact-line .legal-contact-line__value {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.legal-contact-line .legal-contact-line__value:hover {
    text-decoration: underline;
}

html[dir="rtl"] .legal-contact-line {
    text-align: start;
}

.legal-page__back {
    margin: 2.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

html[dir="rtl"] .news-teaser__link {
    direction: rtl;
}

html[dir="rtl"] .article-prose ul,
html[dir="rtl"] .article-prose ol {
    margin-inline-start: 0;
    margin-inline-end: 1.25rem;
}

/* RTL (Arabic) */
html[dir="rtl"] body {
    font-family: "Cairo", system-ui, sans-serif;
}

.topbar__lang {
    gap: 0.65rem;
    align-items: center;
}

.topbar__lang a,
.topbar__lang-active {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.topbar__lang-active {
    color: #fffef5;
    opacity: 0.95;
}

/* Native flex row under html[dir="rtl"] packs from the inline-start edge (right); avoid row-reverse — it double-reverses and mimics LTR. */

html[dir="rtl"] .fx-layout {
    direction: rtl;
}

html[dir="rtl"] .footer__intro {
    direction: rtl;
}

html[dir="rtl"] .fx-table th,
html[dir="rtl"] .fx-table td {
    text-align: right;
}

html[dir="rtl"] .hero__arrows {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero__controls {
    direction: ltr;
}

/* Arabic / RTL: titles and labels (no fake “caps” spacing — breaks joining script) */
html[dir="rtl"] .nav-main__link,
html[dir="rtl"] .nav-main__panel h3,
html[dir="rtl"] .hero__side-heading,
html[dir="rtl"] .fx-table th,
html[dir="rtl"] .footer__contact-heading,
html[dir="rtl"] .footer__contact-label,
html[dir="rtl"] .footer__col h4 {
    letter-spacing: normal;
    text-transform: none;
}

html[dir="rtl"] .hero__slide {
    direction: rtl;
}

html[dir="rtl"] .hero__slide .btn {
    align-self: start;
}

html[dir="rtl"] .section__head {
    flex-direction: row;
}

html[dir="rtl"] .section__head h1,
html[dir="rtl"] .section__head h2,
html[dir="rtl"] .section__head a,
html[dir="rtl"] .fx-section__head h2,
html[dir="rtl"] .hero__side-heading,
html[dir="rtl"] .cat-card h3,
html[dir="rtl"] .cat-card p,
html[dir="rtl"] .feature-card h3,
html[dir="rtl"] .feature-card p,
html[dir="rtl"] .quick-card strong,
html[dir="rtl"] .quick-card span,
html[dir="rtl"] .hero__slide h2,
html[dir="rtl"] .hero__slide p,
html[dir="rtl"] .fx-disclaimer,
html[dir="rtl"] .section__lead,
html[dir="rtl"] details.faq__item summary,
html[dir="rtl"] .faq__item .faq__body,
html[dir="rtl"] .article-header__title,
html[dir="rtl"] .article-prose p,
html[dir="rtl"] .article-prose h2,
html[dir="rtl"] .article-prose h3,
html[dir="rtl"] .legal-page__title,
html[dir="rtl"] .legal-page__updated,
html[dir="rtl"] .legal-prose h2,
html[dir="rtl"] .legal-prose p,
html[dir="rtl"] .news-teaser__title,
html[dir="rtl"] .news-teaser__excerpt,
html[dir="rtl"] .news-teaser__date,
html[dir="rtl"] .news-teaser__cta,
html[dir="rtl"] .fx-pair-title {
    text-align: start;
}

html[dir="rtl"] .feature-card,
html[dir="rtl"] .cat-card {
    text-align: start;
}

/* Desktop only: RTL primary nav packs from inline start; mobile column is set in max-width:1023px block */
@media (min-width: 1024px) {
    html[dir="rtl"] .nav-main--simple .nav-main__list--flat {
        flex-direction: row;
        justify-content: flex-start;
    }
}

html[dir="rtl"] .news-breadcrumb,
html[dir="rtl"] .news-pagination__meta {
    text-align: start;
}

html[dir="rtl"] .fx-pair-code {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: start;
}

html[dir="rtl"] .newsletter__copy {
    direction: rtl;
}

html[dir="rtl"] .newsletter__copy h2,
html[dir="rtl"] .newsletter__lead {
    text-align: center;
}

