/* ============================================================
   CRECE A TU RITMO — Stylesheet
   Mobile-first, CSS custom properties, BEM methodology
============================================================ */

/* ---- Variables ---- */
:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-900: #14532d;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', var(--font-sans);

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --shadow-glow: 0 0 40px rgb(34 197 94 / .25);

  --transition-base: 200ms cubic-bezier(.4, 0, .2, 1);
  --transition-slow: 400ms cubic-bezier(.4, 0, .2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, button { font: inherit; }
address { font-style: normal; }

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }

.gradient-text {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-600);
}
.btn--primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(22 163 74 / .35);
}
.btn--ghost {
  background: transparent;
  color: var(--slate-700);
  border-color: var(--slate-300);
}
.btn--ghost:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
  transform: translateY(-2px);
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---- Section header ---- */
.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section__label {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section__label--light {
  background: rgb(255 255 255 / .15);
  color: #fff;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 1rem;
}
.section__subtitle {
  color: var(--slate-500);
  font-size: 1.0625rem;
}

/* ============================================================
   NAVIGATION
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all var(--transition-slow);
}
.header.scrolled {
  background: rgb(255 255 255 / .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--slate-200), var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--slate-900);
}
.nav__logo-icon { font-size: 1.25rem; }
.nav__menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) { .nav__menu { display: flex; } }
.nav__link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: all var(--transition-base);
}
.nav__link:hover { color: var(--slate-900); background: var(--slate-100); }
.nav__link--cta {
  background: var(--green-600);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
}
.nav__link--cta:hover { background: var(--green-700) !important; }
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 768px) { .nav__burger { display: none; } }
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav__menu.nav__menu--open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  z-index: 99;
}
.nav__menu--open .nav__link {
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
  background: var(--slate-950);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-600), transparent 70%);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px);
  background-size: 60px 60px;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgb(34 197 94 / .15);
  border: 1px solid rgb(34 197 94 / .3);
  border-radius: var(--radius-full);
  color: var(--green-400);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.badge__dot {
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--slate-400);
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}
.hero__actions .btn--ghost { color: var(--slate-300); border-color: var(--slate-700); }
.hero__actions .btn--ghost:hover { background: var(--slate-800); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.stat { text-align: left; }
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat__label {
  font-size: 0.8125rem;
  color: var(--slate-500);
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--slate-700);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-600);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--slate-600), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   ABOUT
============================================================ */
.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.about__visual { position: relative; }
.about__card--main {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  margin-bottom: 1.5rem;
}
.about__avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.about__card--main strong { display: block; color: var(--slate-900); font-size: 0.9375rem; }
.about__card--main span { font-size: 0.8125rem; color: var(--slate-500); }

.about__illustration {
  position: relative;
  background: var(--slate-900);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--slate-800);
}
.illustration__screen {
  background: var(--slate-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.screen__bar {
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--slate-700);
}
.screen__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-500);
}
.screen__bar span:nth-child(1) { background: #ff5f57; }
.screen__bar span:nth-child(2) { background: #febc2e; }
.screen__bar span:nth-child(3) { background: #28c840; }
.screen__content { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.screen__line {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--slate-600);
  animation: shimmer 2.5s ease-in-out infinite;
}
.screen__line--wide { width: 75%; }
.screen__line--medium { width: 55%; }
.screen__line--short { width: 40%; }
.screen__blocks { display: flex; gap: 0.75rem; }
.screen__block {
  height: 64px;
  border-radius: var(--radius-md);
  flex: 1;
  animation: shimmer 2.5s ease-in-out infinite;
}
.screen__block--green { background: rgb(34 197 94 / .2); }
.screen__block--gray { background: var(--slate-700); }
.screen__cta {
  height: 36px;
  width: 120px;
  border-radius: var(--radius-full);
  background: var(--green-600);
  animation: none;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.illustration__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #fff;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.illustration__badge--1 {
  bottom: -1rem;
  left: -1rem;
  color: var(--green-700);
}
.illustration__badge--1 svg { color: var(--green-600); }
.illustration__badge--2 {
  top: 1rem;
  right: -1rem;
  color: var(--slate-700);
}
.illustration__badge--2 svg { color: var(--green-500); }

.about__text .section__label { margin-bottom: 0.75rem; }
.about__description { color: var(--slate-600); margin-bottom: 1rem; }
.about__values { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.value {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value__icon { font-size: 1.5rem; flex-shrink: 0; }
.value strong { display: block; color: var(--slate-900); margin-bottom: 0.125rem; }
.value p { color: var(--slate-500); font-size: 0.9375rem; }

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--slate-50); }
.services__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-slow);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-200);
}
.service-card--featured {
  background: var(--slate-900);
  border-color: var(--green-600);
  color: var(--slate-300);
}
.service-card--featured .service-card__title { color: #fff; }
.service-card--featured .service-card__features li { color: var(--slate-400); }
.service-card--featured .service-card__features li::before { color: var(--green-400); }
.service-card--featured:hover { box-shadow: var(--shadow-glow); }

.service-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background: var(--green-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.025em;
}
.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--green-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}
.service-card__icon--featured {
  background: rgb(34 197 94 / .15);
  color: var(--green-400);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
}
.service-card__desc { font-size: 0.9375rem; color: var(--slate-500); flex: 1; }
.service-card--featured .service-card__desc { color: var(--slate-400); }
.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-card__features li {
  font-size: 0.875rem;
  color: var(--slate-600);
  padding-left: 1.25rem;
  position: relative;
}
.service-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--green-600);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap var(--transition-base);
  margin-top: auto;
}
.service-card--featured .service-card__link { color: var(--green-400); }
.service-card__link:hover { gap: 0.625rem; }

/* ============================================================
   BENEFITS
============================================================ */
.benefits__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .benefits__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.benefits__desc { color: var(--slate-600); margin-bottom: 2rem; font-size: 1.0625rem; }
.benefits__list { display: flex; flex-direction: column; gap: 1.25rem; }
.benefit-item { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-item__check {
  width: 24px;
  height: 24px;
  background: var(--green-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit-item strong { display: block; color: var(--slate-900); margin-bottom: 0.125rem; }
.benefit-item p { color: var(--slate-500); font-size: 0.9375rem; }

.benefits__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all var(--transition-slow);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}
.benefit-card--1, .benefit-card--3 { margin-top: 1.5rem; }
.benefit-card--2, .benefit-card--4 { margin-top: -1.5rem; }
.benefit-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.benefit-card h4 { font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: var(--slate-500); }

/* ============================================================
   PROCESS
============================================================ */
.process { background: var(--slate-900); }
.process .section__title { color: #fff; }
.process .section__subtitle { color: var(--slate-400); }
.process__steps {
  position: relative;
  display: grid;
  gap: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
}
.process__line {
  display: none;
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--green-700), var(--green-600), var(--green-700));
  z-index: 0;
}
@media (min-width: 768px) { .process__line { display: block; } }
.process__step {
  position: relative;
  z-index: 1;
}
.process__step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}
.process__step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.process__step-content p { color: var(--slate-400); font-size: 0.9375rem; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--slate-50); }
.testimonials__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--transition-slow);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card__stars { color: #f59e0b; letter-spacing: 0.1em; }
.testimonial-card__quote {
  color: var(--slate-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.testimonial-card__author strong { display: block; color: var(--slate-900); font-size: 0.9375rem; }
.testimonial-card__author span { font-size: 0.8125rem; color: var(--slate-500); }

/* ============================================================
   CTA FINAL
============================================================ */
.cta-final {
  position: relative;
  background: var(--slate-950);
  overflow: hidden;
}
.cta-final__bg { position: absolute; inset: 0; pointer-events: none; }
.cta-final__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}
.cta-final__blob--1 {
  width: 500px;
  height: 500px;
  background: var(--green-600);
  top: -200px;
  left: -100px;
}
.cta-final__blob--2 {
  width: 400px;
  height: 400px;
  background: #0ea5e9;
  bottom: -150px;
  right: -100px;
}

.cta-final__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 0;
}
@media (min-width: 768px) { .cta-final__content { padding: 7rem 0; } }

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 1rem 0 1.25rem;
}
.cta-final__subtitle {
  color: var(--slate-400);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
}

/* Form */
.cta-form {
  background: rgb(255 255 255 / .05);
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: left;
}
.cta-form__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .cta-form__row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-300);
}
.form-group input,
.form-group textarea {
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(255 255 255 / .15);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.9375rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-600); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgb(34 197 94 / .15);
}
.cta-form__row .form-group { margin-bottom: 0; }

.cta-form__note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
}
.cta-form__success {
  text-align: center;
  padding: 3rem 2rem;
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.cta-form__success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-form__success p { color: var(--slate-400); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--slate-950);
  border-top: 1px solid var(--slate-800);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer__brand .nav__logo { color: #fff; margin-bottom: 1rem; }
.footer__tagline { color: var(--slate-500); font-size: 0.9375rem; max-width: 280px; }
.footer__links h4,
.footer__contact h4 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.footer__links ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__links a {
  color: var(--slate-500);
  font-size: 0.9375rem;
  transition: color var(--transition-base);
}
.footer__links a:hover { color: var(--green-400); }
.footer__contact address { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__contact p {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--slate-500);
  font-size: 0.9375rem;
}
.footer__contact svg { color: var(--green-500); flex-shrink: 0; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  font-size: 0.875rem;
  color: var(--slate-600);
}
@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: var(--slate-600); transition: color var(--transition-base); }
.footer__legal a:hover { color: var(--green-400); }

/* ============================================================
   FAB (Floating Action Button)
============================================================ */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--green-600);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgb(22 163 74 / .5);
  transition: all var(--transition-base);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}
.fab.fab--visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.fab:hover {
  background: var(--green-700);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgb(22 163 74 / .6);
}

/* ============================================================
   REVEAL DELAYS
============================================================ */
[data-delay="100"].is-visible { transition-delay: 100ms; }
[data-delay="200"].is-visible { transition-delay: 200ms; }
[data-delay="300"].is-visible { transition-delay: 300ms; }

/* ============================================================
   ABOUT PHOTO
============================================================ */
.about__photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.about__photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: var(--shadow-xl);
}
@media (min-width: 1024px) { .about__photo { height: 480px; } }

/* ============================================================
   BLOG PREVIEW
============================================================ */
.blog-preview { background: var(--slate-50); }
.blog-preview__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .blog-preview__grid { grid-template-columns: repeat(3, 1fr); } }
.blog-preview__cta { text-align: center; margin-top: 2.5rem; }

.blog-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  text-decoration: none;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-200);
}
.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-card__tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: fit-content;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.4;
}
.blog-card__excerpt { font-size: 0.875rem; color: var(--slate-500); flex: 1; }
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--green-600);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  transition: gap var(--transition-base);
}
.blog-card__link:hover { gap: 0.625rem; }

/* ============================================================
   FORM ERROR STATE
============================================================ */
.cta-form__error {
  text-align: center;
  padding: 1rem;
  background: rgb(239 68 68 / .1);
  border: 1px solid rgb(239 68 68 / .3);
  border-radius: var(--radius-md);
  color: #fca5a5;
  font-size: 0.9375rem;
  margin-top: 1rem;
}
.cta-form__error a { color: var(--green-400); text-decoration: underline; }

/* ============================================================
   WHATSAPP WIDGET
============================================================ */
.wa-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.875rem;
}

.wa-fab {
  width: 60px;
  height: 60px;
  background: #25d366;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgb(37 211 102 / .55);
  transition: all var(--transition-base);
  position: relative;
  flex-shrink: 0;
}
.wa-fab:hover {
  background: #1ebe5c;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgb(37 211 102 / .65);
}
.wa-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid #fff;
  animation: pulse 2s ease-in-out infinite;
}

.wa-bubble {
  width: 300px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgb(0 0 0 / .18);
  overflow: hidden;
  transform: scale(0.85) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}
.wa-bubble.wa-bubble--open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.wa-bubble__header {
  background: #075e54;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  position: relative;
}
.wa-bubble__avatar {
  width: 44px;
  height: 44px;
  background: #128c7e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.wa-bubble__header > div { flex: 1; min-width: 0; }
.wa-bubble__header strong { display: block; font-size: 0.9375rem; }
.wa-bubble__header span { font-size: 0.75rem; opacity: 0.75; }

.wa-bubble__close {
  background: none;
  border: none;
  color: rgb(255 255 255 / .7);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-bubble__close:hover { color: #fff; }

.wa-bubble__body {
  padding: 1rem 1rem 0.5rem;
  background: #e5ddd5;
}
.wa-bubble__msg {
  background: #fff;
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--slate-700);
  box-shadow: 0 1px 2px rgb(0 0 0 / .1);
  position: relative;
}
.wa-bubble__msg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent #fff transparent transparent;
}
.wa-bubble__msg p { margin: 0 0 0.375rem; }
.wa-bubble__time {
  display: block;
  text-align: right;
  font-size: 0.6875rem;
  color: var(--slate-400);
}

.wa-bubble__footer { padding: 0.75rem 1rem 1rem; background: #e5ddd5; }
.wa-bubble__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--transition-base);
}
.wa-bubble__cta:hover { background: #1ebe5c; }

/* ============================================================
   FORMSPREE AJAX — field & form error styles
============================================================ */
/* Ocultar éxito/error hasta que Formspree los active */
[data-fs-success] { display: none; }
[data-fs-error]:not([data-fs-error*="="]) { display: none; }

/* Errores a nivel de campo (spans debajo de cada input) */
.field-error {
  display: block;
  color: #f87171;
  font-size: 0.8125rem;
  margin-top: 0.3rem;
  min-height: 1rem;
}

/* Input inválido marcado por Formspree con aria-invalid */
[data-fs-field][aria-invalid="true"] {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgb(239 68 68 / .15) !important;
}

/* Error global del formulario cuando Formspree lo rellena */
[data-fs-error]:not([data-fs-error*="="]):not(:empty) {
  display: block;
  color: #fca5a5;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  background: rgb(239 68 68 / .12);
  border: 1px solid rgb(239 68 68 / .35);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

/* Botón deshabilitado durante el envío */
[data-fs-submit-btn]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}
