:root {
  --bg: #eef3f6;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #17324b;
  --muted: #58718a;
  --line: rgba(19, 53, 86, 0.12);
  --brand: #0d3b66;
  --brand-soft: #1f6aa5;
  --accent: #c7a76c;
  --shadow: 0 14px 34px rgba(13, 59, 102, 0.08);
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbfd 0%, #eef3f6 55%, #e7eef2 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

body,
button,
input,
textarea,
select {
  overflow-wrap: break-word;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 98px;
  padding: 10px 16px;
  margin-bottom: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 253, 0.9)),
    rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(13, 59, 102, 0.11);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: 178px;
  height: 78px;
  padding: 0 10px;
  border-radius: 14px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.56);
}

.brand-logo {
  width: 100%;
  height: 76px;
  object-fit: contain;
  object-position: center;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
}

.brand strong,
.section-heading h2,
.hero h1,
.doctor-card h3,
.feature-band h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}

.nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 100%;
  min-width: 0;
  gap: 2px;
  min-height: 50px;
  padding: 6px;
  color: #48677f;
  font-size: 0.86rem;
  background: rgba(13, 59, 102, 0.055);
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 999px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav a:hover {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(13, 59, 102, 0.08);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  box-shadow: 0 10px 20px rgba(13, 59, 102, 0.14);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.contact-card a:hover {
  color: var(--brand-soft);
}

.cta-button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta-button {
  min-height: 50px;
  padding: 0 17px;
  border-radius: 12px;
}

.topbar-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cta-button,
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  box-shadow: 0 10px 20px rgba(13, 59, 102, 0.14);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(13, 59, 102, 0.06);
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 999px;
  color: #5d7890;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.language-link:hover {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(13, 59, 102, 0.08);
}

.language-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  box-shadow: 0 10px 20px rgba(13, 59, 102, 0.14);
}

.language-flag {
  font-size: 1rem;
  line-height: 1;
}

.secondary {
  color: var(--brand);
  background: rgba(13, 59, 102, 0.08);
}

.cookie-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100% - 40px));
  padding: 18px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 251, 0.94)),
    var(--surface-strong);
  border: 1px solid rgba(13, 59, 102, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(13, 59, 102, 0.18);
  backdrop-filter: blur(18px);
}

.cookie-notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 1rem;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cta-button:hover,
.primary:hover,
.secondary:hover {
  transform: translateY(-1px);
}

.hero,
.metrics,
.content-grid,
.feature-band,
.location-layout,
.contact-grid {
  display: grid;
  gap: 24px;
}

.hero {
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 30px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy,
.section-heading,
.prose-card,
.doctor-card,
.contact-card,
.district-card,
.services-grid article,
.service-link,
.feature-list article,
.faq-list details {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--brand-soft);
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.feature-band h2 {
  margin: 0;
  line-height: 1.16;
  font-size: clamp(1.9rem, 3.3vw, 3.1rem);
  text-wrap: balance;
}

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

.doctor-card h3 {
  font-size: 1.38rem;
  line-height: 1.28;
}

.lead {
  max-width: 650px;
  font-size: 1.04rem;
  text-wrap: pretty;
}

.lead,
.prose-card p,
.doctor-card p,
.contact-card p,
.faq-list p,
.feature-list p,
.services-grid p,
.service-link p,
.metrics p {
  color: var(--muted);
  line-height: 1.7;
}

.lead,
.prose-card p,
.doctor-card p,
.contact-card p,
.faq-list p,
.feature-list p,
.services-grid p,
.service-link p,
.metrics p,
.services-grid h3,
.service-link h3,
.feature-list h3,
.district-card h3,
.contact-card h3,
.faq-list summary {
  overflow-wrap: break-word;
}

.hero-actions,
.contact-actions,
.trust-list,
.district-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-list,
.district-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.trust-list li,
.district-list li {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(13, 59, 102, 0.07);
  color: var(--brand);
}

.hero-visual img,
.gallery-strip img {
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-visual {
  align-self: stretch;
  min-height: 280px;
  max-height: 390px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.hero-visual img {
  aspect-ratio: 4 / 3;
}

.metrics {
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 48px;
}

.metrics article,
.about-card,
.doctor-card,
.services-grid article,
.service-link,
.feature-list article,
.district-card,
.contact-card,
.faq-list details {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.metrics article,
.services-grid article,
.service-link,
.feature-list article,
.contact-card {
  display: flex;
  flex-direction: column;
}

.metrics strong,
.services-grid h3,
.service-link h3,
.feature-list h3,
.district-card h3,
.contact-card h3,
.faq-list summary {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.32;
}

.metrics p,
.services-grid p,
.service-link p,
.feature-list p,
.contact-card p {
  margin: 10px 0 0;
}

section {
  margin-top: 48px;
  scroll-margin-top: 96px;
}

.seo-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.content-grid {
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

.content-grid .section-heading {
  grid-column: 1 / -1;
}

.clinic-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}

.clinic-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.clinic-gallery picture {
  display: block;
  height: 100%;
}

.clinic-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.clinic-gallery .gallery-feature img {
  aspect-ratio: 16 / 9;
}

.clinic-gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: rgba(13, 59, 102, 0.74);
  backdrop-filter: blur(8px);
  font-size: 0.92rem;
  line-height: 1.35;
}

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

.gallery-strip img {
  aspect-ratio: 16 / 9;
  max-height: 340px;
}

#tedaviler {
  position: relative;
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  max-width: none;
  padding: 26px;
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 95% 0%, rgba(199, 167, 108, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 250, 0.86));
  box-shadow: var(--shadow);
}

.services-heading h2 {
  max-width: 720px;
}

.services-heading p:not(.eyebrow) {
  max-width: 740px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.services-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 360px;
}

.services-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 800;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  counter-reset: service-card;
}

.services-grid article,
.service-link {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.9)),
    var(--surface);
  counter-increment: service-card;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-link::after {
  content: counter(service-card, decimal-leading-zero);
  position: absolute;
  right: 18px;
  top: 18px;
  color: rgba(13, 59, 102, 0.12);
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.service-link h3 {
  max-width: calc(100% - 58px);
}

.service-link:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 106, 165, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(241, 248, 252, 0.96)),
    var(--surface);
  box-shadow: 0 22px 46px rgba(13, 59, 102, 0.13);
}

.service-link p {
  color: var(--muted);
  line-height: 1.68;
}

.service-link span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 14px;
  color: var(--brand-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.service-link span::after {
  content: "→";
  transition: transform 180ms ease;
}

.service-link:hover span::after {
  transform: translateX(4px);
}

.services-grid article::before,
.service-link::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.feature-band {
  grid-template-columns: 0.9fr 1.1fr;
  padding: 28px;
  background: linear-gradient(120deg, #123d61 0%, #2f6f8f 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-band .eyebrow,
.feature-band p {
  color: rgba(255, 255, 255, 0.82);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.feature-list article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.emergency-info {
  position: relative;
}

.emergency-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.emergency-lead-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(235, 244, 250, 0.92)),
    var(--surface);
}

.emergency-lead-card::before {
  content: "7/24";
  position: absolute;
  right: 18px;
  top: 18px;
  color: rgba(13, 59, 102, 0.08);
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1;
}

.emergency-lead-card > * {
  position: relative;
}

.emergency-lead-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.28;
}

.emergency-points {
  display: grid;
  gap: 14px;
}

.emergency-points article {
  padding: 18px;
  border: 1px solid rgba(13, 59, 102, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.emergency-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  font-size: 0.82rem;
  font-weight: 800;
}

.emergency-points h3 {
  margin: 0;
  font-size: 1.02rem;
}

.emergency-points p {
  margin: 8px 0 0;
  color: var(--muted);
}

.reviews-section {
  position: relative;
}

.reviews-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(9, 34, 58, 0.92), rgba(18, 61, 97, 0.86)),
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.18), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(199, 167, 108, 0.24), transparent 34%),
    linear-gradient(135deg, #102f4b 0%, #246595 100%);
  box-shadow: 0 24px 60px rgba(13, 59, 102, 0.18);
}

.reviews-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -155px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.reviews-panel-copy,
.reviews-score-card,
.reviews-trust-row,
.reviews-actions {
  position: relative;
  z-index: 1;
}

.reviews-panel .eyebrow {
  color: rgba(246, 200, 95, 0.94);
}

.reviews-panel h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.reviews-panel-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.72;
}

.reviews-score-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.score-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reviews-score-card strong {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 3.4rem;
  line-height: 0.95;
}

.reviews-score-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.reviews-score-card .stars {
  margin-bottom: 8px;
}

.reviews-trust-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.reviews-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.reviews-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reviews-actions .primary,
.reviews-actions .secondary {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 800;
}

.reviews-actions .primary {
  color: #123d61;
  background: #fff;
  box-shadow: 0 14px 30px rgba(4, 24, 44, 0.2);
}

.reviews-actions .secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.reviews-actions .primary:hover,
.reviews-actions .secondary:hover {
  color: #fff;
  background: var(--accent);
}

.stars {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  letter-spacing: 3px;
  color: #f6c85f;
  font-size: 1.18rem;
}

.google-reviews-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(290px, 1fr));
  gap: 16px;
  margin-top: 20px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.google-reviews-list::-webkit-scrollbar {
  height: 8px;
}

.google-reviews-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(13, 59, 102, 0.18);
}

.google-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 290px;
  min-height: 360px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.92)),
    var(--surface);
  box-shadow: 0 14px 34px rgba(13, 59, 102, 0.09);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.google-review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 106, 165, 0.2);
  box-shadow: 0 20px 44px rgba(13, 59, 102, 0.13);
}

.google-review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #4285f4 0%, #34a853 34%, #fbbc05 66%, #ea4335 100%);
}

.review-quote {
  position: absolute;
  right: 18px;
  top: 18px;
  color: rgba(13, 59, 102, 0.08);
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 4.8rem;
  line-height: 0.8;
}

.review-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-right: 44px;
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  font-weight: 800;
}

.google-review-card:nth-child(2) .review-avatar {
  background: linear-gradient(135deg, #7a8794 0%, #c7a76c 100%);
}

.google-review-card:nth-child(3) .review-avatar {
  background: linear-gradient(135deg, #b91c5c 0%, #e26d5c 100%);
}

.google-review-card:nth-child(4) .review-avatar {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
}

.google-review-card:nth-child(5) .review-avatar {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
}

.review-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.25;
}

.review-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.google-review-card .stars {
  margin: 18px 0 10px;
  font-size: 1rem;
}

.google-review-card > p {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.68;
}

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

.district-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.district-list li {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.92rem;
  line-height: 1.35;
}

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

.faq-list details {
  align-self: start;
}

.faq-list details[open] summary {
  margin-bottom: 14px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding-right: 28px;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--brand-soft);
}

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

.blog-hub {
  grid-template-columns: 1fr;
  gap: 22px;
}

.blog-hub-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr);
  gap: 22px;
  align-items: end;
  padding: 8px 0 22px;
  border-top: 1px solid rgba(13, 59, 102, 0.1);
  border-bottom: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(13, 59, 102, 0.055), transparent 48%),
    transparent;
  box-shadow: none;
}

.blog-hub-heading {
  grid-column: 1;
  grid-row: 1;
  max-width: 760px;
}

.blog-hub-heading h2 {
  font-size: 2.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.blog-hub-description {
  grid-column: 1;
  grid-row: 2;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.blog-topic-list {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.blog-hub-stats {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.blog-topic-list span,
.blog-hub-stats div {
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.blog-topic-list span {
  padding: 9px 12px;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 700;
}

.blog-hub-stats div {
  flex: 1 1 120px;
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.blog-hub-stats strong {
  color: var(--brand-dark);
  font-size: 1.15rem;
}

.blog-hub-stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.blog-card-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: blog-card;
}

.blog-card {
  position: relative;
  counter-increment: blog-card;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.11);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.94));
  box-shadow: 0 12px 30px rgba(11, 44, 71, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.blog-card::before {
  content: counter(blog-card, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(13, 59, 102, 0.16);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 59, 102, 0.16);
  box-shadow: 0 18px 42px rgba(11, 44, 71, 0.12);
}

.blog-card-feature {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 252, 0.96)),
    linear-gradient(90deg, rgba(212, 177, 83, 0.18), transparent);
}

.blog-card-tag {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 999px;
  background: rgba(13, 59, 102, 0.055);
}

.blog-card h3 {
  margin: 0;
  padding-right: 34px;
  font-size: 1.08rem;
  line-height: 1.34;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog-card-meta,
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.blog-card-meta span,
.blog-meta span {
  padding: 7px 10px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 8px;
  background: rgba(13, 59, 102, 0.055);
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: auto;
}

.blog-card-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.blog-card-link:hover::after {
  transform: translateX(3px);
}

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

.blog-article h2 {
  margin-bottom: 10px;
}

.blog-article p {
  line-height: 1.8;
}

.contact-card {
  gap: 10px;
}

.contact-grid {
  align-items: stretch;
}

.contact-main-card,
.emergency-card,
.contact-map-card {
  position: relative;
  overflow: hidden;
}

.contact-main-card,
.emergency-card {
  min-height: 440px;
  padding: clamp(24px, 3vw, 34px);
}

.contact-main-card::before,
.emergency-card::before,
.contact-map-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #25d366 100%);
}

.contact-main-card {
  background:
    radial-gradient(circle at 95% 6%, rgba(31, 106, 165, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 253, 0.9));
}

.contact-main-card h3,
.emergency-card h3 {
  letter-spacing: -0.02em;
}

.contact-main-card > p:not(.eyebrow),
.emergency-card > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.75;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-methods a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(13, 59, 102, 0.11);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 253, 0.78)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-methods a:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 106, 165, 0.26);
  box-shadow: 0 14px 30px rgba(13, 59, 102, 0.1);
}

.contact-method-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 18px rgba(13, 59, 102, 0.14);
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.icon-whatsapp {
  background: linear-gradient(135deg, #1f9f55, #25d366);
}

.icon-mail {
  background: linear-gradient(135deg, #2f5f8d, #7aa3c7);
}

.icon-map {
  background: linear-gradient(135deg, var(--accent), #e3c27e);
}

.contact-methods a::after {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  content: "›";
  color: rgba(13, 59, 102, 0.35);
  font-size: 1.4rem;
  line-height: 1;
}

.contact-methods span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-methods a > span:not(.contact-method-icon) {
  grid-column: 2;
}

.contact-methods strong {
  grid-column: 2;
  color: var(--brand);
  overflow-wrap: anywhere;
  font-size: 1.04rem;
}

.emergency-card {
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 90% 16%, rgba(37, 211, 102, 0.13), transparent 26%),
    radial-gradient(circle at 10% 95%, rgba(199, 167, 108, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 249, 0.88));
}

.emergency-card::after {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -94px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(13, 59, 102, 0.09);
  border-radius: 999px;
  z-index: -1;
}

.emergency-card h3 {
  max-width: 680px;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  line-height: 1.28;
}

.emergency-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}

.emergency-mini-list li {
  padding: 9px 12px;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.contact-card > a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-actions a {
  flex: 1 1 170px;
}

.emergency-card .contact-actions {
  margin-top: 18px;
}

.emergency-card .contact-actions .primary,
.emergency-card .contact-actions .secondary {
  min-height: 50px;
  border-radius: 12px;
  font-size: 1rem;
}

.contact-map-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-copy h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.28;
}

.map-copy p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.map-frame {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: var(--radius-md);
  background: rgba(13, 59, 102, 0.08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.contact-map-card > .primary {
  grid-column: 1 / -1;
  width: fit-content;
}

.privacy-notice {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.11);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 96% 8%, rgba(199, 167, 108, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 250, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
}

.privacy-notice::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 100%);
}

.privacy-copy {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.privacy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  box-shadow: 0 14px 26px rgba(13, 59, 102, 0.18);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.privacy-notice h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.32;
}

.privacy-notice p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-details {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.privacy-details ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-details li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.privacy-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(199, 167, 108, 0.15);
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-actions .primary,
.privacy-actions .secondary {
  flex: 1 1 180px;
  min-height: 44px;
  white-space: normal;
}

.accent-card {
  background: linear-gradient(160deg, rgba(199, 167, 108, 0.16), rgba(255, 255, 255, 0.86));
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 176px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0f8f4d 0%, #25d366 100%);
  box-shadow: 0 18px 38px rgba(18, 140, 74, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.whatsapp-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.whatsapp-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.whatsapp-icon svg {
  width: 26px;
  height: 26px;
  fill: #128c4a;
}

.whatsapp-copy {
  display: grid;
  gap: 1px;
}

.whatsapp-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.9;
}

.whatsapp-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #bbf7d0;
  box-shadow: 0 0 0 3px rgba(187, 247, 208, 0.18);
}

.whatsapp-copy strong {
  font-size: 0.98rem;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(18, 140, 74, 0.34);
}

.modal-open {
  overflow: hidden;
}

.whatsapp-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.whatsapp-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 32, 50, 0.52);
  backdrop-filter: blur(8px);
}

.whatsapp-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 26px;
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 211, 102, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.96));
  box-shadow: 0 30px 70px rgba(9, 31, 52, 0.28);
  transform: translateY(12px);
  transition: transform 180ms ease;
}

.whatsapp-modal[aria-hidden="false"] .whatsapp-modal-card {
  transform: translateY(0);
}

.whatsapp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(13, 59, 102, 0.08);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.whatsapp-modal-card h2 {
  max-width: 420px;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.75rem;
  line-height: 1.16;
}

.whatsapp-modal-card > p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.whatsapp-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.whatsapp-form label {
  display: grid;
  gap: 7px;
  color: var(--brand);
  font-weight: 800;
}

.whatsapp-form input,
.whatsapp-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 59, 102, 0.16);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  resize: vertical;
}

.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
  outline: 3px solid rgba(31, 106, 165, 0.14);
  border-color: rgba(31, 106, 165, 0.42);
}

.whatsapp-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.whatsapp-form-note a {
  color: var(--brand-soft);
  font-weight: 800;
}

.whatsapp-form .primary {
  width: 100%;
  min-height: 48px;
}

.service-page {
  display: grid;
  gap: 34px;
}

.detail-hero {
  grid-template-columns: 1fr;
}

.detail-hero .lead {
  max-width: 780px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--brand-soft);
  font-weight: 700;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.detail-content {
  display: grid;
  gap: 22px;
}

.detail-content h2,
.detail-content h3 {
  margin: 0;
  line-height: 1.25;
}

.detail-content p,
.detail-content li {
  color: var(--muted);
  line-height: 1.75;
}

.detail-content p,
.detail-content ul {
  margin: 0;
}

.detail-content ul {
  padding-left: 20px;
}

.detail-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.service-faq-section {
  padding: clamp(22px, 3vw, 32px);
  background:
    radial-gradient(circle at top right, rgba(31, 106, 165, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-faq-section .section-heading {
  max-width: 820px;
}

.service-faq-list {
  margin-top: 18px;
}

.legal-page {
  display: grid;
  gap: 34px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.legal-content {
  display: grid;
  gap: 24px;
}

.legal-content h2,
.legal-content h3 {
  margin: 0;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.78;
}

.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content a {
  color: var(--brand-soft);
  font-weight: 800;
}

.legal-note {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(13, 59, 102, 0.07);
  color: var(--brand);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(13, 59, 102, 0.12);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: var(--brand);
  font-weight: 800;
}

.footer-social {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.footer-social-title {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.social-link {
  display: inline-grid;
  grid-template-columns: 34px minmax(0, auto);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  min-width: 128px;
  min-height: 50px;
  padding: 8px 11px 8px 8px;
  color: var(--brand);
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 249, 251, 0.76)),
    rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 22px rgba(13, 59, 102, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

a.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 106, 165, 0.24);
  box-shadow: 0 14px 30px rgba(13, 59, 102, 0.11);
}

.social-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.instagram-icon {
  background: linear-gradient(135deg, #d62976, #f7a34b);
}

.facebook-icon {
  background: linear-gradient(135deg, #1b4f9c, #3b82f6);
}

.whatsapp-social-icon {
  background: linear-gradient(135deg, #128c4a, #25d366);
}

.google-icon {
  background: linear-gradient(135deg, #2f5f8d, var(--accent));
}

.social-link span:not(.social-icon) {
  grid-column: 2;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
}

.social-link small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.social-disabled {
  opacity: 0.72;
  cursor: default;
}

.service-nav-list {
  display: grid;
  gap: 8px;
}

.service-nav-list a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.94rem;
}

.service-nav-list a:hover,
.service-nav-list a[aria-current="page"] {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

@media (max-width: 1024px) {
  .hero,
  .service-detail-layout,
  .legal-layout,
  .metrics,
  .content-grid,
  .clinic-gallery,
  .services-grid,
  .feature-band,
  .feature-list,
  .emergency-layout,
  .reviews-panel,
  .services-heading,
  .contact-map-card,
  .location-layout,
  .privacy-notice,
  .contact-grid,
  .faq-list,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .cookie-notice {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .primary,
  .cookie-actions .secondary {
    flex: 1 1 140px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 10px 12px;
    border-radius: 16px;
    align-items: center;
    gap: 10px;
  }

  .brand {
    justify-self: start;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
  }

  .topbar-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .cta-button {
    flex: 1 1 auto;
    width: 100%;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    min-height: 0;
    padding: 10px;
    overflow: visible;
    justify-content: stretch;
    gap: 8px;
    background:
      radial-gradient(circle at top right, rgba(31, 106, 165, 0.1), transparent 34%),
      rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  .topbar.menu-open .nav {
    display: grid;
  }

  .nav a {
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 14px 0 16px;
    color: var(--brand);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(13, 59, 102, 0.08);
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(13, 59, 102, 0.05);
  }

  .nav a::after {
    content: "›";
    color: rgba(13, 59, 102, 0.34);
    font-size: 1.2rem;
  }

  .hero-visual {
    min-height: 240px;
    max-height: 360px;
  }

  .detail-sidebar {
    position: static;
  }

  .google-reviews-list {
    grid-template-columns: repeat(5, minmax(300px, 1fr));
  }

  .services-badges {
    justify-content: flex-start;
    max-width: none;
  }

  .blog-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-hub-panel {
    grid-template-columns: 1fr;
  }

  .blog-hub-heading,
  .blog-hub-description,
  .blog-topic-list,
  .blog-hub-stats {
    grid-column: 1;
    grid-row: auto;
  }

  .blog-hub-stats {
    justify-content: flex-start;
  }

  .blog-card-feature {
    grid-column: span 1;
  }

  .reviews-score-card {
    justify-items: start;
  }

  .site-footer,
  .footer-social {
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .site-footer nav,
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .blog-hub-panel {
    padding: 22px;
  }

  .blog-topic-list,
  .blog-hub-stats {
    gap: 10px;
  }

  .blog-hub-stats div,
  .blog-topic-list span {
    width: 100%;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-feature {
    grid-column: span 1;
  }

  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 16px;
  }

  .topbar,
  .hero,
  .clinic-gallery figure,
  .detail-content,
  .feature-band,
  .metrics article,
  .about-card,
  .doctor-card,
  .services-grid article,
  .service-link,
  .feature-list article,
  .emergency-points article,
  .reviews-panel,
  .google-review-card,
  .contact-map-card,
  .privacy-notice,
  .district-card,
  .contact-card,
  .faq-list details {
    padding: 18px;
  }

  .contact-methods a {
    grid-template-columns: 42px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 13px;
  }

  .contact-method-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

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

  .contact-methods strong {
    font-size: 0.98rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 280px;
  }

  .google-reviews-list {
    grid-template-columns: repeat(5, minmax(260px, 84vw));
  }

  .google-review-card {
    min-height: 0;
  }

  .services-heading {
    padding: 22px;
  }

  .services-badges span {
    width: 100%;
    justify-content: center;
  }

  .reviews-actions .primary,
  .reviews-actions .secondary {
    width: 100%;
  }

  .reviews-trust-row span {
    width: 100%;
    justify-content: center;
  }

  .social-link {
    flex: 1 1 calc(50% - 5px);
    min-width: min(100%, 142px);
    justify-content: start;
  }

  .site-footer {
    padding-bottom: 76px;
  }

  .privacy-copy {
    display: grid;
  }

  .privacy-icon {
    width: 48px;
    height: 48px;
  }

  .whatsapp-modal {
    align-items: end;
    padding: 12px;
  }

  .whatsapp-modal-card {
    width: 100%;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 22px;
    border-radius: 18px;
  }

  .whatsapp-modal-card h2 {
    padding-right: 34px;
    font-size: 1.45rem;
  }

  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    overflow: visible;
  }

  .hero h1,
  .section-heading h2,
  .feature-band h2 {
    font-size: 1.9rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary,
  .secondary,
  .cta-button {
    white-space: normal;
  }

  .topbar-actions {
    gap: 8px;
  }

  .language-switch {
    flex: 0 0 auto;
  }

  .language-link {
    min-height: 42px;
    padding: 0 12px;
  }

  .cookie-notice {
    bottom: 82px;
    padding: 16px;
  }

  .cta-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.92rem;
    border-radius: 10px;
  }

  .trust-list,
  .district-list {
    gap: 8px;
  }

  .nav {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 220px;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
    width: min(205px, 50vw);
    height: 62px;
    padding: 0 4px;
    background: transparent;
  }

  .brand-logo {
    height: 62px;
    object-position: left center;
  }
}

@media (max-width: 430px) {
  .topbar {
    grid-template-columns: 1fr auto;
    top: 8px;
    gap: 9px;
  }

  .brand,
  .nav {
    grid-column: 1 / -1;
  }

  .brand {
    justify-self: center;
    width: min(230px, 78vw);
    height: 64px;
  }

  .brand-logo {
    height: 64px;
    object-position: center;
  }

  .menu-toggle {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .topbar-actions,
  .cta-button {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

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

  .language-switch {
    width: 100%;
    justify-content: center;
  }

  .language-link {
    flex: 1 1 50%;
    min-width: 0;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    min-height: 44px;
    font-size: 0.88rem;
  }

  .contact-methods a {
    grid-template-columns: 38px minmax(0, 1fr) 12px;
    padding: 12px;
  }

  .contact-method-icon {
    width: 38px;
    height: 38px;
  }

  .contact-method-icon svg {
    width: 20px;
    height: 20px;
  }

  .social-links {
    width: 100%;
  }

  .social-link {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-width: 0;
    padding: 8px;
  }

  .whatsapp-copy {
    display: none;
  }

  .whatsapp-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}
