/* ═══════════════════════════════════════════════════════════
   IMPPULSA — Design System v2.0
   Multi-página · Fénix Rojo · Dark Premium
   ═══════════════════════════════════════════════════════════ */

/* ───── FONTS: cargadas async vía functions.php (NO duplicar con @import) ───── */

/* ───── CSS VARIABLES ───── */
:root {
  /* Brand Colors — Fénix Rojo */
  --primary: #c0101b;
  --primary-dark: #8a0c14;
  --primary-light: #e8323d;
  --primary-glow: rgba(192, 16, 27, 0.25);
  --primary-subtle: rgba(192, 16, 27, 0.08);

  /* Accents */
  --gold: #d4a853;
  --gold-glow: rgba(212, 168, 83, 0.2);
  --teal: #2dd4bf;
  --teal-glow: rgba(45, 212, 191, 0.15);

  /* Backgrounds — Dark Premium */
  --bg-body: #0a0a0f;
  --bg-section: #0e0e15;
  --bg-card: #14141e;
  --bg-card-hover: #1a1a28;
  --bg-nav: rgba(10, 10, 15, 0.85);
  --bg-footer: #060609;

  /* Surfaces & Glass */
  --glass: rgba(20, 20, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(192, 16, 27, 0.3);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #b0b0c0;
  --text-muted: #9090A8;
  --text-on-primary: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-display: clamp(2.8rem, 6vw, 4.5rem);
  --fs-h1: clamp(2.2rem, 4.5vw, 3.5rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 2.8rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
  --shadow-card-hover: 0 8px 40px rgba(192, 16, 27, 0.15), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-button: 0 4px 16px rgba(192, 16, 27, 0.3);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.5);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ───── RESET ───── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ───── UTILITIES ───── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
.container--wide { max-width: var(--container-wide); }
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gold { color: var(--gold); }
.text-red { color: var(--primary); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--text-muted); }

/* ───── NAVIGATION — Multi-Page ───── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-base);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-nav);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.nav__logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}
.nav__logo-accent { color: var(--primary); }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}
.nav__link:hover, .nav__link--active {
  color: var(--text-primary);
}
.nav__link:hover::after, .nav__link--active::after {
  width: 100%;
}
.nav__cta {
  margin-left: var(--space-sm);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-on-primary);
  box-shadow: var(--shadow-button);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(192, 16, 27, 0.4);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}
.btn--secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: var(--primary-subtle);
}
.btn--teal {
  background: linear-gradient(135deg, var(--teal), #1aa896);
  color: #0a0a0f;
  font-weight: 700;
}
.btn--teal:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(45, 212, 191, 0.3); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold), #b8913e);
  color: #0a0a0f;
  font-weight: 700;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 6px 24px var(--gold-glow); }
.btn--sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn--lg { padding: 18px 36px; font-size: var(--fs-body); }
.btn__icon { transition: transform var(--transition-fast); }
.btn:hover .btn__icon { transform: translateX(4px); }

/* ───── SECTIONS ───── */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}
.section--alt {
  background: var(--bg-section);
}
.section__header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto var(--space-xl);
}
.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: var(--primary-subtle);
  border: 1px solid rgba(192, 16, 27, 0.2);
  margin-bottom: var(--space-md);
}
.section__badge--teal {
  color: var(--teal);
  background: var(--teal-glow);
  border-color: rgba(45, 212, 191, 0.2);
}
.section__badge--gold {
  color: var(--gold);
  background: var(--gold-glow);
  border-color: rgba(212, 168, 83, 0.2);
}
.section__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ───── HERO ───── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: grayscale(0.5);
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.95) 85%);
}
.hero__bg-grain {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg viewBox=\"0 0 200 200\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cfilter id=\"noiseFilter\"%3E%3CfeTurbulence type=\"fractalNoise\" baseFrequency=\"0.65\" numOctaves=\"3\" stitchTiles=\"stitch\"/%3E%3C/filter%3E%3Crect width=\"100%\" height=\"100%\" filter=\"url(%23noiseFilter)\"/%3E%3C/svg%3E');
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  top: -10%; right: -5%;
  animation-delay: 0s;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  bottom: -5%; left: -10%;
  animation-delay: -3s;
}
.hero__orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(192,16,27,0.1), transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__phoenix {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 30px rgba(192, 16, 27, 0.4));
  animation: phoenixPulse 3s ease-in-out infinite;
}
@keyframes phoenixPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(192, 16, 27, 0.4)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 50px rgba(192, 16, 27, 0.6)); transform: scale(1.03); }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-glow);
  border: 1px solid rgba(45, 212, 191, 0.2);
  margin-bottom: var(--space-md);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  text-shadow: 0 15px 40px rgba(0,0,0,0.8);
}
.hero__title-line { display: block; }
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: var(--space-lg);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.hero__trust-icon { color: var(--primary); font-size: 0.6rem; }

/* ───── SERVICE CARDS ───── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-slow);
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Spotlight default center */
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(192, 16, 27, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--primary-glow);
  background: var(--bg-card-hover);
}
.service-card:hover::before {
  opacity: 1;
  inset: -30%;
}
.service-card:hover::after { opacity: 1; }
.service-card__icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
  filter: grayscale(0);
}
.service-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  filter: brightness(0.9);
  transition: filter var(--transition-base);
}
.service-card:hover .service-card__img { filter: brightness(1); }
.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.service-card__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.service-card__link {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.service-card__link:hover {
  gap: 10px;
  color: var(--primary);
}

/* ───── MOCKUP WRAPPERS ───── */
.mac-window {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: var(--bg-card);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  width: 100%;
  transition: transform var(--transition-slow);
}
.mac-window__header {
  height: 24px;
  background: #2a2a2eb0;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid #1a1a1c;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  position: absolute;
  top: 0; width: 100%; z-index: 10;
}
.mac-window__dot { width: 8px; height: 8px; border-radius: 50%; }
.mac-window__dot--red { background: #ff5f56; }
.mac-window__dot--yellow { background: #ffbd2e; }
.mac-window__dot--green { background: #27c93f; }

.mobile-frame {
  width: 65%;
  margin: var(--space-md) auto 0;
  border-radius: 36px 36px 0 0;
  overflow: hidden;
  border: 8px solid #1a1a1c;
  border-bottom: none;
  position: relative;
  background: #000;
  transition: transform var(--transition-slow);
}
.mobile-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 20px;
  background: #1a1a1c;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}
.mobile-frame::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 4px;
  background: #333;
  border-radius: 10px;
  z-index: 11;
}

/* ───── MULTI-DEVICE MOCKUP ───── */
.multi-device {
  position: relative;
  width: 100%;
  height: 280px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}
.multi-device .mac-window {
  width: 80%;
  height: auto;
  position: absolute;
  top: 15px;
  left: -5%;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-radius: 8px;
  border-bottom: none;
}
.multi-device .mac-window .portfolio-card__image {
  height: 230px;
  object-fit: cover;
  object-position: top;
}
.multi-device .mobile-frame {
  width: 35%;
  position: absolute;
  bottom: -15px;
  right: 5%;
  z-index: 2;
  margin: 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  border-bottom: none;
}
.multi-device .mobile-frame .portfolio-card__image {
  height: 320px;
  object-fit: cover;
  object-position: top;
}

/* ───── PORTFOLIO ───── */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
/* Evitar que wpautop de WordPress rompa las columnas de los grids con etiquetas p vacías */
.portfolio__grid > p, .services__grid > p, .blog__grid > p, .stats > p, .pillars > p {
  display: none !important;
}
.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  --mouse-x: 50%;
  --mouse-y: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 168, 83, 0.4), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
  z-index: 2;
}
.portfolio-card:hover::after { opacity: 1; }
.portfolio-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.portfolio-card__image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.05);
}
.portfolio-card__overlay {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: rgba(10, 10, 15, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background var(--transition-base);
  z-index: 10;
}
.portfolio-card:hover .portfolio-card__overlay {
  background: rgba(10, 10, 15, 0.98);
}
.portfolio-card__category {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 4px;
}
.portfolio-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 4px;
}
.portfolio-card__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Portfolio - Home Preview (3 col) */
.portfolio-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ───── STATS / COUNTERS ───── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}
.stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
.stat__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 500;
}

/* ───── TEAM / ABOUT ───── */
.about__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: center;
}
.about__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 400px;
}
.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 3px solid var(--glass-border);
  transition: border-color var(--transition-base);
}
.about__photo:hover {
  border-color: var(--primary);
}
.about__image-badge {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
}
.about__info h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
.about__info p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}
.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}
.value-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
}
.value-tag__icon { color: var(--primary); font-size: 0.5rem; }

/* ───── CLIENT LOGOS (Animated Marquee) ───── */
.clients {
  padding: var(--space-xl) 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-section);
  text-align: center;
}
.clients__title {
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  font-weight: 700;
}
.clients__marquee-wrapper {
  position: relative;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
}
.clients__marquee-wrapper::before,
.clients__marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 15vw;
  z-index: 2;
  pointer-events: none;
}
.clients__marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-section) 0%, transparent 100%);
}
.clients__marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-section) 0%, transparent 100%);
}
.clients__marquee {
  display: flex;
  gap: var(--space-xl);
  padding: 0 var(--space-lg);
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
}
.clients__marquee:hover {
  animation-play-state: paused;
}
.client-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  opacity: 0.35;
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: default;
}
.client-logo:hover {
  opacity: 1;
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 30px var(--primary-glow);
  transform: scale(1.05);
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - (var(--space-xl) / 2))); }
}

/* ───── METHODOLOGY / PILLARS ───── */
.methodology__quote {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-secondary);
  padding: var(--space-lg) var(--space-xl);
  border-left: 3px solid var(--primary);
  background: var(--primary-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}
.pillar {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.pillar:hover {
  border-color: var(--glass-border-hover);
  transform: translateX(8px);
  box-shadow: -4px 0 20px var(--primary-glow);
}
.pillar__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  min-width: 60px;
}
.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.pillar__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ───── KIT DIGITAL ───── */
.kit-digital__wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.kit-digital__info p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}
.kit-digital__checklist {
  margin-bottom: var(--space-lg);
}
.kit-digital__checklist li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: var(--fs-small);
}
.kit-digital__checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.kit-digital__extra {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--gold-glow);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.kit-digital__segments h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.segment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xs);
  transition: all var(--transition-fast);
}
.segment:hover {
  border-color: var(--teal);
  background: var(--bg-card-hover);
}
.segment__label {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.segment__amount {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.1rem;
}

/* ───── BLOG ───── */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-card-hover);
}
.blog-card__category {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: var(--space-xs);
}
.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}
.blog-card__excerpt {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.blog-card__meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--glass-border);
}

/* Blog Modal */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.blog-modal--active { display: flex; }
.blog-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}
.blog-modal__content {
  position: relative;
  z-index: 1;
  background: var(--bg-section);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-xl);
  box-shadow: var(--shadow-deep);
}
.blog-modal__close {
  position: sticky;
  top: 0;
  float: right;
  font-size: 1.5rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all var(--transition-fast);
}
.blog-modal__close:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}
.blog-modal__article h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.blog-modal__article h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--primary-light);
}
.blog-modal__article p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}
.blog-modal__article ul, .blog-modal__article ol {
  margin: var(--space-sm) 0;
  padding-left: var(--space-md);
}
.blog-modal__article li {
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  line-height: 1.7;
  list-style: disc;
}
.blog-modal__article strong {
  color: var(--text-primary);
}

/* ───── CONTACT ───── */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}
.contact__info h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.contact__info > p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.75;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.contact-item:hover { background: var(--primary-subtle); }
.contact-item__icon {
  font-size: 1.3rem;
  min-width: 36px;
  text-align: center;
}
.contact-item__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.contact-item__value {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}
.contact__team {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
.contact__team-photo {
  width: 70px; height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.contact__team-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}
.contact__team-role {
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.contact__team-phone {
  font-size: var(--fs-small);
  color: var(--primary-light);
  font-weight: 600;
}

/* ───── FORMS ───── */
.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.form__group {
  margin-bottom: var(--space-sm);
}
.form__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.form__input, .form__textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--bg-body);
  color: var(--text-primary);
  font-size: var(--fs-small);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form__textarea {
  min-height: 120px;
  resize: vertical;
}
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.form__checkbox input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--primary);
}
.form__submit {
  width: 100%;
  justify-content: center;
}

/* ───── FOOTER ───── */
.footer,
.imp-footer {
  background: var(--bg-footer);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--glass-border);
}
.footer__inner,
.imp-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.footer__top,
.imp-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer__logo,
.imp-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}
.imp-footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}
.footer__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.footer__brand p,
.imp-footer__brand p,
.imp-footer__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.7;
}
.imp-footer__heading,
.footer__col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
}
.footer__col a,
.imp-footer__col a {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition-fast);
}
.footer__col a:hover,
.imp-footer__col a:hover { color: var(--primary-light); }
.footer__bottom,
.imp-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--glass-border);
  font-size: var(--fs-xs);
  color: #d0d0e0; /* Alto contraste sobre #060609 (ratio ~13:1) */
}
.footer__legal a,
.imp-footer__legal a {
  color: #d0d0e0; /* Alto contraste WCAG AA */
  transition: color var(--transition-fast);
}
.footer__legal a:hover,
.imp-footer__legal a:hover {
  color: var(--primary-light);
}
.footer__social,
.imp-footer__social {
  display: flex;
  gap: var(--space-sm);
}
.footer__social a,
.imp-footer__social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.footer__social a:hover,
.imp-footer__social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ───── CTA BANNER ───── */
.cta-banner {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-body) 50%, var(--primary-dark) 100%);
  border-top: 1px solid rgba(192, 16, 27, 0.2);
  border-bottom: 1px solid rgba(192, 16, 27, 0.2);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.3;
}
.cta-banner__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  position: relative;
}
.cta-banner__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  position: relative;
}
.cta-banner .btn { position: relative; }

/* ───── PAGE HERO (inner pages) ───── */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, var(--primary-glow) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, var(--gold-glow) 0%, transparent 50%);
  opacity: 0.4;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  position: relative;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ───── SCROLL TO TOP ───── */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-button);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
  z-index: 900;
}
.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ───── ANIMATIONS ───── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ───── RESPONSIVE ───── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-preview { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .kit-digital__wrapper { grid-template-columns: 1fr; }
  .about__wrapper { grid-template-columns: 1fr; }
  .about__image { margin: 0 auto; max-width: 300px; }
  .contact__wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-body);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }
  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav__link::after { display: none; }
  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-sm);
    width: 100%;
    justify-content: center;
  }
  .nav__toggle { display: flex; }

  .hero__content { text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__phoenix { margin-left: auto; margin-right: auto; }

  .services__grid { grid-template-columns: 1fr; }
  .portfolio-preview { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  .section { padding: var(--space-2xl) 0; }
  .methodology__quote { padding: var(--space-md); font-size: 1rem; }
  .pillar { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .blog-modal__content { width: 95%; padding: var(--space-md); }
  .stats { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — Estilos embebidos migrados al tema
   (WordPress elimina <style> del contenido de páginas)
   ═══════════════════════════════════════════════════════════ */

/* Gradient text */
.imp-gradient { background: linear-gradient(135deg, #E8323D, #C0101B, #D4A853); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Badge */
.imp-badge { display:inline-block; font-family:'Outfit',sans-serif; font-size:0.75rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; padding:6px 16px; border-radius:50px; border:1px solid rgba(192,16,27,0.3); color:#E8323D; background:rgba(192,16,27,0.08); }
.imp-badge-gold { border-color:rgba(212,168,83,0.3); color:#D4A853; background:rgba(212,168,83,0.08); }
.imp-badge-teal { border-color:rgba(45,212,191,0.3); color:#2DD4BF; background:rgba(45,212,191,0.08); }

/* Cards & Interactives */
.imp-card { background:#14141E; border:1px solid rgba(255,255,255,0.06); border-radius:12px; overflow:hidden; transition:all 0.3s cubic-bezier(0.4,0,0.2,1); }
.imp-card:hover { border-color:rgba(192,16,27,0.3); box-shadow:0 8px 40px rgba(192,16,27,0.15); transform:translateY(-5px); }

/* Oracle Cards (Diagnóstico) */
.imp-oracle-card { background:linear-gradient(180deg, #14141E 0%, #0E0E15 100%); border:1px solid rgba(255,255,255,0.08); border-radius:16px; padding:32px 24px; position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-start; text-align:left; transition:all 0.4s ease; box-shadow:0 4px 20px rgba(0,0,0,0.2); }
.imp-oracle-card::before { content:''; position:absolute; top:0; left:0; width:4px; height:100%; background:#2A2A35; transition:background 0.4s ease; }
.imp-oracle-card:hover { border-color:rgba(212,168,83,0.4); transform:translateY(-8px); box-shadow:0 12px 40px rgba(212,168,83,0.1); }
.imp-oracle-card:hover::before { background:linear-gradient(180deg, #E8323D, #D4A853); }

/* Buttons */
.imp-btn { display:inline-flex; align-items:center; gap:8px; padding:16px 32px; border-radius:8px; font-family:'Outfit',sans-serif; font-weight:700; text-decoration:none; transition:all 0.3s ease; cursor:pointer; border:none; font-size:1.05rem; letter-spacing:0.02em; }
.imp-btn-red { background:#C0101B; color:#fff; box-shadow:0 4px 15px rgba(192,16,27,0.2); }
.imp-btn-red:hover { background:#8A0C14; color:#fff; transform:translateY(-2px); box-shadow:0 6px 25px rgba(192,16,27,0.4); }
.imp-btn-ghost { background:transparent; color:#fff; border:1px solid rgba(255,255,255,0.2); }
.imp-btn-ghost:hover { border-color:rgba(255,255,255,0.6); color:#fff; background:rgba(255,255,255,0.05); }
.imp-btn-gold { background:transparent; color:#D4A853; border:1px solid rgba(212,168,83,0.4); }
.imp-btn-gold:hover { border-color:#D4A853; color:#0A0A0F; background:#D4A853; }

/* Section wrapper */
.imp-section { padding:100px 20px; max-width:1200px; margin:0 auto; }
.imp-section-header { text-align:center; margin-bottom:56px; }
.imp-section-header h2 { font-family:'Outfit',sans-serif; font-size:clamp(2rem,4vw,3.2rem); color:#F0F0F5; margin:16px 0 0; line-height:1.15; letter-spacing:-0.03em; }
.imp-section-header p { color:#B0B0C0; font-size:1.1rem; max-width:650px; margin:16px auto 0; line-height:1.7; }
.imp-section-header-left { text-align:left; max-width:800px; }

/* Stats */
.imp-stat-num { font-family:'Outfit',sans-serif; font-size:clamp(3rem,5vw,4.5rem); font-weight:900; color:#D4A853; line-height:1; margin-bottom:8px; letter-spacing:-0.03em; }
.imp-stat-label { font-size:0.9rem; color:#B0B0C0; text-transform:uppercase; letter-spacing:0.1em; font-weight:600; }

/* Service link */
.imp-link { display:inline-flex; align-items:center; gap:6px; color:#E8323D; font-size:0.9rem; font-weight:600; text-decoration:none; margin-top:20px; transition:gap 0.3s ease; }
.imp-link:hover { color:#F0F0F5; gap:10px; }

/* Trust bar */
.imp-trust { display:flex; justify-content:center; gap:32px; flex-wrap:wrap; margin-top:40px; font-size:0.85rem; color:#707088; font-weight:600; text-transform:uppercase; letter-spacing:0.1em; }

/* FAQ accordion */
.imp-faq details { border-bottom:1px solid rgba(255,255,255,0.06); padding:20px 0; }
.imp-faq summary { font-family:'Outfit',sans-serif; font-weight:600; font-size:1.25rem; color:#F0F0F5; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; padding:4px 0; }
.imp-faq summary::-webkit-details-marker { display:none; }
.imp-faq summary::after { content:'+'; font-size:1.5rem; color:#D4A853; transition:transform 0.3s ease; flex-shrink:0; margin-left:16px; font-weight:300; }
.imp-faq details[open] summary::after { transform:rotate(45deg); color:#E8323D; }
.imp-faq details p { color:#A0A0B5; line-height:1.8; font-size:1.05rem; padding:16px 0 0; margin:0; }

/* Grid layouts */
.imp-grid-4 { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
.imp-grid-3 { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.imp-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:32px; }

/* Hero home */
.imp-hero-h1 { font-family:'Outfit',sans-serif; font-size:clamp(3rem,6vw,5rem); font-weight:900; line-height:1.05; letter-spacing:-0.03em; color:#F0F0F5; margin:0; }

/* Responsive — Homepage grids */
@media(max-width:1024px) {
  .imp-grid-4 { grid-template-columns:1fr 1fr; }
  .imp-grid-3 { grid-template-columns:1fr 1fr; }
}
@media(max-width:767px) {
  .imp-grid-4 { grid-template-columns:1fr 1fr !important; }
  .imp-grid-3 { grid-template-columns:1fr !important; }
  .imp-grid-2 { grid-template-columns:1fr !important; }
  .imp-hero-h1 { font-size:2.5rem !important; }
  .imp-section { padding:60px 20px; }
  .imp-oracle-card { padding:24px 20px; }
}
