* {
  user-select: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background-image: url("https://picsum.photos/1920/1080");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  color: #171717;
  background: rgba(0, 0, 0, 0.75);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  box-shadow: 0 2px 14px #00000014;
}

.brand img {
  width: clamp(145px, 13vw, 205px);
  height: auto;
}

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

.button,
.wabtn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid #fff;
  border-radius: 0;
  background: #050505;
  color: #fff;
  text-decoration: none;
  font: 700 0.9rem "Montserrat", sans-serif;
  padding: 13px 20px;
  min-height: 46px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: #fff;
  color: #111;
  border-color: #111;
}

.wabtn {
  background: #25d366;
  color: #fff;
}

.wabtn:hover,
.wabtn:focus-visible {
  background: #fff;
  color: #168a43;
  border-color: #25d366;
}

.section {
  position: relative;
  min-height: 80vh;
  padding: 125px clamp(20px, 6vw, 90px) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 38px;
  scroll-margin-top: 70px;
}

.section:not(.hero) {
  color: #fff;
}

.hero {
  min-height: 100vh;
  padding-top: 145px;
  color: #fff;
  text-align: center;
}

.hero-content {
  max-width: 980px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #d8b36b;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.8rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 950px;
}

.hero-copy {
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.section-heading {
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.2;
  max-width: 900px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  color: #eee;
}

.grid {
  width: 100%;
  max-width: 1180px;
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.language-card {
  background: rgba(255, 255, 255, 0.94);
  color: #171717;
  border: 1px solid #111;
  border-radius: 3px;
  padding: clamp(22px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 12px 35px #0000001a;
}

.card h3,
.language-card h3 {
  font-size: 1.28rem;
  line-height: 1.3;
}

.card p,
.language-card p {
  color: #363636;
}

.card-mark {
  font-weight: 800;
  color: #aa792b;
  letter-spacing: 0.08em;
}

.section-cta {
  margin-top: 2px;
}

.about-panel {
  max-width: 930px;
  background: rgba(255, 255, 255, 0.94);
  color: #222;
  padding: clamp(24px, 4vw, 52px);
  border-left: 4px solid #b57b22;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.language-card {
  min-height: 330px;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 36px;
}

.language-card .button {
  margin-top: 10px;
}

.flag {
  font-size: 2.4rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
  max-width: 1250px;
  counter-reset: steps;
}

.steps li {
  background: #fff;
  color: #171717;
  border-top: 3px solid #b57b22;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 225px;
}

.steps li > span {
  font-size: 1.6rem;
  font-weight: 800;
  color: #b57b22;
}

.steps h3 {
  font-size: 1.03rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.steps p {
  font-size: 0.9rem;
  color: #444;
}

.review {
  height: 100%;
  gap: 18px;
}

.stars {
  font-size: 3rem;
  color: #b57b22;
  line-height: 0.8;
}

.review blockquote {
  font-size: 0.98rem;
  font-style: italic;
  flex: 1;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.review-meta span {
  font-size: 0.86rem;
  color: #555;
}

.review-meta .achievement {
  font-size: 0.78rem;
  font-weight: 700;
  color: #98651a;
  margin-top: 7px;
}

.contact-section {
  background: #090909 !important;
}

.contact-layout {
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.contact-form,
.contact-details {
  background: #fff;
  color: #171717;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid #ddd;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #bcbcbc;
  border-radius: 0;
  background: #fff;
  font: 400 0.95rem "Montserrat", sans-serif;
  color: #111;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid #b57b22;
  outline-offset: 1px;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

.submit-button {
  margin-top: 20px;
}

.consent,
.form-note {
  font-size: 0.75rem;
  color: #555;
  margin-top: 14px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.contact-details h3 {
  font-size: 1.25rem;
}

.contact-details > a:not(.wabtn) {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-details > a span {
  font-size: 0.75rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-details .wabtn {
  margin-top: 5px;
}

.online-note {
  font-size: 0.8rem;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  gap: 30px;
  align-items: start;
  background: #050505;
  color: #fff;
  padding: 48px clamp(20px, 5vw, 75px) 20px;
  font-size: 0.85rem;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #ccc;
}

.footer-contact,
.footer-policies {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact strong,
.footer-policies strong {
  color: #d8b36b;
  margin-bottom: 4px;
}

.footer-contact a,
.footer-policies a {
  color: #ddd;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact a:hover,
.footer-policies a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid #333;
  padding-top: 17px;
  color: #aaa;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

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

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

  .steps li {
    min-height: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-policies {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-social {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header {
    min-height: 72px;
    padding: 9px 14px;
    gap: 8px;
  }

  .brand img {
    width: 112px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .button,
  .header-actions .wabtn {
    font-size: 0.68rem;
    min-height: 38px;
    padding: 8px 9px;
  }

  .section {
    min-height: auto;
    padding: 105px 18px 62px;
    gap: 28px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 125px;
    padding-bottom: 55px;
  }

  .hero-content {
    gap: 19px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    margin: 0;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .card,
  .language-card {
    padding: 25px;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .steps li {
    flex-direction: row;
    align-items: flex-start;
    min-height: 0;
    padding: 19px;
  }

  .steps li > span {
    min-width: 40px;
  }

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

  .form-grid .full-width {
    grid-column: auto;
  }

  .contact-form,
  .contact-details {
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 35px;
  }

  .footer-policies,
  .footer-social {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Landscape layout: medium-size type, centered content, one viewport per section. */
@media screen and (orientation: landscape) and (min-width: 640px) and (min-height: 500px) {
  html { scroll-padding-top: 0; scroll-snap-type: y mandatory; }
  .site-header {
    height: 68px; min-height: 68px;
    padding: 8px clamp(22px, 3.6vw, 56px);
    gap: 14px;
  }
  .brand img { width: clamp(142px, 12vw, 190px); }
  .header-actions { gap: 10px; }
  .header-actions .button, .header-actions .wabtn {
    min-height: 41px; padding: 9px 16px; font-size: .82rem;
  }
  .section, .hero, .site-footer {
    height: 100vh; height: 100svh;
    min-height: 100vh; min-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start; scroll-snap-stop: always;
  }
  .section, .hero {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero {
    padding: clamp(94px, 12vh, 116px) clamp(28px, 5vw, 76px) clamp(26px, 4vh, 36px);
  }
  .hero-content { width: 100%; max-width: 1050px; margin: auto; gap: clamp(13px, 2vh, 19px); align-items: center; }
  .hero .eyebrow { font-size: .76rem; }
  .hero h1 { font-size: clamp(2.35rem, 5.8vh, 3.65rem); line-height: 1.12; }
  .hero-copy { max-width: 900px; font-size: clamp(1.05rem, 2vh, 1.2rem); line-height: 1.5; }
  .hero-actions { justify-content: center; gap: 12px; margin-top: 7px; }
  .hero-actions .button { min-height: 43px; padding: 10px 17px; font-size: .82rem; }

  .section:not(.hero) {
    padding: clamp(88px, 11vh, 108px) clamp(28px, 5vw, 76px) clamp(22px, 3.5vh, 32px);
    gap: clamp(15px, 2.2vh, 23px);
  }
  .section-heading { width: 100%; max-width: 1000px; flex: 0 0 auto; margin-inline: auto; align-items: center; text-align: center; gap: clamp(5px, .9vh, 8px); }
  .section-heading .eyebrow { font-size: .72rem; }
  .section-heading h2 { font-size: clamp(1.75rem, 3.8vh, 2.35rem); line-height: 1.16; }
  .section-heading > p:not(.eyebrow) { font-size: clamp(.92rem, 1.7vh, 1.02rem); line-height: 1.45; }
  .grid { width: 100%; max-width: 1220px; margin-inline: auto; gap: clamp(16px, 1.8vw, 24px); }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .language-card { padding: clamp(20px, 2.6vh, 29px); gap: clamp(10px, 1.4vh, 15px); }
  .card h3, .language-card h3 { font-size: clamp(1.02rem, 2vh, 1.22rem); line-height: 1.28; }
  .card p, .language-card p { font-size: clamp(.88rem, 1.7vh, 1rem); line-height: 1.5; }
  .card-mark { font-size: .9rem; }
  .section-cta { min-height: 42px; padding: 10px 18px; font-size: .82rem; }
  .about-panel {
    max-width: 1000px; margin: auto;
    padding: clamp(24px, 3.4vh, 34px);
    font-size: clamp(1rem, 1.95vh, 1.12rem); line-height: 1.62;
    text-align: left;
  }
  .language-card { min-height: 0; align-items: center; justify-content: center; text-align: center; }
  .language-card .flag { font-size: clamp(1.8rem, 3.7vh, 2.35rem); }
  .language-card .button { min-height: 41px; padding: 9px 15px; font-size: .8rem; margin-top: 6px; }

  .steps { width: 100%; max-width: 1280px; margin-inline: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 15px); }
  .steps li {
    height: clamp(170px, 27vh, 208px); min-height: 0;
    padding: clamp(15px, 2vh, 22px) clamp(12px, 1.2vw, 18px);
    gap: clamp(9px, 1.3vh, 14px); text-align: left;
    justify-content: flex-start;
  }
  .steps li > span { font-size: clamp(1.35rem, 2.8vh, 1.65rem); }
  .steps h3 { font-size: clamp(.86rem, 1.75vh, 1rem); line-height: 1.25; margin-bottom: 6px; }
  .steps p { font-size: clamp(.78rem, 1.5vh, .9rem); line-height: 1.42; }

  .review { gap: clamp(10px, 1.4vh, 15px); text-align: left; }
  .review .stars { font-size: 2.65rem; }
  .review blockquote { font-size: clamp(.87rem, 1.7vh, .99rem); line-height: 1.48; }
  .review-meta { gap: 2px; margin-top: 4px; font-size: .9rem; }
  .review-meta span { font-size: clamp(.78rem, 1.4vh, .88rem); line-height: 1.4; }
  .review-meta .achievement { font-size: clamp(.73rem, 1.3vh, .82rem); margin-top: 4px; }

  .contact-section .section-heading { gap: 5px; }
  .contact-layout { width: 100%; max-width: 1200px; margin: auto; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr); gap: clamp(18px, 2vw, 27px); align-items: stretch; }
  .contact-form, .contact-details { padding: clamp(18px, 2.3vh, 25px); text-align: left; }
  .form-grid { gap: clamp(9px, 1.2vh, 13px) clamp(12px, 1.3vw, 18px); }
  .form-grid label { font-size: clamp(.8rem, 1.45vh, .9rem); gap: 5px; line-height: 1.3; }
  .form-grid input, .form-grid select, .form-grid textarea { padding: 9px 11px; font-size: clamp(.85rem, 1.5vh, .95rem); min-height: 37px; }
  .form-grid textarea { height: clamp(58px, 9vh, 72px); min-height: 58px; resize: none; }
  .submit-button { min-height: 39px; padding: 9px 16px; margin-top: 11px; font-size: .8rem; }
  .consent, .form-note { font-size: clamp(.7rem, 1.15vh, .78rem); line-height: 1.35; margin-top: 8px; }
  .contact-details { gap: clamp(9px, 1.3vh, 14px); }
  .contact-details h3 { font-size: clamp(1.1rem, 2vh, 1.28rem); }
  .contact-details p, .contact-details a:not(.wabtn) { font-size: clamp(.85rem, 1.5vh, .95rem); line-height: 1.45; }
  .contact-details .wabtn { min-height: 39px; padding: 9px 12px; font-size: .8rem; }
  .online-note { padding-top: 10px; font-size: clamp(.73rem, 1.25vh, .82rem) !important; }

  .site-footer {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(170px, .95fr) minmax(330px, 2fr) auto;
    align-content: center; align-items: start;
    gap: clamp(17px, 2vw, 30px);
    padding: 82px clamp(28px, 4.2vw, 64px) 22px;
    font-size: clamp(.82rem, 1.45vh, .9rem);
    text-align: left;
  }
  .footer-brand img { width: clamp(150px, 13vw, 192px); margin-bottom: 12px; }
  .footer-brand p { line-height: 1.5; }
  .footer-contact, .footer-policies { gap: clamp(7px, 1vh, 10px); }
  .footer-social { gap: 10px; }
  .footer-social img { width: clamp(25px, 2.8vh, 31px); height: clamp(25px, 2.8vh, 31px); }
  .copyright { margin-top: 5px; padding-top: 14px; font-size: .78rem; }
}

/* Narrower landscape tablets: preserve readable content and avoid crowded footer columns. */
@media screen and (orientation: landscape) and (min-width: 640px) and (max-width: 759px) and (min-height: 500px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 15px 20px;
    padding-left: 26px; padding-right: 26px;
  }
  .footer-policies { grid-column: 1 / -1; }
  .footer-social { grid-column: 2; justify-content: flex-end; }
  .grid { gap: 12px; }
  .card, .language-card { padding: 17px; }
  .card p, .language-card p { font-size: .82rem; }
  .steps { gap: 8px; }
  .steps li { padding: 13px 10px; }
  .steps h3 { font-size: .8rem; }
  .steps p { font-size: .73rem; }
  .review blockquote { font-size: .78rem; }
}

/* Short landscape screens (such as a phone turned sideways): moderately compact, not miniature. */
@media screen and (orientation: landscape) and (min-width: 640px) and (max-height: 499px) {
  html { scroll-padding-top: 0; scroll-snap-type: y mandatory; }
  .site-header { height: 50px; min-height: 50px; padding: 5px 15px; gap: 8px; }
  .brand img { width: clamp(100px, 13vw, 130px); }
  .header-actions { gap: 7px; }
  .header-actions .button, .header-actions .wabtn { min-height: 31px; padding: 6px 10px; font-size: .68rem; }
  .section, .hero, .site-footer {
    height: 100vh; height: 100svh;
    min-height: 100vh; min-height: 100svh;
    overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always;
  }
  .section, .hero { align-items: center; justify-content: center; text-align: center; }
  .hero { padding: 61px 18px 12px; }
  .hero-content { max-width: 920px; margin: auto; gap: 8px; }
  .hero .eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(1.6rem, 6vh, 2.05rem); line-height: 1.08; }
  .hero-copy { max-width: 850px; font-size: clamp(.84rem, 2.4vh, .97rem); line-height: 1.35; }
  .hero-actions { gap: 8px; margin-top: 4px; }
  .hero-actions .button { min-height: 32px; padding: 6px 10px; font-size: .67rem; }
  .section:not(.hero) { padding: 60px 17px 12px; gap: 10px; }
  .section-heading { max-width: 980px; gap: 3px; }
  .section-heading .eyebrow { font-size: .66rem; letter-spacing: .12em; }
  .section-heading h2 { font-size: clamp(1.28rem, 4.8vh, 1.7rem); line-height: 1.1; }
  .section-heading > p:not(.eyebrow) { font-size: clamp(.76rem, 2.05vh, .86rem); line-height: 1.3; }
  .grid { gap: 10px; }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .language-card { padding: 12px 13px; gap: 7px; }
  .card-mark { font-size: .75rem; }
  .card h3, .language-card h3 { font-size: .88rem; line-height: 1.2; }
  .card p, .language-card p { font-size: clamp(.72rem, 1.95vh, .82rem); line-height: 1.3; }
  .section-cta { min-height: 32px; padding: 6px 11px; font-size: .68rem; }
  .about-panel { max-width: 980px; margin: auto; padding: 15px 18px; font-size: clamp(.8rem, 2.2vh, .91rem); line-height: 1.4; text-align: left; }
  .language-card { min-height: 0; align-items: center; justify-content: center; }
  .language-card .flag { font-size: 1.45rem; }
  .language-card .button { min-height: 31px; padding: 6px 9px; font-size: .65rem; margin-top: 2px; }
  .steps { max-width: 1200px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .steps li { height: clamp(135px, 37vh, 160px); min-height: 0; padding: 10px 11px; gap: 7px; text-align: left; }
  .steps li > span { font-size: 1.15rem; }
  .steps h3 { font-size: .78rem; line-height: 1.18; margin-bottom: 4px; }
  .steps p { font-size: clamp(.68rem, 1.8vh, .76rem); line-height: 1.3; }
  .review { gap: 6px; text-align: left; }
  .review .stars { font-size: 1.55rem; }
  .review blockquote { font-size: clamp(.7rem, 1.9vh, .78rem); line-height: 1.3; }
  .review-meta { gap: 1px; margin-top: 2px; font-size: .75rem; line-height: 1.2; }
  .review-meta span { font-size: clamp(.65rem, 1.65vh, .72rem); line-height: 1.2; }
  .review-meta .achievement { font-size: clamp(.62rem, 1.55vh, .69rem); margin-top: 2px; }
  .contact-section .section-heading { gap: 2px; }
  .contact-layout { max-width: 1180px; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr); gap: 10px; align-items: stretch; margin: auto; }
  .contact-form, .contact-details { padding: 11px 12px; text-align: left; }
  .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 8px; }
  .form-grid .full-width { grid-column: 1 / -1; }
  .form-grid label { font-size: clamp(.65rem, 1.7vh, .73rem); line-height: 1.15; gap: 3px; }
  .form-grid input, .form-grid select, .form-grid textarea { min-height: 29px; padding: 5px 7px; font-size: clamp(.7rem, 1.8vh, .78rem); }
  .form-grid textarea { height: 41px; min-height: 41px; resize: none; }
  .submit-button { min-height: 30px; padding: 5px 10px; margin-top: 5px; font-size: .67rem; }
  .consent, .form-note { font-size: clamp(.57rem, 1.45vh, .64rem); line-height: 1.18; margin-top: 5px; }
  .contact-details { gap: 6px; }
  .contact-details h3 { font-size: .9rem; line-height: 1.2; }
  .contact-details p, .contact-details a:not(.wabtn) { font-size: clamp(.7rem, 1.8vh, .78rem); line-height: 1.3; }
  .contact-details > a span { font-size: .63rem; }
  .contact-details .wabtn { min-height: 29px; padding: 5px 7px; font-size: .65rem; }
  .online-note { padding-top: 5px; font-size: clamp(.63rem, 1.55vh, .7rem) !important; }
  .site-footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-content: center; align-items: start;
    gap: 9px 18px; padding: 60px 18px 12px;
    font-size: clamp(.68rem, 1.8vh, .76rem); text-align: left;
  }
  .footer-brand img { width: 120px; margin-bottom: 4px; }
  .footer-brand p { font-size: .68rem; line-height: 1.25; }
  .footer-contact, .footer-policies { gap: 4px; line-height: 1.24; }
  .footer-policies { grid-column: 1 / -1; }
  .footer-social { grid-column: 2; justify-content: flex-end; gap: 6px; }
  .footer-social img { width: 20px; height: 20px; }
  .copyright { margin-top: 0; padding-top: 7px; font-size: .64rem; }
}
/* FLEX-CENTERED LAYOUT REVISION
   Main page sections and their content groups use flexbox. Section items are
   distributed evenly around the visual center of each viewport. */
body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
main {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

/* Use flexbox for card collections across devices. */
.grid {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: center;
  margin-inline: auto;
  gap: 22px;
}
.grid.three > *,
.grid.two > * {
  flex: 1 1 calc(33.333% - 22px);
  min-width: 0;
}
.grid.two > * {
  flex-basis: calc(50% - 22px);
}

/* The five class stages are flex items, evenly sharing desktop width. */
.steps {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  justify-content: space-evenly;
  margin-inline: auto;
}
.steps > li {
  flex: 1 1 0;
  min-width: 0;
}

/* Footer columns flow and wrap as flex items instead of using CSS Grid. */
.site-footer {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: center;
  align-content: center;
}
.footer-brand { flex: 0 1 220px; }
.footer-contact { flex: 0 1 205px; }
.footer-policies { flex: 1 1 360px; max-width: 560px; }
.footer-social { flex: 0 0 auto; }
.copyright { flex: 0 0 100%; }

@media (min-width: 901px) {
  .grid.three > * { flex-basis: calc((100% - 44px) / 3); }
  .grid.two > * { flex-basis: calc((100% - 22px) / 2); }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid.three > *, .grid.two > * { flex-basis: calc((100% - 22px) / 2); }
  .steps { flex-wrap: wrap; }
  .steps > li { flex: 1 1 calc(50% - 12px); }
  .site-footer { gap: 20px 24px; }
  .footer-policies { flex-basis: 100%; max-width: none; }
}
@media (max-width: 600px) {
  .grid { gap: 16px; }
  .grid.three > *, .grid.two > * { flex-basis: 100%; }
  .steps { flex-direction: column; }
  .steps > li { flex: 1 1 auto; }
  .site-footer { flex-direction: column; align-items: stretch; gap: 25px; }
  .footer-brand, .footer-contact, .footer-policies, .footer-social, .copyright {
    flex: 0 1 auto; max-width: none; width: 100%;
  }
}

/* Landscape: one viewport per section, with content centered in the viewport.
   The fixed header overlays the section background but does not push the
   section's content down. space-evenly gives equal top, inter-item and bottom
   spacing between direct section items. */
@media screen and (orientation: landscape) and (min-width: 640px) {
  html {
    scroll-padding-top: 0;
    scroll-snap-type: y mandatory;
  }
  .site-header {
    height: clamp(50px, 8.85vh, 68px);
    min-height: clamp(50px, 8.85vh, 68px);
  }
  main > .section,
  main > .hero,
  body > .site-footer {
    box-sizing: border-box;
    flex: 0 0 100vh;
    height: 100vh;
    min-height: 100vh;
    flex-basis: 100svh;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  main > .section,
  main > .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 0;
    padding: 0 clamp(28px, 5vw, 76px);
    text-align: center;
    scroll-margin-top: 0;
  }
  .hero .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    gap: clamp(14px, 2vh, 22px);
  }
  .hero-actions { margin-top: 0; justify-content: center; }

  /* Every section's major children behave as peer flex items. */
  .section > .section-heading,
  .section > .grid,
  .section > .about-panel,
  .section > .steps,
  .section > .contact-layout,
  .section > .section-cta {
    flex: 0 1 auto;
    margin-block: 0;
  }
  .section > .section-heading { width: 100%; }
  .section > .grid,
  .section > .steps,
  .section > .contact-layout { width: 100%; }
  .section > .about-panel { margin-inline: auto; }
  .section > .section-cta { margin: 0; }

  .site-footer {
    padding: clamp(24px, 4vh, 36px) clamp(28px, 4.2vw, 64px) 18px;
    gap: clamp(16px, 2vw, 30px);
    text-align: left;
  }
  .footer-brand { flex-basis: 190px; }
  .footer-contact { flex-basis: 175px; }
  .footer-policies { flex-basis: min(38vw, 500px); }
  .copyright { margin: 0; }
}

/* Medium landscape tablet widths: two-up cards where needed, readable spacing. */
@media screen and (orientation: landscape) and (min-width: 640px) and (max-width: 900px) and (min-height: 500px) {
  .grid { gap: 13px; }
  .grid.three > *, .grid.two > * { flex-basis: calc((100% - 13px) / 2); }
  .steps { gap: 10px; }
  .steps > li { padding: 15px 12px; }
  .site-footer { gap: 12px 18px; padding-inline: 22px; }
  .footer-brand { flex-basis: 160px; }
  .footer-contact { flex-basis: 160px; }
  .footer-policies { flex-basis: 100%; max-width: none; }
}

/* Short landscape viewports use a still-readable, moderate compact layout. */
@media screen and (orientation: landscape) and (min-width: 640px) and (max-height: 499px) {
  .site-header { height: 50px; min-height: 50px; }
  main > .section, main > .hero, body > .site-footer {
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero .hero-content { gap: 9px; }
  .hero h1 { font-size: clamp(1.85rem, 6.4vh, 2.7rem); }
  .hero-copy { font-size: clamp(.91rem, 2.5vh, 1.07rem); line-height: 1.4; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { min-height: 36px; padding: 8px 12px; font-size: .74rem; }
  .section-heading { gap: 5px; }
  .section-heading h2 { font-size: clamp(1.5rem, 4.5vh, 2rem); }
  .section-heading > p:not(.eyebrow) { font-size: clamp(.8rem, 2.2vh, .94rem); }
  .grid { gap: 11px; }
  .card, .language-card { padding: clamp(13px, 2.5vh, 21px); gap: 9px; }
  .card h3, .language-card h3 { font-size: clamp(.95rem, 2.5vh, 1.12rem); }
  .card p, .language-card p { font-size: clamp(.77rem, 2.1vh, .9rem); line-height: 1.38; }
  .about-panel { padding: 18px 22px; font-size: clamp(.9rem, 2.4vh, 1.04rem); line-height: 1.48; }
  .steps { flex-wrap: nowrap; gap: 8px; }
  .steps > li { padding: 11px 10px; gap: 8px; min-width: 0; }
  .steps h3 { font-size: clamp(.78rem, 2vh, .9rem); }
  .steps p { font-size: clamp(.7rem, 1.8vh, .82rem); line-height: 1.32; }
  .review { gap: 7px; }
  .review blockquote { font-size: clamp(.75rem, 1.95vh, .88rem); line-height: 1.34; }
  .review-meta span { font-size: clamp(.68rem, 1.7vh, .78rem); }
  .contact-layout { gap: 12px; }
  .contact-form, .contact-details { padding: 13px 15px; }
  .form-grid { gap: 8px 10px; }
  .form-grid label { font-size: clamp(.68rem, 1.8vh, .8rem); }
  .form-grid input, .form-grid select { min-height: 31px; padding: 5px 8px; font-size: clamp(.75rem, 1.9vh, .86rem); }
  .form-grid textarea { height: 44px; min-height: 44px; }
  .submit-button { min-height: 32px; padding: 6px 11px; margin-top: 6px; font-size: .72rem; }
  .consent, .form-note { font-size: clamp(.61rem, 1.6vh, .7rem); margin-top: 5px; }
  .contact-details { gap: 7px; }
  .site-footer { gap: 10px 18px; font-size: clamp(.7rem, 1.8vh, .8rem); }
  .footer-brand img { width: 130px; }
  .footer-policies { flex-basis: 100%; max-width: none; }
}

/* Higher-specificity spacing overrides ensure the fixed header does not push
   section contents downward; the viewport itself remains the centering frame. */
@media screen and (orientation: landscape) and (min-width: 640px) {
  main > .section:not(.hero) {
    padding: 0 clamp(28px, 5vw, 76px);
    gap: 0;
    justify-content: space-evenly;
  }
}
@media screen and (orientation: landscape) and (min-width: 640px) and (max-height: 499px) {
  main > .section:not(.hero) {
    padding: 0 clamp(16px, 3vw, 30px);
    gap: 0;
    justify-content: space-evenly;
  }
}


/* Final refinements requested: restore a more generous header and center section content. */
:root { --landscape-header-height: clamp(76px, 10vh, 88px); }
.site-header {
  min-height: 84px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.brand img { width: clamp(158px, 14vw, 220px); }
@media (max-width: 600px) {
  .site-header { min-height: 78px; padding: 10px 14px; }
  .brand img { width: 126px; }
}
@media screen and (orientation: landscape) and (min-width: 640px) {
  .site-header {
    height: var(--landscape-header-height);
    min-height: var(--landscape-header-height);
    padding: 8px clamp(22px, 3.6vw, 56px);
  }
  .brand img { width: clamp(168px, 14vw, 222px); }
  main > .section,
  main > .hero {
    box-sizing: border-box;
    padding-top: var(--landscape-header-height);
    padding-bottom: clamp(18px, 3vh, 30px);
    justify-content: space-evenly;
    align-items: center;
  }
  main > .hero {
    padding-left: clamp(28px, 5vw, 76px);
    padding-right: clamp(28px, 5vw, 76px);
  }
  main > .section:not(.hero) {
    padding-top: var(--landscape-header-height);
    padding-bottom: clamp(18px, 3vh, 30px);
    padding-left: clamp(28px, 5vw, 76px);
    padding-right: clamp(28px, 5vw, 76px);
    justify-content: space-evenly;
  }
}
@media screen and (orientation: landscape) and (min-width: 640px) and (max-height: 499px) {
  :root { --landscape-header-height: 62px; }
  .site-header {
    height: var(--landscape-header-height);
    min-height: var(--landscape-header-height);
  }
  .brand img { width: clamp(145px, 17vw, 175px); }
  .header-actions .button, .header-actions .wabtn {
    min-height: 36px; padding: 7px 12px; font-size: .76rem;
  }
  main > .section, main > .hero {
    padding-top: var(--landscape-header-height);
    padding-bottom: 12px;
  }
}
/* Footer refinement: simple horizontal content flow; social icons live in the online note box. */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
}

.footer-brand,
.footer-contact,
.footer-policies {
  flex: 0 1 auto;
  max-width: none;
}

.footer-contact,
.footer-policies {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-contact strong,
.footer-policies strong {
  display: none;
}

.footer-policies {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.online-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.online-note p {
  margin: 0;
}

.online-note .footer-social {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

@media (max-width: 900px) {
  .footer-policies {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-contact,
  .footer-policies {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-policies {
    justify-content: flex-start;
  }

  .online-note {
    align-items: flex-start;
    flex-direction: column;
  }
}
