:root {
  --green: #0a5548;
  --gold: #b47b16;
  --cream: #f3f0e9;
  --ink: #20272b;
  --muted: #5d6468;
  --card: #ffffff;
  --shadow: 0 3px 6px rgba(0, 0, 0, 0.28);
  --deck-scale: 1;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  display: grid;
  min-height: 100svh;
  place-items: center;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.deck {
  position: relative;
  width: 1280px;
  height: 720px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
  zoom: var(--deck-scale);
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 38px 0 28px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
}

.logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: #003f36;
  font-size: 11px;
  line-height: 1;
}

.nav a,
.explore-btn {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 600;
  white-space: nowrap;
}

.nav a[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
}

.nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 4px;
  content: "";
  background: var(--gold);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.22);
}

.explore-menu {
  position: relative;
}

.explore-btn {
  min-width: 112px;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-size: 12px;
  cursor: pointer;
}

.explore-btn span,
.primary-cta span {
  color: #d49a1e;
  font-size: 17px;
  line-height: 0;
}

.explore-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  width: 136px;
  padding: 5px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.explore-options.is-open {
  display: grid;
}

.explore-options a {
  display: flex;
  min-height: 30px;
  align-items: center;
  padding: 0 9px;
  color: var(--green);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
}

.explore-options a:hover,
.explore-options a[aria-current="page"] {
  color: #fff;
  background: var(--green);
}

.page {
  position: absolute;
  inset: 72px 0 0;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--cream);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page.is-active {
  display: block;
}

.page::-webkit-scrollbar {
  display: none;
}

.page::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-position: center;
  background-size: cover;
}

.bg-home::before {
  background-image: url("assets/hero-riyadh-health.png");
}

.bg-about::before {
  background-image: url("assets/about-desert-outreach.png");
}

.bg-services::before,
.bg-contact::before {
  background-image: url("assets/services-clinic.png");
}

.bg-ai::before {
  background-image: url("assets/ai-trust.png");
}

.bg-education::before {
  background-image: url("assets/education.png");
}

.bg-certifications::before {
  background-image: url("assets/certifications.png");
}

.bg-partners::before,
.bg-explore::before {
  background-image: url("assets/about-arches.png");
}

.panel,
.ai-badge,
.floating-note,
.cert-card-grid,
.contact-form,
.construction-card,
.vision-note {
  position: absolute;
  z-index: 1;
}

.panel {
  background: var(--card);
  box-shadow: var(--shadow);
}

.home-panel {
  left: 36px;
  top: 30px;
  width: 528px;
  height: 548px;
  padding: 35px 24px 24px;
}

.about-panel {
  left: 37px;
  top: 30px;
  width: 491px;
  height: 548px;
  padding: 38px 24px 24px;
}

.services-panel,
.education-panel {
  left: 36px;
  top: 30px;
  width: 600px;
  height: 540px;
  padding: 38px 28px 24px;
}

.ai-panel {
  left: 36px;
  top: 30px;
  width: 577px;
  height: 520px;
  padding: 38px 28px 24px;
}

.cert-panel {
  left: 36px;
  top: 30px;
  width: 538px;
  height: 520px;
  padding: 38px 28px;
}

.partners-panel {
  left: 36px;
  top: 30px;
  width: 1206px;
  height: 540px;
  padding: 36px 24px 24px;
}

.contact-info {
  left: 36px;
  top: 30px;
  width: 495px;
  height: 520px;
  padding: 38px 28px;
}

.arabic {
  position: relative;
  display: inline-block;
  margin: 0 0 17px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
}

.arabic::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 42px;
  height: 4px;
  content: "";
  background: var(--gold);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.22);
}

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

h2 {
  margin-bottom: 24px;
  color: #06483d;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 700;
}

.home-panel h2,
.about-panel h2,
.services-panel h2,
.cert-panel h2 {
  font-size: 30px;
}

.ai-panel h2,
.education-panel h2,
.partners-panel h2,
.contact-info h2 {
  font-size: 32px;
}

.lead {
  margin-bottom: 82px;
  color: #1c272b;
  font-size: 15px;
  line-height: 1.34;
  font-weight: 400;
}

.about-panel .lead {
  margin-bottom: 86px;
}

.services-panel .lead,
.education-panel .lead {
  margin-bottom: 84px;
}

.ai-panel .lead {
  margin-bottom: 74px;
}

.contact-info .lead {
  margin-bottom: 68px;
}

.home-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.home-pills span {
  display: grid;
  width: 113px;
  height: 89px;
  place-items: center;
  color: var(--green);
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.16;
  text-align: center;
}

.primary-cta {
  display: inline-flex;
  min-width: 139px;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-size: 12px;
  line-height: 1.2;
}

.primary-cta.wide {
  min-width: 209px;
  min-height: 54px;
  justify-content: flex-start;
  padding-left: 21px;
  font-size: 11px;
}

.mini-card-grid {
  display: grid;
  gap: 12px 22px;
}

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

.three-col {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
}

.mini-card-grid article {
  min-height: 90px;
  padding: 14px 15px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.three-col article {
  min-height: 91px;
}

.education-grid article {
  min-height: 63px;
  padding: 9px 14px;
}

.contact-cards article {
  min-height: 76px;
  padding: 13px 15px;
}

.mini-card-grid h3,
.partner-cards h3,
.ithra-strip h3 {
  margin-bottom: 8px;
  color: #06483d;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 700;
}

.three-col h3 {
  font-size: 12px;
}

.education-grid h3 {
  margin-bottom: 6px;
}

.mini-card-grid p,
.partner-cards p,
.ithra-strip p {
  margin: 0;
  color: #394448;
  font-size: 10px;
  line-height: 1.38;
  font-weight: 400;
}

.three-col p,
.education-grid p {
  font-size: 9.5px;
}

.framework-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
  margin-bottom: 4px;
}

.framework-row span {
  display: grid;
  min-height: 51px;
  place-items: center;
  color: var(--green);
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.plain-list {
  margin: 0 0 31px 5px;
  padding: 0;
  color: #1c272b;
  font-size: 11px;
  line-height: 1.55;
  list-style: none;
  font-weight: 400;
}

.ai-badge {
  top: 67px;
  right: 55px;
  width: 336px;
  height: 336px;
  object-fit: contain;
}

.floating-note {
  right: 112px;
  bottom: 67px;
  width: 363px;
  min-height: 88px;
  padding: 17px 16px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.floating-note h3 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
}

.floating-note p {
  margin: 0;
  color: #697174;
  font-size: 10px;
}

.cert-card-grid {
  top: 78px;
  right: 174px;
  display: grid;
  grid-template-columns: repeat(2, 207px);
  gap: 31px 42px;
}

.logo-card {
  height: 212px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.logo-card img {
  max-width: 142px;
  max-height: 150px;
  object-fit: contain;
}

.logo-card:nth-child(4) img {
  max-width: 148px;
  max-height: 142px;
}

.logo-card p {
  margin: 8px 0 0;
  color: #5d6468;
  font-size: 9.5px;
  text-align: center;
}

.partners-lead {
  width: 430px;
  margin: -12px 0 18px;
  color: #1c272b;
  font-size: 15px;
  line-height: 1.34;
  font-weight: 400;
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.partner-card-link {
  display: block;
  color: inherit;
}

.partner-cards article {
  height: 218px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 0 34px 34px;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.partner-card-link:hover article,
.partner-card-link:focus-visible article {
  border-color: var(--gold);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}

.partner-card-link:focus-visible {
  outline: 3px solid rgba(180, 123, 22, 0.45);
  outline-offset: 5px;
}

.partner-cards img {
  width: 98px;
  height: 41px;
  margin-bottom: 8px;
  object-fit: contain;
  object-position: left center;
}

.partner-cards img[alt="Insights"],
.partner-cards img[alt="AnalytAIX"] {
  width: 100px;
  background: #0b2430;
}

.ithra-strip {
  margin-top: 33px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ithra-strip h3 {
  margin-bottom: 5px;
}

.contact-form {
  top: 60px;
  right: 116px;
  width: 478px;
  height: 474px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 23px;
  align-content: start;
  padding: 47px 38px 30px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 70px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 4px;
}

.contact-form span {
  color: #06483d;
  font-size: 10px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  height: 37px;
  padding: 6px 8px;
  background: #f5f0e8;
  border: 1px solid #ded2bf;
  border-radius: 6px;
  box-shadow: var(--shadow);
  outline: none;
}

.message-field {
  grid-column: 1 / -1;
}

.contact-form textarea {
  height: 116px;
  resize: none;
}

.contact-form button {
  grid-column: 1 / -1;
  height: 40px;
  margin-top: 31px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 5px;
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 16px;
  margin: 0;
  color: var(--green);
  font-size: 9.5px;
  font-weight: 700;
}

.qr-card {
  grid-template-columns: 60px 1fr;
  align-items: center;
}

.qr-card span {
  width: 45px;
  height: 45px;
  justify-self: end;
  background:
    linear-gradient(var(--green) 0 0) 0 0 / 10px 10px no-repeat,
    linear-gradient(var(--green) 0 0) 18px 0 / 8px 8px no-repeat,
    linear-gradient(var(--green) 0 0) 33px 6px / 10px 10px no-repeat,
    linear-gradient(var(--green) 0 0) 0 20px / 9px 9px no-repeat,
    linear-gradient(var(--green) 0 0) 19px 18px / 10px 10px no-repeat,
    linear-gradient(var(--green) 0 0) 34px 28px / 8px 8px no-repeat,
    linear-gradient(var(--green) 0 0) 6px 35px / 10px 10px no-repeat,
    linear-gradient(var(--green) 0 0) 25px 36px / 9px 9px no-repeat;
}

.construction-card {
  left: 225px;
  top: 87px;
  width: 830px;
  height: 360px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 36px 80px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 58px;
  box-shadow: var(--shadow);
  text-align: center;
}

.construction-card img {
  width: 112px;
  height: 112px;
  margin-bottom: 24px;
  object-fit: contain;
}

.construction-card h2 {
  margin-bottom: 6px;
  font-size: 26px;
}

.construction-card h3 {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 16px;
}

.construction-card p {
  max-width: 660px;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.vision-note {
  left: 55px;
  bottom: 12px;
  display: inline-flex;
  max-width: 445px;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 7px;
  margin: 0;
  color: #43514e;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 212, 187, 0.76);
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
}

.vision-note img {
  width: 62px;
  height: auto;
  flex: 0 0 auto;
}

.vision-note span {
  display: block;
  white-space: nowrap;
}

.seo-content {
  position: relative;
  z-index: 2;
  min-height: 648px;
  margin-top: 648px;
  padding: 58px 72px 64px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 246, 240, 0.98)),
    radial-gradient(circle at 88% 16%, rgba(180, 123, 22, 0.14), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(10, 85, 72, 0.11), transparent 34%);
  border-top: 1px solid rgba(226, 212, 187, 0.92);
}

.seo-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}

.seo-content h2 {
  max-width: 880px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 31px;
  line-height: 1.18;
}

.seo-content p {
  max-width: 900px;
  margin-bottom: 18px;
  color: #263337;
  font-size: 15px;
  line-height: 1.65;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 22px;
}

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

.seo-grid article,
.seo-partner-list a {
  min-height: 136px;
  padding: 20px 21px;
  background: #fff;
  border: 1px solid #e2d4bb;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.11);
}

.seo-grid h3,
.seo-partner-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.seo-grid p,
.seo-partner-list p {
  margin: 0;
  color: #4b5659;
  font-size: 13px;
  line-height: 1.55;
}

.seo-disclaimer {
  max-width: 940px;
  padding: 15px 18px;
  margin-top: 22px;
  color: #43514e;
  background: rgba(255, 255, 255, 0.72);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  line-height: 1.55;
}

.seo-partner-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 22px;
}

.seo-partner-list a {
  display: block;
  color: inherit;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.seo-partner-list a:hover,
.seo-partner-list a:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.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;
}

@supports not (zoom: 1) {
  body {
    overflow: hidden;
  }

  .deck {
    zoom: 1;
    transform: scale(var(--deck-scale));
    transform-origin: center;
  }
}

@media (max-width: 760px) {
  html,
  body {
    min-height: 100%;
  }

  body {
    display: block;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--cream);
  }

  .deck {
    width: 100%;
    min-height: 100svh;
    height: auto;
    overflow: visible;
    background: var(--cream);
    box-shadow: none;
    transform: none !important;
    zoom: 1 !important;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 12px 9px;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 14px;
    margin-left: 0;
    padding-bottom: 2px;
    overflow-x: auto;
    font-size: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .explore-btn {
    min-height: 32px;
  }

  .nav a[aria-current="page"]::after {
    bottom: 1px;
    height: 2px;
  }

  .explore-menu {
    margin-left: auto;
    z-index: 25;
  }

  .explore-btn {
    min-width: 96px;
    min-height: 36px;
    gap: 8px;
    font-size: 13px;
  }

  .explore-options {
    top: calc(100% + 6px);
    width: 132px;
    z-index: 30;
  }

  .explore-options a {
    min-height: 34px;
    font-size: 12px;
  }

  .page {
    position: relative;
    inset: auto;
    min-height: calc(100svh - 92px);
    padding: 18px 14px 42px;
    overflow: visible;
  }

  .page.is-active {
    display: grid;
    gap: 16px;
    align-content: start;
  }

  .page::before {
    opacity: 0.35;
    pointer-events: none;
  }

  .bg-home::before,
  .bg-about::before,
  .bg-ai::before,
  .bg-education::before,
  .bg-certifications::before,
  .bg-partners::before,
  .bg-explore::before {
    background-position: center top;
  }

  .bg-services::before,
  .bg-contact::before {
    background-position: center;
  }

  .panel,
  .ai-badge,
  .floating-note,
  .cert-card-grid,
  .contact-form,
  .construction-card,
  .vision-note {
    position: relative;
    inset: auto;
    z-index: 1;
  }

  .panel {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 24px 18px;
    border: 1px solid rgba(226, 212, 187, 0.82);
    border-radius: 14px;
  }

  .home-panel,
  .about-panel,
  .services-panel,
  .education-panel,
  .ai-panel,
  .cert-panel,
  .partners-panel,
  .contact-info {
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .arabic {
    margin-bottom: 14px;
    font-size: 12px;
  }

  h2,
  .home-panel h2,
  .about-panel h2,
  .services-panel h2,
  .cert-panel h2,
  .ai-panel h2,
  .education-panel h2,
  .partners-panel h2,
  .contact-info h2 {
    margin-bottom: 18px;
    font-size: 26px;
    line-height: 1.12;
  }

  .lead,
  .about-panel .lead,
  .services-panel .lead,
  .education-panel .lead,
  .ai-panel .lead,
  .contact-info .lead,
  .partners-lead {
    width: auto;
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.45;
  }

  .home-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }

  .home-pills span {
    width: auto;
    min-height: 64px;
    height: auto;
    padding: 12px 10px;
    font-size: 13px;
  }

  .primary-cta,
  .primary-cta.wide {
    min-width: 0;
    min-height: 42px;
    justify-content: center;
    padding: 0 18px;
    font-size: 13px;
  }

  .mini-card-grid,
  .two-col,
  .three-col,
  .education-grid,
  .contact-cards,
  .partner-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mini-card-grid article,
  .three-col article,
  .education-grid article,
  .contact-cards article,
  .partner-cards article {
    min-height: 0;
    height: auto;
    padding: 14px 15px;
  }

  .mini-card-grid h3,
  .three-col h3,
  .partner-cards h3,
  .ithra-strip h3 {
    font-size: 14px;
    line-height: 1.2;
  }

  .mini-card-grid p,
  .three-col p,
  .education-grid p,
  .partner-cards p,
  .ithra-strip p {
    font-size: 13px;
    line-height: 1.45;
  }

  .framework-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
  }

  .framework-row span {
    min-height: 48px;
    padding: 8px;
    font-size: 12px;
  }

  .plain-list {
    margin: 0 0 20px;
    font-size: 13px;
  }

  .ai-badge {
    width: min(250px, 76vw);
    height: auto;
    justify-self: center;
  }

  .floating-note {
    width: 100%;
    min-height: 0;
    padding: 16px;
  }

  .floating-note h3 {
    font-size: 14px;
  }

  .floating-note p {
    font-size: 13px;
  }

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

  .logo-card {
    height: auto;
    min-height: 174px;
    padding: 14px 10px;
    border-radius: 18px;
  }

  .logo-card img,
  .logo-card:nth-child(4) img {
    max-width: 110px;
    max-height: 112px;
  }

  .logo-card p {
    font-size: 11px;
    line-height: 1.3;
  }

  .partner-cards img,
  .partner-cards img[alt="Insights"],
  .partner-cards img[alt="AnalytAIX"] {
    width: 112px;
    height: 44px;
  }

  .ithra-strip {
    margin-top: 12px;
    padding: 14px 15px;
  }

  .contact-form {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .contact-form span {
    font-size: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    height: 42px;
    font-size: 14px;
  }

  .contact-form textarea {
    height: 120px;
  }

  .contact-form button {
    height: 44px;
    margin-top: 4px;
    font-size: 13px;
  }

  .form-status {
    font-size: 12px;
  }

  .qr-card {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .construction-card {
    width: 100%;
    min-height: 360px;
    height: auto;
    padding: 42px 20px;
    border-radius: 30px;
  }

  .construction-card img {
    width: 92px;
    height: 92px;
    margin-bottom: 22px;
  }

  .construction-card h2 {
    font-size: 28px;
  }

  .construction-card h3 {
    font-size: 18px;
  }

  .construction-card p {
    font-size: 14px;
    line-height: 1.45;
  }

  .vision-note {
    left: auto;
    bottom: auto;
    max-width: 100%;
    min-height: 0;
    gap: 10px;
    justify-self: start;
    margin: 0 2px;
    padding: 7px 12px 7px 8px;
    color: #43514e;
    font-size: 11px;
  }

  .vision-note img {
    width: 72px;
  }

  .vision-note span {
    white-space: normal;
  }

  .seo-content {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 24px 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 212, 187, 0.82);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .seo-kicker {
    font-size: 11px;
  }

  .seo-content h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .seo-content p {
    font-size: 14px;
    line-height: 1.58;
  }

  .seo-grid,
  .seo-grid-wide,
  .seo-partner-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 22px 0 18px;
  }

  .seo-grid article,
  .seo-partner-list a {
    min-height: 0;
    padding: 16px;
  }

  .seo-grid h3,
  .seo-partner-list span {
    font-size: 15px;
  }

  .seo-grid p,
  .seo-partner-list p,
  .seo-disclaimer {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .cert-card-grid,
  .framework-row {
    grid-template-columns: 1fr;
  }

  h2,
  .home-panel h2,
  .about-panel h2,
  .services-panel h2,
  .cert-panel h2,
  .ai-panel h2,
  .education-panel h2,
  .partners-panel h2,
  .contact-info h2 {
    font-size: 24px;
  }
}
