/* ===================================================================
   TraveHub — Sub-page Design System (pages.css)
   Shared brand styling for all guide / service / info pages.
   Built on the tokens in colors_and_type.css. RTL-first, responsive.
=================================================================== */

/* ---------- Base ---------- */
body { margin: 0; background: var(--bg-page); color: var(--fg-primary); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
img { display: block; max-width: 100%; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* AR / EN language toggle */
[data-en] { display: none; }
html[lang="en"] [data-ar] { display: none; }
html[lang="en"] [data-en] { display: revert; }

/* Accessibility focus */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand-blue); outline-offset: 2px; border-radius: 6px;
}

/* ---------- Sticky nav ---------- */
.pnav {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255,255,255,0.82); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.pnav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.pnav-logo { height: 64px; cursor: pointer; }
.pnav-right { display: flex; align-items: center; gap: 12px; }
.pnav-link {
  color: var(--fg-secondary); font-weight: 600; font-size: var(--text-sm);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 6px; transition: color .15s;
}
.pnav-link:hover { color: var(--brand-blue); text-decoration: none; }
.pnav-lang {
  background: var(--bg-subtle); border: 1px solid var(--border-default);
  border-radius: var(--radius-full); padding: 8px 16px; font-weight: 700;
  font-size: var(--text-sm); cursor: pointer; color: var(--fg-primary);
  font-family: var(--font-body); transition: background .15s, border-color .15s;
}
.pnav-lang:hover { background: var(--blue-50); border-color: var(--brand-blue); color: var(--brand-blue); }
.pnav-cta {
  background: var(--brand-blue); color: #fff; border: none;
  border-radius: var(--radius-full); padding: 9px 20px; font-weight: 700;
  font-size: var(--text-sm); cursor: pointer; font-family: var(--font-body);
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s, box-shadow .15s, transform .1s;
}
.pnav-cta:hover { background: var(--blue-700); box-shadow: var(--shadow-brand); color: #fff; text-decoration: none; }
.pnav-cta:active { transform: scale(.97); }

/* ---------- Hero ---------- */
.phero {
  position: relative; overflow: hidden;
  min-height: clamp(320px, 46vw, 460px);
  display: flex; align-items: flex-end;
  background: var(--brand-dark);
}
.phero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; animation: phZoom 14s ease-out both;
}
@keyframes phZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.phero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,18,40,.92) 0%, rgba(8,18,40,.55) 45%, rgba(8,18,40,.15) 100%),
    radial-gradient(circle at 80% 18%, rgba(255,26,140,.28), transparent 55%);
}
.phero-inner { position: relative; z-index: 2; padding: 0 0 44px; width: 100%; }
.phero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(4px);
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 16px;
}
.phero h1 { color: #fff; margin: 0 0 12px; font-size: clamp(28px, 5vw, 52px); line-height: 1.08; }
.phero .lead { color: rgba(255,255,255,.86); font-size: clamp(15px, 2.2vw, 21px); max-width: 640px; margin: 0; }
.crumb { font-size: var(--text-sm); color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }

/* hero meta chips (under lead) */
.phero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.phero-meta .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: 8px 14px; border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 600;
}
.phero-meta .chip b { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- Layout / sections ---------- */
main { display: block; }
.section { padding: 44px 0; }
.section.tight { padding: 28px 0; }
.section-narrow { max-width: 760px; }
.eyebrow {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-pink); display: block; margin-bottom: 8px;
}
h2.sec { font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; position: relative; }
.sec-sub { color: var(--fg-tertiary); margin: 0 0 22px; font-size: var(--text-base); }

.prose p, .prose li { color: var(--fg-secondary); line-height: var(--leading-relaxed); font-size: var(--text-base); }
.prose h2 { font-size: clamp(20px,2.6vw,27px); margin: 34px 0 12px; }
.prose h3 { margin: 22px 0 8px; }
.prose a { color: var(--brand-blue); font-weight: 600; }
.prose ul { padding-inline-start: 0; list-style: none; margin: 14px 0; }
.prose ul li {
  position: relative; padding-inline-start: 30px; margin-bottom: 12px;
}
.prose ul li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230063DC' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}

/* ---------- Stat chips row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin: 8px 0; }
.stat {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl); padding: 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px;
  background: linear-gradient(var(--brand-blue), var(--brand-pink));
}
.stat-ico { width: 38px; height: 38px; border-radius: var(--radius-lg); background: var(--blue-50);
  color: var(--brand-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.stat-val { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-weight: 800;
  font-size: var(--text-3xl); color: var(--fg-primary); line-height: 1; letter-spacing: -.02em; }
.stat-lbl { font-size: var(--text-sm); color: var(--fg-tertiary); font-weight: 500; }

/* ---------- Option / info card grid ---------- */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin: 18px 0; }
.tcard {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl); padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-default), box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 8px;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.tcard-ico {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-50), var(--pink-50));
  color: var(--brand-blue); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 4px;
}
.tcard h3 { margin: 0; font-size: var(--text-lg); color: var(--fg-primary); }
.tcard p { margin: 0; font-size: var(--text-sm); color: var(--fg-secondary); line-height: var(--leading-relaxed); }
.tcard .tprice { font-family: var(--font-num); font-weight: 800; color: var(--brand-blue); font-size: var(--text-xl); margin-top: 4px; }
.tcard .tlink {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-blue); font-weight: 700; font-size: var(--text-sm); text-decoration: none;
  padding-top: 8px;
}
.tcard .tlink:hover { gap: 10px; }
.tcard .tlink::after { content: "→"; transition: transform .15s; }
html[dir="rtl"] .tcard .tlink::after { content: "←"; }

/* tag chips inside cards */
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { background: var(--bg-subtle); color: var(--fg-secondary); font-size: var(--text-xs);
  font-weight: 600; padding: 4px 10px; border-radius: var(--radius-full); }

/* ---------- Destination cards (Most Popular Destinations) ---------- */
.dest-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 18px; margin: 18px 0; }
.dcard {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-default), box-shadow .2s, border-color .2s;
}
.dcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.dcard-img {
  position: relative; height: 168px; background-size: cover; background-position: center;
  background-color: var(--brand-dark);
  background-image: linear-gradient(135deg, var(--brand-blue), var(--brand-pink));
}
.dcard-img.has-photo { background-blend-mode: normal; }
.dcard-img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,18,40,.78) 0%, rgba(8,18,40,.10) 55%, transparent 100%); }
.dcard-badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  background: var(--brand-pink); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .03em; padding: 4px 11px; border-radius: var(--radius-full);
}
.dcard-fav { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; color: var(--brand-pink); }
.dcard-city { position: absolute; bottom: 12px; inset-inline-start: 14px; z-index: 2; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.dcard-body { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; }
.dcard-route { display: flex; align-items: center; gap: 6px; color: var(--fg-tertiary); font-size: var(--text-xs); margin-bottom: 4px; }
.dcard-price .l { font-size: 11px; color: var(--fg-tertiary); }
.dcard-price .v { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-weight: 800;
  color: var(--brand-blue); font-size: var(--text-lg); letter-spacing: -.01em; }
.dcard-go { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s, transform .15s; }
.dcard:hover .dcard-go { background: var(--brand-blue); color: #fff; }
html[dir="rtl"] .dcard-go svg { transform: scaleX(-1); }

/* audience section band */
.aud-head { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.aud-head .aud-ico { width: 40px; height: 40px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-50), var(--pink-50)); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Comparison table ---------- */
.tbl-wrap { border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); overflow: hidden; margin: 18px 0; box-shadow: var(--shadow-sm); }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); background: var(--bg-surface); }
table.tbl th, table.tbl td { padding: 14px 18px; text-align: start; }
table.tbl thead th { background: var(--brand-dark); color: #fff; font-weight: 700; font-size: var(--text-sm); }
table.tbl tbody tr { border-top: 1px solid var(--border-subtle); }
table.tbl tbody tr:nth-child(even) { background: var(--bg-page); }
table.tbl tbody td:first-child { font-weight: 600; color: var(--fg-primary); }
table.tbl .num { color: var(--brand-blue); font-weight: 700; }

/* ---------- Tips card ---------- */
.tips {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-inline-start: 4px solid var(--brand-pink);
  border-radius: var(--radius-xl); padding: 8px 24px; margin: 18px 0; box-shadow: var(--shadow-xs);
}

/* ---------- Segmented control ---------- */
.seg-ctrl { display: inline-flex; background: var(--bg-subtle); border-radius: var(--radius-full); padding: 5px; gap: 4px; }
.seg-ctrl button {
  border: none; background: transparent; color: var(--fg-secondary); font-weight: 700;
  font-size: var(--text-sm); padding: 9px 18px; border-radius: var(--radius-full);
  cursor: pointer; font-family: var(--font-body); transition: all .15s;
}
.seg-ctrl button.active { background: var(--brand-blue); color: #fff; box-shadow: var(--shadow-brand); }

/* ---------- Filter chips ---------- */
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.fchip {
  border: 1.5px solid var(--border-default); background: var(--bg-surface);
  color: var(--fg-secondary); font-weight: 600; font-size: var(--text-sm);
  padding: 8px 16px; border-radius: var(--radius-full); cursor: pointer;
  font-family: var(--font-body); transition: all .15s;
}
.fchip:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.fchip.active { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.filter-hidden { display: none !important; }

/* ---------- Route map (flights) ---------- */
.routemap {
  background: linear-gradient(135deg, var(--brand-dark), #0a2260);
  border-radius: var(--radius-3xl); padding: 36px 28px; margin: 18px 0; color: #fff;
  position: relative; overflow: hidden;
}
.routemap::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle at 18% 30%, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.rm-track { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rm-node { text-align: center; flex-shrink: 0; }
.rm-code { font-family: var(--font-num); font-weight: 800; font-size: clamp(28px,6vw,44px); line-height: 1; letter-spacing: -.02em; }
.rm-city { font-size: var(--text-sm); color: rgba(255,255,255,.75); margin-top: 6px; }
.rm-line { flex: 1; height: 2px; position: relative; background: repeating-linear-gradient(to right, rgba(255,255,255,.5) 0 8px, transparent 8px 16px); }
html[dir="rtl"] .rm-line { background: repeating-linear-gradient(to left, rgba(255,255,255,.5) 0 8px, transparent 8px 16px); }
.rm-plane {
  position: absolute; top: 50%; inset-inline-start: 0; color: #fff;
  animation: rmFly 4.5s var(--ease-default) infinite;
}
@keyframes rmFly { 0% { inset-inline-start: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { inset-inline-start: 100%; opacity: 0; } }
html[dir="rtl"] .rm-plane { transform: translateY(-50%) scaleX(-1); }
.rm-foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 24px; }
.rm-foot div { text-align: center; }
.rm-foot .v { font-family: var(--font-num); font-weight: 800; font-size: var(--text-xl); }
.rm-foot .l { font-size: var(--text-xs); color: rgba(255,255,255,.65); }
@media (prefers-reduced-motion: reduce) { .rm-plane, .phero-img { animation: none; } }

/* ---------- Season strip (best time to visit) ---------- */
.season { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin: 18px 0; }
.mon {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; border-radius: var(--radius-md); padding: 14px 2px; cursor: default;
  font-weight: 700; font-size: var(--text-xs); color: #fff; transition: transform .15s;
}
.mon:hover { transform: translateY(-3px); }
.mon small { font-weight: 600; font-size: 9px; opacity: .9; }
.mon.great { background: var(--color-success); }
.mon.good  { background: var(--brand-blue); }
.mon.warm  { background: var(--color-warning); color: var(--brand-dark); }
.mon.hot   { background: var(--brand-pink); }
.season-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: var(--text-xs); color: var(--fg-tertiary); }
.season-legend span { display: inline-flex; align-items: center; gap: 6px; }
.season-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
@media (max-width: 620px) { .season { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Budget bars ---------- */
.budget { margin: 18px 0; display: flex; flex-direction: column; gap: 14px; }
.bbar-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.bbar-top { display: flex; justify-content: space-between; align-items: baseline; }
.bbar-top .bname { font-weight: 600; color: var(--fg-primary); font-size: var(--text-sm); }
.bbar-top .bval { font-family: var(--font-num); font-weight: 800; color: var(--brand-blue); font-size: var(--text-sm); }
.bbar-track { height: 12px; border-radius: var(--radius-full); background: var(--bg-subtle); overflow: hidden; }
.bbar-fill { height: 100%; border-radius: var(--radius-full); width: 0; transition: width 1.1s var(--ease-default); background: linear-gradient(90deg, var(--brand-blue), var(--brand-pink)); }
html[dir="rtl"] .bbar-fill { background: linear-gradient(270deg, var(--brand-blue), var(--brand-pink)); }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 14px; margin: 18px 0; counter-reset: step; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 18px 20px; box-shadow: var(--shadow-xs);
}
.step-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-blue); color: #fff; font-family: var(--font-num); font-weight: 800;
  display: flex; align-items: center; justify-content: center; counter-increment: step;
}
.step-num::before { content: counter(step); }
.step h3 { margin: 0 0 4px; font-size: var(--text-lg); }
.step p { margin: 0; font-size: var(--text-sm); color: var(--fg-secondary); }

/* ---------- Plan picker (eSIM) ---------- */
.planpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin: 18px 0; }
.plan {
  border: 2px solid var(--border-default); border-radius: var(--radius-2xl); padding: 20px; text-align: center;
  background: var(--bg-surface); cursor: pointer; transition: all .18s; position: relative;
}
.plan:hover { border-color: var(--brand-blue); transform: translateY(-3px); }
.plan.active { border-color: var(--brand-blue); background: var(--blue-50); box-shadow: var(--shadow-md); }
.plan .psize { font-family: var(--font-num); font-weight: 800; font-size: var(--text-3xl); color: var(--brand-blue); }
.plan .pfor { font-size: var(--text-sm); color: var(--fg-secondary); margin-top: 4px; }
.plan .pbadge { position: absolute; top: -10px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--brand-pink); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .05em;
  padding: 3px 12px; border-radius: var(--radius-full); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.plan.active .pbadge { opacity: 1; }
html[dir="rtl"] .plan .pbadge { transform: translateX(50%); }

/* ---------- CTA band ---------- */
.ctaband {
  background: linear-gradient(120deg, var(--brand-blue), #0a2fa0 60%, var(--brand-pink));
  border-radius: var(--radius-3xl); padding: 44px 36px; text-align: center; color: #fff;
  position: relative; overflow: hidden; margin: 8px 0;
}
.ctaband::after { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 24px 24px; }
.ctaband > * { position: relative; z-index: 2; }
.ctaband h2 { color: #fff; margin: 0 0 8px; font-size: clamp(22px,3vw,32px); }
.ctaband p { color: rgba(255,255,255,.9); margin: 0 auto 22px; max-width: 520px; }
.ctaband .btn-cta {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--brand-blue);
  font-weight: 800; font-size: var(--text-base); padding: 15px 34px; border-radius: var(--radius-full);
  text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.22); transition: transform .12s, box-shadow .15s;
}
.ctaband .btn-cta:hover { transform: translateY(-2px) scale(1.02); color: var(--brand-blue); text-decoration: none; }

/* generic inline button */
.btn-line {
  display: inline-flex; align-items: center; gap: 8px; background: var(--brand-blue); color: #fff;
  font-weight: 700; text-decoration: none; padding: 13px 28px; border-radius: var(--radius-full);
  font-size: var(--text-base); transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-line:hover { background: var(--blue-700); color: #fff; text-decoration: none; box-shadow: var(--shadow-brand); }
.btn-line:active { transform: scale(.97); }
.btn-soft {
  display: inline-flex; align-items: center; gap: 8px; background: var(--blue-50); color: var(--brand-blue);
  font-weight: 700; text-decoration: none; padding: 11px 22px; border-radius: var(--radius-full);
  font-size: var(--text-sm); transition: background .15s;
}
.btn-soft:hover { background: var(--blue-100); color: var(--brand-blue); text-decoration: none; }

/* ---------- FAQ (native details) ---------- */
.faq { margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); overflow: hidden; transition: border-color .15s;
}
.faq details[open] { border-color: var(--blue-200); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--fg-primary);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--text-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand-blue); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 20px 18px; color: var(--fg-secondary); font-size: var(--text-sm); line-height: var(--leading-relaxed); }

/* ---------- Disclosure note ---------- */
.disc { font-size: var(--text-sm); color: var(--fg-tertiary); background: var(--bg-subtle);
  border-radius: var(--radius-lg); padding: 16px 20px; margin: 28px 0 0; line-height: var(--leading-relaxed); }
.disc a { color: var(--brand-blue); font-weight: 600; }
.note { background: var(--blue-50); border-radius: var(--radius-lg); padding: 16px 20px;
  font-size: var(--text-sm); color: var(--fg-secondary); margin: 24px 0; line-height: var(--leading-relaxed); }

/* pillars (about) */
.pillars { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 16px; margin: 22px 0; }
.pillar { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl);
  padding: 24px; box-shadow: var(--shadow-sm); }
.pillar .pico { width: 46px; height: 46px; border-radius: var(--radius-lg); background: var(--blue-50);
  color: var(--brand-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pillar h3 { margin: 0 0 6px; font-size: var(--text-lg); }
.pillar p { margin: 0; font-size: var(--text-sm); color: var(--fg-secondary); }

/* ---------- Footer ---------- */
.pfooter { background: var(--brand-dark); color: rgba(255,255,255,.6); padding: 40px 0 28px; margin-top: 48px; }
.pfooter-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.pfooter-logo { height: 60px; }
.pfooter-links { display: flex; flex-wrap: wrap; gap: 22px; }
.pfooter-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
.pfooter-links a:hover { color: #fff; }
.pfooter-bottom { padding-top: 22px; font-size: var(--text-sm); color: rgba(255,255,255,.5); text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .pnav-link.hide-sm { display: none; }
  .pnav-inner { height: 60px; gap: 8px; }
  .pnav-logo { height: 38px; }
  .pnav-right { gap: 8px; }
  .pnav-lang { padding: 7px 12px; }
  .pnav-cta { padding: 8px 13px; white-space: nowrap; }
  .phero-inner { padding-bottom: 32px; }
  .rm-code { font-size: 30px; }
  .section { padding: 34px 0; }
}
