:root {
  --bg: #f3f4f4;
  --text: #6b6b6b;
  --heading: #10b3b5;
  --dark-teal: #4f727d;
  --teal: #0db4b5;
  --white: #ffffff;
  --light-accent: #d9efef;
  --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h2 {
  color: var(--heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 26px;
}

.section p {
  font-size: clamp(1rem, 1.9vw, 2rem);
  line-height: 1.2;
  max-width: 1040px;
  margin-bottom: 20px;
}

@media (min-width: 981px) {
  .about h2,
  .services h2,
  .team h2 {
    font-size: clamp(2.08rem, 4.7vw, 3.8rem);
  }

  .about p,
  .services p,
  .team p {
    font-size: clamp(0.98rem, 1.8vw, 1.9rem);
  }
}

.topbar {
  background: #edf2f3;
  border-bottom: 1px solid #e4eaeb;
  position: relative;
  z-index: 35;
}

.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pill-item,
.whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal);
}

.pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #fff;
  display: inline-grid;
  place-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  color: var(--teal);
  flex-shrink: 0;
}

.line-icon {
  width: 19px;
  height: 19px;
  display: block;
}

.pill-text {
  white-space: nowrap;
}

.social-links {
  display: inline-flex;
  gap: 14px;
  color: var(--teal);
  margin-right: 8px;
}

.social-links a {
  display: inline-grid;
  place-content: center;
  width: 20px;
  height: 20px;
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.whatsapp-pill {
  gap: 10px;
  position: relative;
  padding: 0 6px 0 8px;
}

.whatsapp-pill::before {
  content: "";
  position: absolute;
  inset: -10px -10px -10px 8px;
  background: linear-gradient(90deg, rgba(203, 243, 245, 0.72), rgba(177, 235, 238, 0.72));
  z-index: -1;
}

.whatsapp-wrap {
  width: 48px;
  height: 48px;
}

.whatsapp-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.consult-text {
  line-height: 1.1;
  white-space: nowrap;
  font-size: 0.96rem;
}

.consult-text strong {
  font-size: 1.02em;
}

.main-nav {
  background: var(--teal);
  position: relative;
  z-index: 40;
}

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

.logo-image img {
  width: clamp(162px, 10.2vw, 220px);
  height: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0;
  margin: 0;
  color: #e9fafa;
  font-size: 0.93rem;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links li:first-child a {
  font-weight: 700;
}

.nav-caret {
  width: 12px;
  height: 12px;
  display: inline-block;
  opacity: 0.85;
  transform: translateY(1px);
  flex-shrink: 0;
}

.blood-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  align-self: center;
}

.blood-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.mobile-toggle,
.mobile-menu,
.hero-logo {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(460px, 47vw, 680px);
  background: #131313;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 128px;
  z-index: 5;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(15, 15, 15, 0.48);
}

.hero-content {
  position: relative;
  z-index: 6;
  min-height: clamp(460px, 47vw, 680px);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2rem, 3.35vw, 4rem);
  line-height: 1;
  font-weight: 400;
  margin-top: 24px;
}

.hero-content h1 em {
  font-style: italic;
  font-weight: 700;
}

.hero-arrow {
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-content: center;
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
}

.hero-arrow svg {
  width: 42px;
  height: 42px;
  display: block;
}

.about {
  position: relative;
  padding-top: 40px;
  background: #fff;
}

.services-team-shell {
  position: relative;
  background: #eef5f5;
  overflow: visible;
}

.services-team-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Recursos/bg-prof.png") center center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.services {
  background: transparent;
  position: relative;
  z-index: 1;
}

.about::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about::before {
  display: none;
}

.section-lead {
  margin-bottom: 40px;
}

.carousel-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.carousel-arrow {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
  color: transparent;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#servicesPrev,
#teamPrev {
  background-image: url("Recursos/Recurso 6@3x-8.png");
}

#servicesNext,
#teamNext {
  background-image: url("Recursos/Recurso 7@3x-8.png");
}

.carousel-arrow:hover {
  transform: translateY(-1px);
}

.carousel-arrow:disabled {
  opacity: 0.5;
}

.services-window {
  overflow: hidden;
}

.services-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  transition: transform 0.4s ease;
}

.service-card {
  margin: 0;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.service-card img {
  width: 100%;
  display: block;
}

.center-btn-wrap {
  text-align: center;
  margin-top: 34px;
  position: relative;
  z-index: 2;
}

.ghost-btn {
  border: 2px solid #b9b9b9;
  border-radius: 999px;
  padding: 8px 30px;
  background: transparent;
  color: #767676;
  font-size: clamp(1rem, 1.2vw, 1.9rem);
  font-family: inherit;
}

.services-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 23, 0.58);
  backdrop-filter: blur(5px);
  z-index: 220;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 20px;
}

.services-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.services-modal-panel {
  width: min(90vw, 1160px);
  max-height: min(90vh, 940px);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.services-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid #eef1f1;
}

.services-modal-header h3 {
  color: var(--heading);
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1;
}

.services-modal-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #f4f6f6;
  color: #5d6869;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.services-modal-body {
  overflow-y: auto;
  padding: 22px;
}

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

.services-modal-item {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.services-modal-item img {
  width: 100%;
  display: block;
}

body.modal-open {
  overflow: hidden;
}

.team {
  position: relative;
  padding-bottom: 120px;
  background: transparent;
  overflow: visible;
  z-index: 1;
}

.team > .container {
  position: relative;
  z-index: 1;
}

.team-headline-bar {
  margin: 34px auto 44px;
  max-width: 930px;
  background: #f7f7f7;
  border: 2px solid #ececec;
  box-shadow: var(--card-shadow);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 8px;
  gap: 8px;
}

.team-headline-bar span {
  border-radius: 999px;
  padding: 12px 22px;
  text-align: center;
  font-size: clamp(1rem, 1.3vw, 1.55rem);
  font-weight: 600;
}

.team-headline-bar span:first-child {
  color: var(--heading);
}

.team-headline-bar span:last-child {
  color: #303030;
  background: #efefef;
  white-space: nowrap;
}

.team-slider-wrap {
  position: relative;
  padding: 0 62px;
}

.team-slider {
  min-height: 470px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
  perspective: 1100px;
  background: transparent;
}

#teamPrev,
#teamNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#teamPrev {
  left: 0;
}

#teamNext {
  right: 0;
}

.team-card {
  border-radius: 42px;
  border: none;
  padding: 34px 30px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), background 0.34s ease, color 0.34s ease, opacity 0.34s ease, filter 0.34s ease;
  opacity: 1;
  filter: none;
  transform: scale(0.95);
  transform-origin: center center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 548px;
  will-change: transform, opacity;
}

.team-card h3 {
  color: #7ec7c7;
  font-size: clamp(1.6rem, 2.3vw, 2.6rem);
  margin-bottom: 22px;
  line-height: 1;
}

.team-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.team-card li {
  border-radius: 999px;
  background: #ececec;
  padding: 10px 18px;
  color: #8a8a8a;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  line-height: 1.15;
}

.team-card li b {
  color: #6a6a6a;
}

.team-card.is-active {
  background: var(--teal);
  transform: translateY(-20px);
  opacity: 1;
  filter: none;
  z-index: 3;
}

.team-card.is-active h3 {
  color: #f3f8f8;
}

.team-card.is-active li {
  background: rgba(139, 230, 230, 0.55);
  color: #e8fcfc;
}

.team-card.is-active li b {
  color: #fff;
}

.team-card--left,
.team-card--right {
  background: rgba(255, 255, 255, 0.98);
  opacity: 0.8;
  filter: saturate(0.72);
  z-index: 2;
}

.team-card--left h3,
.team-card--right h3 {
  color: rgba(124, 197, 199, 0.92);
}

.team-card--left li,
.team-card--right li {
  background: rgba(237, 237, 237, 0.88);
  color: rgba(131, 131, 131, 0.92);
}

.team-card--left li b,
.team-card--right li b {
  color: rgba(101, 101, 101, 0.9);
}

.cta {
  position: relative;
  min-height: 520px;
  background-image: url("Recursos/Recurso 12@3x-8.png");
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 244, 244, 0.28);
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-inner p {
  font-size: clamp(1.15rem, 2vw, 2.6rem);
  margin-bottom: 14px;
  color: #737373;
}

.cta-inner h2 {
  color: #a2a2a2;
  font-size: clamp(2.55rem, 5.4vw, 5.8rem);
  margin-bottom: 34px;
}

.primary-btn {
  border: none;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.15vw, 1.6rem);
  font-weight: 700;
  padding: 12px 28px;
  cursor: pointer;
}

.cta-mark {
  position: absolute;
  right: min(6vw, 80px);
  bottom: 6%;
  opacity: 0.95;
}

.cta-mark img {
  width: clamp(74px, 8.6vw, 154px);
  height: auto;
  display: block;
}

.faq {
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("Recursos/Recurso 22@3x-8.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 58%;
  opacity: 0.3;
  pointer-events: none;
}

.faq::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 260px;
  background: radial-gradient(120% 180px at 100% 100%, rgba(186, 186, 186, 0.18), rgba(186, 186, 186, 0) 65%);
  pointer-events: none;
}

.faq-inner {
  position: relative;
  z-index: 2;
  text-align: left;
}

.faq h2 {
  text-align: left;
}

.faq-list {
  max-width: 820px;
  display: grid;
  gap: 12px;
  margin: 0;
}

.faq details {
  background: #f8f8f8;
  border: 2px solid #efefef;
  border-radius: 14px;
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 50px 18px 22px;
  font-size: clamp(1.1rem, 1.3vw, 1.8rem);
  color: #6b6b6b;
  position: relative;
  display: flex;
  align-items: center;
  line-height: 1.25;
}

.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 3px solid #8da0a1;
  border-bottom: 3px solid #8da0a1;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-58%) rotate(45deg);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
  border-color: #10b3b5;
}

.faq details p {
  margin: 0;
  padding: 4px 22px 24px;
  font-size: clamp(0.95rem, 1.1vw, 1.3rem);
  line-height: 1.55;
  max-width: none;
}

.site-footer {
  background-image: url("Recursos/bgfoot.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 44% center;
  padding: 48px 0 54px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.footer-left p {
  color: #747474;
  font-size: clamp(1.45rem, 2.5vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: clamp(140px, 16vw, 230px);
  height: auto;
  display: block;
}

.footer-right {
  text-align: right;
  color: #eefbfb;
}

.footer-right h3 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  margin-bottom: 10px;
  white-space: nowrap;
}

.footer-right p {
  font-size: clamp(1.05rem, 1.7vw, 2.1rem);
  margin: 6px 0;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .container {
    width: min(1240px, calc(100% - 34px));
  }

  .topbar-inner {
    min-height: 58px;
  }

  .pill-item,
  .whatsapp-pill {
    font-size: 0.82rem;
    gap: 8px;
  }

  .pill-icon {
    width: 34px;
    height: 34px;
  }

  .line-icon {
    width: 18px;
    height: 18px;
  }

  .whatsapp-wrap {
    width: 42px;
    height: 42px;
  }

  .whatsapp-wrap img {
    width: 50px;
    height: 50px;
  }

  .nav-inner {
    min-height: 84px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.9rem;
  }

  .logo-image img {
    width: clamp(150px, 15vw, 198px);
  }

  .blood-icon {
    width: 36px;
    height: 36px;
  }

  .blood-icon img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    min-height: 600px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    margin-top: 30px;
  }

  .hero::after {
    display: none;
  }

  .hero-divider {
    height: 110px;
  }

  .services-track {
    grid-auto-columns: calc((100% - 22px) / 2);
  }

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

  .team-card {
    padding: 26px 20px;
    border-radius: 30px;
    min-height: 500px;
  }

  .team-card h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 980px) {
  .topbar {
    background: var(--teal);
    border-bottom: none;
  }

  .topbar-inner {
    min-height: 64px;
    gap: 10px;
  }

  .pill-item,
  .whatsapp-pill,
  .social-links {
    color: #e7ffff;
    font-size: 0.75rem;
  }

  .topbar-left,
  .topbar-right {
    gap: 10px;
  }

  .pill-item {
    gap: 6px;
  }

  .pill-text {
    font-size: 0.78rem;
    font-weight: 600;
  }

  .pill-item span:last-child,
  .consult-text strong,
  .consult-text br {
    white-space: nowrap;
  }

  .consult-text {
    display: inline-block;
    font-size: 0.74rem;
    line-height: 1.2;
    color: #fff;
  }

  .consult-text span {
    font-size: 0.72rem;
    font-weight: 500;
  }

  .pill-icon {
    width: 30px;
    height: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    color: var(--teal);
  }

  .line-icon {
    width: 16px;
    height: 16px;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a {
    width: 14px;
    height: 14px;
  }

  .social-links img {
    filter: brightness(0) invert(1);
  }

  .whatsapp-pill {
    padding-left: 3px;
    gap: 6px;
  }

  .whatsapp-pill::before {
    inset: -9px -10px -9px 8px;
    background: rgba(255, 255, 255, 0.14);
  }

  .whatsapp-wrap {
    width: 40px;
    height: 40px;
  }

  .whatsapp-wrap img {
    width: 34px;
    height: 34px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    margin-top: 0;
    min-height: 640px;
  }

  .hero::after {
    display: none;
  }

  .hero-divider {
    height: 94px;
  }

  .hero-content {
    position: relative;
    justify-content: center;
    align-content: center;
    min-height: 640px;
    padding-top: 148px;
    padding-bottom: 70px;
    gap: 8px;
  }

  .hero-logo {
    display: inline-block;
    position: absolute;
    top: 30px;
    left: 0;
  }

  .hero-logo img {
    width: 165px;
    height: auto;
    display: block;
  }

  .mobile-toggle {
    display: inline-grid;
    place-content: center;
    position: absolute;
    top: 34px;
    right: 0;
    width: 56px;
    height: 56px;
    border: none;
    background: transparent;
    color: #fff;
    z-index: 60;
    cursor: pointer;
    gap: 6px;
    padding: 0;
  }

  .mobile-toggle span {
    width: 36px;
    height: 5px;
    border-radius: 999px;
    background: #fff;
    display: block;
  }

  .mobile-menu {
    position: absolute;
    right: 8px;
    top: 90px;
    display: none;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.76);
    backdrop-filter: blur(3px);
    border-radius: 14px;
    padding: 12px;
    z-index: 60;
    min-width: 190px;
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .mobile-menu a {
    color: #fff;
    padding: 10px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  .hero-content h1 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: clamp(2.2rem, 5.7vw, 3.1rem);
  }

  .hero-arrow {
    margin-top: 0;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
  }

  .hero-arrow svg {
    width: 36px;
    height: 36px;
  }

  .section {
    padding: 62px 0;
  }

  h2 {
    font-size: clamp(2rem, 8.2vw, 2.8rem);
  }

  .section p {
    font-size: clamp(0.98rem, 3.4vw, 1.22rem);
    line-height: 1.3;
  }

  .services-track {
    grid-auto-columns: calc((100% - 16px) / 2);
    gap: 16px;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .team-headline-bar {
    margin-top: 24px;
    margin-bottom: 28px;
    grid-template-columns: 1fr 1.5fr;
  }

  .team-headline-bar span {
    font-size: 0.88rem;
    padding: 8px 6px;
  }

  .team-slider {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
  }

  .team-card {
    padding: 18px 12px;
    min-height: 450px;
  }

  .team-card h3 {
    font-size: 1.55rem;
  }

  .team-card li {
    font-size: 0.95rem;
  }

  .team-slider-wrap {
    padding: 0 46px;
  }

  .cta {
    min-height: 720px;
    align-items: start;
    padding-top: 60px;
    background-position: 64% center;
  }

  .cta-mark {
    right: 28px;
    bottom: 16%;
  }

  .cta-mark img {
    width: 96px;
  }

  .cta-inner p {
    font-size: 1.65rem;
  }

  .cta-inner h2 {
    font-size: clamp(3.4rem, 11.5vw, 5rem);
    line-height: 0.9;
    margin-bottom: 24px;
  }

  .primary-btn {
    font-size: 1.35rem;
    padding: 10px 24px;
  }

  .faq-list {
    max-width: 820px;
    margin: 0;
  }

  .faq summary {
    font-size: 1rem;
    padding: 12px 42px 12px 14px;
  }

  .faq summary::after {
    width: 8px;
    height: 8px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    right: 14px;
  }

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

  .footer-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: flex-end;
    gap: 14px;
  }

  .footer-left p {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.12;
  }

  .footer-right h3 {
    font-size: 1.45rem;
    margin-bottom: 5px;
  }

  .footer-right p {
    font-size: 0.9rem;
    margin: 3px 0;
  }
}

@media (max-width: 760px) {
  .services-modal-backdrop {
    padding: 12px;
  }

  .services-modal-panel {
    width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
  }

  .services-modal-header {
    padding: 16px 14px;
  }

  .services-modal-header h3 {
    font-size: 1.2rem;
  }

  .services-modal-close {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .services-modal-body {
    padding: 14px;
  }

  .services-modal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .services-team-shell::before {
    background-size: 100% 100%;
    background-position: center top;
  }

  .team-slider {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .team-slider .team-card:not(.is-active) {
    display: none;
  }

  .team-slider-wrap {
    padding: 0 38px;
  }

  #teamPrev,
  #teamNext {
    top: 50%;
  }

  .team-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 20px);
  }

  .about .container,
  .services .container,
  .team .container,
  .faq .container,
  .cta .container {
    width: calc(100% - 34px);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .section p {
    font-size: 0.93rem;
    line-height: 1.3;
  }

  .topbar-inner {
    gap: 8px;
  }

  .topbar-left,
  .topbar-right {
    gap: 7px;
  }

  .pill-text {
    display: none;
  }

  .consult-text {
    font-size: 0.67rem;
  }

  .consult-text span {
    font-size: 0.65rem;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content {
    min-height: 540px;
    padding-top: 122px;
    padding-bottom: 56px;
  }

  .hero-logo {
    top: 22px;
  }

  .hero-logo img {
    width: 132px;
  }

  .mobile-toggle {
    top: 26px;
  }

  .mobile-toggle span {
    width: 33px;
    height: 4px;
  }

  .hero-content h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.35rem);
    margin-bottom: 10px;
  }

  .hero::after {
    display: none;
  }

  .hero-divider {
    height: 88px;
  }

  .hero-arrow {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
  }

  .hero-arrow svg {
    width: 36px;
    height: 36px;
  }

  .services-track {
    grid-auto-columns: 100%;
  }

  .team-slider-wrap {
    padding: 0 30px;
  }

  #teamPrev,
  #teamNext {
    top: 50%;
  }

  .team-headline-bar {
    grid-template-columns: 1fr 1.6fr;
  }

  .team-headline-bar span {
    font-size: 0.78rem;
    white-space: normal;
    line-height: 1.2;
  }

  .team-headline-bar span:last-child {
    font-size: 0.7rem;
    white-space: normal;
  }

  .team-card.is-active {
    transform: none;
  }

  .cta {
    min-height: 610px;
    padding-top: 40px;
  }

  .cta-inner p {
    font-size: 1.2rem;
  }

  .cta-inner h2 {
    font-size: 2.8rem;
  }

  .primary-btn {
    font-size: 1rem;
    padding: 9px 18px;
  }

  .site-footer {
    padding: 24px 0 26px;
    background-position: 44% center;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: flex-end;
    gap: 10px;
  }

  .footer-left p {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .footer-logo img {
    width: 104px;
  }

  .footer-right {
    text-align: right;
  }

  .footer-right h3 {
    font-size: 1.22rem;
    margin-bottom: 3px;
  }

  .footer-right p {
    font-size: 0.76rem;
    margin: 2px 0;
  }
}
