/* ===========================
   AdeGpymes - Rediseño 2025
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #2E425B;
  --navy-hover: #3D5470;
  --navy-dark: #1C2B3A;
  --gold:    #D4A017;
  --gold-hover: #B8891A;
  --white:   #FFFFFF;
  --gray-bg: #F5F7FA;
  --gray-text: #6B7280;
  --dark:    #1A1A2E;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(46,66,91,0.12);
  --shadow-lg: 0 8px 40px rgba(46,66,91,0.18);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.section-subtitle.light { color: rgba(255,255,255,0.75); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.4rem 0;
}

.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.8rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
filter: brightness(1.5);
}

.navbar__logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.navbar__logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar__links a:hover { color: var(--white); }
.navbar__links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,160,23,0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Navbar social icons */
.navbar__social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar__social a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition), transform var(--transition);
  padding: 4px;
}
.navbar__social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}
.mobile-menu__social {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.mobile-menu__social a {
  color: rgba(255,255,255,0.65);
  font-size: 0;
  display: flex;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu__social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

/* Geometric background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero__eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--gold);
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
}

.hero__tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-style: italic;
}

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

.hero__image-wrap {
  display: flex;
  justify-content: center;
}

.hero__photo {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 0 12px rgba(212,160,23,0.15), var(--shadow-lg);
}

/* Photo placeholder */
.hero__photo-placeholder {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--navy-hover);
  border: 6px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 0 12px rgba(212,160,23,0.15), var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  gap: 0.5rem;
}

.hero__photo-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

/* ===========================
   STATS
   =========================== */
.stats {
  background: var(--navy-dark);
  padding: 3.5rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item {
  padding: 1.5rem;
  position: relative;
}

.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.stats__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stats__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
}

/* ===========================
   SOBRE MÍ
   =========================== */
.about {
  padding: 6rem 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about__photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 0.9rem;
  border: 2px dashed #D1D5DB;
}

.about__accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 160px; height: 160px;
  background: var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.15;
}

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--gray-bg);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid #E5E7EB;
}

.about__badge svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* ===========================
   SERVICIOS
   =========================== */
.services {
  padding: 6rem 0;
  background: var(--gray-bg);
}

.services__header { text-align: center; }
.services__header .section-subtitle { margin-left: auto; margin-right: auto; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid #E8ECF0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--gold);
}

.service-card__icon svg {
  width: 28px; height: 28px;
  stroke: var(--white);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.7;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition), gap var(--transition);
}

.service-card__link:hover {
  color: var(--gold);
  gap: 0.7rem;
}

/* Centra el último servicio si queda solo en su fila (grid de 3 col) */
.services__grid .service-card:last-child:nth-child(3n+1) {
  grid-column: 2;
}

@media (max-width: 1024px) {
  .services__grid .service-card:last-child:nth-child(3n+1) {
    grid-column: auto;
  }
  .services__grid .service-card:last-child:nth-child(2n+1) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ===========================
   UTILIDADES
   =========================== */
.utils {
  padding: 6rem 0;
  background: var(--gray-bg);
}

.utils__header { text-align: center; }
.utils__header .section-subtitle { margin-left: auto; margin-right: auto; }

/* Foto + texto band */
.utils__photo-band {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(46,66,91,0.08);
}
.utils__photo-wrap {
  height: 160px;
  overflow: hidden;
  background: #F0F4F8;
}
.utils__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.utils__photo-text {
  padding: 1.25rem 2rem 1.25rem 0;
}
.utils__photo-text p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.utils__photo-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .utils__photo-band {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .utils__photo-wrap { height: 200px; }
  .utils__photo-text { padding: 1.25rem; }
}

/* Soporte Remoto - card destacada */
.utils__remote {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin: 2.5rem 0 2rem;
  color: var(--white);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.utils__remote:hover {
  background: var(--navy-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.utils__remote-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.utils__remote-body { flex: 1; }

.utils__remote-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.utils__remote-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.utils__remote-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Grid de herramientas */
.utils__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.util-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid #E8ECF0;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  color: inherit;
}

.util-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}

.util-card__icon {
  width: 48px; height: 48px;
  background: var(--gray-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 0.4rem;
  transition: background var(--transition), color var(--transition);
}

.util-card:hover .util-card__icon {
  background: var(--navy);
  color: var(--white);
}

.util-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.util-card__desc {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.65;
  flex: 1;
}

.util-card__tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,160,23,0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  width: fit-content;
}

@media (max-width: 1024px) {
  .utils__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .utils__remote {
    flex-direction: column;
    text-align: center;
  }
  .utils__remote-cta { justify-content: center; }
  .utils__grid { grid-template-columns: 1fr; }
}

/* ===========================
   TESTIMONIOS
   =========================== */
.testimonials {
  padding: 6rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: -1rem; left: 5%;
  font-size: 20rem;
  color: rgba(255,255,255,0.04);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonials__header { text-align: center; }
.testimonials__header .section-subtitle { margin-left: auto; margin-right: auto; }

.testimonials__slider {
  position: relative;
  max-width: 820px;
  margin: 3rem auto 0;
}

.testimonials__track {
  overflow: hidden;
}

.testimonials__list {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 0 1rem;
  text-align: center;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
}

.testimonial-card__quote {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-hover);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.testimonial-card__name {
  text-align: left;
}

.testimonial-card__name strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.testimonial-card__name span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.testimonials__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.testimonials__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.testimonials__dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ===========================
   BLOG
   =========================== */
.blog {
  padding: 6rem 0;
  background: var(--white);
}

.blog__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #E8ECF0;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card__img {
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}

.blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-hover) 100%);
}

.blog-card__img-placeholder svg {
  width: 36px; height: 36px;
  stroke: rgba(255,255,255,0.3);
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.blog-card__meta {
  font-size: 0.78rem;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition), gap var(--transition);
}

.blog-card__link:hover {
  color: var(--gold);
  gap: 0.55rem;
}

/* ===========================
   VÍDEO
   =========================== */
.video-section {
  padding: 6rem 0;
  background: var(--gray-bg);
  text-align: center;
}

.video-section__header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.video-section__book-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 2.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Miniatura clicable → carga iframe al hacer clic */
.video-thumb {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-thumb:hover img {
  transform: scale(1.03);
}

.video-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.video-thumb:hover .video-thumb__play {
  transform: scale(1.1);
}

.video-thumb__label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.video-thumb__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

/* ===========================
   CONTACTO
   =========================== */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(46,66,91,0.1);
}

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

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--gray-text);
}

.form-checkbox input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy); }
.form-checkbox a { color: var(--navy); text-decoration: underline; }

.contact__info {
  padding-top: 0.5rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact__info-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__info-icon svg {
  width: 20px; height: 20px;
  stroke: var(--white);
}

.contact__info-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact__info-text span {
  font-size: 0.9rem;
  color: var(--gray-text);
}

.contact__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--gray-bg);
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.social-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-3px);
}

.social-btn:hover svg { stroke: var(--white); }

.social-btn svg {
  width: 18px; height: 18px;
  stroke: var(--navy);
  transition: stroke var(--transition);
}

/* ===========================
   BLOG POST (páginas individuales)
   =========================== */
.blog-post__hero {
  background: var(--navy);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.blog-post__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.blog-post__back:hover { color: var(--gold); }

.blog-post__category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,160,23,0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.blog-post__title {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-post__meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.blog-post__meta-item svg {
  width: 14px; height: 14px;
  stroke: rgba(255,255,255,0.4);
}

/* Cuerpo del artículo */
.blog-post__body {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1rem 5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #374151;
}

.blog-post__body p { margin-bottom: 1.5rem; }

.blog-post__body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
}

.blog-post__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.blog-post__body ul,
.blog-post__body ol {
  margin: 0 0 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.blog-post__body ul li,
.blog-post__body ol li {
  padding: 0.3rem 0 0.3rem 1.75rem;
  position: relative;
  color: #374151;
}

.blog-post__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85rem;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.blog-post__body ol {
  counter-reset: ol-counter;
}

.blog-post__body ol li {
  counter-increment: ol-counter;
}

.blog-post__body ol li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.blog-post__body strong { color: var(--navy); font-weight: 700; }

.highlight-box {
  background: var(--gray-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: #374151;
}

.highlight-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===========================
   IMÁGENES EN ARTÍCULOS DE BLOG
   =========================== */

/* Imagen destacada (portada del artículo) */
.blog-post__featured {
  margin: 0 0 2.5rem;
}
.blog-post__featured img {
  width: 100%;
  border-radius: 12px;
  display: block;
  max-height: 480px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(46,66,91,0.13);
}

/* Imagen inline dentro del artículo */
.blog-post__img {
  margin: 2rem 0;
}
.blog-post__img img {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 20px rgba(46,66,91,0.10);
}

/* Variante: imagen a la derecha con texto que fluye a la izquierda */
@media (min-width: 640px) {
  .blog-post__img--right {
    float: right;
    width: 45%;
    margin: 0.25rem 0 1.5rem 2rem;
  }
}

/* Variante: imagen centrada a ancho completo */
.blog-post__img--center {
  margin: 2.5rem 0;
}

/* Pie de foto */
.blog-post__featured figcaption,
.blog-post__img figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #9CA3AF;
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

/* Limpiar float al final de cada sección */
.blog-post__body h2,
.blog-post__body h3 {
  clear: both;
}

/* CTA al final del artículo */
.blog-post__cta {
  max-width: 780px;
  margin: 0 auto 5rem;
  padding: 0 1rem;
}

.blog-post__cta-inner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}

.blog-post__cta-inner h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.blog-post__cta-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Botones de compra del libro */
.libro-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2.5rem 0 1rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--navy-dark);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer__brand-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  line-height: 1.6;
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition), padding-left var(--transition);
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer__legal a:hover { color: var(--white); }

/* ===========================
   RESPONSIVE
   =========================== */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }

  /* Navbar: reduce link gap, hide social to save space */
  .navbar__links { gap: 1.25rem; }
  .navbar__links a { font-size: 0.82rem; }
  .navbar__social { gap: 0.4rem; }
  .navbar__logo img { height: 38px; }

  /* Hero */
  .hero { padding: 5rem 0 3.5rem; }
  .hero__inner { gap: 2.5rem; }
  .hero__photo, .hero__photo-placeholder { width: 280px; height: 280px; }

  /* Stats: 3 columns stay but slightly smaller */
  .stats__grid { gap: 0; }

  /* About: keep 2 col, tighten gap */
  .about__inner { gap: 2.5rem; }

  /* Services */
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* Blog */
  .blog__grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > :first-child { grid-column: 1/-1; }
}

/* ── Phablet (≤860px): collapse navbar before full mobile ── */
@media (max-width: 860px) {
  .navbar__links { gap: 1rem; }
  .navbar__social { display: none; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }

  /* Navbar */
  .navbar__links,
  .navbar__social,
  .navbar__links ~ .btn { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 5rem 0 3rem; }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero__image-wrap { order: -1; }
  .hero__photo, .hero__photo-placeholder {
    width: 200px; height: 200px;
    margin: 0 auto;
  }
  .hero__eyebrow { justify-content: center; }
  .hero__ctas { justify-content: center; flex-wrap: wrap; }
  .hero__title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .hero::after { display: none; }

  /* Stats */
  .stats { padding: 2.5rem 0; }
  .stats__grid { grid-template-columns: 1fr; gap: 0; }
  .stats__item { padding: 1.25rem 0; }
  .stats__item::after { display: none; }
  .stats__item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* About */
  .about { padding: 4rem 0; }
  .about__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about__image-wrap { max-width: 280px; margin: 0 auto; }
  .about__accent { display: none; }

  /* Services */
  .services { padding: 4rem 0; }
  .services__grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials { padding: 4rem 0; }
  .testimonial-card__quote { font-size: 1rem; }

  /* Blog */
  .blog { padding: 4rem 0; }
  .blog__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .blog__grid { grid-template-columns: 1fr; }
  .blog__grid .blog-card { display: block !important; }

  /* Video / Libro */
  .video-section { padding: 4rem 0; }
  .video-section__book-ctas { flex-direction: column; align-items: center; }
  .video-section__book-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Contact */
  .contact { padding: 4rem 0; }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__inner > :first-child { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .footer__legal { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* Blog post pages */
  .blog-post__hero { padding: 5rem 0 2.5rem; }
  .blog-post__title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .blog-post__body { padding: 2rem 0 3rem; }
  .blog-post__img--right {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
  }
  .libro-ctas { flex-direction: column; align-items: center; }
  .libro-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .hero__title { font-size: 1.65rem; }
  .stats__number { font-size: 2.8rem; }
  .blog-card__title { font-size: 1rem; }
  .btn { padding: 0.6rem 1.1rem; font-size: 0.84rem; }
}

/* ════════════════════════════
   VIDEO EMBED
════════════════════════════ */
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: 2.5rem 0;
  box-shadow: 0 4px 24px rgba(46,66,91,0.15);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ════════════════════════════
   HONEYPOT
════════════════════════════ */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ════════════════════════════
   CALENDLY CTA
════════════════════════════ */
.contact__calendly {
  margin: 1.75rem 0 0;
  padding: 1.25rem;
  background: #F0F4F8;
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}
.contact__calendly-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* ════════════════════════════
   HERO DESCRIPTOR
════════════════════════════ */
.hero__descriptor {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}
@media (max-width: 768px) {
  .hero__descriptor { margin-left: auto; margin-right: auto; text-align: center; }
}

/* ════════════════════════════
   ABOUT INTRO SEO
════════════════════════════ */
.about__intro-seo {
  font-size: 0.97rem;
  color: var(--navy);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: #F0F4F8;
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}

/* ════════════════════════════
   FAQ ACCORDION
════════════════════════════ */
.faq { padding: 6rem 0; background: var(--white); }
.faq__header { text-align: center; margin-bottom: 3rem; }
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq__item { border-bottom: 1px solid #E5E7EB; }
.faq__question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; font-weight: 600; font-size: 1rem; color: var(--navy);
  cursor: pointer; background: none; border: none; text-align: left; gap: 1rem;
}
.faq__question svg { flex-shrink: 0; transition: transform var(--transition); }
.faq__item.open .faq__question svg { transform: rotate(180deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__answer p { padding: 0 0 1.25rem; color: var(--text-muted); line-height: 1.8; font-size: 0.97rem; }
.faq__item.open .faq__answer { max-height: 300px; }
@media (max-width: 768px) { .faq { padding: 4rem 0; } }
