:root {
  --primary: #0f6c7b;
  --primary-dark: #0a4f5f;
  --teal: #2bb0a2;
  --mint: #8fd7c1;
  --green: #3f9b6f;
  --sky: #e7f7f4;
  --text: #17333d;
  --muted: #61737c;
  --bg: #f7fcfb;
  --surface: rgba(255, 255, 255, 0.82);
  --border: rgba(15, 108, 123, 0.14);
  --shadow: 0 18px 60px rgba(15, 108, 123, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fbfffe 0%, var(--bg) 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 176, 162, 0.14);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.section-heading p {
  color: var(--muted);
  font-size: 1rem;
}

.subsection-heading {
  margin: 32px 0 18px;
}

.subsection-heading h3 {
  color: var(--primary-dark);
  font-family: 'Manrope', sans-serif;
  margin-bottom: 6px;
}

.subsection-heading p {
  color: var(--muted);
}

.consultation-section {
  padding-top: 20px;
}

.consultation-card,
.specialized-care-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(15, 108, 123, 0.95) 0%, rgba(43, 176, 162, 0.92) 100%);
  color: white;
  box-shadow: 0 24px 60px rgba(15, 108, 123, 0.22);
}

.specialized-care-card {
  flex-direction: column;
  align-items: flex-start;
}

.specialized-care-card .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.specialized-care-card h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  margin-bottom: 10px;
}

.specialized-care-card p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
}

.consultation-copy {
  max-width: 700px;
}

.consultation-copy .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.consultation-copy h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  margin-bottom: 10px;
}

.consultation-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.consultation-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-note {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-note a {
  color: var(--primary);
  font-weight: 700;
}

.loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--sky) 100%);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 70px;
  height: 70px;
  border: 6px solid rgba(15, 108, 123, 0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(247, 252, 251, 0.78);
  border-bottom: 1px solid rgba(15, 108, 123, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  min-width: 0;
  flex: 1;
}

.brand strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.05rem;
  line-height: 1.2;
  word-break: break-word;
}

.brand small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
  word-break: break-word;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(15, 108, 123, 0.2);
}

.brand-icon img {
  width: 24px;
  height: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--text);
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary-dark);
  transition: 0.3s ease;
}

.hero {
  padding: 70px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--primary-dark);
}

.hero-copy p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  color: white;
  box-shadow: 0 14px 30px rgba(15, 108, 123, 0.22);
}

.btn-secondary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(15, 108, 123, 0.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 108, 123, 0.12);
  color: var(--primary-dark);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-stats > div {
  min-width: 120px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(232,247,243,0.85));
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 108, 123, 0.14);
}

.hero-card img {
  width: min(440px, 100%);
  border-radius: 24px;
}

.hero-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  color: white;
  background: rgba(15, 108, 123, 0.9);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.about-card,
.contact-card,
.feature-card,
.treatment-card,
.testimonial-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card {
  padding: 28px;
}

.about-list {
  display: grid;
  gap: 16px;
}

.about-list h3 {
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.about-list p {
  color: var(--muted);
}

.treatment-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.treatment-card,
.feature-card {
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
}

.treatment-card i,
.feature-card i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.treatment-card h3,
.feature-card h3 {
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.treatment-card p,
.feature-card p {
  color: var(--muted);
}

.gallery-section {
  background: linear-gradient(180deg, rgba(231,247,244,0.35) 0%, rgba(255,255,255,0.6) 100%);
}

.gallery-swiper,
.testimonial-swiper {
  padding-bottom: 44px;
}

.swiper-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
}

.testimonial-card {
  padding: 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card p {
  font-size: 1.03rem;
  margin-bottom: 14px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: var(--primary-dark);
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  max-height: 140px;
  padding: 0 20px 16px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
}

.contact-info ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}

.contact-info a {
  color: var(--primary);
}

.map-frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.contact-card {
  padding: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

label {
  font-weight: 700;
  color: var(--primary-dark);
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 108, 123, 0.15);
  font: inherit;
  color: var(--text);
  background: white;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(43, 176, 162, 0.26);
  border-color: var(--teal);
}

.form-message {
  margin-top: 12px;
  color: var(--green);
  font-weight: 600;
}

.site-footer {
  padding: 70px 0 20px;
  background: linear-gradient(135deg, #0d4954 0%, #155e68 100%);
  color: rgba(255,255,255,0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.7fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 12px;
  color: white;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: rgba(255,255,255,0.85);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.16);
  text-align: center;
  color: rgba(255,255,255,0.76);
}

.floating-btn {
  position: fixed;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
  z-index: 900;
  border: none;
  cursor: pointer;
}

.floating-btn.whatsapp {
  bottom: 92px;
  background: #25D366;
}

.floating-btn.call {
  bottom: 24px;
  background: var(--primary);
}

.floating-btn.scroll-top {
  right: 24px;
  bottom: 160px;
  background: var(--teal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.floating-btn.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .treatment-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .consultation-card {
    padding: 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,0.96);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    min-width: 220px;
    max-width: min(90vw, 260px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .treatment-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

  .brand {
    gap: 8px;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .hero {
    padding: 36px 0 56px;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 7vw, 2.45rem);
  }

  .hero-copy p {
    font-size: 0.97rem;
  }

  .hero-actions .btn,
  .consultation-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stats > div {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .hero-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 0.8rem;
  }

  .about-card,
  .contact-card,
  .treatment-card,
  .feature-card,
  .testimonial-card {
    padding: 20px;
  }

  .consultation-card {
    padding: 20px;
    border-radius: 20px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 14px;
  }

  .swiper-slide img {
    height: 220px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    right: 14px;
  }

  .floating-btn.whatsapp {
    bottom: 84px;
  }

  .floating-btn.call {
    bottom: 16px;
  }

  .floating-btn.scroll-top {
    right: 14px;
    bottom: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
