* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #22dad6;
  --primary-dark: #159f9d;
  --primary-light: rgba(34,218,214,0.15);
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  z-index: 100;
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: white !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(135deg, #edfefe 0%, #ffffff 60%, #edfefe 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,218,214,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero h1 span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid rgba(30,41,59,0.2);
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Hero image placeholder */
.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
  isolation: isolate;
}

.hero-avatar {
  width: 420px;
  height: 540px;
  background: #d8f9f8;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(34,218,214,0.18);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: nowrap;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 0;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* SECTION BASE */
section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* SOBRE MÍ */
.about {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 0;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  color: white;
}

.about-photo {
  max-width: 340px;
  margin: 0 auto;
}

.about-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(34,218,214,0.15);
}

.about .section-title {
  margin-bottom: 1.5rem;
}

.about-credentials {
  margin-top: 1rem;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(34,218,214,0.08);
  border: 1px solid rgba(34,218,214,0.3);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.instagram-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
}

.instagram-link:hover {
  background: rgba(34,218,214,0.15);
  border-color: rgba(34,218,214,0.6);
  transform: translateY(-1px);
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.about-card h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.about-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.service-card.featured {
  border-color: var(--primary);
  background: var(--primary-light);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-card ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

.btn-select-plan {
  margin-top: 1.25rem;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-select-plan:hover {
  background: var(--primary);
  color: white;
}

/* PROCESO → reduce espacio inferior hacia testimonios */
#proceso {
  padding-bottom: 2.5rem;
}

/* TESTIMONIOS */
.testimonials {
  background: var(--bg-alt);
  padding-top: 2.5rem;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* PROCESO */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

/* Línea de relleno animada — ciclo de 4s infinite */
.process-steps::after {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 28px);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(34,218,214,0.65) 100%);
  box-shadow: 0 0 8px rgba(34,218,214,0.55), 0 0 18px rgba(34,218,214,0.25);
  border-radius: 1px;
  z-index: 0;
}

.process-steps.process-active::after {
  animation: roadmapFill 4s linear infinite;
}

/* 0%→60%: crece · 60%→80%: aguanta · 80%→95%: reset · 95%→100%: pausa */
@keyframes roadmapFill {
  0%   { width: 0; }
  60%  { width: calc(75% - 56px); }
  80%  { width: calc(75% - 56px); }
  95%  { width: 0; }
  100% { width: 0; }
}

/* Pop de cada círculo — timing integrado en keyframes (ciclo 4s = 100%) */
/* Paso 1 dispara al 0 % (0 s) */
.process-steps.process-active .step:nth-child(1) .step-number { animation: stepPop1 4s linear infinite; }
/* Paso 2 dispara al 20 % (0.8 s) */
.process-steps.process-active .step:nth-child(2) .step-number { animation: stepPop2 4s linear infinite; }
/* Paso 3 dispara al 40 % (1.6 s) */
.process-steps.process-active .step:nth-child(3) .step-number { animation: stepPop3 4s linear infinite; }
/* Paso 4 dispara al 60 % (2.4 s) */
.process-steps.process-active .step:nth-child(4) .step-number { animation: stepPop4 4s linear infinite; }

@keyframes stepPop1 {
  0%   { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  6%   { transform: scale(1.22); box-shadow: 0 0 0 10px rgba(34,218,214,0.22), 0 0 36px rgba(34,218,214,0.55), 0 0 56px rgba(34,218,214,0.25); }
  13%  { transform: scale(1.08); box-shadow: 0 0 0 6px  rgba(34,218,214,0.15), 0 0 24px rgba(34,218,214,0.35); }
  88%  { transform: scale(1.08); box-shadow: 0 0 0 6px  rgba(34,218,214,0.15), 0 0 24px rgba(34,218,214,0.35); }
  96%  { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  100% { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
}

@keyframes stepPop2 {
  0%   { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  20%  { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  26%  { transform: scale(1.22); box-shadow: 0 0 0 10px rgba(34,218,214,0.22), 0 0 36px rgba(34,218,214,0.55), 0 0 56px rgba(34,218,214,0.25); }
  33%  { transform: scale(1.08); box-shadow: 0 0 0 6px  rgba(34,218,214,0.15), 0 0 24px rgba(34,218,214,0.35); }
  88%  { transform: scale(1.08); box-shadow: 0 0 0 6px  rgba(34,218,214,0.15), 0 0 24px rgba(34,218,214,0.35); }
  96%  { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  100% { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
}

@keyframes stepPop3 {
  0%   { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  40%  { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  46%  { transform: scale(1.22); box-shadow: 0 0 0 10px rgba(34,218,214,0.22), 0 0 36px rgba(34,218,214,0.55), 0 0 56px rgba(34,218,214,0.25); }
  53%  { transform: scale(1.08); box-shadow: 0 0 0 6px  rgba(34,218,214,0.15), 0 0 24px rgba(34,218,214,0.35); }
  88%  { transform: scale(1.08); box-shadow: 0 0 0 6px  rgba(34,218,214,0.15), 0 0 24px rgba(34,218,214,0.35); }
  96%  { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  100% { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
}

@keyframes stepPop4 {
  0%   { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  60%  { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  66%  { transform: scale(1.22); box-shadow: 0 0 0 10px rgba(34,218,214,0.22), 0 0 36px rgba(34,218,214,0.55), 0 0 56px rgba(34,218,214,0.25); }
  73%  { transform: scale(1.08); box-shadow: 0 0 0 6px  rgba(34,218,214,0.15), 0 0 24px rgba(34,218,214,0.35); }
  88%  { transform: scale(1.08); box-shadow: 0 0 0 6px  rgba(34,218,214,0.15), 0 0 24px rgba(34,218,214,0.35); }
  96%  { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
  100% { transform: scale(1);    box-shadow: 0 0 0 4px  rgba(34,218,214,0.10), 0 0 16px rgba(34,218,214,0.20); }
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* UBICACIÓN */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

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

.location-name-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.location-pin {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.location-name-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.location-name-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.location-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.location-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,218,214,0.5);
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* CONTACTO */
.contact {
  position: relative;
  background: var(--primary);
  color: #0f3635;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('foto_centro.png') right center / cover no-repeat;
  opacity: 0.22;
  mask-image: linear-gradient(to left, black 0%, black 12%, rgba(0,0,0,0.4) 42%, transparent 68%);
  -webkit-mask-image: linear-gradient(to left, black 0%, black 12%, rgba(0,0,0,0.4) 42%, transparent 68%);
  z-index: 0;
}

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

.contact .section-tag {
  background: var(--primary-light);
  color: var(--primary);
}

.contact .section-title {
  color: #0f3635;
}

.contact .section-subtitle {
  color: rgba(0,0,0,0.6);
  max-width: 520px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: end;
}

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

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: 500;
}

/* FORMULARIO */
.form-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  color: #1e293b;
  align-self: end;
  margin-top: 0;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34,218,214,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-privacy {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.75rem;
}

/* Toast */
.toast {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.toast.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  display: flex;
}

.toast.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  display: flex;
}

/* FOOTER */
footer {
  background: #f1f5f9;
  color: #64748b;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

footer span {
  color: #1e293b;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   ANIMACIONES Y EFECTOS GLOW
═══════════════════════════════════════════════════ */

/* Keyframes base */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(34,218,214,0.35); }
  50%       { box-shadow: 0 0 32px rgba(34,218,214,0.65), 0 0 8px rgba(34,218,214,0.2); }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--border); }
  50%       { border-color: rgba(34,218,214,0.5); }
}

@keyframes floatAvatar {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes avatarGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 30px  6px rgba(34,218,214,0.20),
      0 0 70px 20px rgba(34,218,214,0.10),
      0 0 120px 40px rgba(34,218,214,0.05);
  }
  50% {
    box-shadow:
      0 0 45px 10px rgba(34,218,214,0.32),
      0 0 90px 30px rgba(34,218,214,0.16),
      0 0 150px 55px rgba(34,218,214,0.07);
  }
}

@keyframes avatarBorderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Hero animations ─────────────────────────────── */
.hero-content.hero-animate {
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-image.hero-animate-img {
  animation: slideLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* Avatar flotante */
.hero-avatar {
  animation: floatAvatar 5s ease-in-out infinite;
}


/* ── Scroll reveal ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger para grids de 3 columnas */
.services-grid .reveal:nth-child(1),
.testimonials-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2),
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3),
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.process-steps .reveal:nth-child(1) { transition-delay: 0s; }
.process-steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.process-steps .reveal:nth-child(3) { transition-delay: 0.2s; }
.process-steps .reveal:nth-child(4) { transition-delay: 0.3s; }

.about-cards .reveal:nth-child(1) { transition-delay: 0s; }
.about-cards .reveal:nth-child(2) { transition-delay: 0.08s; }
.about-cards .reveal:nth-child(3) { transition-delay: 0.16s; }
.about-cards .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ── Section headers ─────────────────────────────── */
.header-hidden {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.header-hidden.header-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Glow en botones primarios ───────────────────── */
.btn-primary {
  box-shadow: 0 4px 18px rgba(34,218,214,0.25);
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(34,218,214,0.5), 0 4px 12px rgba(34,218,214,0.3);
}

/* ── Glow en nav CTA al hacer scroll ────────────── */
.nav-cta-glow {
  animation: glowPulse 2s ease-in-out infinite;
}

/* ── Glow en cards de servicio al hover ─────────── */
.service-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.06), 0 0 0 1px rgba(34,218,214,0.15),
              0 0 20px rgba(34,218,214,0.08);
}

.service-card.featured {
  box-shadow: 0 0 0 1.5px var(--primary), 0 0 24px rgba(34,218,214,0.12);
}

.service-card.featured:hover {
  box-shadow: 0 0 0 2px var(--primary), 0 0 32px rgba(34,218,214,0.22),
              0 10px 30px rgba(34,218,214,0.12);
}

/* ── Glow en inputs al focus ─────────────────────── */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(34,218,214,0.12), 0 0 12px rgba(34,218,214,0.1);
}

/* ── Glow en botón submit ────────────────────────── */
.form-submit {
  box-shadow: 0 4px 16px rgba(34,218,214,0.3);
}

.form-submit:hover {
  box-shadow: 0 0 28px rgba(34,218,214,0.5), 0 4px 12px rgba(34,218,214,0.3);
}

/* ── Glow en números de paso ─────────────────────── */
.step-number {
  box-shadow: 0 0 0 4px rgba(34,218,214,0.1), 0 0 16px rgba(34,218,214,0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step:hover .step-number {
  box-shadow: 0 0 0 6px rgba(34,218,214,0.15), 0 0 28px rgba(34,218,214,0.35);
  transform: scale(1.08);
}

/* ── Glow en testimonios al hover ────────────────── */
.testimonial-card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 0 16px rgba(34,218,214,0.07);
}

/* ── Glow en about-cards ─────────────────────────── */
.about-card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(34,218,214,0.1), 0 0 0 1px rgba(34,218,214,0.1);
}

/* ── Cursor glow (solo desktop) ──────────────────── */
.cursor-glow {
  position: fixed;
  top: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,218,214,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translate(-50%, -50%);
}

/* ── Section tag con glow sutil ──────────────────── */
.section-tag {
  box-shadow: 0 0 12px rgba(34,218,214,0.15);
}

.contact .section-tag {
  box-shadow: 0 0 12px rgba(255,255,255,0.15);
}

/* ── Canvas hero ─────────────────────────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

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

/* ── Stat number con color animado ───────────────── */
.stat-number {
  transition: text-shadow 0.3s ease;
}

.stat:hover .stat-number {
  text-shadow: 0 0 20px rgba(34,218,214,0.4);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .contact-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .location-map {
    height: 280px;
  }

  .hero-image {
    order: -1;
  }

  .hero-avatar {
    width: 100%;
    max-width: 380px;
    height: 420px;
  }

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before,
  .process-steps::after {
    display: none;
  }

  .about-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3.5rem 1.25rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .form-card {
    padding: 1.5rem;
  }
}
