:root {
  --orange: #f0755e;
  --orange-deep: #d95e49;
  --orange-soft: #fff0ec;
  --petrol: #2d788d;
  --petrol-deep: #184d60;
  --sky: #6fc5da;
  --sky-soft: #eaf8fb;
  --ink: #173748;
  --body: #4e6570;
  --line: #dce7e9;
  --cream: #fbfaf7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(30, 78, 91, 0.12);
  --shadow-soft: 0 12px 35px rgba(30, 78, 91, 0.09);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}
p {
  color: var(--body);
}
section[id] {
  scroll-margin-top: 104px;
}
.shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.section {
  padding: 110px 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;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  background: var(--orange);
  color: white;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.topbar-inner,
.topbar-inner > div,
.topbar-inner span,
.topbar-inner a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.topbar-inner {
  min-height: 38px;
  justify-content: space-between;
}
.topbar-inner > div {
  gap: 26px;
}
.topbar svg {
  width: 15px;
  height: 15px;
}
.navigation {
  position: relative;
  z-index: 80;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(45, 120, 141, 0.1);
  box-shadow: 0 4px 24px rgba(30, 78, 91, 0.04);
}
.nav-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img {
  width: 205px;
  height: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.88rem;
  font-weight: 700;
}
nav > a:not(.nav-referti) {
  position: relative;
  padding: 31px 0;
}
nav > a:not(.nav-referti)::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 100%;
  bottom: 23px;
  background: var(--orange);
  transition: right 0.25s ease;
}
nav > a:not(.nav-referti):hover::after,
nav > a:not(.nav-referti):focus-visible::after {
  right: 0;
}
.nav-referti {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 20px rgba(240, 117, 94, 0.24);
  transition: 0.2s ease;
}
.nav-referti:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}
.nav-referti svg {
  width: 17px;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--orange-soft);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--orange-deep);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: 58px 0 112px;
  background:
    linear-gradient(90deg, rgba(23, 55, 72, 0.18), rgba(23, 55, 72, 0.02)),
    url("../assets/hero-cedis.webp") 58% center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 82%
  );
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(660px, calc(100% - 96px));
  margin-left: max(48px, calc((100vw - 1200px) / 2));
  padding: 46px 50px 42px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 28px 80px rgba(24, 77, 96, 0.18);
  backdrop-filter: blur(8px);
}
.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero-kicker::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.hero h1 {
  max-width: 590px;
  margin: 22px 0 22px;
  font-size: clamp(3.1rem, 4.7vw, 4.75rem);
  font-weight: 750;
  color: var(--ink);
}
.hero-copy > p {
  max-width: 570px;
  margin-bottom: 32px;
  font-size: clamp(1.03rem, 1.2vw, 1.16rem);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: 0.22s ease;
}
.button svg {
  width: 18px;
}
.button.primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 12px 28px rgba(240, 117, 94, 0.25);
}
.button.primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
}
.button.secondary {
  color: var(--petrol-deep);
  border: 1.5px solid var(--petrol);
  background: white;
}
.button.secondary:hover {
  background: var(--sky-soft);
  transform: translateY(-2px);
}
.button.light {
  background: white;
  color: var(--orange-deep);
}
.button.outline-light {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  color: var(--petrol-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.quick-wrap {
  position: relative;
  z-index: 4;
  margin-top: -78px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quick-card {
  min-height: 145px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 27px;
  border: 1px solid rgba(45, 120, 141, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  transition: 0.24s ease;
}
.quick-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 117, 94, 0.35);
  box-shadow: var(--shadow);
}
.quick-card > svg {
  color: var(--orange);
  width: 22px;
}
.quick-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.quick-icon svg {
  width: 29px;
  height: 29px;
}
.quick-card b {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.quick-card small {
  display: block;
  color: var(--body);
  font-size: 0.82rem;
}
.booking-alert {
  margin-top: 45px;
  background: var(--orange);
  color: white;
}
.booking-alert .shell {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.booking-alert strong {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.booking-alert span {
  font-size: 0.86rem;
}
.booking-alert a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}
.booking-alert svg {
  width: 17px;
}

.inner-hero {
  position: relative;
  padding: 88px 0 92px;
  background: linear-gradient(
    125deg,
    var(--orange-soft),
    white 54%,
    var(--sky-soft)
  );
  overflow: hidden;
}
.inner-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  top: -175px;
  border: 70px solid rgba(240, 117, 94, 0.1);
  border-radius: 50%;
}
.inner-hero .shell {
  position: relative;
  z-index: 1;
}
.inner-hero h1 {
  max-width: 860px;
  margin: 18px 0 20px;
  color: var(--ink);
  font-size: clamp(2.75rem, 5vw, 5rem);
}
.inner-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 1.1rem;
}

.home-overview {
  background: var(--cream);
}
.home-route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-route-grid > a {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 8px 30px rgba(30, 78, 91, 0.05);
  transition: 0.24s ease;
}
.home-route-grid > a:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 117, 94, 0.42);
  box-shadow: var(--shadow-soft);
}
.home-route-grid h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}
.home-route-grid p {
  margin-bottom: 25px;
  font-size: 0.88rem;
}
.home-route-grid b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: var(--orange-deep);
  font-size: 0.78rem;
}
.home-route-grid b svg {
  width: 17px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 46px;
}
.section-heading.center {
  margin-inline: auto;
  text-align: center;
}
.section-heading.center .eyebrow {
  justify-content: center;
}
.section-heading h2 {
  margin: 15px 0 18px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--ink);
}
.section-heading p {
  max-width: 650px;
  margin: 0;
  font-size: 1.03rem;
}
.section-heading.center p {
  margin-inline: auto;
}
.split-intro {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}
.year-mark {
  position: sticky;
  top: 130px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  border-radius: 50% 50% 48% 52% / 45% 54% 46% 55%;
  background: var(--orange);
  color: white;
  box-shadow: 20px 25px 0 var(--orange-soft);
  text-align: center;
}
.year-mark span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.year-mark strong {
  display: block;
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: -0.06em;
}
.year-mark small {
  max-width: 140px;
  margin: 12px auto 0;
  font-size: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.intro .section-heading {
  margin-bottom: 26px;
}
.lead {
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.75;
}
.value-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 35px;
}
.value-list span {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}
.value-list i {
  font-style: normal;
  color: var(--orange);
  font-size: 0.73rem;
}

.services-section {
  background: white;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 280px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  transition: 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 117, 94, 0.45);
  background: white;
  box-shadow: var(--shadow-soft);
}
.service-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 15px;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.service-icon svg {
  width: 30px;
  height: 30px;
}
.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}
.service-card p {
  margin: 0;
  font-size: 0.92rem;
}
.fcsa-banner {
  margin-top: 30px;
  min-height: 145px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 35px;
  padding: 28px 35px;
  border-radius: 18px;
  background: var(--petrol-deep);
  color: white;
  overflow: hidden;
}
.fcsa-banner > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.fcsa-number {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  font-size: 1.7rem;
  font-weight: 800;
}
.fcsa-banner > div > span:last-child {
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fcsa-banner > div strong {
  font-size: 1.3rem;
}
.fcsa-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}
.fcsa-banner > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}
.related-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.exam-section {
  background: linear-gradient(135deg, var(--petrol-deep), #246a7e);
}
.exam-layout {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}
.exam-section .section-heading h2,
.exam-section .section-heading p {
  color: white;
}
.exam-section .eyebrow {
  color: #ff9a85;
}
.exam-search {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.13);
}
.exam-search > svg {
  flex: none;
  color: var(--orange);
}
.exam-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}
.exam-search button {
  border: 0;
  background: transparent;
  color: var(--body);
  font-size: 1.5rem;
  cursor: pointer;
}
.exam-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  line-height: 1.6;
}
.exam-results {
  min-height: 380px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.13);
  overflow: hidden;
}
.popular-exams,
.no-results {
  padding: 42px;
}
.popular-exams > span {
  display: block;
  margin-bottom: 18px;
  color: var(--body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.popular-exams button {
  margin: 0 7px 9px 0;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--petrol-deep);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s;
}
.popular-exams button:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
  background: var(--orange-soft);
}
.popular-exams p {
  margin: 25px 0 0;
  font-size: 0.84rem;
}
.result-head {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  border-bottom: 1px solid var(--line);
}
.result-head strong,
.result-head a {
  font-size: 0.78rem;
}
.result-head a {
  color: var(--orange-deep);
  font-weight: 800;
}
.exam-results ul {
  max-height: 450px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.exam-results li {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 24px;
  border-bottom: 1px solid #edf2f2;
  color: var(--ink);
  font-size: 0.85rem;
}
.exam-results li a {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.exam-results li svg {
  width: 16px;
}
.no-results {
  text-align: center;
}
.no-results > svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 15px;
  color: var(--orange);
}
.no-results strong {
  display: block;
  font-size: 1.2rem;
}
.no-results p {
  max-width: 400px;
  margin: 12px auto;
}
.no-results a {
  color: var(--orange-deep);
  font-weight: 800;
}

.preparation-section {
  background: var(--cream);
}
.preparation-layout {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(45px, 7vw, 100px);
  align-items: start;
}
.preparation-sticky {
  position: sticky;
  top: 125px;
}
.preparation-sticky .section-heading {
  margin-bottom: 24px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-deep);
  font-size: 0.85rem;
  font-weight: 800;
}
.text-link svg {
  width: 17px;
}
.accordion-list {
  border-top: 1px solid var(--line);
}
.accordion-list details {
  border-bottom: 1px solid var(--line);
}
.accordion-list summary {
  padding: 25px 0;
  cursor: pointer;
  list-style: none;
}
.accordion-list summary::-webkit-details-marker,
.checkup-card summary::-webkit-details-marker {
  display: none;
}
.accordion-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.accordion-list summary > span {
  display: grid;
  grid-template-columns: 45px 1fr;
  column-gap: 14px;
  align-items: center;
}
.accordion-list summary i {
  grid-row: 1 / 3;
  color: var(--orange);
  font-size: 0.76rem;
  font-style: normal;
}
.accordion-list summary b {
  font-size: 1.12rem;
}
.accordion-list summary small {
  grid-column: 2;
  color: var(--body);
}
.accordion-list summary em {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-style: normal;
  font-size: 1.3rem;
  transition: 0.2s;
}
.accordion-list details[open] summary em {
  transform: rotate(45deg);
  background: var(--orange);
  color: white;
}
.accordion-list details > div {
  padding: 0 0 28px 59px;
}
.accordion-list ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--body);
}
.accordion-list li {
  margin-bottom: 8px;
  padding-left: 5px;
}
.accordion-list details > div p {
  margin: 0;
  color: var(--petrol);
  font-size: 0.82rem;
  font-weight: 700;
}

.checkup-section {
  background: var(--orange-soft);
}
.checkup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.checkup-card {
  border: 1px solid rgba(240, 117, 94, 0.16);
  border-radius: 15px;
  background: white;
  overflow: hidden;
}
.checkup-card summary {
  position: relative;
  min-height: 155px;
  padding: 28px;
  cursor: pointer;
  list-style: none;
}
.checkup-card summary > span {
  display: block;
  margin-bottom: 15px;
  color: var(--orange-deep);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.checkup-card h3 {
  max-width: 85%;
  margin-bottom: 12px;
  font-size: 1.27rem;
}
.checkup-card summary small {
  color: var(--body);
}
.checkup-card summary > b {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 1.2rem;
}
.checkup-card[open] summary > b {
  transform: rotate(45deg);
  background: var(--orange);
  color: white;
}
.checkup-card > ul {
  margin: 0;
  padding: 22px 28px 12px 47px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 0.85rem;
}
.checkup-card li {
  margin-bottom: 6px;
}
.checkup-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px 22px;
  color: var(--orange-deep);
  font-size: 0.8rem;
  font-weight: 800;
}
.checkup-card > a svg {
  width: 16px;
}

.quality-section {
  background: white;
}
.quality-head {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
}
.quality-head .section-heading {
  margin-bottom: 0;
}
.quality-badges {
  display: flex;
  gap: 8px;
  padding-bottom: 5px;
}
.quality-badges span {
  min-width: 100px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--body);
  font-size: 0.7rem;
  text-align: center;
}
.quality-badges b {
  display: block;
  color: var(--petrol-deep);
  font-size: 1rem;
}
.quality-goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 55px 0 26px;
}
.quality-goals article {
  padding: 30px;
  border-radius: 14px;
  background: var(--cream);
}
.quality-goals strong {
  color: var(--orange);
  font-size: 0.73rem;
}
.quality-goals h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
}
.quality-goals p {
  margin: 0;
  font-size: 0.88rem;
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.document-grid a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: 0.2s;
}
.document-grid a:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.document-grid > a > svg:first-child {
  color: var(--orange);
}
.document-grid > a > svg:last-child {
  width: 17px;
  color: var(--petrol);
}
.document-grid b,
.document-grid small {
  display: block;
}
.document-grid b {
  font-size: 0.87rem;
}
.document-grid small {
  margin-top: 3px;
  color: var(--body);
  font-size: 0.72rem;
}
.certificate-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.certificate-strip a {
  display: block;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
}
.certificate-strip img {
  width: 100%;
  height: 165px;
  border-radius: 5px;
  object-fit: cover;
  object-position: top;
  background: white;
}
.certificate-strip span {
  display: block;
  padding: 10px 4px 3px;
  color: var(--body);
  font-size: 0.66rem;
  line-height: 1.35;
}

.technology-section {
  background: var(--cream);
  overflow: hidden;
}
.technology-layout {
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
}
.tech-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(145deg, var(--petrol-deep), var(--petrol));
  overflow: hidden;
}
.tech-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18) 1px,
    transparent 1px
  );
  background-size: 25px 25px;
  mask-image: linear-gradient(135deg, black, transparent 80%);
}
.tech-visual > div {
  position: relative;
  z-index: 2;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: 0 0 0 25px rgba(255, 255, 255, 0.04);
}
.tech-visual > div svg {
  width: 58px;
  height: 58px;
}
.tech-visual > b {
  position: absolute;
  z-index: 3;
  bottom: 35px;
  left: 35px;
  color: white;
  font-size: 0.9rem;
  line-height: 1.5;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}
.orbit.one {
  width: 330px;
  height: 330px;
}
.orbit.two {
  width: 520px;
  height: 520px;
}
.technology-section .section-heading {
  margin-bottom: 25px;
}
.tech-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.tech-list li {
  position: relative;
  padding: 15px 16px 15px 40px;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(30, 78, 91, 0.06);
}
.tech-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  color: var(--orange);
  font-weight: 900;
}

.cedis-network {
  background: white;
}
.affiliates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.affiliates-grid article {
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
}
.affiliates-grid article > span {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
}
.affiliates-grid h3 {
  margin: 20px 0 12px;
  font-size: 1.05rem;
  line-height: 1.3;
}
.affiliates-grid p {
  min-height: 42px;
  margin-bottom: 15px;
  font-size: 0.8rem;
}
.affiliates-grid a {
  color: var(--petrol);
  font-size: 0.8rem;
  font-weight: 800;
}

.congress-section {
  background: var(--cream);
}
.congress-card {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: 62% 38%;
  border-radius: 28px;
  background: var(--orange);
  color: white;
  overflow: hidden;
}
.congress-copy {
  position: relative;
  z-index: 2;
  padding: 65px;
}
.congress-copy .eyebrow {
  color: white;
}
.congress-copy h2 {
  max-width: 650px;
  margin: 18px 0;
  color: white;
  font-size: clamp(2.4rem, 4vw, 4rem);
}
.congress-copy p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
}
.congress-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.congress-features span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}
.congress-features b {
  font-size: 1rem;
}
.congress-pattern {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--petrol-deep), var(--petrol));
}
.congress-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, var(--sky), transparent 26%),
    radial-gradient(
      circle at 18% 78%,
      rgba(255, 255, 255, 0.2),
      transparent 25%
    );
}
.congress-pattern span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}
.congress-pattern span:nth-child(1) {
  width: 270px;
  height: 270px;
  top: -60px;
  right: -50px;
}
.congress-pattern span:nth-child(2) {
  width: 170px;
  height: 170px;
  left: 30px;
  bottom: 30px;
}
.congress-pattern span:nth-child(3) {
  width: 70px;
  height: 70px;
  top: 45%;
  left: 45%;
  background: rgba(240, 117, 94, 0.65);
  border: 0;
}

.contact-section {
  background: white;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(45px, 7vw, 90px);
}
.contact-cards {
  display: grid;
  gap: 10px;
}
.contact-cards a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: 0.2s;
}
.contact-cards a:hover {
  border-color: var(--orange);
  transform: translateX(3px);
}
.contact-cards a > span {
  grid-row: 1 / 3;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.contact-cards a > span svg {
  width: 20px;
}
.contact-cards small {
  color: var(--body);
  font-size: 0.7rem;
}
.contact-cards b {
  font-size: 0.87rem;
  overflow-wrap: anywhere;
}
.opening-hours {
  margin-top: 25px;
  padding: 25px;
  border-radius: 14px;
  background: var(--cream);
}
.opening-hours h3 {
  margin-bottom: 15px;
  font-size: 1.15rem;
}
.opening-hours div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 0.8rem;
}
.opening-hours div:last-child {
  border: 0;
}
.opening-hours b {
  color: var(--ink);
}
.location-card {
  align-self: start;
  border-radius: 22px;
  background: var(--cream);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.embedded-map {
  position: relative;
  min-height: 320px;
  background: var(--sky-soft);
}
.embedded-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.location-card > div:last-child {
  padding: 38px;
}
.location-card h3 {
  margin: 15px 0 8px;
  font-size: 1.45rem;
}
.location-card p {
  margin-bottom: 22px;
}

.cta-section {
  padding: 42px 0;
  background: var(--petrol-deep);
  color: white;
}
.cta-section .shell {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cta-section .shell > div {
  margin-right: auto;
}
.cta-section span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cta-section h2 {
  margin: 4px 0 0;
  color: white;
  font-size: 2rem;
}

footer {
  background: #102e3c;
  color: white;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.95fr 1.15fr;
  gap: 60px;
  padding: 78px 0 55px;
}
.footer-brand img {
  width: 185px;
  margin-bottom: 20px;
  padding: 7px;
  border-radius: 7px;
  background: white;
}
.footer-brand p {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}
.footer-brand > a {
  color: #ff9a85;
  font-size: 0.78rem;
  font-weight: 800;
}
.footer-main h3 {
  margin-bottom: 22px;
  color: white;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.footer-main > div:not(:first-child) > a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}
.footer-main > div:not(:first-child) > a:hover {
  color: white;
}
.footer-main > div:last-child p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}
.footer-main .vat {
  margin-top: 18px;
  font-size: 0.72rem !important;
}
.powered-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
}
.powered {
  display: flex;
  align-items: center;
  gap: 10px;
}
.powered small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.powered img {
  width: 96px;
  max-height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.floating-call {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  box-shadow: 0 12px 30px rgba(217, 94, 73, 0.34);
  transition: 0.2s;
}
.floating-call:hover {
  transform: translateY(-3px) scale(1.02);
}

@media (max-width: 1080px) {
  .hero {
    background-position: 61% center;
  }
  .hero-copy {
    width: min(620px, calc(100% - 72px));
    margin-left: 36px;
    padding: 42px;
  }
  .hero h1 {
    font-size: clamp(3rem, 5.5vw, 4.35rem);
  }
  .brand img {
    width: 175px;
  }
  nav {
    gap: 16px;
    font-size: 0.82rem;
  }
  .services-grid,
  .checkup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-route-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .affiliates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-main > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 78px;
  }
  .shell {
    width: min(100% - 32px, 680px);
  }
  .section {
    padding: 80px 0;
  }
  .topbar-inner > div span {
    display: none;
  }
  .topbar-inner > div {
    gap: 10px;
  }
  .nav-inner {
    min-height: 74px;
  }
  .brand img {
    width: 164px;
  }
  .menu-toggle {
    display: block;
  }
  nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 1px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border-radius: 0 0 16px 16px;
    background: white;
    box-shadow: var(--shadow);
  }
  nav.open {
    display: flex;
  }
  nav > a:not(.nav-referti),
  nav a:nth-child(5) {
    display: block;
    padding: 11px 12px;
  }
  nav > a:not(.nav-referti)::after {
    display: none;
  }
  .nav-referti {
    justify-content: space-between;
    margin-top: 7px;
    border-radius: 8px;
  }
  .hero {
    min-height: 650px;
    padding: 50px 0 86px;
    background-position: 64% center;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(24, 77, 96, 0.05),
      rgba(24, 77, 96, 0.22)
    );
  }
  .hero-copy {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 38px 32px 36px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
  }
  .hero h1 {
    font-size: clamp(2.85rem, 10vw, 4rem);
  }
  .quick-wrap {
    margin-top: -50px;
  }
  .inner-hero {
    padding: 68px 0 72px;
  }
  .inner-hero h1 {
    font-size: clamp(2.55rem, 9vw, 4rem);
  }
  .quick-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .quick-card {
    min-height: 105px;
    padding: 20px;
  }
  .quick-icon {
    width: 55px;
    height: 55px;
  }
  .booking-alert .shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 18px 0;
  }
  .booking-alert a {
    margin-top: 6px;
  }
  .split-intro,
  .exam-layout,
  .preparation-layout,
  .technology-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .year-mark {
    position: relative;
    top: auto;
    width: 260px;
    min-height: 260px;
    margin-inline: auto;
  }
  .value-list {
    grid-template-columns: 1fr;
  }
  .fcsa-banner {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .exam-results {
    min-height: 330px;
  }
  .preparation-sticky {
    position: relative;
    top: auto;
  }
  .quality-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .quality-goals {
    grid-template-columns: 1fr;
  }
  .document-grid {
    grid-template-columns: 1fr;
  }
  .certificate-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .affiliates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .congress-card {
    grid-template-columns: 1fr;
  }
  .congress-copy {
    padding: 50px 35px;
  }
  .congress-pattern {
    min-height: 220px;
  }
  .cta-section .shell {
    align-items: stretch;
    flex-direction: column;
  }
  .cta-section .shell > div {
    margin: 0 0 12px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }
  .footer-brand {
    grid-column: 1 / 3;
  }
  .footer-main > div:last-child {
    grid-column: 1 / 3;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 28px);
  }
  .section {
    padding: 66px 0;
  }
  .home-route-grid {
    grid-template-columns: 1fr;
  }
  .home-route-grid > a {
    min-height: 250px;
  }
  .topbar {
    font-size: 0.68rem;
  }
  .topbar-inner > span svg {
    display: none;
  }
  .topbar-inner > div a {
    font-size: 0;
  }
  .topbar-inner > div a svg {
    width: 18px;
    height: 18px;
  }
  .hero {
    min-height: 0;
    padding: 34px 0 68px;
    background-position: 65% center;
  }
  .hero-copy {
    width: calc(100% - 28px);
    padding: 30px 22px 28px;
    border-radius: 18px;
  }
  .hero h1 {
    margin-top: 18px;
    font-size: 2.55rem;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
  .hero-trust {
    gap: 10px 15px;
    font-size: 0.64rem;
  }
  .quick-wrap {
    margin-top: -34px;
  }
  .quick-card {
    grid-template-columns: auto 1fr auto;
  }
  .quick-card:nth-child(3) {
    display: none;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .section-heading h2 {
    font-size: 2.28rem;
  }
  .year-mark {
    width: 220px;
    min-height: 220px;
    box-shadow: 12px 16px 0 var(--orange-soft);
  }
  .year-mark strong {
    font-size: 3.4rem;
  }
  .services-grid,
  .checkup-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 0;
    padding: 28px;
  }
  .fcsa-banner {
    padding: 26px;
  }
  .popular-exams,
  .no-results {
    padding: 30px 24px;
  }
  .exam-results li {
    padding-inline: 18px;
  }
  .accordion-list summary > span {
    grid-template-columns: 32px 1fr;
  }
  .accordion-list summary small {
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .accordion-list details > div {
    padding-left: 46px;
  }
  .quality-badges {
    width: 100%;
  }
  .quality-badges span {
    min-width: 0;
    width: 33.33%;
    padding: 10px 5px;
  }
  .certificate-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-visual {
    min-height: 360px;
  }
  .tech-list {
    grid-template-columns: 1fr;
  }
  .affiliates-grid {
    grid-template-columns: 1fr;
  }
  .affiliates-grid article {
    min-height: 0;
  }
  .congress-copy {
    padding: 42px 24px;
  }
  .congress-copy h2 {
    font-size: 2.25rem;
  }
  .contact-cards b {
    font-size: 0.78rem;
  }
  .location-card > div:last-child {
    padding: 28px;
  }
  .powered-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-main > div:last-child {
    grid-column: auto;
  }
  .footer-main {
    padding-top: 58px;
  }
  .floating-call {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
