/* Clínica Esperança — visual polish */
:root {
  /* Paleta do logotipo Clínica Esperança */
  --primary: #1A7BC4;
  --primary-dark: #0F4F7A;
  --primary-soft: #EAF5FC;
  --secondary: #2BB3E8;
  --secondary-dark: #1589C9;
  --accent: #2BB3E8;
  --bg: #FFFFFF;
  --bg-alt: #F7FAFD;
  --text: #152033;
  --text-muted: #64748B;
  --border: rgba(15, 79, 122, 0.1);
  --shadow: 0 8px 28px rgba(15, 79, 122, 0.07);
  --shadow-lg: 0 22px 50px rgba(15, 79, 122, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 118px;
  --font: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 40% at 100% -10%, rgba(43, 179, 232, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 35% at 0% 0%, rgba(26, 123, 196, 0.05), transparent 45%),
    var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; color: var(--text-muted); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Sticky chrome: top bar + main nav */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.top-bar {
  background: linear-gradient(90deg, #0a2f4d 0%, #0f4f7a 55%, #134e7a 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-bar-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 auto;
}
.top-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  white-space: nowrap;
  min-height: 30px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-meta svg {
  opacity: 0.85;
  flex-shrink: 0;
}
.top-meta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.2rem;
  min-height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.18rem;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font: inherit;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  line-height: 1;
}
.lang-btn.is-active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 28px rgba(26, 123, 196, 0.32);
}
.btn-primary:hover {
  background: var(--secondary-dark);
  box-shadow: 0 14px 34px rgba(26, 123, 196, 0.38);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 10px 28px rgba(43, 179, 232, 0.28);
}
.btn-outline {
  border-color: rgba(26, 123, 196, 0.28);
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 79, 122, 0.05);
}
.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}
.text-link::after {
  content: "›";
  font-size: 1.15em;
  transition: transform 0.3s var(--ease);
}
.text-link:hover::after { transform: translateX(4px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(26, 123, 196, 0.12);
}
.eyebrow.light {
  color: #dff3ff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  position: relative;
}
.section-alt {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(43, 179, 232, 0.06), transparent 55%),
    var(--bg-alt);
}
.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head h2 { color: var(--primary-dark); }
.section-head p {
  font-size: 1.05rem;
  line-height: 1.75;
}
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Header */
.site-header {
  height: 82px;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s, height 0.35s;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(15, 79, 122, 0.06);
}
.site-chrome.is-scrolled .site-header,
.site-header.is-scrolled {
  height: 74px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 36px rgba(15, 79, 122, 0.09);
  border-bottom-color: rgba(15, 79, 122, 0.08);
}
.header-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand-logo {
  width: auto;
  height: 54px;
  max-width: min(210px, 48vw);
  object-fit: contain;
}
.site-chrome.is-scrolled .brand-logo,
.site-header.is-scrolled .brand-logo {
  height: 48px;
}
.brand-logo-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 700;
}
.brand-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(234, 245, 252, 0.55);
  border: 1px solid rgba(26, 123, 196, 0.08);
}
.nav-link {
  display: block;
  padding: 0.58rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3b4a5c;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav-link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.85);
}
.nav-link.is-active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 79, 122, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.35rem;
  flex-shrink: 0;
}
.header-actions .btn-primary {
  padding: 0.78rem 1.35rem;
  font-size: 0.88rem;
  box-shadow: none;
}
.header-actions .btn-primary:hover {
  box-shadow: none;
  background: var(--secondary-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--primary-soft);
  border-radius: 14px;
  border: 1px solid rgba(26, 123, 196, 0.12);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Hero — texto + painel de 3 cartões */
.hero {
  position: relative;
  min-height: clamp(34rem, 72vh, 44rem);
  display: flex;
  align-items: stretch;
  padding: 0;
  color: #fff;
  overflow: visible;
  margin-bottom: 4.5rem;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: heroZoom 24s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(8, 40, 70, 0.86) 0%,
      rgba(15, 79, 122, 0.68) 45%,
      rgba(26, 123, 196, 0.42) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.75rem;
  padding: 3rem 0 0;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  max-width: min(56rem, 100%);
  margin-bottom: 0;
}
.hero-kicker {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dff3ff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: heroIn 0.9s var(--ease) both;
}
.hero h1 {
  color: #fff;
  width: max-content;
  max-width: 100%;
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0;
  animation: heroIn 0.95s var(--ease) 0.1s both;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 34rem;
  margin: 0;
  animation: heroIn 0.95s var(--ease) 0.2s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
  animation: heroIn 0.95s var(--ease) 0.28s both;
}
.hero-actions .btn-white {
  color: var(--primary-dark);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}
.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-bottom: -4.5rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(8, 40, 70, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  animation: heroIn 0.95s var(--ease) 0.38s both;
}
.hero-panel-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  padding: 1.85rem 1.65rem 1.65rem;
  position: relative;
  transition: background 0.3s var(--ease);
}
.hero-panel-card:not(.is-accent):hover {
  background: #fff;
}
.hero-panel-card + .hero-panel-card:not(.is-accent)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(26, 123, 196, 0.12);
}
.hero-panel-ico {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(160deg, #eaf5fc, #d7eef9);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(26, 123, 196, 0.12);
}
.hero-panel-ico svg {
  width: 1.45rem;
  height: 1.45rem;
}
.hero-panel-card h2 {
  margin: 0 0 0.45rem;
  color: var(--primary-dark);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-panel-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
a.hero-panel-card.is-accent {
  background: linear-gradient(145deg, var(--primary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  text-decoration: none;
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}
a.hero-panel-card.is-accent:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.hero-panel-card.is-accent .hero-panel-ico {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}
.hero-panel-card.is-accent h2,
.hero-panel-card.is-accent p {
  color: #fff;
}
.hero-panel-card.is-accent p {
  opacity: 0.92;
}
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    margin-bottom: 2rem;
  }
  .hero-content {
    padding: 2.5rem 0 0;
    gap: 2rem;
  }
  .hero-copy { gap: 1.1rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-panel {
    grid-template-columns: 1fr;
    margin-bottom: -1.5rem;
  }
  .hero-panel-card + .hero-panel-card:not(.is-accent)::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .hero-kicker,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-panel { animation: none; }
}

/* About — home */
.home-intro {
  background: #fff;
  padding-top: clamp(5rem, 8vw, 6.5rem);
}
.about-home-grid {
  align-items: center;
}
.about-home {
  max-width: none;
  margin: 0;
  text-align: left;
}
.about-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}
.about-label svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--secondary);
  flex-shrink: 0;
}
.about-home h2 {
  margin: 0 0 0.85rem;
  color: #1a2332;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  font-weight: 700;
}
.about-home-lead {
  margin: 0 0 1.15rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 40rem;
}
.about-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 1.25rem 0;
  margin-bottom: 1.25rem;
  background: #eef5fb;
  border-radius: 18px;
}
.about-mv-item {
  padding: 0 1.45rem;
}
.about-mv-item + .about-mv-item {
  border-left: 1px solid rgba(27, 109, 173, 0.16);
}
.about-mv-item h3 {
  margin: 0 0 0.45rem;
  color: #1a2332;
  font-size: 1.05rem;
  font-weight: 700;
}
.about-mv-item p {
  margin: 0;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.55;
}
.about-home .intro-actions {
  margin-top: 0;
}

@media (max-width: 720px) {
  .about-mv {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1.4rem 1.35rem;
  }
  .about-mv-item {
    padding: 0;
  }
  .about-mv-item + .about-mv-item {
    border-left: 0;
    border-top: 1px solid rgba(27, 109, 173, 0.16);
    padding-top: 1.15rem;
  }
}

/* About — inner pages */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-slides {
  position: relative;
}
.about-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: #dbe7f2;
}
.about-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}
.about-frame img.is-active {
  opacity: 1;
  z-index: 1;
}
.about-slides-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(15, 40, 80, 0.16);
}
.about-slides-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(27, 109, 173, 0.28);
  cursor: pointer;
}
.about-slides-dots button.is-active {
  background: var(--primary);
  transform: scale(1.2);
}
.about-pill {
  position: absolute;
  right: 1.25rem;
  bottom: 3.6rem;
  background: #fff;
  border-radius: 16px;
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  animation: floatY 4.5s ease-in-out infinite;
  z-index: 2;
}
.about-pill strong {
  font-size: 1.6rem;
  color: var(--primary);
  line-height: 1;
}
.about-pill span { font-size: 0.78rem; color: var(--text-muted); }
.about-visual { position: relative; }
.check-list {
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: 0.65rem;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43, 179, 232, 0.35);
}
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--primary-soft), #d7effa);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  transition: transform 0.4s var(--ease), background 0.4s;
}
.specialty-card:hover .icon-box {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: #fff;
}
.icon-box svg { width: 24px; height: 24px; }
.specialty-card p { font-size: 0.9rem; margin: 0; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.why-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.why-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(41, 165, 221, 0.12);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}
.why-item p { margin: 0; font-size: 0.92rem; }

/* Why choose us — layout split (referência Croce) */
.why-choose {
  position: relative;
  overflow: hidden;
  background: #f7f9fc;
}
.why-choose-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background:
    radial-gradient(circle at 92% 55%, rgba(27, 109, 173, 0.35), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' fill='none'%3E%3Cpath d='M0 70h40l12-28 16 56 14-36 18 20H400' stroke='%231B6DAD' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8% center / min(48vw, 420px) auto no-repeat;
}
.why-choose-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "label ."
    "title list"
    "photo list";
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 0.75rem;
  align-items: start;
}
.why-choose-label {
  grid-area: label;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-dark);
}
.why-choose-title {
  grid-area: title;
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: #152238;
  max-width: 100%;
}
.why-choose-photo {
  grid-area: photo;
  width: 100%;
  min-height: 240px;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  align-self: stretch;
}
.why-choose-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 16px;
}
.why-choose-list {
  grid-area: list;
  display: grid;
  gap: 1.6rem;
  align-content: start;
  align-self: start;
}
.why-choose-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.why-choose-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(41, 165, 221, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.why-choose-ico svg {
  width: 26px;
  height: 26px;
}
.why-choose-item h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #152238;
}
.why-choose-item p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #6b7280;
}

@media (max-width: 900px) {
  .why-choose-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "list"
      "photo";
    row-gap: 1rem;
  }
  .why-choose-photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .why-choose-photo img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* Doctors */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.doctor-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.doctor-photo {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--primary-soft);
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.doctor-card:hover .doctor-photo img { transform: scale(1.08); }
.doctor-body { padding: 1.25rem 1.2rem 1.5rem; }
.specialty-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(41, 165, 221, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}
.doctor-body p:not(.specialty-tag) {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* Services — cabeçalho em 2 colunas + cards centrados */
.services-section {
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(43, 179, 232, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(26, 123, 196, 0.08), transparent 45%),
    #eef7fc;
}
.services-head {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}
.services-head-copy .eyebrow {
  margin-bottom: 0.9rem;
}
.services-head-copy h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.services-head-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  padding-bottom: 0.2rem;
}
.services-head-aside p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 38ch;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.services-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-card {
  background: #fff;
  border-radius: 26px;
  padding: 2.35rem 1.55rem 1.9rem;
  border: 1px solid rgba(15, 79, 122, 0.06);
  box-shadow: 0 14px 40px rgba(15, 40, 80, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(26, 123, 196, 0.14);
  border-color: rgba(43, 179, 232, 0.3);
}
.service-card .service-ico {
  width: 80px;
  height: 80px;
  margin: 0 0 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #eaf5fc 0%, #d7eef9 100%);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(26, 123, 196, 0.12);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover .service-ico {
  transform: scale(1.06);
  box-shadow: 0 14px 28px rgba(26, 123, 196, 0.18);
}
.service-card .service-ico svg {
  width: 32px;
  height: 32px;
}
.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 0.93rem;
  margin-bottom: 1.4rem;
  flex: 1;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 28ch;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: auto;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--primary-soft);
  transition: color 0.25s, gap 0.25s, background 0.25s;
}
.service-more:hover {
  color: #fff;
  background: var(--primary);
  gap: 0.5rem;
}

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

@media (max-width: 900px) {
  .services-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }
  .services-head-copy h2 { max-width: 20ch; }
}

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

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.25;
}
.timeline-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.4rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.4s var(--ease);
}
.timeline-step:hover { transform: translateY(-6px); }
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(27, 109, 173, 0.25);
}
.timeline-step p { margin: 0; font-size: 0.9rem; }

/* Stats */
.stats {
  padding: 4rem 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(41, 165, 221, 0.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(27, 109, 173, 0.25), transparent 45%),
    linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--secondary));
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.stat span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Partners — grid (página) + marquee (home) */
.partners {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 50% 8%, rgba(100, 170, 230, 0.18), transparent 70%),
    #fbfcfe;
}
.partners-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(27, 109, 173, 0.05), transparent 45%);
}
.partners-head {
  max-width: 720px;
}
.partners-head h2 {
  color: var(--primary-dark);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
  position: relative;
  z-index: 1;
}
.partners-marquee {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.15rem;
  margin: 0 -1.25rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners-track {
  overflow: hidden;
  width: 100%;
}
.partners-track-inner {
  display: flex;
  width: max-content;
  gap: 1.15rem;
  animation: partnersMarqueeRight 38s linear infinite;
}
.partners-track-slow .partners-track-inner {
  animation-duration: 48s;
}
.partners-track-left .partners-track-inner {
  animation-name: partnersMarqueeLeft;
}
.partners-marquee:hover .partners-track-inner {
  animation-play-state: paused;
}
.partners-track-inner .partner-logo-card {
  flex: 0 0 clamp(160px, 18vw, 210px);
}
.partner-logo-card {
  background: #fff;
  border-radius: 20px;
  min-height: 120px;
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(15, 40, 80, 0.06);
  border: 1px solid rgba(15, 79, 122, 0.07);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.partner-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 40, 80, 0.1);
}
.partner-logo-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

@keyframes partnersMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@keyframes partnersMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track-inner {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .partners-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    margin: 0;
  }
}

/* Testimonials */
.testimonials {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.testimonials-track { position: relative; min-height: 280px; }
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.testimonial.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.stars { color: #F5B301; letter-spacing: 2px; margin-bottom: 0.85rem; }
.testimonial > p {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; font-size: 0.98rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.3s;
}
.slider-btn:hover {
  background: var(--primary);
  color: #fff;
}
.slider-dots { display: flex; gap: 0.4rem; }
.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #c9d5e3;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
}
.slider-dots button.is-active {
  background: var(--primary);
  width: 22px;
  border-radius: 999px;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.news-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.news-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.news-card:hover .news-image img { transform: scale(1.07); }
.news-cat {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: rgba(27, 109, 173, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.news-body { padding: 1.25rem 1.2rem 1.5rem; }
.news-body time {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.45rem;
}
.news-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

/* Booking CTA — mesmo tamanho/efeito do hero-panel, a flutuar no footer */
.booking-cta {
  position: relative;
  z-index: 3;
  padding: 0;
  margin: 3.5rem 0 -2.5rem;
  background: transparent;
}
.booking-cta-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 0 0 0 1.5rem;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(105deg, #0f4f7a 0%, #1a7bc4 55%, #2bb3e8 100%);
  box-shadow: 0 24px 55px rgba(15, 40, 80, 0.18);
}
.booking-cta-copy {
  padding: 1.55rem 1.35rem 1.45rem 0;
  max-width: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.booking-cta-copy h2 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 700;
  line-height: 1.22;
}
.booking-cta-copy p {
  margin: 0 0 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 34rem;
}
.booking-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.booking-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  background: #d8f000;
  color: #122033;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.booking-cta-btn:hover {
  background: #e5ff2e;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}
.booking-cta-call {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}
.booking-cta-call-label {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
}
.booking-cta-call-num {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.booking-cta-call:hover .booking-cta-call-num {
  text-decoration: underline;
}
.booking-cta-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 50% 0 0 50% / 80% 0 0 80%;
}
.booking-cta-media img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

main:has(.booking-cta) + .site-footer {
  padding-top: 5.25rem;
}

@media (max-width: 900px) {
  .booking-cta {
    margin: 1.5rem 0 -1.25rem;
  }
  .booking-cta-inner {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, var(--max));
    padding: 0;
  }
  .booking-cta-copy {
    padding: 1.4rem 1.25rem 1.2rem;
  }
  .booking-cta-media {
    min-height: 140px;
    border-radius: 0;
  }
  .booking-cta-media img {
    min-height: 140px;
  }
  .booking-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .booking-cta-btn {
    width: 100%;
  }
  main:has(.booking-cta) + .site-footer {
    padding-top: 4rem;
  }
}

/* Contact — layout moderno */
.contact-section {
  position: relative;
  background: #f5f8fc;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: stretch;
}
.contact-panel,
.map-panel {
  background: #fff;
  border: 1px solid rgba(27, 109, 173, 0.07);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15, 40, 80, 0.06);
}
.contact-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
}
.contact-panel-head {
  margin-bottom: 1.35rem;
}
.contact-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-dark);
}
.contact-panel h2 {
  color: var(--primary-dark);
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  margin: 0 0 0.55rem;
  line-height: 1.2;
}
.contact-intro {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(41, 165, 221, 0.12);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
}
.contact-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.contact-list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #f7fafc;
  border: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.contact-list li:hover {
  background: #fff;
  border-color: rgba(27, 109, 173, 0.12);
}
.contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(41, 165, 221, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-ico svg {
  width: 20px;
  height: 20px;
}
.contact-list strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-dark);
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.contact-list li > div > span,
.contact-list li > div > .contact-phones,
.contact-list li > div > .contact-emails {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}
.contact-phones,
.contact-emails {
  display: grid !important;
  gap: 0.2rem;
}
.contact-list a {
  color: var(--primary-dark);
  transition: color 0.25s;
}
.contact-list a:hover { color: var(--secondary); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}
.contact-actions .btn {
  border-radius: 12px;
  padding: 0.75rem 1.2rem;
  font-size: 0.9rem;
}
.contact-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.28);
}
.contact-wa:hover {
  background: #1ebe57;
  color: #fff;
}
.map-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}
.map-wrap {
  position: relative;
  flex: 1;
  min-height: 380px;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}
.map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(95deg, var(--primary-dark), var(--primary) 60%, var(--secondary));
  color: #fff;
}
.map-meta strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.map-meta span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
}
.map-meta-link {
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.25s;
}
.map-meta-link:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* Footer */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 55% 55% at 100% 0%, rgba(43, 179, 232, 0.18), transparent 50%),
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(26, 123, 196, 0.16), transparent 50%),
    linear-gradient(180deg, #0f4f7a 0%, #0a2f4d 100%);
  color: rgba(255, 255, 255, 0.78);
  padding-top: clamp(3.75rem, 6.5vw, 5.25rem);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), #7dd3f5, transparent 85%);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 4vw, 3.75rem);
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}
.footer-brand { margin: 0; }
.footer-brand .brand-text strong {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
}
.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.62);
}
.footer-about {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}
.footer-place {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.footer-col h3 {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col ul {
  display: grid;
  gap: 0.75rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s, transform 0.25s;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-contact ul { gap: 1.25rem; }
.footer-contact li {
  display: grid;
  gap: 0.3rem;
}
.footer-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd8f2;
}
.footer-contact a,
.footer-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.45;
}
.footer-contact a:hover {
  color: #fff;
  transform: none;
}
.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.45rem;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.socials a svg {
  width: 16px;
  height: 16px;
}
.socials a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(43, 179, 232, 0.35);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 0;
  background: rgba(0, 0, 0, 0.16);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}
.legal {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.legal a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  transition: color 0.25s;
}
.legal a:hover { color: #fff; }
.legal-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 910;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.48);
}

/* Back to top */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.35rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(27, 109, 173, 0.35);
  z-index: 900;
  transition: transform 0.3s, opacity 0.3s;
}
.back-top:hover { transform: translateY(-3px); }
.back-top[hidden] { display: none; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Keyframes */
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { display: none; margin-left: 0; }
  .nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(15, 79, 122, 0.12);
    padding: 0.85rem 1rem 1.1rem;
    z-index: 50;
  }
  .nav.is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.35rem;
    background: var(--bg-alt);
    border-radius: 18px;
  }
  .nav.is-open .nav-link {
    padding: 0.8rem 1rem;
  }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-inner { position: relative; }
  .header-actions {
    margin-left: auto;
    gap: 0.5rem;
  }
  .header-actions .btn-primary {
    display: inline-flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0.55rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
    z-index: 2;
  }
  .header-actions .btn-primary:hover,
  .header-actions .btn-primary:active {
    transform: translate(-50%, calc(-50% - 2px));
  }
  .site-header { position: sticky; }
}

@media (max-width: 420px) {
  .header-actions .btn-primary {
    padding: 0.5rem 0.7rem;
    font-size: 0.72rem;
  }
  .brand-logo {
    height: 48px;
    max-width: min(140px, 38vw);
  }
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .why-grid,
  .services-grid,
  .partners-grid,
  .timeline,
  .stats-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before { display: none; }
}

@media (max-width: 640px) {
  .cards-grid,
  .why-grid,
  .services-grid,
  .timeline,
  .stats-grid,
  .news-grid,
  .doctors-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .map-wrap,
  .map-wrap iframe { min-height: 280px; }
  .map-meta { flex-wrap: wrap; }
  .brand-text small { display: none; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Short viewports handled near hero rules */

/* ===== Multipage — page hero (formato Croce) ===== */
.page-hero {
  position: relative;
  padding: clamp(3.5rem, 8vh, 5.25rem) 0;
  color: #fff;
  overflow: hidden;
  background: var(--primary-dark);
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: grayscale(0.15) saturate(0.55);
}
.page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      115deg,
      rgba(8, 40, 70, 0.92) 0%,
      rgba(15, 79, 122, 0.86) 42%,
      rgba(26, 123, 196, 0.62) 100%
    );
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 0.65rem;
  line-height: 1.12;
}
.page-hero-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.page-hero-crumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}
.page-hero-crumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.page-hero-crumb span[aria-hidden="true"] {
  opacity: 0.75;
}

.home-routes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.route-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.route-card strong {
  color: var(--primary);
  font-size: 1.1rem;
}
.route-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.route-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(41, 165, 221, 0.35);
}

.split-urgent {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.urgent-panel {
  background: #fff;
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.urgent-panel a { color: var(--primary); font-weight: 600; font-size: 1.05rem; }
.urgent-panel hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.book-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.book-form {
  background: #fff;
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
.book-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.book-form input,
.book-form select,
.book-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(27, 109, 173, 0.18);
  background: var(--bg-alt);
  color: var(--text);
}
.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  outline: 2px solid rgba(41, 165, 221, 0.45);
  border-color: var(--secondary);
  background: #fff;
}
.book-aside {
  background: var(--bg-alt);
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid var(--border);
}
.book-aside h2 { font-size: 1.35rem; }
/* About page */
.about-page-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-dark);
}
.about-story {
  background: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
.about-story-visual {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.about-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-story-copy {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid color-mix(in srgb, var(--secondary) 55%, transparent);
}
.about-story-copy h2 {
  margin: 0 0 1.35rem;
  color: var(--primary-dark);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.about-story-prose {
  display: grid;
  gap: 1rem;
}
.about-story-prose p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 44ch;
}
.about-story-prose p:first-child {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
}
.about-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.about-page-actions .btn { border-radius: 12px; }
.about-page-values {
  background: var(--bg-alt);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.about-values-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}
.about-values-intro h2 {
  margin: 0 0 0.85rem;
  color: var(--primary-dark);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.about-values-intro > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 36ch;
}
.about-values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.about-values-list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
}
.about-values-list li:last-child {
  border-bottom: 1px solid var(--border);
}
.about-values-list span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--secondary-dark);
  padding-top: 0.2rem;
}
.about-values-list h3 {
  margin: 0 0 0.35rem;
  color: var(--primary-dark);
  font-size: 1.15rem;
}
.about-values-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.about-mv-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.about-mv-item {
  padding-left: 1.25rem;
  border-left: 2px solid color-mix(in srgb, var(--secondary) 55%, transparent);
}
.about-mv-item h3 {
  margin: 0 0 0.55rem;
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1.3;
}
.about-mv-item p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 40ch;
}
.about-page-team {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(41, 165, 221, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 45% at 90% 80%, rgba(27, 109, 173, 0.05), transparent 50%),
    #f7fafc;
  overflow: hidden;
}
.team-head {
  max-width: 560px;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.team-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}
.team-head h2 {
  margin: 0 0 0.75rem;
  color: #1f2937;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.2;
}
.team-head p {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.65;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}
.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.35rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 40, 80, 0.06);
  border: 1px solid rgba(27, 109, 173, 0.05);
  border-bottom: 3px solid var(--secondary);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 40, 80, 0.1);
}
.team-card-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 1.1rem;
  background: var(--primary-soft);
}
.team-card-photo img,
.team-card-photo .team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-card-photo img,
.team-card:hover .team-card-photo .team-avatar {
  transform: scale(1.03);
}
.team-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
}
.team-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}
.about-page-cta {
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  background: #fff;
}
.about-page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  background: linear-gradient(105deg, var(--primary-dark), var(--primary) 55%, var(--secondary));
  color: #fff;
  box-shadow: 0 16px 40px rgba(27, 109, 173, 0.2);
}
.about-page-cta-inner h2 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}
.about-page-cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}
.about-page-cta-inner .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.about-page-cta-inner .btn-outline:hover {
  background: #fff;
  color: var(--primary-dark);
}
.about-page-cta-inner .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .about-story-grid,
  .about-values-layout,
  .about-mv-row {
    grid-template-columns: 1fr;
  }
  .about-story-copy {
    padding-left: 1.1rem;
  }
  .about-story-copy h2,
  .about-values-intro h2 {
    max-width: none;
  }
  .about-page-cta-inner { align-items: stretch; }
  .about-page-cta-inner .about-page-actions { width: 100%; }
  .about-page-cta-inner .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
}

.prose {
  max-width: 720px;
  line-height: 1.7;
}
.prose a { color: var(--primary); font-weight: 600; }

.gallery-section {
  background: #fff;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.gallery-item {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.03);
}
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 18, 32, 0.92);
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  justify-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox-top {
  width: min(100% - 2rem, 1100px);
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  z-index: 2;
}
.lightbox-counter {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lightbox-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.lightbox-btn:hover,
.lightbox-btn.is-active {
  background: rgba(255, 255, 255, 0.12);
}
.lightbox-stage {
  margin: 0;
  width: min(100% - 6rem, 1100px);
  max-height: calc(100vh - 7rem);
  display: grid;
  place-items: center;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
  transform-origin: center center;
}
.lightbox.is-zoomed .lightbox-stage img {
  transform: scale(1.45);
  cursor: grab;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .home-routes,
  .split-urgent,
  .book-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .lightbox-stage { width: min(100% - 1.5rem, 1100px); }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .top-meta {
    font-size: 0.7rem;
    padding: 0.28rem 0.6rem;
  }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .top-bar-inner {
    gap: 0.5rem;
  }
  .top-meta {
    font-size: 0.68rem;
    min-width: 0;
  }
}
