/* ==========================================================================
   FormUp JC — strip-based design system (built to be rebuilt in the Wix
   Classic Editor: full-width strips, a 980px content column, plain boxes,
   text / button / image blocks. No effects that Wix cannot reproduce.)
   ========================================================================== */

@font-face { font-family: "Open Sans"; src: url("../assets/fonts/opensans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../assets/fonts/playfairdisplay.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  /* Palette — 5 colours + white (add these as Wix site colours) */
  --navy: #0b2540;
  --navy-dark: #071a2e;
  --cyan: #22b8d1;
  --cyan-text: #0a7a91;          /* cyan darkened for text on white */
  --light: #f2f6f8;
  --text: #14283c;
  --muted: #4d6076;
  --border: #dbe3ea;
  --white: #ffffff;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --site-width: 1140px;          /* content column inside full-width strips */
  --strip-pad: 96px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.7 var(--font-body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; margin: 0; font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: 52px; }
h2 { font-size: 38px; }
h3 { font-size: 22px; line-height: 1.3; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--cyan-text); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 12px 16px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 16px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Strips (full-width sections) ---------- */
.wrap { width: min(100% - 40px, var(--site-width)); margin-inline: auto; }
.strip { padding-block: var(--strip-pad); background: var(--white); }
.strip--light { background: var(--light); }
.strip--navy { background: var(--navy); color: #dbe6f0; }
.strip--dark { background: var(--navy-dark); color: #a9bccd; }
.strip--cyan { background: var(--cyan); color: var(--navy); }
.strip--navy h1, .strip--navy h2, .strip--navy h3, .strip--dark h2, .strip--dark h3 { color: #fff; }
.strip--cyan h2, .strip--cyan h3 { color: var(--navy); }
.strip--navy a:not(.btn), .strip--dark a:not(.btn) { color: var(--cyan); }

/* Strip with a photo background + colour overlay (Wix: strip background image + overlay) */
.strip--image { position: relative; isolation: isolate; color: #fff; }
.strip__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.strip--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(7 26 46 / 0.74); }
.strip--image h1, .strip--image h2 { color: #fff; }

/* Section heading block */
.head { max-width: 700px; margin: 0 auto 64px; text-align: center; }
.head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.strip--navy .head p, .strip--dark .head p { color: #b9c9d8; }
.head--left { margin-inline: 0; text-align: left; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-text); }
.strip--navy .eyebrow, .strip--dark .eyebrow, .strip--image .eyebrow { color: var(--cyan); }
.lead { font-size: 18px; color: var(--muted); }
.strip--navy .lead { color: #b9c9d8; }

/* Columns (Wix: column strip / boxes in a row) */
.cols { display: grid; gap: 40px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols--center { align-items: center; }
.cols--start { align-items: start; }
.cols--wide { gap: 72px; }

/* ---------- Basic blocks ---------- */
.icon { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 28px; font: 700 15px/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; border-radius: 4px; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn--primary { background: var(--cyan); color: var(--navy-dark); }
.btn--primary:hover { background: var(--navy); color: #fff; }
.strip--navy .btn--primary:hover, .strip--dark .btn--primary:hover, .strip--image .btn--primary:hover { background: #fff; color: var(--navy); }
.strip--cyan .btn--primary { background: var(--navy); color: #fff; }
.strip--cyan .btn--primary:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.strip--navy .btn--outline, .strip--image .btn--outline { border-color: #fff; color: #fff; }
.strip--navy .btn--outline:hover, .strip--image .btn--outline:hover { background: #fff; color: var(--navy); }
.strip--cyan .btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }

.box { padding: 28px; background: var(--white); border: 1px solid var(--border); }
.icon-circle { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: #e3f5f9; color: var(--cyan-text); }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--cyan-text); }
.strip--navy .checklist .icon, .strip--image .checklist .icon { color: var(--cyan); }
.photo { width: 100%; object-fit: cover; }
.photo--43 { aspect-ratio: 4 / 3; }
.photo--sq { aspect-ratio: 1 / 1; }

/* ---------- Header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: auto; height: 60px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 24px; }
.nav__link { display: inline-block; padding: 8px 0; font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 2px solid transparent; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--navy); border-bottom-color: var(--cyan); }
.menu-toggle { display: none; position: relative; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--navy); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform 0.25s, opacity 0.2s, top 0.25s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.site-footer { padding-top: 64px; background: var(--navy-dark); color: #a9bccd; font-size: 15px; }
.site-footer a { color: #e9f0f6; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer h2 { margin-bottom: 16px; font: 700 13px/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.footer-brand img { width: auto; height: 64px; margin-bottom: 16px; padding: 6px 10px; background: #fff; }
.footer-list { display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 13px; }
.footer-cols { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }

/* ---------- Home sections ---------- */
.hero { padding-block: 132px; }
.hero__copy { max-width: 640px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p.hero__text { margin-bottom: 32px; font-size: 19px; color: #e4edf5; }
.hero__list { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 32px; font-size: 15px; color: #e4edf5; }
.hero__list li { display: inline-flex; align-items: center; gap: 8px; }
.hero__list .icon { color: var(--cyan); }

.trust { padding-block: 44px; }
.trust .cols { gap: 32px; }
.trust__item { display: flex; gap: 16px; align-items: center; }
.trust__item .icon { width: 36px; height: 36px; }
.trust__item strong { display: block; font: 700 18px/1.3 var(--font-heading); font-variant-numeric: lining-nums; }
.trust__item span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; }

.service { display: grid; grid-template-columns: auto 1fr; gap: 0 24px; align-items: start; padding: 32px; }
.service > * { grid-column: 2; }
.service .icon-circle { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
.service h3 { margin-bottom: 8px; font-size: 22px; }
.service p { margin: 0 0 16px; font-size: 16px; color: var(--muted); }
.service .service__meta { order: -1; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-text); }
.service .link-arrow { justify-self: start; }
.service:hover { border-color: var(--cyan); }

.feature__tag { display: inline-block; margin-bottom: 16px; padding: 4px 12px; background: var(--cyan); color: var(--navy-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.feature h2 { margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0; border-top: 1px solid rgb(255 255 255 / 0.2); }
.facts div { padding: 14px 12px 14px 0; border-bottom: 1px solid rgb(255 255 255 / 0.2); }
.facts dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #9fb5c8; }
.facts dd { margin: 2px 0 0; font: 700 22px/1.3 var(--font-heading); font-variant-numeric: lining-nums; color: #fff; }
.facts dd small { display: block; font: 400 13px/1.4 var(--font-body); color: #9fb5c8; }

.pillar { padding-top: 24px; border-top: 3px solid var(--navy); }
.strip--light .pillar { border-top-color: var(--cyan); }
.pillar__num { font: 700 15px var(--font-heading); font-variant-numeric: lining-nums; color: var(--cyan-text); }
.pillar h3 { margin: 6px 0 10px; }
.pillar p { margin: 0; font-size: 15px; color: var(--muted); }

.about__quote { margin: 20px 0 24px; padding-left: 20px; border-left: 4px solid var(--cyan); font: 700 22px/1.4 var(--font-heading); color: var(--navy); }

.step { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.25); }
.step__num { font: 700 44px/1 var(--font-heading); font-variant-numeric: lining-nums; color: var(--cyan); }
.step h3 { margin: 12px 0 8px; }
.step p { margin: 0; font-size: 15px; color: #b9c9d8; }

.review { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review blockquote { margin: 0; }
.review blockquote::before { content: "\201C"; display: block; font: 700 56px/0.7 var(--font-heading); color: var(--cyan); margin-bottom: 12px; }
.review p { margin: 0; font-size: 15px; }
.review footer { font-size: 15px; font-weight: 700; color: var(--navy); }
.review footer span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }

.cta h2 { max-width: 640px; margin-bottom: 12px; }
.cta p { margin: 0; font-size: 18px; max-width: 600px; }

.contact__list { display: grid; gap: 20px; margin-top: 28px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list .icon { margin-top: 3px; color: var(--cyan-text); }
.contact__list small { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-weight: 700; }

.form { display: grid; gap: 20px; padding: 32px; background: var(--white); border: 1px solid var(--border); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--light); border: 1px solid var(--border); border-radius: 0; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(34 184 209 / 0.25); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.field__error { min-height: 1em; margin: 0; font-size: 13px; color: #b3261e; }
.field__error:empty { display: none; }
.form__hp { position: absolute; left: -9999px; }
.form__status { margin: 0; padding: 14px 16px; font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-success { background: #e8f6ee; color: #14532d; border: 1px solid #b9e2c9; }
.form__status.is-error { background: #fdecea; color: #7a1a13; border: 1px solid #f3c1bc; }
.form__legal { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: 72px; }
.page-hero h1 { max-width: 760px; font-size: 46px; }
.page-hero p:not(.eyebrow) { max-width: 640px; margin: 16px 0 0; font-size: 19px; color: #dbe6f0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 13px; color: #b9c9d8; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a { color: #b9c9d8 !important; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { padding: 6px 16px; font-size: 14px; font-weight: 600; text-decoration: none; color: #fff !important; border: 1px solid rgb(255 255 255 / 0.45); }
.jump a:hover { background: #fff; color: var(--navy) !important; }

.course h2 { font-size: 34px; margin-bottom: 14px; }
.course__intro { color: var(--muted); }
.course .photo { margin-top: 24px; }
.course .photo--contain { object-fit: contain; background: var(--white); padding: 12px; border: 1px solid var(--border); }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; border: 1px solid var(--border); background: var(--white); }
.specs div { padding: 14px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.specs div:nth-child(2n) { border-right: 0; }
.specs div:nth-last-child(-n+2) { border-bottom: 0; }
.specs dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.specs dd small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.sub { margin-bottom: 12px; font: 700 13px/1.4 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.topic { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; padding-block: 24px; border-top: 1px solid var(--border); }
.topic:last-child { border-bottom: 1px solid var(--border); }
.topic h3 { font-size: 21px; }
.topic p { margin: 0; color: var(--muted); }

.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 700 19px/1.4 var(--font-heading); color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--font-body); color: var(--cyan-text); }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding: 0 0 20px; color: var(--muted); }
.note { padding: 24px 28px; background: #e3f5f9; border-left: 4px solid var(--cyan); }
.note p:last-child { margin-bottom: 0; }

/* Scroll reveal — single fade-up, like Wix's "Fade in" entrance */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive (Wix mobile view: everything stacks) ---------- */
@media (max-width: 900px) {
  :root { --strip-pad: 64px; --header-h: 72px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .page-hero h1 { font-size: 34px; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
  .cols--wide { gap: 36px; }
  .head { margin-bottom: 40px; }
  .service { padding: 24px; gap: 0 18px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > :first-child { grid-column: 1 / -1; }
  .hero { padding-block: 72px; }
  .brand img { height: 52px; }
  .topic { grid-template-columns: 1fr; gap: 8px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 24px; padding: 24px 20px 40px; background: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 16px 0; font: 700 22px var(--font-heading); border-bottom: 1px solid var(--border); }
  .nav .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cols-4 { grid-template-columns: 1fr; }
  .trust .cols-4 { grid-template-columns: 1fr; gap: 20px; }
  .service { grid-template-columns: 1fr; }
  .service > *, .service .icon-circle { grid-column: 1; grid-row: auto; }
  .service .icon-circle { margin-bottom: 16px; }
  .service .service__meta { order: 0; }
  .btn-row .btn { width: 100%; }
  .form { padding: 22px; }
  .specs { grid-template-columns: 1fr; }
  .specs div { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .specs div:last-child { border-bottom: 0 !important; }
}
@media print { .site-header, .cta { display: none; } }
