/* =========================
assets/styles.css – Angela Espinoza
Diseño profesional optimizado - Hero completo visible
========================= */

:root {
  --primary: #ff4fb3;
  --secondary: #7c6cff;
  --accent: #8bd3ff;
  --ink: #111318;
  --bg: #ffffff;
  --muted: #f6f3fb;
  --card: #ffffff;
  --border: #ece8f5;
  --shadow-sm: 0 2px 8px rgba(124, 108, 255, 0.08);
  --shadow-md: 0 8px 24px rgba(124, 108, 255, 0.12);
  --shadow-lg: 0 20px 50px rgba(124, 108, 255, 0.18);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Poppins, Montserrat, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.narrow {
  width: min(860px, 90%);
}

/* ===== ANIMACIONES GLOBALES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== NAVEGACIÓN MEJORADA ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(17, 19, 24, 0.04);
  animation: fadeIn 0.6s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  transition: var(--transition-smooth);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  transition: var(--transition-smooth);
}

.brand:hover {
  transform: translateY(-2px);
}

.brand__logo-img {
  height: 45px;
  width: auto;
  transition: var(--transition-bounce);
}

.brand:hover .brand__logo-img {
  transform: scale(1.05);
}

.brand__name {
  font-weight: 700;
  font-family: Montserrat, Poppins, sans-serif;
  font-size: 1.05rem;
}

.nav__menu {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav__link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
  transition: var(--transition-smooth);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link.is-active {
  color: var(--secondary);
  font-weight: 600;
}

.nav__link.is-active::after {
  width: 100%;
}

.nav__btn {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2d35 100%);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(17, 19, 24, 0.15);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.nav__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav__btn:hover::before {
  left: 100%;
}

.nav__btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 79, 179, 0.3);
}

.nav__toggle {
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav__toggle:hover {
  color: var(--primary);
  transform: scale(1.1);
}

@media (min-width: 960px) {
  .nav__menu {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* ===== HERO OPTIMIZADO (100vh) ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  padding: 2rem 0;
  background: 
    radial-gradient(1400px 500px at 15% -5%, rgba(255, 79, 179, 0.15), transparent 65%),
    radial-gradient(1000px 450px at 105% 8%, rgba(124, 108, 255, 0.15), transparent 65%),
    linear-gradient(180deg, #fff 0%, rgba(246, 243, 251, 0.3) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 211, 255, 0.12), transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 79, 179, 0.1), transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__copy {
  animation: slideInLeft 0.8s ease;
}

.hero__copy .eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--secondary);
  margin: 0 0 0.8rem;
  font-size: 0.85rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(124, 108, 255, 0.08);
  border-radius: 20px;
  animation: fadeInUp 0.6s ease;
}

.hero__title {
  font-size: clamp(1.6rem, 3.5vw + 0.5rem, 2.8rem);
  line-height: 1.2;
  font-family: Montserrat, Poppins, sans-serif;
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.grad {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease infinite;
  display: inline;
}

.hero__sub {
  opacity: 0.75;
  font-size: 1rem;
  animation: fadeInUp 1s ease 0.4s backwards;
  margin-bottom: 1.2rem;
}

.hero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  animation: fadeInUp 1.2s ease 0.6s backwards;
}

.hero__media {
  max-width: 500px;
  margin-inline: auto;
  animation: slideInRight 0.8s ease;
  position: relative;
}

.hero__img {
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(124, 108, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
  animation: float 6s ease-in-out infinite;
}

.hero__media:hover .hero__img {
  transform: scale(1.02) translateY(-10px);
  box-shadow: 
    0 30px 80px rgba(124, 108, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* ===== BANNER HORIZONTAL ===== */
.banner {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(246, 243, 251, 0.3) 0%, #fff 100%);
}

.banner__img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(17, 19, 24, 0.08);
  transition: var(--transition-smooth);
}

.banner__img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(124, 108, 255, 0.15);
}

/* ===== SECCIONES MEJORADAS ===== */
.section {
  padding: 5rem 0;
  position: relative;
  animation: fadeIn 1s ease;
}

.section__head {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section h2 {
  font-family: Montserrat, Poppins, sans-serif;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem);
  margin: 0.5rem auto 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--ink) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* ===== QUIÉN SOY ===== */
.who {
  background: linear-gradient(180deg, #fff 0%, var(--muted) 100%);
}

.who__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.who__text {
  animation: slideInLeft 0.8s ease;
}

.who__text p {
  margin: 1rem 0;
  line-height: 1.8;
}

.who__text strong {
  color: var(--secondary);
  font-weight: 600;
}

.who__media {
  animation: slideInRight 0.8s ease;
  position: relative;
}

.who__img {
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(17, 19, 24, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.who__media:hover .who__img {
  transform: scale(1.02);
  box-shadow: 
    0 30px 80px rgba(124, 108, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* ===== TARJETAS DE SERVICIOS MEJORADAS ===== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: fadeInUp 0.6s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.08), transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  width: 500px;
  height: 500px;
}

.card__icon-box {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 79, 179, 0.1), rgba(124, 108, 255, 0.1));
  border-radius: 16px;
  margin-bottom: 1.2rem;
  transition: var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.card__icon {
  color: var(--secondary);
  transition: var(--transition-bounce);
}

.card:hover .card__icon-box {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(255, 79, 179, 0.15), rgba(124, 108, 255, 0.15));
}

.card:hover .card__icon {
  color: var(--primary);
  animation: pulse 1s ease infinite;
}

.card h3 {
  margin: 0.8rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

.card:hover h3 {
  color: var(--secondary);
}

.card p {
  line-height: 1.7;
  color: rgba(17, 19, 24, 0.8);
  position: relative;
  z-index: 1;
}

.card__more {
  margin-top: 1rem;
  border: 0;
  background: transparent;
  color: var(--secondary);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.card__more:hover {
  background: rgba(124, 108, 255, 0.1);
  transform: translateX(5px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(17, 19, 24, 0.12);
  border-color: rgba(124, 108, 255, 0.3);
}

@media (min-width: 720px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .who__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== FILOSOFÍA MEJORADA ===== */
.philosophy {
  background: 
    linear-gradient(135deg, rgba(246, 243, 251, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%),
    url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="rgba(124,108,255,0.05)"/></svg>');
  padding: 5rem 0;
  position: relative;
}

.philosophy .narrow {
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

.philosophy p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin: 1.5rem 0;
}

.philosophy .highlight {
  font-weight: 600;
  background: linear-gradient(135deg, rgba(255, 79, 179, 0.12), rgba(124, 108, 255, 0.12));
  padding: 1rem 1.5rem;
  border-radius: 16px;
  display: inline-block;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(124, 108, 255, 0.08);
  transition: var(--transition-smooth);
}

.philosophy .highlight:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(124, 108, 255, 0.15);
}


/* Centrado del grid de tarjetas */
.cards--center {
  grid-template-columns: 1fr !important;   /* evita las 2 columnas del @media global */
  justify-items: center;                   /* centra el contenido dentro de la grid */
}

.cards--center .card {
  justify-self: center;                    /* asegura el centrado del ítem */
  margin-inline: auto;                     /* fallback por si acaso */
  width: 100%;
  max-width: 820px;                        /* mismo ancho que definimos */
}

/* Tarjeta especial */
.card--feature{
  max-width: 820px;
  width: 100%;
  padding: 2rem 2rem 2.2rem;
  border-radius: 24px;
  /* borde degradado con doble background */
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffffcc, #ffffffcc) padding-box,
    linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
  /* efecto glass + sombra */
  backdrop-filter: saturate(140%) blur(4px);
  box-shadow: var(--shadow-lg);
}

/* icono circular centrado con halo */
.feature__icon{
  width: 64px; height: 64px;
  display:grid; place-items:center;
  margin: 0 auto 1rem;
  border-radius:16px;
  color: var(--secondary);
  background: linear-gradient(135deg, rgba(124,108,255,.12), rgba(255,79,179,.10));
  box-shadow: 0 8px 24px rgba(124,108,255,.12);
}

/* título centrado y con grad sutil */
.feature__title{
  text-align: center;
  margin: .2rem auto 1rem;
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.6rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--ink) 0%, var(--secondary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* texto y lista con mejor legibilidad */
.card--feature p{ line-height: 1.9; margin: 1rem 0; }
.feature__list{ margin: .6rem 0 1rem 1.2rem; line-height: 1.9; }

/* CTA centrado */
.feature__cta{ display:flex; justify-content:center; margin-top: .5rem; }

/* En pantallas pequeñas, respiración extra */
@media (max-width:720px){
  .card--feature{ padding: 1.5rem; }
}



/* ===== RECURSOS MEJORADOS ===== */
.resources {
  background: linear-gradient(180deg, #fff 0%, var(--muted) 100%);
}

.resources__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.resources__media {
  position: relative;
  animation: slideInRight 0.8s ease;
}

.resources__media::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.15;
  border-radius: 20px;
  z-index: -1;
  transition: var(--transition-smooth);
}

.resources__media:hover::before {
  top: -20px;
  right: -20px;
  opacity: 0.25;
}

.resources__media img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(17, 19, 24, 0.12);
  transition: var(--transition-smooth);
}

.resources__media:hover img {
  transform: scale(1.02);
}

@media (min-width: 860px) {
  .resources__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Conversa: layout dos columnas con imagen pequeña a la derecha */
.conversa {
  max-width: 1000px;        /* centra y limita ancho total */
  margin-inline: auto;
}

.conversa__grid {
  display: grid;
  gap: 1.8rem;
  align-items: start;
}

.conversa__title{
  margin: 0 0 .35rem;
  font-weight: 800;
  font-size: clamp(1.3rem, 1.1vw + 1rem, 1.8rem);
  background: linear-gradient(135deg, var(--ink) 0%, var(--secondary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.conversa__subtitle{ margin: .1rem 0 1rem; opacity: .85; }

.conversa__img{
  width: 100%;
  max-width: 360px;          /* controla tamaño de la foto */
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* Desktop: dos columnas (texto 3/5, imagen 2/5 a la derecha) */
@media (min-width: 860px){
  .conversa__grid{
    grid-template-columns: 3fr 2fr;
  }
  .conversa__media{
    display: flex;
    justify-content: flex-end;   /* empuja la imagen hacia la derecha */
  }
}

/* Mobile: apilado con imagen más compacta */
@media (max-width: 859.9px){
  .conversa__img{
    max-width: 320px;
    margin-inline: auto;         /* centrada en mobile */
  }
}

/* ===== CONTACTO MEJORADO ===== */
.contact {
  background: 
    linear-gradient(135deg, #fff 0%, var(--muted) 100%),
    url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,79,179,0.04)"/></svg>');
  position: relative;
}

.contact__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.contact__copy {
  animation: slideInLeft 0.8s ease;
}

.contact__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: grid;
  gap: 1.3rem;
  box-shadow: 0 10px 40px rgba(17, 19, 24, 0.06);
  animation: slideInRight 0.8s ease;
  transition: var(--transition-smooth);
}

.form:hover {
  box-shadow: 0 15px 50px rgba(124, 108, 255, 0.12);
}

.form label {
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font: inherit;
  transition: var(--transition-smooth);
  background: var(--bg);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.1);
  transform: translateY(-2px);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.form__msg {
  font-size: 0.95rem;
  min-height: 1.25rem;
  font-weight: 500;
}

@media (min-width: 860px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== BOTONES MEJORADOS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-bounce);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 79, 179, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 79, 179, 0.4);
}

.btn--secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 108, 255, 0.3);
}

.btn--secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 108, 255, 0.4);
  background: var(--primary);
}

.btn--ghost {
  border: 2px solid var(--border);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(124, 108, 255, 0.05);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* ===== FOOTER MEJORADO ===== */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--muted) 0%, #fff 100%);
}

.footer__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  max-width: 200px;
  height: auto;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer__link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

@media (min-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ===== FLOATING WHATSAPP MEJORADO ===== */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 60;
  transition: var(--transition-bounce);
  animation: pulse 2s ease infinite;
  color: #fff;
}

.fab:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ===== MODAL MEJORADO ===== */
.modal {
  width: min(680px, 92%);
  border: 0;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 30px 90px rgba(17, 19, 24, 0.3);
  animation: fadeInUp 0.4s ease;
  border: 1px solid rgba(124, 108, 255, 0.2);
}

.modal::backdrop {
  background: rgba(17, 19, 24, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal h3 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modal__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.modal__list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.modal__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.modal__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border: 0;
  background: rgba(124, 108, 255, 0.1);
  font-size: 1.8rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: var(--transition-bounce);
  color: var(--secondary);
}

.modal__close:hover {
  background: var(--secondary);
  color: #fff;
  transform: rotate(90deg);
}

/* ===== MENÚ MÓVIL MEJORADO ===== */
.nav__menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  inset: 63px 0 auto 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(17, 19, 24, 0.08);
  animation: slideInRight 0.3s ease;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 720px) {
  .section {
    padding: 3.5rem 0;
  }
  
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero__title {
    font-size: 1.6rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .banner {
    padding: 2rem 0;
  }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--secondary), var(--primary));

}

