/* =====================================================
   ACCADEMIA MELITALIA — SHARED STYLESHEET
   shared.css
   ─────────────────────────────────────────────────
   Used by:  ragazzi.html  ·  adult.html
   Fonts:    DM Serif Display, DM Sans (Google Fonts)
   ===================================================== */

:root {
  --forest: #1b4d2e;
  --forest-2: #245f38;
  --forest-3: #2e7a46;
  --sage: #5a8f6e;
  --sage-lt: #a3c4ae;
  --mint: #dff0e6;
  --mint-lt: #f2faf5;
  --crimson: #c0392b;
  --crimson-2: #d44235;
  --crimson-lt: #fdf0ee;
  --gold: #c9a84c;
  --gold-lt: #fdf6e3;
  --off-white: #f7f6f3;
  --white: #ffffff;
  --ink: #181c18;
  --ink-2: #2e3530;
  --ink-3: #4a5450;
  --ink-4: #7a8880;
  --border: #e4ebe6;
  --border-2: #cfd8d1;

  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sh-sm: 0 1px 4px rgba(0, 0, 0, 0.05);
  --sh-md: 0 4px 20px rgba(27, 77, 46, 0.09);
  --sh-lg: 0 12px 48px rgba(27, 77, 46, 0.13);
  --sh-xl: 0 24px 80px rgba(27, 77, 46, 0.17);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.28s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink-2);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── TYPOGRAPHY ─── */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--sage);
}

.h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.h1 em {
  font-style: italic;
  color: var(--gold);
}

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.h2--white {
  color: var(--white);
}

.h3 {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--ink);
}

.body {
  font-size: 0.97rem;
  color: var(--ink-3);
  line-height: 1.8;
}

.small {
  font-size: 0.82rem;
  color: var(--ink-4);
}

/* ─── LAYOUT ─── */
.wrap {
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 96px 0;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform var(--dur) var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-white {
  background: var(--white);
  color: var(--forest);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.btn-white:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-forest {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--sh-md);
}

.btn-forest:hover {
  background: var(--forest-2);
  box-shadow: var(--sh-lg);
}

.btn-crimson {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
}

.btn-crimson:hover {
  background: var(--crimson-2);
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--border-2);
}

.btn-outline:hover {
  border-color: var(--forest);
  background: var(--mint-lt);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
  white-space: normal;
  justify-content: center;
}

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 5%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.15;
}

.nav__name em {
  font-style: normal;
  color: var(--crimson);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: color var(--dur);
}

.nav__links a:hover {
  color: var(--forest);
}

.nav__cta {
  background: var(--forest) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--r-sm) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background var(--dur) !important;
}

.nav__cta:hover {
  background: var(--forest-2) !important;
  transform: none !important;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  background: var(--forest);
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}

.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

.hero__arch {
  position: absolute;
  bottom: -26px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--white);
  clip-path: ellipse(54% 100% at 50% 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: flex-end;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Hero copy */
.hero__copy {
  padding-bottom: 80px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.hero__eyebrow-rule {
  width: 28px;
  height: 2px;
  background: var(--sage-lt);
}

.hero__eyebrow-text {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-lt);
}

.hero__heading {
  margin-bottom: 22px;
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.82;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero__langs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.hero__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero card */
.hero__card-wrap {
  align-self: flex-end;
  position: relative;
}

.hero__card {
  background: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 34px 34px 40px;
  box-shadow: var(--sh-xl);
}

.hero__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--mint);
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero__card-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero__card-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: var(--ink);
  margin-bottom: 5px;
}

.hero__card-sub {
  font-size: 0.8rem;
  color: var(--ink-4);
  margin-bottom: 22px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 22px;
}

.hero__stat {
  background: var(--off-white);
  padding: 15px 10px;
  text-align: center;
}

.hero__stat-n {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--forest);
  line-height: 1;
}

.hero__stat-l {
  font-size: 0.7rem;
  color: var(--ink-4);
  margin-top: 3px;
  font-weight: 500;
}

.hero__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

.hero__row:last-child {
  border-bottom: none;
}

.hero__row-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.hero__row-lbl {
  font-size: 0.75rem;
  color: var(--ink-4);
}

.hero__row-val {
  font-weight: 500;
  color: var(--ink-2);
}

/* ─────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────── */
.trust {
  border-bottom: 1px solid var(--border);
}

.trust__inner {
  display: flex;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 5%;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 40px 26px 26px;
  flex: 1;
  border-right: 1px solid var(--border);
}

.trust__item:first-child {
  padding-left: 0;
}

.trust__item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 40px;
}

.trust__icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.trust__num {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--forest);
  line-height: 1;
}

.trust__lbl {
  font-size: 0.76rem;
  color: var(--ink-4);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   WHO IS IT FOR
───────────────────────────────────────── */
.who {
  background: var(--off-white);
}

.who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.who__points {
  margin-top: 36px;
}

.who__point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--dur) var(--ease);
}

.who__point:last-child {
  border-bottom: none;
}

.who__point:hover {
  padding-left: 8px;
}

.who__point-n {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--border-2);
  line-height: 1;
  flex-shrink: 0;
  width: 38px;
  transition: color var(--dur);
}

.who__point:hover .who__point-n {
  color: var(--forest);
}

.who__point-body h4 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}

.who__point-body p {
  font-size: 0.84rem;
  color: var(--ink-3);
  line-height: 1.7;
}

.who__panel {
  background: var(--forest);
  border-radius: var(--r-xl);
  padding: 44px;
  color: white;
  position: relative;
  overflow: hidden;
}

.who__panel::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}

.who__panel-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-lt);
  margin-bottom: 14px;
}

.who__panel-heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: white;
  line-height: 1.2;
  margin-bottom: 26px;
}

.who__panel-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 24px;
}

.who__panel-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.who__panel-row:last-child {
  margin-bottom: 0;
}

.who__panel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

.who__panel-text {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.who__notice {
  margin-top: 16px;
  background: var(--gold-lt);
  border: 1px solid #e0cc90;
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.who__notice-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b4f00;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.who__notice-text {
  font-size: 0.8rem;
  color: #7a5c00;
  line-height: 1.65;
}

.who__notice-link {
  font-weight: 700;
  color: #5a3f00;
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

/* ─────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────── */
.how {
  background: var(--white);
}

.how__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.how__header .h2 {
  margin: 10px 0 14px;
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.how__step {
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
}

.how__step:last-child {
  border-right: none;
}

.how__step:hover {
  background: var(--mint-lt);
}

.how__step-n {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 18px;
  transition: color var(--dur);
}

.how__step:hover .how__step-n {
  color: var(--sage-lt);
}

.how__step-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.si-green {
  background: var(--mint);
}

.si-gold {
  background: var(--gold-lt);
}

.si-red {
  background: var(--crimson-lt);
}

.how__step h3 {
  margin-bottom: 10px;
}

.how__step p {
  font-size: 0.85rem;
  color: var(--ink-3);
  line-height: 1.75;
}

.how__step-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--ink-4);
}

/* ─────────────────────────────────────────
   FEES
───────────────────────────────────────── */
.fees {
  background: var(--off-white);
}

.fees__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.fees__header .h2 {
  margin: 10px 0 14px;
}

.fees__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fee-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  position: relative;
  transition:
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.fee-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: var(--sage-lt);
}

.fee-card--star {
  background: var(--forest);
  border-color: var(--forest);
}

.fee-card--star:hover {
  border-color: var(--forest-2);
}

.fee-card__ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  padding: 4px 18px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.fee-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 18px;
}

.fi-green {
  background: var(--mint);
}

.fi-gold {
  background: var(--gold-lt);
}

.fi-red {
  background: var(--crimson-lt);
}

.fi-star {
  background: rgba(255, 255, 255, 0.12);
}

.fee-card__title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.fee-card--star .fee-card__title {
  color: white;
}

.fee-card__sub {
  font-size: 0.78rem;
  color: var(--ink-4);
  margin-bottom: 20px;
}

.fee-card--star .fee-card__sub {
  color: rgba(255, 255, 255, 0.55);
}

.fee-card__price {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.fee-card--star .fee-card__price {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.fee-card__amount {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.fee-card--star .fee-card__amount {
  color: var(--gold);
}

.fee-card__cadence {
  font-size: 0.77rem;
  color: var(--ink-4);
  margin-top: 4px;
}

.fee-card--star .fee-card__cadence {
  color: rgba(255, 255, 255, 0.5);
}

.fee-list {
  list-style: none;
  margin-bottom: 26px;
}

.fee-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--ink-3);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.fee-card--star .fee-list li {
  color: rgba(255, 255, 255, 0.76);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.fee-list li:last-child {
  border-bottom: none;
}

.fee-check {
  color: var(--forest-3);
  flex-shrink: 0;
  margin-top: 1px;
}

.fee-card--star .fee-check {
  color: var(--gold);
}

.fees__footnote {
  text-align: center;
  margin-top: 26px;
  font-size: 0.81rem;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fees__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-2);
}

/* ─────────────────────────────────────────
   SCHEDULE
───────────────────────────────────────── */
.schedule {
  background: var(--white);
}

.schedule__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
}

.schedule__header .h2 {
  margin: 10px 0 14px;
}

.schedule__note {
  max-width: 760px;
  margin: 0 auto 46px;
  background: var(--mint-lt);
  border: 1px solid var(--mint);
  border-radius: var(--r-lg);
  padding: 22px 30px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.schedule__note-icon {
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.schedule__note-text {
  font-size: 0.87rem;
  color: var(--ink-3);
  line-height: 1.72;
}

.schedule__note-text strong {
  color: var(--ink);
}

.schedule__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}

.scard {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition:
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.scard:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}

.scard__head {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scard--a .scard__head {
  background: var(--forest);
}

.scard--b .scard__head {
  background: var(--crimson);
}

.scard__group {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: white;
}

.scard__seats {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.scard__body {
  padding: 26px;
  background: var(--white);
}

.scard__session {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.scard__session:last-of-type {
  border-bottom: none;
}

.scard__sess-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.scard__type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
}

.scard__time {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2px 0;
}

.scard__day {
  font-size: 0.79rem;
  color: var(--ink-4);
}

.scard__cta {
  margin-top: 20px;
}

/* ─────────────────────────────────────────
   FOUNDER
───────────────────────────────────────── */
.founder {
  background: var(--off-white);
}

.founder__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.founder__portrait-wrap {
  position: relative;
}

.founder__portrait {
  background: var(--forest);
  border-radius: var(--r-xl);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder__portrait::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 45%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.55));
}

.founder__avatar {
  font-size: 100px;
  position: relative;
  z-index: 1;
}

.founder__portrait-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px;
  z-index: 2;
}

.founder__portrait-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: white;
}

.founder__portrait-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.founder__badge {
  position: absolute;
  top: -44px;
  right: -14px;
  background: white;
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 196px;
  z-index: 1;
}

.founder__badge-icon {
  font-size: 19px;
}

.founder__badge-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.founder__badge-sub {
  font-size: 0.67rem;
  color: var(--ink-4);
}

.founder__info .label {
  margin-bottom: 10px;
}

.founder__info .h2 {
  margin-bottom: 18px;
}

.founder__story {
  font-size: 0.93rem;
  color: var(--ink-3);
  line-height: 1.85;
  margin-bottom: 32px;
}

.founder__creds {
  display: flex;
  flex-direction: column;
}

.founder__cred {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.founder__cred:last-child {
  border-bottom: none;
}

.founder__cred-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.founder__cred-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.founder__cred-desc {
  font-size: 0.79rem;
  color: var(--ink-4);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   CERTIFICATE
───────────────────────────────────────── */
.cert {
  background: linear-gradient(155deg, #081912 0%, #0e2b1c 40%, #1b4d2e 100%);
  padding: 96px 0 112px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated background rings */
.cert::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 10% 60%,
      rgba(90, 143, 110, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 88% 25%,
      rgba(201, 168, 76, 0.1) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(27, 77, 46, 0.4) 0%,
      transparent 60%
    );
  pointer-events: none;
}

/* Abstract geometric background lines */
.cert::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.018) 60px,
      rgba(255, 255, 255, 0.018) 61px
    ),
    repeating-linear-gradient(
      35deg,
      transparent,
      transparent 80px,
      rgba(201, 168, 76, 0.04) 80px,
      rgba(201, 168, 76, 0.04) 81px
    );
  pointer-events: none;
}

.cert .wrap {
  position: relative;
  z-index: 1;
}

.cert .label {
  color: var(--sage-lt);
  margin-bottom: 10px;
}

.cert .h2 {
  margin-bottom: 14px;
}

.cert .body {
  color: rgba(255, 255, 255, 0.62);
  max-width: 490px;
  margin: 0 auto 56px;
}

/* ── CERTIFICATE DOCUMENT ── */
.cert-doc {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(160deg, #fffef9 0%, #faf7ef 100%);
  border-radius: 4px;
  padding: 0;
  box-shadow:
    0 2px 0 rgba(201, 168, 76, 0.6),
    0 -2px 0 rgba(201, 168, 76, 0.6),
    2px 0 0 rgba(201, 168, 76, 0.6),
    -2px 0 0 rgba(201, 168, 76, 0.6),
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

/* Top gold bar accent */
.cert-doc-topbar {
  height: 5px;
  background: linear-gradient(
    90deg,
    #a07830 0%,
    #e8c86a 35%,
    #c9a84c 55%,
    #f0d880 75%,
    #a07830 100%
  );
}

/* Inner padding container */
.cert-doc-inner {
  padding: 36px 44px 38px;
  position: relative;
}

/* SVG corner ornaments */
.cert-corner {
  position: absolute;
  width: 56px;
  height: 56px;
}

.cert-corner--tl {
  top: 12px;
  left: 12px;
}

.cert-corner--tr {
  top: 12px;
  right: 12px;
  transform: scaleX(-1);
}

.cert-corner--bl {
  bottom: 12px;
  left: 12px;
  transform: scaleY(-1);
}

.cert-corner--br {
  bottom: 12px;
  right: 12px;
  transform: scale(-1);
}

/* Inner border frame */
.cert-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 2px;
  pointer-events: none;
}

.cert-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 0.5px solid rgba(201, 168, 76, 0.1);
  border-radius: 1px;
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cert-brand {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.cert-emblem {
  font-size: 20px;
  background: var(--forest);
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(27, 77, 46, 0.3);
}

/* Decorative divider with diamond */
.cert-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 20px;
}

.cert-rule::before,
.cert-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 168, 76, 0.5),
    transparent
  );
}

.cert-rule-diamond {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.cert-for-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 600;
  margin-bottom: 10px;
}

.cert-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.15;
}

/* Gold underline accent below name */
.cert-name-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 20px;
}

.cert-name-rule-line {
  height: 2px;
  width: 48px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.cert-name-rule-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.cert-name-rule-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.cert-desc {
  font-size: 0.83rem;
  color: var(--ink-3);
  line-height: 1.75;
  max-width: 380px;
  margin: 0 auto 22px;
}

/* Decorative middle divider */
.cert-mid-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  opacity: 0.45;
}

.cert-mid-divider-line {
  flex: 1;
  height: 0.5px;
  background: var(--border-2);
}

.cert-mid-divider-leaf {
  font-size: 11px;
  color: var(--sage);
}

.cert-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.cert-sig-n {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
}

.cert-sig-bar {
  width: 72px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 6px 0 4px;
}

.cert-sig-r {
  font-size: 0.68rem;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cert-yr {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--ink-4);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

/* Bottom gold bar */
.cert-doc-botbar {
  height: 3px;
  background: linear-gradient(
    90deg,
    #a07830 0%,
    #e8c86a 35%,
    #c9a84c 55%,
    #f0d880 75%,
    #a07830 100%
  );
  opacity: 0.6;
}

/* Watermark seal */
.cert-watermark {
  position: absolute;
  bottom: 52px;
  right: 44px;
  width: 80px;
  height: 80px;
  opacity: 0.055;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────── */
.cta {
  background: var(--white);
}

.cta__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta__inner .h2 {
  margin: 12px 0 16px;
}

.cta__inner .body {
  margin-bottom: 36px;
}

.cta__btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cta__trust {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.cta__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-4);
  font-weight: 500;
}

.cta__trust-check {
  color: var(--forest-3);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: white;
  margin-bottom: 10px;
}

.footer__brand em {
  font-style: normal;
  color: #e07070;
}

.footer__tagline {
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
  max-width: 255px;
  margin-bottom: 22px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--dur);
}

.footer__contact a:hover {
  color: var(--sage-lt);
}

.footer__col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 18px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--dur);
}

.footer__links a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.77rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__flags {
  font-size: 17px;
  display: flex;
  gap: 6px;
}

/* ─────────────────────────────────────────
   FLOATING CONTACT
───────────────────────────────────────── */
.float-wa {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 100px;
  background: #25d366;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.float-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.float-wa-icon {
  font-size: 18px;
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.up {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.up.in {
  opacity: 1;
  transform: translateY(0);
}

.up.d1 {
  transition-delay: 0.08s;
}

.up.d2 {
  transition-delay: 0.16s;
}

.up.d3 {
  transition-delay: 0.24s;
}

.up.d4 {
  transition-delay: 0.32s;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero__arch {
    display: none;
  }

  .hero {
    padding-bottom: 60px;
  }

  .who__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder__portrait {
    max-width: 340px;
  }

  .founder__badge {
    right: 0;
    top: -30px;
  }

  .how__steps {
    grid-template-columns: 1fr;
  }

  .how__step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .how__step:last-child {
    border-bottom: none;
  }

  .fees__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .schedule__cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .trust__inner {
    flex-wrap: wrap;
  }

  .trust__item {
    width: 50%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-left: 0;
  }

  .trust__item:last-child {
    padding-left: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.trust__inner {
  flex-direction: row;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .nav__links {
    display: none;
  }

  .trust__item {
    width: 100%;
  }

  .hero__btns {
    flex-direction: column;
  }

  .cta__btns {
    flex-direction: column;
    align-items: stretch;
  }

  .schedule__note {
    flex-direction: column;
  }

  .float-wa .text {
    display: none;
  }

  .float-wa {
    padding: 7px 14px;
  }

  .trust__inner {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

.footer__logo {
  height: 60px;
}

.nav__logo {
  height: 50px;
}
.founder__portrait-info {
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  padding: 26px;
}

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}

/* The visible pill toggle */
.lang-switch__pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--off-white);
  border: 1.5px solid var(--border-2);
  border-radius: 100px;
  padding: 3px;
  position: relative;
  cursor: pointer;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.lang-switch__pill:hover {
  border-color: var(--sage-lt);
  box-shadow: 0 2px 12px rgba(27, 77, 46, 0.1);
}

/* Sliding highlight behind active option */
.lang-switch__slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc(50% - 3px);
  border-radius: 100px;
  background: var(--forest);
  box-shadow: 0 1px 6px rgba(27, 77, 46, 0.3);
  transition:
    transform var(--dur) var(--ease),
    width var(--dur) var(--ease);
  pointer-events: none;
  z-index: 0;
}

/* When IT is active, slide to second position */
.lang-switch[data-active="si"] .lang-switch__slider {
  transform: translateX(calc(100% + 0px));
}

/* Individual option buttons */
.lang-switch__opt {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-4);
  position: relative;
  z-index: 1;
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
}

/* Active state — text turns white over the dark slider */
.lang-switch[data-active="en"] .lang-switch__opt--en,
.lang-switch[data-active="si"] .lang-switch__opt--si {
  color: var(--white);
}

/* Flag emoji sizing */
.lang-switch__flag {
  font-size: 14px;
  line-height: 1;
}

/* Divider dot between options */
.lang-switch__divider {
  width: 1px;
  height: 14px;
  background: var(--border-2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
  transition: opacity var(--dur);
}

/* Hide divider when either side is active — looks cleaner */
.lang-switch[data-active] .lang-switch__divider {
  opacity: 0;
}

/* Tooltip on hover */
.lang-switch__opt::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: white;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.lang-switch__opt:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Small triangle for tooltip */
.lang-switch__opt::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.lang-switch__opt:hover::before {
  opacity: 1;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.video-container-premium {
  margin: 48px auto;
  /* Centered with more breathing room */
  max-width: 900px;
  /* Keeps the video from getting too massive on ultrawide screens */
  perspective: 1000px;
}

.video-ratio-box {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  /* Smooth rounded corners */
  background: #000;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 1px 8px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover Effect: Lifts the video slightly */
.video-ratio-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-ratio-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.fa-brands,
.fab {
  font: normal normal normal 14px / 1 FontAwesome !important;
}

.cs {
  --w: 265px;
  --green: #1b4d2e;
  --accent: #4ade80;
  --r: 16px;
  --blur: 22px; /* ← frosted blur amount */

  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9100;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  font-family: "Noto Serif Sinhala", serif;
}

/* ════════════ EDGE TAB ════════════ */
.cs-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  padding: 22px 0 18px;
  cursor: pointer;
  border: none;
  border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  color: #fff;

  /* ── true glass: very translucent green tint ── */
  background: rgba(27, 77, 46, 0.38);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);

  /* glass edge highlight */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-right: none;

  box-shadow:
    -6px 0 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    /* top glint */ inset 0 -1px 0 rgba(0, 0, 0, 0.1);

  transition:
    width 0.22s ease,
    background 0.2s;
}

.cs-tab:hover,
.cs.open .cs-tab {
  width: 50px;
  background: rgba(27, 77, 46, 0.52);
}

.cs-tab-icon {
  font-size: 1.25rem;
}

.cs-tab-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.cs-tab-chevron {
  width: 10px;
  height: 16px;
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.28s ease;
  transform: rotate(180deg);
}

@keyframes cs-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ════════════ MOBILE ════════════ */
@media (max-width: 480px) {
  .cs {
    top: auto;
    bottom: 110px;
    transform: none;
  }
  .cs {
    --w: 238px;
  }

  .cs-tab {
    width: 42px;
  }

  .cs-tab:hover,
  .cs.open .cs-tab {
    width: 48px;
  }
}

.cs.english {
  font-family: Arial, Helvetica, sans-serif;
}
