/* ============================================================
   AUTOESCUELA — styles.css
   Paleta: Blanco (#fff) · Naranja (#F15929) · Gris (#57585A) · Verde (#0fa14a)
   Para editar colores globales, modifica las variables en :root
   ============================================================ */

/* ── VARIABLES GLOBALES ── */
:root {
  --orange:       #F15929;
  --orange-dark:  #d14a1f;
  --orange-light: rgba(241,89,41,0.08);
  --green:        #0fa14a;
  --green-light:  rgba(15,161,74,0.1);
  --gray:         #57585a;
  --gray-light:   #f6f6f6;
  --gray-mid:     #e2e2e2;
  --white:        #ffffff;
  --black:        #181818;
  --light-bg:     #fdf9f7;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --shadow-sm:  0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.13);
  --shadow-orange: 0 8px 32px rgba(241,89,41,0.30);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; }
ul { list-style: none; }

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--black);
  margin-bottom: 14px;
}
.section-title span { color: var(--orange); }
.section-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.75;
}

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(241,89,41,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-mid);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── SECCIONES ── */
section { padding: 96px 6%; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── DIVIDER ── */
.divider {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--orange);
  margin: 16px 0 24px;
}
.section-header.centered .divider { margin: 16px auto 24px; }

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(241,89,41,0.08);
  transition: padding 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  padding: 14px 6%;
  box-shadow: var(--shadow-md);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -1px;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }

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

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  padding: 130px 6% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  overflow: hidden;
}
/* Fondo decorativo */
#hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(241,89,41,0.07) 0%, transparent 65%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(15,161,74,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(241,89,41,0.2);
  border-radius: var(--radius-xl);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(1.4); }
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-title em { color: var(--orange); font-style: normal; }
.hero-title .green { color: var(--green); }
.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.4s both;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  animation: fadeUp 0.8s ease 0.5s both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -1px;
}
.stat-label { font-size: 0.78rem; color: var(--gray); margin-top: 2px; }
.stat-divider { width: 1px; background: var(--gray-mid); }

/* Hero visual */
.hero-visual {
  position: relative;
  animation: fadeIn 1s ease 0.3s both;
}
.hero-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.hero-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-img-main:hover img { transform: scale(1.04); }

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}
.hero-float-card.card-1 { bottom: -18px; left: -24px; min-width: 190px; }
.hero-float-card.card-2 {
  top: -14px; right: -18px;
  background: var(--orange);
  color: white;
  animation-delay: 1.5s;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.fc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.card-2 .fc-icon { background: rgba(255,255,255,0.2); }
.fc-label { font-size: 0.7rem; color: var(--gray); }
.card-2 .fc-label { color: rgba(255,255,255,0.75); }
.fc-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}
.card-2 .fc-value { color: white; font-size: 1.5rem; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  background: var(--orange);
  padding: 13px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
}
.marquee-item::after { content: '✦'; opacity: 0.5; }

/* ============================================================
   SERVICIOS / CURSOS
   ============================================================ */
#servicios { background: var(--white); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.servicio-card {
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: default;
}
.servicio-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.servicio-card:hover {
  border-color: rgba(241,89,41,0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.servicio-card:hover::after { transform: scaleX(1); }
.servicio-card.featured {
  background: var(--orange);
  border-color: var(--orange);
}
.servicio-card.featured::after { display: none; }
.s-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.servicio-card.featured .s-icon { background: rgba(255,255,255,0.2); }
.s-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.servicio-card.featured .s-title,
.servicio-card.featured .s-desc,
.servicio-card.featured .s-tag { color: white; }
.servicio-card.featured .s-desc { opacity: 0.88; }
.s-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }
.s-tag {
  display: inline-block;
  margin-top: 16px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: var(--radius-xl);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
}
.servicio-card.featured .s-tag { background: rgba(255,255,255,0.2); }

/* ── Tag verde ── */
.s-tag.green {
  background: var(--green-light);
  color: var(--green);
}

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */
#proceso { background: var(--light-bg); }
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 36px;
  position: relative;
}
/* Línea conectora (solo escritorio) */
.proceso-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--green));
  opacity: 0.2;
  pointer-events: none;
}
.paso {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.paso-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(241,89,41,0.3);
  flex-shrink: 0;
}
.paso h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.paso p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

/* ============================================================
   ACORDEÓN CON IMÁGENES
   ============================================================ */
#experiencia { background: var(--white); }
.accordion-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.accordion-img-panel {
  position: sticky;
  top: 110px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.accordion-img-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
}
.accordion-items { display: flex; flex-direction: column; gap: 0; }
.acc-item {
  border-bottom: 1.5px solid var(--gray-mid);
  overflow: hidden;
}
.acc-item:first-child { border-top: 1.5px solid var(--gray-mid); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}
.acc-trigger:hover { background: var(--orange-light); border-radius: var(--radius-sm); padding-left: 12px; padding-right: 12px; }
.acc-trigger.active { padding-left: 12px; padding-right: 12px; }
.acc-trigger-left { display: flex; align-items: center; gap: 16px; }
.acc-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.4;
  min-width: 32px;
  transition: opacity 0.2s;
}
.acc-trigger.active .acc-num { opacity: 1; }
.acc-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  transition: color 0.2s;
}
.acc-trigger.active .acc-title { color: var(--orange); }
.acc-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--gray);
}
.acc-trigger.active .acc-icon {
  background: var(--orange);
  color: white;
  transform: rotate(45deg);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s;
  padding: 0 12px;
}
.acc-body.open {
  max-height: 300px;
  padding: 0 12px 22px;
}
.acc-body p { font-size: 0.92rem; color: var(--gray); line-height: 1.75; margin-bottom: 14px; }
.acc-body-img {
  display: none; /* Solo se muestra en móvil */
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 16/9;
}
.acc-body-img img { width: 100%; height: 100%; object-fit: cover; }
.acc-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-xl);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   SOBRE NOSOTROS
   ============================================================ */
#nosotros { background: var(--light-bg); }
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.nosotros-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.nosotros-imgs img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 2/3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease;
}
.nosotros-imgs img:hover { transform: scale(1.03); }
.nosotros-imgs img:first-child { margin-top: 40px; }
.highlight-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.hi {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hi-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.hi-text strong { font-weight: 600; color: var(--black); font-size: 0.92rem; }
.hi-text p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-top: 2px; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
#testimonios { background: var(--black); }
#testimonios .section-title { color: var(--white); }
#testimonios .section-sub  { color: rgba(255,255,255,0.55); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background 0.2s, border-color 0.2s;
}
.testi-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(241,89,41,0.3);
}
.testi-stars { color: var(--orange); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-quote { font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.75; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}
/* Colores alternativos avatares */
.testi-av.green { background: var(--green); }
.testi-av.gray  { background: var(--gray); }
.testi-name { font-weight: 600; color: white; font-size: 0.88rem; }
.testi-info { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   PRECIOS
   ============================================================ */
#precios { background: var(--white); }
.precios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.precio-card {
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.25s ease;
  position: relative;
}
.precio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.precio-card.popular {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
  transform: scale(1.04);
}
.precio-card.popular:hover { transform: scale(1.04) translateY(-5px); }
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  border-radius: var(--radius-xl);
  padding: 4px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.precio-plan {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.precio-card.popular .precio-plan { color: rgba(255,255,255,0.8); }
.precio-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.precio-amount span { font-size: 1.2rem; font-weight: 500; vertical-align: super; }
.precio-desc { font-size: 0.82rem; color: var(--gray); margin-bottom: 24px; }
.precio-card.popular .precio-desc { color: rgba(255,255,255,0.7); }
.precio-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.precio-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray);
}
.precio-card.popular .precio-feature { color: rgba(255,255,255,0.85); }
.precio-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  font-weight: 700;
}
.precio-card.popular .precio-check { background: rgba(255,255,255,0.2); color: white; }

/* ============================================================
   CONTACTO
   ============================================================ */
#contacto { background: var(--light-bg); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contacto-info { display: flex; flex-direction: column; gap: 28px; }
.c-info-item { display: flex; gap: 14px; align-items: flex-start; }
.c-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.c-info-title { font-weight: 600; font-size: 0.88rem; color: var(--black); }
.c-info-data { font-size: 0.88rem; color: var(--gray); margin-top: 2px; }

/* Formulario */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--gray); margin-top: 8px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
#cta-final {
  background: var(--orange);
  text-align: center;
  padding: 96px 6%;
  position: relative;
  overflow: hidden;
}
#cta-final::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
#cta-final::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
#cta-final h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: white;
  max-width: 620px;
  margin: 0 auto 14px;
  position: relative;
}
#cta-final p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 36px;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 64px 6% 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: white; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); margin-left: 16px; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--orange); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.social-link:hover { background: var(--orange); color: white; }

/* ============================================================
   ANIMACIONES DE ENTRADA (scroll)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

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

@media (max-width: 768px) {
  section { padding: 72px 5%; }

  /* Nav */
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  #hero { grid-template-columns: 1fr; padding-top: 100px; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-float-card.card-1 { display: none; }
  .hero-stats { gap: 20px; }

  /* Acordeón */
  .accordion-wrapper { grid-template-columns: 1fr; }
  .accordion-img-panel { display: none; }
  .acc-body-img { display: block; }

  /* Nosotros */
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-imgs { display: none; }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  /* Proceso */
  .proceso-grid::before { display: none; }

  /* Precios */
  .precio-card.popular { transform: scale(1); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
