:root {
  --bg: #f6fbfc;
  --card: #ffffff;
  --text: #17323d;
  --muted: #5f7780;
  --primary: #0f7b93;
  --primary-dark: #0a5668;
  --accent: #f1b654;
  --border: #dbe8eb;
  --shadow: 0 16px 40px rgba(17, 62, 77, 0.12);
  --radius: 22px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg, #fbfeff 0%, #87b2bb 100%);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

ul {
  list-style: none;
}

.container {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px;
}

.section,
.hero,
.page-hero {
  padding: 78px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.75);
}

.eyebrow,
.tag {
  color: var(--primary);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title,
.hero h1,
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.06;
  margin-bottom: 16px;
}

.section-lead,
.hero p,
.page-hero p,
.card p,
.footer-note,
.split-copy p,
.contact-card p,
.map-box p {
  color: var(--muted);
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(251, 254, 255, 0.9);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  background: #1977cc;
  border-bottom: none;
  font-size: 0.84rem;
  width: 100%;
}

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

.topbar-label {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-dot {
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
  display: inline-block;
  height: 8px;
  width: 8px;
}

.topbar-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.topbar-right {
  align-items: center;
  display: flex;
  gap: 12px;
}

.topbar-link {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  gap: 8px;
  font-weight: 600;
}

.topbar-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.topbar-link:hover {
  color: rgba(255, 255, 255, 0.82);
}

.social-link {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.social-link svg {
  display: block;
  fill: currentColor;
  height: 14px;
  width: 14px;
}

.social-link:hover {
  color: rgba(255, 255, 255, 0.82);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 82px;
  position: relative;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  justify-content: flex-start;
  text-align: left;
}

.brand-mark {
  align-items: center;
  /*background: linear-gradient(135deg, var(--primary), #38b7c7);*/
  background-color: #1977cc;
  border-radius: 18px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.brand-text strong {
  display: block;
  font-size: 1.08rem;
  text-align: left;
}

.brand-text span {
  color: var(--muted);
  display: block;
  font-size: 0.95rem;
  text-align: left;
}

.menu-toggle {
  display: none;
}

.menu-button {
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  background: var(--text);
  border-radius: 99px;
  display: block;
  height: 3px;
  width: 28px;
}

.nav-list {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  text-align: right;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-left: auto;
}

.nav-list a {
  color: var(--muted);
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
}

.button,
.button-secondary {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 13px 22px;
}

.button {
  background: linear-gradient(135deg, var(--primary), #2ea9ba);
  box-shadow: 0 12px 26px rgba(15, 123, 147, 0.2);
  color: #fff;
}

.button-secondary {
  background: rgba(15, 123, 147, 0.08);
  color: var(--primary-dark);
}

.hero-grid,
.split-grid,
.reviews-grid,
.contact-grid,
.footer-grid,
.cta-banner,
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-points,
.contact-list,
.footer-links,
.split-copy ul {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.hero-points li,
.split-copy li,
.contact-list li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.hero-points li::before,
.split-copy li::before,
.contact-list li::before {
  color: var(--accent);
  content: "\2022";
  left: 0;
  position: absolute;
  top: 0;
}

.hero-card,
.card,
.contact-card,
.map-box,
.cta-banner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.contact-card,
.map-box,
.cta-banner {
  padding: 30px;
}

.map-box {
  overflow: hidden;
}

.map-box iframe {
  border: 0;
  border-radius: 18px;
  display: block;
  height: 100%;
  margin-top: 18px;
  min-height: 320px;
  width: 100%;
}

.map-embed iframe {
  display: none;
  margin-top: 0;
}

.map-embed.is-loaded iframe {
  display: block;
}

.map-load-note {
  color: var(--muted);
  margin-top: 12px;
}

.hero-card {
  overflow: hidden;
}

.content-slider {
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.content-slider-track {
  animation: sliderCycle 15s infinite;
}

.content-slide {
  min-height: 280px;
}

.content-slide h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.content-slide p {
  color: var(--muted);
  margin-bottom: 18px;
}

.content-slide ul {
  display: grid;
  gap: 10px;
}

.content-slide li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.content-slide li::before {
  color: var(--accent);
  content: "\2022";
  left: 0;
  position: absolute;
  top: 0;
}

.slider-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 320px;
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.slider-track {
  animation: sliderCycle 15s infinite;
  display: grid;
  gap: 18px;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
}

.slide-item {
  background: linear-gradient(180deg, rgba(15, 123, 147, 0.04), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(15, 123, 147, 0.12);
  border-radius: 18px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 242px;
  padding: 140px;
}

.slide-item h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.slide-item p {
  color: var(--muted);
  margin-bottom: 18px;
}

.slide-link {
  align-items: center;
  background: rgba(15, 123, 147, 0.1);
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  margin-top: auto;
  padding: 12px 18px;
  width: fit-content;
}

.slide-link:hover {
  background: rgba(15, 123, 147, 0.16);
}

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

.treatment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
}

.treatment-card-image {
  background: #f8fbfd;
  border-radius: 18px;
  display: block;
  margin-bottom: 18px;
  object-fit: cover;
  width: 100%;
}

.treatment-card .tag {
  margin-bottom: 12px;
}

.treatment-card h3 {
  margin-bottom: 10px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  margin: 18px 0 8px;
}

.slider-dots span {
  background: rgba(15, 123, 147, 0.2);
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.slider-dots span:nth-child(1) {
  animation: dotPulse 15s infinite;
}

.slider-dots span:nth-child(2) {
  animation: dotPulse 15s infinite 5s;
}

.slider-dots span:nth-child(3) {
  animation: dotPulse 15s infinite 10s;
}

.profile-photo {
  border-radius: 18px;
  display: block;
  margin-bottom: 22px;
  min-height: 300px;
  object-fit: cover;
  width: 100%;
}

.profile-body h2 {
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.profile-name {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.profile-role {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.reviews-section {
  padding-top: 30px;
}

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

.reviews-copy p {
  max-width: 62ch;
}

.google-reviews-block {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 18px;
}

.google-reviews-header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.google-reviews-score {
  color: var(--primary-dark);
  font-weight: 700;
}

.google-reviews-list {
  display: grid;
  gap: 12px;
}

.google-review-card {
  background: #f9fcfd;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}

.google-review-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.google-review-author {
  font-weight: 700;
}

.google-review-stars {
  color: #f1b654;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.google-review-text {
  color: var(--muted);
  margin: 0;
}

.google-reviews-empty {
  color: var(--muted);
  margin: 0;
}

.reviews-map-box iframe {
  min-height: 360px;
}

.card {
  padding: 26px;
}

.card h3,
.contact-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.stats div {
  background: #f7fcfd;
  border-radius: 18px;
  padding: 18px;
}

.stats strong {
  color: var(--primary-dark);
  display: block;
  font-size: 1.8rem;
}

.breadcrumbs {
  color: var(--muted);
  margin-bottom: 14px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  margin-top: 30px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.84);
}

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

.cta-banner .button {
  background: #fff;
  box-shadow: none;
  color: var(--primary-dark);
}

.cta-banner .button-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(25, 119, 204, 0.2), transparent 28%),
    linear-gradient(180deg, #112932 0%, #0b1e27 100%);
  color: #edf6f7;
  margin-top: 70px;
  padding: 52px 0 24px;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.3fr 1fr 1fr;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand-mark {
  align-items: center;
  background: #1977cc;
  border-radius: 16px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

.footer-title {
  color: #ffffff;
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-text {
  color: rgba(237, 246, 247, 0.78);
}

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

.footer-list a,
.footer-list span {
  color: rgba(237, 246, 247, 0.78);
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(237, 246, 247, 0.12);
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  color: rgba(237, 246, 247, 0.62);
}

.whatsapp-float {
  align-items: center;
  background: #128c4a;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.28);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.01em;
  padding: 14px 20px;
  position: fixed;
  right: 24px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
  z-index: 100;
}

.social-float {
  align-items: center;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(9, 35, 48, 0.25);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.01em;
  padding: 12px 18px;
  position: fixed;
  right: 24px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
  z-index: 99;
}

.social-float svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.instagram-float {
  background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #8134af);
  bottom: 92px;
}

.linkedin-float {
  background: #0a66c2;
  bottom: 156px;
}

.instagram-float:hover {
  filter: brightness(0.94);
}

.linkedin-float:hover {
  background: #0958a9;
}

.whatsapp-icon {
  align-items: center;
  display: inline-flex;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.whatsapp-icon svg {
  fill: currentColor;
  display: block;
  height: 20px;
  width: 20px;
}

.phone-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.whatsapp-float:hover {
  background: #0f7a40;
}

.footer-bottom-links a,
.footer-note,
.footer-text {
  color: rgba(237, 246, 247, 0.78);
}

@keyframes sliderCycle {
  0%, 28% {
    transform: translateX(0);
  }

  33%, 61% {
    transform: translateX(calc(-100% - 18px));
  }

  66%, 94% {
    transform: translateX(calc(-200% - 36px));
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes dotPulse {
  0%, 28% {
    background: var(--primary);
    width: 24px;
  }

  33%, 100% {
    background: rgba(15, 123, 147, 0.2);
    width: 8px;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .reviews-grid,
  .contact-grid,
  .cta-banner,
  .card-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .topbar-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
  }

  .menu-button {
    display: flex;
  }

  .site-nav {
    background: rgba(251, 254, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: block;
    flex: none;
    left: 24px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    right: 24px;
    top: calc(100% + 10px);
    transition: max-height 0.25s ease, opacity 0.25s ease;
  }

  .nav-list {
    align-items: flex-end;
    flex-direction: column;
    padding: 18px 20px 22px;
  }

  .menu-toggle:checked + .menu-button + .site-nav {
    max-height: 420px;
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .topbar-content {
    padding: 8px 0;
  }

  .topbar-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-right {
    display: none;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .section,
  .page-hero {
    padding: 62px 0;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

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

  .content-slider,
  .content-slide {
    min-height: 320px;
  }

  @keyframes sliderCycle {
    0%, 28% {
      transform: translateX(0);
    }

    33%, 61% {
      transform: translateX(calc(-100% - 18px));
    }

    66%, 94% {
      transform: translateX(calc(-200% - 36px));
    }

    100% {
      transform: translateX(0);
    }
  }

  .whatsapp-float {
    bottom: 18px;
    left: 18px;
    justify-content: center;
    right: 18px;
  }

  .social-float {
    border-radius: 999px;
    gap: 0;
    height: 44px;
    justify-content: center;
    padding: 0;
    right: 18px;
    width: 44px;
  }

  .social-float span {
    display: none;
  }

  .social-float svg {
    height: 20px;
    width: 20px;
  }

  .instagram-float {
    bottom: 74px;
  }

  .linkedin-float {
    bottom: 126px;
  }
}

/* Mobile safety override: prevent horizontal gap/overflow */
@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-grid,
  .split-grid,
  .reviews-grid,
  .contact-grid,
  .cta-banner,
  .card-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .site-nav {
    left: 16px;
    right: 16px;
  }
}
