:root {
  --page: #f7fbff;
  --panel: #f7fbff;
  --panel-soft: #dfeeff;
  --ink: #003f7d;
  --text: #003f7d;
  --muted: #4e647c;
  --accent: #005aa8;
  --accent-soft: #f4b400;
  --orange: #f4b400;
  --gold: #ffd54a;
  --brown-deep: #003f7d;
  --copper: #005aa8;
  --line: #cfe3f8;
  --shadow: 0 20px 70px rgba(0, 63, 125, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --heading: var(--font-heading);
  --body: var(--font-body);
  --font-body: "Segoe UI", Arial, Helvetica, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --nav-height: 128px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: calc(var(--nav-height) + 18px);
}

body {
  margin: 0;
  padding-top: 70px;
  overflow-x: hidden;
  background: linear-gradient(180deg, #eef6ff, #dfeeff);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

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

.site-page {
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 20px 70px rgba(0, 63, 125, 0.08);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1440px, 100%);
  z-index: 100;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 72px;
  background: #005aa8;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0, 63, 125, 0.08);
  font-size: 15px;
  font-weight: 700;
  gap: 48px;
}

.logo {
  width: 126px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
}

.logo img {
  width: 64px;
  aspect-ratio: 1;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(0, 63, 125, 0.18);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(30px, 4vw, 64px);
  margin-left: 0;
}

.main-nav a {
  color: #ffffff;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.appointment-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 150px;
  justify-content: flex-end;
}

.appointment-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brown-deep), var(--copper));
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.about-page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 22px 72px 18px;
  background: var(--page);
  box-shadow: 0 20px 70px rgba(0, 63, 125, 0.08);
}

.story-section,
.mission-vision article,
.values-section,
.team-section,
.about-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mission-vision p,
.team-copy p,
.values-grid p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.mission-vision p + p,
.team-copy p + p {
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  background: linear-gradient(180deg, #005aa8, #4d2b16);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 63, 125, 0.2);
}

.primary-button::after {
  content: "→";
}

.secondary-button {
  border: 1px solid rgba(0, 90, 168, 0.5);
  background: #ffffff;
  color: var(--accent);
}

.primary-button:hover,
.secondary-button:hover,
.values-grid article:hover,
.team-grid article:hover {
  transform: translateY(-3px);
}

.about-cta img,
.team-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.values-grid article {
  display: block;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(0, 63, 125, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mission-vision h2,
.values-grid h3,
.team-copy h2,
.team-grid h3 {
  margin: 10 0 10px;
  color: var(--ink);
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.1;
}

.values-grid p,
.team-grid p {
  font-size: 14px;
  line-height: 1.38;
}

.story-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
  margin-bottom: 18px;
  padding: clamp(34px, 5vw, 68px);
  background:
    radial-gradient(circle at 4% 8%, rgba(255, 213, 74, 0.14), transparent 27%),
    linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
}

.story-section::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(0, 90, 168, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(0, 90, 168, 0.035),
    0 0 0 72px rgba(0, 90, 168, 0.025);
  pointer-events: none;
}

.story-intro,
.story-timeline {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.story-intro {
  padding-top: 8px;
}

.story-intro .section-kicker {
  margin-bottom: 12px;
  letter-spacing: 0.14em;
}

.story-intro h2 {
  max-width: 430px;
  margin: 0;
  color: var(--ink);
  font-family: var(--heading);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.story-intro h2 em {
  color: var(--accent);
  font-weight: 400;
}

.story-lead {
  max-width: 430px;
  margin: 22px 0 0;
  color: #003f7d;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
}

.story-intro-image {
  width: 100%;
  max-width: 430px;
  height: clamp(250px, 28vw, 360px);
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid rgba(0, 90, 168, 0.2);
  border-radius: 22px;
  background: var(--panel-soft);
  box-shadow: 0 18px 42px rgba(0, 63, 125, 0.12);
}

.story-intro-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 72%;
}

.story-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-milestone {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 28px;
}

.story-stage {
  padding-top: 70px;
  text-align: right;
}

.story-stage strong,
.story-stage span {
  display: block;
}

.story-stage strong {
  color: var(--accent);
  font-family: var(--heading);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.story-stage span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-detail {
  position: relative;
  min-width: 0;
  padding: 25px 0 50px 34px;
}

.story-milestone:last-child .story-detail {
  padding-bottom: 0;
}

.story-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 9px;
  padding: 0 11px;
  border: 1px solid rgba(0, 90, 168, 0.2);
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.9);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-detail h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.12;
  overflow-wrap: break-word;
}

.story-detail > p:not(.story-label) {
  max-width: 650px;
  margin: 0;
  color: #003f7d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.story-tags span {
  padding: 5px 10px;
  border-radius: 7px;
  background: #eaf4ff;
  color: #005aa8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mission-vision h2,
.center-title h2,
.about-cta h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.mission-vision article {
  min-height: 230px;
  padding: 30px;
}

.values-section {
  margin-bottom: 18px;
  padding: 18px 24px 26px;
}

.center-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.center-title span {
  width: 72px;
  height: 1px;
  background: var(--accent-soft);
}

.center-title h2 {
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.values-grid article {
  min-height: 124px;
  padding: 20px;
}

.team-section {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 24px;
}

.team-copy {
  align-self: center;
}

.team-copy h2 {
  font-size: 28px;
}

.team-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 44%);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  padding: 4px 4px 16px;
  scrollbar-color: var(--accent) #eaf4ff;
  scrollbar-width: thin;
}

.team-grid::-webkit-scrollbar {
  height: 10px;
}

.team-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #eaf4ff;
}

.team-grid::-webkit-scrollbar-thumb {
  border: 2px solid #eaf4ff;
  border-radius: 999px;
  background: var(--accent);
}

.team-grid:focus-visible {
  outline: 3px solid rgba(0, 90, 168, 0.32);
  outline-offset: 4px;
}

.team-grid article {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 63, 125, 0.08);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 180ms ease;
}

.team-grid img {
  width: 100%;
  height: 220px;
  display: block;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
}

.team-grid h3 {
  margin-top: 14px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 800;
}

.team-grid p {
  padding: 0 12px;
  color: #003f7d;
}

.join-team-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 213, 74, 0.16), transparent 27%),
    linear-gradient(145deg, #ffffff 0%, #fff8df 100%);
  box-shadow: var(--shadow);
}

.join-team-section::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -90px;
  width: 62%;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: rgba(0, 90, 168, 0.07);
  transform: rotate(-3deg);
  pointer-events: none;
}

.join-team-visual,
.join-team-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.join-team-visual {
  display: grid;
  justify-items: center;
  isolation: isolate;
}

.join-team-image {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(0, 90, 168, 0.25);
  border-radius: 28px 28px 120px 28px;
  background: var(--panel-soft);
  box-shadow: 0 24px 54px rgba(0, 63, 125, 0.14);
}

.join-team-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.join-team-message {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vw, 34px);
  z-index: 2;
  width: min(88%, 380px);
  margin: 0;
  padding: 18px 22px;
  border: 1px solid rgba(0, 90, 168, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #003f7d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 16px 34px rgba(0, 63, 125, 0.12);
  transform: translateX(-50%);
}

.join-team-message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 20px;
}

.join-team-content .section-kicker {
  margin-bottom: 12px;
  letter-spacing: 0.12em;
}

.join-team-content h2 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-family: var(--heading);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  text-wrap: balance;
}

.join-team-lead {
  max-width: 670px;
  margin: 20px 0 0;
  color: #003f7d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.join-team-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.join-team-benefits article {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(0, 90, 168, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.join-team-benefits span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--heading);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.join-team-benefits h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.join-team-benefits p {
  margin: 0;
  color: #003f7d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.join-team-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.join-team-button {
  min-height: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(0, 63, 125, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brown-deep), var(--accent));
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(0, 63, 125, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.join-team-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 63, 125, 0.23);
}

.join-team-actions p {
  max-width: 330px;
  margin: 0;
  color: #003f7d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.about-cta {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  min-height: 210px;
  margin-bottom: 18px;
  overflow: hidden;
  background: linear-gradient(90deg, #eef6ff, #fff8df);
}

.about-cta div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.about-cta h2 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: 34px;
}

.about-cta img {
  min-height: 210px;
}

footer {
  border-top: 6px solid #ffd54a;
  background: #003f7d;
  color: #dbeafe;
}

.footer-content {
  min-height: 252px;
  display: grid;
  grid-template-columns: 0.88fr 1.38fr 1.12fr;
  gap: 28px;
  align-items: stretch;
  padding: 29px 92px 26px;
}

.footer-branding,
.footer-location-panel,
.footer-action-panel {
  min-width: 0;
}

.footer-branding {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-right: 28px;
  border-right: 1px solid rgba(0, 63, 125, 0.22);
  text-align: center;
}

.footer-logo img {
  width: min(100%, 176px);
  max-height: 136px;
  object-fit: contain;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(0, 31, 63, 0.18);
}

.footer-divider-heart {
  width: min(100%, 190px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: #ffd54a;
}

.footer-divider-heart span {
  height: 2px;
  flex: 1;
  background: #ffd54a;
}

.footer-divider-heart b {
  font-size: 15px;
  line-height: 1;
}

.footer-branding p {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
}

.footer-location-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 0 28px 0 0;
  border-right: 1px solid rgba(0, 63, 125, 0.22);
}

.footer-location-panel .footer-heading-row {
  margin-bottom: 0;
}

.footer-map {
  width: 100%;
  height: 250px;
  display: block;
  border: 1px solid rgba(0, 63, 125, 0.24);
  border-radius: 4px;
  background: #f7fbff;
}

.footer-action-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.footer-email-block {
  padding-bottom: 0;
  border-bottom: 1px solid rgba(0, 63, 125, 0.18);
}

.footer-heading-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-email-block .footer-heading-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
  padding: 14px;
}

.footer-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd54a;
  font-size: 18px;
  font-weight: 700;
}

.footer-icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.footer-contact-item h3,
.footer-heading-row h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 800;
}

.footer-contact-item p {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.4;
}

.footer-email {
  display: inline-block;
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.footer-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(0, 63, 125, 0.18);
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.footer-contact-item:last-child {
  border-bottom: 0;
}

.footer-phone-grid .footer-contact-item + .footer-contact-item {
  border-left: 1px solid rgba(0, 63, 125, 0.18);
}

.footer-social-block .footer-heading-row {
  justify-content: center;
  margin: 14px 0 8px;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-social-links a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 63, 125, 0.2);
  border-radius: 50%;
  background: #f7fbff;
  color: #4e647c;
  font-size: 15px;
  font-weight: 800;
}

.footer-legal {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 78px;
  background: linear-gradient(90deg, #00366b, #005aa8, #00366b);
  color: #f7fbff;
}

.footer-legal p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .about-page {
    width: min(1440px, 100%);
    padding-right: 24px;
    padding-left: 24px;
  }

  .story-section,
  .team-section,
  .join-team-section,
  .about-cta {
    grid-template-columns: 1fr;
  }

  .story-section {
    gap: 38px;
  }

  .story-intro h2,
  .story-lead,
  .story-intro-image {
    max-width: 680px;
  }

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

  .join-team-visual {
    justify-items: start;
  }

  .join-team-image {
    width: min(100%, 560px);
    aspect-ratio: 5 / 4;
  }

  .join-team-message {
    left: 34px;
    width: min(82%, 420px);
    transform: none;
  }

}

@media (max-width: 720px) {
  .about-page {
    width: min(1440px, 100%);
    padding: 12px 12px 18px;
  }

  .story-section,
  .mission-vision article,
  .values-section,
  .team-section,
  .join-team-section {
    border-radius: 22px;
  }

  .mission-vision p,
  .team-copy p {
    font-size: 15px;
  }

  .story-section {
    gap: 30px;
    padding: 28px 20px;
  }

  .story-intro h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .story-intro h2 em {
    display: block;
  }

  .story-lead {
    margin-top: 16px;
    font-size: 15px;
  }

  .story-intro-image {
    height: clamp(250px, 72vw, 340px);
    margin-top: 22px;
    border-radius: 18px;
  }

  .story-milestone {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
  }

  .story-stage strong {
    font-size: 18px;
  }

  .story-stage span {
    font-size: 8px;
  }

  .story-detail {
    padding: 0 0 30px 18px;
  }

  .story-detail h3 {
    font-size: 20px;
  }

  .story-detail > p:not(.story-label) {
    font-size: 14px;
  }

  .mission-vision,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-auto-columns: minmax(220px, 84%);
  }

  .join-team-section {
    gap: 34px;
    padding: 28px 20px;
  }

  .join-team-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 22px 22px 72px 22px;
  }

  .join-team-message {
    left: 12px;
    bottom: 16px;
    width: calc(100% - 24px);
    margin: 0;
    padding: 16px 18px;
    transform: none;
  }

  .join-team-content h2 {
    font-size: 34px;
  }

  .join-team-lead {
    margin-top: 16px;
    font-size: 15px;
  }

  .join-team-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }

  .join-team-benefits article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .join-team-benefits span {
    margin: 2px 0 0;
  }

  .join-team-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .join-team-button {
    width: 100%;
  }

  .values-grid article {
    padding: 20px;
  }

  .mission-vision h2,
  .center-title h2,
  .about-cta h2 {
    font-size: 29px;
  }

  .mission-vision article,
  .team-section {
    padding: 22px;
  }

  .team-grid img {
    height: 260px;
  }

  .about-cta img {
    min-height: 190px;
  }
}

@media (max-width: 980px) {
  :root {
    --nav-height: 132px;
  }

  body {
    padding-top: 0;
  }

  .site-page {
    margin-top: 0;
    padding-top: var(--nav-height);
  }

  .site-header,
  .footer-content,
  .footer-legal {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header {
    min-height: var(--nav-height);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "logo actions"
      "nav nav";
    gap: 8px 24px;
    align-content: center;
  }

  .logo {
    grid-area: logo;
  }

  .appointment-actions {
    grid-area: actions;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    margin-left: 0;
    gap: 18px;
    padding-bottom: 0;
  }

  .footer-content {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 31px;
    padding-bottom: 31px;
  }

  .footer-branding,
  .footer-location-panel {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 63, 125, 0.18);
    padding-bottom: 20px;
  }

  .footer-location-panel {
    padding-left: 0;
  }

  .footer-map {
    height: 250px;
  }

  .footer-action-panel {
    gap: 16px;
  }
}

@media (max-width: 620px) {
  :root {
    --nav-height: 112px;
  }

  .site-page {
    padding-top: var(--nav-height);
  }

  .site-header,
  .footer-content,
  .footer-legal {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 6px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo {
    width: 72px;
  }

  .logo img {
    width: 56px;
  }

  .appointment-actions {
    display: none;
    width: auto;
    min-width: 0;
    justify-content: flex-end;
  }

  .appointment-button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .main-nav a {
    min-width: 0;
    padding: 5px 2px;
    font-size: 12px;
    text-align: center;
  }

  .footer-content {
    padding-top: 26px;
    padding-bottom: 24px;
  }

  .footer-logo img {
    width: min(100%, 165px);
  }

  .footer-branding p {
    font-size: 14px;
  }

  .footer-contact-item {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .footer-email-block .footer-heading-row {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .footer-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .footer-contact-item h3,
  .footer-heading-row h3 {
    font-size: 15px;
  }

  .footer-contact-item p {
    font-size: 14px;
  }

  .footer-heading-row {
    gap: 14px;
  }

  .footer-social-links {
    padding-left: 0;
  }

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

  .footer-phone-grid .footer-contact-item + .footer-contact-item {
    border-top: 1px solid rgba(0, 63, 125, 0.18);
    border-left: 0;
  }

  .footer-email {
    margin-left: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .footer-social-links {
    gap: 14px;
  }

  .footer-social-links a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .footer-legal {
    min-height: 42px;
    text-align: center;
  }

  .footer-legal p {
    font-size: 12px;
  }
}

@media (max-width: 460px) {
  .story-milestone {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .story-stage {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }

  .story-stage span {
    margin-top: 0;
  }

  .story-detail,
  .story-milestone:last-child .story-detail {
    padding: 0 0 28px;
    border-left: 0;
  }

  .story-milestone:last-child .story-detail {
    padding-bottom: 0;
  }

  .center-title {
    gap: 10px;
  }

  .center-title span {
    width: auto;
    flex: 1;
  }

  .team-grid {
    grid-auto-columns: minmax(220px, 90%);
  }
}

@media (max-width: 380px) {
  .site-header {
    grid-template-columns: 58px minmax(0, 1fr);
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo {
    width: 58px;
  }

  .logo img {
    width: 50px;
  }

  .appointment-button {
    padding: 0 11px;
    font-size: 12px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .about-page {
    padding-right: 10px;
    padding-left: 10px;
  }

  .story-section,
  .join-team-section {
    padding-right: 16px;
    padding-left: 16px;
  }
}
