/*
Theme Name: DHS Modern
Theme URI: https://doctorshospitalsseguku.com
Author: Doctors' Hospital Sseguku
Description: A modern, accessible, mobile-first theme for Doctors' Hospital Sseguku.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: dhs-modern
*/

:root {
  --dhs-navy: #002066;
  --dhs-navy-2: #0f3e84;
  --dhs-blue: #1769d1;
  --dhs-teal: #0f3e84;
  --dhs-teal-dark: #002066;
  --dhs-red: #e34a45;
  --dhs-gold: #f3a43b;
  --dhs-ink: #16213b;
  --dhs-muted: #5d6d86;
  --dhs-soft: #f2f6fc;
  --dhs-line: #d9e3f1;
  --dhs-white: #ffffff;
  --dhs-shadow: 0 22px 60px rgba(0, 32, 102, 0.12);
  --dhs-radius: 24px;
  --dhs-radius-sm: 14px;
  --dhs-container: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dhs-white);
  color: var(--dhs-ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
}

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

a {
  color: var(--dhs-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--dhs-teal-dark);
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--dhs-navy);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.35rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1.25em;
}

.container {
  width: var(--dhs-container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--dhs-white);
  color: var(--dhs-navy);
  box-shadow: var(--dhs-shadow);
}

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

.topbar {
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.87rem;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar__items {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.topbar a:hover {
  color: var(--dhs-white);
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dhs-white);
  font-weight: 700;
}

.topbar__status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57d69b;
  box-shadow: 0 0 0 5px rgba(87, 214, 155, 0.15);
  content: "";
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 32, 102, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
}

.brand a {
  display: block;
  text-decoration: none;
}

.brand img,
.custom-logo {
  width: auto;
  max-width: 305px;
  height: 58px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 12px 11px;
  border-radius: 9px;
  color: var(--dhs-navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  background: var(--dhs-soft);
  color: var(--dhs-blue);
}

.header-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dhs-line);
  border-radius: 12px;
  background: var(--dhs-white);
  color: var(--dhs-navy);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -7px;
}

.menu-toggle span::after {
  position: absolute;
  top: 7px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--dhs-teal);
  color: var(--dhs-white);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--dhs-teal-dark);
  color: var(--dhs-white);
  box-shadow: 0 14px 30px rgba(15, 62, 132, 0.22);
}

.button--navy {
  background: var(--dhs-navy);
}

.button--navy:hover {
  background: var(--dhs-navy-2);
}

.button--outline {
  border: 1px solid rgba(0, 32, 102, 0.18);
  background: transparent;
  color: var(--dhs-navy);
}

.button--outline:hover {
  background: var(--dhs-navy);
  color: var(--dhs-white);
}

.button--light {
  background: var(--dhs-white);
  color: var(--dhs-navy);
}

.button--light:hover {
  background: #eaf5f4;
  color: var(--dhs-navy);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--dhs-teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 15%, rgba(15, 62, 132, 0.16), transparent 32%),
    linear-gradient(135deg, #f8fbfd 0%, #edf7f8 100%);
}

.hero::before {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 74px solid rgba(23, 105, 209, 0.06);
  border-radius: 50%;
  content: "";
}

.hero__inner {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: 66px;
  padding-block: 72px 90px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--dhs-teal);
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--dhs-muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--dhs-muted);
  font-size: 0.9rem;
  font-weight: 650;
  list-style: none;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__proof li::before {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 62, 132, 0.12);
  color: var(--dhs-teal-dark);
  content: "✓";
  font-size: 0.73rem;
  font-weight: 900;
}

.hero__visual {
  position: relative;
}

.hero__image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: 38px 38px 120px 38px;
  background: #dbe9ef;
  box-shadow: var(--dhs-shadow);
}

.hero__image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.hero__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(0, 32, 102, 0.34));
  content: "";
}

.hero__card {
  position: absolute;
  bottom: 28px;
  left: -34px;
  z-index: 2;
  max-width: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(0, 32, 102, 0.18);
}

.hero__card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dhs-navy);
  font-size: 1.05rem;
}

.hero__card span {
  color: var(--dhs-muted);
  font-size: 0.88rem;
}

.care-strip {
  position: relative;
  z-index: 5;
  margin-top: -40px;
}

.care-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 20px;
  background: var(--dhs-navy);
  color: var(--dhs-white);
  box-shadow: 0 24px 60px rgba(0, 32, 102, 0.2);
}

.care-strip__item {
  position: relative;
  min-height: 132px;
  padding: 27px 30px;
}

.care-strip__item + .care-strip__item {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.care-strip__item--accent {
  background: var(--dhs-teal);
}

.care-strip__label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.care-strip__item--accent .care-strip__label {
  color: rgba(255, 255, 255, 0.78);
}

.care-strip__item strong,
.care-strip__item a {
  color: var(--dhs-white);
  font-size: 1.1rem;
  font-weight: 750;
  text-decoration: none;
}

.care-strip__item p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.section {
  padding-block: 105px;
}

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

.section--navy {
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.78);
}

.section--navy h2,
.section--navy h3 {
  color: var(--dhs-white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.section-heading__copy {
  max-width: 720px;
}

.section-heading p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--dhs-muted);
}

.section--navy .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  padding: 27px;
  border: 1px solid var(--dhs-line);
  border-radius: var(--dhs-radius-sm);
  background: var(--dhs-white);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 62, 132, 0.35);
  color: inherit;
  box-shadow: 0 18px 45px rgba(0, 32, 102, 0.1);
}

.service-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(15, 62, 132, 0.08);
  content: "";
}

.service-kicker {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 12px;
  background: var(--dhs-soft);
  color: var(--dhs-blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin: 0;
  color: var(--dhs-muted);
  font-size: 0.92rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 72px;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  min-height: 520px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--dhs-shadow);
}

.about-badge {
  position: absolute;
  right: -22px;
  bottom: 30px;
  width: 155px;
  padding: 24px;
  border-radius: 20px;
  background: var(--dhs-teal);
  color: var(--dhs-white);
  box-shadow: 0 18px 40px rgba(15, 62, 132, 0.3);
}

.about-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.about-badge span {
  display: block;
  margin-top: 7px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.about-copy > p {
  color: var(--dhs-muted);
  font-size: 1.04rem;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 34px;
}

.value {
  padding: 17px 18px;
  border: 1px solid var(--dhs-line);
  border-radius: 12px;
  background: var(--dhs-white);
}

.value strong {
  display: block;
  color: var(--dhs-navy);
  font-size: 0.94rem;
}

.value span {
  color: var(--dhs-muted);
  font-size: 0.84rem;
}

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

.stat {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
}

.stat strong {
  display: block;
  margin-bottom: 7px;
  color: var(--dhs-white);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

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

.team-card {
  overflow: hidden;
  border: 1px solid var(--dhs-line);
  border-radius: 20px;
  background: var(--dhs-white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dhs-shadow);
}

.team-card__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dhs-soft);
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 350ms ease;
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-card__content {
  padding: 23px 24px 25px;
}

.team-card__content h3 {
  margin-bottom: 5px;
}

.team-card__content p {
  margin: 0;
  color: var(--dhs-teal-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.gallery-item {
  overflow: hidden;
  min-height: 290px;
  grid-column: span 4;
  margin: 0;
  border-radius: 18px;
  background: var(--dhs-soft);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(5) {
  grid-column: span 8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

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

.journey__step {
  padding: 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.journey__number {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--dhs-teal);
  color: var(--dhs-white);
  font-size: 0.84rem;
  font-weight: 800;
}

.journey__step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--dhs-line);
  border-radius: 18px;
  background: var(--dhs-white);
}

.news-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #d8eef0, #dae7f2);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__content {
  padding: 24px;
}

.news-card__date {
  display: block;
  margin-bottom: 12px;
  color: var(--dhs-teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.news-card p {
  margin-bottom: 0;
  color: var(--dhs-muted);
  font-size: 0.92rem;
}

.page-hero {
  padding-block: 88px 82px;
  background:
    radial-gradient(circle at 85% 20%, rgba(15, 62, 132, 0.16), transparent 28%),
    var(--dhs-navy);
  color: rgba(255, 255, 255, 0.72);
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 17px;
  color: var(--dhs-white);
  font-size: clamp(2.6rem, 5vw, 4.35rem);
}

.page-hero p {
  max-width: 670px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--dhs-gold);
  text-decoration: none;
}

.content-wrap {
  padding-block: 80px 105px;
}

.entry-content {
  max-width: 850px;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content p,
.entry-content li {
  color: #42556b;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.35em;
}

.entry-content img {
  border-radius: 18px;
}

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

.service-finder {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding: 20px 22px;
  border: 1px solid var(--dhs-line);
  border-radius: 16px;
  background: var(--dhs-soft);
}

.service-finder label {
  color: var(--dhs-navy);
  font-weight: 800;
}

.service-finder input {
  min-height: 48px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid #bfd0da;
  border-radius: 11px;
  outline: 0;
  background: var(--dhs-white);
  color: var(--dhs-ink);
}

.service-finder input:focus {
  border-color: var(--dhs-teal);
  box-shadow: 0 0 0 4px rgba(15, 62, 132, 0.12);
}

.service-finder > span {
  color: var(--dhs-muted);
  font-size: 0.84rem;
}

.service-finder__empty {
  margin: 24px 0 0;
  padding: 20px;
  border-radius: 12px;
  background: #fff5e2;
  color: #6d5120;
  text-align: center;
}

.detail-card {
  padding: 30px;
  border: 1px solid var(--dhs-line);
  border-radius: 16px;
  background: var(--dhs-white);
}

.detail-card h3 {
  margin-bottom: 12px;
}

.detail-card p,
.detail-card li {
  color: var(--dhs-muted);
  font-size: 0.92rem;
}

.detail-card ul {
  margin: 0;
  padding-left: 19px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 45px;
}

.mission-card {
  padding: 32px;
  border-radius: 18px;
  background: var(--dhs-soft);
}

.mission-card:nth-child(2) {
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.75);
}

.mission-card:nth-child(2) h3 {
  color: var(--dhs-white);
}

.faq-list {
  display: grid;
  gap: 13px;
  max-width: 900px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--dhs-line);
  border-radius: 14px;
  background: var(--dhs-white);
}

.faq-list summary {
  position: relative;
  padding: 22px 56px 22px 22px;
  color: var(--dhs-navy);
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--dhs-soft);
  color: var(--dhs-teal-dark);
  content: "+";
  text-align: center;
  line-height: 28px;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--dhs-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.contact-panel {
  padding: 36px;
  border-radius: 22px;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--dhs-white);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.contact-item {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item strong {
  color: var(--dhs-white);
  text-decoration: none;
}

.map-frame {
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--dhs-line);
  border-radius: 22px;
  background: var(--dhs-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.patient-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(23, 105, 209, 0.11), transparent 28%),
    var(--dhs-soft);
}

.schedule-preview-grid,
.schedule-grid {
  display: grid;
  gap: 18px;
}

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

.schedule-preview-card,
.schedule-card {
  border: 1px solid var(--dhs-line);
  border-radius: 18px;
  background: var(--dhs-white);
  box-shadow: 0 14px 36px rgba(0, 32, 102, 0.07);
}

.schedule-preview-card {
  min-height: 205px;
  padding: 26px;
}

.schedule-preview-card > span,
.schedule-card__label {
  display: block;
  margin-bottom: 20px;
  color: var(--dhs-blue);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-preview-card strong,
.schedule-card > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--dhs-navy);
  font-size: 1.17rem;
  line-height: 1.3;
}

.schedule-preview-card p,
.schedule-card p {
  margin: 0;
  color: var(--dhs-muted);
  font-size: 0.9rem;
}

.schedule-preview-card--emergency {
  border-color: transparent;
  background: var(--dhs-red);
  color: var(--dhs-white);
}

.schedule-preview-card--emergency > span,
.schedule-preview-card--emergency strong,
.schedule-preview-card--emergency p {
  color: var(--dhs-white);
}

.insurance-preview {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.75fr);
  gap: 38px;
  margin-top: 24px;
  padding: 34px;
  border-radius: 22px;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.7);
}

.insurance-preview h3 {
  margin-bottom: 8px;
  color: var(--dhs-white);
}

.insurance-preview p {
  margin: 0;
}

.insurance-preview__list {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
}

.insurance-preview__list span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dhs-white);
  font-size: 0.82rem;
  font-weight: 700;
}

.testimonials {
  background: var(--dhs-white);
}

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

.testimonial-card {
  min-height: 275px;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--dhs-line);
  border-radius: 20px;
  background: linear-gradient(150deg, var(--dhs-white), #f5f8fd);
  box-shadow: 0 16px 38px rgba(0, 32, 102, 0.08);
}

.testimonial-card__stars {
  margin-bottom: 24px;
  color: var(--dhs-gold);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

.testimonial-card blockquote {
  margin: 0 0 28px;
  color: var(--dhs-navy);
  font-size: 1.25rem;
  font-weight: 720;
  line-height: 1.45;
}

.testimonial-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding-top: 18px;
  border-top: 1px solid var(--dhs-line);
}

.testimonial-card figcaption strong {
  color: var(--dhs-ink);
}

.testimonial-card figcaption span {
  color: var(--dhs-muted);
  font-size: 0.8rem;
}

.schedule-grid {
  grid-template-columns: repeat(3, 1fr);
}

.schedule-card {
  min-height: 275px;
  padding: 30px;
}

.schedule-card h3 {
  margin-bottom: 22px;
}

.schedule-card--featured {
  border-color: transparent;
  background: var(--dhs-navy);
}

.schedule-card--featured h3,
.schedule-card--featured strong,
.schedule-card--featured p,
.schedule-card--featured .schedule-card__label {
  color: var(--dhs-white);
}

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

.insurer-card {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--dhs-line);
  border-radius: 14px;
  background: var(--dhs-white);
  color: var(--dhs-navy);
  box-shadow: 0 10px 28px rgba(0, 32, 102, 0.06);
  font-weight: 800;
  text-align: center;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.visit-card {
  padding: 42px;
  border: 1px solid var(--dhs-line);
  border-radius: 22px;
  background: var(--dhs-soft);
}

.visit-card p {
  color: var(--dhs-muted);
}

.visit-card--navy {
  border-color: transparent;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.72);
}

.visit-card--navy h2,
.visit-card--navy p,
.visit-card--navy .eyebrow {
  color: var(--dhs-white);
}

.visit-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--dhs-white);
}

.button--outline-light:hover {
  border-color: var(--dhs-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--dhs-white);
}

.site-footer {
  background: #00184d;
  color: rgba(255, 255, 255, 0.67);
}

.footer-cta {
  transform: translateY(-50%);
  margin-bottom: -30px;
  padding: 34px 40px;
  border-radius: 20px;
  background: var(--dhs-teal);
  color: var(--dhs-white);
  box-shadow: 0 18px 50px rgba(15, 62, 132, 0.28);
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-cta h2 {
  margin: 0 0 5px;
  color: var(--dhs-white);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.footer-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.75fr 1fr;
  gap: 48px;
  padding-block: 70px 55px;
}

.footer-brand img {
  width: 275px;
  max-height: 60px;
  margin-bottom: 22px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 360px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dhs-white);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: var(--dhs-blue);
  color: var(--dhs-white);
}

.footer-title {
  margin-bottom: 20px;
  color: var(--dhs-white);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.67);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--dhs-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--dhs-white);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid var(--dhs-white);
  border-radius: 50%;
  background: #25d366;
  color: #082c1c;
  box-shadow: 0 13px 35px rgba(6, 31, 55, 0.24);
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-float:hover {
  color: #082c1c;
  transform: translateY(-2px);
}

.empty-state {
  padding: 42px;
  border: 1px dashed #bfcfd8;
  border-radius: 16px;
  background: var(--dhs-soft);
  text-align: center;
}

.pagination {
  margin-top: 38px;
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr 0.9fr;
    gap: 35px;
  }

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

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

  .footer-grid > :last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .topbar__items > :not(:first-child) {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 84px 0 auto;
    display: none;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    padding: 22px 20px 30px;
    border-top: 1px solid var(--dhs-line);
    background: var(--dhs-white);
    box-shadow: 0 25px 50px rgba(0, 32, 102, 0.15);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 5px;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 62px 85px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    max-width: 680px;
  }

  .hero__card {
    left: 20px;
  }

  .care-strip__grid {
    grid-template-columns: 1fr;
  }

  .care-strip__item + .care-strip__item {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-finder {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 680px;
  }

  .stats,
  .team-grid,
  .journey,
  .detail-grid,
  .news-grid,
  .schedule-preview-grid,
  .schedule-grid,
  .insurer-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insurance-preview {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 6;
  }

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

  .footer-grid > :last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --dhs-container: min(100% - 28px, 1180px);
  }

  .topbar__inner {
    min-height: 38px;
  }

  .topbar__status {
    font-size: 0.76rem;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .brand img,
  .custom-logo {
    max-width: 220px;
    height: 46px;
  }

  .site-nav {
    inset-block-start: 74px;
  }

  .hero__inner {
    padding-block: 50px 76px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    display: grid;
    gap: 10px;
  }

  .hero__image,
  .hero__image img {
    min-height: 390px;
  }

  .hero__image {
    border-radius: 26px 26px 80px 26px;
  }

  .hero__card {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .section {
    padding-block: 74px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading .button {
    margin-top: 18px;
  }

  .services-grid,
  .stats,
  .team-grid,
  .journey,
  .detail-grid,
  .news-grid,
  .mission-grid,
  .values-list,
  .schedule-preview-grid,
  .schedule-grid,
  .insurer-grid,
  .testimonial-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .insurance-preview {
    padding: 28px;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: 1 / -1;
  }

  .about-media img {
    min-height: 390px;
  }

  .about-badge {
    right: 12px;
  }

  .page-hero {
    padding-block: 64px;
  }

  .footer-cta {
    padding: 28px;
  }

  .footer-cta__inner,
  .footer-bottom {
    display: block;
  }

  .footer-cta .button {
    width: 100%;
    margin-top: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 65px;
  }

  .footer-bottom > :last-child {
    margin-top: 8px;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
