/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --navy:       #1b2d45;
  --navy-mid:   #243c5a;
  --blue:       #2563a8;
  --blue-lt:    #3b82c4;
  --accent:     #0ea5e9;
  --accent-lt:  #e0f2fe;
  --green-wa:   #25d366;
  --green-wa-dk:#128c7e;
  --white:      #ffffff;
  --gray-bg:    #f1f5f9;
  --gray-mid:   #94a3b8;
  --gray-text:  #475569;
  --border:     #e2e8f0;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(27,45,69,.12);
  --shadow-lg:  0 8px 40px rgba(27,45,69,.18);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ===== SCROLL PROGRESS BAR ===== */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  z-index: 9999;
  transition: width .1s linear;
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.0) 100%);
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.logo-spec {
  color: var(--accent);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--green-wa);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 24px;
  font-weight: 600 !important;
  font-size: .8rem !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--green-wa-dk); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 71px; left: 0; right: 0;
  background: var(--navy);
  padding: 20px 24px 28px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.85);
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .nav-cta {
  margin-top: 8px;
  text-align: center;
  border-bottom: none !important;
  border-radius: 8px;
}

/* ===== HERO SLIDER ===== */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
}
/* Ola decorativa al fondo del hero */
#hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: #f8fafc;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 20;
  pointer-events: none;
}
.slides-wrapper {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform .9s cubic-bezier(.77,0,.18,1);
}
.slide {
  width: calc(100% / 3);
  height: 100%;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  transform-origin: center center;
  will-change: transform;
  opacity: .82;
  animation: kenBurns 12s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.06) translate(-1%, 1%); }
}
.slide:nth-child(1),
.slide:nth-child(2),
.slide:nth-child(3) { background: #1e293b; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.50) 0%, rgba(0,0,0,.20) 45%, rgba(0,0,0,.60) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
}
.slide-tag {
  display: inline-block;
  background: rgba(14,165,233,.25);
  border: 1px solid rgba(14,165,233,.5);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.slide-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.slide-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  font-weight: 300;
}
.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-wa);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.slide-cta:hover {
  background: var(--green-wa-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}
.slide-cta svg { flex-shrink: 0; }

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,.25); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px; right: 36px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ===== SECTION COMMONS ===== */
section { padding: 88px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 560px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Fade-in animations */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }
.fade-up.delay-5 { transition-delay: .5s; }

/* ===== STATS SECTION ===== */
#stats {
  background: var(--navy);
  padding: 64px 24px;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  font-weight: 400;
}

/* ===== ABOUT ===== */
#about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 6/7;
  /* Reemplazar: doctor-foto.jpg | Medidas: 600×700px */
  background: linear-gradient(160deg, #dce9f5 0%, #b8d4ee 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #5a87b8;
}
.about-img-placeholder svg { opacity: .4; }
.about-img-placeholder p {
  font-size: .8rem;
  font-weight: 500;
  color: #7aa8cc;
  text-align: center;
  padding: 0 20px;
}
.about-badge {
  position: absolute;
  bottom: 24px; right: -16px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.4;
}
.about-badge strong { display: block; font-size: 1.5rem; font-weight: 800; }
.about-content .section-tag { margin-top: 0; }
.about-content p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 20px;
}
.formation-list { margin: 24px 0 32px; }
.formation-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--gray-text);
}
.formation-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,168,.3);
}
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(37,99,168,.4); }
.btn-whatsapp {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { background: var(--green-wa-dk); transform: translateY(-2px); }

/* ===== SERVICES ===== */
#services {
  background: var(--gray-bg);
}
.services-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--accent-lt);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon { background: var(--blue); color: var(--white); }
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: .875rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ===== WHY US ===== */
#why {
  background: var(--white);
}
.why-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.why-item:hover { box-shadow: var(--shadow); }
.why-icon {
  width: 52px; height: 52px;
  background: var(--blue);
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.why-item h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-item p { font-size: .875rem; color: var(--gray-text); line-height: 1.7; }

/* ===== PROCESS ===== */
#process {
  background: var(--gray-bg);
}
.process-steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5% + 24px); right: calc(12.5% + 24px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px var(--gray-bg);
  transition: all var(--transition);
}
.step:hover .step-num { background: var(--blue); color: var(--white); }
.step h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: .82rem; color: var(--gray-text); line-height: 1.6; }

/* ===== INSTAGRAM ===== */
#instagram {
  background: var(--white);
}
.ig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: .85rem;
  font-weight: 600;
  transition: opacity var(--transition), transform var(--transition);
}
.ig-handle:hover { opacity: .85; transform: translateY(-1px); }

/* Instagram embed oficial */
.ig-embed-wrapper {
  max-width: 540px;
  margin: 0 auto 40px;
  /* NOTA: El embed de Instagram requiere que la cuenta @sebastianlopez_ortopedista sea PÚBLICA.
     Si la cuenta es privada, este embed no se mostrará. */
}

/* Grid de posts placeholder */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.ig-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
/* Colores placeholder distintos por post — Reemplazar: post-ig-N.jpg | Medidas: 400×400px */
.ig-post:nth-child(1) { background: linear-gradient(135deg, #b8d4ee, #7aa8cc); }
.ig-post:nth-child(2) { background: linear-gradient(135deg, #c5deb8, #8ab87a); }
.ig-post:nth-child(3) { background: linear-gradient(135deg, #e8d4b8, #d4a870); }
.ig-post:nth-child(4) { background: linear-gradient(135deg, #d4b8e8, #a870cc); }
.ig-post:nth-child(5) { background: linear-gradient(135deg, #b8e8d4, #70ccaa); }
.ig-post:nth-child(6) { background: linear-gradient(135deg, #e8b8b8, #cc7070); }
.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.ig-post:hover .ig-overlay { background: rgba(0,0,0,.5); }
.ig-overlay svg {
  opacity: 0;
  color: var(--white);
  transition: opacity var(--transition);
}
.ig-post:hover .ig-overlay svg { opacity: 1; }
.ig-placeholder-label {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  text-align: center;
  font-size: .65rem;
  color: rgba(0,0,0,.4);
  font-weight: 600;
}
/* Grid 6 posts embed Instagram */
.ig-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.ig-posts-grid .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}
@media (max-width: 1024px) {
  .ig-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ig-posts-grid { grid-template-columns: 1fr; }
}
.ig-cta { text-align: center; }

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: var(--gray-bg);
}
.testimonials-slider {
  margin-top: 52px;
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform .6s cubic-bezier(.77,0,.18,1);
}
.testimonial-card {
  min-width: 100%;
  padding: 0 40px;
}
@media (min-width: 768px) {
  .testimonial-card { min-width: 50%; }
  .testimonial-card:only-child { min-width: 100%; }
}
.testimonial-inner {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
}
.testimonial-role { font-size: .8rem; color: var(--gray-mid); }
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.t-dot.active { background: var(--blue); transform: scale(1.4); }

/* ===== CTA SECTION ===== */
#cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
  padding: 100px 24px;
}
#cta .section-title { color: var(--white); }
#cta .section-subtitle { color: rgba(255,255,255,.7); margin: 0 auto 40px; }
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ===== FOOTER ===== */
footer {
  background: #0f1e30;
  color: rgba(255,255,255,.6);
  padding: 56px 24px 28px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-name { font-size: 1.2rem; }
.footer-brand p { font-size: .875rem; line-height: 1.8; margin-top: 12px; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.footer-col h4 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}

/* ===== FLOATING WHATSAPP ===== */
#wa-float {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 998;
  width: 60px; height: 60px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
  color: var(--white);
}
#wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.7); }
#wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: waPulse 2.5s infinite;
}
@keyframes waPulse {
  0% { transform: scale(.9); opacity:.8; }
  70% { transform: scale(1.3); opacity:0; }
  100% { transform: scale(.9); opacity:0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 64px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  .ig-grid { gap: 8px; }
  .testimonial-card { min-width: 100%; padding: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .slide-tag { font-size: .65rem; padding: 4px 11px; }
  .slide-title { font-size: 1.55rem; }
  .slide-subtitle { font-size: .88rem; }
  .slide-cta { font-size: .88rem; padding: 11px 22px; }
}
