/* ============================================================
   FONOTERAPIA MACHALI - Estilos principales
   ============================================================ */

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

:root {
  --primary:        #5d7f95;
  --primary-dark:   #4a6878;
  --secondary:      #75b5c4;
  --secondary-light:#b4d9e3;
  --accent:         #fbef2c;
  --accent-dark:    #e0d400;
  --white:          #ffffff;
  --off-white:      #f7fbfc;
  --light-bg:       #edf4f8;
  --text-dark:      #19262f;
  --text-body:      #4a6070;
  --text-muted:     #7a96a6;
  --border:         #cfe0ea;
  --shadow-sm:  0 2px 10px rgba(93,127,149,.10);
  --shadow-md:  0 8px 30px rgba(93,127,149,.16);
  --shadow-lg:  0 20px 60px rgba(93,127,149,.20);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full:999px;
  --ease-out:   cubic-bezier(0.16,1,0.3,1);
  --transition: all .32s cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ========= TIPOGRAFÍA ========= */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(93,127,149,.1);
  padding: .3rem .875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.125rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 58ch;
}

/* ========= LAYOUT ========= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad { padding: 5.5rem 0; }

/* ========= BOTONES ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(.98) translateY(1px); }

.btn-primary {
  background: #60b4c9;
  color: #fff;
  border-color: #60b4c9;
}
.btn-primary:hover {
  background: #4aa2b8;
  border-color: #4aa2b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(96,180,201,.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251,239,44,.40);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Ver Servicios outline dentro del hero: blanco */
#hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.75);
}
#hero .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

.btn-ghost-white {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

/* ========= NAVBAR ========= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.125rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(93,127,149,.12);
  padding: .75rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .3s ease;
}
.navbar.scrolled .navbar-logo img {
  filter: none;
}

.navbar-nav { display: flex; align-items: center; gap: .125rem; }

.navbar-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-nav a:hover { color: #fff; background: rgba(255,255,255,.12); }

.navbar.scrolled .navbar-nav a { color: var(--text-body); }
.navbar.scrolled .navbar-nav a:hover { color: var(--primary); background: rgba(93,127,149,.08); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
/* Barras blancas cuando la navbar es transparente (top 0) */
.navbar:not(.scrolled) .hamburger span { background: #fff; }

.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); }

/* ---- Overlay oscuro ---- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,18,24,.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease;
}

/* ---- Drawer lateral desde la derecha ---- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(300px, 84vw);
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.2);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Cabecera del drawer */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-header img { height: 36px; width: auto; }

.mobile-close {
  width: 34px; height: 34px;
  border: none; background: var(--light-bg);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--transition);
}
.mobile-close:hover { background: var(--border); }

/* Links */
.mobile-menu-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1rem;
  overflow-y: auto;
}

.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: .875rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.mobile-menu a:not(.btn) i {
  width: 18px;
  text-align: center;
  color: var(--primary);
  font-size: .9rem;
  flex-shrink: 0;
}
.mobile-menu a:not(.btn):hover {
  color: var(--primary);
  background: var(--light-bg);
}

/* Footer con CTA */
.mobile-menu-footer {
  padding: 1rem 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
}
.mobile-menu-footer .btn { width: 100%; justify-content: center; }

/* ========= HERO ========= */
#hero {
  display: flex;
  align-items: center;
  padding: 8rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

/* Overlay oscuro para contraste del texto */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19, 32, 41, 0.65);
  pointer-events: none;
  z-index: 1;
}

/* ---- Carousel slides ---- */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: scale(1);
}
.hero-slide.active {
  opacity: 1;
  animation: hero-zoom 4s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* ---- Dots ---- */
.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .625rem;
  z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid rgba(255,255,255,.6);
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s, border-color .3s;
}
.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.35);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: .375rem .875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.625rem;
  backdrop-filter: blur(6px);
}
.hero-badge i { color: var(--accent); font-size: .875rem; }

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: normal; color: var(--accent); }

.hero-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  justify-content: center;
}

.hero-meta { display: flex; align-items: center; gap: 1.375rem; flex-wrap: wrap; justify-content: center; }
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}
.hero-meta-item i { color: var(--accent); font-size: .875rem; }


/* ========= TRUST BAR ========= */
.trust-bar {
  padding: 3.5rem 0 0;
  position: relative;
  overflow: hidden;
  background:
    url('../img/seamless-pattern-with-doodle-children-house-sun-rainbow-bike-hand-drawn-funny-little-kids-play-run-jump-cute-children-drawing-vector-illustration-doodle-style-white-background_192280-645.webp')
    center / cover;
  background-attachment: fixed;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(74, 104, 120, 0.97);
  z-index: 0;
}

.trust-bar .container { position: relative; z-index: 1; }

.trust-wave {
  position: relative;
  line-height: 0;
  margin-top: 2.5rem;
}
.trust-wave svg { display: block; width: 100%; }

.trust-bar-eyebrow {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.375rem;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: .625rem 1.25rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  transition: background .25s, transform .25s;
  cursor: default;
}
.trust-item:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.trust-item i {
  color: var(--accent);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .trust-bar { background-attachment: scroll; }
}

/* ========= HEADER DE SECCIÓN ========= */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 1rem auto 0; }

/* ========= SERVICIOS ========= */
#servicios { background: var(--white); }

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

.service-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-light);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 76px; height: 76px;
  background: none;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform .35s var(--ease-out);
}
.service-card:hover .service-icon { background: none; transform: scale(1.1) rotate(-4deg); }
.service-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.service-icon i { font-size: 1.3rem; color: var(--primary); }

.service-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .75rem;
  line-height: 1.3;
}

.service-list { display: flex; flex-direction: column; gap: .4rem; }
.service-list li {
  font-size: .875rem;
  color: var(--text-body);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.45;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

/* ========= IMPULSO AM ========= */
/* ========= IMPULSO AM ========= */
#impulso-am {
  background: linear-gradient(135deg, #6B4FBE 0%, #4A3490 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}
#impulso-am::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Contenido central con padding */
.impulso-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem;
  text-align: center;
}

/* Cabecera */
.impulso-header { max-width: 600px; }

.impulso-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(251,239,44,.15);
  padding: .28rem .8rem;
  border-radius: var(--radius-full);
  margin-bottom: .875rem;
}

.impulso-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.impulso-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

/* Chips de información */
.impulso-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .625rem;
}

.impulso-chip {
  display: flex;
  align-items: center;
  gap: .575rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  padding: .575rem 1rem;
  backdrop-filter: blur(8px);
  text-align: left;
}
.impulso-chip i {
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.chip-value {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.chip-label {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.58);
}

/* Fila inferior: especialidades + CTA */
.impulso-footer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.25rem;
}

.impulso-pills-wrap { text-align: center; }

.impulso-col-label {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.impulso-spec-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
}

.impulso-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  font-weight: 500;
  padding: .275rem .7rem;
  border-radius: var(--radius-full);
}
.impulso-pill i { font-size: .68rem; opacity: .75; }

/* ========= OTROS SERVICIOS ========= */
#otros-servicios { background: var(--light-bg); }

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

.other-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.other-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.other-card-img { height: 192px; overflow: hidden; }
.other-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.other-card:hover .other-card-img img { transform: scale(1.06); }

.other-card-body { padding: 1.5rem; }

.other-icon {
  width: 44px; height: 44px;
  background: rgba(93,127,149,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .875rem;
}
.other-icon i { color: var(--primary); font-size: 1.2rem; }
.other-name { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .625rem; }
.other-desc { font-size: .875rem; color: var(--text-body); line-height: 1.6; }

/* ========= EQUIPO ========= */
#equipo { background: var(--off-white); }

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

.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-light);
}

.team-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-bg);
}
.team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .5s var(--ease-out);
  display: block;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }

.team-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(93,127,149,.45) 0%, transparent 55%);
  pointer-events: none;
}

.team-card-specialty {
  position: absolute;
  bottom: .875rem; left: .875rem;
  background: var(--accent);
  color: var(--text-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: var(--radius-full);
  z-index: 1;
}

.team-card-body {
  padding: 1.25rem 1.375rem 1.375rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.team-card-info { flex: 1; }
.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .2rem;
  line-height: 1.3;
}
.team-role {
  font-size: .8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.team-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: .5rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  width: 100%;
  justify-content: center;
}
.team-ig-btn i {
  font-size: .9rem;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.team-ig-btn:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.team-ig-btn:hover i {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #fff;
  background-clip: unset;
}

/* ========= TESTIMONIOS ========= */
#testimonios { background: var(--light-bg); }

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

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stars { display: flex; gap: .25rem; margin-bottom: 1rem; }
.stars i { font-size: .875rem; color: #f5c842; }

.testimonial-body {
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.375rem;
}
.testimonial-body::before {
  content: '\201C';
  position: absolute;
  left: 0; top: -.2rem;
  font-size: 2.5rem;
  color: var(--secondary-light);
  font-style: normal;
  line-height: 1;
}

.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.author-initials {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}
.author-name { font-size: .9375rem; font-weight: 700; color: var(--text-dark); }
.author-desc { font-size: .8rem; color: var(--text-muted); }

/* ========= NOSOTROS ========= */
#nosotros { background: var(--white); }

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

.about-img-wrap { position: relative; }
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 1.125rem 1.375rem;
  box-shadow: var(--shadow-md);
}
.about-badge .num { display: block; font-size: 2.125rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.about-badge .lbl { font-size: .8rem; font-weight: 600; color: var(--text-dark); opacity: .7; }

.about-content .section-title { margin-bottom: 1rem; }
.about-content .section-sub { margin-bottom: 2.25rem; }

.about-perks { display: flex; flex-direction: column; gap: 1.125rem; margin-bottom: 2.5rem; }
.about-perk { display: flex; align-items: flex-start; gap: .875rem; }
.perk-icon {
  width: 38px; height: 38px;
  background: rgba(93,127,149,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .1rem;
}
.perk-icon i { color: var(--primary); font-size: 1rem; }
.perk-copy strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--text-dark); margin-bottom: .2rem; }
.perk-copy span { font-size: .875rem; color: var(--text-body); }

.location-strip {
  display: flex;
  align-items: center;
  gap: .575rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.location-strip i { color: var(--primary); }

/* ========= CTA FINAL ========= */
#agenda {
  background: linear-gradient(135deg, var(--primary) 0%, #274d63 100%);
  padding: 6.5rem 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#agenda::before {
  content: '';
  position: absolute;
  top: -30%; left: -8%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(117,181,196,.2) 0%, transparent 70%);
  pointer-events: none;
}
#agenda::after {
  content: '';
  position: absolute;
  bottom: -35%; right: -8%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,239,44,.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-wrap {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(251,239,44,.15);
  padding: .3rem .875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 1.125rem;
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cta-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-meta-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  font-weight: 500;
}
.cta-meta-item i { color: var(--accent); }
.cta-meta-item a { color: rgba(255,255,255,.68); transition: color .2s; }
.cta-meta-item a:hover { color: var(--accent); }

/* ========= FOOTER ========= */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 44px; width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: .88;
}
.footer-brand p { font-size: .875rem; line-height: 1.65; margin-bottom: 1.25rem; }

.footer-social { display: flex; gap: .575rem; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; }

.footer-col h4 {
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 1.125rem;
}

.footer-links { display: flex; flex-direction: column; gap: .575rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.57); transition: color .22s; }
.footer-links a:hover { color: var(--secondary); }

.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; }
.footer-contact-item i { color: var(--secondary); flex-shrink: 0; margin-top: .22rem; font-size: .875rem; }
.footer-contact-item a { color: rgba(255,255,255,.57); transition: color .22s; }
.footer-contact-item a:hover { color: var(--secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.38); }
.footer-bottom a { color: var(--secondary); transition: color .22s; }
.footer-bottom a:hover { color: var(--accent); }

/* ========= WHATSAPP FLOTANTE ========= */
.wa-btn {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 200;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.42);
  transition: var(--transition);
}
.wa-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.52);
}

/* ========= ANIMACIONES ========= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========= MAPA + FORMULARIO ========= */
#contacto { background: var(--white); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.mapa-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mapa-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 380px;
}
.mapa-frame iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

.mapa-btn { width: 100%; justify-content: center; margin-top: .25rem; }

.mapa-info {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.mapa-info i { color: var(--primary); font-size: 1rem; }

/* Formulario */
.form-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
}

.form-wrap h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.form-wrap .form-lead {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-grid .form-field-full { grid-column: 1 / -1; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.form-field label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-field label span { color: var(--primary); margin-left: .15rem; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Outfit', sans-serif;
  font-size: .9375rem;
  color: var(--text-dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  transition: border-color .22s, box-shadow .22s;
  outline: none;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(93,127,149,.15);
}

.form-field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a96a6' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-field textarea { resize: vertical; min-height: 110px; }

.form-submit {
  margin-top: 1.25rem;
}
.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}
.form-success i { font-size: 2.5rem; display: block; margin-bottom: .75rem; color: var(--secondary); }

/* ========= ONDAS SVG ========= */
.wave-sep {
  line-height: 0;
  overflow: hidden;
  display: block;
}
.wave-sep svg { display: block; width: 100%; height: auto; }

.agenda-wave-top,
.agenda-wave-bottom {
  position: absolute;
  left: 0; right: 0;
  line-height: 0;
  z-index: 0;
}
.agenda-wave-top    { top: -1px; }
.agenda-wave-bottom { bottom: -1px; }
.agenda-wave-top svg,
.agenda-wave-bottom svg { display: block; width: 100%; }

/* ========= DECORATIVOS FLOTANTES ========= */
.flying-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  animation: float-gentle 7s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .flying-deco { animation: none; }
}

/* Hero decos */
.deco-hero-sun   { width: 78px; top: 16%; right: 7%;  opacity: .8;  animation-duration: 6s; }
.deco-hero-stars { width: 62px; bottom: 22%; left: 4%; opacity: .65; animation-duration: 9s; animation-direction: reverse; }

/* Servicios decos */
#servicios { position: relative; overflow: hidden; }
.deco-srv-balloon { width: 66px; top: 8%; right: 2%; opacity: .45; animation: none; will-change: transform; }
.deco-srv-blob    {
  width: 220px; height: 220px;
  position: absolute;
  top: 280px; left: -40px;
  opacity: .22;
  pointer-events: none;
  z-index: 0;
  animation: none;
  will-change: transform;
}

/* Equipo decos */
#equipo { position: relative; overflow: hidden; }

.deco-eq-blocks {
  width: 110px;
  top: 30%;
  right: 2%;
  opacity: .45;
  animation: none; /* parallax via JS */
  will-change: transform;
}
.deco-eq-blob {
  width: 230px; height: 230px;
  position: absolute;
  top: 8%;
  left: -25px;
  right: auto;
  opacity: .18;
  pointer-events: none;
  z-index: 0;
  animation: none; /* parallax via JS */
  will-change: transform;
}

/* CTA (agenda) decos */
.deco-cta-stars { width: 58px; top: 18%;    left: 6%;  opacity: .55; animation-duration: 7s; }
.deco-cta-sun   { width: 68px; bottom: 25%; left: 9%;  opacity: .45; animation-duration: 5s; animation-direction: reverse; }

/* Niños sobre la onda */
.ninos-banner {
  background: #ffffff;
  text-align: center;
  line-height: 0;
  padding-top: 1.5rem;
  overflow: hidden;
}
.ninos-banner img {
  display: inline-block;
  width: 680px;
  max-width: 90%;
  vertical-align: bottom;
}

@media (max-width: 768px) {
  .ninos-banner img { width: 100%; max-width: 100%; }
  .deco-srv-blob, .deco-eq-blob { display: none; }
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contacto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section-pad { padding: 4rem 0; }

  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { max-width: 100%; }

  .impulso-chips { gap: .5rem; }
  .impulso-chip { padding: .5rem .875rem; }
  .impulso-footer-row { flex-direction: column; gap: 1.125rem; }

  .services-grid,
  .other-grid { grid-template-columns: 1fr; }

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

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { right: 0; bottom: -1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar-inner { gap: 1.25rem; }
}

@media (max-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
