/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2E86C1;
  --blue-dark: #1a5f8f;
  --blue-light: #5ba3d0;
  --green: #48C9B0;
  --green-dark: #36a696;
  --white: #FFFFFF;
  --gray-light: #F4F6F7;
  --gray: #ECF0F1;
  --gray-mid: #BDC3C7;
  --gray-dark: #7F8C8D;
  --text: #2C3E50;
  --text-light: #566573;
  --shadow: 0 4px 24px rgba(46,134,193,0.10);
  --shadow-hover: 0 8px 40px rgba(46,134,193,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 3px; }

/* ===== HEADER ===== */
html, body { margin: 0; padding: 0; }

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(46,134,193,0.08);
  transition: var(--transition);
  margin: 0;
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(46,134,193,0.15);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.header-inner nav {
  justify-content: center;
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.logo span { color: var(--green); }

nav { display: flex; align-items: center; gap: 0.3rem; }

nav a {
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

nav a:hover, nav a.active {
  background: var(--blue);
  color: var(--white);
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(46,134,193,0.35);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-whatsapp-header::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn-whatsapp-header:hover::after { left: 150%; }

.btn-whatsapp-header:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 26px rgba(46,134,193,0.45);
}

.btn-whatsapp-header svg { flex-shrink: 0; }

nav a.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  font-weight: 600;
}

nav a.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,134,193,0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle:hover { background: var(--gray-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease, background 0.28s ease;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on all buttons */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn:hover::after { left: 150%; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(46,134,193,0.3);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 30px rgba(46,134,193,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 28px rgba(46,134,193,0.35);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(72,201,176,0.35);
}

.btn-green:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 32px rgba(72,201,176,0.5);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1609840114035-3c981b782dfe?w=1600&q=80') center/cover no-repeat;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(46,134,193,0.75) 0%,
    rgba(22,60,90,0.85) 50%,
    rgba(72,201,176,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 72px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(72,201,176,0.2);
  border: 1px solid rgba(72,201,176,0.4);
  color: var(--green);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 2.2rem;
  line-height: 1.8;
  animation: fadeInUp 0.9s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s 0.3s ease both;
}

/* scroll removed */

/* ===== SECTIONS BASE ===== */
section { padding: 6rem 0; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title span { color: var(--blue); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.8;
}

.section-header { margin-bottom: 3.5rem; }

.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ===== ABOUT CLINIC SECTION ===== */
.about-section {
  background: var(--white);
  padding: 6rem 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green);
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.about-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 2rem;
}

/* Accordion — visual steps redesign */
.accordion { display: flex; flex-direction: column; gap: 0; }

.accordion-item {
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

/* Vertical connector line */
.accordion-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), rgba(72,201,176,0.15));
  z-index: 0;
}

.accordion-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1rem 1rem 0;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
  user-select: none;
  position: relative;
  z-index: 1;
}

.accordion-item.open .accordion-header { background: transparent; }

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 0;
}

.accordion-num {
  width: 42px; height: 42px;
  background: var(--white);
  border: 2px solid var(--gray);
  color: var(--gray-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.accordion-item.open .accordion-num {
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(46,134,193,0.35);
}

.accordion-header-text {
  flex: 1;
  padding-left: 1rem;
}

.accordion-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
  transition: var(--transition);
}

.accordion-item.open .accordion-header h4 { color: var(--blue); }

.accordion-header-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

.accordion-arrow {
  font-size: 0.9rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gray);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s, background 0.3s;
  color: var(--gray-dark);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
  border-color: var(--blue);
  color: var(--blue);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.38s ease;
  padding: 0 0 0 3.5rem;
}

.accordion-item.open .accordion-body {
  max-height: 220px;
  padding: 0 0 1.5rem 3.5rem;
}

.accordion-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
  background: var(--gray-light);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
}

/* Carousel — upgraded with progress bar, caption overlay, thumbnail dots */
.about-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(46,134,193,0.2), 0 4px 16px rgba(0,0,0,0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77,0,0.175,1);
}

.carousel-slide {
  min-width: 100%;
  height: 460px;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Caption overlay per slide */
.carousel-slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.8rem 1.5rem;
  background: linear-gradient(to top, rgba(15,36,56,0.88) 0%, transparent 100%);
  color: var(--white);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.carousel-slide.active .carousel-slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel-slide-caption h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.carousel-slide-caption span {
  font-size: 0.78rem;
  opacity: 0.75;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.28s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 10;
  line-height: 1;
}

.carousel-btn:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 4px 16px rgba(72,201,176,0.4);
}

.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

/* Progress dots — elongated pill style */
.carousel-dots {
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.carousel-dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  background: var(--green);
}

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--green);
  width: 0%;
  transition: width 4.5s linear;
  z-index: 5;
}


/* Stats integrated into about */
.about-stats {
  background: linear-gradient(135deg, #1a4a7a 0%, var(--blue) 40%, #1d7a6b 100%);
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.about-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(72,201,176,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(46,134,193,0.22) 0%, transparent 55%);
  pointer-events: none;
}

.about-stats .stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ===== STATS BAR — upgraded ===== */
.stats-bar {
  background: linear-gradient(135deg, #1a4a7a 0%, var(--blue) 40%, #1d7a6b 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(72,201,176,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(46,134,193,0.22) 0%, transparent 55%);
  pointer-events: none;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--white);
  padding: 2rem 1.5rem;
  position: relative;
  transition: background 0.3s ease;
}

.stat-item:hover {
  background: rgba(255,255,255,0.06);
}

/* Vertical dividers between items */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%; right: 0;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.18);
}

.stat-icon { display: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(72,201,176,0.3);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== SERVICES ===== */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--green));
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon,
.service-card:hover .service-name,
.service-card:hover .service-desc { color: var(--white); position: relative; z-index: 1; }
.service-card:hover .service-icon-wrap { background: rgba(255,255,255,0.2); }

.service-icon-wrap {
  width: 60px; height: 60px;
  background: var(--gray-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  transition: var(--transition);
  position: relative; z-index: 1;
}

.service-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  transition: var(--transition);
  position: relative; z-index: 1;
}

.service-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
  transition: var(--transition);
  position: relative; z-index: 1;
}

/* ===== WHY CHOOSE ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.why-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.why-image-wrap:hover img { transform: scale(1.04); }

.why-badge {
  position: absolute;
  bottom: 2rem; left: -1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.why-badge-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.why-badge-text strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}

.why-badge-text span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.why-features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }

.why-feature {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.why-feature:hover {
  background: var(--gray-light);
  border-color: var(--gray);
  transform: translateX(6px);
}

.feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(46,134,193,0.1), rgba(72,201,176,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.feature-text p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== TREATMENTS PAGE ===== */
.page-hero {
  min-height: 360px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--green) 100%);
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  color: var(--white);
}

.page-hero-inner .section-tag { color: rgba(255,255,255,0.7); }

.page-hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.page-hero-inner p {
  font-size: 1rem;
  opacity: 0.85;
  max-width: 500px;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.treatment-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray);
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.treatment-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.treatment-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-card-img img { transform: scale(1.08); }

.treatment-card-img .treatment-icon-overlay {
  position: absolute;
  top: 1rem; left: 1rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.treatment-card-body { padding: 1.8rem; }

.treatment-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.treatment-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== TREATMENT DETAIL ===== */
.treatment-detail { padding: 5rem 0; }

.treatment-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.treatment-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.treatment-detail-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.treatment-detail-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.treatment-detail-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.treatment-benefits {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 2rem 0;
}

.treatment-benefits h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.treatment-benefits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray);
}

.treatment-benefits li:last-child { border-bottom: none; }

.treatment-benefits li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== STRUCTURE PAGE ===== */
.structure-intro {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.structure-intro p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item.tall img { height: 100%; min-height: 580px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46,134,193,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-info-card:hover { background: var(--white); box-shadow: var(--shadow); }

.contact-info-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-info-text a:hover { color: var(--blue); }

/* Full-width map below form */
.contact-map-full {
  margin-top: 2.5rem;
  width: 100%;
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(46,134,193,0.18);
  width: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* Wide standalone map (full-width below contact grid) */
.contact-map-standalone {
  margin-top: 3rem;
}

.contact-map-standalone .contact-map {
  min-height: 380px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(46,134,193,0.18);
}

.contact-map-standalone .contact-map iframe {
  height: 380px;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(160deg, #1a3a5c 0%, #0f2438 100%);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

/* Brand column */
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand .logo span { color: var(--green); }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  margin-bottom: 0.3rem;
}

/* Column headings with left accent bar */
.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 1.4rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--green);
  line-height: 1.2;
}

/* Info list rows (Informações column) */
.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

.footer-info-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(72,201,176,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 1px;
}

.footer-info-row a {
  color: rgba(255,255,255,0.6);
  transition: color 0.25s;
}
.footer-info-row a:hover { color: var(--green); }

/* Localização column */
.footer-location p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* Contato column */
.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.footer-contact-icon.wa { background: rgba(37,211,102,0.18); }
.footer-contact-icon.mail { background: rgba(214,36,159,0.18); }

.footer-contact-row a {
  color: rgba(255,255,255,0.6);
  transition: color 0.25s;
}
.footer-contact-row a:hover { color: var(--green); }

/* Social buttons */
.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.social-btn:hover { transform: translateY(-4px) scale(1.1); }

.social-btn.instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 3px 12px rgba(214,36,159,0.35);
}
.social-btn.instagram:hover { box-shadow: 0 6px 20px rgba(214,36,159,0.5); }

.social-btn.facebook {
  background: #1877F2;
  box-shadow: 0 3px 12px rgba(24,119,242,0.35);
}
.social-btn.facebook:hover { box-shadow: 0 6px 20px rgba(24,119,242,0.5); }

.social-btn.whatsapp {
  background: #25D366;
  box-shadow: 0 3px 12px rgba(37,211,102,0.35);
}
.social-btn.whatsapp:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

.social-btn svg {
  width: 18px; height: 18px;
  fill: #ffffff;
  display: block;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* Legacy support for old .footer-contact-item (pages other than index) */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item .icon { font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--green); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px; height: 28px;
  fill: #ffffff;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.14);
  box-shadow: 0 8px 28px rgba(37,211,102,0.6);
}

@keyframes waPulse {
  0%   { box-shadow: 0 4px 18px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  70%  { box-shadow: 0 4px 18px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float { animation: waPulse 2.2s infinite; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, #0f3460 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(72,201,176,0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-image-wrap { max-height: 380px; }
  .why-image-wrap img { height: 380px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.tall img { min-height: 280px; }
  .treatment-detail-grid { grid-template-columns: 1fr; }
  .treatment-detail-img { position: static; }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }
  .header-cta { display: none; }
  .menu-toggle { display: flex; grid-column: 2; justify-self: end; }
  nav {
    grid-column: 1 / -1;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.2rem;
    gap: 0.4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-120%);
    transition: var(--transition);
    z-index: 999;
    align-items: stretch;
    justify-content: flex-start;
  }
  nav.open { transform: translateY(0); }
  nav a { width: 100%; text-align: center; padding: 0.75rem; }
  /* Show WhatsApp button inside mobile nav */
  nav .btn-whatsapp-mobile {
    display: flex !important;
    justify-content: center;
    margin-top: 0.4rem;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 0.75rem;
    font-weight: 700;
    font-size: 0.88rem;
  }
}

@media (min-width: 901px) {
  .btn-whatsapp-mobile { display: none !important; }
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .treatments-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(odd)::after { display: block; }
  .why-badge { left: 1rem; }
  .carousel-slide { height: 280px; }
  .about-grid { gap: 2rem; }
  section { padding: 4rem 0; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none !important; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stat-number { font-size: 2rem; }
  .stat-icon { font-size: 1.3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .service-card { padding: 1.4rem 1rem; }
  .section-inner { padding: 0 1rem; }
  .footer-inner { padding: 0 1rem; }
}
