:root {
  --ink: #193229;
  --muted: #66756f;
  --cream: #f7f1e4;
  --paper: #fffdf8;
  --green: #0f5a43;
  --green-deep: #0a3f31;
  --green-soft: #dcecdf;
  --sun: #f5c84b;
  --sky: #b7dbe7;
  --peach: #edb5a5;
  --line: rgba(25, 50, 41, 0.14);
  --shadow: 0 26px 70px rgba(17, 63, 48, 0.18);
  --radius-lg: 2.25rem;
  --radius-md: 1.5rem;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink);
  background: var(--sun);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
.brand__copy strong {
  font-family: "Fraunces", Georgia, serif;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.2;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--green-deep);
  border-radius: 0.75rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notice {
  position: relative;
  z-index: 20;
  color: #fff;
  background: var(--green-deep);
  font-size: 0.88rem;
}

.notice__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.notice__inner a {
  margin-left: 0.25rem;
  color: var(--sun);
  font-weight: 700;
  text-underline-offset: 3px;
}

.notice__dot {
  width: 8px;
  height: 8px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(245, 200, 75, 0.16);
}

.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  background: rgba(247, 241, 228, 0.9);
  border-bottom: 1px solid rgba(25, 50, 41, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border: 4px solid var(--sun);
  border-radius: 0.75rem;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand__copy {
  display: grid;
  line-height: 1.1;
}

.brand__copy strong {
  font-size: 1.08rem;
}

.brand__copy small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.primary-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:not(.nav-cta):hover {
  color: var(--green);
}

.nav-cta {
  padding: 0.72rem 1.15rem;
  color: #fff !important;
  background: var(--green);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(6rem, 10vw, 9rem);
  color: #fff;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--green-deep), var(--green));
  isolation: isolate;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.hero__content {
  position: relative;
  z-index: 3;
}

.eyebrow,
.kicker {
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--sun);
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.45rem, 6.8vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero h1 em {
  position: relative;
  color: var(--sun);
  font-style: italic;
}

.hero__lead {
  max-width: 600px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.86rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--sun {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.button--sun:hover {
  background: #ffd764;
}

.button--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
}

.button--green {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(15, 90, 67, 0.22);
}

.button--green:hover {
  background: var(--green-deep);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  padding: 0;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
  font-weight: 600;
  list-style: none;
}

.hero__points span {
  margin-right: 0.25rem;
  color: var(--sun);
}

.hero__visual {
  position: relative;
  min-height: 550px;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: var(--paper);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--main {
  width: 86%;
  height: 80%;
  top: 4%;
  right: 1%;
  padding: 12px;
  border: 1px solid rgba(25, 50, 41, 0.12);
  border-radius: 2rem 2rem 7rem 2rem;
  box-shadow:
    18px 18px 0 var(--sun),
    0 30px 70px rgba(5, 35, 26, 0.28);
  transform: rotate(-2deg);
}

.hero-photo--main img {
  border-radius: 1.25rem 1.25rem 6rem 1.25rem;
}

.hero-photo--small {
  z-index: 3;
  width: 42%;
  height: 42%;
  left: -2%;
  bottom: 1%;
  padding: 9px 9px 36px;
  border: 1px solid rgba(25, 50, 41, 0.12);
  border-radius: 1rem;
  box-shadow:
    -14px 14px 0 var(--sky),
    0 22px 45px rgba(5, 35, 26, 0.24);
  transform: rotate(5deg);
}

.hero-photo--small img {
  border-radius: 0.65rem;
}

.hero-note {
  position: absolute;
  z-index: 4;
  top: 10%;
  right: -4%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--sun);
  border-radius: 1.1rem 1.1rem 1.1rem 0.2rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.17);
  transform: rotate(3deg);
}

.hero-note > span {
  font-size: 1.6rem;
}

.hero-note p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.25;
}

.hero__shape {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero__shape--one {
  width: 320px;
  height: 320px;
  right: -130px;
  bottom: -120px;
  border: 70px solid rgba(245, 200, 75, 0.14);
}

.hero__shape--two {
  width: 180px;
  height: 180px;
  left: -90px;
  top: 90px;
  background: rgba(183, 219, 231, 0.08);
}

.welcome {
  background: var(--paper);
}

.welcome__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.welcome__media {
  position: relative;
}

.welcome__media::before {
  position: absolute;
  inset: -22px -20px 54% 42%;
  background: var(--green-soft);
  border-radius: 1.8rem 5rem 1.8rem 1.8rem;
  transform: rotate(4deg);
  content: "";
}

.welcome__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border: 12px solid var(--paper);
  border-radius: 2rem 7rem 2rem 2rem;
  box-shadow:
    -18px 18px 0 var(--sun),
    var(--shadow);
  transform: rotate(-1.5deg);
}

.welcome__badge {
  position: absolute;
  right: -1.5rem;
  bottom: -0.5rem;
  display: grid;
  padding: 1rem 1.2rem;
  color: #fff;
  background: var(--green);
  border: 5px solid var(--paper);
  border-radius: 0.4rem 1.3rem 1.3rem 1.3rem;
  font-size: 0.76rem;
  line-height: 1.3;
  transform: rotate(-3deg);
}

.welcome__badge strong {
  color: var(--sun);
  font-size: 1.05rem;
}

.welcome__copy h2 {
  max-width: 700px;
}

.welcome__copy > p:not(.kicker) {
  max-width: 620px;
  color: var(--muted);
}

.welcome__copy .lead-copy {
  color: var(--ink) !important;
  font-size: 1.14rem;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 5px;
}

.programs {
  background: var(--cream);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.section-heading > p:not(.kicker) {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center p {
  margin-inline: auto;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.program-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 1.65rem;
  overflow: hidden;
  border: 1px solid rgba(25, 50, 41, 0.09);
  border-radius: var(--radius-md);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.program-card:hover {
  box-shadow: 0 16px 38px rgba(25, 50, 41, 0.1);
  transform: translateY(-6px);
}

.program-card--sage { background: var(--green-soft); }
.program-card--sun { background: #fae6a1; }
.program-card--sky { background: #d8ecf1; }
.program-card--peach { background: #f4d9d0; }

.program-card__number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.program-card__icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: #fff;
  background: var(--green);
  border-radius: 50% 46% 54% 48%;
  font-size: 1.35rem;
  font-weight: 800;
  transform: rotate(-5deg);
}

.program-card--sun .program-card__icon {
  color: var(--ink);
  background: var(--sun);
}

.program-card--sky .program-card__icon {
  color: var(--ink);
  background: var(--sky);
}

.program-card--peach .program-card__icon {
  color: var(--ink);
  background: var(--peach);
}

.program-card__icon--arabic {
  font-family: serif;
  font-size: 2rem;
}

.program-card h3 {
  margin: 2rem 0 0.7rem;
}

.program-card p {
  margin-bottom: 0;
  color: #50625b;
  font-size: 0.93rem;
  line-height: 1.6;
}

.extras {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.5fr 1.15fr 0.55fr;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 2rem;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-md);
}

.extras > * {
  min-width: 0;
}

.extras > div > span {
  color: var(--sun);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.extras h3 {
  margin: 0.3rem 0 0;
}

.extras ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.extras li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.extras i {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
  font-style: normal;
}

.extras__photo {
  position: relative;
  width: 100%;
  height: 170px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.1rem;
}

.extras__photo::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(8, 40, 31, 0.88));
  content: "";
}

.extras__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.extras__photo figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.25;
}

.journey {
  color: #fff;
  background: var(--green);
}

.journey__heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 4.5rem;
}

.journey__heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.journey__heading > p {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
}

.kicker--light {
  color: var(--sun);
}

.journey__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.journey__steps::before {
  position: absolute;
  top: 3.2rem;
  right: 2rem;
  left: 2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
  content: "";
}

.journey-step {
  position: relative;
  padding: 0 0.4rem;
}

.journey-step > strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--sun);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.5rem;
}

.journey-step > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-bottom: 1.6rem;
  color: var(--green-deep);
  background: var(--sun);
  border: 5px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  font-size: 0;
}

.journey-step h3 {
  margin-bottom: 0.7rem;
}

.journey-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
}

.gallery {
  background: var(--paper);
}

.section-heading--gallery {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading--gallery h2 {
  margin-bottom: 0;
}

.social-link:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link--tiktok svg {
  fill: currentColor;
  stroke: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, minmax(250px, 320px));
  gap: 1.6rem;
  padding: 0.7rem 0.5rem 1rem;
}

.gallery-card {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 9px 9px 66px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: 0 18px 42px rgba(25, 50, 41, 0.14);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-card--wide {
  grid-row: 1 / 3;
  border-radius: 1.4rem 1.4rem 4rem 1.4rem;
  box-shadow:
    -12px 12px 0 var(--sun),
    0 20px 44px rgba(25, 50, 41, 0.14);
  transform: rotate(-1deg);
}

.gallery-card::after {
  content: none;
}

.gallery-card:nth-child(2) {
  box-shadow:
    10px 10px 0 var(--sky),
    0 18px 42px rgba(25, 50, 41, 0.12);
  transform: rotate(1.5deg);
}

.gallery-card:nth-child(3) {
  box-shadow:
    10px 10px 0 var(--green-soft),
    0 18px 42px rgba(25, 50, 41, 0.12);
  transform: rotate(-1deg);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.9rem;
  transition: transform 500ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card figcaption {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: 0.9rem;
  left: 1.2rem;
  display: grid;
  color: var(--ink);
  line-height: 1.25;
}

.gallery-card figcaption span {
  margin-bottom: 0.35rem;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-card figcaption strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.contact {
  background: var(--cream);
}

.contact__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2.2rem, 5vw, 5rem);
  overflow: hidden;
  background: #efe5cf;
  border-radius: var(--radius-lg);
}

.contact__panel::before {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  top: -130px;
  background: repeating-radial-gradient(circle, var(--sun) 0 5px, transparent 6px 18px);
  opacity: 0.3;
  content: "";
}

.contact__copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.contact__copy h2 {
  max-width: 720px;
}

.contact__copy > p:not(.kicker) {
  max-width: 560px;
  margin-bottom: 1.8rem;
  color: var(--muted);
}

.contact-card {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(15, 90, 67, 0.16);
  font-style: normal;
}

.contact-card__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-card__mark {
  width: 52px;
  height: 52px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
  font-size: 1.4rem;
}

.contact-card small,
.contact-card__row span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 0.2rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
}

.contact-card > p {
  margin: 1.2rem 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-card__direction {
  color: var(--sun);
  font-weight: 800;
  text-underline-offset: 4px;
}

.contact-card hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-card__row {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 1rem;
  padding: 0.45rem 0;
}

.contact-card__row a {
  overflow-wrap: anywhere;
  font-size: 0.93rem;
  font-weight: 700;
}

.contact__map-wrap {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  min-width: 0;
}

.contact__map-label {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-weight: 800;
}

.contact__map {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 1.25rem;
}

.site-footer {
  padding: 4rem 0 2rem;
  color: #fff;
  background: var(--green-deep);
}

.footer__main {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr 0.5fr;
  align-items: center;
  gap: 3rem;
  padding-bottom: 3rem;
}

.brand--footer .brand__copy small {
  color: rgba(255, 255, 255, 0.6);
}

.footer__main > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.67);
}

.footer__links {
  display: flex;
  justify-content: flex-end;
  gap: 1.3rem;
}

.footer__actions {
  display: grid;
  justify-items: end;
  gap: 1.15rem;
}

.footer__social {
  display: flex;
  gap: 0.65rem;
}

.social-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-link:hover {
  color: var(--green-deep);
  background: var(--sun);
  border-color: var(--sun);
  transform: translateY(-2px);
}

.footer__links a,
.footer__bottom a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.6rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.footer__bottom p {
  margin: 0;
}

.floating-wa {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #20b35a;
  border: 5px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(18, 76, 45, 0.25);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease;
}

.floating-wa:hover {
  transform: translateY(-3px) scale(1.03);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-top: 0.35rem;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid,
  .welcome__grid,
  .journey__heading,
  .contact__panel {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    width: min(620px, 100%);
    min-height: 560px;
    margin-inline: auto;
  }

  .welcome__media {
    width: min(560px, 92%);
    margin-inline: auto;
  }

  .welcome__media img {
    aspect-ratio: 5 / 4.8;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey__heading {
    gap: 1.5rem;
  }

  .journey__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }

  .journey__steps::before {
    display: none;
  }

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

  .extras__photo {
    height: 260px;
  }

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

  .footer__main > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 700px) {
  :root {
    --container: min(100% - 28px, 1160px);
    --radius-lg: 1.5rem;
  }

  .notice__inner {
    min-height: 48px;
    justify-content: flex-start;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .notice__inner a {
    margin-left: auto;
    white-space: nowrap;
  }

  .notice__dot {
    display: none;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand__mark {
    width: 43px;
    height: 43px;
  }

  .brand__copy strong {
    font-size: 0.95rem;
  }

  .brand__copy small {
    font-size: 0.58rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__points {
    display: grid;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero-photo--main {
    width: 90%;
    height: 78%;
  }

  .hero-photo--small {
    width: 48%;
    height: 42%;
  }

  .hero-note {
    right: 0;
    top: 3%;
    bottom: auto;
  }

  .welcome__media {
    width: calc(100% - 14px);
  }

  .welcome__badge {
    right: -0.7rem;
  }

  .program-grid,
  .journey__steps,
  .gallery-grid,
  .footer__main {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 280px;
  }

  .extras {
    padding: 1.5rem;
  }

  .extras ul {
    grid-template-columns: 1fr;
  }

  .journey__steps {
    gap: 2.3rem;
  }

  .journey-step {
    padding-left: 0;
  }

  .section-heading--gallery {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-rows: auto;
  }

  .gallery-card,
  .gallery-card--wide {
    min-height: 360px;
    grid-row: auto;
  }

  .contact-card__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .contact__map {
    height: 260px;
  }

  .footer__links {
    justify-content: flex-start;
  }

  .footer__actions {
    justify-items: start;
  }

  .footer__bottom {
    display: grid;
    gap: 0.6rem;
  }

  .floating-wa {
    right: 15px;
    bottom: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
