/* ==========================================================================
   Redesign 2026 — yeni görsel dil (home-alternatif.dc.html baz alınarak)
   Bu dosya style.css'in üzerine YAZILMAZ; tamamen "rd-" önekli yeni class'lar
   tanımlar. Eski class isimleriyle çakışma yoktur.
   ========================================================================== */

:root {
  --rd-navy: #04101b;
  --rd-navy-2: #0a2438;
  --rd-navy-3: #030b13;
  --rd-teal: #0e7d97;
  --rd-teal-light: #5ad0e6;
  --rd-teal-lighter: #8de1f0;
  --rd-bg: #fbfcfd;
  --rd-ink: #0c1b28;
  --rd-ink-soft: #3d5060;
  --rd-body: #56697a;
  --rd-muted: #7e95a6;
  --rd-muted-2: #8aa4b5;
  --rd-muted-3: #9db4c4;
  --rd-line: #e6edf1;
  --rd-line-strong: #d5e0e7;
  --rd-fg-on-navy: #eef6fa;
  --rd-fg-on-navy-soft: #c8d9e4;
  --rd-font-display: 'Bricolage Grotesque', sans-serif;
  --rd-font-body: 'Archivo', sans-serif;
  --rd-radius-lg: 24px;
  --rd-radius-md: 18px;
  --rd-radius-sm: 12px;
  --rd-radius-pill: 999px;
  --rd-max: 1280px;
}

.rd-shell { background: var(--rd-bg); color: var(--rd-ink); font-family: var(--rd-font-body); -webkit-font-smoothing: antialiased; }
.rd-shell a { text-decoration: none; }
.rd-shell ::selection { background: var(--rd-teal-light); color: var(--rd-navy); }
.rd-shell * { box-sizing: border-box; }
.rd-wrap { max-width: var(--rd-max); margin: 0 auto; }

/* ---- Topbar ---- */
.rd-topbar { background: var(--rd-navy); padding: 9px 48px; }
.rd-topbar-inner { max-width: var(--rd-max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; color: var(--rd-muted-2); font-size: 12.5px; letter-spacing: .04em; flex-wrap: wrap; gap: 8px; }
.rd-topbar-contact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rd-topbar-contact .rd-sep { color: #33505f; }
.rd-topbar-contact a { color: inherit; }
.rd-topbar-social { display: flex; align-items: center; gap: 16px; }
.rd-topbar-social a { display: flex; color: var(--rd-muted-2); transition: color .15s ease; }
.rd-topbar-social a:hover { color: var(--rd-teal-light); }

/* ---- Nav ---- */
.rd-nav { position: sticky; top: 0; z-index: 100; padding: 14px 48px; background: rgba(251,252,253,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rd-line); }
.rd-nav-inner { max-width: var(--rd-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rd-logo img { height: 70px; display: block; }
.rd-nav-links { display: flex; align-items: center; gap: 27px; font-size: 16px; font-weight: 500; }
.rd-nav-links > li { position: relative; list-style: none; }
.rd-nav-links > li > a { color: var(--rd-ink-soft); display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; }
.rd-nav-links > li > a:hover,
.rd-nav-links > li.rd-active > a { color: var(--rd-teal); }
.rd-nav-links > li.rd-active > a { font-weight: 700; }
.rd-nav-links .rd-caret { font-size: 10px; opacity: .6; }

.rd-nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--rd-line); border-radius: 14px; padding: 10px; box-shadow: 0 18px 40px rgba(12,27,40,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease; z-index: 10; }
.rd-nav-links > li:hover .rd-nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.rd-nav-dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--rd-ink-soft); font-size: 13.5px; font-weight: 500; }
.rd-nav-dropdown a:hover { background: #eaf3f7; color: var(--rd-teal); }
.rd-nav-dropdown .rd-dropdown-group-title { display: block; padding: 8px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-muted); }
.rd-nav-dropdown .rd-dropdown-empty { padding: 9px 12px; font-size: 13px; color: var(--rd-muted); }

.rd-nav-lang { display: flex; gap: 2px; border: 1px solid var(--rd-line-strong); border-radius: var(--rd-radius-pill); padding: 3px; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.rd-nav-lang select.rd-lang-select {
  appearance: none; -webkit-appearance: none; border: none; background: transparent;
  padding: 4px 24px 4px 12px; border-radius: var(--rd-radius-pill); color: var(--rd-navy); font-weight: 700;
  font-family: var(--rd-font-body); font-size: 12px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237e95a6' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.rd-nav-lang select.rd-lang-select:focus { outline: none; }

.rd-nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--rd-line-strong); background: #fff; color: var(--rd-ink); font-size: 18px; cursor: pointer; flex-shrink: 0; }
.rd-nav-toggle:hover { border-color: var(--rd-teal); color: var(--rd-teal); }

/* ---- Buttons ---- */
.rd-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border-radius: var(--rd-radius-pill); font-weight: 700; font-size: 15.5px; border: none; cursor: pointer; font-family: var(--rd-font-body); white-space: nowrap; transition: all .15s ease; }
.rd-btn-dark { background: var(--rd-navy); color: var(--rd-fg-on-navy); }
.rd-btn-dark:hover { background: var(--rd-teal); color: var(--rd-fg-on-navy); }
.rd-btn-outline { background: transparent; color: var(--rd-ink); border: 1.5px solid var(--rd-line-strong); font-weight: 600; }
.rd-btn-outline:hover { border-color: var(--rd-teal); color: var(--rd-teal); }
.rd-btn-accent { background: var(--rd-teal-light); color: var(--rd-navy); }
.rd-btn-accent:hover { background: var(--rd-teal-lighter); color: var(--rd-navy); }

/* ---- Hero ---- */
.rd-hero { max-width: var(--rd-max); margin: 0 auto; padding: 56px 0px 80px 0px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.rd-hero-eyebrow { display: inline-block; padding: 7px 16px; border-radius: var(--rd-radius-pill); background: #eaf3f7; color: var(--rd-teal); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 24px; }
.rd-hero-title { font-family: var(--rd-font-display); font-weight: 800; font-size: 56px; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 22px; color: var(--rd-ink); }
.rd-hero-title em { font-style: normal; color: var(--rd-teal); }
.rd-hero-sub { font-size: 18px; line-height: 1.65; color: var(--rd-body); max-width: 480px; margin: 0 0 32px; }
.rd-hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.rd-hero-stats { display: flex; gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rd-line); flex-wrap: wrap; }
.rd-hero-stat-value { font-family: var(--rd-font-display); font-weight: 800; font-size: 26px; }
.rd-hero-stat-label { font-size: 13px; color: var(--rd-muted); font-weight: 500; }

.rd-hero-media { position: relative; height: 520px; min-width: 0; }
.rd-hero-media-frame { position: absolute; inset: 0; border-radius: var(--rd-radius-lg); overflow: hidden; background: var(--rd-navy); }
.rd-hero-media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-hero-slider { position: relative; width: 100%; height: 100%; }
.rd-hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1.1s ease; }
.rd-hero-slide.rd-active { opacity: 1; }
.rd-hero-next-tour { position: absolute; z-index: 2; left: -20px; bottom: 28px; background: var(--rd-navy); color: var(--rd-fg-on-navy); border-radius: 16px; padding: 16px 20px; box-shadow: 0 16px 40px rgba(12,27,40,.25); max-width: 260px; }
.rd-hero-next-tour-cta { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--rd-teal-light); }
.rd-hero-next-tour-cta:hover { color: var(--rd-teal-lighter); }
.rd-hero-next-tour-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-teal-light); font-weight: 700; margin-bottom: 4px; }
.rd-hero-next-tour-value { font-family: var(--rd-font-display); font-weight: 700; font-size: 16px; }

/* ---- Yaklaşan turlar (dark row list) ---- */
.rd-section-dark { background: var(--rd-navy); padding: 76px 0px; }
.rd-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 12px; }
.rd-section-title { font-family: var(--rd-font-display); font-weight: 700; font-size: 36px; margin: 0; }
.rd-section-title.rd-on-navy { color: var(--rd-fg-on-navy); }
.rd-section-link { font-weight: 600; font-size: 15px; }
.rd-section-link.rd-on-navy { color: var(--rd-teal-light); }
.rd-section-link.rd-on-navy:hover { color: var(--rd-teal-lighter); }
.rd-section-link.rd-on-light { color: var(--rd-teal); }
.rd-section-link.rd-on-light:hover { color: var(--rd-teal-light); }

.rd-tour-list { display: flex; flex-direction: column; }
.rd-tour-row { display: grid; grid-template-columns: 130px 1.6fr 1fr auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(122,160,182,.15); color: var(--rd-fg-on-navy); }
.rd-tour-row:hover { color: var(--rd-teal-light); }
.rd-tour-thumb { height: 84px; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.05); }
.rd-tour-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-tour-name { font-family: var(--rd-font-display); font-weight: 700; font-size: 19px; margin-bottom: 4px; color: inherit; }
.rd-tour-meta { font-size: 13px; color: var(--rd-muted-2); }
.rd-tour-dates { font-size: 13.5px; color: var(--rd-muted-3); }
.rd-tour-price-wrap { display: flex; align-items: center; gap: 18px; }
.rd-tour-price { font-family: var(--rd-font-display); font-weight: 800; font-size: 19px; color: var(--rd-fg-on-navy); }
.rd-tour-arrow { color: var(--rd-teal-light); font-weight: 700; }
.rd-tour-empty { color: var(--rd-muted-2); font-size: 14px; padding: 24px 0; }

/* ---- Eğitim kartları ---- */
.rd-section { max-width: var(--rd-max); margin: 0 auto; padding: 80px 0px; }
.rd-edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .rd-edu-grid { grid-template-columns: 1fr; } }
.rd-edu-card { display: flex; flex-direction: column; gap: 12px; border-radius: var(--rd-radius-md); overflow: hidden; background: #fff; border: 1px solid var(--rd-line); color: var(--rd-ink); padding-bottom: 22px; transition: border-color .15s ease; }
.rd-edu-card:hover { border-color: var(--rd-teal); color: var(--rd-ink); }
.rd-edu-thumb { height: 170px; background: var(--rd-line); }
.rd-edu-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-edu-title { font-family: var(--rd-font-display); font-weight: 700; font-size: 20px; margin: 0; padding: 4px 22px 0; }
.rd-edu-desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--rd-body); padding: 0 22px; }
.rd-edu-cta { padding: 2px 22px 0; font-size: 13px; font-weight: 700; color: var(--rd-teal); }

/* ---- CTA banner (mağaza) ---- */
.rd-cta-wrap { max-width: var(--rd-max); margin: 0 auto; padding: 0 0px 88px; }
.rd-cta-banner { background: linear-gradient(120deg, var(--rd-navy) 0%, var(--rd-navy-2) 100%); border-radius: var(--rd-radius-lg); padding: 48px 52px; display: flex; justify-content: space-between; align-items: center; gap: 36px; position: relative; overflow: hidden; flex-wrap: wrap; }
.rd-cta-glow { position: absolute; top: -160px; right: 60px; width: 420px; height: 420px; pointer-events: none; background: radial-gradient(circle, rgba(90,208,230,.16) 0%, transparent 65%); }
.rd-cta-title { font-family: var(--rd-font-display); font-weight: 700; font-size: 28px; margin: 0 0 8px; color: var(--rd-fg-on-navy); position: relative; }
.rd-cta-sub { font-size: 15px; color: var(--rd-muted-3); margin: 0; max-width: 460px; position: relative; }

/* ---- Footer ---- */
.rd-footer { background: var(--rd-navy-3); padding: 64px 48px 0; color: var(--rd-muted-2); position: relative; overflow: hidden; }
.rd-footer-glow { position: absolute; top: -260px; left: 50%; width: 700px; height: 600px; margin-left: -350px; pointer-events: none; background: radial-gradient(circle, rgba(180,225,240,.1) 0%, transparent 65%); }
.rd-footer-inner { max-width: var(--rd-max); margin: 0 auto; position: relative; }
.rd-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(122,160,182,.14); }
@media (max-width: 900px) { .rd-footer-grid { grid-template-columns: 1fr 1fr; } }
.rd-footer-brand-logo { height: 140px; display: block; margin-bottom: 16px; }
.rd-footer-brand-name { font-family: var(--rd-font-display); font-weight: 800; font-size: 22px; color: var(--rd-fg-on-navy); margin-bottom: 6px; }
.rd-footer-brand-tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #6f8ba0; margin-bottom: 16px; }
.rd-footer-brand-desc { font-size: 13.5px; line-height: 1.7; margin: 0 0 20px; max-width: 300px; }
.rd-footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.rd-footer-social a { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: var(--rd-radius-pill); border: 1px solid rgba(122,160,182,.25); color: var(--rd-fg-on-navy-soft); font-size: 13px; font-weight: 600; }
.rd-footer-social a:hover { border-color: var(--rd-teal-light); color: var(--rd-teal-light); }
.rd-footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
.rd-footer-col-title { color: var(--rd-fg-on-navy); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; display: block; }
.rd-footer-col a { color: var(--rd-muted-2); }
.rd-footer-col a:hover { color: var(--rd-teal-light); }
.rd-footer-news-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rd-footer-news-list li { font-size: 12.5px; color: var(--rd-muted-2); line-height: 1.5; }
.rd-footer-news-list li strong { display: block; color: var(--rd-fg-on-navy-soft); font-weight: 600; }

.rd-newsletter-desc { font-size: 13px; line-height: 1.6; margin: 0 0 14px; }
.rd-newsletter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-newsletter-input { flex: 1; min-width: 160px; padding: 12px 16px; border-radius: var(--rd-radius-pill); border: 1px solid rgba(122,160,182,.3); background: rgba(255,255,255,.05); color: var(--rd-fg-on-navy); font-size: 13.5px; outline: none; font-family: var(--rd-font-body); }
.rd-newsletter-input:focus { border-color: var(--rd-teal-light); }
.rd-newsletter-btn { padding: 12px 20px; border-radius: var(--rd-radius-pill); background: var(--rd-teal-light); color: var(--rd-navy); font-weight: 700; font-size: 13.5px; border: none; cursor: pointer; font-family: var(--rd-font-body); white-space: nowrap; }
.rd-newsletter-btn:hover { background: var(--rd-teal-lighter); }
.rd-newsletter-result { font-size: 12.5px; color: var(--rd-teal-light); margin-top: 8px; display: block; }
.rd-footer-contact { display: flex; flex-direction: column; gap: 5px; margin-top: 20px; font-size: 13px; }
.rd-footer-contact strong { color: var(--rd-fg-on-navy-soft); font-weight: 600; }

.rd-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 26px; font-size: 12.5px; color: #56697a; flex-wrap: wrap; gap: 12px; }
.rd-footer-badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.rd-footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--rd-radius-pill); border: 1px solid rgba(122,160,182,.2); font-weight: 600; color: var(--rd-muted-2); font-size: 12px; }
.rd-footer-badge img { height: 20px; display: block; }
.rd-footer-credit { display: flex; align-items: center; gap: 14px; }
.rd-footer-credit a { color: var(--rd-muted-2); }
.rd-footer-credit a:hover { color: var(--rd-teal-light); }

/* ---- Generic dark page hero (listing pages) ---- */
.rd-page-hero { background: var(--rd-navy); padding: 64px 48px 48px; position: relative; overflow: hidden; }
.rd-page-hero-glow { position: absolute; top: -260px; left: 50%; width: 700px; height: 600px; margin-left: -350px; pointer-events: none; background: radial-gradient(circle, rgba(180,225,240,.16) 0%, transparent 65%); }
.rd-page-hero-inner { max-width: var(--rd-max); margin: 0 auto; position: relative; }
.rd-page-hero-eyebrow { color: var(--rd-teal-light); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.rd-page-hero-title { font-family: var(--rd-font-display); font-weight: 800; font-size: 46px; letter-spacing: -.02em; margin: 0 0 14px; color: var(--rd-fg-on-navy); }
.rd-page-hero-sub { font-size: 16px; line-height: 1.6; color: var(--rd-muted-3); max-width: 560px; margin: 0; }

.rd-page-body { background: #f3f6f8; padding: 32px 48px 88px; }
.rd-page-body-inner { max-width: var(--rd-max); margin: 0 auto; }
.rd-result-count { font-size: 13.5px; color: var(--rd-muted); margin: 0 0 22px; }
.rd-empty-state { padding: 60px 0; text-align: center; color: var(--rd-muted); font-size: 15px; }

/* ---- Education tiers listing (TrainingPrograms) ---- */
.rd-edu-tiers { display: flex; flex-direction: column; gap: 64px; }
.rd-edu-tier-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.rd-edu-tier-num { font-family: ui-monospace, monospace; font-size: 13px; color: var(--rd-teal); letter-spacing: .1em; }
.rd-edu-tier-title { font-family: var(--rd-font-display); font-weight: 700; font-size: 30px; margin: 0; color: var(--rd-ink); }
.rd-edu-tier-desc { font-size: 15px; color: var(--rd-body); margin: 0 0 26px; max-width: 620px; }

/* ---- Tour card grid (listing pages) ---- */
.rd-tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .rd-tour-grid { grid-template-columns: 1fr; } }
.rd-tour-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--rd-radius-md); overflow: hidden; color: var(--rd-ink); box-shadow: 0 1px 3px rgba(12,27,40,.08); transition: box-shadow .2s ease, transform .2s ease; }
.rd-tour-card:hover { box-shadow: 0 14px 34px rgba(12,27,40,.14); transform: translateY(-3px); color: var(--rd-ink); }
.rd-tour-card-media { position: relative; height: 200px; background: var(--rd-line); }
.rd-tour-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-tour-card-badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: var(--rd-radius-pill); background: rgba(4,16,27,.72); color: var(--rd-teal-light); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rd-tour-card-body { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 22px; flex: 1; }
.rd-tour-card-title { font-family: var(--rd-font-display); font-weight: 700; font-size: 19px; margin: 0; line-height: 1.25; }
.rd-tour-card-meta { display: flex; gap: 12px; font-size: 13px; color: var(--rd-body); font-weight: 500; flex-wrap: wrap; align-items: center; }
.rd-tour-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rd-line); }
.rd-tour-card-price { font-family: var(--rd-font-display); font-weight: 800; font-size: 18px; }
.rd-tour-card-cta { font-size: 13px; font-weight: 700; color: var(--rd-teal); white-space: nowrap; }

/* ---- Detail pages (tour / training program) ---- */
.rd-detail-hero { position: relative; min-height: 420px; overflow: hidden; display: flex; align-items: flex-end; background: var(--rd-navy); }
.rd-detail-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.rd-detail-hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(4,16,27,.45) 0%, rgba(4,16,27,.15) 45%, rgba(4,16,27,.92) 100%); }
.rd-detail-hero-inner { position: relative; z-index: 2; padding: 40px 0px 48px 0px; max-width: var(--rd-max); margin: 0 auto; width: 100%; box-sizing: border-box; }
.rd-detail-back { font-size: 13.5px; font-weight: 600; color: var(--rd-muted-3); }
.rd-detail-back:hover { color: var(--rd-teal-light); }
.rd-detail-hero-meta { display: flex; align-items: center; gap: 12px; margin: 14px 0 10px; flex-wrap: wrap; }
.rd-detail-badge { padding: 5px 12px; border-radius: var(--rd-radius-pill); background: rgba(90,208,230,.18); border: 1px solid rgba(90,208,230,.4); color: var(--rd-teal-light); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rd-detail-dates { color: var(--rd-muted-3); font-size: 13.5px; font-weight: 500; }
.rd-detail-hero-title { font-family: var(--rd-font-display); font-weight: 800; font-size: 40px; letter-spacing: -.02em; margin: 0; color: var(--rd-fg-on-navy); line-height: 1.15; }

.rd-detail-layout { max-width: var(--rd-max); margin: 0 auto; padding: 48px 0px 96px 0px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.rd-detail-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.rd-detail-section { background: #fff; border: 1px solid var(--rd-line); border-radius: 18px; padding: 28px 30px; box-shadow: 0 1px 3px rgba(12,27,40,.05); }
.rd-detail-section-title { display: flex; align-items: center; gap: 12px; font-family: var(--rd-font-display); font-weight: 700; font-size: 20px; margin: 0 0 16px; color: var(--rd-ink); }
.rd-section-icon { width: 38px; height: 38px; border-radius: 11px; background: #eaf3f7; color: var(--rd-teal); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.rd-detail-section.rd-section-warning .rd-section-icon { background: #fdf1e3; color: #b0742a; }
.rd-detail-section.rd-section-warning { border-color: rgba(176,116,42,.25); }
.rd-prose { font-size: 15.5px; line-height: 1.75; color: var(--rd-body); }
.rd-prose p { margin: 0 0 12px; }
.rd-prose ul { margin: 0 0 12px; padding-left: 20px; }
.rd-prose h1, .rd-prose h2, .rd-prose h3, .rd-prose h4 { font-family: var(--rd-font-display); color: var(--rd-ink); margin: 18px 0 8px; }
.rd-prose img { max-width: 100%; border-radius: 10px; }
.rd-prose pre { white-space: pre-wrap; word-wrap: break-word; overflow-x: visible; font-family: inherit; font-size: inherit; color: inherit; background: transparent; border: none; padding: 0; margin: 0 0 12px; }
.rd-prose table { max-width: 100%; display: block; overflow-x: auto; }

.rd-program-list { display: flex; flex-direction: column; }
.rd-program-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rd-line); }
.rd-program-day { font-family: ui-monospace, monospace; font-size: 12px; color: var(--rd-teal); font-weight: 600; padding-top: 2px; }
.rd-program-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.rd-program-detail { font-size: 13.5px; line-height: 1.6; color: var(--rd-body); }
.rd-program-detail img.ScDaysImage { max-width: 140px; border-radius: 8px; float: right; margin: 0 0 8px 12px; }

.rd-include-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rd-include-card { background: #fff; border: 1px solid var(--rd-line); border-radius: 16px; padding: 24px 26px; box-shadow: 0 1px 3px rgba(12,27,40,.05); }
.rd-include-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--rd-font-display); font-weight: 700; font-size: 17px; margin: 0 0 14px; color: var(--rd-teal); }
.rd-include-card h3 i { width: 30px; height: 30px; border-radius: 9px; background: #eaf3f7; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.rd-include-card.rd-exclude h3 { color: #b0742a; }
.rd-include-card.rd-exclude h3 i { background: #fdf1e3; }
.rd-include-card .rd-prose { font-size: 14px; }

.rd-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rd-gallery-thumb { display: block; height: 130px; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.rd-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.rd-gallery-thumb:hover img { transform: scale(1.06); }

/* ---- Lightbox ---- */
.rd-lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(4,16,27,.94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 60px 90px; }
.rd-lightbox.rd-open { display: flex; }
.rd-lightbox-img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.rd-lightbox-counter { color: var(--rd-fg-on-navy-soft); font-size: 13px; margin-top: 16px; font-family: var(--rd-font-body); }
.rd-lightbox-close, .rd-lightbox-nav { position: absolute; background: rgba(255,255,255,.1); color: var(--rd-fg-on-navy); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.rd-lightbox-close:hover, .rd-lightbox-nav:hover { background: rgba(255,255,255,.22); }
.rd-lightbox-close { top: 24px; right: 28px; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; }
.rd-lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 26px; line-height: 1; }
.rd-lightbox-prev { left: 24px; }
.rd-lightbox-next { right: 24px; }
@media (max-width: 700px) {
  .rd-lightbox { padding: 70px 16px; }
  .rd-lightbox-nav { width: 42px; height: 42px; font-size: 20px; }
  .rd-lightbox-prev { left: 8px; }
  .rd-lightbox-next { right: 8px; }
}

.rd-detail-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.rd-price-card { background: var(--rd-navy); border-radius: var(--rd-radius-md); padding: 26px; color: var(--rd-fg-on-navy); }
.rd-price-card-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-muted-2); font-weight: 600; margin-bottom: 6px; }
.rd-price-card-value { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.rd-price-card-amount { font-family: var(--rd-font-display); font-weight: 800; font-size: 32px; }
.rd-price-card-currency { font-size: 15px; font-weight: 600; color: var(--rd-teal-light); }
.rd-price-card-rows { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--rd-fg-on-navy-soft); padding-bottom: 18px; border-bottom: 1px solid rgba(122,160,182,.2); margin-bottom: 18px; }
.rd-price-card-row { display: flex; justify-content: space-between; gap: 12px; }
.rd-price-card-row span:first-child { color: var(--rd-muted-2); flex-shrink: 0; }
.rd-price-card-cta { display: block; text-align: center; padding: 15px; border-radius: var(--rd-radius-pill); background: var(--rd-teal-light); color: var(--rd-navy); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.rd-price-card-cta:hover { background: var(--rd-teal-lighter); color: var(--rd-navy); }
.rd-price-card-phone { text-align: center; font-size: 12.5px; color: var(--rd-muted-2); }
.rd-price-card-download { display: block; text-align: center; font-size: 12.5px; color: var(--rd-teal-light); margin-top: 10px; }
.rd-note-card { background: linear-gradient(165deg, #eaf3f7 0%, #f7fbfc 55%, #ffffff 100%); border: 1px solid rgba(14,125,151,.16); border-radius: 16px; padding: 22px 22px 20px; font-size: 13px; line-height: 1.6; color: var(--rd-body); }
.rd-note-card-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--rd-teal); font-family: var(--rd-font-display); font-weight: 700; font-size: 15px; }
.rd-note-card-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rd-teal-light); flex-shrink: 0; }
.rd-related-list { display: flex; flex-direction: column; gap: 12px; }
.rd-related-item { display: flex; align-items: center; gap: 12px; color: var(--rd-ink); padding: 6px; border-radius: 12px; transition: background .15s ease, color .15s ease; }
.rd-related-item:hover { color: var(--rd-teal); background: rgba(14,125,151,.08); }
.rd-related-thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--rd-line); box-shadow: 0 0 0 2px #fff; }
.rd-related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-related-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.rd-related-item-flat { display: flex; align-items: center; gap: 8px; padding: 11px 8px; border-radius: 10px; border-bottom: 1px solid rgba(14,125,151,.14); font-size: 13.5px; font-weight: 600; color: var(--rd-ink); transition: background .15s ease, color .15s ease, padding-left .15s ease; }
.rd-related-item-flat::before { content: "→"; color: var(--rd-teal-light); font-weight: 700; }
.rd-related-item-flat:last-child { border-bottom: none; }
.rd-related-item-flat:hover { color: var(--rd-teal); background: rgba(14,125,151,.08); padding-left: 12px; }

/* ---- Blog listing ---- */
.rd-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rd-blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(12,27,40,.07); color: var(--rd-ink); transition: box-shadow .2s ease; }
.rd-blog-card:hover { box-shadow: 0 10px 26px rgba(12,27,40,.12); color: var(--rd-ink); }
.rd-blog-card-media { height: 190px; background: var(--rd-line); }
.rd-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-blog-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.rd-blog-card-title { font-family: var(--rd-font-display); font-weight: 700; font-size: 19px; margin: 0; line-height: 1.25; }
.rd-blog-card-excerpt { margin: 0; font-size: 14px; line-height: 1.55; color: var(--rd-body); }
.rd-blog-card-cta { font-size: 13px; font-weight: 700; color: var(--rd-teal); margin-top: auto; }

.rd-blog-grid > .rd-blog-card:first-child { grid-column: span 3; flex-direction: row; }
.rd-blog-grid > .rd-blog-card:first-child .rd-blog-card-media { width: 46%; height: auto; flex-shrink: 0; }
.rd-blog-grid > .rd-blog-card:first-child .rd-blog-card-body { justify-content: center; padding: 36px 40px; }
.rd-blog-grid > .rd-blog-card:first-child .rd-blog-card-title { font-size: 28px; }
@media (max-width: 900px) {
  .rd-blog-grid { grid-template-columns: 1fr 1fr; }
  .rd-blog-grid > .rd-blog-card:first-child { grid-column: span 2; flex-direction: column; }
  .rd-blog-grid > .rd-blog-card:first-child .rd-blog-card-media { width: 100%; height: 190px; }
}
@media (max-width: 700px) {
  .rd-blog-grid { grid-template-columns: 1fr; }
  .rd-blog-grid > .rd-blog-card:first-child { grid-column: span 1; }
}

@media (max-width: 900px) {
  .rd-detail-layout { grid-template-columns: 1fr; }
  .rd-include-grid { grid-template-columns: 1fr; }
}

/* ---- Partner logo grid (References) ---- */
.rd-partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rd-partner-card { background: #fff; border-radius: 16px; padding: 26px; display: flex; align-items: center; justify-content: center; min-height: 120px; box-shadow: 0 1px 3px rgba(12,27,40,.07); transition: box-shadow .2s ease, transform .2s ease; }
.rd-partner-card:hover { box-shadow: 0 10px 26px rgba(12,27,40,.12); transform: translateY(-2px); }
.rd-partner-card img { max-width: 100%; max-height: 70px; object-fit: contain; }
@media (max-width: 900px) { .rd-partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .rd-partner-grid { grid-template-columns: 1fr; } }

/* ---- Contact page ---- */
.rd-contact-layout { max-width: var(--rd-max); margin: 0 auto; padding: 56px 0px 100px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.rd-form-card { background: #fff; border-radius: 20px; padding: 40px 44px; box-shadow: 0 1px 3px rgba(12,27,40,.08); }
.rd-form-card h2 { font-family: var(--rd-font-display); font-weight: 700; font-size: 24px; margin: 0 0 8px; }
.rd-form-card-sub { font-size: 14px; color: var(--rd-body); margin: 0 0 26px; }
.rd-form-success { padding: 16px 20px; border-radius: 12px; background: #e6f7ef; color: #1a7a4d; font-weight: 600; font-size: 14.5px; margin-bottom: 22px; }
.rd-form-error, .rd-form-error * { color: #b3261e !important; }
.rd-form-error { padding: 14px 20px; border-radius: 12px; background: #fdecec; border: 1px solid rgba(179,38,30,.2); font-size: 13.5px; margin-bottom: 18px; }
.rd-form-error ul { margin: 4px 0 0; padding-left: 18px; }
.rd-newsletter-error, .rd-newsletter-error * { color: #ffb4ac !important; }
.rd-newsletter-error { font-size: 12.5px; margin-top: 8px; display: block; }
.rd-newsletter-error ul { margin: 4px 0 0; padding-left: 16px; }
.rd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.rd-field { display: flex; flex-direction: column; gap: 7px; }
.rd-field label { font-size: 12.5px; font-weight: 700; color: var(--rd-ink-soft); }
.rd-input, .rd-textarea { padding: 13px 16px; border-radius: 10px; border: 1px solid var(--rd-line-strong); font-size: 14.5px; outline: none; background: #fbfdfe; font-family: var(--rd-font-body); color: var(--rd-ink); width: 100%; box-sizing: border-box; }
.rd-input:focus, .rd-textarea:focus { border-color: var(--rd-teal-light); }
.rd-textarea { resize: vertical; }
.rd-form-card .rd-btn { border: none; cursor: pointer; }

.rd-contact-aside { display: flex; flex-direction: column; gap: 18px; }
.rd-contact-direct { background: var(--rd-navy); border-radius: var(--rd-radius-md); padding: 30px; color: var(--rd-fg-on-navy); display: flex; flex-direction: column; gap: 18px; }
.rd-contact-direct h3 { font-family: var(--rd-font-display); font-weight: 700; font-size: 19px; margin: 0; }
.rd-contact-direct-group { display: flex; flex-direction: column; gap: 4px; }
.rd-contact-direct-label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-muted-2); font-weight: 600; }
.rd-contact-direct-value { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.rd-contact-direct-social { display: flex; gap: 14px; font-size: 14px; }
.rd-contact-direct-social a { color: var(--rd-fg-on-navy-soft); }
.rd-contact-direct-social a:hover { color: var(--rd-teal-light); }
.rd-map-card { background: #fff; border-radius: var(--rd-radius-md); overflow: hidden; box-shadow: 0 1px 3px rgba(12,27,40,.08); }
.rd-map-card iframe { display: block; width: 100%; height: 230px; border: 0; }

@media (max-width: 900px) { .rd-contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .rd-form-grid { grid-template-columns: 1fr; } }

@media (max-width: 700px) {
  .rd-topbar, .rd-nav, .rd-hero, .rd-section, .rd-section-dark, .rd-footer, .rd-cta-wrap, .rd-page-hero, .rd-page-body, .rd-detail-hero-inner, .rd-detail-layout { padding-left: 20px; padding-right: 20px; }
  .rd-hero { grid-template-columns: 1fr; padding-top: 32px; }
  .rd-tour-row { grid-template-columns: 1fr; }
  .rd-tour-grid { grid-template-columns: 1fr; }
  .rd-gallery-grid { grid-template-columns: 1fr 1fr; }

  .rd-nav-toggle { display: flex; }
  .rd-nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid var(--rd-line); border-bottom: 1px solid var(--rd-line); box-shadow: 0 16px 30px rgba(12,27,40,.12); max-height: calc(100vh - 100%); overflow-y: auto; }
  .rd-nav.rd-nav-open .rd-nav-links { display: flex; }
  .rd-nav-links > li { width: 100%; }
  .rd-nav-links > li > a { width: 100%; box-sizing: border-box; padding: 15px 24px; border-bottom: 1px solid var(--rd-line); justify-content: space-between; }
  .rd-nav-dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; border-radius: 0; background: #fafcfd; padding: 0; margin: 0; display: none; }
  .rd-nav-links > li.rd-dropdown-open .rd-nav-dropdown { display: block; }
  .rd-nav-dropdown a { padding: 12px 40px; border-bottom: 1px solid var(--rd-line); }
  .rd-nav-dropdown .rd-dropdown-group-title { padding: 12px 40px 4px; }
}
