/* ===== In Belfast — components.css : buttons, cards, chips, rating, faq ===== */

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; font-weight: 500; font-size: 0.98rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s; border-radius: var(--radius); }
.btn:hover { background: transparent; color: var(--ink); }
.btn .chev { transition: transform 0.2s var(--ease); }
.btn:hover .chev { transform: translateX(4px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sand { background: var(--sand); color: var(--sand-ink); border-color: var(--sand); }
.btn-sand:hover { background: transparent; color: var(--sand-ink); }
/* on dark */
.on-hero .btn-outline, .section-dark .btn-outline { color: var(--paper); border-color: rgba(255,255,255,0.6); }
.on-hero .btn-outline:hover, .section-dark .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-ghost { padding: 0; background: none; border: 0; color: inherit; font-weight: 600; }
.btn-ghost .chev { transition: transform 0.2s var(--ease); }
.btn-ghost:hover .chev { transform: translateX(4px); }

/* ---- Chips / tags ---- */
.chip { display: inline-flex; align-items: center; background: var(--grey); color: var(--ink); padding: 8px 14px; font-size: 0.86rem; font-weight: 500; border-radius: var(--radius); }
.chip-set { display: flex; flex-wrap: wrap; gap: 10px; }
.chip.is-active { background: var(--ink); color: var(--paper); }
.tag-over { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.tag-over .tag { background: rgba(14,14,14,0.78); color: #fff; padding: 6px 11px; font-size: 0.78rem; font-weight: 500; backdrop-filter: blur(3px); }

/* ---- Place card ---- */
.card { display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-meta { margin-top: 16px; font-size: 0.9rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.card h3 { margin-top: 10px; }
.card h3 a:hover { color: var(--muted); }
.card-excerpt { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.card-foot { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; }
.card-foot .area { display: inline-flex; align-items: center; gap: 7px; }
.card-foot .pin { width: 15px; height: 15px; opacity: 0.7; }

/* ---- Theme card (sand, dark section) ---- */
.theme-card { position: relative; color: #fff; aspect-ratio: 3 / 4; display: flex; overflow: hidden; background: var(--ink); isolation: isolate; }
.theme-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.theme-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,14,14,0.15) 0%, rgba(14,14,14,0.2) 45%, rgba(14,14,14,0.88) 100%); transition: background 0.4s var(--ease); }
.theme-card:hover img { transform: scale(1.06); }
.theme-card:hover::after { background: linear-gradient(180deg, rgba(14,14,14,0.25) 0%, rgba(14,14,14,0.35) 45%, rgba(14,14,14,0.92) 100%); }
.theme-card .tc-body { margin-top: auto; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.theme-card h3 { font-size: 1.5rem; line-height: 1.1; }
.theme-card p { margin-top: 8px; color: rgba(255,255,255,0.82); font-size: 0.96rem; max-width: 24ch; }
.theme-card .tc-go { margin-top: 18px; width: 44px; height: 44px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.45); display: grid; place-items: center; transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.theme-card:hover .tc-go { background: var(--sand); border-color: var(--sand); color: var(--sand-ink); transform: translateX(4px); }
.theme-card:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.topo-bg { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; }

/* ---- Rating panel (our signature) ---- */
.rating { background: var(--sand); color: var(--sand-ink); padding: clamp(24px, 3vw, 36px); }
.rating .r-kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.rating h3 { margin-top: 8px; font-size: 1.35rem; }
.rating .r-rows { margin-top: 20px; display: grid; gap: 16px; }
.rating .r-row { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.rating .r-row svg { width: 20px; height: 20px; margin-top: 3px; opacity: 0.85; }
.rating .r-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.65; }
.rating .r-value { font-size: 1.02rem; line-height: 1.4; }
.rating .r-verdict { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(26,18,5,0.2); font-size: 1.08rem; font-weight: 500; line-height: 1.45; }

/* ---- Prose (place pages, history, legal) ---- */
.prose { max-width: 70ch; }
.prose p { margin-top: 1.1em; font-size: 1.1rem; line-height: 1.75; }
.prose p:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { margin-top: 1.1em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; font-size: 1.06rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--sand-deep); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Article hero (place page) ---- */
.article-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,0.5) 0%, rgba(14,14,14,0.1) 40%, rgba(14,14,14,0.85) 100%); }
.article-hero .inner { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 72px); padding-top: 140px; }
.article-hero .crumbs { font-size: 0.92rem; color: rgba(255,255,255,0.78); margin-bottom: 18px; }
.article-hero .crumbs a:hover { color: #fff; }
.article-hero h1 { max-width: 20ch; }
.article-hero .sub { margin-top: 18px; max-width: 54ch; color: rgba(255,255,255,0.86); font-size: 1.1rem; }

/* place layout: prose + sticky rating */
.place-grid { display: grid; gap: clamp(36px, 5vw, 60px); }
@media (min-width: 960px) { .place-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } .place-grid .side { position: sticky; top: 100px; } }

/* gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { margin-top: 8px; font-size: 0.86rem; color: var(--muted); }

/* ---- FAQ accordion ---- */
.faq { max-width: 820px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 1.15rem; font-weight: 600; }
.faq-q .ic { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--ink); transition: transform 0.25s var(--ease); }
.faq-q .ic::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q .ic::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-q[aria-expanded="true"] .ic::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.3s var(--ease); }
.faq-a .faq-a-inner { padding-bottom: 24px; color: var(--muted); font-size: 1.05rem; max-width: 72ch; }

/* ---- Pre-footer CTA ---- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cta-band .inner { position: relative; z-index: 2; padding-block: clamp(64px, 10vw, 128px); text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 50ch; margin: 18px auto 0; color: rgba(255,255,255,0.82); font-size: 1.1rem; }
.cta-band .btn-row { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); background: transparent; }
.cta-band .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---- Cookie banner ---- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; background: var(--ink); color: #fff; padding: 22px; display: grid; gap: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
@media (min-width: 768px) { .cookie { left: auto; right: 24px; bottom: 24px; max-width: 420px; } }
.cookie p { font-size: 0.95rem; color: rgba(255,255,255,0.82); max-width: none; }
.cookie p a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 16px; font-size: 0.9rem; }
.cookie-settings { display: grid; gap: 12px; border-top: 1px solid var(--line-dk); padding-top: 14px; }
.cookie-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 0.9rem; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---- Intro strip ---- */
.intro-strip { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; line-height: 1.3; max-width: 24ch; letter-spacing: -0.01em; }
.stat-row { display: grid; gap: 28px; grid-template-columns: repeat(2,1fr); margin-top: 36px; }
@media (min-width: 768px){ .stat-row { grid-template-columns: repeat(4,1fr); } }
.stat .n { font-size: clamp(2rem,4vw,2.8rem); font-weight: 600; }
.stat .l { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.section-dark .stat .l { color: var(--muted-dk); }

/* =======================================================================
   Page-specific components (History / Plan / About) — distinctive layouts,
   same design atoms. Prefix pg-. Added 2026-11-02.
   ======================================================================= */

/* Editorial masthead — text-forward, hairline framed (NOT the home hero) */
.pg-masthead { padding-top: clamp(120px, 14vw, 170px); padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); background: var(--paper); }
.pg-masthead .crumbs { font-size: 0.9rem; color: var(--muted); }
.pg-masthead .kicker { display: inline-block; margin-top: 18px; background: var(--sand); color: var(--sand-ink); font-weight: 600; font-size: 0.82rem; padding: 6px 12px; }
.pg-masthead h1 { margin-top: 20px; max-width: 18ch; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; }
.pg-masthead .lead { margin-top: 22px; max-width: 60ch; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.6; }
.pg-masthead .mast-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.9rem; color: var(--muted); }
.pg-masthead .mast-meta b { color: var(--ink); font-weight: 600; }

/* Horizontal timeline (history) */
.pg-timeline { background: var(--ink); color: #fff; padding-block: clamp(44px, 6vw, 72px); overflow: hidden; position: relative; }
.pg-timeline .thead { margin-bottom: 30px; }
.pg-timeline .thead h2 { color: #fff; }
.pg-timeline .thead p { color: var(--muted-dk); margin-top: 10px; max-width: 56ch; }
.pg-tl-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; cursor: grab; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.pg-tl-track::-webkit-scrollbar { height: 0; width: 0; }
.pg-tl-track:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.pg-tl-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.pg-tl-item { scroll-snap-align: start; padding: 26px 22px 0 0; border-top: 2px solid rgba(255,255,255,0.22); position: relative; margin-top: 8px; transition: border-color 0.4s var(--ease); }
.pg-tl-item::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: rgba(255,255,255,0.4); transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.pg-tl-item .yr { font-weight: 600; font-size: 1.5rem; color: var(--sand); transition: color 0.35s var(--ease); }
.pg-tl-item .lb { margin-top: 8px; font-weight: 600; font-size: 1.02rem; }
.pg-tl-item .dc { margin-top: 8px; color: var(--muted-dk); font-size: 0.92rem; line-height: 1.55; padding-right: 18px; }
/* enter animation as items scroll into the horizontal viewport */
html.js .pg-tl-item { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color 0.4s var(--ease); }
html.js .pg-tl-item.in-view { opacity: 1; transform: none; }
/* active moment emphasis */
.pg-tl-item.is-active { border-top-color: var(--sand); }
.pg-tl-item.is-active::before { background: var(--sand); transform: scale(1.25); box-shadow: 0 0 0 5px rgba(201,162,107,0.18); }
/* footer: progress + arrows */
.pg-tl-foot { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); margin-top: 28px; }
.pg-tl-bar { flex: 1 1 auto; position: relative; height: 3px; background: rgba(255,255,255,0.16); border-radius: 3px; }
.pg-tl-bar i { position: absolute; top: 0; left: 0; height: 100%; width: 25%; min-width: 24px; background: var(--sand); border-radius: 3px; }
.pg-tl-nav { display: flex; gap: 10px; flex: none; }
.pg-tl-btn { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.28); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease); }
.pg-tl-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }
.pg-tl-btn:disabled { opacity: 0.3; cursor: default; }
@media (prefers-reduced-motion: reduce) { html.js .pg-tl-item { opacity: 1; transform: none; } .pg-tl-track { scroll-behavior: auto; } }

/* Pull quote */
.pg-quote { border-left: 3px solid var(--sand); padding: 6px 0 6px 26px; margin: clamp(34px,5vw,54px) 0; max-width: 40ch; }
.pg-quote p { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; font-weight: 600; }
.pg-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.92rem; color: var(--muted); }

/* Chapter block: number + heading + body, alternating image via .split */
.pg-chapter .cno { font-size: 0.85rem; font-weight: 600; letter-spacing: .04em; color: var(--sand-deep); }
.pg-chapter h2 { margin-top: 10px; }
.pg-chapter p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.pg-chapter p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pg-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; }
.pg-figure figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--muted); }

/* Linked place chips (not full cards) */
.pg-placelinks { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px){ .pg-placelinks { grid-template-columns: 1fr 1fr; } }
.pg-plink { display: flex; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.pg-plink img { width: 84px; height: 64px; object-fit: cover; flex: none; }
.pg-plink > span:not(.chev) { display: flex; flex-direction: column; min-width: 0; }
.pg-plink .pl-t { display: block; font-weight: 600; }
.pg-plink .pl-s { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 3px; }
.pg-plink .chev { margin-left: auto; color: var(--sand-deep); font-size: 1.3rem; }
.pg-plink:hover .pl-t { color: var(--sand-deep); }

/* Itinerary (plan) — vertical day timeline */
.pg-itin { display: grid; gap: clamp(28px,4vw,44px); }
@media (min-width:900px){ .pg-itin { grid-template-columns: repeat(3,1fr); align-items: start; } }
.pg-day { }
.pg-day .dno { background: var(--ink); color:#fff; font-weight:600; font-size:0.82rem; display:inline-block; padding:6px 12px; }
.pg-day h3 { margin-top: 16px; }
.pg-day .steps { margin-top: 18px; border-left: 2px solid var(--line); display: grid; gap: 20px; }
.pg-step { position: relative; padding-left: 22px; }
.pg-step::before { content:""; position:absolute; left:-7px; top:4px; width:12px; height:12px; background: var(--sand); border: 2px solid var(--paper); }
.pg-step .tm { font-size:0.8rem; font-weight:600; color: var(--sand-deep); }
.pg-step .ds { margin-top: 4px; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.pg-step .ds a { text-decoration: underline; text-underline-offset: 2px; }

/* Info grid with icons (plan) */
.pg-info { display:grid; grid-template-columns:1fr; gap:0; border-top:1px solid var(--line); }
@media (min-width:720px){ .pg-info { grid-template-columns:1fr 1fr; } }
.pg-info .it { padding: 28px 28px 28px 0; border-bottom:1px solid var(--line); display:flex; gap:18px; }
@media (min-width:720px){ .pg-info .it:nth-child(odd){ padding-right: 40px; } .pg-info .it:nth-child(even){ padding-left: 40px; border-left:1px solid var(--line); } }
.pg-info .ic { flex:none; width:40px; height:40px; color: var(--sand-deep); }
.pg-info .ic svg { width:100%; height:100%; }
.pg-info h3 { font-size: 1.12rem; }
.pg-info p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* Season strip (plan) */
.pg-seasons { display:grid; grid-template-columns:repeat(2,1fr); gap:2px; background: var(--line); border:1px solid var(--line); }
@media (min-width:720px){ .pg-seasons { grid-template-columns:repeat(4,1fr); } }
.pg-season { background: var(--cream); padding: 22px; }
.pg-season .sn { font-weight:600; }
.pg-season .sm { font-size:0.82rem; color: var(--sand-deep); font-weight:600; margin-top:2px; }
.pg-season p { margin-top:10px; font-size:0.92rem; color: var(--muted); line-height:1.55; }

/* Principles list (about) */
.pg-principles { display:grid; gap:0; border-top:1px solid var(--line); counter-reset: pr; max-width: 820px; }
.pg-principle { display:grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 26px 0; border-bottom:1px solid var(--line); }
.pg-principle::before { counter-increment: pr; content: counter(pr,decimal-leading-zero); font-weight:600; color: var(--sand-deep); font-size:1.1rem; }
.pg-principle h3 { font-size:1.18rem; }
.pg-principle p { margin-top:8px; color: var(--muted); font-size:1rem; line-height:1.65; }

/* Editor note band (about) */
.pg-note { background: var(--cream); }
.pg-note .wrap { display:grid; gap: clamp(28px,5vw,56px); align-items:center; }
@media (min-width:900px){ .pg-note .wrap { grid-template-columns: 0.85fr 1.15fr; } }
.pg-note img { width:100%; aspect-ratio: 4/5; object-fit: cover; display:block; }
.pg-note h2 { }
.pg-note p { margin-top:16px; color: var(--muted); font-size:1.08rem; line-height:1.7; }

/* ===== Enriched pages: Plan Your Visit & About ===== */

/* generic section heading + kicker (standalone, not only in masthead) */
.kicker { display: inline-block; background: var(--sand); color: var(--sand-ink); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; padding: 6px 12px; }
.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { margin-top: 16px; }
.sec-sub { margin-top: 14px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.section-dark .sec-sub { color: var(--muted-dk); }

/* quick-facts band */
.facts-band { background: var(--grey); padding-block: clamp(34px, 5vw, 52px); }
.facts-band .stat-row { margin-top: 0; }
.facts-band .stat .n { color: var(--ink); }
.facts-band .stat .l { color: var(--muted); }

/* Plan essentials — numbered cards */
.plan-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2px, 0.4vw, 6px); border-top: 1px solid var(--line); }
@media (min-width: 680px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { position: relative; padding: clamp(24px, 2.4vw, 32px) clamp(20px, 2vw, 28px) clamp(28px, 2.6vw, 36px); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.plan-card:hover { background: var(--grey); }
.plan-card h3 { margin-top: 0; font-size: 1.18rem; }
.plan-card p { margin-top: 12px; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* Itineraries — tabs + day timeline */
.itin-tabs { display: inline-flex; gap: 6px; padding: 5px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-pill); margin-bottom: clamp(30px, 4vw, 48px); }
.itin-tab { padding: 11px 22px; font-size: 0.96rem; font-weight: 500; color: var(--muted-dk); background: transparent; border: 0; border-radius: var(--radius-pill); cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.itin-tab:hover { color: #fff; }
.itin-tab.is-active { background: var(--sand); color: var(--sand-ink); }
.itin-panel { display: grid; gap: clamp(20px, 2.4vw, 30px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .itin-panel { grid-template-columns: repeat(2, 1fr); } .itin-panel[data-panel="d3"] { grid-template-columns: repeat(3, 1fr); } }
.itin-panel[hidden] { display: none; }
.itin-day { border-top: 2px solid var(--sand); padding-top: 22px; }
.itin-day-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.itin-badge { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sand-ink); background: var(--sand); padding: 4px 10px; }
.itin-day-head h3 { font-size: 1.16rem; }
.itin-rows { margin-top: 18px; display: grid; gap: 16px; }
.itin-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; }
.itin-when { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sand-deep); padding-top: 3px; }
.itin-row p { color: var(--muted-dk); font-size: 0.98rem; line-height: 1.6; }
.itin-row a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.35); transition: text-decoration-color 0.2s; }
.itin-row a:hover { text-decoration-color: var(--sand); }

/* About — intro, rating card, principles */
.about-intro { max-width: 66ch; }
.about-lede { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; line-height: 1.4; }
.about-body { margin-top: 22px; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.rate-card { background: var(--ink); color: #fff; padding: clamp(28px, 3vw, 40px); }
.rate-eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }
.rate-card-top h3 { color: #fff; margin-top: 10px; font-size: 1.5rem; }
.rate-list { margin-top: 24px; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,0.14); }
.rate-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.rate-list dt { color: var(--sand-deep); font-size: 0.9rem; font-weight: 600; }
.rate-list dd { color: rgba(255,255,255,0.9); font-size: 0.98rem; }
.rate-verdict { margin-top: 22px; font-size: 1.22rem; font-weight: 500; line-height: 1.4; color: #fff; }
.principle-grid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 760px) { .principle-grid { grid-template-columns: repeat(3, 1fr); } }
.principle { padding-top: 22px; border-top: 2px solid rgba(255,255,255,0.22); }
.principle .pr-ico { display: inline-block; font-size: 1.4rem; color: var(--sand); line-height: 1; }
.principle h3 { margin-top: 14px; font-size: 1.16rem; color: #fff; }
.principle p { margin-top: 10px; color: var(--muted-dk); font-size: 0.98rem; line-height: 1.6; }

/* ===== Home blocks: plan (4-up) & FAQ two-column ===== */
@media (min-width: 1000px) { .plan-grid.g4 { grid-template-columns: repeat(4, 1fr); } }
.plan-card:hover { background: rgba(14,14,14,0.035); }

.faq-layout { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 0.82fr 1.18fr; } }
.faq-layout .faq { max-width: none; }
.faq-intro h2 { margin-top: 16px; }
.faq-intro p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 36ch; }
.faq-intro .btn { margin-top: 26px; }
@media (min-width: 900px) { .faq-intro { position: sticky; top: 104px; } }

/* ===== Cookie table: scroll the table, not the page ===== */
.table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; margin-top: 1.2em; }
.table-wrap table { margin-top: 0 !important; min-width: 640px; }

/* ===== Header CTA: smaller on desktop, hidden on mobile ===== */
.nav > a.btn { padding: 10px 16px; font-size: 0.9rem; }
@media (max-width: 1023px) { .nav > a.btn { display: none; } }
