/* ============================================================
   H&H FITNESS - CSS Principal — REBRANDING v1 (05/03/2026)
   Colores: #f9c018 naranja | #0B0B18 deep-black | #D39F05 hover
   Fuentes: Bebas Neue (display) | Montserrat (headings) | Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --primary: #f9c018;
  --primary-hover: #D39F05;
  --primary-rgb: 255,101,0;
  --secondary: #0B0B18;
  --secondary-light: #141427;
  --dark-card: #0F0F1E;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --text: #111827;
  --wa-green: #25D366;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.18);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.25);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  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; }

/* ---------- ACCESSIBILITY ---------- */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- TYPOGRAPHY ---------- */
.font-display { font-family: 'Bebas Neue', cursive; letter-spacing: 0.02em; }
.font-heading { font-family: 'Montserrat', sans-serif; }

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
p { font-size: 1rem; color: var(--gray-600); line-height: 1.7; }

/* ---------- UTILITIES ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-navy { background: linear-gradient(145deg, #08080F 0%, #0B0B18 60%, #0e0e22 100%); }
.bg-light { background: var(--gray-50); }

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(249,192,24,0.12);
  border: 1px solid rgba(249,192,24,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-subtitle.light { color: rgba(255,255,255,0.75); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--secondary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,192,24,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--secondary);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,11,24,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(11,11,24,0.99);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  border-bottom-color: rgba(249,192,24,0.2);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-logo img {
  height: 44px;
  width: auto;
}
/* Wordmark de la home — replica el de las páginas v2 (.v2-wordmark).
   OJO: la home NO está bajo .hhv2, así que --fg/--muted NO existen aquí:
   se usan valores explícitos y --primary, que sí es global (:root). */
.navbar-logo { display: flex; align-items: center; text-decoration: none; }
.hh-wordmark { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; line-height: 1; letter-spacing: 0.08em; color: #ffffff; }
.hh-wordmark .accent { color: var(--primary); }
.hh-wordmark-sub { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #6b7280; letter-spacing: 0.25em; margin-top: 2px; }
.footer-brand { margin-bottom: 1.25rem; }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary);
  background: rgba(245,166,35,0.1);
}
.navbar-cta { margin-left: 1rem; }

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: #0B0B18;
  border-bottom: 1px solid rgba(249,192,24,0.2);
  padding: 1rem 1.25rem 1.5rem;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--secondary);
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #06060F 0%, #0B0B18 50%, #09091A 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 45%, rgba(249,192,24,0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(249,192,24,0.07) 0%, transparent 40%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f9c018' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.1em;
  cursor: pointer;
  animation: bounce 2s infinite;
}
.hero-badge svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: linear-gradient(135deg, #f9c018 0%, #D39F05 50%, #f9c018 100%);
  background-size: 200% 200%;
  animation: stats-shimmer 6s ease infinite;
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  animation: stats-sweep 3s ease infinite;
}
@keyframes stats-shimmer {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes stats-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide: var(--secondary);
}
.stat-item {
  text-align: center;
  padding: 1rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; height: 70%;
  width: 1px;
  background: rgba(26,26,46,0.25);
}
.stat-number {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--secondary);
  line-height: 1;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---------- SERVICE CARDS ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0 1.75rem 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: default;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(249,192,24,0.22), 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.service-img {
  width: calc(100% + 3.5rem);
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin: 0 -1.75rem 1.25rem -1.75rem;
  display: block;
}
.service-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.service-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  background: rgba(249,192,24,0.1);
  border: 1px solid rgba(249,192,24,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ---------- SCHEDULE TABLE ---------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table th {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 16px;
  text-align: center;
}
.schedule-table td {
  padding: 10px 16px;
  text-align: center;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  font-family: 'Inter', sans-serif;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--gray-50); }
.schedule-table .class-wod { color: #dc2626; font-weight: 700; }
.schedule-table .class-tone { color: #7c3aed; font-weight: 700; }
.schedule-table .class-openbox { color: #0891b2; font-weight: 700; }
.schedule-table .class-endurance { color: #16a34a; font-weight: 700; }
.schedule-table .class-closed { color: var(--gray-400); font-style: italic; }

/* Mobile schedule cards */
.schedule-cards { display: none; }
.schedule-day-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.schedule-day-header {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.schedule-day-body { padding: 0.5rem 1.25rem; }
.schedule-class-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.schedule-class-item:last-child { border-bottom: none; }
.schedule-time {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--secondary);
  min-width: 50px;
}
.schedule-class-name {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
}
.class-wod-badge { background: #fee2e2; color: #dc2626; }
.class-tone-badge { background: #ede9fe; color: #7c3aed; }
.class-openbox-badge { background: #e0f2fe; color: #0891b2; }
.class-endurance-badge { background: #dcfce7; color: #16a34a; }

/* ---------- PRICING CARDS ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  border-width: 2px;
  transform: scale(1.03);
  box-shadow: 0 0 0 1px rgba(249,192,24,0.5), 0 20px 60px rgba(249,192,24,0.28), 0 8px 24px rgba(0,0,0,0.2);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}
.pricing-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 4rem;
  line-height: 1;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}
.pricing-price span { font-size: 1.5rem; vertical-align: top; margin-top: 0.75rem; display: inline-block; }
.pricing-period {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}
.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(249,192,24,0.18);
  background: rgba(255,255,255,0.10);
}
.testimonial-stars {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}
.testimonial-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- TEAM CARDS ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 4px solid var(--gray-100);
}
.team-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.team-bio {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(245,166,35,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 0.9rem;
  color: var(--gray-600);
}
.contact-info-value a {
  color: var(--primary);
  transition: color var(--transition);
}
.contact-info-value a:hover { color: var(--primary-hover); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.contact-form {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--secondary);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(249,192,24,0.1);
  border: 1px solid rgba(249,192,24,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.blog-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-400);
  font-family: 'Montserrat', sans-serif;
}
.blog-card-read-more {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}
.blog-card-read-more:hover { color: var(--primary-hover); }

/* Blog post single */
.blog-post-hero {
  padding-top: 70px;
  background: var(--secondary);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.blog-post-hero-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.3;
  width: 100%;
  height: 100%;
}
.blog-post-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}
.blog-post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.blog-post-body h2, .blog-post-body h3 {
  color: var(--secondary);
  margin: 2rem 0 1rem;
}
.blog-post-body p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--gray-600);
}
.blog-post-body ul, .blog-post-body ol {
  list-style: disc;
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--gray-600);
}
.blog-post-body li { margin-bottom: 0.5rem; }
.blog-post-body strong { color: var(--secondary); }

/* ---------- FOOTER ---------- */
footer {
  background: #07070F;
  padding: 60px 0 0;
  border-top: 1px solid rgba(249,192,24,0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { height: 48px; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition), background-color var(--transition);
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--secondary);
}
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  align-items: flex-start;
}
.footer-contact-item span:first-child { flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ---------- FLOATING BUTTONS ---------- */
.fab-container {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: calc(16px + env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
  align-items: flex-end;
}
.fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  border: none;
  text-decoration: none;
  color: white;
}
.fab-whatsapp {
  display: none !important; /* En sticky bar ya está — no duplicar */
}
.fab-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  order: 1;
}
.fab-instagram:hover { transform: scale(1.1); }

/* Chat bubble flotante oculto — el toggle ya está en la sticky bar */
#wp-bubble {
  display: none !important;
}

.fab-top {
  position: fixed;
  bottom: 130px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.1rem;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
  transition: transform var(--transition), background-color var(--transition);
}
.fab-top.visible { display: flex; }
.fab-top:hover { transform: translateY(-2px); background: var(--primary-hover); }

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--secondary);
  padding: 8px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 10000;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.45);
}
.sticky-side-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: none; cursor: pointer; color: white; text-decoration: none;
  transition: transform 0.2s ease;
}
.sticky-side-btn:hover { transform: scale(1.08); }
.sticky-wa-btn { background: #25D366; }
.sticky-chat-btn { background: #E65100; }
.sticky-center-btn {
  flex: 1; text-align: center; justify-content: center; font-size: 0.82rem;
  padding: 10px 6px; white-space: nowrap;
}
.mobile-sticky-cta-text { display: none; }
.mobile-sticky-cta.visible { display: flex; }
.mobile-sticky-cta-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}
.mobile-sticky-cta-text strong { color: var(--primary); }
.mobile-sticky-cta .btn { flex-shrink: 0; padding: 10px 20px; font-size: 0.85rem; }

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: 120px 0 70px;
  background: linear-gradient(135deg, #05050E 0%, #0B0B18 60%, #0d0d22 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(249,192,24,0.15);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(249,192,24,0.13) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
  font-family: 'Montserrat', sans-serif;
}
.page-hero-breadcrumb a { color: var(--primary); }
.page-hero-breadcrumb a:hover { color: var(--primary-hover); }
.page-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, #07070F 0%, #0B0B18 50%, #0d0d20 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(249,192,24,0.15);
  border-bottom: 1px solid rgba(249,192,24,0.15);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(249,192,24,0.18) 0%, transparent 65%);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ---------- ABOUT / NOSOTROS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}
.value-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 4px;
}
.value-text {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ---------- ANIMATIONS ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .navbar-links, .navbar-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: clamp(3rem, 15vw, 5rem); }
  .hero .hero-badge { position: absolute !important; }
  .hero-video-bg video {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    transform: none !important;
    object-fit: cover;
  }
  .stats-bar-inner { grid-template-columns: repeat(3,1fr); }
  .stat-number { font-size: 2.2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-logo { height: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .schedule-table-wrap { display: none; }
  .schedule-cards { display: block; }
  .pricing-card.featured { transform: none; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translateY(30px);
  }
  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translateY(0);
  }
  .fab-container { bottom: calc(80px + env(safe-area-inset-bottom)); gap: 8px; }
  .fab-btn { width: 44px; height: 44px; }
  .fab-top { bottom: 128px; width: 44px; height: 44px; }
  .mobile-sticky-cta { display: flex; }
}

@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { width: 70%; height: 1px; top: 0; left: 15%; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ---------- UTILITIES EXTRA ---------- */
.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  border-radius: 2px;
  margin: 1rem auto;
}
.divider.left {
  margin-left: 0;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(249,192,24,0.3) 70%, transparent 100%);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.tag-primary { background: rgba(245,166,35,0.12); color: var(--primary); }
.tag-navy { background: var(--secondary); color: var(--white); }

/* Page transition overlay */
body.loading::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--secondary);
  z-index: 9999;
  animation: fadeOut 0.4s ease 0.2s forwards;
}
@keyframes fadeOut { to { opacity: 0; pointer-events: none; } }

/* Highlight text */
.highlight {
  position: relative;
  display: inline-block;
  color: var(--primary);
}

/* ========== BLOG POST COMPONENTS ========== */

/* Reading progress bar: ancho fijo y crece con scaleX (el JS del post pone scaleX(p)); sin transicion porque sigue al dedo y width recalculaba el layout en cada fotograma */
#hh-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--primary);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
}

/* Lead paragraph */
.hh-lead {
  font-size: 1.15rem !important;
  line-height: 1.75 !important;
  color: var(--secondary) !important;
  border-left: 4px solid var(--primary);
  padding-left: 1.25rem;
  margin-bottom: 2rem !important;
  font-weight: 500;
}

/* "Lo que vas a aprender" box */
.hh-learn-box {
  background: var(--secondary);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem;
  color: white;
}
.hh-learn-box h3 {
  color: var(--primary) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hh-learn-box ul {
  margin: 0 0 0 1rem !important;
  color: rgba(255,255,255,0.85) !important;
}
.hh-learn-box li { margin-bottom: 0.4rem !important; font-size: 0.95rem; }

/* Callout / quote boxes */
.hh-callout {
  background: #FFF8EE;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.hh-callout-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.hh-callout p {
  margin: 0 !important;
  font-size: 0.95rem;
  color: #7c4a00;
  line-height: 1.6;
}

/* H2 headings with orange underline */
.blog-post-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--secondary);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 0.5rem;
  margin: 2.5rem 0 1.25rem !important;
}

/* Author box */
.hh-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--gray-100, #f8f8f8);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  border: 1px solid var(--gray-200, #eee);
}
.hh-author-avatar {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.hh-author-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.hh-author-bio { font-size: 0.82rem; color: #888; }

/* Related articles */
.hh-related {
  margin: 2.5rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200, #eee);
}
.hh-related h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hh-related-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hh-related-card {
  display: block;
  background: var(--gray-100, #f8f8f8);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  border: 1px solid var(--gray-200, #eee);
  transition: border-color 0.2s, transform 0.2s;
}
.hh-related-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.hh-related-card .cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.hh-related-card .title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
}
@media (max-width: 600px) {
  .hh-related-cards { grid-template-columns: 1fr; }
}

/* Blog post CTA bottom */
.hh-post-cta {
  background: var(--secondary);
  padding: 64px 20px;
  text-align: center;
  margin: 3rem calc(-50vw + 50%) 0;
  width: 100vw;
}
.hh-post-cta h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 12px;
  border: none !important;
  padding: 0 !important;
}
.hh-post-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hh-post-cta a.btn-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1rem;
}
.hh-post-cta .cta-sub {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  margin-top: 16px;
}

/* ===== LEAD CAPTURE FORM ===== */
.lead-form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1A1A2E 0%, #2a2a4a 100%);
}
.lead-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.lead-form-text .section-label {
  color: #F5A623;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.lead-form-text h2 {
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  margin: 12px 0 16px;
  line-height: 1.1;
}
.lead-form-text p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-bottom: 24px;
}
.lead-form-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lead-form-benefits li {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  padding: 6px 0;
}
.lead-form-box {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.lead-form .form-group {
  margin-bottom: 18px;
}
.lead-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 6px;
}
.lead-form input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #1A1A2E;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.lead-form input:focus {
  outline: none;
  border-color: #F5A623;
}
.btn-lead-submit {
  width: 100%;
  background: linear-gradient(135deg, #F5A623, #e8941a);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}
.btn-lead-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.4);
}
.btn-lead-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.lead-form-legal {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 12px;
  margin-bottom: 0;
}
.lead-form-success {
  text-align: center;
  padding: 20px 0;
}
.lead-form-success .success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.lead-form-success h3 {
  color: #1A1A2E;
  font-size: 22px;
  margin-bottom: 12px;
}
.lead-form-success p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.lead-form-success a {
  color: #F5A623;
  font-weight: 600;
}
@media (max-width: 768px) {
  .lead-form-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lead-form-box {
    padding: 24px 20px;
  }
}

/* === ACCESSIBILITY: focus-visible & skip-to-content === */
:focus-visible { outline: 3px solid #e63946; outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
.skip-to-content { position: absolute; top: -100px; left: 0; background: #e63946; color: #fff; padding: 12px 20px; z-index: 9999; font-weight: bold; text-decoration: none; border-radius: 0 0 8px 0; }
.skip-to-content:focus { top: 0; }

/* SERVICE CARD IMAGES — replaces emoji icons */
.service-img {
  width: calc(100% + 3rem);
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  transition: transform 0.3s ease;
}
.service-card:hover .service-img {
  transform: scale(1.08);
}
.service-card {
  overflow: hidden;
}

/* ===== REBRANDING v1 ADDITIONS (05/03/2026) ===== */

/* Testimonial stars */
.testimonial-stars {
  color: #FFB800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
  display: block;
}

/* About section images — image glow */
.about-image {
  position: relative;
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 120px; height: 120px;
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.5;
}

/* Gallery hover glow */
.gallery-item:hover img {
  filter: brightness(1.08);
}

/* Promo bar shimmer */
#promo-bar {
  background: linear-gradient(90deg, #0B0B18 0%, #1a0a00 45%, #0B0B18 100%) !important;
  border-bottom: 1px solid rgba(249,192,24,0.2);
}

/* Guarantee cards upgrade */
.hh-guarantee {
  background: #09090F;
  border-top: 1px solid rgba(249,192,24,0.12);
  border-bottom: 1px solid rgba(249,192,24,0.12);
}
.hh-guarantee-card {
  background: #0F0F1E !important;
  border-color: rgba(255,255,255,0.08) !important;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.hh-guarantee-card:hover {
  border-color: var(--primary) !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(249,192,24,0.15);
}

/* Lead form section upgrade */
.lead-form-section {
  background: linear-gradient(135deg, #07070F 0%, #0B0B18 50%, #10101E 100%) !important;
  border-top: 1px solid rgba(249,192,24,0.12);
}
.btn-lead-submit {
  background: linear-gradient(135deg, #f9c018, #D39F05) !important;
}
.lead-form input:focus {
  border-color: #f9c018 !important;
  box-shadow: 0 0 0 3px rgba(249,192,24,0.12);
}

/* Feature tag pill (tag-primary) */
.tag-primary {
  background: rgba(249,192,24,0.12);
  color: var(--primary);
  border: 1px solid rgba(249,192,24,0.2);
}

/* Schedule table upgrade */
.schedule-table th {
  background: var(--secondary);
  letter-spacing: 0.1em;
}
.schedule-day-header {
  background: linear-gradient(90deg, #0B0B18, #141427);
  border-left: 4px solid var(--primary);
}

/* FAQ details upgrade */
details summary:hover {
  color: var(--primary) !important;
}
details[open] summary {
  color: var(--primary) !important;
  border-bottom: 1px solid rgba(249,192,24,0.15);
}

/* Progress bar */
#hh-progress-bar {
  background: linear-gradient(90deg, #f9c018, #FFB800);
}

/* Blog CTA box upgrade */
.hh-learn-box {
  background: linear-gradient(135deg, #0B0B18, #141427);
  border: 1px solid rgba(249,192,24,0.15);
}
.hh-learn-box h3 {
  color: var(--primary) !important;
}
.hh-callout {
  background: rgba(249,192,24,0.06);
  border-left-color: var(--primary);
}
.hh-callout p {
  color: #7c3000 !important;
}
.hh-post-cta {
  background: linear-gradient(135deg, #07070F 0%, #0B0B18 100%);
  border-top: 1px solid rgba(249,192,24,0.2);
}

/* Value item icons */
.value-item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
  display: inline-block;
}
.value-icon { display: none; } /* icons replaced by dot */

/* FAB top glow */
.fab-top {
  box-shadow: 0 4px 20px rgba(249,192,24,0.45) !important;
}

/* Mobile sticky CTA upgrade */
.mobile-sticky-cta {
  background: linear-gradient(90deg, #0B0B18 0%, #0d0d20 100%) !important;
  border-top: 1px solid rgba(249,192,24,0.15) !important;
}
.sticky-chat-btn { background: #f9c018 !important; }

/* ===================== HH v2 (IRONFORGE) — design system ===================== */
/* Home de producción /index.html.v2 — ámbito aislado bajo .hhv2 (sin Tailwind).
   Todas las reglas portadas del mockup docs/design/hh-ironforge-landing.html,
   prefijadas con .hhv2 para no colisionar con el resto del sitio.
   Fuentes: Bebas Neue (display) · Montserrat (heading) · Inter (body) · JetBrains Mono (mono)
   ============================================================================ */

.hhv2 {
  --bg: #0B0B18;
  --bg-darker: #07070F;
  --bg-card: #0F0F1E;
  --bg-card-hover: #141427;
  --fg: #ffffff;
  --fg-dim: #c7c9d6;
  --muted: #6b7280;
  --accent: #f9c018;
  --accent-bright: #FBD054;
  --accent-dim: #D39F05;
  --accent-glow: rgba(249, 192, 24, 0.45);
  --gold: #F5A623;
  --wa: #25D366;
  --silver: #C8CAD2;
  --silver-dim: #51546b;
  --border: #1c1c2e;
  --border-light: #2a2a40;
}

/* body scope: tipografía y fondo base del mockup */
body.hhv2 {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.hhv2 * { box-sizing: border-box; }
.hhv2 img { max-width: 100%; display: block; }
.hhv2 a { text-decoration: none; color: inherit; }
.hhv2 ul { list-style: none; margin: 0; padding: 0; }

/* ---------- TIPOGRAFÍAS ---------- */
.hhv2 .font-display { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.01em; }
.hhv2 .font-heading { font-family: 'Montserrat', sans-serif; }
.hhv2 .font-body { font-family: 'Inter', sans-serif; }
.hhv2 .font-mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- GRAIN / TEXTURAS ---------- */
.hhv2 .grain {
  position: fixed; inset: -10%; pointer-events: none; z-index: 200; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='250' height='250'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay; will-change: transform;
}
.hhv2.bg-textured, body.hhv2.bg-textured {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(249, 192, 24, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245, 166, 35, 0.05) 0%, transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='r'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23r)' opacity='0.4'/></svg>");
  background-blend-mode: normal, normal, overlay;
}

/* ---------- REVEAL ---------- */
.hhv2 .reveal { opacity: 0; transform: translateY(48px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--delay, 0s); }
.hhv2 .reveal.in-view { opacity: 1; transform: translateY(0); }
.hhv2 .reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.hhv2 .reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.hhv2 .reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.hhv2 .reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.hhv2 .reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.2s; }
.hhv2 .reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.3s; }
.hhv2 .reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.4s; }
.hhv2 .reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.5s; }

/* ---------- HERO REEL ---------- */
.hhv2 .reel-frame { position: absolute; inset: 0; opacity: 0; transition: opacity 2s ease-in-out; }
.hhv2 .reel-frame.active { opacity: 1; }
.hhv2 .reel-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(60%) contrast(1.2) brightness(0.5); transform: scale(1.06); }
.hhv2 .reel-frame.active img { animation: hhv2-kenburns 9s ease-out forwards; }
@keyframes hhv2-kenburns { 0% { transform: scale(1.06) translate(0, 0); } 100% { transform: scale(1.2) translate(-3%, -3%); } }

.hhv2 .hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,24,0.92) 0%, rgba(11,11,24,0.42) 28%, rgba(11,11,24,0.55) 65%, rgba(11,11,24,0.98) 100%),
    linear-gradient(90deg, rgba(11,11,24,0.85) 0%, rgba(11,11,24,0.2) 50%, rgba(11,11,24,0.5) 100%),
    radial-gradient(ellipse at 25% 60%, rgba(249, 192, 24, 0.18) 0%, transparent 55%);
}
.hhv2 .scan-line { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(0, 0, 0, 0.12) 3px, rgba(0, 0, 0, 0.12) 4px); pointer-events: none; z-index: 2; }

/* ---------- FLIP CARDS ---------- */
.hhv2 .flip-card { perspective: 1800px; height: 520px; }
.hhv2 .flip-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.9s cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; }
.hhv2 .flip-card:hover .flip-card-inner, .hhv2 .flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
.hhv2 .flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.hhv2 .flip-back { transform: rotateY(180deg); }

/* ---------- PULSE CTA ---------- */
@keyframes hhv2-pulse-cta { 0%, 100% { box-shadow: 0 0 0 0 rgba(249, 192, 24, 0.65), 0 0 40px rgba(249, 192, 24, 0.3); } 50% { box-shadow: 0 0 0 18px rgba(249, 192, 24, 0), 0 0 40px rgba(249, 192, 24, 0.3); } }
.hhv2 .pulse-btn { animation: hhv2-pulse-cta 2.4s ease-out infinite; }
@keyframes hhv2-pulse-wa { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); } 50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.hhv2 .pulse-wa { animation: hhv2-pulse-wa 2.6s ease-out infinite; }

/* ---------- STICKY CTA ---------- */
.hhv2 + .sticky-cta, .hhv2 .sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; transform: translateY(110%); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); z-index: 90; }
.hhv2 .sticky-cta.visible { transform: translateY(0); }

/* ---------- MARQUEE ---------- */
@keyframes hhv2-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.hhv2 .marquee-track { display: flex; animation: hhv2-marquee 38s linear infinite; width: max-content; }

/* ---------- STORY CAROUSEL ---------- */
.hhv2 .story-track { display: flex; gap: 1.5rem; cursor: grab; user-select: none; will-change: transform; padding: 0 2rem; }
.hhv2 .story-track.dragging { cursor: grabbing; }
.hhv2 .story-track * { pointer-events: none; }
.hhv2 .story-card { flex: 0 0 auto; width: 400px; background: var(--bg-card); border: 1px solid var(--border); transition: border-color 0.4s, transform 0.4s; }
.hhv2 .story-card:hover { border-color: var(--accent); }

/* ---------- IMG / TEXTO ---------- */
.hhv2 .img-noir { filter: grayscale(70%) contrast(1.15) brightness(0.85); transition: filter 0.8s ease, transform 0.8s ease; }
.hhv2 .text-stroke { -webkit-text-stroke: 1.5px var(--silver-dim); color: transparent; }
.hhv2 .text-stroke-accent { -webkit-text-stroke: 1.5px var(--accent); color: transparent; }
.hhv2 .link-underline { position: relative; display: inline-block; }
.hhv2 .link-underline::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--accent); transition: width 0.4s ease; }
.hhv2 .link-underline:hover::after { width: 100%; }
.hhv2 .number-display { font-variant-numeric: tabular-nums; }

/* ---------- FORM ---------- */
.hhv2 .form-input { background: transparent; border: none; border-bottom: 1px solid var(--border-light); color: var(--fg); padding: 0.85rem 0; font-family: 'Montserrat', sans-serif; font-size: 1.1rem; width: 100%; transition: border-color 0.3s; letter-spacing: 0.02em; }
.hhv2 .form-input:focus { outline: none; border-color: var(--accent); }

/* El desplegable nativo se pintaba BLANCO SOBRE BLANCO (Felipe, 09/08/2026, con
   captura de /contacto). Causa: `.form-input` da `color: var(--fg)` —que es
   #ffffff— y el <select> se lo pasa a sus <option>, pero el panel que abre el
   sistema operativo lo dibuja el navegador con SU fondo, que es claro. Resultado:
   texto blanco sobre panel blanco; las opciones estaban ahí y no se veían.

   `color-scheme: dark` es el arreglo de verdad: le dice al navegador que dibuje
   el control nativo en oscuro, panel incluido. Los colores explícitos del
   <option> van detrás como red por si algún navegador lo ignora — no sobran:
   Safari en macOS pasa de ambos y ahí manda `color-scheme`. */
.hhv2 select.form-input { color-scheme: dark; }
.hhv2 select.form-input option { background-color: var(--bg); color: var(--fg); }
.hhv2 .form-input::placeholder { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }

.hhv2 .goal-pill { cursor: pointer; padding: 0.55rem 1.1rem; border: 1px solid var(--border-light); background: transparent; color: var(--fg-dim); font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s, background-color 0.3s, border-color 0.3s; display: inline-block; }
.hhv2 .goal-pill:hover { border-color: var(--silver-dim); color: var(--fg); }
.hhv2 .goal-pill.active { background: var(--accent); border-color: var(--accent); color: #1a0c00; font-weight: 700; }

/* radio horario (sustituye al peer-checked de Tailwind) */
.hhv2 .time-pill input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hhv2 .time-pill > div { text-align: center; padding: 0.75rem 0; border: 1px solid var(--border-light); color: var(--fg-dim); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.3s, background-color 0.3s, border-color 0.3s; cursor: pointer; }
.hhv2 .time-pill input:checked + div { background: var(--accent); color: #1a0c00; border-color: var(--accent); }

/* ---------- WAVE BARS ---------- */
@keyframes hhv2-wave { 0%, 100% { height: 3px; } 50% { height: 16px; } }
.hhv2 .wave-bar { display: inline-block; width: 2px; background: var(--accent); margin: 0 1.5px; height: 3px; vertical-align: bottom; }
.hhv2 .unmuted .wave-bar { animation: hhv2-wave 0.7s ease-in-out infinite; }
.hhv2 .wave-bar:nth-child(2) { animation-delay: 0.1s; }
.hhv2 .wave-bar:nth-child(3) { animation-delay: 0.2s; }
.hhv2 .wave-bar:nth-child(4) { animation-delay: 0.3s; }
.hhv2 .wave-bar:nth-child(5) { animation-delay: 0.4s; }

/* ---------- PROGRAM CARD ---------- */
.hhv2 .program-card { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.hhv2 .program-card:hover { transform: translateY(-8px); }
.hhv2 .program-card .program-img { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s; }
.hhv2 .program-card:hover .program-img { transform: scale(1.08); filter: grayscale(20%) contrast(1.15) brightness(0.85); }

/* ---------- NOTCH / REC / MARKER ---------- */
.hhv2 .notch-corner { position: relative; }
.hhv2 .notch-corner::before, .hhv2 .notch-corner::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1px solid var(--accent); pointer-events: none; z-index: 3; }
.hhv2 .notch-corner::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hhv2 .notch-corner::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

@keyframes hhv2-rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hhv2 .rec-dot { animation: hhv2-rec-blink 1.5s ease-in-out infinite; }

.hhv2 .section-marker { display: inline-flex; align-items: center; gap: 0.75rem; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; }
.hhv2 .section-marker::before { content: ''; width: 32px; height: 1px; background: var(--accent); }

/* ---------- COACH IMG / BOOKING / INFO ---------- */
.hhv2 .coach-img-wrap { position: relative; height: 62%; overflow: hidden; }
.hhv2 .coach-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(55%) contrast(1.1) brightness(0.85); transition: filter 0.6s, transform 0.8s; }
.hhv2 .flip-card:hover .coach-img-wrap img, .hhv2 .flip-card.flipped .coach-img-wrap img { filter: grayscale(10%) contrast(1.15) brightness(0.95); transform: scale(1.05); }

.hhv2 .booking-frame { background: linear-gradient(135deg, rgba(249,192,24,0.04) 0%, transparent 50%, rgba(249,192,24,0.02) 100%); border: 1px solid var(--border); position: relative; }
.hhv2 .booking-frame::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.hhv2 .booking-frame::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 60px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

.hhv2 .info-card { background: var(--bg-card); border: 1px solid var(--border); transition: border-color 0.4s, background 0.4s; }
.hhv2 .info-card:hover { border-color: var(--accent-dim); background: var(--bg-card-hover); }

.hhv2 .progress-bar { height: 1px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.hhv2 .progress-bar-fill { height: 100%; background: var(--accent); width: 0%; transition: width 0.1s linear; }

/* ---------- NAV / TAGS ---------- */
.hhv2 .nav-link { position: relative; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); transition: color 0.3s; white-space: nowrap; }
.hhv2 .nav-link:hover { color: var(--fg); }
.hhv2 .nav-link::before { content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%) scaleY(0); width: 4px; height: 4px; background: var(--accent); transition: transform 0.3s; }
.hhv2 .nav-link:hover::before { transform: translateY(-50%) scaleY(1); }

.hhv2 .ex-tag { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); border: 1px dashed var(--gold); padding: 2px 6px; border-radius: 3px; }

/* ---------- HEADLINE LINE ---------- */
.hhv2 .headline-line { overflow: hidden; display: block; }
.hhv2 .headline-line span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.hhv2 .in-view .headline-line span { transform: translateY(0); }
.hhv2 .headline-line:nth-child(2) span { transition-delay: 0.1s; }
.hhv2 .headline-line:nth-child(3) span { transition-delay: 0.2s; }

/* ---------- TOAST ---------- */
.hhv2 .toast { position: fixed; top: 90px; right: 24px; background: var(--bg-card); border: 1px solid var(--accent); border-left: 3px solid var(--accent); padding: 1rem 1.5rem; z-index: 150; transform: translateX(120%); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); max-width: 360px; }
.hhv2 .toast.visible { transform: translateX(0); }

/* ---------- SCROLLBAR (global pero inofensivo) ---------- */
.hhv2 ::-webkit-scrollbar { width: 8px; height: 8px; }
.hhv2 ::-webkit-scrollbar-track { background: var(--bg-darker); }
.hhv2 ::-webkit-scrollbar-thumb { background: var(--accent-dim); }
.hhv2 ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* =================================================================
   HH v2 — CAPA DE LAYOUT / UTILIDADES (sustituye utilidades Tailwind)
   Mínima: solo lo que necesita el markup de la home.
   ================================================================= */

/* contenedor */
.hhv2 .v2-container { max-width: 1600px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) { .hhv2 .v2-container { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* secciones */
.hhv2 .v2-section { position: relative; padding-top: 7rem; padding-bottom: 7rem; }
@media (min-width: 1024px) { .hhv2 .v2-section { padding-top: 9rem; padding-bottom: 9rem; } }
.hhv2 .v2-bg-darker { background: var(--bg-darker); }
.hhv2 .v2-bg-black { background: #000; }
.hhv2 .v2-border-t { border-top: 1px solid var(--border); }
.hhv2 .v2-border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hhv2 .v2-overflow-hidden { overflow: hidden; }
.hhv2 .v2-relative { position: relative; }

/* flex helpers */
.hhv2 .v2-flex { display: flex; }
.hhv2 .v2-inline-flex { display: inline-flex; }
.hhv2 .v2-flex-col { display: flex; flex-direction: column; }
.hhv2 .v2-items-center { align-items: center; }
.hhv2 .v2-items-start { align-items: flex-start; }
.hhv2 .v2-items-end { align-items: flex-end; }
.hhv2 .v2-justify-between { justify-content: space-between; }
.hhv2 .v2-justify-center { justify-content: center; }
.hhv2 .v2-flex-wrap { flex-wrap: wrap; }
.hhv2 .v2-flex-1 { flex: 1; }
.hhv2 .v2-gap-2 { gap: 0.5rem; }
.hhv2 .v2-gap-3 { gap: 0.75rem; }
.hhv2 .v2-gap-4 { gap: 1rem; }
.hhv2 .v2-gap-5 { gap: 1.25rem; }
.hhv2 .v2-gap-6 { gap: 1.5rem; }
.hhv2 .v2-gap-8 { gap: 2rem; }
.hhv2 .v2-gap-10 { gap: 2.5rem; }

/* grids */
.hhv2 .v2-grid { display: grid; }
.hhv2 .v2-grid-stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
.hhv2 .v2-grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
.hhv2 .v2-grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
.hhv2 .v2-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.hhv2 .v2-grid-times { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
/* layout 12-col del header de secciones y footer */
.hhv2 .v2-grid-12 { grid-template-columns: 1fr; gap: 2rem; }

@media (min-width: 768px) {
  .hhv2 .v2-grid-stats { grid-template-columns: repeat(4, 1fr); }
  .hhv2 .v2-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hhv2 .v2-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .hhv2 .v2-grid-times { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .hhv2 .v2-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hhv2 .v2-grid-12 { grid-template-columns: repeat(12, 1fr); }
}

/* spans 12-col (solo >=1024) */
@media (min-width: 1024px) {
  .hhv2 .v2-col-5 { grid-column: span 5 / span 5; }
  .hhv2 .v2-col-6 { grid-column: span 6 / span 6; }
  .hhv2 .v2-col-7 { grid-column: span 7 / span 7; }
  .hhv2 .v2-col-8 { grid-column: span 8 / span 8; }
  .hhv2 .v2-col-4 { grid-column: span 4 / span 4; }
  .hhv2 .v2-col-start-7 { grid-column-start: 7; }
  .hhv2 .v2-col-start-9 { grid-column-start: 9; }
}
/* footer es md:grid-cols-12 en el mockup */
@media (min-width: 768px) {
  .hhv2 .v2-fgrid { grid-template-columns: repeat(12, 1fr); }
  .hhv2 .v2-fcol-5 { grid-column: span 5; }
  .hhv2 .v2-fcol-3 { grid-column: span 3; }
  .hhv2 .v2-fcol-2 { grid-column: span 2; }
}
.hhv2 .v2-fgrid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }

/* spacing vertical entre hijos */
.hhv2 .v2-space-y-2 > * + * { margin-top: 0.5rem; }
.hhv2 .v2-space-y-6 > * + * { margin-top: 1.5rem; }

/* texto responsive (clamp) */
.hhv2 .v2-hero-title { font-size: clamp(3.4rem, 13vw, 8.5vw); line-height: 0.85; }
.hhv2 .v2-h2 { font-size: clamp(2.6rem, 8vw, 6rem); line-height: 0.9; }
.hhv2 .v2-h2-xl { font-size: clamp(2.8rem, 9vw, 7rem); line-height: 0.9; }
.hhv2 .v2-stat-num { font-size: clamp(3.2rem, 7vw, 4.6rem); }
.hhv2 .v2-footer-watermark { font-size: clamp(5rem, 16vw, 14vw); }
.hhv2 .v2-card-title { font-size: clamp(2rem, 4vw, 2.5rem); }

/* utilidades de tamaño/texto reutilizadas en markup */
.hhv2 .v2-text-dim { color: var(--fg-dim); }
.hhv2 .v2-text-muted { color: var(--muted); }
.hhv2 .v2-text-accent { color: var(--accent); }
.hhv2 .v2-text-silver { color: var(--silver); }
.hhv2 .v2-text-wa { color: var(--wa); }
.hhv2 .v2-uppercase { text-transform: uppercase; }
.hhv2 .v2-leading-relaxed { line-height: 1.65; }
.hhv2 .v2-max-w-md { max-width: 28rem; }
.hhv2 .v2-max-w-xl { max-width: 36rem; }
.hhv2 .v2-max-w-5xl { max-width: 64rem; }
.hhv2 .v2-w-full { width: 100%; }
.hhv2 .v2-text-center { text-align: center; }

/* visibilidad responsive */
.hhv2 .v2-hide-mobile { display: none; }
.hhv2 .v2-show-mobile { display: block; }
@media (min-width: 768px) {
  .hhv2 .v2-hide-mobile { display: flex; }
  .hhv2 .v2-show-mobile { display: none; }
}
@media (min-width: 1024px) {
  .hhv2 .v2-hide-desktop { display: none; }
}

/* ---------- HEADER fijo ---------- */
.hhv2 .v2-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(11,11,24,0.6); border-bottom: 1px solid rgba(255,255,255,0.05); }
.hhv2 .v2-header-inner { max-width: 1600px; margin: 0 auto; padding: 0.9rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 1024px) { .hhv2 .v2-header-inner { padding-left: 2.5rem; padding-right: 2.5rem; } }
.hhv2 .v2-logo { display: flex; align-items: center; gap: 0.75rem; }
.hhv2 .v2-logo img { width: 40px; height: 40px; object-fit: contain; }
.hhv2 .v2-wordmark { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; line-height: 1; letter-spacing: 0.08em; }
.hhv2 .v2-wordmark .accent { color: var(--accent); }
.hhv2 .v2-wordmark-sub { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.25em; margin-top: 2px; }
.hhv2 .v2-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .hhv2 .v2-nav { display: flex; } }
.hhv2 .v2-nav-right { display: flex; align-items: center; gap: 1rem; }
.hhv2 .v2-btn-accent { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #1a0c00; background: var(--accent); padding: 0.65rem 1.25rem; transition: background 0.3s; display: inline-block; white-space: nowrap; }
.hhv2 .v2-btn-accent:hover { background: var(--accent-bright); }
.hhv2 .v2-area-link { display: none; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); transition: color 0.3s; }
.hhv2 .v2-area-link:hover { color: var(--fg); }
@media (min-width: 1024px) { .hhv2 .v2-area-link { display: inline-block; } }
.hhv2 .v2-nav-cta { display: none; }
@media (min-width: 640px) { .hhv2 .v2-nav-cta { display: inline-block; } }

/* ---------- HEADER — rango intermedio 1024-1599px ----------
   Fix bug visual: a estos anchos el header no cabía (nav + área cliente + CTA
   se solapaban y el CTA se partía en 2-3 líneas). Se reduce gap/tamaño del
   nav y del CTA, y se oculta el enlace "Área cliente" (redundante: el link
   "Clientes" del nav ya apunta a /clientes/app). A partir de 1600px vuelve
   todo a su tamaño original (ver reglas arriba). */
@media (min-width: 1024px) and (max-width: 1599px) {
  .hhv2 .v2-header-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hhv2 .v2-nav { gap: 1rem; }
  .hhv2 .nav-link { font-size: 0.7rem; letter-spacing: 0.03em; }
  .hhv2 .v2-nav-right { gap: 0.6rem; }
  .hhv2 .v2-btn-accent.v2-nav-cta { font-size: 0.62rem; letter-spacing: 0.04em; padding: 0.55rem 0.8rem; }
  .hhv2 .v2-area-link { display: none; }
}

/* hamburguesa móvil */
.hhv2 .v2-burger { display: inline-flex; flex-direction: column; gap: 5px; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.15); background: transparent; cursor: pointer; }
@media (min-width: 1024px) { .hhv2 .v2-burger { display: none; } }
.hhv2 .v2-burger span { display: block; width: 18px; height: 2px; background: var(--fg); transition: transform 0.3s, opacity 0.3s; }
.hhv2 .v2-mobile-menu { position: fixed; inset: 0; z-index: 49; background: rgba(7,7,15,0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.hhv2 .v2-mobile-menu.open { transform: translateX(0); }
.hhv2 .v2-mobile-menu a { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.05em; color: var(--fg-dim); }
.hhv2 .v2-mobile-menu a:hover { color: var(--accent); }
.hhv2 .v2-mobile-menu .v2-btn-accent { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; padding: 0.8rem 1.6rem; }

/* ---------- HERO layout ---------- */
.hhv2 .v2-hero { position: relative; height: 100vh; min-height: 760px; width: 100%; overflow: hidden; }
.hhv2 .v2-hero-content { position: relative; z-index: 10; height: 100%; max-width: 1600px; margin: 0 auto; padding: 8rem 1.5rem 5rem; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 1024px) { .hhv2 .v2-hero-content { padding-left: 2.5rem; padding-right: 2.5rem; } }
.hhv2 .v2-hero-toprow { position: absolute; top: 8rem; right: 1.5rem; display: flex; align-items: center; gap: 1.5rem; z-index: 20; }
@media (min-width: 1024px) { .hhv2 .v2-hero-toprow { right: 2.5rem; } }
.hhv2 .v2-mute-btn { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: border-color 0.3s; cursor: pointer; color: var(--fg); }
.hhv2 .v2-mute-btn:hover { border-color: var(--accent); }
.hhv2 .v2-avatar { width: 48px; height: 48px; border-radius: 9999px; border: 2px solid var(--bg); object-fit: cover; }
.hhv2 .v2-avatar-plus { width: 48px; height: 48px; border-radius: 9999px; border: 2px solid var(--bg); background: var(--accent); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 1rem; color: #1a0c00; }
.hhv2 .v2-avatar-stack { display: flex; }
.hhv2 .v2-avatar-stack > * + * { margin-left: -0.75rem; }
.hhv2 .v2-hero-marquee { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 0.75rem 0; overflow: hidden; z-index: 10; }
.hhv2 .v2-marquee-inner { font-family: 'Bebas Neue', sans-serif; font-size: 0.875rem; letter-spacing: 0.25em; color: var(--silver-dim); }
.hhv2 .v2-marquee-inner .px { padding: 0 2rem; }

/* ---------- STATS ---------- */
.hhv2 .v2-stat { border-left: 1px solid var(--border-light); padding-left: 1.5rem; }
.hhv2 .v2-stat-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.5rem; }

/* ---------- CARD INTERNALS ---------- */
.hhv2 .v2-card-media { position: relative; height: 18rem; overflow: hidden; }
.hhv2 .v2-card-media img { width: 100%; height: 100%; object-fit: cover; }
.hhv2 .v2-card-media .grad { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-card) 0%, transparent 50%, transparent 100%); }
.hhv2 .v2-card-tag-l { position: absolute; top: 1rem; left: 1rem; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.2em; z-index: 4; }
.hhv2 .v2-card-tag-r { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem 0.5rem; background: var(--accent); color: #1a0c00; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; z-index: 4; }
.hhv2 .v2-card-body { padding: 1.75rem; }
.hhv2 .v2-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light); }
.hhv2 .v2-spec-k { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; }
.hhv2 .v2-spec-v { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem; }
.hhv2 .v2-card-link { display: flex; align-items: center; justify-content: space-between; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* coach card overlays */
.hhv2 .v2-coach-num { position: absolute; top: 1rem; left: 1rem; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--accent); letter-spacing: 0.2em; }
.hhv2 .v2-coach-cap { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--silver); letter-spacing: 0.2em; text-transform: uppercase; }
.hhv2 .v2-flip-front-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hhv2 .v2-flip-back { padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; background: var(--bg-card); }
.hhv2 .v2-flip-front { display: flex; flex-direction: column; }

/* story card internals */
.hhv2 .v2-story-avatar { width: 44px; height: 44px; border-radius: 9999px; background: var(--accent); color: #1a0c00; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.125rem; flex-shrink: 0; }
.hhv2 .v2-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hhv2 .v2-min-w-0 { min-width: 0; }
.hhv2 .v2-stars { color: var(--accent); font-size: 0.875rem; letter-spacing: 0.15em; }
.hhv2 .v2-quote { color: var(--fg-dim); font-size: 0.875rem; line-height: 1.65; font-style: italic; }

/* carousel nav buttons / dots */
.hhv2 .v2-carousel-controls { max-width: 1600px; margin: 2.5rem auto 0; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 1024px) { .hhv2 .v2-carousel-controls { padding: 0 2.5rem; } }
.hhv2 .v2-arrow-btn { width: 44px; height: 44px; border: 1px solid var(--border-light); background: transparent; color: var(--fg); display: flex; align-items: center; justify-content: center; transition: color 0.3s, background-color 0.3s, border-color 0.3s; cursor: pointer; }
.hhv2 .v2-arrow-btn:hover { border-color: var(--accent); background: var(--accent); color: #000; }

/* booking radios / submit */
.hhv2 .v2-submit-btn { width: 100%; background: var(--accent); color: #1a0c00; padding: 1.25rem; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.05em; border: none; cursor: pointer; transition: background 0.3s; display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.hhv2 .v2-submit-btn:hover { background: var(--accent-bright); }
.hhv2 .v2-wa-btn { width: 100%; background: var(--wa); color: #062b14; padding: 1rem; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; transition: filter 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.hhv2 .v2-wa-btn:hover { filter: brightness(1.1); }
.hhv2 .v2-divider-row { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); }
.hhv2 .v2-divider-row .ln { flex: 1; height: 1px; background: var(--border-light); }
.hhv2 .v2-form > * + * { margin-top: 1.5rem; }
.hhv2 .v2-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; }

/* info-card schedule rows */
.hhv2 .v2-row-between { display: flex; justify-content: space-between; }
.hhv2 .v2-row-border { border-bottom: 1px solid var(--border-light); padding-bottom: 0.5rem; }

/* footer */
.hhv2 .v2-footer { border-top: 1px solid var(--border); background: #000; padding: 4rem 0; position: relative; overflow: hidden; }
.hhv2 .v2-footer-watermark { font-family: 'Bebas Neue', sans-serif; line-height: 1; opacity: 0.25; position: absolute; bottom: 0; left: 0; right: 0; text-align: center; pointer-events: none; user-select: none; }
.hhv2 .v2-social-box { width: 40px; height: 40px; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; transition: color 0.3s, background-color 0.3s, border-color 0.3s; }
.hhv2 .v2-social-box:hover { border-color: var(--accent); background: var(--accent); color: #000; }
.hhv2 .v2-footer-bottom { position: relative; border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 768px) { .hhv2 .v2-footer-bottom { flex-direction: row; } }

/* sticky cta internals */
.hhv2 .v2-sticky-inner { background: rgba(0,0,0,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(249,192,24,0.3); }
.hhv2 .v2-sticky-row { max-width: 1600px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 1024px) { .hhv2 .v2-sticky-row { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* helpers de espaciado puntuales usados en markup */
.hhv2 .v2-mb-2 { margin-bottom: 0.5rem; }
.hhv2 .v2-mb-3 { margin-bottom: 0.75rem; }
.hhv2 .v2-mb-4 { margin-bottom: 1rem; }
.hhv2 .v2-mb-5 { margin-bottom: 1.25rem; }
.hhv2 .v2-mb-6 { margin-bottom: 1.5rem; }
.hhv2 .v2-mb-8 { margin-bottom: 2rem; }
.hhv2 .v2-mb-12 { margin-bottom: 3rem; }
.hhv2 .v2-mb-14 { margin-bottom: 3.5rem; }
.hhv2 .v2-mb-16 { margin-bottom: 4rem; }
.hhv2 .v2-mb-20 { margin-bottom: 5rem; }
.hhv2 .v2-mt-1 { margin-top: 0.25rem; }
.hhv2 .v2-mt-4 { margin-top: 1rem; }
.hhv2 .v2-mt-10 { margin-top: 2.5rem; }
.hhv2 .v2-mt-12 { margin-top: 3rem; }
.hhv2 .v2-pt-4 { padding-top: 1rem; border-top: 1px solid var(--border-light); }
.hhv2 .v2-p-6 { padding: 1.5rem; }
.hhv2 .v2-p-7 { padding: 1.75rem; }
.hhv2 .v2-p-8 { padding: 2rem; }
@media (min-width: 1024px) { .hhv2 .v2-p-lg-12 { padding: 3rem; } }
.hhv2 .v2-icon-accent { color: var(--accent); }
.hhv2 .v2-icon-wa { color: var(--wa); }
.hhv2 .v2-w-4 { width: 1rem; }

/* tamaños de fuente nominales reutilizados */
.hhv2 .v2-fs-xs { font-size: 0.75rem; }
.hhv2 .v2-fs-sm { font-size: 0.875rem; }
.hhv2 .v2-fs-base { font-size: 1rem; }
.hhv2 .v2-fs-lg { font-size: 1.125rem; }
.hhv2 .v2-fs-2xl { font-size: 1.5rem; }
.hhv2 .v2-fs-3xl { font-size: 1.875rem; }
.hhv2 .v2-fs-4xl { font-size: 2.25rem; }
.hhv2 .v2-mono-11 { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }
.hhv2 .v2-mono-10 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hhv2 *, .hhv2 *::before, .hhv2 *::after { animation: none !important; transition: none !important; }
  .hhv2 .reveal, .hhv2 .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hhv2 .headline-line span { transform: none !important; }
  .hhv2 .reel-frame { transition: opacity 0.4s ease !important; }
}

@media (max-width: 768px) {
  .hhv2 .flip-card { height: 460px; }
  .hhv2 .story-card { width: 300px; }
}
/* ===================== /HH v2 (IRONFORGE) ===================== */

/* ===================== HH v2 — BLOG dark (F4) ===================== */
/* Re-tematiza el blog (índice + posts) a dark cuando <body class="hhv2">. No toca el publisher. */
.hhv2 #hh-progress-bar { background: var(--accent); }
.hhv2 .page-hero { background: var(--bg-darker); color: var(--fg); }
.hhv2 .page-hero h1, .hhv2 .page-hero-title { color: var(--fg); }
.hhv2 .page-hero p, .hhv2 .page-hero-subtitle { color: var(--fg-dim); }
.hhv2 .breadcrumb, .hhv2 .breadcrumb a, .hhv2 .blog-breadcrumb a { color: var(--muted); }
.hhv2 .section:has(.blog-grid) { background: var(--bg); color: var(--fg); }
.hhv2 .blog-grid { background: transparent; }
.hhv2 .blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius, 14px); overflow: hidden; transition: border-color .3s, transform .3s, box-shadow .3s; }
.hhv2 .blog-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 0 40px rgba(249,192,24,.18); }
.hhv2 .blog-card-title, .hhv2 .blog-card h3 { color: var(--fg); }
.hhv2 .blog-card-excerpt, .hhv2 .blog-card p { color: var(--fg-dim); }
.hhv2 .blog-card-meta, .hhv2 .blog-card-meta span { color: var(--muted); }
.hhv2 .blog-category { color: var(--accent); background: rgba(249,192,24,.10); border: 1px solid rgba(249,192,24,.30); }
.hhv2 .blog-post-hero { background: var(--bg-darker); }
.hhv2 .blog-post-hero h1, .hhv2 .blog-post-hero .blog-post-title { color: var(--fg); }
.hhv2 article, .hhv2 .blog-post-body { background: var(--bg); color: var(--fg-dim); }
.hhv2 .blog-post-body p, .hhv2 .blog-post-body li { color: var(--fg-dim); }
.hhv2 .blog-post-body h2, .hhv2 .blog-post-body h3, .hhv2 .blog-post-body h4 { color: var(--fg); }
.hhv2 .blog-post-body a { color: var(--accent); }
.hhv2 .blog-post-body strong { color: var(--fg); }
.hhv2 .blog-post-body blockquote { border-left: 4px solid var(--accent); color: var(--fg-dim); background: rgba(249,192,24,.05); }
.hhv2 .blog-post-body table { background: rgba(249,192,24,.04); border: 1px solid var(--border); }
.hhv2 .blog-post-body th { background: rgba(249,192,24,.12); color: var(--fg); }
.hhv2 .blog-post-body td, .hhv2 .blog-post-body th { color: var(--fg-dim); border-color: var(--border-light); }
.hhv2 .blog-post-body tr:nth-child(even) { background: rgba(255,255,255,.03); }
.hhv2 .post-tldr { background: rgba(249,192,24,.07) !important; }
.hhv2 .post-tldr p:last-child { color: var(--fg-dim); }
.hhv2 .post-faq { border-top-color: var(--border-light) !important; }
.hhv2 .post-faq h2, .hhv2 .post-faq h3 { color: var(--fg); }
.hhv2 .post-faq p { color: var(--fg-dim); }
/* ── «Preguntas frecuentes»: un solo formato en los 18 posts ──────────────
   28/08/2026. El <h2> de la FAQ no lleva font-size propio, asi que heredaba
   dos valores segun donde cayera la seccion: 2,5rem sin subrayar en los 15
   posts que la tienen fuera de .blog-post-body, y 1,5rem con el subrayado
   dorado en los 3 que la tienen dentro. Se ve a simple vista y hace que la
   FAQ no parezca parte del articulo.
   Se fija AQUI, en el CSS, y no en el HTML: vale para los 18 de golpe, para
   los que vengan, y no depende de regenerar nada. El h3 baja de tamano para
   que la pregunta no compita con el titulo de la seccion — antes salian casi
   iguales (1,5rem los dos) y no habia jerarquia. */
/* Mismo ancho y centrado que .blog-post-body (760px, margin auto): la FAQ es
   una sección del artículo y tiene que caer bajo su misma columna. Cuelga de
   <article>, no del cuerpo, así que sin esto se pegaba al borde izquierdo. */
.post-faq { max-width: 760px; margin-left: auto; margin-right: auto; }
.post-faq h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 0.5rem;
  margin: 2.5rem 0 1.25rem;
}
.post-faq h3 { font-size: 1.05rem; font-weight: 700; margin: 1.6rem 0 0.4rem; }
.post-faq p  { margin: 0 0 0.9rem; }
.hhv2 .hh-post-cta { background: var(--bg-darker); color: var(--fg); }
.hhv2 .hh-post-cta h2 { color: var(--fg); }
.hhv2 .hh-post-cta p { color: var(--fg-dim); }
.hhv2 .blog-back, .hhv2 .blog-back-link, .hhv2 a.blog-back-to-index { color: var(--accent); }
/* ===================== /HH v2 — BLOG dark ===================== */
