:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --surface-alt: #eef8f7;
  --surface-strong: #f3fbfa;
  --primary: #24a9a1;
  --primary-dark: #187d77;
  --primary-deep: #0f5f5b;
  --primary-soft: rgba(36, 169, 161, 0.14);
  --text: #143333;
  --muted: #5a7372;
  --border: rgba(20, 51, 51, 0.1);
  --shadow: 0 22px 50px rgba(13, 52, 50, 0.12);
  --shadow-soft: 0 16px 36px rgba(13, 52, 50, 0.08);
  --radius: 24px;
  --container: min(1120px, calc(100% - 2rem));
  --header-height: 88px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(36, 169, 161, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(36, 169, 161, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(36, 169, 161, 0.03), transparent 35%),
    radial-gradient(circle at 85% 18%, rgba(36, 169, 161, 0.08), transparent 24%);
  pointer-events: none;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

section {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(36, 169, 161, 0.12);
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

.accent {
  color: var(--primary);
}

.display {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

.smile-word {
  display: inline-flex;
  gap: 0.01em;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  cursor: default;
  transform-origin: center;
}

.smile-word span {
  display: inline-block;
  transition: transform 0.35s ease, color 0.35s ease;
}

.hero-copy h1:hover .smile-word span,
.smile-word:hover span {
  color: var(--primary-dark);
}

.hero-copy h1:hover .smile-word span:nth-child(1),
.smile-word:hover span:nth-child(1) {
  transform: translateY(-6px) rotate(10deg);
}

.hero-copy h1:hover .smile-word span:nth-child(2),
.smile-word:hover span:nth-child(2) {
  transform: translateY(-2px) rotate(6deg);
}

.hero-copy h1:hover .smile-word span:nth-child(3),
.smile-word:hover span:nth-child(3) {
  transform: translateY(1px) rotate(2deg);
}

.hero-copy h1:hover .smile-word span:nth-child(4),
.smile-word:hover span:nth-child(4) {
  transform: translateY(3px);
}

.hero-copy h1:hover .smile-word span:nth-child(5),
.smile-word:hover span:nth-child(5) {
  transform: translateY(1px) rotate(-2deg);
}

.hero-copy h1:hover .smile-word span:nth-child(6),
.smile-word:hover span:nth-child(6) {
  transform: translateY(-2px) rotate(-6deg);
}

.hero-copy h1:hover .smile-word span:nth-child(7),
.smile-word:hover span:nth-child(7) {
  transform: translateY(-6px) rotate(-10deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #48c5bb 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(36, 169, 161, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(36, 169, 161, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(36, 169, 161, 0.22);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 169, 161, 0.45);
  color: var(--primary-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(20, 51, 51, 0.08);
  backdrop-filter: blur(14px);
  padding: 0.6rem 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 40px rgba(19, 71, 68, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(142px, 36vw, 220px);
  height: clamp(72px, 14vw, 96px);
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(20, 51, 51, 0.12);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.nav-toggle svg {
  width: 1.3rem;
  height: 1.3rem;
}

.nav-menu {
  position: fixed;
  inset: calc(var(--header-height) + 0.95rem) 1rem auto 1rem;
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid rgba(36, 169, 161, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-menu a {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  transform: translateX(4px);
}

.hero {
  padding-top: 1.4rem;
  padding-bottom: 3.4rem;
  overflow: clip;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.35rem;
}

.hero-copy h1 {
  max-width: 8.6ch;
  font-size: clamp(2.25rem, 7vw, 3.7rem);
}

.hero-copy p {
  max-width: 60ch;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.hero-highlights {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 169, 161, 0.1);
  box-shadow: var(--shadow-soft);
  list-style: none;
}

.hero-highlights li::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #74d7ce);
  box-shadow: 0 0 0 6px rgba(36, 169, 161, 0.1);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
}

.hero-panel {
  position: relative;
  padding: 1rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 169, 161, 0.18), transparent 70%);
}

.hero-carousel {
  position: relative;
  min-height: 370px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #dff6f4, #ffffff);
  box-shadow: 0 18px 34px rgba(20, 51, 51, 0.12);
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(10, 31, 31, 0.28));
  z-index: 2;
  pointer-events: none;
}

.carousel-slide,
.carousel-slide img,
.specialty-card img {
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroCarousel 15s infinite;
}

.carousel-slide img {
  object-fit: cover;
}

.carousel-slide:nth-child(1) {
  animation-delay: 0s;
}

.carousel-slide:nth-child(2) {
  animation-delay: 5s;
}

.carousel-slide:nth-child(3) {
  animation-delay: 10s;
}

.carousel-caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 3;
  display: grid;
  gap: 0.2rem;
  color: #ffffff;
}

.carousel-caption strong {
  font-size: 1.15rem;
}

.carousel-caption span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.carousel-dots {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  z-index: 3;
  display: inline-flex;
  gap: 0.5rem;
}

.carousel-dots span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation: heroDot 15s infinite;
}

.carousel-dots span:nth-child(1) {
  animation-delay: 0s;
}

.carousel-dots span:nth-child(2) {
  animation-delay: 5s;
}

.carousel-dots span:nth-child(3) {
  animation-delay: 10s;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.stat-card {
  padding: 1.2rem 1.05rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fdfc);
  border: 1px solid rgba(36, 169, 161, 0.08);
  box-shadow: 0 12px 26px rgba(20, 51, 51, 0.07);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.about-layout,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.about-card,
.contact-card,
.map-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(36, 169, 161, 0.08);
  box-shadow: 0 18px 36px rgba(20, 51, 51, 0.08);
  backdrop-filter: blur(10px);
}

.about-card p + p {
  margin-top: 1rem;
}

.info-list {
  display: grid;
  gap: 0.85rem;
}

.info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fdfc, #eef8f7);
}

.info-item strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #74d7ce);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 10px 18px rgba(36, 169, 161, 0.24);
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.specialties-grid,
.team-grid {
  display: grid;
  gap: 1.2rem;
}

.specialty-card,
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(36, 169, 161, 0.08);
  box-shadow: 0 18px 34px rgba(20, 51, 51, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.specialty-card:hover,
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 42px rgba(20, 51, 51, 0.14);
  border-color: rgba(36, 169, 161, 0.22);
}

.specialty-media {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 310px;
  overflow: hidden;
  background: linear-gradient(135deg, #d8f2ef 0%, #ffffff 100%);
}

.specialty-media::after,
.team-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(7, 30, 29, 0.08));
  pointer-events: none;
}

.specialty-content,
.team-content {
  padding: 1.4rem;
}

.specialty-content p,
.team-content p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.team-media {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  margin: 1rem 1rem 0;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfb 0%, #eef8f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.team-tag {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-card h3,
.map-card h3 {
  margin-bottom: 0.85rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.contact-list li {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(36, 169, 161, 0.15);
  border-radius: 999px;
  background: var(--surface-alt);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 169, 161, 0.42);
  background: rgba(36, 169, 161, 0.12);
}

.map-card iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 20px;
  margin-top: 1rem;
}

.site-footer {
  padding: 1.8rem 0 7rem;
  background:
    linear-gradient(180deg, rgba(238, 248, 247, 0.72), rgba(255, 255, 255, 0.96)),
    #ffffff;
}

.site-footer > .container:not(.footer-bottom) {
  display: grid;
  gap: 1.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(20, 51, 51, 0.1);
}

.footer-brand {
  display: grid;
  gap: 0.85rem;
}

.footer-brand img {
  width: clamp(160px, 28vw, 220px);
  height: auto;
}

.footer-brand p,
.footer-info p,
.footer-bottom p {
  font-size: 0.92rem;
}

.footer-info,
.footer-social {
  display: grid;
  gap: 0.45rem;
}

.footer-info strong,
.footer-social strong {
  color: var(--primary-deep);
  font-size: 0.92rem;
}

.footer-info a,
.footer-social-links a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-info a:hover,
.footer-social-links a:hover,
.footer-info a:focus-visible,
.footer-social-links a:focus-visible {
  color: var(--primary-dark);
}

.footer-social-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.8rem;
  padding-top: 1rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c35e, #1ea650);
  color: #ffffff;
  box-shadow: 0 20px 34px rgba(25, 135, 64, 0.3);
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 24px 38px rgba(25, 135, 64, 0.36);
}

.whatsapp-float svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1001;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(12, 33, 33, 0.96);
  color: #eff7f6;
  box-shadow: 0 24px 50px rgba(5, 14, 14, 0.32);
  transform: translateY(140%);
  transition: transform 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner p {
  color: rgba(239, 247, 246, 0.84);
  font-size: 0.96rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroCarousel {
  0%,
  28% {
    opacity: 1;
    transform: scale(1);
  }

  33%,
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

@keyframes heroDot {
  0%,
  28% {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
  }

  33%,
  100% {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 4.4rem 0;
  }

  .site-header {
    padding: 0.75rem 0;
  }

  .nav-shell {
    min-height: 82px;
    padding: 0 0.9rem;
    border-radius: 24px;
  }

  .brand-mark {
    width: clamp(138px, 40vw, 190px);
    height: 74px;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-copy {
    text-align: center;
    justify-items: center;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero-copy p {
    font-size: 0.96rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-highlights {
    width: 100%;
  }

  .hero-panel {
    padding: 0.85rem;
    border-radius: 28px;
  }

  .hero-carousel {
    min-height: 310px;
    border-radius: 24px;
  }

  .carousel-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .carousel-caption strong {
    font-size: 1rem;
  }

  .carousel-caption span {
    font-size: 0.84rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    text-align: center;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .specialty-media {
    min-height: 280px;
  }

  .specialty-content,
  .team-content,
  .about-card,
  .contact-card,
  .map-card {
    padding: 1.2rem;
  }

  .team-media {
    margin: 0.85rem 0.85rem 0;
    min-height: 300px;
  }

  .whatsapp-float {
    right: 0.8rem;
    left: 0.8rem;
    bottom: 0.8rem;
    justify-content: center;
  }

  .site-footer {
    padding-bottom: 8.2rem;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .nav-shell {
    padding: 0 1.2rem 0 1.4rem;
  }

  .hero-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-carousel {
    min-height: 560px;
  }

  .cookie-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 992px) {
  :root {
    --header-height: 86px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a {
    padding: 0.75rem 0.95rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
    gap: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 4.6vw, 4.2rem);
  }

  .section-header {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: end;
  }

  .section-header p {
    justify-self: end;
  }

  .specialties-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer > .container:not(.footer-bottom) {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .specialty-media {
    min-height: 360px;
  }

  .team-media {
    min-height: 420px;
  }

  .about-card,
  .contact-card,
  .map-card {
    padding: 2rem;
  }

  .whatsapp-float {
    right: 1.5rem;
    left: auto;
    bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
