/* ==========================================================================
   INMERSIVO CONSULTORES — Tema WordPress Personalizado
   Basado en: Brochure 2026 + Manual de Marca v4
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --azul-nocturno: #191970;
  --azul-nocturno-dark: #0f0f4a;
  --azul-real: #4169E1;
  --azul-real-hover: #3358c4;
  --gris-oxford: #353839;
  --blanco: #FFFFFF;
  --gris-platino: #E5E4E2;
  --text-light: #6b7280;
  --text-light-on-dark: rgba(255,255,255,0.55);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  --header-height: 80px;
  --max-width: 1200px;
  --section-padding: 100px 40px;
  --section-padding-mobile: 70px 24px;

  --shadow-sm: 0 2px 8px rgba(25,25,112,0.06);
  --shadow-md: 0 8px 24px rgba(25,25,112,0.08);
  --shadow-lg: 0 16px 48px rgba(25,25,112,0.08);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gris-oxford);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-real); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--azul-real-hover); }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--azul-nocturno);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

h1 { font-size: clamp(38px, 5.5vw, 66px); font-weight: 300; letter-spacing: -0.5px; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 18px; }

p { margin-bottom: 1em; }

.section-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--azul-real);
  margin-bottom: 18px;
  font-weight: 600;
  display: block;
}

.section-intro {
  font-size: 17px;
  color: var(--text-light);
  max-width: 680px;
  line-height: 1.85;
  margin-bottom: 60px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: var(--section-padding); max-width: var(--max-width); margin: 0 auto; }
.section-full { padding: var(--section-padding); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--azul-real);
  color: var(--blanco);
  border-color: var(--azul-real);
}
.btn-primary:hover {
  background: transparent;
  color: var(--azul-real);
}

.btn-outline {
  background: transparent;
  color: var(--azul-real);
  border-color: var(--azul-real);
}
.btn-outline:hover {
  background: var(--azul-real);
  color: var(--blanco);
}

.btn-white {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255,255,255,0.3);
}
.btn-white:hover {
  background: var(--blanco);
  color: var(--azul-nocturno);
  border-color: var(--blanco);
}

.btn-header {
  padding: 10px 28px;
  font-size: 11px;
  letter-spacing: 2px;
  border-radius: 0;
}

/* ======================================================================
   HEADER
   ====================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

/* Transparent state (on dark hero) */
.site-header--transparent {
  background: transparent;
}
.site-header--transparent .nav-link { color: rgba(255,255,255,0.75); }
.site-header--transparent .nav-link:hover { color: var(--blanco); }
.site-header--transparent .header-logo-dark { display: none; }
.site-header--transparent .header-logo-light { display: block; }

/* Solid/sticky state */
.site-header--solid {
  background: var(--blanco);
  box-shadow: var(--shadow-sm);
}
.site-header--solid .nav-link { color: var(--gris-oxford); }
.site-header--solid .nav-link:hover { color: var(--azul-real); }
.site-header--solid .header-logo-dark { display: block; }
.site-header--solid .header-logo-light { display: none; }

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 42px;
  width: auto;
}

.header-nav { display: flex; align-items: center; gap: 36px; }

.nav-link {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--azul-real);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link--active::after { width: 100%; }

.header-cta { margin-left: 20px; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gris-oxford);
  margin: 6px 0;
  transition: all var(--transition);
}
.site-header--transparent .menu-toggle span { background: var(--blanco); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--azul-nocturno);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav .nav-link {
  color: var(--blanco);
  font-size: 16px;
  letter-spacing: 4px;
}
.mobile-nav .nav-link:hover { color: var(--azul-real); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: var(--blanco);
  font-size: 32px;
  cursor: pointer;
}

/* ======================================================================
   HERO
   ====================================================================== */
.hero {
  min-height: 100vh;
  background: var(--azul-nocturno);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -25%;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65,105,225,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 55vw; height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65,105,225,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--azul-real);
  margin-bottom: 30px;
  font-weight: 500;
}

.hero h1 { color: var(--blanco); margin-bottom: 30px; }
.hero h1 em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--azul-real);
  font-weight: 500;
  font-size: 1.08em;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-light-on-dark);
  max-width: 620px;
  margin: 0 auto 50px;
  font-weight: 300;
  line-height: 1.85;
}

.hero-line {
  width: 60px; height: 2px;
  background: var(--azul-real);
  margin: 0 auto 50px;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 44px;
  color: var(--blanco);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 300;
}
.hero-stat-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

/* ======================================================================
   METODOLOGÍA GRID
   ====================================================================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gris-platino);
}

.method-card {
  padding: 48px 36px;
  border-right: 1px solid var(--gris-platino);
  border-bottom: 1px solid var(--gris-platino);
  transition: all 0.4s ease;
}
.method-card:nth-child(3n) { border-right: none; }
.method-card:nth-child(n+4) { border-bottom: none; }
.method-card:hover { background: var(--azul-nocturno); }
.method-card:hover .method-title,
.method-card:hover .method-desc { color: var(--blanco); }
.method-card:hover .method-num { color: var(--azul-real); }

.method-num {
  font-family: var(--font-heading);
  font-size: 52px;
  color: var(--gris-platino);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 300;
  transition: color 0.4s;
}
.method-title {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600;
  color: var(--azul-nocturno);
  margin-bottom: 14px;
  transition: color 0.4s;
}
.method-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  transition: color 0.4s;
}

/* ======================================================================
   VERTICALES (Dark Section)
   ====================================================================== */
.verticals-dark {
  background: var(--azul-nocturno);
  padding: var(--section-padding);
}
.verticals-inner { max-width: var(--max-width); margin: 0 auto; }
.verticals-dark h2 { color: var(--blanco); margin-bottom: 60px; }

.vert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.vert-card {
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.vert-card:hover { border-color: var(--azul-real); }
.vert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--azul-real);
  transition: width 0.3s;
}
.vert-card:hover::before { width: 5px; }

.vert-icon {
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 10px;
  background: rgba(65,105,225,0.15);
}
.vert-icon svg { width: 28px; height: 28px; }

.vert-sub {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--azul-real);
  margin-bottom: 10px;
  font-weight: 600;
}
.vert-name {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--blanco);
  margin-bottom: 14px;
  font-weight: 600;
}
.vert-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ======================================================================
   SERVICIOS GRID
   ====================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.service-card {
  padding: 48px;
  background: var(--blanco);
  border: 1px solid var(--gris-platino);
  transition: all 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--azul-real);
  color: var(--azul-real);
  margin-bottom: 22px;
  font-weight: 600;
}
.service-name {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--azul-nocturno);
  margin-bottom: 14px;
  font-weight: 600;
}
.service-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}
.service-includes {
  font-size: 13px;
  color: var(--gris-oxford);
  line-height: 2;
}
.service-includes strong {
  font-family: var(--font-heading);
  color: var(--azul-nocturno);
  font-weight: 600;
  font-size: 12px;
}

/* ======================================================================
   CASOS DE ÉXITO
   ====================================================================== */
.cases-section {
  background: var(--gris-platino);
  padding: var(--section-padding);
}
.cases-inner { max-width: var(--max-width); margin: 0 auto; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--blanco);
  padding: 40px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}
.case-card:hover {
  border-bottom-color: var(--azul-real);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(25,25,112,0.06);
}

.case-vertical {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--azul-real);
  margin-bottom: 16px;
}
.case-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--azul-nocturno);
  margin-bottom: 14px;
  line-height: 1.35;
  font-weight: 600;
}
.case-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 24px;
}
.case-stat { display: flex; align-items: baseline; gap: 10px; }
.case-stat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--azul-real);
  font-weight: 600;
}
.case-stat-label {
  font-size: 13px;
  color: var(--text-light);
}

/* ======================================================================
   DIFERENCIADOR
   ====================================================================== */
.diff-section {
  background: linear-gradient(160deg, var(--azul-nocturno) 0%, var(--azul-nocturno-dark) 100%);
  padding: var(--section-padding);
  text-align: center;
}
.diff-inner { max-width: 900px; margin: 0 auto; }
.diff-section h2 { color: var(--blanco); margin-bottom: 36px; line-height: 1.3; }

.diff-quote {
  font-family: var(--font-accent);
  font-size: 22px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-bottom: 60px;
  font-style: italic;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: left;
}
.diff-item { padding: 28px; border-top: 2px solid var(--azul-real); }
.diff-item h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--blanco);
  margin-bottom: 12px;
  font-weight: 600;
}
.diff-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ======================================================================
   CTA SECTION
   ====================================================================== */
.cta-section {
  padding: 120px 40px;
  text-align: center;
  background: var(--blanco);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 70px;
  background: var(--azul-real);
}
.cta-section h2 {
  margin-bottom: 22px;
  max-width: 650px;
  margin-left: auto; margin-right: auto;
}
.cta-text {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.85;
}
.cta-contact {
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
}
.cta-contact a { font-weight: 700; }

/* ======================================================================
   FOOTER
   ====================================================================== */
.site-footer {
  background: var(--azul-nocturno);
  padding: 80px 40px 44px;
  border-top: 2px solid var(--azul-real);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-top: 16px;
}

.footer-logo img { height: 36px; width: auto; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-links a:hover { color: var(--azul-real); }

.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.footer-contact-item a:hover { color: var(--azul-real); }
.footer-contact-item svg { flex-shrink: 0; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-heading);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
}

/* ======================================================================
   BLOG
   ====================================================================== */
.blog-header {
  background: var(--azul-nocturno);
  padding: 140px 40px 80px;
  text-align: center;
}
.blog-header h1 { color: var(--blanco); font-weight: 600; font-size: clamp(28px,3.5vw,44px); }
.blog-header p { color: var(--text-light-on-dark); margin-top: 16px; font-size: 17px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.post-card {
  background: var(--blanco);
  border: 1px solid var(--gris-platino);
  transition: all 0.3s;
  overflow: hidden;
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--gris-platino);
}

.post-card-body { padding: 28px; }

.post-card-cat {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-real);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}
.post-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--azul-nocturno);
  line-height: 1.4;
  margin-bottom: 12px;
  font-weight: 600;
}
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--azul-real); }

.post-card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}
.post-card-date {
  font-size: 12px;
  color: var(--gris-platino);
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

/* Single Post */
.single-header {
  background: var(--azul-nocturno);
  padding: 140px 40px 60px;
  text-align: center;
}
.single-header .section-label { margin-bottom: 24px; }
.single-header h1 {
  color: var(--blanco);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 42px);
  max-width: 800px;
  margin: 0 auto 20px;
}
.single-header-date {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-heading);
  letter-spacing: 2px;
}

.single-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}
.single-content p { font-size: 17px; line-height: 1.9; margin-bottom: 1.5em; color: var(--gris-oxford); }
.single-content h2 { margin: 2em 0 0.75em; font-size: 28px; }
.single-content h3 { margin: 1.5em 0 0.5em; font-size: 22px; }
.single-content img { margin: 2em 0; border-radius: 2px; }
.single-content blockquote {
  font-family: var(--font-accent);
  font-size: 22px; font-style: italic;
  color: var(--azul-nocturno);
  border-left: 3px solid var(--azul-real);
  padding: 20px 30px;
  margin: 2em 0;
}
.single-content ul, .single-content ol {
  margin: 1em 0 1.5em 1.5em;
  font-size: 17px;
  line-height: 1.9;
}

/* ======================================================================
   PAGE TEMPLATES (Interior)
   ====================================================================== */
.page-header {
  background: var(--azul-nocturno);
  padding: 140px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65,105,225,0.08) 0%, transparent 70%);
}
.page-header h1 { color: var(--blanco); font-weight: 600; font-size: clamp(28px,3.5vw,44px); position: relative; z-index: 1; }
.page-header p {
  color: var(--text-light-on-dark);
  font-size: 17px; max-width: 620px;
  margin: 16px auto 0; line-height: 1.85;
  position: relative; z-index: 1;
}

/* Contacto form styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.contact-info-card {
  background: var(--azul-nocturno);
  padding: 48px;
  color: var(--blanco);
}
.contact-info-card h3 {
  color: var(--blanco);
  font-size: 22px;
  margin-bottom: 24px;
}

/* WPForms overrides */
.wpforms-form .wpforms-field-label {
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: var(--gris-oxford) !important;
}
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea,
.wpforms-form select {
  border: 1px solid var(--gris-platino) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  padding: 14px 18px !important;
  transition: border-color var(--transition) !important;
}
.wpforms-form input:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus {
  border-color: var(--azul-real) !important;
  outline: none !important;
}
.wpforms-form .wpforms-submit {
  background: var(--azul-real) !important;
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  padding: 16px 48px !important;
  border: 2px solid var(--azul-real) !important;
  transition: all var(--transition) !important;
}
.wpforms-form .wpforms-submit:hover {
  background: transparent !important;
  color: var(--azul-real) !important;
}

/* Password protected pages */
.post-password-form {
  max-width: 480px;
  margin: 80px auto;
  padding: 60px;
  text-align: center;
  border: 1px solid var(--gris-platino);
}
.post-password-form label {
  font-family: var(--font-heading);
  font-size: 14px;
  display: block;
  margin-bottom: 16px;
}
.post-password-form input[type="password"] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gris-platino);
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 20px;
}
.post-password-form input[type="submit"] {
  background: var(--azul-real);
  color: var(--blanco);
  border: none;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

/* ======================================================================
   ANIMATIONS (scroll reveal)
   ====================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 900px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-card:nth-child(2n) { border-right: none; }
  .method-card { border-bottom: 1px solid var(--gris-platino) !important; }
}

@media (max-width: 768px) {
  :root { --section-padding: 70px 24px; }

  .method-grid,
  .vert-grid,
  .services-grid,
  .cases-grid,
  .diff-grid { grid-template-columns: 1fr; }

  .method-card { border-right: none !important; }
  .hero-stats { gap: 30px; }
  .hero { padding: 120px 24px 60px; }

  .vert-card, .service-card { padding: 36px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-grid { grid-template-columns: 1fr; }

  .contact-grid {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }

  .single-content { padding: 40px 24px 80px; }
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 40px 80px;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  font-family: var(--font-heading);
  font-size: 13px;
  border: 1px solid var(--gris-platino);
  color: var(--gris-oxford);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--azul-real); color: var(--azul-real); }
.pagination .current {
  background: var(--azul-real);
  border-color: var(--azul-real);
  color: var(--blanco);
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .mobile-nav { display: none; }
  .hero { min-height: auto; padding: 40px; }
}
/* ==========================================================================
   INMERSIVO — Estilos adicionales para integración de imágenes
   Agregar al final de assets/css/inmersivo.css
   ========================================================================== */

/* ---------- Hero con imagen de fondo ---------- */
.hero--with-bg {
  background-image:
    linear-gradient(180deg, rgba(25,25,112,0.88) 0%, rgba(15,15,74,0.92) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Vertical Cards con imagen ---------- */
.vert-card--with-img {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.vert-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 24px;
  opacity: 0.7;
  transition: opacity 0.4s;
}
.vert-card:hover .vert-card-img { opacity: 1; }

/* ---------- Case Cards con imagen ---------- */
.case-card--with-img { padding: 0; overflow: hidden; }

.case-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}
.case-card:hover .case-card-img { transform: scale(1.03); }

.case-card-body { padding: 32px 40px 40px; }

/* ---------- Page Headers con imagen de fondo ---------- */
.page-header--with-bg {
  background-image:
    linear-gradient(180deg, rgba(25,25,112,0.9) 0%, rgba(15,15,74,0.95) 100%),
    var(--page-header-bg);
  background-size: cover;
  background-position: center;
}

/* ---------- Blog Card images (mejorado) ---------- */
.post-card-img-wrap {
  overflow: hidden;
  height: 220px;
}
.post-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .post-card-img-wrap img { transform: scale(1.05); }

/* ---------- Diferenciador con imagen de fondo ---------- */
.diff-section--with-bg {
  background-image:
    linear-gradient(160deg, rgba(25,25,112,0.92) 0%, rgba(15,15,74,0.95) 100%),
    var(--diff-bg);
  background-size: cover;
  background-position: center;
}
/* ==========================================================================
   INMERSIVO — Estilos adicionales para integración de imágenes
   Agregar al final de assets/css/inmersivo.css
   ========================================================================== */

/* ---------- Hero con imagen de fondo ---------- */
.hero--with-bg {
  background-image:
    linear-gradient(180deg, rgba(25,25,112,0.88) 0%, rgba(15,15,74,0.92) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Vertical Cards con imagen ---------- */
.vert-card--with-img {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.vert-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 24px;
  opacity: 0.7;
  transition: opacity 0.4s;
}
.vert-card:hover .vert-card-img { opacity: 1; }

/* ---------- Case Cards con imagen ---------- */
.case-card--with-img { padding: 0; overflow: hidden; }

.case-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}
.case-card:hover .case-card-img { transform: scale(1.03); }

.case-card-body { padding: 32px 40px 40px; }

/* ---------- Page Headers con imagen de fondo ---------- */
.page-header--with-bg {
  background-image:
    linear-gradient(180deg, rgba(25,25,112,0.9) 0%, rgba(15,15,74,0.95) 100%),
    var(--page-header-bg);
  background-size: cover;
  background-position: center;
}

/* ---------- Blog Card images (mejorado) ---------- */
.post-card-img-wrap {
  overflow: hidden;
  height: 220px;
}
.post-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .post-card-img-wrap img { transform: scale(1.05); }

/* ---------- Diferenciador con imagen de fondo ---------- */
.diff-section--with-bg {
  background-image:
    linear-gradient(160deg, rgba(25,25,112,0.92) 0%, rgba(15,15,74,0.95) 100%),
    var(--diff-bg);
  background-size: cover;
  background-position: center;
}

