/* RAMO Education — public site styles (design based on the Canva redesign) */
:root {
  --navy: #0F3E8C;
  --navy-2: #1450AE;
  --navy-dark: #0A2C66;
  --yellow: #FFCD1F;
  --yellow-soft: #FFF4CC;
  --steel: #93AECF;
  --sky: #DCE9F7;
  --sky-2: #EEF4FB;
  --mint: #E7F2F0;
  --slate: #3E5C84;
  --slate-2: #4F6F98;
  --ink: #17233D;
  --muted: #5A6A85;
  --line: #D6DFEC;
  --white: #FFFFFF;
  --ok: #1E8E5A;
  --bad: #C0392B;
  --warn: #B7791F;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(10, 44, 102, .12);
  --font: "Prompt", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 12px rgba(10, 44, 102, .08); }
.topstripe { height: 6px; background: var(--navy); }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 8px 0; }
.brand img { height: 64px; width: auto; }
.mainnav { flex: 1; }
.mainnav ul {
  list-style: none; margin: 0; padding: 6px 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 4px;
  border: 2px solid var(--navy); border-radius: 999px;
}
.mainnav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: .95rem; white-space: nowrap;
  transition: background .2s, color .2s;
}
.mainnav a:hover { background: var(--sky-2); }
.mainnav a.is-active { color: #E0A800; font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; background: var(--navy); color: var(--white); border: 0; border-radius: 10px; padding: 10px 12px; font: inherit; cursor: pointer; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; }

.ticker { background: var(--yellow-soft); border-top: 1px solid #F5E3A1; }
.ticker-inner { display: flex; align-items: center; gap: 16px; padding: 6px 0; }
.marquee { flex: 1; overflow: hidden; white-space: nowrap; font-size: .9rem; color: var(--ink); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee span { display: inline-block; padding-left: 100%; animation: marquee 28s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { animation: none; padding-left: 0; } }
.ticker-actions { display: flex; gap: 8px; flex-shrink: 0; }
.ticker-actions form { margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  background: var(--navy); color: var(--white);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 62, 140, .25); }
.btn-sm { padding: 5px 14px; font-size: .85rem; border-radius: 8px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-danger { background: var(--bad); }
.btn-ok { background: var(--ok); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- flash ---------- */
.flashes { margin: 16px auto 0; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 12px; border-left: 5px solid; background: var(--sky-2); }
.flash-ok { border-color: var(--ok); background: #E8F6EF; }
.flash-bad { border-color: var(--bad); background: #FBECEA; }
.flash-warn { border-color: var(--warn); background: #FFF6E5; }

/* ---------- section scaffolding ---------- */
.section { padding: 72px 0; }
.section-navy { background: var(--navy); color: var(--white); }
.section-sky { background: var(--sky-2); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--navy); }
.section-navy .section-title { color: var(--white); }
.tag-yellow { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 600; padding: 6px 18px; border-radius: 0 999px 999px 0; margin-bottom: 32px; }
.lead { font-size: 1.05rem; color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 32px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.row-end { display: flex; justify-content: flex-end; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
form.flex > input, form.flex > select { width: auto; flex: 1 1 200px; }

/* page hero (Canva: logo + yellow title + intro on navy) */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy) 62%, var(--navy-2) 100%); color: var(--white); padding: 48px 0 120px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.page-hero .hero-row { display: flex; align-items: center; gap: 24px; position: relative; z-index: 1; }
.page-hero .hero-logo { width: 84px; flex-shrink: 0; }
.page-hero h1 { color: var(--yellow); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin: 0; }
.page-hero p { margin: 4px 0 0; color: #E3ECFA; white-space: pre-line; }
.page-body { margin-top: -84px; position: relative; z-index: 2; padding-bottom: 72px; }
.page-body-mint { background: linear-gradient(180deg, transparent 0, transparent 84px, var(--mint) 84px); }

/* ---------- home ---------- */
.promo { background: var(--steel); position: relative; overflow: hidden; }
.promo-static { padding: 56px 0; }
.promo-static h2 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: 2px; margin: 0; }
.slider { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; }
.slide img { width: 100%; max-height: 520px; object-fit: cover; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 0; background: linear-gradient(transparent, rgba(10, 44, 102, .75)); color: var(--white); }
.slide-caption h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0; }
.slider-dots { position: absolute; bottom: 14px; right: 24px; display: flex; gap: 8px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; padding: 0; }
.slider-dots button.is-active { background: var(--yellow); border-color: var(--yellow); }

.about { text-align: center; }
.about h2 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; max-width: 760px; margin: 0 auto 20px; }
.about p { max-width: 860px; margin: 0 auto; white-space: pre-line; color: #E3ECFA; }

.contact-card {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 32px;
  background: var(--sky); border-radius: 40px; padding: 24px 40px; max-width: 760px; margin: 40px auto 0;
  color: var(--ink);
}
.contact-card.no-qr { grid-template-columns: auto 1fr; max-width: 620px; }
.about + .section-navy { padding-top: 16px; }
.contact-card .cc-logo { width: 110px; }
.contact-card .cc-qr { width: 120px; height: 120px; border-radius: 12px; background: var(--white); padding: 6px; object-fit: contain; }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-card li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.contact-card li a { color: inherit; text-decoration: none; word-break: break-all; }
.contact-card li a:hover { text-decoration: underline; }
.ico { width: 28px; height: 28px; flex-shrink: 0; }

.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hl-card { text-align: center; }
.hl-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.hl-card h3 { color: var(--white); font-size: 1.12rem; margin: 18px 0 10px; }
.hl-card p { color: #D7E3F6; font-size: .9rem; text-align: left; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 20px; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.panel + .panel { margin-top: 24px; }
.panel h2 { color: var(--navy); font-size: 1.3rem; }

.course-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(10, 44, 102, .18); }
.course-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--sky); }
.course-card h3 { font-size: 1rem; margin: 0 0 6px; color: var(--ink); }
.course-card p { font-size: .85rem; color: var(--muted); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-card .card-body { display: flex; flex-direction: column; flex: 1; }
.price { margin-top: auto; font-weight: 700; color: var(--navy); }
.price s { color: var(--muted); font-weight: 400; margin-right: 6px; font-size: .85rem; }
.course-panel { background: var(--white); border-radius: 8px; box-shadow: var(--shadow); padding: 24px; }

.tutor-card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 20px 24px; text-align: center; }
.tutor-card .avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--sky); }
.tutor-card h3 { color: var(--navy); font-size: 1.2rem; }
.tutor-card ul { text-align: left; font-size: .82rem; color: var(--muted); padding-left: 18px; margin: 0; }
.tutor-card li { margin-bottom: 6px; }

.founder { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.founder-photo { border-radius: 26px; box-shadow: 0 18px 40px rgba(10, 44, 102, .3); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder-photos { display: grid; gap: 16px; }
.founder h1, .founder h2 { color: var(--navy); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
.founder .panel h3 { color: var(--navy); }
img.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--sky); }
.founder-text { white-space: pre-line; text-indent: 2em; }
.founder-wrap { background: linear-gradient(180deg, var(--white) 70%, var(--navy) 70%); }

/* register folders */
.folders { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 64px; }
.folder { position: relative; display: block; text-decoration: none; padding-top: 36px; transition: transform .2s; }
.folder:hover { transform: translateY(-6px); }
.folder::before { content: ""; position: absolute; top: 0; left: 0; width: 46%; height: 52px; background: var(--slate-2); border-radius: 18px 18px 0 0; clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%); }
.folder-body { position: relative; background: var(--slate); border-radius: 0 22px 22px 22px; min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; box-shadow: 0 18px 36px rgba(10, 44, 102, .25); }
.folder-body::before { content: ""; position: absolute; inset: 14px 14px auto; height: 10px; background: rgba(255, 255, 255, .12); border-radius: 8px; }
.folder-body span { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.folder-body small { display: block; color: #D7E3F6; font-weight: 400; font-size: .9rem; margin-top: 8px; }

/* reviews */
.reviews-wrap { background: var(--navy); background-image: url("../img/skyline.svg"); background-repeat: no-repeat; background-position: bottom center; background-size: 100% 220px; padding: 64px 0 220px; }
.shields { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.shield { background: linear-gradient(180deg, #1FB5C9, #1C6FD1); padding: 6px; clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%); }
.shield-inner { background: var(--navy-dark); clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%); padding: 16px 14px 48px; }
.shield img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 6px; cursor: zoom-in; background: var(--white); }
.lightbox { position: fixed; inset: 0; background: rgba(5, 18, 45, .9); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: var(--yellow); border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; }

/* summary files */
.file-card { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.file-card img { width: 120px; height: 150px; object-fit: cover; border-radius: 10px; background: var(--sky); }
.file-card h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--navy); }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: .78rem; font-weight: 600; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.req::after { content: " *"; color: var(--bad); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(20, 80, 174, .12); }
textarea { min-height: 96px; resize: vertical; }
input[type=file] { font: inherit; font-size: .9rem; }
fieldset { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 0 0 20px; }
legend { font-weight: 700; color: var(--navy); padding: 0 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy); }
.subject-group { margin-bottom: 14px; }
.subject-group h4 { font-size: .95rem; color: var(--navy); margin: 0 0 8px; }
.subject-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-chip { position: relative; }
.subject-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.subject-chip span { display: inline-block; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; cursor: pointer; transition: all .15s; background: var(--white); }
.subject-chip span b { color: var(--navy-2); margin-left: 4px; font-size: .78rem; }
.subject-chip input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.subject-chip input:checked + span b { color: var(--yellow); }
.subject-chip input:focus-visible + span { outline: 3px solid var(--yellow); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cat-tab { position: relative; }
.cat-tab input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cat-tab span { display: inline-block; padding: 9px 18px; border-radius: 12px; background: var(--sky-2); border: 2px solid transparent; font-weight: 600; cursor: pointer; }
.cat-tab input:checked + span { border-color: var(--navy); background: var(--white); color: var(--navy); }
.cat-panel[hidden] { display: none; }
.code-preview { margin-top: 10px; padding: 10px 14px; background: var(--yellow-soft); border-radius: 10px; font-size: .9rem; }
.code-preview strong { font-size: 1.1rem; color: var(--navy); letter-spacing: 1px; }
.auth-wrap { max-width: 520px; margin: 0 auto; }
.form-wide { max-width: 920px; margin: 0 auto; }

/* ---------- dashboard ---------- */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { color: var(--navy); font-size: 1.6rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--white); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); }
.stat b { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.stat span { font-size: .85rem; color: var(--muted); }
.stat.yellow { border-top-color: var(--yellow); }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--sky-2); color: var(--navy); font-weight: 600; white-space: nowrap; }
.table tr:hover td { background: #FAFCFF; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: #E3F5EC; color: var(--ok); }
.badge-bad { background: #FBE6E3; color: var(--bad); }
.badge-warn { background: #FFF3D6; color: var(--warn); }
.badge-info { background: #E1ECFB; color: var(--navy-2); }
.code { font-family: Consolas, "Courier New", monospace; font-weight: 700; color: var(--navy); background: var(--sky-2); padding: 2px 8px; border-radius: 6px; }
.big-code { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: 3px; background: var(--yellow-soft); padding: 8px 28px; border-radius: 16px; display: inline-block; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; font-size: .93rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
progress { width: 100%; height: 10px; accent-color: var(--navy); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.line-btn { background: #06C755; color: var(--white); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-dark); color: #C9D6EA; padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: var(--white); font-size: 1rem; }
.site-footer a { color: #C9D6EA; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-logo { width: 96px; margin-bottom: 12px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 16px; font-size: .82rem; text-align: center; }

/* ---------- prose (sanitized rich text) ---------- */
.prose { font-size: 1rem; }
.prose img { border-radius: 10px; margin: 12px 0; }
.prose ul, .prose ol { padding-left: 22px; }

.course-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.course-detail .cover { border-radius: 16px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.buy-box { position: sticky; top: 140px; }
.buy-box .price-big { font-size: 2rem; font-weight: 800; color: var(--navy); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .mainnav a { padding: 8px 9px; font-size: .88rem; }
  .highlights, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5, .shields { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .site-header { position: relative; }
  .ticker-actions .btn-sm { padding: 4px 10px; font-size: .8rem; }
  .nav-toggle { display: block; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); padding: 12px 16px 16px; box-shadow: 0 12px 24px rgba(10, 44, 102, .15); }
  .mainnav.is-open { display: block; }
  .mainnav ul { flex-direction: column; align-items: stretch; border-radius: 18px; }
  .header-inner { position: relative; }
  .brand img { height: 52px; }
  .ticker-inner { flex-direction: column; align-items: stretch; gap: 6px; }
  .ticker-actions { justify-content: center; flex-wrap: wrap; }
  .grid-3, .grid-2, .form-grid, .course-detail, .founder, .footer-grid { grid-template-columns: 1fr; }
  .founder-wrap { background: var(--white); }
  .contact-card { grid-template-columns: 1fr; justify-items: center; text-align: left; border-radius: 28px; padding: 24px; }
  .folders { grid-template-columns: 1fr; gap: 40px; }
  .buy-box { position: static; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .highlights, .grid-4, .grid-5, .shields { grid-template-columns: 1fr; }
  .grid-4.courses-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 48px 0; }
  .page-hero .hero-row { flex-direction: column; align-items: flex-start; }
  .file-card { grid-template-columns: 1fr; }
}
img.cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; background: var(--sky); }
.promo-list { padding-top: 48px; padding-bottom: 48px; }
.footer-text { white-space: pre-line; }
.contact-card .cc-logo, .page-hero .hero-logo, .footer-logo { height: auto; }
.line-panel { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; border-left: 5px solid #06C755; }
.line-qr { width: 160px; height: 160px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 6px; object-fit: contain; }

/* Review cards — layout of the “RAMO - Review” Canva template */
.rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.rv-card { background: #F4F4F2; border-radius: 22px; padding: 22px 22px 16px; text-align: center; box-shadow: 0 10px 30px rgba(10, 30, 70, .12); }
.rv-head { display: flex; flex-direction: column; align-items: center; line-height: 1; margin-bottom: 14px; }
.rv-script { font-family: "Great Vibes", cursive; font-size: 3.3rem; color: #111; }
.rv-sub { font-size: .82rem; letter-spacing: .14em; color: #333; font-weight: 500; margin-top: 2px; }
.rv-box { position: relative; background: var(--white); border-radius: 18px; padding: 46px 30px 34px; margin-top: 40px; box-shadow: 0 14px 22px -14px rgba(0, 0, 0, .35); }
.rv-avatar { position: absolute; left: 50%; top: -38px; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--white); border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-avatar .ico { width: 100%; height: 100%; }
.rv-name { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 8px; padding: 0 30px; color: #111; }
.rv-quote { position: absolute; font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; color: #F5C542; font-weight: 700; }
.rv-open { left: 14px; top: 34px; }
.rv-close { right: 16px; bottom: -6px; }
.rv-body { margin: 0; color: #222; white-space: pre-line; line-height: 1.75; font-size: .95rem; }
.rv-shot { display: block; width: 100%; max-height: 420px; object-fit: contain; margin: 14px auto 0; border-radius: 8px; cursor: zoom-in; background: var(--sky); }
.rv-info { margin: 14px 0 0; font-size: .88rem; color: #444; }
.rv-foot { margin-top: 18px; font-size: .74rem; letter-spacing: .12em; color: #333; font-weight: 500; }
@media (max-width: 980px) { .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rv-grid { grid-template-columns: 1fr; } .rv-box { padding: 46px 22px 30px; } }
.pre-line { white-space: pre-line; }
