/*
 * index.css — Estilos específicos de index.html
 * Jonathan Reyes · yosoyjonathanreyes.com
 *
 * Requiere: styles.css (cargado antes en el HTML)
 *
 * Secciones:
 *   1.  Hero
 *   2.  Marquee
 *   3.  Problema
 *   4.  Solución
 *   5.  Sobre mí
 *   6.  Portafolio
 *   7.  Testimonios
 *   8.  Proceso
 *   9.  Marca Personal (galería + bloque Manudo)
 *  10.  Servicios (con canvas matrix)
 *  11.  FAQ
 *  12.  Contacto
 */


/* ─────────────────────────────────────────
   1. HERO
   Pantalla completa dividida en texto | foto
   ───────────────────────────────────────── */
/* Hero: 88vh para que la franja verde asome sin hacer scroll */
#hero {
  position: relative;
  min-height: 88vh;
  background: var(--navy);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Columna de texto (izquierda) */
.hero-content-col {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 100px bottom = 56px deseado + ~44px del marquee pegado al fondo */
  padding: 130px 56px 100px 72px;
}

/* Badge de disponibilidad */
.hero-available {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 100px;
  width: fit-content;
}
.hero-available-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}
.hero-available span {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
}

/* Título manuscrito (Great Vibes) */
.hero-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

/* Titular principal */
.hero-headline {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: normal;
  color: var(--green);
}

/* Divisor verde bajo el título */
.hero-divider {
  width: 48px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 28px;
  opacity: 0.7;
}

/* Subtítulo */
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 44px;
}
.hero-sub strong {
  font-weight: 700;
  color: #CBD5E1;
}

/* Fila de CTAs */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Links sociales bajo los CTAs */
.hero-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.hero-social-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-low);
  margin-right: 4px;
}
.hero-social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}
.hero-social-link:hover {
  color: var(--green);
  border-color: rgba(34, 197, 94, 0.35);
  transform: translateY(-2px);
}

/* Scroll indicator (oculto por defecto) */
.hero-scroll      { display: none; }
.hero-scroll-line { display: none; }

/* Columna de foto (derecha):
   overflow:hidden impide que la imagen natural empuje el hero más allá de 88vh.
   La imagen se posiciona absolute para que NO dicte la altura del contenedor —
   es el flex del #hero quien controla la altura, no la imagen. */
.hero-photo-col {
  position: relative;
  width: 54%;
  flex-shrink: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-photo-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 25%: recorta cielo arriba, centra más en la figura */
  object-position: center 25%;
}
/* Sin degradado — corte recto entre texto y foto */
.hero-photo-fade {
  display: none;
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hero-content-col { padding: 120px 28px 80px 48px; }
}
@media (max-width: 900px) {
  #hero { flex-direction: column; min-height: auto; }
  .hero-content-col { padding: 36px 28px 64px; order: 2; }
  .hero-scroll { left: 28px; }
  .hero-photo-col { width: 100%; height: 90vw; max-height: 600px; order: 1; }
  .hero-photo-col img { object-position: center top; }
  /* Mobile: sin degradado, corte recto también en móvil */
  .hero-photo-fade { display: none; }
}
@media (max-width: 480px) {
  .hero-content-col { padding: 28px 20px 56px; }
  .hero-scroll { display: none; }
  .hero-photo-col { height: 105vw; max-height: 520px; }
}


/* ─────────────────────────────────────────
   2. MARQUEE
   Cinta verde al fondo del hero (dentro de #hero position:relative)
   ───────────────────────────────────────── */
#hero .marquee-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--green);
  padding: 14px 0;
  overflow: hidden;
}
/* Fuera del hero (por si se usa en otro contexto) */
.marquee-strip {
  background: var(--green);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}
.marquee-item::after {
  content: '◆';
  font-size: 8px;
  opacity: 0.4;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─────────────────────────────────────────
   3. PROBLEMA
   Sección con accent rojo — 3 tarjetas glass
   ───────────────────────────────────────── */
#problema {
  padding: 96px 48px;
  background: var(--navy-2);
}
.problema-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.problema-header {
  text-align: center;
  margin-bottom: 64px;
}

/* Etiqueta roja solo en esta sección */
#problema .section-label {
  color: #EF4444;
}

.problema-header .section-title { max-width: 680px; margin: 0 auto 16px; }
.problema-header .section-body  { max-width: 560px; margin: 0 auto; }

.problema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problema-card {
  border-radius: 20px;
  padding: 36px 30px;
  transition: border-color 0.3s, transform 0.3s;
}
.problema-card:hover {
  border-color: rgba(239, 68, 68, 0.45);
  transform: translateY(-4px);
}

/* Icono rojo */
.problema-icon {
  margin-bottom: 20px;
  color: #EF4444;
}

.problema-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 12px;
}
.problema-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
}

@media (max-width: 768px) {
  #problema { padding: 72px 24px; }
  .problema-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ─────────────────────────────────────────
   4. SOLUCIÓN
   3 tarjetas con borde verde y números grandes
   ───────────────────────────────────────── */
#solucion {
  padding: 96px 48px;
  background: var(--navy);
}
.solucion-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.solucion-header {
  text-align: center;
  margin-bottom: 64px;
}
.solucion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solucion-card {
  background: rgba(34, 197, 94, 0.05);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: 20px;
  padding: 36px 30px;
  transition: border-color 0.3s, transform 0.3s;
}
.solucion-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-4px);
}
.solucion-num {
  font-size: 40px;
  font-weight: 900;
  color: #22C55E;
  line-height: 1;
  margin-bottom: 20px;
}
.solucion-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 12px;
}
.solucion-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
}

@media (max-width: 768px) {
  #solucion { padding: 72px 24px; }
  .solucion-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ─────────────────────────────────────────
   5. SOBRE MÍ
   Layout de dos columnas: foto | texto
   ───────────────────────────────────────── */
#sobre-mi {
  padding: 96px 48px;
  background: var(--navy-2);
}
.sobre-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Foto con tarjeta flotante */
.sobre-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.sobre-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sobre-photo-accent {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(7, 12, 26, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sobre-photo-accent-icon { color: rgba(255, 255, 255, 0.55); flex-shrink: 0; }
.sobre-photo-accent-text { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.4; }
.sobre-photo-accent-sub  { font-size: 11px; color: var(--text-low); font-weight: 400; }

/* Texto de la columna */
.sobre-handwritten {
  font-family: 'Great Vibes', cursive;
  font-size: 28px;
  color: var(--green);
  margin-bottom: 6px;
  line-height: 1;
}
.sobre-quote {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  color: #F1F5F9;
  border-left: 3px solid var(--green);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
}
.sobre-body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 16px;
}

/* Pills de intereses */
.sobre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.sobre-pill {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  #sobre-mi { padding: 72px 24px; }
  .sobre-inner { grid-template-columns: 1fr; gap: 40px; }
  .sobre-photo { max-width: 380px; margin: 0 auto; }
}


/* ─────────────────────────────────────────
   6. PORTAFOLIO
   Grid de 3 tarjetas glass con aurora mesh de fondo
   ───────────────────────────────────────── */
#portafolio {
  padding: 96px 48px;
  position: relative;
  overflow: hidden;
  background: #060610;
}

/* Malla de color de fondo */
#portafolio::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 5%  20%, rgba(59, 130, 246, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 50% 55% at 90% 15%, rgba(239, 68,  68,  0.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 70% 85%, rgba(14, 165, 233, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 25% 80%, rgba(220, 38,  38,  0.16) 0%, transparent 55%),
    radial-gradient(ellipse 30% 35% at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.portafolio-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.portafolio-header { margin-bottom: 52px; }
.portafolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Tarjeta de proyecto */
.proyecto-card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.proyecto-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Área de imagen / placeholder */
.proyecto-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.proyecto-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Glow de color por tarjeta (definido vía inline style) */
.proyecto-card-img .card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}

.proyecto-card-body { padding: 22px 22px 14px; flex: 1; }
.proyecto-tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.proyecto-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 8px;
  line-height: 1.3;
}
.proyecto-card-body p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-mid);
}

/* Footer de la tarjeta */
.proyecto-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 6px;
}
.proyecto-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.proyecto-tech span {
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
}
.proyecto-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  transition: gap 0.2s;
}
.proyecto-link:hover { gap: 10px; }
.proyecto-link svg   { flex-shrink: 0; }

@media (max-width: 900px) {
  #portafolio { padding: 72px 24px; }
  .portafolio-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .portafolio-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   7. TESTIMONIOS
   3 tarjetas glass con estrellas ámbar
   ───────────────────────────────────────── */
#testimonios {
  padding: 96px 48px;
  background: var(--navy-2);
}
.testimonios-inner  { max-width: 1200px; margin: 0 auto; }
.testimonios-header { text-align: center; margin-bottom: 52px; }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonio-card {
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.3s;
}
.testimonio-card:hover { transform: translateY(-4px); }
.testimonio-stars {
  font-size: 15px;
  color: #FBBF24;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonio-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #CBD5E1;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonio-author { display: flex; align-items: center; gap: 12px; }
.testimonio-avatar {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FBBF24;
}
.testimonio-name { font-size: 14px; font-weight: 700; color: #F1F5F9; }
.testimonio-role { font-size: 12px; color: var(--text-low); margin-top: 2px; }

@media (max-width: 900px) {
  #testimonios { padding: 72px 24px; }
  .testimonios-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ─────────────────────────────────────────
   8. PROCESO
   5 pasos horizontales con línea celeste conectora
   ───────────────────────────────────────── */
#proceso {
  padding: 96px 48px;
  background: var(--navy);
}
.proceso-inner  { max-width: 1100px; margin: 0 auto; }
.proceso-header { text-align: center; margin-bottom: 64px; }

/* Etiqueta celeste solo en esta sección */
#proceso .section-label { color: #60A5FA; }

/* Contenedor de pasos con línea decorativa */
.proceso-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.proceso-steps::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(96, 165, 250, 0.1),
    rgba(96, 165, 250, 0.45),
    rgba(96, 165, 250, 0.1)
  );
}

.proceso-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.proceso-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  color: #60A5FA;
}
.proceso-step-num {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #60A5FA;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.proceso-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 8px;
}
.proceso-step p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-mid);
}

@media (max-width: 768px) {
  #proceso { padding: 72px 24px; }
  .proceso-steps { flex-direction: column; gap: 32px; }
  .proceso-steps::before { display: none; }
}


/* ─────────────────────────────────────────
   9. MARCA PERSONAL
   Galería masonry + bloque Soy Manudo
   ───────────────────────────────────────── */
#marca-personal {
  padding: 96px 48px;
  background: var(--navy-2);
  position: relative;
  overflow: hidden;
}

/* Resplandor rojo difuminado en la parte inferior */
#marca-personal::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 700px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(220, 38, 38, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 15% 90%,  rgba(185, 10, 10, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 85% 80%,  rgba(239, 68, 68, 0.14) 0%, transparent 55%);
}

.marca-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.marca-header { margin-bottom: 52px; }
.marca-header .section-title span { color: var(--green); }

/* Galería tipo masonry */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
  margin-bottom: 80px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }

/* Bloque Soy Manudo */
.manudo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  background: rgba(12, 2, 2, 0.75);
  backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.60),
    0 0 80px rgba(220, 38, 38, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 60px rgba(220, 38, 38, 0.07);
  position: relative;
  overflow: hidden;
}

/* Pseudoelementos de glow interno */
.manudo-block::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.manudo-block::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(185, 10, 10, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Logo dentro de la columna de texto */
.manudo-content-logo { margin-bottom: 8px; }
.manudo-content-logo img { height: 220px; width: auto; }
@media (max-width: 900px) { .manudo-content-logo img { height: 180px; } }
@media (max-width: 480px) { .manudo-content-logo img { height: 140px; } }

.manudo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EF4444;
  margin-bottom: 14px;
}
.manudo-content h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.manudo-content p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.manudo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}
.manudo-pill {
  padding: 5px 14px;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.52);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #FCA5A5;
  letter-spacing: 0.04em;
}
.btn-manudo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: #DC2626;
  border: 1px solid #EF4444;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: background 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.40);
}
.btn-manudo:hover {
  background: #EF4444;
  box-shadow: 0 6px 32px rgba(220, 38, 38, 0.60);
}

/* Foto de la columna derecha */
.manudo-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(220, 38, 38, 0.28);
}
.manudo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.manudo-content { position: relative; z-index: 1; }
.manudo-visual  { position: relative; z-index: 1; }

@media (max-width: 900px) {
  #marca-personal { padding: 72px 24px; }
  .gallery-masonry { columns: 2; }
  .manudo-block { grid-template-columns: 1fr; gap: 40px; padding: 36px 24px; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
}


/* ─────────────────────────────────────────
   10. SERVICIOS
   Grid de 6 tarjetas con canvas de código matrix de fondo
   ───────────────────────────────────────── */
#servicios {
  padding: 96px 48px;
  background: var(--navy-3);
  position: relative;
  overflow: hidden;
}

/* Canvas matrix — llenado por initMatrixCanvas() en index.js */
#hack-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.servicios-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.servicios-header { text-align: center; margin-bottom: 64px; }
.servicios-header .section-title span { color: var(--green); }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.servicio-card {
  background: rgba(7, 12, 26, 0.88);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.servicio-card:hover {
  border-color: rgba(34, 197, 94, 0.38);
  transform: translateY(-5px);
}

/* Ícono verde */
.servicio-icon {
  margin-bottom: 20px;
  color: #22C55E;
}

.servicio-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 10px;
}
.servicio-card > p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.servicio-features {
  list-style: none;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.servicio-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
}
.servicio-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-dim);
  flex-shrink: 0;
}
.btn-servicio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  transition: background 0.25s, border-color 0.25s;
}
.btn-servicio:hover {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.45);
}

.servicios-cta-row { text-align: center; }

@media (max-width: 900px) {
  #servicios { padding: 72px 24px; }
  .servicios-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ─────────────────────────────────────────
   11. FAQ
   Acordeón de preguntas con flecha animada
   ───────────────────────────────────────── */
#faq {
  padding: 96px 48px;
  background: var(--navy-2);
}
.faq-inner  { max-width: 800px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 52px; }
.faq-list   { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: rgba(34, 197, 94, 0.28); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #F1F5F9;
  font-family: 'Lato', sans-serif;
}

.faq-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-arrow svg { width: 10px; height: 10px; fill: none; stroke: var(--green); stroke-width: 1.5; }
.faq-item.open .faq-arrow { transform: rotate(180deg); background: rgba(34, 197, 94, 0.16); }

/* Panel de respuesta con animación de altura */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 26px 22px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-mid);
}

@media (max-width: 768px) { #faq { padding: 72px 24px; } }


/* ─────────────────────────────────────────
   12. CONTACTO
   Sección central con CTA de WhatsApp
   ───────────────────────────────────────── */
#contacto {
  padding: 96px 48px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Círculo de brillo verde centrado */
.contacto-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contacto-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contacto-inner .section-label {
  justify-content: center;
  display: flex;
  gap: 8px;
}
.contacto-inner .section-title {
  font-size: clamp(32px, 4.5vw, 54px);
  margin-bottom: 20px;
}
.contacto-inner .section-title span { color: var(--green); }

.contacto-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 48px;
}
.contacto-acciones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contacto-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.contacto-email {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 400;
}
.contacto-email a {
  color: var(--green);
  font-weight: 700;
}
.contacto-email a:hover { text-decoration: underline; }

/* Lista de garantías */
.contacto-garantia {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.garantia-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
}
.garantia-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  #contacto { padding: 72px 24px; }
  .contacto-btns { flex-direction: column; align-items: center; }
}
