:root {
  --color-dental-red: #982220;
  --color-dental-navy: #3d0909;
  --color-dental-cream: #fff0f4;
  --color-dental-yellow: #f8c7d6;
  --color-dental-blue: #ef6a8e;
  --color-dental-pale-blue: #fff0f4;
  --color-dental-steel: #c94062;
  --color-dental-teal: #982220;
  --color-beauty-cream: #fff7fa;
  --color-beauty-tan: #ef6a8e;
  --color-beauty-taupe: #c94062;
  --color-beauty-olive: #7a1a1f;

  --color-ink: var(--color-dental-navy);
  --color-muted: #6b5b62;
  --color-primary: var(--color-dental-teal);
  --color-primary-dark: var(--color-dental-navy);
  --color-secondary: var(--color-beauty-taupe);
  --color-highlight: var(--color-dental-yellow);
  --color-coral: var(--color-dental-red);
  --color-surface: #ffffff;
  --color-soft: #fff0f4;
  --color-warm: #fff7fa;
  --color-line: #f1c7d2;
  --shadow-soft: 0 18px 50px rgba(152, 34, 32, 0.14);
  --shadow-card: 0 10px 26px rgba(152, 34, 32, 0.1);
  --radius: 8px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-primary-dark);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0;
}

.top-strip {
  color: #fff;
  background: var(--color-primary-dark);
  font-size: 0.86rem;
}

.top-strip-inner,
.top-strip-left,
.top-strip-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-strip-inner {
  justify-content: space-between;
  min-height: 38px;
}

.top-strip a,
.top-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-strip svg {
  width: 15px;
  height: 15px;
}

.language-switch {
  min-width: 44px;
  height: 28px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(220, 232, 233, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--header-height);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo-image {
  display: block;
  width: 196px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-dental-red), var(--color-primary-dark));
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(152, 34, 32, 0.22);
  overflow: hidden;
}

.brand-mark-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transform: none;
}

.brand-mark-logo {
  background: #fff;
  border: 1px solid var(--color-line);
}

.brand-text {
  display: grid;
  line-height: 1.12;
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--color-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: #334d55;
  font-weight: 600;
  font-size: 0.98rem;
}

.main-nav>a,
.nav-dropdown-toggle {
  position: relative;
  padding-block: 28px;
}

.main-nav>a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav>a:hover::after,
.main-nav>a:focus-visible::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after,
.nav-dropdown-toggle:focus-visible::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font-weight: 700;
  background: transparent;
  border: 0;
}

.nav-dropdown-toggle svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
  transition: transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 12px);
  right: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 8px;
  width: min(560px, calc(100vw - 40px));
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-secondary);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 10px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown-menu-compact {
  grid-template-columns: 1fr;
  width: min(360px, calc(100vw - 40px));
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0);
}

.nav-dropdown-menu a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--color-soft);
  border-color: var(--color-line);
  transform: translateY(-1px);
}

.nav-dropdown-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 8px;
}

.nav-dropdown-icon svg {
  width: 18px;
  height: 18px;
}

.nav-dropdown-menu strong,
.nav-dropdown-menu small {
  display: block;
}

.nav-dropdown-menu strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.nav-dropdown-menu small {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

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

.header-actions .icon-button,
.header-actions .menu-toggle,
.header-actions .header-appointment {
  height: 46px;
  min-height: 46px;
}

.header-actions .icon-button,
.header-actions .menu-toggle {
  width: 46px;
  flex: 0 0 46px;
}

.icon-button,
.menu-toggle,
.floating-actions button,
.floating-actions a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-primary-dark);
  background: #f4fbfb;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.icon-button svg,
.menu-toggle svg,
.button svg,
.text-link svg,
.floating-actions svg {
  width: 19px;
  height: 19px;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 14px 28px rgba(152, 34, 32, 0.22);
}

.button-primary:hover {
  background: var(--color-primary-dark);
}

.button-outline {
  color: var(--color-primary-dark);
  background: #fff;
  border-color: #f1c7d2;
}

.button-light {
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.9);
}

.button-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}

.hero.hero-text-hidden {
  min-height: min(640px, 66.67vw);
}

.hero-slider,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  background-position: center 24%;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-text-hidden .hero-slide {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(360deg, rgba(61, 9, 9, 0.9) 0%, rgba(152, 34, 32, 0.68) 46%, rgba(239, 106, 142, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.06));
}

.hero-text-hidden .hero-shade,
.hero-text-hidden .hero-content {
  display: none;
}

.hero-slider-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 54px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 63, 102, 0.18);
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-slider-button:hover,
.hero-slider-button:focus-visible {
  background: #fff;
  transform: translateY(-50%) scale(1.03);
}

.hero-slider-button svg {
  width: 24px;
  height: 24px;
}

.hero-slider-prev {
  left: max(18px, calc((100vw - 1180px) / 2 - 72px));
}

.hero-slider-next {
  right: max(18px, calc((100vw - 1180px) / 2 - 72px));
}

.hero-slider-dots {
  display: none;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.48);
  border: 0;
  border-radius: 999px;
}

.hero-slider-dot.is-active {
  width: 28px;
  background: #fff;
}

.hero-slider.is-single+.hero-shade+.hero-slider-button,
.hero-slider.is-single+.hero-shade+.hero-slider-button+.hero-slider-button,
.hero-slider.is-single~.hero-slider-dots {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 640px;
  padding-block: 176px 76px;
}

.hero-copy {
  width: min(900px, 100%);
  text-align: center;
  transform: translateY(52px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--color-secondary);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #fff0f4;
}

.hero-lead {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.91);
}

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

.hero-actions .button {
  width: 170px;
  white-space: nowrap;
}

.quick-actions {
  position: relative;
  z-index: 5;
  margin-top: -20px;
  padding-bottom: 42px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quick-action {
  display: grid;
  gap: 6px;
  min-height: 148px;
  padding: 22px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-action:hover,
.quick-action:focus-visible {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(18, 63, 102, 0.14);
}

button.quick-action {
  color: inherit;
}

.quick-action span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 8px;
}

.quick-action svg {
  width: 21px;
  height: 21px;
}

.quick-action strong {
  font-size: 1.05rem;
}

.quick-action small {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--color-soft);
}

.section-duty {
  position: relative;
  background: var(--color-soft);
  border-top: 1px solid var(--color-line);
}

.section-duty::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--color-line);
}

.section-duty .section-heading {
  display: block;
}

.section-duty .section-heading > div,
.section-duty .section-heading h2,
.section-duty .section-heading p {
  width: 100%;
  max-width: none;
}

.section-intro {
  padding-top: 40px;
}

.intro-grid,
.section-heading,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 38px;
  align-items: end;
}

.section-heading {
  margin-bottom: 34px;
}

.contact-layout {
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.intro-grid p,
.section-note {
  margin: 0;
  color: var(--color-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.card-link {
  justify-self: start;
  margin-top: 14px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.stat {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.stat strong {
  display: block;
  color: var(--color-primary);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
}

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

.service-card {
  min-height: 234px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.service-card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 8px;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3,
.center-card h3,
.package-card h3,
.journey-step h3,
.article-card h3,
.footer-grid h3 {
  margin: 18px 0 8px;
  line-height: 1.35;
}

.service-card p,
.center-card p,
.package-card p,
.journey-step p,
.contact-copy p,
.site-footer p {
  margin: 0;
  color: var(--color-muted);
}

.duty-overview {
  margin-bottom: 22px;
}

.duty-overview p {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 26px 30px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

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

.duty-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 86px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.duty-item:hover {
  border-color: rgba(161, 20, 37, 0.35);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.duty-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 8px;
}

.duty-icon svg {
  width: 22px;
  height: 22px;
}

.duty-item p {
  margin: 0;
  color: var(--color-text);
}

.center-grid,
.package-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.center-card,
.package-card,
.article-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 49, 58, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.center-card:hover,
.package-card:hover,
.package-card:focus-within,
.article-card:hover,
.article-card:focus-within {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.center-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.center-card img,
.package-card img,
.article-card img {
  transition: transform 0.28s ease;
}

.center-card:hover img,
.package-card:hover img,
.package-card:focus-within img,
.article-card:hover img,
.article-card:focus-within img {
  transform: scale(1.025);
}

.center-card-body,
.package-card-body,
.article-card-body {
  padding: 22px;
}

.segment {
  display: inline-flex;
  justify-self: end;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.segment-button {
  min-width: 88px;
  min-height: 36px;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
}

.segment-button.is-active {
  color: #fff;
  background: var(--color-primary);
}

.package-grid {
  grid-template-columns: repeat(4, 1fr);
}

.package-card {
  display: flex;
  flex-direction: column;
}

.package-card[hidden] {
  display: none;
}

.package-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.package-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--color-soft);
  border-radius: 999px;
}

.price {
  margin: auto 0 16px;
  color: var(--color-coral);
  font-size: 1.05rem;
  font-weight: 800;
}

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

.person-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.person-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: 220px minmax(0, 1fr);
  width: min(760px, 100%);
  margin-inline: auto;
  border-color: color-mix(in srgb, var(--color-primary) 42%, var(--color-line));
}

.person-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.person-info h3 {
  margin: 10px 0 2px;
  font-size: 1.35rem;
}

.person-info strong {
  display: block;
  color: var(--color-primary-dark);
}

.person-info p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.person-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.person-social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 8px;
}

.page-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
}

.page-hero-image,
.page-hero-shade {
  position: absolute;
  inset: 0;
}

.page-hero-image {
  background-position: center;
  background-size: cover;
}

.page-hero-shade {
  background: linear-gradient(90deg, rgba(61, 9, 9, 0.92), rgba(152, 34, 32, 0.6), rgba(61, 9, 9, 0.35));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 360px;
  padding-block: 70px;
}

.breadcrumb-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.breadcrumb-line a {
  color: #fff;
  font-weight: 800;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.content-shell {
  max-width: 920px;
  padding: 36px;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.content-shell img {
  width: 100%;
  height: auto;
  margin-block: 18px;
  border-radius: 8px;
}

.under-dev-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.under-dev-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--color-highlight);
}

.under-dev-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(152, 34, 32, 0.16);
}

.under-dev-icon svg {
  width: 30px;
  height: 30px;
}

.under-dev-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--color-primary);
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.under-dev-copy h1,
.under-dev-copy h2,
.under-dev-copy h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.18;
}

.under-dev-copy p {
  max-width: none;
  margin: 0;
  color: var(--color-muted);
  font-size: 1.02rem;
}

.under-dev-page {
  max-width: 920px;
  margin-inline: auto;
}

.status-page {
  min-height: 100vh;
  background: var(--color-soft);
}

.status-panel {
  max-width: 920px;
  margin: 80px auto;
}

.status-panel .button {
  margin-top: 18px;
}

.section-under-dev .center-grid,
.section-under-dev .package-grid,
.section-under-dev .article-grid,
.section-under-dev .segment,
.section-under-dev .section-heading > .text-link {
  display: none;
}

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

.journey-step {
  min-height: 198px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.journey-step:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.journey-step span {
  color: var(--color-secondary);
  font-size: 1.35rem;
  font-weight: 800;
}

.article-card time {
  color: var(--color-secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.article-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.contact-section {
  color: #fff;
  background: linear-gradient(135deg, #3d0909 0%, #982220 62%, #c94062 100%);
}

.contact-section .section-kicker {
  color: #fff0f4;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.94);
}

.contact-list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: #fff0f4;
}

.contact-direct-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  color: var(--color-ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.contact-direct-panel h3 {
  margin: 0;
}

.contact-direct-panel a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  color: var(--color-ink);
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.contact-direct-panel a:hover,
.contact-direct-panel a:focus-visible {
  color: var(--color-primary-dark);
  background: #fff;
}

.contact-direct-panel svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 8px;
}

.contact-direct-panel strong {
  display: block;
  line-height: 1.35;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #3d0909;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 56px 0 34px;
}

.brand-footer {
  color: #fff;
  margin-bottom: 16px;
}

.footer-grid h3 {
  color: #fff;
  margin-top: 0;
}

.footer-grid a {
  display: block;
  margin-bottom: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  top: 52%;
  z-index: 90;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.floating-actions button,
.floating-actions a {
  color: #fff;
  background: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px rgba(152, 34, 32, 0.24);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 16px;
  }

  .header-appointment span {
    display: none;
  }

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

@media (max-width: 920px) {
  :root {
    --header-height: 74px;
  }

  .top-strip-inner {
    justify-content: center;
  }

  .top-strip-left {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    margin-left: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 12px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-card);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav>a,
  .nav-dropdown-toggle {
    padding: 13px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .main-nav>a::after,
  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu,
  .nav-dropdown-menu-compact {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 8px 0 10px;
    background: transparent;
    border: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    transform: none;
  }

  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a {
    grid-template-columns: 32px 1fr;
    padding: 10px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-line);
    border-radius: 0;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    background: transparent;
    border-color: var(--color-line);
    transform: none;
  }

  .nav-dropdown-icon {
    width: 32px;
    height: 32px;
  }

  .nav-dropdown-icon svg {
    width: 16px;
    height: 16px;
  }

  .nav-dropdown-menu strong {
    font-size: 0.92rem;
  }

  .nav-dropdown-menu small {
    font-size: 0.74rem;
  }

  .hero,
  .hero-content {
    min-height: 590px;
  }

  .hero-slider-prev {
    left: 14px;
  }

  .hero-slider-next {
    right: 14px;
  }

  .hero-content {
    padding-block: 70px 150px;
  }

  .hero-copy {
    transform: translateY(24px);
  }

  .quick-actions-grid,
  .stats-row,
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid,
  .center-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .section-heading,
  .contact-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .text-link,
  .segment {
    justify-self: start;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-strip-right {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .top-strip-right a {
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .brand-logo-image {
    width: min(172px, 100%);
    max-height: 38px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-mark-logo img {
    width: 38px;
    height: 38px;
    transform: none;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 1rem;
    white-space: normal;
  }

  .brand-text small {
    font-size: 0.7rem;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .header-actions .icon-button,
  .header-actions .menu-toggle {
    width: 42px;
    height: 42px;
    min-height: 42px;
    flex-basis: 42px;
  }

  .header-appointment {
    display: none;
  }

  .hero {
    min-height: clamp(585px, calc(100svh - 54px), 690px);
  }

  .hero.hero-text-hidden {
    min-height: clamp(258px, 66.67vw, 420px);
  }

  .hero-content {
    min-height: clamp(585px, calc(100svh - 54px), 690px);
    padding-block: 54px 188px;
  }

  .hero-copy {
    transform: translateY(92px);
  }

  .hero-slider-button {
    display: none;
  }

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

  .hero-lead {
    font-size: 1rem;
  }

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

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

  .quick-actions {
    margin-top: -36px;
    padding-top: 0;
  }

  .quick-actions-grid,
  .stats-row,
  .service-grid,
  .duty-list,
  .center-grid,
  .package-grid,
  .journey-grid,
  .personnel-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .person-card,
  .person-card-featured {
    grid-column: auto;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .person-info h3 {
    font-size: 1.08rem;
  }

  .quick-action,
  .service-card,
  .journey-step {
    min-height: auto;
  }

  .section {
    padding: 58px 0;
  }

  .section-intro {
    padding-top: 30px;
  }

  .under-dev-panel {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .under-dev-icon {
    width: 56px;
    height: 56px;
  }

  .segment {
    width: 100%;
  }

  .segment-button {
    flex: 1;
    min-width: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-actions {
    display: none;
  }

}

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