:root {
  --red: #b71924;
  --red-dark: #90131b;
  --red-soft: #f8e9eb;
  --ink: #172b38;
  --ink-2: #304552;
  --text: #43545e;
  --muted: #6d7b83;
  --line: #dce5e8;
  --mist: #eef5f6;
  --cloud: #f7faf9;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(21, 46, 59, 0.08);
  --shadow-lg: 0 28px 70px rgba(13, 35, 48, 0.18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shell: 1200px;
}

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

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

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #e44550;
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.utility-bar {
  color: rgba(255, 255, 255, 0.86);
  background: var(--ink);
  font-size: 0.82rem;
  line-height: 1.4;
}

.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  background: #7bd49b;
  border: 2px solid rgba(123, 212, 155, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(123, 212, 155, 0.11);
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 160ms ease;
}

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

.utility-links svg,
.hero-actions svg,
.hero-address svg,
.mobile-call svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 229, 232, 0.9);
  backdrop-filter: blur(16px);
  transition: box-shadow 200ms ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 34px rgba(20, 45, 58, 0.09);
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  width: 148px;
  flex: 0 0 auto;
}

.brand img {
  width: 148px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 650;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 12px;
}

.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--red);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(183, 25, 36, 0.2);
  transition: background 160ms ease, transform 160ms ease;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 23px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: clamp(610px, 76vh, 790px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #17303d;
}

.hero-slides,
.hero-slide,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 900ms ease, transform 6500ms ease;
}

.hero-slide:nth-child(2) {
  object-position: center 60%;
}

.hero-slide:nth-child(3) {
  object-position: center 48%;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 34, 47, 0.92) 0%, rgba(12, 34, 47, 0.76) 42%, rgba(12, 34, 47, 0.22) 74%, rgba(12, 34, 47, 0.06) 100%),
    linear-gradient(0deg, rgba(12, 34, 47, 0.35), transparent 36%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  padding-block: 84px 105px;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ffb2b7;
}

.hero h1,
.section-heading h2,
.story-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.24);
}

.hero h1 em {
  color: #ffb0b5;
  font-weight: inherit;
}

.hero-lead {
  max-width: 640px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 32px rgba(145, 15, 25, 0.3);
}

.button-primary:hover {
  background: #ca202b;
  box-shadow: 0 17px 38px rgba(145, 15, 25, 0.38);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
}

.button-outline {
  color: var(--ink);
  background: var(--white);
  border-color: #b9c7cc;
}

.button-outline:hover {
  color: var(--red);
  border-color: var(--red);
}

.hero-address {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--shell)) / 2));
  bottom: 33px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-dots button.active {
  width: 48px;
  background: var(--white);
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid rgba(218, 229, 232, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.trust-grid article {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 34px;
}

.trust-grid article + article {
  border-left: 1px solid var(--line);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.trust-grid article div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.trust-number {
  min-width: 74px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.trust-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 50%;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding-block: 118px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 54px;
}

.section-heading h2,
.story-copy h2,
.contact-copy h2 {
  font-size: clamp(2.45rem, 4.5vw, 4rem);
}

.section-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  background: var(--cloud);
  border: 1px solid #e4ebed;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: #cbd8dc;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.service-card.featured {
  grid-column: span 2;
  min-height: 320px;
  position: relative;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(115deg, rgba(18, 44, 58, 0.96), rgba(18, 44, 58, 0.79)),
    url("images/reception-waiting-area-02.webp") center / cover;
  border-color: transparent;
  overflow: hidden;
}

.service-card.featured::after {
  content: "24/7";
  position: absolute;
  top: -25px;
  right: 18px;
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7.7rem;
  font-weight: 700;
  line-height: 1;
}

.service-card h3 {
  margin: 20px 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.18;
}

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

.service-card.featured h3 {
  margin-top: 0;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
}

.service-card.featured p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
}

.service-card.featured a {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 750;
}

.service-kicker {
  margin-bottom: 6px !important;
  color: #ffb5bb !important;
  font-size: 0.74rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--red);
  background: var(--white);
  border: 1px solid #e1e8ea;
  border-radius: 15px;
  box-shadow: 0 9px 24px rgba(21, 46, 59, 0.06);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card.featured .service-icon {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.services-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.story-section {
  background: var(--mist);
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(54px, 8vw, 105px);
}

.story-images {
  min-height: 590px;
  position: relative;
}

.story-images figure {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-main {
  width: 82%;
  height: 520px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius-lg);
}

.story-detail {
  width: 45%;
  height: 280px;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 8px solid var(--mist);
  border-radius: 26px;
}

.since-badge {
  width: 148px;
  height: 148px;
  position: absolute;
  right: 21%;
  bottom: 44px;
  display: grid;
  place-content: center;
  color: var(--white);
  background: var(--red);
  border: 8px solid var(--mist);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 15px 34px rgba(137, 13, 23, 0.26);
}

.since-badge strong,
.since-badge span {
  display: block;
}

.since-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.since-badge span {
  margin-top: 6px;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.story-copy > p:not(.eyebrow) {
  margin: 21px 0 0;
}

.story-copy .large-copy {
  color: var(--ink-2);
  font-size: 1.08rem;
}

.story-copy strong {
  color: var(--ink);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid #cbd9dc;
}

.timeline div {
  position: relative;
  padding: 21px 12px 0 0;
}

.timeline div::before {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  top: -5px;
  left: 0;
  background: var(--red);
  border: 3px solid var(--mist);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--red);
}

.timeline span {
  color: var(--red);
  font-size: 0.77rem;
  font-weight: 800;
}

.timeline p {
  margin: 6px 0 0 !important;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.purpose-section {
  position: relative;
  padding-block: 94px;
  color: rgba(255, 255, 255, 0.77);
  background:
    radial-gradient(circle at 86% 10%, rgba(183, 25, 36, 0.24), transparent 34%),
    var(--ink);
  overflow: hidden;
}

.purpose-section::before {
  content: "+";
  position: absolute;
  right: -36px;
  bottom: -148px;
  color: rgba(255, 255, 255, 0.03);
  font-family: Arial, sans-serif;
  font-size: 33rem;
  font-weight: 100;
  line-height: 1;
}

.purpose-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(55px, 9vw, 130px);
}

.purpose-grid article + article {
  padding-left: clamp(35px, 5vw, 70px);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.purpose-grid blockquote {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.purpose-grid article > p:last-child {
  margin: 0;
  font-size: 1rem;
}

.gallery-section {
  background: var(--white);
}

.gallery-heading {
  margin-bottom: 45px;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 150px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  min-height: 0;
  position: relative;
  grid-row: span 2;
  padding: 0;
  background: var(--mist);
  border: 0;
  border-radius: 15px;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.3, 1), filter 250ms ease;
}

.gallery-item::after {
  content: "+";
  width: 44px;
  height: 44px;
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.91);
  border-radius: 50%;
  box-shadow: 0 7px 20px rgba(8, 27, 38, 0.16);
  font-size: 1.35rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 7px 11px;
  color: var(--white);
  background: rgba(17, 41, 54, 0.74);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

.gallery-item:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.045);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-extra {
  display: none;
}

.gallery-grid.expanded .gallery-extra {
  display: block;
}

.gallery-action {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.contact-section {
  padding-block: 108px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(100deg, rgba(19, 45, 59, 0.97), rgba(19, 45, 59, 0.87)),
    url("images/central-nursing-home-night-exterior.webp") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  align-items: center;
  gap: clamp(60px, 9vw, 120px);
}

.contact-copy h2 {
  max-width: 560px;
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 550px;
  margin: 24px 0 0;
  font-size: 1.04rem;
}

.contact-list {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}

.contact-list > a {
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-list > a:hover strong {
  color: #ffb8bd;
}

.contact-list > a > span {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  color: #ffb8bd;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.contact-list svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list small,
.contact-list strong {
  display: block;
}

.contact-list small {
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-list strong {
  margin-top: 1px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
  transition: color 160ms ease;
  overflow-wrap: anywhere;
}

.enquiry-card {
  padding: clamp(30px, 4.5vw, 52px);
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.enquiry-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.enquiry-card > p {
  margin: 11px 0 28px;
  color: var(--muted);
  font-size: 0.89rem;
}

.enquiry-card form,
.enquiry-card label {
  display: grid;
}

.enquiry-card form {
  gap: 18px;
}

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

.enquiry-card label {
  gap: 7px;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 750;
}

.enquiry-card input,
.enquiry-card textarea {
  width: 100%;
  color: var(--ink);
  background: #f8faf9;
  border: 1px solid #d6e0e3;
  border-radius: 11px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.enquiry-card input {
  min-height: 50px;
  padding: 0 14px;
}

.enquiry-card textarea {
  min-height: 128px;
  padding: 12px 14px;
  resize: vertical;
}

.enquiry-card input:focus,
.enquiry-card textarea:focus {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(183, 25, 36, 0.09);
}

.enquiry-card input::placeholder,
.enquiry-card textarea::placeholder {
  color: #96a2a8;
  font-weight: 450;
}

.enquiry-card .button {
  justify-self: start;
  margin-top: 3px;
}

.form-status {
  min-height: 1.4em;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer {
  color: #90a1aa;
  background: #0e202b;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.9fr 1.05fr;
  gap: clamp(34px, 5vw, 75px);
  padding-block: 68px;
}

.footer-brand img {
  width: 150px;
  height: auto;
  padding: 8px;
  background: var(--white);
  border-radius: 12px;
}

.footer-brand p {
  max-width: 300px;
  margin: 20px 0 0;
  font-size: 0.87rem;
}

.footer-main h2 {
  margin: 0 0 19px;
  color: var(--white);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-main > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-main a,
.footer-main address {
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.65;
}

.footer-main a {
  transition: color 160ms ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

.mobile-call {
  display: none;
}

.lightbox {
  width: min(94vw, 1320px);
  height: min(92vh, 920px);
  max-width: none;
  max-height: none;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(6, 17, 23, 0.93);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 12px;
  margin: 0;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92vh - 65px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.lightbox figcaption {
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 160ms ease, transform 160ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.lightbox-close {
  width: 46px;
  height: 46px;
  top: 22px;
  right: 24px;
  font-size: 2rem;
  font-weight: 200;
  line-height: 1;
}

.lightbox-nav {
  width: 52px;
  height: 52px;
  top: 50%;
  font-size: 2.5rem;
  font-weight: 200;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-nav.previous {
  left: 22px;
}

.lightbox-nav.next {
  right: 22px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card.featured {
    grid-column: span 2;
  }

  .story-grid {
    gap: 56px;
  }

  .story-images {
    min-height: 520px;
  }

  .story-main {
    height: 455px;
  }

  .story-detail {
    height: 240px;
  }

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

  .contact-grid {
    gap: 60px;
  }

  .footer-main {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 38px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 92px;
  }

  .utility-links a:last-child {
    display: none;
  }

  .header-inner {
    min-height: 80px;
  }

  .brand,
  .brand img {
    width: 122px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 1001;
    top: 118px;
    right: 24px;
    left: 24px;
    display: grid;
    gap: 2px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav > a:not(.nav-cta) {
    padding: 12px 14px;
    border-radius: 9px;
  }

  .primary-nav > a:not(.nav-cta):hover,
  .primary-nav > a.active:not(.nav-cta) {
    color: var(--red);
    background: var(--red-soft);
  }

  .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 5px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-scrim {
    background: linear-gradient(90deg, rgba(11, 32, 44, 0.91), rgba(11, 32, 44, 0.62));
  }

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

  .trust-grid article {
    min-height: 96px;
  }

  .trust-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding-block: 92px;
  }

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

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

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

  .story-images {
    width: min(100%, 670px);
  }

  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .purpose-grid article + article {
    padding-top: 43px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

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

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

  .contact-copy {
    max-width: 650px;
  }

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

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  body {
    padding-bottom: 68px;
  }

  .utility-inner {
    min-height: 36px;
    justify-content: center;
  }

  .utility-links {
    display: none;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand,
  .brand img {
    width: 108px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .primary-nav {
    top: 102px;
    right: 15px;
    left: 15px;
  }

  .hero {
    min-height: calc(100svh - 68px);
  }

  .hero-slide {
    object-position: 61% center;
  }

  .hero-slide:nth-child(2),
  .hero-slide:nth-child(3) {
    object-position: center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(10, 31, 42, 0.25), rgba(10, 31, 42, 0.88) 63%, rgba(10, 31, 42, 0.97)),
      linear-gradient(90deg, rgba(10, 31, 42, 0.67), rgba(10, 31, 42, 0.18));
  }

  .hero-layout {
    align-self: end;
    padding-block: 100px 78px;
  }

  .hero h1 {
    font-size: clamp(2.72rem, 13vw, 4rem);
  }

  .hero-lead {
    margin-top: 21px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 27px;
  }

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

  .hero-address {
    align-items: flex-start;
    font-size: 0.8rem;
  }

  .hero-dots {
    right: 15px;
    bottom: 27px;
  }

  .trust-strip {
    margin-top: 0;
    padding-block: 18px 0;
    background: var(--cloud);
  }

  .trust-grid {
    box-shadow: var(--shadow-sm);
  }

  .trust-grid article {
    min-height: 88px;
    padding: 19px 21px;
  }

  .trust-number {
    min-width: 58px;
    font-size: 1.7rem;
  }

  .trust-icon {
    width: 44px;
    height: 44px;
  }

  .section {
    padding-block: 75px;
  }

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

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

  .section-heading h2,
  .story-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .section-heading > p {
    font-size: 0.98rem;
  }

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

  .service-card,
  .service-card.featured {
    grid-column: auto;
    min-height: 0;
  }

  .service-card {
    padding: 26px 24px;
  }

  .service-card.featured {
    min-height: 360px;
  }

  .story-images {
    min-height: 440px;
  }

  .story-main {
    width: 91%;
    height: 382px;
  }

  .story-detail {
    width: 48%;
    height: 190px;
    border-width: 6px;
  }

  .since-badge {
    width: 116px;
    height: 116px;
    right: 28%;
    bottom: 28px;
    border-width: 6px;
  }

  .since-badge strong {
    font-size: 1.55rem;
  }

  .since-badge span {
    font-size: 0.54rem;
  }

  .timeline {
    grid-template-columns: 1fr;
    row-gap: 0;
    margin-top: 30px;
    border-top: 0;
    border-left: 1px solid #cbd9dc;
  }

  .timeline div {
    padding: 0 0 25px 22px;
  }

  .timeline div::before {
    top: 5px;
    left: -5px;
  }

  .purpose-section {
    padding-block: 72px;
  }

  .gallery-grid {
    grid-auto-rows: 130px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .gallery-item::after {
    width: 38px;
    height: 38px;
    top: 11px;
    right: 11px;
    opacity: 1;
    transform: none;
  }

  .gallery-item span {
    left: 12px;
    bottom: 11px;
  }

  .contact-section {
    padding-block: 77px;
  }

  .contact-grid {
    gap: 47px;
  }

  .enquiry-card {
    border-radius: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-block: 54px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 25px;
  }

  .mobile-call {
    height: 56px;
    position: fixed;
    z-index: 950;
    right: 11px;
    bottom: 10px;
    left: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    background: var(--red);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    box-shadow: 0 13px 38px rgba(91, 8, 16, 0.35);
    font-size: 0.95rem;
    font-weight: 800;
  }

  .mobile-call svg {
    width: 20px;
    height: 20px;
  }

  .lightbox {
    width: calc(100vw - 24px);
    height: calc(100vh - 100px);
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .lightbox-nav:hover {
    transform: scale(1.04);
  }

  .lightbox-nav.previous {
    left: 14px;
  }

  .lightbox-nav.next {
    right: 14px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .gallery-grid {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    height: 255px;
  }

  .gallery-item:nth-child(2n) {
    height: 315px;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .utility-bar,
  .nav-toggle,
  .primary-nav,
  .hero-dots,
  .gallery-action,
  .mobile-call,
  .enquiry-card,
  .lightbox {
    display: none !important;
  }

  .site-header {
    position: static;
  }

  .hero {
    min-height: 430px;
  }

  .gallery-extra {
    display: block;
  }
}

/* Refined service hierarchy and organised gallery */
.services-section {
  background:
    radial-gradient(circle at 90% 6%, rgba(183, 25, 36, 0.055), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
}

.services-grid {
  grid-auto-rows: minmax(240px, auto);
  gap: 18px;
}

.service-card {
  min-height: 240px;
  position: relative;
  padding: 25px 25px 27px;
  background: var(--white);
  border: 1px solid #dbe5e8;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(20, 45, 58, 0.055);
  overflow: hidden;
}

.service-card:not(.featured)::before {
  content: "";
  width: 4px;
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(180deg, var(--red), #e3646c);
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover {
  border-color: #e0b6ba;
  box-shadow: 0 18px 44px rgba(20, 45, 58, 0.11);
  transform: translateY(-5px);
}

.service-card:not(.featured):hover::before {
  opacity: 1;
}

.service-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.service-number {
  color: #b3c0c5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card .service-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  background: var(--red-soft);
  border-color: #f0d2d5;
  border-radius: 14px;
  box-shadow: none;
}

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

.service-label {
  margin: 22px 0 6px !important;
  color: var(--red) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.58rem;
  letter-spacing: -0.018em;
}

.service-card > p:last-child,
.service-card > div:last-child > p:last-child {
  color: #61737d;
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-card.featured {
  min-height: 498px;
  grid-column: span 2;
  grid-row: span 2;
  justify-content: space-between;
  padding: 32px 34px 34px;
  background:
    linear-gradient(120deg, rgba(15, 42, 56, 0.98) 0%, rgba(15, 42, 56, 0.91) 50%, rgba(15, 42, 56, 0.68) 100%),
    url("images/reception-waiting-area-02.webp") center / cover;
  border: 0;
  box-shadow: 0 24px 58px rgba(16, 42, 56, 0.2);
}

.service-card.featured::after {
  content: "24/7";
  top: 75px;
  right: -12px;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(6.5rem, 10vw, 9.5rem);
}

.service-card.featured .service-card-top {
  position: relative;
  z-index: 1;
}

.service-card.featured .service-icon {
  position: static;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(8px);
}

.service-card.featured .service-number {
  color: rgba(255, 255, 255, 0.54);
}

.service-feature-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.service-card.featured h3 {
  max-width: 520px;
  margin: 7px 0 14px;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.service-card.featured .service-feature-copy > p:not(.service-kicker) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.79);
  font-size: 1rem;
  line-height: 1.65;
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.service-highlights span {
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.87);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  backdrop-filter: blur(6px);
}

.service-card.featured .service-link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 25px;
  padding-bottom: 4px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card.specialist {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  background: linear-gradient(115deg, #fff 0%, #fff 62%, #f9edef 100%);
  border-color: #ead2d5;
}

.service-card.specialist .service-card-top {
  width: auto;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.service-card.specialist .service-label {
  margin-top: 0 !important;
}

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

.gallery-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
}

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

.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 7px;
  background: #edf3f4;
  border: 1px solid #dde7e9;
  border-radius: 18px;
}

.gallery-tab {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: #52656f;
  background: transparent;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.gallery-tab.active {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(21, 46, 59, 0.18);
}

.gallery-tab span {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

.gallery-tab small {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #788992;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.gallery-tab.active small {
  color: #ffd1d4;
  background: rgba(255, 255, 255, 0.11);
}

.gallery-panels {
  margin-top: 38px;
}

.gallery-panel[hidden] {
  display: none !important;
}

.gallery-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 21px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.gallery-panel-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-panel-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.gallery-panel-heading > p {
  max-width: 485px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: 228px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.gallery-grid-welcome .gallery-item:first-child {
  grid-column: span 2;
}

.gallery-item,
.gallery-item.wide,
.gallery-item.tall {
  min-height: 0;
  height: auto;
  position: relative;
  grid-column: auto;
  grid-row: auto;
  padding: 0;
  background: #dfe8ea;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 42% 0 0;
  background: linear-gradient(0deg, rgba(10, 30, 41, 0.72), transparent);
  pointer-events: none;
}

.gallery-item::after {
  z-index: 2;
  top: 13px;
  right: 13px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .gallery-caption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
  backdrop-filter: none;
}

@media (max-width: 1050px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .service-card.featured {
    min-height: 390px;
    grid-row: auto;
  }

  .service-card {
    min-height: 245px;
  }

  .service-card.specialist {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .gallery-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .gallery-tab {
    min-width: 245px;
    flex: 1 0 245px;
    scroll-snap-align: start;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid-welcome .gallery-item:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.featured,
  .service-card.specialist {
    min-height: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .service-card {
    padding: 24px;
  }

  .service-card.featured {
    min-height: 430px;
    padding: 27px 25px 30px;
  }

  .service-card.specialist {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .service-card.specialist .service-card-top {
    width: 100%;
    flex-direction: row;
  }

  .gallery-panel-heading {
    display: block;
  }

  .gallery-panel-heading > p {
    margin-top: 12px;
    text-align: left;
  }

  .gallery-grid {
    grid-auto-rows: 195px;
  }
}

@media (max-width: 430px) {
  .gallery-grid {
    grid-auto-rows: 245px;
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(2n) {
    height: auto;
  }

  .gallery-grid-welcome .gallery-item:first-child {
    grid-column: auto;
  }
}
