/* ===== base ===== */
/* ---------- Fonts: Be Vietnam Pro (self-hosted; vietnamese, latin-ext, latin) ---------- */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-400-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-500-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-600-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-600-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-700-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --font-main: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --color-primary: #0a9e8f;
  --color-primary-dark: #07786d;
  --color-primary-soft: #d9f3ec;
  --color-accent: #ff8a3c;
  --color-accent-dark: #f2711c;
  --color-sun: #ffd23f;
  --color-dark: #0f2a3d;
  --color-dark-2: #1c3d52;
  --color-bg: #f2fbf8;
  --color-bg-2: #e4f6f0;
  --color-bg-3: #d3efe7;
  --color-border: #c4e8de;
  --color-text: #6b7d8c;
  --color-paragraph: #5b6a77;
  --color-white: #fff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 40px;
  --radius-pill: 1000px;
  --section-padding: 80px;
  --shadow-soft: 0 20px 50px rgba(15, 42, 61, .08);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 768px) {
  :root { --section-padding: 110px; }
}

@media (min-width: 1200px) {
  :root { --section-padding: 150px; }
}

/* ---------- Reboot overrides ---------- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-2);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  color: var(--color-white);
  background-color: var(--color-primary);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-dark);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .3s ease;
}

a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

button, input, select, textarea {
  font-family: inherit;
}

button:focus, a:focus {
  outline: none;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Container: 1320px content, 15px gutters ---------- */
.container {
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1350px;
  }
}

/* ---------- Shared patterns ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-tag::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 2px;
  background-color: var(--color-accent);
  transform: rotate(-12deg);
}

.section-tag.is-light {
  color: var(--color-white);
}

.section-tag.is-light::before {
  background-color: var(--color-sun);
}

.section-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--color-dark);
}

.section-title .is-highlight {
  color: var(--color-primary);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .section-title { font-size: 38px; }
  .section-head { margin-bottom: 60px; }
}

@media (min-width: 1200px) {
  .section-title { font-size: 44px; }
}

/* Pill button with arrow bubble */
.btn-main {
  display: inline-flex;
  align-items: center;
  padding: 10px 11px 10px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-dark);
  background-color: var(--color-accent);
  cursor: pointer;
  transition: background-color .35s ease, color .35s ease, transform .35s var(--ease-out);
}

.btn-main .btn-main-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-left: 14px;
  border-radius: 50%;
  font-size: 12px;
  color: var(--color-white);
  background-color: var(--color-dark);
  transition: transform .35s var(--ease-out), background-color .35s ease, color .35s ease;
}

.btn-main:hover {
  color: var(--color-white);
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-main:hover .btn-main-icon {
  transform: rotate(-45deg);
  color: var(--color-dark);
  background-color: var(--color-white);
}

.btn-main.is-dark {
  color: var(--color-white);
  background-color: var(--color-dark);
}

.btn-main.is-dark .btn-main-icon {
  color: var(--color-dark);
  background-color: var(--color-accent);
}

.btn-main.is-dark:hover {
  background-color: var(--color-primary);
}

.btn-main.is-dark:hover .btn-main-icon {
  background-color: var(--color-white);
}

.btn-main.is-outline {
  padding: 9px 23px;
  border: 1px solid var(--color-dark);
  background-color: transparent;
}

.btn-main.is-outline:hover {
  border-color: var(--color-primary);
}

/* Text link with arrow */
.link-more {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 27px;
  color: var(--color-primary);
}

.link-more img {
  width: 16px;
  height: 16px;
  margin-left: 10px;
  transition: transform .35s var(--ease-out);
}

.link-more:hover {
  color: var(--color-primary-dark);
}

.link-more:hover img {
  transform: translateX(5px);
}

/* Small rounded label */
.chip-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-primary-dark);
  background-color: var(--color-primary-soft);
}

.chip-label.is-accent {
  color: #b5480a;
  background-color: #ffe8d8;
}

/* ---------- Custom AOS animations (shorter travel than AOS built-ins) ---------- */
[data-aos="rise-30"] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition-property: opacity, transform;
}

[data-aos="rise-30"].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos="pop-in"] {
  opacity: 0;
  transform: scale(.88);
  transition-property: opacity, transform;
}

[data-aos="pop-in"].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos][data-aos][data-aos-easing="site-ease"],
body[data-aos-easing="site-ease"] [data-aos] {
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Keyframes ---------- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(10, 158, 143, .45); }
  70% { box-shadow: 0 0 0 16px rgba(10, 158, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 158, 143, 0); }
}

@keyframes pulse-ring-accent {
  0% { box-shadow: 0 0 0 0 rgba(255, 138, 60, .5); }
  70% { box-shadow: 0 0 0 16px rgba(255, 138, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 138, 60, 0); }
}

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

/* ===== shared/back-to-top ===== */
.s-back-to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: 0 10px 25px rgba(15, 42, 61, .15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s ease, visibility .35s ease, transform .35s var(--ease-out), border-color .3s ease;
}

.s-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.s-back-to-top.is-visible:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

@media (min-width: 992px) {
  .s-back-to-top { right: 24px; bottom: 24px; }
}

/* ===== shared/cta ===== */
.s-cta {
  padding: 0;
  background-color: var(--color-bg-2);
}

/* After a lighter (--color-bg) section the colour change would sit right on the box's top edge */
.s-programs + .s-cta,
.s-news-list + .s-cta,
.s-map + .s-cta {
  padding-top: calc(var(--section-padding) / 2);
}

.s-cta .cta-box {
  position: relative;
  overflow: hidden;
  padding: 60px 20px 70px;
  border-radius: var(--radius-lg);
  text-align: center;
  background-image: url(../images/icons/cta-shape.svg), linear-gradient(180deg, rgba(10, 158, 143, 0) 0%, rgba(10, 158, 143, .55) 45%, #0a9e8f 75%);
  background-position: 50% 100%, 0 0;
  background-size: cover, auto;
  background-repeat: no-repeat;
  background-color: var(--color-bg-3);
}

.s-cta .cta-bubbles {
  position: relative;
  height: 260px;
  margin: 0 auto 30px;
  max-width: 1100px;
}

.s-cta .cta-bubble {
  position: absolute;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .6);
  animation: float-y 6s ease-in-out infinite;
}

.s-cta .cta-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-cta .cta-bubble.is-lg { width: 120px; height: 120px; }
.s-cta .cta-bubble.is-md { width: 84px; height: 84px; }
.s-cta .cta-bubble.is-sm { width: 64px; height: 64px; }

.s-cta .cta-bubble.b1 { left: 2%; top: 60px; }
.s-cta .cta-bubble.b2 { left: 20%; top: 0; animation-delay: -1s; }
.s-cta .cta-bubble.b3 { left: 42%; top: 20px; animation-delay: -2s; }
.s-cta .cta-bubble.b4 { left: 64%; top: 0; animation-delay: -3s; }
.s-cta .cta-bubble.b5 { right: 2%; top: 50px; animation-delay: -4s; }
.s-cta .cta-bubble.b6 { left: 12%; top: 160px; animation-delay: -2.5s; }
.s-cta .cta-bubble.b7 { left: 38%; top: 150px; animation-delay: -1.5s; }
.s-cta .cta-bubble.b8 { left: 60%; top: 160px; animation-delay: -3.5s; }
.s-cta .cta-bubble.b9 { right: 14%; top: 170px; animation-delay: -.5s; }

.s-cta .cta-bubble.b6,
.s-cta .cta-bubble.b9 {
  display: none;
}

.s-cta .cta-title {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--color-white);
}

.s-cta .cta-text {
  max-width: 560px;
  margin: -12px auto 30px;
  color: rgba(255, 255, 255, .85);
}

.s-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.s-cta .cta-phone {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-pill);
  font-weight: 600;
  line-height: 30px;
  color: var(--color-white);
}

.s-cta .cta-phone i {
  margin-right: 10px;
}

.s-cta .cta-phone:hover {
  color: var(--color-dark);
  background-color: var(--color-white);
}

@media (min-width: 768px) {
  .s-cta .cta-box { padding: 70px 40px 90px; }
  .s-cta .cta-bubbles { height: 330px; }
  .s-cta .cta-bubble.is-lg { width: 170px; height: 170px; }
  .s-cta .cta-bubble.is-md { width: 118px; height: 118px; }
  .s-cta .cta-bubble.is-sm { width: 80px; height: 80px; }
  .s-cta .cta-bubble.b6,
  .s-cta .cta-bubble.b9 { display: block; }
  .s-cta .cta-title { font-size: 44px; }
}

@media (min-width: 1200px) {
  .s-cta .cta-title { font-size: 52px; }
}

/* ===== shared/float-contact ===== */
.s-float-contact {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.s-float-contact .float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-accent);
  box-shadow: 0 10px 25px rgba(15, 42, 61, .2);
  animation: pulse-ring-accent 2s infinite;
  transition: transform .3s ease;
}

.s-float-contact .float-btn.is-zalo {
  font-size: 13px;
  background-color: #0068ff;
  animation: none;
}

.s-float-contact .float-btn:hover {
  color: var(--color-white);
  transform: scale(1.08);
}

/* ===== shared/footer ===== */
.s-footer {
  padding: 80px 0 0;
  background-color: var(--color-bg-2);
}

.s-footer .footer-brand {
  display: inline-flex;
  align-items: center;
}

.s-footer .footer-about {
  max-width: 360px;
  margin: 22px 0 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-paragraph);
}

.s-footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-paragraph);
}

.s-footer .footer-contact i {
  flex: 0 0 18px;
  margin: 4px 12px 0 0;
  color: var(--color-primary);
}

.s-footer .footer-social {
  display: flex;
  gap: 10px;
  margin: 24px 0 0;
}

.s-footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-dark);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.s-footer .footer-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-white);
  background-color: var(--color-primary);
}

.s-footer .footer-title {
  margin: 40px 0 22px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-dark);
}

.s-footer .footer-links li {
  margin: 0 0 12px;
}

.s-footer .footer-links a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-paragraph);
}

.s-footer .footer-links a:hover {
  color: var(--color-primary);
}

.s-footer .footer-newsletter p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--color-paragraph);
}

.s-footer .newsletter-form {
  display: flex;
  padding: 5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background-color: var(--color-white);
}

.s-footer .newsletter-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  font-size: 15px;
  color: var(--color-dark);
  background: transparent;
}

.s-footer .newsletter-form input:focus {
  outline: none;
}

.s-footer .newsletter-form button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--color-white);
  background-color: var(--color-primary);
  transition: background-color .3s ease;
}

.s-footer .newsletter-form button:hover {
  background-color: var(--color-dark);
}

.s-footer .newsletter-note {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--color-primary);
}

.s-footer .footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 50px 0 0;
  padding: 26px 0 26px 66px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-paragraph);
}

@media (min-width: 768px) {
  .s-footer .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .s-footer { padding-top: 100px; }
  .s-footer .footer-title { margin-top: 6px; }
}

/* ===== shared/header ===== */
.s-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1040;
  padding: 16px 0 0;
  transition: padding .4s ease;
}

.s-header .header-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 16px;
  border-radius: 85px;
  background-color: rgba(211, 239, 231, 0);
  transition: background-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}

.s-header.is-scrolled {
  padding-top: 8px;
}

.s-header.is-scrolled .header-wrap {
  background-color: rgba(211, 239, 231, .92);
  box-shadow: 0 10px 30px rgba(15, 42, 61, .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo img {
  width: 40px;
  height: 40px;
}

.brand-logo .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-logo .brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--color-dark);
}

.brand-logo .brand-name span {
  color: var(--color-primary);
}

.brand-logo .brand-sub {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-dark-2);
}

.brand-logo:hover {
  color: inherit;
}

.s-header .nav-menu {
  display: none;
}

.s-header .nav-link-item {
  position: relative;
  display: block;
  padding: 2px 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text);
}

.s-header .nav-link-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-accent);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .3s ease, transform .3s ease;
}

.s-header .nav-link-item:hover,
.s-header .nav-link-item.is-active {
  color: var(--color-primary);
}

.s-header .nav-link-item.is-active::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

.s-header .header-cta {
  display: none;
}

.s-header .menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--color-dark);
  cursor: pointer;
}

.s-header .menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-white);
  transition: transform .3s ease, opacity .3s ease;
}

.s-header .menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.s-header .menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.s-header .menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.s-header .mobile-menu {
  margin-top: 10px;
}

.s-header .mobile-menu-inner {
  padding: 18px 24px 24px;
  border-radius: 24px;
  background-color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.s-header .mobile-menu .nav-link-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-bg-3);
  font-size: 17px;
}

.s-header .mobile-menu .nav-link-item::after {
  display: none;
}

.s-header .mobile-menu .btn-main {
  margin-top: 20px;
}

@media (min-width: 576px) {
  .s-header .header-cta { display: inline-flex; }
}

@media (min-width: 992px) {
  .s-header { padding-top: 30px; }
  .s-header.is-scrolled { padding-top: 12px; }
  .s-header .header-wrap { padding: 16px; }
  /* Menu centred on the screen, independent of logo / button widths */
  .s-header .nav-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    gap: 18px;
    padding: 10px 22px;
    border-radius: 50px;
    background-color: var(--color-white);
    transform: translate(-50%, -50%);
  }
  .s-header .nav-menu .nav-link-item { font-size: 15px; }
  .s-header .header-cta { display: none; }
  .s-header .menu-toggle,
  .s-header .mobile-menu { display: none !important; }
}

@media (min-width: 1200px) {
  .s-header .nav-menu { gap: 22px; padding: 10px 24px; }
  .s-header .nav-menu .nav-link-item { font-size: 16px; }
  .s-header .header-cta { display: inline-flex; }
}

/* ===== shared/page-hero ===== */
.s-page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  text-align: center;
  background-color: var(--color-bg-2);
}

.s-page-hero .page-hero-ring {
  position: absolute;
  top: 90px;
  left: 50%;
  width: 1100px;
  height: 1100px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  opacity: .35;
  transform: translateX(-50%);
  pointer-events: none;
  /* Fade the circle out before the section edge so it never ends in two straight cuts */
  -webkit-mask-image: linear-gradient(180deg, #000 18%, transparent 46%);
  mask-image: linear-gradient(180deg, #000 18%, transparent 46%);
}

.s-page-hero::before {
  content: "";
  position: absolute;
  top: 120px;
  left: 50%;
  width: 760px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
  transform: translateX(-50%);
  pointer-events: none;
}

.s-page-hero .page-hero-flag {
  position: absolute;
  display: none;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: var(--color-white);
  box-shadow: var(--shadow-soft);
  animation: float-y 5s ease-in-out infinite;
}

.s-page-hero .page-hero-flag img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Tiles sit on the 1100px ring (centre 50% / 640px, radius 550px) */
.s-page-hero .page-hero-flag.f1 { top: 350px; left: calc(50% - 518px); }
.s-page-hero .page-hero-flag.f2 { top: 142px; left: calc(50% + 259px); animation-delay: -1.5s; }
.s-page-hero .page-hero-flag.f3 { top: 157px; left: calc(50% - 347px); animation-delay: -3s; }
.s-page-hero .page-hero-flag.f4 { top: 420px; left: calc(50% + 485px); animation-delay: -2s; }

.s-page-hero .page-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.s-page-hero .page-hero-title {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--color-dark);
}

.s-page-hero .page-hero-title span {
  color: var(--color-primary);
}

.s-page-hero .page-hero-text {
  max-width: 600px;
  margin: 0 auto 26px;
  color: var(--color-text);
}

.s-page-hero .breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  background-color: var(--color-white);
}

.s-page-hero .breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
}

.s-page-hero .breadcrumb-list li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.s-page-hero .breadcrumb-list a {
  color: var(--color-text);
}

.s-page-hero .breadcrumb-list a:hover {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .s-page-hero { padding: 190px 0 100px; }
  .s-page-hero .page-hero-title { font-size: 52px; }
}

@media (min-width: 1200px) {
  .s-page-hero .page-hero-flag { display: flex; }
}

@media (min-width: 1200px) {
  .s-page-hero { padding: 220px 0 120px; }
  .s-page-hero .page-hero-title { font-size: 60px; }
}

/* ===== shared/stats ===== */
.s-stats {
  padding: var(--section-padding) 0;
  background-color: var(--color-bg-2);
}

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

.s-stats .stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 36px 12px;
  border-radius: 160px;
  text-align: center;
  background-color: var(--color-white);
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
}

.s-stats .stat-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-8px);
}

.s-stats .stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 0 24px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.s-stats .stat-icon.is-primary {
  background-color: var(--color-primary);
}

.s-stats .stat-icon img {
  width: 38px;
  height: 38px;
}

.s-stats .stat-number {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
}

.s-stats .stat-label {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-paragraph);
}

@media (min-width: 992px) {
  .s-stats .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  .s-stats .stat-card {
    min-height: 400px;
    padding: 40px 20px;
  }
  .s-stats .stat-icon {
    width: 124px;
    height: 124px;
    margin-bottom: 52px;
  }
  .s-stats .stat-icon img {
    width: 60px;
    height: 60px;
  }
  .s-stats .stat-number { font-size: 34px; }
  .s-stats .stat-label { font-size: 18px; }
}
