/* ============================================================
 PHARMAKOLOGY — pages.css
 Styles for new page types (pricing, ebook, cohort, checkout, booking, FAQ, etc.)
 Mobile-first additions on top of styles.css
 ============================================================ */

/* ---- Kill italics globally; we use weight + size for emphasis ---- */
i, em, .italic, h1 em, h2 em, h3 em { font-style: normal !important; }

/* ---- Latin/tabular numerals everywhere prices appear ---- */
[data-price-usd], .numeric-ui, .price, .stat-value, .ccy-toggle button, .mobile-currency button {
 font-variant-numeric: tabular-nums lining-nums;
 font-feature-settings: "tnum" 1, "lnum" 1;
 font-family: var(--latin-num);
}

/* ---- Readiness 1–10 picker ---- */
.field-val {
 display: inline-block;
 min-width: 1.4em;
 padding: 0 .35em;
 margin-inline-start: .25em;
 font-family: var(--latin-num);
 font-variant-numeric: tabular-nums lining-nums;
 font-weight: 700;
 color: var(--accent);
}
.readiness {
 display: grid;
 grid-template-columns: repeat(10, 1fr);
 gap: 6px;
 margin-top: .5rem;
 direction: ltr;
}
.readiness-dot {
 -webkit-appearance: none; appearance: none;
 border: 1px solid var(--rule-strong);
 background: var(--white);
 color: var(--grey-600);
 font-family: var(--latin-num);
 font-variant-numeric: tabular-nums lining-nums;
 font-weight: 600;
 font-size: 0.92rem;
 height: 44px;
 border-radius: 10px;
 cursor: pointer;
 display: flex; align-items: center; justify-content: center;
 transition: var(--t-fast);
 touch-action: manipulation;
}
.readiness-dot:hover { border-color: var(--accent); color: var(--ink); }
.readiness-dot.is-on {
 background: var(--accent);
 border-color: var(--accent);
 color: var(--white);
 box-shadow: 0 4px 12px rgba(74,126,142,0.25);
}
.readiness-legend {
 display: flex; justify-content: space-between;
 margin-top: .5rem;
 font-size: 0.78rem;
 color: var(--grey-500);
 direction: ltr;
}
@media (max-width: 460px) {
 .readiness { gap: 4px; }
 .readiness-dot { height: 40px; font-size: 0.86rem; border-radius: 8px; }
 .readiness-legend { font-size: 0.72rem; }
}

/* ---- WhatsApp icon image ---- */
.wa-icon { width: 20px; height: 20px; object-fit: contain; display: inline-block; }
.btn-whats .wa-icon { filter: brightness(0) invert(1); width: 18px; height: 18px; }
.fab-whats .wa-icon { width: 30px; height: 30px; filter: brightness(0) invert(1); }

/* ---- Currency toggle ---- */
.ccy-toggle {
 display: inline-flex;
 border: 1px solid var(--rule-strong);
 border-radius: 999px;
 overflow: hidden;
 background: var(--white);
}
.ccy-toggle button {
 border: 0; background: transparent;
 padding: 0.42rem 0.7rem;
 font-size: 0.74rem;
 font-weight: 600;
 color: var(--grey-500);
 letter-spacing: 0.04em;
 transition: var(--t-fast);
 border-inline-end: 1px solid var(--rule);
}
.ccy-toggle button:last-child { border-inline-end: 0; }
.ccy-toggle button.active { background: var(--ink); color: var(--paper); }
.ccy-toggle button:hover:not(.active) { background: var(--paper-2); color: var(--ink); }

@media (max-width: 900px) {
 .ccy-toggle { display: none; }
}

.mobile-currency {
 display: inline-flex;
 margin-top: 1.4rem;
 border: 1px solid var(--rule-strong);
 border-radius: 12px;
 overflow: hidden;
}
.mobile-currency button {
 border: 0; background: transparent;
 padding: 0.55rem 0.95rem;
 font-size: 0.8rem;
 font-weight: 600;
 color: var(--grey-500);
 border-inline-end: 1px solid var(--rule);
}
.mobile-currency button:last-child { border-inline-end: 0; }
.mobile-currency button.active { background: var(--ink); color: var(--paper); }

/* ---- Mega menu (desktop) ---- */
.has-mega { position: relative; }
.has-mega > .mega {
 position: absolute;
 top: calc(100% + 0.5rem);
 inset-inline-start: -1rem;
 width: 660px;
 background: var(--white);
 border: 1px solid var(--rule);
 border-radius: 14px;
 padding: 1.4rem;
 box-shadow: var(--shadow-2);
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 1.2rem;
 opacity: 0;
 visibility: hidden;
 transform: translateY(-6px);
 transition: var(--t-fast);
 z-index: 60;
}
.has-mega:hover > .mega,
.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col h6 {
 font-family: var(--sans);
 font-size: 0.7rem;
 text-transform: uppercase;
 letter-spacing: 0.12em;
 color: var(--grey-500);
 font-weight: 600;
 margin-bottom: 0.6rem;
 padding-bottom: 0.5rem;
 border-bottom: 1px solid var(--rule);
}
.mega-col a {
 display: flex;
 justify-content: space-between;
 align-items: baseline;
 gap: 0.5rem;
 padding: 0.45rem 0;
 border-radius: 6px;
 transition: var(--t-fast);
}
.mega-col a:hover { color: var(--accent-deep); }
.mega-col a strong { font-weight: 500; font-size: 0.92rem; }
.mega-col a em {
 font-style: normal;
 font-size: 0.78rem;
 color: var(--grey-500);
 font-family: var(--latin-num);
}
@media (max-width: 980px) { .has-mega > .mega { display: none; } }

/* ---- Page hero (smaller than home hero) ---- */
.page-hero {
 padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(2.4rem, 5vw, 3.5rem);
 border-bottom: 1px solid var(--rule);
 position: relative;
}
.page-hero .eyebrow { color: var(--accent-deep); }
.page-hero h1 {
 font-family: var(--serif);
 font-weight: 500;
 font-size: clamp(2.2rem, 5.5vw, 3.6rem);
 line-height: 1.05;
 letter-spacing: -0.01em;
 margin-top: 1rem;
 text-wrap: pretty;
}
.page-hero .lede { max-width: 36rem; margin-top: 1rem; }
.page-hero-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}
@media (max-width: 880px) {
 .page-hero-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ---- Pricing cards (service ladder) ---- */
.tier-grid {
 display: grid;
 gap: 1rem;
 grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .tier-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px)  { .tier-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tier-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px)  { .tier-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .tier-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.tier-card {
 background: var(--white);
 border: 1px solid var(--rule);
 border-radius: 16px;
 padding: 1.6rem 1.4rem;
 display: flex;
 flex-direction: column;
 gap: 0.6rem;
 transition: var(--t-fast);
 position: relative;
}
.tier-card:hover {
 border-color: var(--ink);
 transform: translateY(-2px);
 box-shadow: var(--shadow-1);
}
.tier-card.featured {
 background: var(--ink);
 color: var(--paper);
 border-color: var(--ink);
}
.tier-card.featured h3,
.tier-card.featured .price,
.tier-card.featured li,
.tier-card.featured .tier-blurb { color: var(--paper); }
.tier-card.featured .tier-pill {
 position: absolute; top: -0.7rem; inset-inline-start: 1.3rem;
 background: var(--accent-soft); color: var(--ink);
 font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
 padding: 0.28rem 0.6rem; border-radius: 999px; text-transform: uppercase;
}
.tier-card h3 {
 font-family: var(--serif);
 font-size: 1.4rem;
 font-weight: 500;
 line-height: 1.15;
}
.tier-card .price {
 font-family: var(--latin-num);
 font-size: 2rem;
 font-weight: 600;
 letter-spacing: -0.01em;
 margin: 0.2rem 0;
}
.tier-card .price .price-suffix {
 font-size: 0.85rem;
 font-weight: 400;
 color: var(--grey-500);
 margin-inline-start: 0.3rem;
}
.tier-card.featured .price-suffix { color: var(--paper-3); }
.tier-card .tier-blurb {
 font-size: 0.9rem;
 color: var(--grey-500);
 margin-bottom: 0.4rem;
}
.tier-card ul {
 list-style: none;
 display: flex;
 flex-direction: column;
 gap: 0.45rem;
 margin: 0.6rem 0 1rem;
 padding: 0;
}
.tier-card li {
 font-size: 0.9rem;
 display: flex;
 gap: 0.55rem;
 align-items: flex-start;
 line-height: 1.45;
}
.tier-card li::before {
 content: "";
 width: 16px; height: 16px;
 flex: 0 0 16px;
 margin-top: 3px;
 background: currentColor;
 -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M3 8l3.5 3.5L13 5'/></svg>") no-repeat center / contain;
 mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M3 8l3.5 3.5L13 5'/></svg>") no-repeat center / contain;
 opacity: 0.7;
}
.tier-card .btn { margin-top: auto; align-self: stretch; justify-content: center; }

/* ---- Compare table ---- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
 width: 100%;
 min-width: 640px;
 border-collapse: collapse;
 margin-top: 1rem;
}
.compare-table th, .compare-table td {
 padding: 0.85rem 1rem;
 text-align: start;
 border-bottom: 1px solid var(--rule);
 font-size: 0.92rem;
 vertical-align: top;
}
.compare-table th {
 background: var(--paper-2);
 font-weight: 600;
 font-size: 0.84rem;
 letter-spacing: 0.02em;
}
.compare-table td.yes::before {
 content: "✓"; color: var(--accent-deep); font-weight: 700;
}
.compare-table td.no::before {
 content: "—"; color: var(--grey-300);
}

/* ---- Curriculum / module list ---- */
.curriculum {
 display: grid;
 gap: 0.6rem;
 margin-top: 1.4rem;
}
.curriculum-item {
 background: var(--white);
 border: 1px solid var(--rule);
 border-radius: 12px;
 padding: 0.9rem 1rem;
 display: grid;
 grid-template-columns: auto 1fr auto;
 gap: 0.8rem;
 align-items: center;
}
.curriculum-week {
 font-family: var(--latin-num);
 font-size: 0.72rem;
 font-weight: 600;
 letter-spacing: 0.06em;
 color: var(--grey-500);
 background: var(--paper-2);
 padding: 0.32rem 0.55rem;
 border-radius: 6px;
 text-transform: uppercase;
}
.curriculum-title { font-size: 0.95rem; font-weight: 500; }
.curriculum-meta { font-size: 0.78rem; color: var(--grey-500); font-family: var(--latin-num); }

/* ---- Time picker (booking page) ---- */
.book-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1.4rem;
}
@media (min-width: 880px) { .book-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.book-side {
 background: var(--white);
 border: 1px solid var(--rule);
 border-radius: 16px;
 padding: 1.4rem;
}
.calendar {
 display: grid;
 grid-template-columns: repeat(7, 1fr);
 gap: 0.3rem;
 margin-top: 1rem;
}
.calendar-head {
 font-size: 0.7rem;
 text-align: center;
 color: var(--grey-500);
 font-family: var(--latin-num);
 letter-spacing: 0.08em;
 text-transform: uppercase;
 padding: 0.3rem 0;
}
.calendar-day {
 aspect-ratio: 1;
 border: 1px solid var(--rule);
 border-radius: 10px;
 background: var(--white);
 font-family: var(--latin-num);
 font-size: 0.92rem;
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 transition: var(--t-fast);
 color: var(--ink);
}
.calendar-day.muted { color: var(--grey-300); cursor: default; }
.calendar-day.disabled { color: var(--grey-300); background: var(--paper-2); cursor: not-allowed; }
.calendar-day:not(.muted):not(.disabled):hover { border-color: var(--ink); }
.calendar-day.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--accent); }

.calendar-controls {
 display: flex; justify-content: space-between; align-items: center;
 margin-bottom: 0.5rem;
}
.calendar-controls h4 {
 font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
}
.calendar-nav {
 border: 1px solid var(--rule);
 background: var(--white);
 width: 32px; height: 32px;
 border-radius: 8px;
 display: inline-flex; align-items: center; justify-content: center;
}
.calendar-nav:hover { border-color: var(--ink); }

.slot-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 0.5rem;
 margin-top: 1rem;
}
@media (min-width: 600px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.slot {
 border: 1px solid var(--rule);
 background: var(--white);
 border-radius: 10px;
 padding: 0.7rem 0.5rem;
 text-align: center;
 font-family: var(--latin-num);
 font-size: 0.88rem;
 cursor: pointer;
 transition: var(--t-fast);
}
.slot:hover { border-color: var(--ink); }
.slot.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot.disabled { color: var(--grey-300); background: var(--paper-2); cursor: not-allowed; }

.tz-note {
 font-size: 0.78rem; color: var(--grey-500);
 margin-top: 0.8rem; display: flex; gap: 0.5rem; align-items: center;
}
.tz-note select {
 border: 1px solid var(--rule); background: var(--white);
 padding: 0.3rem 0.5rem; border-radius: 6px; font-family: var(--latin-num);
 font-size: 0.8rem;
}

/* ---- Checkout ---- */
.checkout-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1.4rem;
}
@media (min-width: 880px) { .checkout-grid { grid-template-columns: 1.4fr 1fr; gap: 2.4rem; } }

.summary-card {
 background: var(--white);
 border: 1px solid var(--rule);
 border-radius: 16px;
 padding: 1.4rem;
 position: sticky;
 top: 6rem;
}
.summary-row {
 display: flex; justify-content: space-between; align-items: baseline;
 padding: 0.55rem 0;
 border-bottom: 1px dashed var(--rule);
 font-size: 0.92rem;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row .v { font-family: var(--latin-num); font-weight: 500; }
.summary-row.total {
 margin-top: 0.6rem;
 padding-top: 1rem;
 border-top: 1px solid var(--ink);
 border-bottom: 0;
 font-size: 1.1rem;
 font-weight: 600;
}
.summary-row.total .v { font-size: 1.3rem; }

.pay-options {
 display: grid;
 grid-template-columns: 1fr;
 gap: 0.6rem;
 margin-top: 1rem;
}
@media (min-width: 600px) { .pay-options { grid-template-columns: 1fr 1fr; } }
.pay-option {
 border: 1px solid var(--rule);
 border-radius: 12px;
 padding: 0.9rem;
 display: flex; gap: 0.7rem; align-items: center;
 background: var(--white);
 cursor: pointer;
 transition: var(--t-fast);
}
.pay-option:hover { border-color: var(--ink); }
.pay-option.active { border-color: var(--ink); background: var(--paper-2); }
.pay-option-logo {
 width: 40px; height: 28px;
 background: var(--paper-2);
 border-radius: 6px;
 display: flex; align-items: center; justify-content: center;
 font-family: var(--latin-num);
 font-size: 0.66rem;
 font-weight: 700;
 letter-spacing: 0.04em;
 flex-shrink: 0;
}
.pay-option-text strong { display: block; font-size: 0.92rem; font-weight: 600; }
.pay-option-text span { font-size: 0.76rem; color: var(--grey-500); }

.trust-row {
 display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem;
 margin-top: 1.2rem;
 font-size: 0.8rem; color: var(--grey-500);
}
.trust-row span { display: flex; gap: 0.4rem; align-items: center; }

/* ---- FAQ accordion ---- */
.faq-list { display: grid; gap: 0.6rem; margin-top: 1.6rem; }
.faq-item {
 border: 1px solid var(--rule);
 border-radius: 12px;
 background: var(--white);
 overflow: hidden;
}
.faq-q {
 width: 100%;
 padding: 1rem 1.2rem;
 border: 0; background: transparent;
 text-align: start;
 font-size: 1rem;
 font-weight: 500;
 display: flex; justify-content: space-between; gap: 1rem; align-items: center;
 cursor: pointer;
}
.faq-q::after {
 content: "+";
 font-family: var(--latin-num);
 font-size: 1.4rem;
 color: var(--grey-500);
 transition: transform var(--t-fast);
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
 display: none;
 padding: 0 1.2rem 1.1rem;
 color: var(--grey-700);
 font-size: 0.95rem;
 line-height: 1.6;
}
.faq-item.open .faq-a { display: block; }

/* ---- Press grid ---- */
.press-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1rem;
 margin-top: 2rem;
}
@media (min-width: 700px) { .press-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .press-grid { grid-template-columns: 1fr 1fr 1fr; } }
.press-card {
 background: var(--white);
 border: 1px solid var(--rule);
 border-radius: 14px;
 padding: 1.4rem;
 display: flex; flex-direction: column; gap: 0.6rem;
 transition: var(--t-fast);
}
.press-card:hover { border-color: var(--ink); }
.press-source {
 font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
 color: var(--grey-500); font-weight: 600;
}
.press-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.3; }
.press-meta { font-size: 0.8rem; color: var(--grey-500); font-family: var(--latin-num); }

/* ---- Tools / affiliate hub ---- */
.tools-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1rem;
 margin-top: 2rem;
}
@media (min-width: 760px) { .tools-grid { grid-template-columns: 1fr 1fr; } }

.tool-card {
 background: var(--white);
 border: 1px solid var(--rule);
 border-radius: 16px;
 padding: 1.6rem;
 display: grid;
 grid-template-columns: 80px 1fr;
 gap: 1.2rem;
 align-items: start;
}
.tool-logo {
 width: 80px; height: 80px;
 background: var(--paper-2);
 border-radius: 12px;
 display: flex; align-items: center; justify-content: center;
 font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
 color: var(--accent-deep);
 flex-shrink: 0;
}
.tool-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.tool-meta {
 font-size: 0.74rem;
 color: var(--accent-deep);
 text-transform: uppercase;
 letter-spacing: 0.08em;
 font-weight: 600;
 margin-top: 0.2rem;
}
.tool-body { font-size: 0.9rem; color: var(--grey-700); line-height: 1.55; margin: 0.6rem 0 0.8rem; }
.tool-card .btn-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
@media (max-width: 480px) {
 .tool-card { grid-template-columns: 60px 1fr; gap: 0.9rem; padding: 1.1rem; }
 .tool-logo { width: 60px; height: 60px; font-size: 1.2rem; }
}

/* ---- Footer CTA strip ---- */
.footer-cta {
 background: var(--ink);
 color: var(--paper);
 padding: clamp(3rem, 6vw, 5rem) 0;
}
.footer-cta .display-2 { color: var(--paper); }
.footer-cta .lede { color: var(--paper-3); }
.footer-cta .eyebrow { color: var(--accent-soft); }
.footer-cta-inner {
 display: grid;
 grid-template-columns: 1fr;
 gap: 2rem;
 align-items: end;
}
@media (min-width: 880px) { .footer-cta-inner { grid-template-columns: 1.6fr 1fr; gap: 3rem; } }
.footer-cta-actions {
 display: flex; flex-direction: column; gap: 0.6rem;
}
@media (min-width: 480px) { .footer-cta-actions { flex-direction: row; flex-wrap: wrap; } }

.footer-cta .btn-primary {
 background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.footer-cta .btn-primary:hover { background: var(--white); }

/* ---- Footer base WhatsApp grid ---- */
.footer-wa-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-wa-grid a { font-family: var(--latin-num); font-size: 0.84rem; color: var(--grey-300); }
.footer-wa-grid a:hover { color: var(--paper); }

/* ---- RTL marquee fix ---- */
.ticker { overflow: hidden; }
.ticker-track {
 display: flex; gap: 2.5rem;
 animation: ticker-ltr 40s linear infinite;
 white-space: nowrap;
 width: max-content;
}
html[dir="rtl"] .ticker-track {
 animation-name: ticker-rtl;
}
@keyframes ticker-ltr {
 from { transform: translateX(0); }
 to  { transform: translateX(-50%); }
}
@keyframes ticker-rtl {
 from { transform: translateX(0); }
 to  { transform: translateX(50%); }
}

/* ---- Ebook hero ---- */
.ebook-hero {
 display: grid;
 grid-template-columns: 1fr;
 gap: 2rem;
 align-items: center;
 padding: clamp(3rem, 7vw, 5rem) 0;
}
@media (min-width: 800px) { .ebook-hero { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.ebook-cover {
 background: linear-gradient(135deg, var(--accent-deep), var(--ink));
 color: var(--paper);
 border-radius: 18px;
 aspect-ratio: 3/4;
 max-width: 360px;
 margin: 0 auto;
 padding: 2rem;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.12);
 transform: rotate(-2deg);
 transition: transform var(--t);
}
.ebook-cover:hover { transform: rotate(0); }
.ebook-cover .cover-eyebrow {
 font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
 opacity: 0.7;
}
.ebook-cover h2 {
 font-family: var(--serif); font-size: 1.8rem; font-weight: 500; line-height: 1.1;
 margin-top: 0.4rem;
}
.ebook-cover .cover-author {
 font-size: 0.85rem;
 border-top: 1px solid rgba(255,255,255,0.2);
 padding-top: 0.8rem;
 opacity: 0.85;
}
.ebook-toc {
 margin-top: 2rem;
 display: grid;
 gap: 0.5rem;
}
.ebook-toc-item {
 display: grid;
 grid-template-columns: 1.6rem 1fr auto;
 gap: 0.6rem;
 padding: 0.5rem 0;
 border-bottom: 1px solid var(--rule);
 font-size: 0.92rem;
}
.ebook-toc-item span:first-child {
 color: var(--grey-500); font-family: var(--latin-num); font-size: 0.78rem;
}
.ebook-toc-item span:last-child { color: var(--grey-500); font-family: var(--latin-num); font-size: 0.78rem; }

/* ---- Stats / proof strip ---- */
.proof-strip {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 1rem;
 padding: 1.4rem;
 background: var(--paper-2);
 border-radius: 14px;
 margin: 2rem 0;
}
@media (min-width: 760px) { .proof-strip { grid-template-columns: repeat(4, 1fr); } }
.proof-strip-item .v {
 font-family: var(--latin-num); font-size: 1.6rem; font-weight: 600;
 color: var(--ink); display: block;
}
.proof-strip-item .l {
 font-size: 0.78rem; color: var(--grey-500);
}

/* ---- Mobile tweaks ---- */
@media (max-width: 640px) {
 .display-1 { font-size: 2.4rem !important; }
 .display-2 { font-size: 1.7rem !important; }
 .display-3 { font-size: 1.2rem !important; }
 .lede { font-size: 1rem; }
 .container { padding: 0 1.1rem; }
 .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
 .footer-grid > div:first-child { grid-column: 1 / -1; }
 .header-cta { display: none; }
 .ccy-toggle { display: none; }
}

/* ---- Footer grid baseline ---- */
.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
 gap: 2rem;
 padding: 3rem 0 2rem;
}
@media (max-width: 880px) {
 .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.footer-grid h4 {
 font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
 color: var(--grey-500); font-weight: 600; margin-bottom: 0.7rem;
}
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.footer-grid li a { font-size: 0.9rem; color: var(--paper-3); }
.footer-grid li a:hover { color: var(--paper); }
.footer-grid p { font-size: 0.86rem; color: var(--grey-300); margin-top: 0.6rem; max-width: 24ch; }
.site-footer { background: var(--ink); color: var(--paper); padding-bottom: 2rem; }
.site-footer .brand-mark { color: var(--paper); }
.footer-base {
 border-top: 1px solid rgba(255,255,255,0.08);
 padding-top: 1.2rem;
 display: flex; flex-wrap: wrap; gap: 1rem;
 justify-content: space-between; align-items: center;
 font-size: 0.8rem; color: var(--grey-300);
}

/* ---- Generic section spacing for new pages ---- */
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-cta {
 padding: clamp(3rem, 6vw, 5rem) 0;
 text-align: center;
 border-top: 1px solid var(--rule);
 border-bottom: 1px solid var(--rule);
 background: var(--paper-2);
}

/* ---- Form inputs (checkout, booking, contact) ---- */
.form-stack { display: grid; gap: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } }

/* ---- Step indicator ---- */
.steps-bar {
 display: flex; gap: 0.6rem;
 margin-bottom: 1.6rem;
 font-family: var(--latin-num);
}
.step-pill {
 display: flex; gap: 0.5rem; align-items: center;
 font-size: 0.8rem;
 color: var(--grey-500);
 padding: 0.4rem 0.8rem;
 border-radius: 999px;
 background: var(--paper-2);
}
.step-pill.active { background: var(--ink); color: var(--paper); }
.step-pill.done { background: var(--accent); color: var(--white); }
.step-pill .step-num {
 width: 18px; height: 18px;
 border-radius: 50%;
 background: var(--white);
 color: var(--ink);
 display: inline-flex; align-items: center; justify-content: center;
 font-size: 0.7rem; font-weight: 600;
}
.step-pill.active .step-num { background: var(--paper); color: var(--ink); }

/* ---- Sub bar (secondary nav for product / docs) ---- */
.sub-bar {
 border-bottom: 1px solid var(--rule);
 background: var(--paper);
 position: sticky;
 top: 0;
 z-index: 30;
}
.sub-bar-inner {
 display: flex; gap: 1.2rem; padding: 0.7rem 0;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
}
.sub-bar a {
 font-size: 0.86rem;
 color: var(--grey-500);
 padding: 0.3rem 0.6rem;
 border-radius: 999px;
 white-space: nowrap;
}
.sub-bar a.active { background: var(--ink); color: var(--paper); }

/* ---- Disclaimers ---- */
.legal-prose { max-width: 38rem; }
.legal-prose h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-top: 2rem; }
.legal-prose h3 { font-size: 1rem; font-weight: 600; margin-top: 1.4rem; }
.legal-prose p { font-size: 0.95rem; color: var(--grey-700); margin: 0.6rem 0; line-height: 1.7; }
.legal-prose ul { padding-inline-start: 1.4rem; color: var(--grey-700); font-size: 0.95rem; }
.legal-prose li { margin: 0.3rem 0; }

/* ---- Before / after social proof ---- */
.ba-grid { display:grid; grid-template-columns:1fr; gap:1.2rem; }
@media (min-width:760px) { .ba-grid { grid-template-columns:repeat(3,1fr); } }
.ba-card { background:var(--white); border:1px solid var(--rule); border-radius:14px; overflow:hidden; }
.ba-pair { display:grid; grid-template-columns:1fr 1fr; }
.ba-cell { position:relative; aspect-ratio:1/1.2; background:var(--paper-2,#ece8de); display:flex; align-items:center; justify-content:center; }
.ba-cell + .ba-cell { border-inline-start:1px solid var(--rule); }
.ba-tag { position:absolute; top:0.6rem; inset-inline-start:0.6rem; background:var(--ink); color:var(--paper,#f4f1ea); font-size:0.68rem; padding:0.2rem 0.5rem; border-radius:6px; text-transform:uppercase; letter-spacing:0.08em; font-weight:500; }
.ba-tag-after { background:#1f8a5b; }
.ba-ph { font-family:var(--serif); font-size:3.4rem; color:var(--grey-700,#5b5e5a); width:80%; height:80%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#e8e3d6,#d8d1bf); border-radius:8px; }
.ba-ph-after { background:linear-gradient(135deg,#d6e6dd,#b9d4c5); color:#1f5a3f; }
.ba-meta { padding:1rem 1.1rem 1.2rem; display:flex; flex-direction:column; gap:0.2rem; }
.ba-meta strong { font-size:1.05rem; }
.ba-stats { list-style:none; margin:0.7rem 0 0; padding:0; display:flex; flex-direction:column; font-size:0.88rem; }
.ba-stats li { display:flex; gap:0.5rem; align-items:baseline; padding:0.35rem 0; border-top:1px dashed var(--rule); }
.ba-stats li:first-child { border-top:0; padding-top:0; }
.ba-stats li span { font-weight:600; color:#1f5a3f; }
.ba-stats li small { color:var(--grey-700,#5b5e5a); font-size:0.78rem; }


/* ===== Tweakable home overrides ===== */
.tw-no-why-nums .why-num { display: none !important; }
.tw-no-stat-nums .stat-value { display: none !important; }
.tw-no-stat-nums .stat-item { min-height: 0 !important; }
.tw-no-ba-stats .ba-stats { display: none !important; }
.tw-no-hero-trust .hero-trust { display: none !important; }
.tw-no-cta-arrows .btn svg,
.tw-no-cta-arrows .cta-link svg { display: none !important; }
:root[data-rhythm="tight"] .section { padding-block: 3.5rem !important; }
:root[data-rhythm="loose"] .section { padding-block: 7.5rem !important; }
@media (max-width: 720px) {
 :root[data-rhythm="tight"] .section { padding-block: 2.5rem !important; }
 :root[data-rhythm="loose"] .section { padding-block: 5rem !important; }
}



/* ============================================================
 GLASSY HEADER + CURRENCY DROPDOWN (modern, elegant)
 ============================================================ */
.site-header {
 background: rgba(244, 241, 234, 0.62) !important;
 backdrop-filter: saturate(1.6) blur(18px);
 -webkit-backdrop-filter: saturate(1.6) blur(18px);
 border-bottom: 1px solid rgba(20, 17, 15, 0.06) !important;
 transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
 background: rgba(244, 241, 234, 0.88) !important;
 border-bottom-color: rgba(20, 17, 15, 0.10) !important;
 box-shadow: 0 1px 0 rgba(20,17,15,0.02), 0 10px 30px -18px rgba(20,17,15,0.18);
}

/* Glass pill */
.glass-pill {
 display: inline-flex; align-items: center; gap: 0.5rem;
 height: 36px;
 padding: 0 0.85rem;
 border-radius: 999px;
 background: rgba(255,255,255,0.55);
 border: 1px solid rgba(20,17,15,0.08);
 box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 2px rgba(20,17,15,0.04);
 backdrop-filter: blur(10px) saturate(1.2);
 -webkit-backdrop-filter: blur(10px) saturate(1.2);
 color: var(--ink);
 font-size: 0.82rem;
 font-weight: 500;
 cursor: pointer;
 transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.glass-pill:hover { background: rgba(255,255,255,0.85); border-color: rgba(20,17,15,0.14); }
.glass-pill:active { transform: scale(0.98); }

/* Currency dropdown */
.ccy-select { position: relative; }
.ccy-trigger {
 display: inline-flex; align-items: center; gap: 0.45rem;
 height: 36px;
 padding: 0 0.7rem 0 0.6rem;
 border-radius: 999px;
 background: rgba(255,255,255,0.55);
 border: 1px solid rgba(20,17,15,0.08);
 box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 2px rgba(20,17,15,0.04);
 backdrop-filter: blur(10px) saturate(1.2);
 -webkit-backdrop-filter: blur(10px) saturate(1.2);
 color: var(--ink);
 font-family: var(--latin-num);
 font-size: 0.78rem;
 font-weight: 600;
 letter-spacing: 0.03em;
 cursor: pointer;
 transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.ccy-trigger:hover { background: rgba(255,255,255,0.85); border-color: rgba(20,17,15,0.14); }
.ccy-trigger:active { transform: scale(0.98); }
.ccy-flag {
 display: grid; place-items: center;
 width: 22px; height: 22px;
 border-radius: 999px;
 background: var(--ink);
 color: #fff;
 font-size: 0.72rem;
 font-weight: 700;
 font-family: var(--latin-num);
 line-height: 1;
}
.ccy-chev { transition: transform .2s ease; opacity: 0.6; }
.ccy-select.open .ccy-chev { transform: rotate(180deg); }
.ccy-menu {
 position: absolute;
 top: calc(100% + 8px);
 inset-inline-end: 0;
 min-width: 220px;
 padding: 6px;
 background: rgba(255,255,255,0.78);
 border: 1px solid rgba(20,17,15,0.08);
 border-radius: 18px;
 box-shadow:
 0 1px 0 rgba(255,255,255,0.7) inset,
 0 20px 60px -16px rgba(20,17,15,0.22),
 0 6px 18px -10px rgba(20,17,15,0.12);
 backdrop-filter: blur(24px) saturate(1.5);
 -webkit-backdrop-filter: blur(24px) saturate(1.5);
 display: none;
 z-index: 60;
}
.ccy-select.open .ccy-menu {
 display: block;
 animation: ccyFadeIn .18s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ccyFadeIn {
 from { opacity: 0; transform: translateY(-4px); }
 to  { opacity: 1; transform: translateY(0); }
}
.ccy-menu button {
 display: flex; align-items: center; gap: 0.7rem;
 width: 100%;
 padding: 0.55rem 0.7rem;
 border: 0;
 background: transparent;
 border-radius: 12px;
 color: var(--ink);
 font-family: var(--sans);
 font-size: 0.86rem;
 text-align: start;
 cursor: pointer;
 transition: background .12s ease;
}
.ccy-menu button:hover { background: rgba(20,17,15,0.05); }
.ccy-menu button.active { background: var(--ink); color: #fff; }
.ccy-menu button.active .ccy-flag { background: #fff; color: var(--ink); }
.ccy-menu .ccy-name { flex: 1; }
.ccy-menu .ccy-code {
 font-family: var(--latin-num);
 font-size: 0.72rem;
 font-weight: 600;
 letter-spacing: 0.06em;
 opacity: 0.6;
}
.ccy-menu button.active .ccy-code { opacity: 0.8; }

/* Lang toggle — glassy pill match */
.lang-toggle {
 display: inline-flex; align-items: center; justify-content: center;
 height: 36px;
 min-width: 56px;
 padding: 0 0.85rem !important;
 border-radius: 999px !important;
 background: rgba(255,255,255,0.55) !important;
 border: 1px solid rgba(20,17,15,0.08) !important;
 backdrop-filter: blur(10px) saturate(1.2);
 -webkit-backdrop-filter: blur(10px) saturate(1.2);
 color: var(--ink) !important;
 font-family: var(--sans);
 font-size: 0.8rem !important;
 font-weight: 600 !important;
 text-transform: none !important;
 letter-spacing: 0 !important;
 cursor: pointer;
 transition: background .15s ease, border-color .15s ease;
}
.lang-toggle:hover {
 background: rgba(255,255,255,0.85) !important;
 border-bottom-color: rgba(20,17,15,0.14) !important;
}
html[dir="rtl"] .lang-toggle { font-family: var(--latin-num); }

/* Header CTA — glass primary */
.header-cta {
 display: none;
 height: 36px;
 align-items: center;
 padding: 0 1rem;
 border-radius: 999px;
 background: var(--ink);
 color: var(--paper);
 font-size: 0.82rem;
 font-weight: 600;
 letter-spacing: 0.01em;
 border: 1px solid var(--ink);
 transition: transform .15s ease, box-shadow .15s ease;
 box-shadow: 0 6px 18px -8px rgba(20,17,15,0.4);
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(20,17,15,0.5); }
@media (min-width: 1000px) { .header-cta { display: inline-flex; } }

/* Menu toggle glass */
.menu-toggle {
 width: 36px; height: 36px;
 border-radius: 999px !important;
 background: rgba(255,255,255,0.55) !important;
 border: 1px solid rgba(20,17,15,0.08) !important;
 backdrop-filter: blur(10px) saturate(1.2);
 -webkit-backdrop-filter: blur(10px) saturate(1.2);
 display: grid; place-items: center;
 color: var(--ink) !important;
 cursor: pointer;
}

/* Mobile-friendly: hide currency labels on narrow screens, keep flag + code */
@media (max-width: 540px) {
 .ccy-trigger .ccy-code { display: none; }
 .ccy-trigger { padding: 0 0.55rem; gap: 0; }
 .lang-toggle { min-width: 44px; padding: 0 0.65rem !important; }
}

/* ============================================================
 HERO TRUST STRIP (3-second credibility)
 ============================================================ */
.cred-strip {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 0.5rem;
 margin-top: 1.4rem;
 max-width: 38rem;
}
@media (min-width: 640px) {
 .cred-strip { grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
}
.cred-chip {
 display: flex;
 align-items: center;
 gap: 0.55rem;
 padding: 0.6rem 0.75rem;
 border-radius: 14px;
 background: rgba(255,255,255,0.55);
 border: 1px solid rgba(20,17,15,0.08);
 box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 14px -8px rgba(20,17,15,0.10);
 backdrop-filter: blur(10px) saturate(1.2);
 -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
.cred-chip-mark {
 flex-shrink: 0;
 width: 28px; height: 28px;
 display: grid; place-items: center;
 border-radius: 8px;
 background: var(--ink);
 color: #fff;
 font-family: var(--latin-num);
 font-size: 0.7rem;
 font-weight: 700;
 letter-spacing: 0.02em;
 line-height: 1;
 text-align: center;
}
.cred-chip-text { min-width: 0; line-height: 1.2; }
.cred-chip-title {
 display: block;
 font-size: 0.74rem;
 font-weight: 600;
 color: var(--ink);
 letter-spacing: -0.005em;
}
.cred-chip-sub {
 display: block;
 font-size: 0.66rem;
 color: var(--grey-500);
 margin-top: 1px;
 font-family: var(--latin-num);
 letter-spacing: 0.02em;
 text-transform: uppercase;
}
html[dir="rtl"] .cred-chip-sub { font-family: var(--latin-num); }

/* ============================================================
 CERTIFICATES GRID (About page)
 ============================================================ */
.cert-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1rem;
 margin-top: 1.8rem;
}
@media (min-width: 640px) { .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
@media (min-width: 960px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
.cert-card {
 display: flex;
 flex-direction: column;
 background: var(--white);
 border: 1px solid var(--rule);
 border-radius: 18px;
 overflow: hidden;
 transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
 text-decoration: none;
 color: inherit;
}
.cert-card:hover {
 transform: translateY(-2px);
 box-shadow: 0 18px 48px -16px rgba(20,17,15,0.18), 0 6px 16px -8px rgba(20,17,15,0.08);
 border-color: rgba(20,17,15,0.18);
}
.cert-thumb {
 position: relative;
 aspect-ratio: 4 / 3;
 background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
 display: grid; place-items: center;
 overflow: hidden;
 border-bottom: 1px solid var(--rule);
}
.cert-thumb img {
 width: 100%; height: 100%;
 object-fit: cover;
 object-position: top center;
 display: block;
 transition: transform .4s ease;
}
.cert-card:hover .cert-thumb img { transform: scale(1.03); }
.cert-thumb-placeholder {
 display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
 color: var(--grey-500);
 padding: 1.5rem;
 text-align: center;
}
.cert-thumb-placeholder svg { opacity: 0.5; }
.cert-thumb-placeholder span {
 font-size: 0.72rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 font-family: var(--latin-num);
}
.cert-meta { padding: 1rem 1.1rem 1.15rem; }
.cert-issuer {
 display: block;
 font-size: 0.7rem;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--grey-500);
 font-family: var(--latin-num);
 margin-bottom: 0.35rem;
}
.cert-title {
 display: block;
 font-family: var(--serif);
 font-size: 1.05rem;
 font-weight: 500;
 color: var(--ink);
 line-height: 1.25;
 letter-spacing: -0.01em;
}
html[dir="rtl"] .cert-title { font-family: var(--arabic); font-weight: 600; }
.cert-year {
 display: inline-block;
 margin-top: 0.5rem;
 font-size: 0.74rem;
 color: var(--grey-500);
 font-family: var(--latin-num);
 font-feature-settings: "tnum", "lnum";
}
.cert-pdf-badge {
 display: inline-flex; align-items: center; gap: 0.3rem;
 margin-top: 0.7rem;
 font-size: 0.7rem;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--ink);
 font-weight: 600;
 font-family: var(--latin-num);
}
.cert-pdf-badge svg { width: 12px; height: 12px; }
