@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/poppins-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/dancing-script-latin-600-normal.woff2") format("woff2");
}

:root {
  --navy: #063273;
  --navy-deep: #002d6d;
  --teal: #078597;
  --teal-dark: #007487;
  --green: #038b56;
  --mint: #e9f7f5;
  --line: #d9e8ec;
  --text: #082c5f;
  --shadow: 0 8px 26px rgba(17, 70, 95, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  background: #ffffff;
  color: var(--text);
  font-family: "Poppins", "Noto Sans Malayalam", "Segoe UI", Arial, sans-serif;
  margin: 0;
  min-width: 320px;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: 30px;
  padding-right: 30px;
  width: 100%;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  height: 96px;
  position: relative;
  transition:
    box-shadow 180ms ease,
    height 180ms ease;
  z-index: 30;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(9, 57, 86, 0.08);
  height: 82px;
  position: sticky;
  top: 0;
}

.header-inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
}

.brand-button {
  align-items: center;
  background: transparent;
  border: 0;
  display: inline-flex;
  gap: 13px;
  padding: 0;
  text-align: left;
}

.brand-logo {
  display: block;
  height: 68px;
  object-fit: contain;
  width: 68px;
}

.brand-copy {
  color: #073a8a;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.brand-copy > span {
  color: #078c57;
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
  text-transform: uppercase;
}

.brand-copy small {
  color: #ef4148;
  font-family: "Dancing Script", "Segoe Script", cursive;
  font-size: 16px;
  font-weight: 600;
  margin-top: 5px;
}

.site-header nav {
  align-items: stretch;
  align-self: stretch;
  display: flex;
  gap: 56px;
}

.site-header nav button,
.site-header nav a {
  background: transparent;
  border: 0;
  color: #002f78;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  padding: 4px 0 0;
  position: relative;
  text-decoration: none;
}

.site-header nav button::after,
.site-header nav a::after {
  background: #008b66;
  bottom: 22px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 180ms ease;
  width: 48px;
}

.site-header nav button:hover::after,
.site-header nav a:hover::after,
.site-header nav button.active::after {
  transform: translateX(-50%) scaleX(1);
}

.site-header nav button.active {
  color: #008557;
}

.menu-button {
  background: #eaf7f6;
  border: 0;
  border-radius: 50%;
  color: var(--teal);
  display: none;
  height: 44px;
  place-items: center;
  width: 44px;
}

.hero {
  background: #062d61;
  height: 585px;
  overflow: hidden;
  position: relative;
}

.hero-photo {
  background-image: url("images/ravi-memorial-hospital-hero-enhanced.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0 0 52px;
  pointer-events: none;
  position: absolute;
}

.hero-wash {
  background:
    linear-gradient(
      90deg,
      rgba(0, 31, 75, 0.94) 0%,
      rgba(0, 42, 88, 0.86) 28%,
      rgba(1, 53, 92, 0.62) 43%,
      rgba(2, 54, 86, 0.18) 64%,
      transparent 80%
    ),
    linear-gradient(180deg, rgba(0, 25, 63, 0.08), rgba(0, 32, 61, 0.18));
  inset: 0 0 52px;
  pointer-events: none;
  position: absolute;
}

.hero-inner {
  height: calc(100% - 48px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  padding-top: 72px;
  width: 52%;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 700;
  letter-spacing: -2.2px;
  line-height: 1.05;
  margin: 0;
}

.hero-copy h1 span {
  color: #8de7dc;
  display: block;
}

.hero-divider {
  align-items: center;
  color: #9ce7de;
  display: flex;
  gap: 13px;
  margin: 20px 0 16px;
  width: 455px;
}

.hero-divider span {
  background: rgba(166, 235, 225, 0.78);
  height: 2px;
  width: 187px;
}

.hero-divider b {
  font-size: 14px;
}

.hero-copy > p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 26px;
}

.hero-benefits {
  align-items: center;
  display: flex;
  gap: 26px;
  margin: 0 0 32px;
}

.hero-benefit {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 11px;
  line-height: 1.3;
  min-width: 145px;
}

.hero-benefit-icon {
  align-items: center;
  background: rgba(223, 250, 247, 0.17);
  border: 1px solid rgba(207, 246, 241, 0.38);
  border-radius: 50%;
  color: #a8eee5;
  display: flex;
  flex: 0 0 auto;
  height: 47px;
  justify-content: center;
  width: 47px;
}

.primary-cta {
  align-items: center;
  background: linear-gradient(90deg, #078698, #007889);
  border: 0;
  border-radius: 28px;
  box-shadow: 0 8px 18px rgba(3, 128, 146, 0.18);
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 42px;
  height: 51px;
  justify-content: space-between;
  padding: 0 12px 0 35px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-cta:hover {
  box-shadow: 0 10px 25px rgba(3, 128, 146, 0.28);
  transform: translateY(-2px);
}

.primary-cta span {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--teal);
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.hero-wave {
  bottom: -1px;
  height: 142px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 4;
}

.hero-wave svg {
  height: 100%;
  width: 100%;
}

.offers-section {
  background: linear-gradient(180deg, #f5fbfd 0%, #fff 55%);
  padding: 9px 0 36px;
}

.offer-card {
  align-items: stretch;
  background: #fff;
  border: 1px solid #dbe7eb;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 15px;
  grid-template-columns: 250px 245px minmax(0, 1fr) auto;
  min-height: 320px;
  overflow: hidden;
  padding: 24px 20px 20px 24px;
  position: relative;
}

.offer-family {
  align-self: end;
  height: 230px;
  overflow: hidden;
}

.offer-family img {
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  width: 100%;
}

.offer-copy {
  align-self: center;
  animation: fade-slide 250ms ease;
  padding: 2px 5px 0;
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offer-copy h2 {
  color: #008f51;
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 22px;
}

.offer-copy h2 span {
  color: #0b3882;
  display: block;
}

.offer-copy p {
  color: #1b2730;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

.offer-content {
  align-self: center;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.offer-group-tabs {
  background: #f1f7f9;
  border: 1px solid #dce9ed;
  border-radius: 14px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 5px;
}

.offer-group-tab {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #4d6571;
  display: flex;
  gap: 9px;
  min-height: 52px;
  padding: 7px 10px;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.offer-group-tab:hover {
  background: rgba(255, 255, 255, 0.72);
  color: #0b3c86;
}

.offer-group-tab.active {
  background: #fff;
  border-color: #c9dfe6;
  box-shadow: 0 5px 14px rgba(11, 59, 96, 0.1);
  color: #0b3c86;
  transform: translateY(-1px);
}

.offer-group-tab[data-offer-group-tab="bpl"].active {
  background: linear-gradient(135deg, #0b3c86, #075b85);
  border-color: transparent;
  color: #fff;
}

.offer-group-tab[data-offer-group-tab="all"].active {
  background: linear-gradient(135deg, #008c59, #0596a4);
  border-color: transparent;
  color: #fff;
}

.offer-group-tab-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  color: #068b72;
  display: flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
}

.offer-group-tab.active .offer-group-tab-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.offer-group-tab-icon svg {
  height: 22px;
  width: 22px;
}

.offer-group-tab-copy {
  min-width: 0;
}

.offer-group-tab-copy strong,
.offer-group-tab-copy small {
  display: block;
}

.offer-group-tab-copy strong {
  font-size: 10px;
  line-height: 1.35;
}

.offer-group-tab-copy small {
  font-size: 8px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
  opacity: 0.76;
}

.offer-group-note {
  align-items: center;
  background: #edf6fb;
  border-left: 3px solid #0b3c86;
  border-radius: 7px;
  color: #0b3c86;
  display: flex;
  gap: 7px;
  min-height: 29px;
  padding: 5px 10px;
}

.offer-group-note.is-all {
  background: #ecf8f3;
  border-left-color: #008c59;
  color: #00744b;
}

.offer-group-note span {
  align-items: center;
  background: #0b3c86;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 17px;
  font-size: 10px;
  height: 17px;
  justify-content: center;
}

.offer-group-note.is-all span {
  background: #008c59;
}

.offer-group-note strong {
  font-size: 9px;
  line-height: 1.35;
}

.offer-benefits {
  animation: fade-slide 250ms ease;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-benefits article {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e9ed;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(17, 70, 95, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 26px 8px 12px;
  position: relative;
  text-align: center;
}

.offer-benefits article[hidden] {
  display: none;
}

.offer-eligibility {
  border-radius: 999px;
  font-size: 7px;
  font-weight: 700;
  left: 8px;
  letter-spacing: 0.25px;
  line-height: 1;
  padding: 5px 7px;
  position: absolute;
  text-transform: uppercase;
  top: 8px;
}

.offer-eligibility-bpl {
  background: #e8eff9;
  color: #0b3c86;
}

.offer-eligibility-all {
  background: #e7f7f0;
  color: #007b4e;
}

.offer-icon {
  color: #028e58;
  display: block;
  height: 38px;
}

.offer-icon svg {
  height: 34px;
  width: 34px;
}

.offer-benefits h3 {
  color: #133980;
  font-size: 11px;
  line-height: 1.35;
  margin: 4px 0 7px;
  min-height: 33px;
}

.offer-benefits strong {
  color: #052f78;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1;
  white-space: nowrap;
}

.offer-benefits small {
  color: #0c3c84;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 6px;
}

.offer-controls {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  width: 50px;
}

.offer-controls[hidden],
.offer-dots[hidden] {
  display: none;
}

.offer-controls button,
.summary-controls button {
  align-items: center;
  background: #fff;
  border: 1px solid #e4ebee;
  border-radius: 50%;
  box-shadow: 0 4px 13px rgba(14, 68, 96, 0.1);
  color: #073783;
  display: flex;
  height: 42px;
  justify-content: center;
  transition:
    transform 150ms ease,
    background 150ms ease;
  width: 42px;
}

.offer-controls button:hover {
  background: #edf8f8;
  transform: translateX(2px);
}

.offer-dots,
.doctor-dots {
  bottom: 18px;
  display: flex;
  gap: 8px;
  position: absolute;
  right: 31px;
}

.offer-dots button,
.doctor-dots button {
  background: #c7cdd1;
  border: 0;
  border-radius: 50%;
  height: 9px;
  padding: 0;
  transition:
    background 150ms ease,
    transform 150ms ease;
  width: 9px;
}

.offer-dots button.active,
.doctor-dots button.active {
  background: #008e70;
  transform: scale(1.12);
}

.departments-section {
  padding: 8px 0 42px;
}

.section-title {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0 auto 27px;
}

.section-title h2 {
  color: #0c3c86;
  font-size: 27px;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.section-title h2 span {
  color: #008c59;
}

.pulse-line {
  height: 20px;
  position: relative;
  width: 79px;
}

.pulse-line::before {
  background: #0a9a68;
  content: "";
  height: 1.5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 10px;
}

.pulse-line::after {
  border-left: 2px solid #0a9a68;
  border-right: 2px solid #0a9a68;
  content: "";
  height: 18px;
  left: 35px;
  position: absolute;
  top: 1px;
  transform: skewX(-18deg);
  width: 8px;
}

.department-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: 215px minmax(0, 1fr);
}

.department-summary {
  animation: department-fade 230ms ease;
  background: linear-gradient(145deg, #0691a3 0%, #03768a 100%);
  border-radius: 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 478px;
  padding: 29px 23px 24px;
}

@keyframes department-fade {
  from {
    opacity: 0.78;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.department-kicker {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.25px;
  margin-bottom: 23px;
  text-transform: uppercase;
}

.department-summary > svg {
  display: block;
  margin: 0 0 20px;
}

.department-summary h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 15px;
}

.department-summary p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  line-height: 1.65;
  margin: 0;
}

.department-count {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  margin-top: 19px;
  padding: 7px 11px;
}

.group-navigation {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  min-height: 52px;
  padding: 5px;
  width: 100%;
}

.group-navigation > span {
  font-size: 11px;
  font-weight: 700;
}

.group-navigation button {
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 9px;
  color: #fff;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  transition:
    background 160ms ease,
    transform 160ms ease;
  width: 40px;
}

.group-navigation button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.doctor-carousel-shell {
  min-width: 0;
  padding-bottom: 34px;
  position: relative;
}

.doctor-cards {
  cursor: grab;
  display: flex;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
  user-select: none;
}

.doctor-cards::-webkit-scrollbar {
  display: none;
}

.doctor-cards.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.doctor-cards:focus-visible,
.group-navigation button:focus-visible,
.doctor-carousel-arrow:focus-visible {
  outline: 3px solid rgba(8, 147, 160, 0.35);
  outline-offset: 3px;
}

.doctor-card {
  background: #fff;
  border: 1px solid #dde8ec;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(17, 70, 95, 0.07);
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.doctor-photo {
  background: linear-gradient(180deg, #fbfdfe, #edf4f6);
  height: 258px;
  overflow: hidden;
  position: relative;
}

.doctor-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  width: 100%;
}

.doctor-info {
  border-top: 1px solid #e5ecef;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 15px 14px 14px;
}

.doctor-specialty {
  color: #00865d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.72px;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.doctor-info h3 {
  color: #0a326e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 7px;
}

.doctor-info p {
  color: #0b2d62;
  font-size: 10.5px;
  line-height: 1.4;
  margin: 0 0 7px;
}

.doctor-role {
  color: #4b6b7e;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 9px;
}

.doctor-info strong {
  color: #008858;
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
  margin-top: auto;
}

.doctor-schedule {
  margin-top: auto;
}

.doctor-info time {
  color: #06275c;
  display: block;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.doctor-time {
  margin-top: 5px;
}

.doctor-time > span {
  color: #008858;
  display: block;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
}

.doctor-schedule-note {
  color: #668091;
  font-size: 8.5px;
  margin-top: 3px;
}

.doctor-carousel-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d4e7ea;
  border-radius: 50%;
  box-shadow: 0 7px 19px rgba(8, 54, 78, 0.2);
  color: #063b7c;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 107px;
  transition:
    background 160ms ease,
    transform 160ms ease;
  width: 44px;
  z-index: 6;
}

.doctor-carousel-arrow:hover {
  background: #effafa;
  transform: scale(1.04);
}

.doctor-carousel-arrow--previous {
  left: -11px;
}

.doctor-carousel-arrow--next {
  right: -11px;
}

.departments-section .shell {
  position: relative;
}

.doctor-progress {
  align-items: baseline;
  bottom: 5px;
  color: #73909e;
  display: flex;
  font-size: 11px;
  gap: 4px;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
}

.doctor-progress strong {
  color: #00885e;
  font-size: 16px;
}

[hidden] {
  display: none !important;
}

.services-section {
  padding: 37px 0 17px;
}

.services-section .section-title {
  margin-bottom: 29px;
}

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

.service-card {
  align-items: center;
  background: linear-gradient(110deg, #fbfefe, #eff8fa);
  border: 1px solid #dcebee;
  border-radius: 15px;
  display: flex;
  gap: 24px;
  min-height: 120px;
  padding: 18px 40px;
}

.service-card.wide {
  grid-column: 2;
}

.service-icon {
  color: #007e9d;
  display: flex;
  flex: 0 0 62px;
  justify-content: center;
}

.service-card strong {
  color: #005487;
  font-size: 15px;
  line-height: 1.45;
}

.service-card small {
  color: #0c3c5f;
  display: block;
  font-size: 11px;
  line-height: 1.45;
  margin-top: 3px;
}

.site-footer {
  background: linear-gradient(105deg, #058b9d, #007082);
  color: #fff;
  margin-top: 7px;
  padding: 30px 0 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.03fr 1.1fr 0.78fr 1.05fr;
  padding-bottom: 25px;
}

.footer-grid > section {
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  min-height: 195px;
  padding: 0 28px;
}

.footer-grid > section:first-child {
  padding-left: 0;
}

.footer-grid > section:last-child {
  border: 0;
  padding-right: 0;
}

.footer-grid h2 {
  color: #75d881;
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 27px;
}

.footer-contact-button {
  align-items: center;
  border: 1px solid #fff;
  border-radius: 24px;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  gap: 13px;
  height: 44px;
  justify-content: center;
  margin-bottom: 29px;
  text-decoration: none;
  width: 167px;
}

.footer-email {
  align-items: center;
  display: flex;
  font-size: 10.5px;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.address {
  display: flex;
  gap: 13px;
}

.address > svg {
  fill: #fff;
  flex: 0 0 auto;
}

.address p {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.map-card {
  background-color: #f2efe6;
  border-radius: 8px;
  display: block;
  height: 70px;
  margin-top: 15px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.map-road {
  background: rgba(255, 255, 255, 0.95);
  height: 7px;
  position: absolute;
  width: 145px;
}

.road-one {
  left: -10px;
  top: 22px;
  transform: rotate(13deg);
}

.road-two {
  left: 70px;
  top: 40px;
  transform: rotate(-18deg);
}

.road-three {
  height: 5px;
  left: 16px;
  top: 52px;
  transform: rotate(-6deg);
}

.map-pin {
  color: #f14d38;
  left: 67px;
  position: absolute;
  top: 10px;
  z-index: 2;
}

.map-pin svg {
  fill: #f14d38;
}

.map-card strong {
  color: #ef4a37;
  font-size: 9.5px;
  left: 102px;
  line-height: 1.25;
  position: absolute;
  top: 22px;
  z-index: 2;
}

.quick-links {
  display: flex;
  flex-direction: column;
}

.quick-links h2 {
  margin-bottom: 18px;
}

.quick-links button {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 12px;
  margin: 0 0 14px;
  padding: 0;
}

.footer-brand-lockup {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0 0 24px;
}

.footer-brand-lockup img {
  background: #fff;
  border-radius: 12px;
  display: block;
  height: 70px;
  object-fit: contain;
  padding: 4px;
  width: 70px;
}

.footer-brand-lockup div {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase;
}

.footer-brand-lockup strong {
  color: #fff;
  font-size: 15px;
}

.footer-brand-lockup span {
  color: #75d881;
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(151, 213, 128, 0.48);
  display: flex;
  height: 58px;
  justify-content: space-between;
  overflow: hidden;
}

.footer-bottom p {
  font-size: 11px;
  margin: 0;
}

.footer-pulse {
  height: 50px;
  opacity: 0.72;
  position: relative;
  width: 140px;
}

.footer-pulse::before {
  background: #8ccb69;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 25px;
}

.footer-pulse::after {
  border-left: 2px solid #8ccb69;
  border-right: 2px solid #8ccb69;
  content: "";
  height: 42px;
  left: 62px;
  position: absolute;
  top: 4px;
  transform: skewX(-12deg);
  width: 16px;
}

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 10px 28px rgba(7, 52, 40, 0.3);
  color: #fff;
  display: flex;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 24px;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
  width: 58px;
  z-index: 100;
}

.whatsapp-float:hover {
  box-shadow: 0 13px 32px rgba(7, 52, 40, 0.4);
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 4px;
}

@media (max-width: 1120px) {
  .shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header nav {
    gap: 36px;
  }

  .hero-copy {
    width: 57%;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-benefits {
    gap: 13px;
  }

  .hero-benefit {
    min-width: 0;
  }

  .offer-card {
    grid-template-columns: 220px 215px minmax(0, 1fr) auto;
  }

  .offer-benefits {
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card {
    padding: 18px 23px;
  }

  .footer-grid > section {
    padding: 0 20px;
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header.is-scrolled {
    height: 76px;
  }

  .brand-logo {
    height: 56px;
    width: 56px;
  }

  .brand-copy strong,
  .brand-copy > span {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 14px;
  }

  .menu-button {
    display: grid;
  }

  .site-header nav {
    align-items: stretch;
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 15px 28px rgba(8, 63, 89, 0.16);
    display: none;
    flex-direction: column;
    gap: 0;
    height: auto;
    left: 0;
    padding: 10px 24px 18px;
    position: absolute;
    right: 0;
    top: 76px;
  }

  .site-header nav.open {
    display: flex;
  }

  .site-header nav button,
  .site-header nav a {
    border-bottom: 1px solid #e8eff1;
    justify-content: flex-start;
    padding: 15px 0;
    text-align: left;
  }

  .site-header nav button::after,
  .site-header nav a::after {
    display: none;
  }

  .hero {
    height: 720px;
  }

  .hero-photo {
    background-position: 58% center;
    inset: 0 0 72px 0;
  }

  .hero-wash {
    background:
      linear-gradient(
        90deg,
        rgba(0, 31, 75, 0.94) 0%,
        rgba(0, 42, 88, 0.82) 43%,
        rgba(1, 53, 92, 0.32) 73%,
        rgba(0, 28, 60, 0.08) 100%
      ),
      linear-gradient(180deg, transparent, rgba(0, 32, 61, 0.12));
    bottom: 70px;
  }

  .hero-copy {
    padding-top: 65px;
    width: 67%;
  }

  .hero-copy h1 {
    font-size: 49px;
  }

  .hero-benefits {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-divider {
    max-width: 100%;
    width: 400px;
  }

  .hero-divider span {
    flex: 1;
  }

  .hero-wave {
    height: 128px;
  }

  .offers-section {
    padding-top: 0;
  }

  .offer-card {
    grid-template-columns: 230px 1fr auto;
    padding-bottom: 38px;
  }

  .offer-family {
    height: 150px;
  }

  .offer-copy {
    padding-right: 10px;
  }

  .offer-content {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .offer-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-controls {
    grid-column: 3;
    grid-row: 1;
  }

  .department-layout {
    grid-template-columns: 190px 1fr;
  }

  .doctor-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .department-summary {
    min-height: 478px;
  }

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

  .service-card.wide {
    grid-column: auto;
  }

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

  .footer-grid > section {
    border-right: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0 30px;
  }

  .footer-grid > section:nth-child(2) {
    border-right: 0;
  }

  .footer-grid > section:nth-child(3),
  .footer-grid > section:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 26px;
  }

  .footer-grid > section:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    padding-left: 17px;
    padding-right: 17px;
  }

  .brand-logo {
    height: 52px;
    width: 52px;
  }

  .brand-button {
    gap: 9px;
  }

  .brand-copy strong,
  .brand-copy > span {
    font-size: 13px;
  }

  .brand-copy small {
    font-size: 13px;
  }

  .whatsapp-float {
    bottom: 16px;
    height: 54px;
    right: 16px;
    width: 54px;
  }

  .hero {
    background: #fff;
    height: 746px;
  }

  .hero-photo {
    background-position: 56% center;
    inset: 250px 0 62px;
  }

  .hero-wash {
    background: linear-gradient(
      180deg,
      #fff 0%,
      #fff 30%,
      rgba(255, 255, 255, 0.94) 39%,
      rgba(255, 255, 255, 0.26) 60%,
      rgba(0, 36, 73, 0.12) 100%
    );
    inset: 0 0 61px;
  }

  .hero-copy {
    padding-top: 38px;
    width: 100%;
  }

  .hero-copy h1 {
    color: var(--navy);
    font-size: 38px;
    letter-spacing: -1.4px;
  }

  .hero-copy h1 span {
    color: #078a99;
  }

  .hero-divider {
    color: #118c9a;
    margin: 13px 0;
    width: 330px;
  }

  .hero-divider span {
    background: #45a6b0;
  }

  .hero-copy > p {
    color: #0d1720;
    font-size: 14px;
  }

  .hero-benefits {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
    padding: 10px 7px;
  }

  .hero-benefit {
    color: #111c24;
    flex-direction: column;
    font-size: 9px;
    gap: 5px;
    text-align: center;
  }

  .hero-benefit-icon {
    background: #e2f3f5;
    border: 0;
    color: #068ca0;
    height: 36px;
    width: 36px;
  }

  .primary-cta {
    gap: 26px;
    height: 46px;
    margin-top: 5px;
    padding-left: 25px;
  }

  .hero-wave {
    height: 94px;
  }

  .offers-section {
    padding: 0 0 30px;
  }

  .offer-card {
    display: grid;
    gap: 8px;
    grid-template-columns: 44% 1fr;
    padding: 14px 13px 48px;
  }

  .offer-family {
    height: 138px;
  }

  .offer-copy {
    padding: 0;
  }

  .offer-copy h2 {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 11px;
  }

  .offer-copy p {
    font-size: 10px;
    line-height: 1.55;
  }

  .offer-content {
    gap: 7px;
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .offer-benefits {
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-benefits article {
    min-height: 122px;
    padding: 25px 5px 9px;
  }

  .offer-group-tab {
    min-height: 49px;
    padding: 6px 8px;
  }

  .offer-group-tab-copy strong {
    font-size: 9px;
  }

  .offer-group-tab-copy small {
    font-size: 7px;
  }

  .offer-icon {
    height: 32px;
  }

  .offer-icon svg {
    height: 29px;
    width: 29px;
  }

  .offer-benefits h3 {
    font-size: 9px;
    margin: 4px 0 6px;
    min-height: 27px;
  }

  .offer-benefits strong {
    font-size: 16px;
  }

  .offer-benefits small {
    font-size: 8px;
    line-height: 1.35;
    margin-top: 5px;
  }

  .offer-controls {
    bottom: 10px;
    flex-direction: row;
    grid-column: auto;
    grid-row: auto;
    position: absolute;
    right: 12px;
  }

  .offer-controls button {
    height: 32px;
    width: 32px;
  }

  .offer-dots {
    bottom: 20px;
    left: 17px;
    right: auto;
  }

  .departments-section {
    padding-bottom: 50px;
  }

  .section-title {
    gap: 10px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .pulse-line {
    width: 48px;
  }

  .pulse-line::after {
    left: 20px;
  }

  .department-layout {
    display: block;
  }

  .department-summary {
    display: grid;
    gap: 4px 12px;
    grid-template-columns: 48px 1fr;
    margin-bottom: 14px;
    min-height: 0;
    padding: 17px;
  }

  .department-kicker {
    grid-column: 2;
    margin: 0;
  }

  .department-summary > svg {
    grid-column: 1;
    grid-row: 1 / 4;
    margin: 0;
    width: 44px;
  }

  .department-summary h3 {
    font-size: 20px;
    grid-column: 2;
    margin: 0;
  }

  .department-summary p {
    font-size: 11px;
    grid-column: 2;
    line-height: 1.5;
    margin-top: 4px;
  }

  .department-count {
    grid-column: 2;
    margin-top: 9px;
  }

  .group-navigation {
    grid-column: 1 / 3;
    margin-top: 12px;
  }

  .doctor-carousel-shell {
    margin: 0 -17px;
    padding-bottom: 41px;
  }

  .doctor-cards {
    gap: 12px;
    margin: 0;
    padding: 0 9vw 10px;
    scroll-padding-inline: 9vw;
    scroll-snap-type: x mandatory;
  }

  .doctor-card {
    flex: 0 0 min(82vw, 350px);
    scroll-snap-align: center;
  }

  .doctor-photo {
    height: 355px;
  }

  .doctor-info {
    min-height: 229px;
    padding: 16px;
  }

  .doctor-info h3 {
    font-size: 16px;
  }

  .doctor-info p {
    font-size: 11.5px;
  }

  .doctor-info time {
    font-size: 11px;
  }

  .doctor-carousel-arrow {
    top: 156px;
  }

  .doctor-carousel-arrow--previous {
    left: 3px;
  }

  .doctor-carousel-arrow--next {
    right: 3px;
  }

  .doctor-progress {
    bottom: 4px;
  }

  .services-section {
    padding-top: 15px;
  }

  .service-grid {
    gap: 9px;
    grid-template-columns: 1fr;
  }

  .service-card {
    gap: 18px;
    min-height: 92px;
    padding: 14px 22px;
  }

  .service-card.wide {
    grid-column: auto;
  }

  .service-card strong {
    font-size: 13px;
  }

  .site-footer {
    padding-top: 28px;
  }

  .footer-grid {
    display: block;
  }

  .footer-grid > section {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 0;
    padding: 0 0 26px;
  }

  .footer-grid > section + section {
    padding-top: 26px;
  }

  .footer-grid > section:last-child {
    border: 0;
  }

  .footer-email {
    font-size: 11px;
  }

  .footer-brand-lockup img {
    height: 64px;
    width: 64px;
  }

  .footer-bottom {
    height: 70px;
  }

  .footer-bottom p {
    font-size: 9px;
  }

  .footer-pulse {
    width: 70px;
  }
}

@media (max-width: 420px) {
  .offer-benefits {
    grid-template-columns: 1fr;
  }

  .offer-group-tab {
    gap: 5px;
    padding: 6px;
  }

  .offer-group-tab-icon {
    flex-basis: 30px;
    height: 30px;
  }

  .offer-group-tab-copy strong {
    font-size: 8px;
  }

  .offer-group-tab-copy small {
    font-size: 6.5px;
  }
}

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

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

/* Contact page */
.contact-hero {
  background: #f8fbfd;
  height: 455px;
  overflow: hidden;
  position: relative;
}

.contact-hero-photo {
  inset: 0 0 42px 32%;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.contact-hero-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  width: 100%;
}

.contact-hero-wash {
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.99) 26%,
    rgba(255, 255, 255, 0.9) 38%,
    rgba(255, 255, 255, 0.26) 53%,
    transparent 67%
  );
  inset: 0 0 42px;
  pointer-events: none;
  position: absolute;
}

.contact-hero-inner {
  height: calc(100% - 42px);
  position: relative;
  z-index: 2;
}

.contact-hero-copy {
  padding-top: 64px;
  width: 43%;
}

.contact-hero-copy h1 {
  color: var(--navy);
  font-size: clamp(45px, 4.3vw, 58px);
  letter-spacing: -1.9px;
  line-height: 1;
  margin: 0;
}

.contact-title-divider {
  align-items: center;
  color: #118c9a;
  display: flex;
  gap: 12px;
  margin: 20px 0 18px;
  width: 330px;
}

.contact-title-divider span {
  background: #45a6b0;
  height: 2px;
  width: 137px;
}

.contact-title-divider b {
  font-size: 13px;
}

.contact-hero-copy > p {
  color: #111c24;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 25px;
}

.contact-immediate-help {
  align-items: center;
  display: flex;
  gap: 17px;
}

.contact-immediate-help > span {
  align-items: center;
  background: #e7f5f7;
  border-radius: 50%;
  color: #007d99;
  display: flex;
  flex: 0 0 52px;
  height: 52px;
  justify-content: center;
}

.contact-immediate-help strong {
  color: #00778e;
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-immediate-help p {
  color: #1b2730;
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
}

.contact-hero-wave {
  bottom: -1px;
  height: 105px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 4;
}

.contact-hero-wave svg {
  height: 100%;
  width: 100%;
}

.contact-content {
  background: linear-gradient(180deg, #f7fbfd 0%, #fff 32%);
  padding: 16px 0 0;
}

.contact-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: 350px minmax(0, 1fr);
}

.contact-details-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-details-card,
.visit-planner-card,
.contact-location {
  background: #fff;
  border: 1px solid #dce9ed;
  border-radius: 17px;
  box-shadow: 0 6px 19px rgba(17, 70, 95, 0.08);
}

.contact-details-card {
  flex: 1;
  padding: 20px 25px 8px;
}

.contact-details-card h2,
.visit-planner-card h2,
.contact-location h2 {
  color: #0c3c86;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.contact-heading-rule {
  background: #078b9d;
  height: 2px;
  margin: 10px 0 4px;
  width: 52px;
}

.contact-detail-item {
  align-items: center;
  border-bottom: 1px solid #e6edf0;
  color: inherit;
  display: flex;
  gap: 17px;
  min-height: 98px;
  padding: 13px 0;
  text-decoration: none;
}

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

.contact-detail-icon {
  align-items: center;
  background: #eaf6f8;
  border-radius: 50%;
  color: #00829c;
  display: flex;
  flex: 0 0 52px;
  height: 52px;
  justify-content: center;
}

.contact-detail-item > span:last-child {
  min-width: 0;
}

.contact-detail-item strong {
  color: #0b3c87;
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}

.contact-detail-item small {
  color: #172833;
  display: block;
  font-size: 11px;
  line-height: 1.65;
}

.contact-detail-item[href] {
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.contact-detail-item[href]:hover {
  transform: translateX(3px);
}

.working-hours {
  display: grid !important;
  gap: 2px 8px;
  grid-template-columns: auto 1fr;
}

.emergency-card {
  align-items: center;
  background: linear-gradient(110deg, #fffafa, #fff);
  border: 1px solid #ffe2e2;
  border-radius: 16px;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: 45px 1fr 1px 52px;
  min-height: 130px;
  padding: 16px 18px;
  text-decoration: none;
}

.emergency-icon {
  color: #f2212f;
  display: flex;
}

.emergency-card strong {
  color: #f2212f;
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.emergency-card small {
  color: #3b3031;
  display: block;
  font-size: 10px;
  line-height: 1.55;
}

.emergency-divider {
  background: #f5caca;
  height: 78px;
}

.emergency-phone {
  align-items: center;
  background: #ee2633;
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 43px;
  justify-content: center;
  width: 43px;
}

.visit-planner-card {
  overflow: hidden;
  padding: 20px 28px 24px;
}

.visit-intro {
  color: #3d505b;
  font-size: 11.5px;
  line-height: 1.65;
  margin: 11px 0 16px;
  max-width: 600px;
}

.visit-photo {
  border-radius: 13px;
  height: 174px;
  overflow: hidden;
  position: relative;
}

.visit-photo::after {
  background: linear-gradient(
    90deg,
    rgba(1, 40, 72, 0.82),
    rgba(1, 49, 74, 0.12) 70%
  );
  content: "";
  inset: 0;
  position: absolute;
}

.visit-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
  width: 100%;
}

.visit-photo-copy {
  bottom: 18px;
  color: #fff;
  left: 21px;
  position: absolute;
  z-index: 1;
}

.visit-photo-copy span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.visit-photo-copy strong {
  color: #bff6e5;
  display: block;
  font-family: "Dancing Script", cursive;
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  margin-top: 3px;
}

.visit-journey {
  margin-top: 17px;
}

.visit-journey h3 {
  color: #0c3c86;
  font-size: 13px;
  margin: 0 0 12px;
}

.visit-journey ol {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.visit-journey li {
  align-items: flex-start;
  background: linear-gradient(145deg, #f5fbfc, #fff);
  border: 1px solid #deecef;
  border-radius: 11px;
  display: flex;
  gap: 10px;
  min-height: 84px;
  padding: 13px 11px;
}

.visit-journey li > b {
  align-items: center;
  background: #e4f5f6;
  border-radius: 50%;
  color: #05869a;
  display: flex;
  flex: 0 0 31px;
  font-size: 9px;
  height: 31px;
  justify-content: center;
}

.visit-journey li strong {
  color: #0b3c87;
  display: block;
  font-size: 10.5px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.visit-journey li small {
  color: #52626b;
  display: block;
  font-size: 8.5px;
  line-height: 1.45;
}

.visit-ready {
  align-items: center;
  background: linear-gradient(105deg, #f1f8fb, #fafcfd);
  border-radius: 11px;
  display: flex;
  gap: 16px;
  margin-top: 14px;
  min-height: 76px;
  padding: 13px 18px;
}

.visit-ready-icon {
  color: #05849b;
  display: flex;
}

.visit-ready strong {
  color: #0c3c86;
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}

.visit-ready p {
  color: #394c57;
  font-size: 9px;
  line-height: 1.5;
  margin: 0;
}

.visit-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.visit-actions a {
  align-items: center;
  border-radius: 7px;
  display: flex;
  font-size: 11px;
  font-weight: 600;
  gap: 9px;
  height: 42px;
  justify-content: center;
  text-decoration: none;
  transition:
    box-shadow 150ms ease,
    transform 150ms ease;
}

.visit-actions a:hover {
  transform: translateY(-1px);
}

.visit-call {
  background: linear-gradient(90deg, #058b9d, #00788b);
  color: #fff;
}

.visit-call:hover {
  box-shadow: 0 8px 18px rgba(3, 128, 146, 0.2);
}

.visit-directions {
  background: #fff;
  border: 1px solid #078b9d;
  color: #087b8d;
}

.contact-gallery {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0 18px;
}

.contact-gallery figure {
  margin: 0;
  min-width: 0;
}

.contact-gallery img {
  border-radius: 10px;
  display: block;
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.contact-gallery figure:nth-child(2) img {
  object-position: center;
}

.contact-gallery figure:nth-child(3) img {
  object-position: center;
}

.contact-gallery figure:nth-child(4) img {
  object-position: center 54%;
}

.contact-gallery figcaption {
  color: #172833;
  font-size: 11px;
  margin-top: 7px;
  text-align: center;
}

.contact-location {
  margin-bottom: 0;
  padding: 15px;
}

.contact-location h2 {
  font-size: 19px;
  margin: 0 0 10px 10px;
}

.contact-map-wrap {
  border-radius: 10px;
  height: 340px;
  overflow: hidden;
  position: relative;
}

.contact-map-wrap iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.contact-map-address {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 8px;
  box-shadow: 0 3px 13px rgba(24, 64, 88, 0.14);
  left: 14px;
  padding: 16px;
  position: absolute;
  top: 14px;
  width: 205px;
  z-index: 2;
}

.contact-map-address strong {
  color: #182a34;
  font-size: 12px;
}

.contact-map-address p {
  color: #263640;
  font-size: 11px;
  line-height: 1.45;
  margin: 7px 0 13px;
}

.contact-map-address a {
  color: #087fd1;
  font-size: 11px;
  text-decoration: none;
}

.contact-page .site-footer {
  margin-top: 7px;
}

@media (max-width: 1120px) {
  .contact-grid {
    grid-template-columns: 315px minmax(0, 1fr);
  }

  .contact-details-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-gallery img {
    height: 155px;
  }
}

@media (max-width: 900px) {
  .contact-hero {
    height: 500px;
  }

  .contact-hero-copy {
    width: 48%;
  }

  .contact-hero-photo {
    left: 34%;
  }

  .contact-grid {
    grid-template-columns: 285px minmax(0, 1fr);
  }

  .contact-detail-item {
    gap: 12px;
  }

  .contact-detail-icon {
    flex-basis: 45px;
    height: 45px;
  }

  .emergency-card {
    gap: 10px;
    grid-template-columns: 38px 1fr 1px 44px;
    padding: 14px 12px;
  }

  .emergency-phone {
    height: 39px;
    width: 39px;
  }

  .visit-planner-card {
    padding: 20px;
  }

  .visit-journey ol {
    gap: 8px;
  }

  .contact-gallery {
    gap: 10px;
  }

  .contact-gallery img {
    height: 135px;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    height: 690px;
  }

  .contact-hero-photo {
    inset: 255px 0 65px;
  }

  .contact-hero-photo img {
    object-position: center;
  }

  .contact-hero-wash {
    background: linear-gradient(
      180deg,
      #fff 0%,
      #fff 34%,
      rgba(255, 255, 255, 0.78) 48%,
      rgba(255, 255, 255, 0.08) 74%
    );
    inset: 0 0 64px;
  }

  .contact-hero-copy {
    padding-top: 42px;
    width: 100%;
  }

  .contact-hero-copy h1 {
    font-size: 45px;
  }

  .contact-hero-copy > p {
    font-size: 14px;
  }

  .contact-immediate-help {
    max-width: 370px;
  }

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

  .contact-details-card {
    padding-bottom: 6px;
  }

  .contact-detail-item {
    min-height: 88px;
  }

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

  .contact-gallery img {
    height: 190px;
  }
}

@media (max-width: 520px) {
  .contact-hero {
    height: 650px;
  }

  .contact-hero-photo {
    inset: 275px 0 62px;
  }

  .contact-hero-copy {
    padding-top: 34px;
  }

  .contact-hero-copy h1 {
    font-size: 39px;
  }

  .contact-title-divider {
    margin: 14px 0;
    max-width: 100%;
    width: 290px;
  }

  .contact-title-divider span {
    flex: 1;
  }

  .contact-hero-copy > p {
    line-height: 1.5;
    margin-bottom: 17px;
  }

  .contact-immediate-help {
    gap: 12px;
  }

  .contact-immediate-help > span {
    flex-basis: 44px;
    height: 44px;
  }

  .contact-immediate-help strong {
    font-size: 12px;
  }

  .contact-immediate-help p {
    font-size: 9px;
  }

  .contact-hero-wave {
    height: 86px;
  }

  .contact-details-card h2,
  .visit-planner-card h2 {
    font-size: 20px;
  }

  .contact-detail-item {
    min-height: 83px;
  }

  .contact-detail-item small {
    font-size: 10px;
  }

  .emergency-card {
    grid-template-columns: 36px 1fr 1px 40px;
  }

  .emergency-icon svg {
    height: 36px;
    width: 36px;
  }

  .emergency-card small {
    font-size: 9px;
  }

  .visit-photo {
    height: 160px;
  }

  .visit-journey ol {
    grid-template-columns: 1fr;
  }

  .visit-journey li {
    min-height: 0;
  }

  .visit-actions {
    grid-template-columns: 1fr;
  }

  .contact-gallery img {
    height: 130px;
  }

  .contact-map-wrap {
    height: 390px;
  }

  .contact-map-address {
    width: 190px;
  }
}
