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

:root {
  --purple: #7B4FA6;
  --purple-light: #9B6DC5;
  --purple-pale: #EDE0F7;
  --teal: #5BC8C8;
  --teal-light: #A8E6E6;
  --teal-pale: #E0F7F7;
  --lilac: #C9A8E0;
  --cream: #FDF9FF;
  --white: #FFFFFF;
  --text-dark: #2D2D3A;
  --text-mid: #5A5A72;
  --text-light: #9090A8;
  --border: #EDE0F7;
  --shadow-sm: 0 2px 12px rgba(123, 79, 166, .08);
  --shadow-md: 0 8px 32px rgba(123, 79, 166, .13);
  --shadow-lg: 0 20px 60px rgba(123, 79, 166, .18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

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

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

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text-dark);
}

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

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .3px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(123, 79, 166, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(123, 79, 166, .45);
}

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

.btn-secondary:hover {
  background: var(--purple-pale);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), #3AAFAF);
  color: #fff;
  box-shadow: 0 4px 20px rgba(91, 200, 200, .35);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 200, 200, .45);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: #1ebe5d;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 249, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 16px;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--text-mid);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--purple);
  background: var(--purple-pale);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-weight: 700;
  color: var(--purple);
  font-size: .9rem;
  white-space: nowrap;
}

.nav-phone i {
  margin-right: 4px;
}

.nav-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: #fff;
  font-size: 1.05rem;
  transition: var(--transition);
  text-decoration: none;
}

.nav-instagram:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(123, 79, 166, .35);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== SECTION BASE ===== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--white);
}

.section-teal {
  background: linear-gradient(135deg, var(--teal-pale), #f0fafa);
}

.section-purple {
  background: linear-gradient(135deg, var(--purple-pale), #f5eeff);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--purple-pale);
  color: var(--purple);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/pasillo-bebes.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123, 79, 166, .72) 0%, rgba(91, 200, 200, .45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .3);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust-bar {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .95);
  font-weight: 600;
  font-size: .9rem;
}

.trust-item i {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/pasillo-bebes.jpg') center/cover;
  opacity: .25;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .88);
  max-width: 560px;
  margin: 0 auto 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, .85);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb i {
  font-size: .7rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

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

/* ===== SERVICE CARDS ===== */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* Variante: 3 columnas fijas en escritorio (para inicio con 3 servicios) */
.servicios-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Variante: 3 columnas fijas en escritorio (para servicios con 9 tarjetas) */
.servicios-grid-3-fixed {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
  .servicios-grid-3,
  .servicios-grid-3-fixed {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .servicios-grid-3,
  .servicios-grid-3-fixed {
    grid-template-columns: 1fr;
  }
}

.servicio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
}

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

.servicio-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--purple-pale), var(--teal-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--purple);
  margin-bottom: 20px;
}

.servicio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.servicio-card p {
  color: var(--text-mid);
  font-size: .95rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.servicio-features {
  margin-bottom: 24px;
}

.servicio-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-mid);
  padding: 4px 0;
}

.servicio-features li i {
  color: var(--teal);
  font-size: .8rem;
}

.servicio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-weight: 700;
  font-size: .9rem;
  transition: var(--transition);
}

.servicio-link:hover {
  gap: 10px;
}

/* ===== PRECIO CARDS ===== */
.precios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.precio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  text-align: center;
}

.precio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.precio-card.destacado {
  border-color: var(--purple);
  background: linear-gradient(135deg, var(--purple-pale), #fff);
}

.precio-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.precio-card h3 {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

.precio-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.precio-desde {
  font-size: .8rem;
  color: var(--text-light);
}

.precio-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--purple);
  font-family: 'Nunito', sans-serif;
}

.precio-desc {
  font-size: .82rem;
  color: var(--text-light);
}

.precio-legal {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--purple-pale);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(123, 79, 166, .18);
  border-color: var(--purple-pale);
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(123, 79, 166, .25);
}

.value-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--purple);
}

.value-card p {
  font-size: .9rem;
  color: var(--text-mid);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  color: var(--purple-pale);
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #FFB800;
  margin-bottom: 16px;
  font-size: .9rem;
}

.testimonial-text {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author strong {
  display: block;
  font-size: .95rem;
}

.testimonial-author span {
  font-size: .82rem;
  color: var(--text-light);
}

/* ===== FINANCIACION ===== */
.financiacion-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.financiacion-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.feature-item i {
  color: var(--teal);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: .88rem;
  color: var(--text-mid);
}

.financiacion-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.financiacion-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.financiacion-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.financiacion-badge .badge-desde {
  font-size: .8rem;
  opacity: .85;
}

.financiacion-badge .badge-amount {
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.financiacion-badge .badge-period {
  font-size: .9rem;
  opacity: .85;
}

/* ===== CONTACT ===== */
.contacto-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contacto-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--purple-pale), var(--teal-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contacto-details h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contacto-details p,
.contacto-details a {
  font-size: .95rem;
  color: var(--text-mid);
}

.contacto-details a:hover {
  color: var(--purple);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-pale);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--purple);
  color: #fff;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 4px 36px rgba(37, 211, 102, .7);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #1A1228;
  color: rgba(255, 255, 255, .75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo img {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--purple);
  color: #fff;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--lilac);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  margin-bottom: 10px;
}

.footer-contact i {
  color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a:hover {
  color: var(--lilac);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a:hover {
  color: var(--lilac);
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-intro-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-intro-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}

.about-intro-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--purple-pale);
  border-radius: var(--radius-md);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--purple);
  font-family: 'Nunito', sans-serif;
}

.stat-label {
  font-size: .85rem;
  color: var(--text-mid);
  margin-top: 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.team-info {
  padding: 24px;
}

.team-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-info span {
  font-size: .85rem;
  color: var(--purple);
  font-weight: 600;
}

.team-info p {
  font-size: .88rem;
  color: var(--text-mid);
  margin-top: 10px;
}

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.service-detail-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.service-detail-content p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

.service-detail-content h3 {
  font-size: 1.3rem;
  margin: 32px 0 16px;
  color: var(--purple);
}

.service-steps {
  counter-reset: step;
}

.service-step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step-content p {
  font-size: .9rem;
  color: var(--text-mid);
}

.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--purple);
}

.sidebar-price {
  text-align: center;
  padding: 20px 0;
}

.sidebar-price .desde {
  font-size: .85rem;
  color: var(--text-light);
}

.sidebar-price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--purple);
  font-family: 'Nunito', sans-serif;
  line-height: 1;
}

.sidebar-price .note {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: 8px;
}

.sidebar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-mid);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list li i {
  color: var(--teal);
}

/* ===== PIDE CITA PAGE ===== */
.cita-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cita-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.cita-info p {
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cita-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cita-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.cita-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cita-step h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.cita-step p {
  font-size: .85rem;
  color: var(--text-mid);
}

.whatsapp-cta {
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
}

.whatsapp-cta i {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
}

.whatsapp-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #fff;
}

.whatsapp-cta p {
  opacity: .9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.whatsapp-cta .btn {
  background: #fff;
  color: #25D366;
  font-weight: 800;
}

.whatsapp-cta .btn:hover {
  background: rgba(255, 255, 255, .9);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .6s ease, transform .6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== ABOUT PREVIEW (en index) ===== */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-preview-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-preview-img img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-preview-text {
  /* contenedor de texto */
}

/* ===== BUTTON TEXT VARIANTS ===== */
.btn-text-short {
  display: none;
}

.btn-text-full {
  display: inline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-intro,
  .about-preview-grid,
  .financiacion-layout,
  .contacto-layout,
  .cita-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* En tablets: en about-preview, primero el texto y luego la imagen */
  .about-preview-text {
    order: 1;
  }

  .about-preview-img {
    order: 2;
  }

  .about-preview-img img {
    height: 380px;
  }

  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  /* Container con un poco más de aire en móvil */
  .container {
    padding: 0 20px;
  }

  /* ===== NAVBAR MÓVIL ===== */
  .nav-container {
    height: 72px;
    /* Logo izq, hamburguesa centro, instagram dcha */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
  }

  .logo {
    justify-self: start;
  }

  .logo img {
    height: 44px;
  }

  .nav-toggle {
    display: flex;
    justify-self: center;
    padding: 8px;
  }

  .nav-cta {
    justify-self: end;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 4px;
    align-items: stretch;
    text-align: center;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
    text-align: center;
  }

  .nav-cta .btn {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .nav-instagram {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* ===== SECTIONS ===== */
  .section {
    padding: 56px 0;
  }

  /* ===== HERO ===== */
  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-content {
    padding: 56px 0 48px;
  }

  .hero-tag {
    font-size: .68rem;
    letter-spacing: 1px;
    padding: 6px 14px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero-buttons .btn {
    width: auto;
    align-self: flex-start;
    max-width: 100%;
    padding: 14px 28px;
    font-size: .95rem;
  }

  /* Botones largos → versión corta en móvil */
  .btn-text-full {
    display: none;
  }

  .btn-text-short {
    display: inline;
  }

  .trust-bar {
    gap: 14px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    font-size: .82rem;
  }

  .trust-item i {
    width: 30px;
    height: 30px;
    font-size: .8rem;
  }

  /* ===== PAGE HERO (inner pages) ===== */
  .page-hero {
    padding: 110px 0 56px;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  /* ===== ABOUT INTRO (quiénes somos) ===== */
  .about-intro-text {
    order: 1;
  }

  .about-intro-img {
    order: 2;
  }

  .about-intro-img img {
    height: auto;
    max-height: 420px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* ===== ABOUT PREVIEW (en index) ===== */
  .about-preview-img img {
    height: auto;
    max-height: 360px;
  }

  /* ===== FOOTER ===== */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* ===== SECTION HEADER ===== */
  .section-header {
    margin-bottom: 40px;
  }

  /* ===== SECTION TITLES más pequeños ===== */
  .section-title {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }

  /* ===== TESTIMONIALS / VALUES grids ===== */
  .testimonials-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* ===== SERVICE CARDS padding ===== */
  .servicio-card {
    padding: 28px 22px;
  }

  /* ===== FINANCIACION ===== */
  .financiacion-visual img {
    height: auto;
    max-height: 380px;
  }

  /* ===== WHATSAPP CTA ===== */
  .whatsapp-cta {
    padding: 36px 24px;
  }

  .whatsapp-cta i {
    font-size: 2.8rem;
  }

  .whatsapp-cta h3 {
    font-size: 1.4rem;
  }

  .whatsapp-cta p {
    font-size: .95rem;
  }

  /* ===== WHATSAPP FLOAT ===== */
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
    bottom: 20px;
    right: 20px;
  }
}

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

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

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

  .trust-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-tag {
    font-size: .64rem;
    letter-spacing: .8px;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Ajustar tamaño botón en móviles muy pequeños */
  .btn-lg {
    padding: 14px 24px;
    font-size: .95rem;
  }
}