/*
Theme Name: iA4 Auto
Theme URI: https://ia4auto.com
Author: Digy Marketing
Author URI: https://digymkt.com/
Description: Landing page corporativa para iA4 AUTO, la plataforma de automatización inteligente con IA conversacional para concesionarios, talleres y grupos de automoción. Desarrollado a medida por Digy Marketing.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.5
License: Uso exclusivo - desarrollado a medida para iA4 AUTO
Text Domain: ia4auto
*/

/* =========================================================
   1. RESET BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; width: 100%; }
figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--ia4-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   2. TOKENS DE MARCA
   ========================================================= */
:root {
  --ia4-navy: #15384A;
  --ia4-navy-2: #1F4A60;
  --ia4-red: #E8483F;
  --ia4-orange: #F5A300;
  --ia4-yellow: #FFD23F;
  --ia4-teal: #1FB6C9;
  --ia4-green: #74C24A;

  --ia4-bg: #F4F6F7;
  --ia4-bg-soft: #EEF2F3;
  --ia4-white: #FFFFFF;
  --ia4-line: #E1E7E9;
  --ia4-muted: #5D6E76;
  --ia4-text: #233139;

  --ia4-danger-bg: #FCEEEC;
  --ia4-danger-line: #F2C9C4;
  --ia4-success-bg: #EBF6EC;
  --ia4-success-line: #C7E6C8;

  --ia4-gradient: linear-gradient(115deg, var(--ia4-red) 0%, var(--ia4-orange) 26%, var(--ia4-yellow) 50%, var(--ia4-teal) 74%, var(--ia4-green) 100%);

  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-pill: 100px;

  --shadow-sm: 0 4px 18px rgba(21,56,74,.07);
  --shadow-md: 0 18px 40px rgba(21,56,74,.12);
  --shadow-lg: 0 34px 80px rgba(21,56,74,.20);

  --container: 1180px;
}

/* =========================================================
   3. TIPOGRAFÍA BASE
   ========================================================= */
body {
  font-family: var(--font-body);
  color: var(--ia4-text);
  background: var(--ia4-white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ia4-navy);
  line-height: 1.16;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.15rem, 1.5rem + 2.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.55rem); font-weight: 800; }
h3 { font-size: clamp(1.18rem, 1rem + .55vw, 1.4rem); font-weight: 700; }

p { margin: 0 0 1em; }
strong { font-weight: 700; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.section { padding: clamp(64px, 7vw, 116px) 0; position: relative; }
.section--alt { background: var(--ia4-bg); }
.section--navy { background: var(--ia4-navy); color: #DCE7EC; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section__head { max-width: 700px; margin: 0 0 46px; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--ia4-muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .76rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ia4-navy-2);
  background: rgba(31,182,201,.12); padding: 9px 18px; border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.eyebrow--light { background: rgba(255,255,255,.12); color: #fff; }

.lead { font-size: 1.12rem; color: var(--ia4-muted); }

.text-gradient {
  background-image: var(--ia4-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.quote-mark {
  font-family: var(--font-display);
  border-left: 4px solid var(--ia4-teal);
  padding-left: 18px;
  font-weight: 700;
  color: var(--ia4-navy);
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--1.is-visible { transition-delay: .08s; }
.reveal--2.is-visible { transition-delay: .16s; }
.reveal--3.is-visible { transition-delay: .24s; }
.reveal--4.is-visible { transition-delay: .32s; }

/* =========================================================
   4. ICONOS
   ========================================================= */
.icon { display: inline-flex; width: 22px; height: 22px; flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; }

/* =========================================================
   5. BOTONES
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 16px 32px; border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap; cursor: pointer;
}
.btn--primary { background: var(--ia4-navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #0E2B38; }
.btn--ghost { border-color: var(--ia4-navy); color: var(--ia4-navy); }
.btn--ghost:hover { background: var(--ia4-navy); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ia4-navy); }
.btn--white { background: #fff; color: var(--ia4-navy); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #F4F6F7; }
.btn--sm { padding: 11px 22px; font-size: .85rem; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .65; cursor: default; transform: none !important; }

/* =========================================================
   6. CABECERA / NAV
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo img { height: 120px; max-height: none; width: auto; transition: height 0.3s ease; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem;
  color: var(--ia4-navy); letter-spacing: -.01em;
}
.logo-word__accent {
  background-image: var(--ia4-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.site-nav { display: flex; }
.site-nav ul { display: flex; gap: 34px; }
.site-nav a {
  font-weight: 600; font-size: .96rem; color: var(--ia4-navy); position: relative; padding: 6px 0;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--ia4-gradient); transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }

.site-header__cta { flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ia4-navy); margin: 0 auto; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   7. HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(130px, 16vw, 190px) 0 clamp(90px, 10vw, 140px);
  background: linear-gradient(180deg, #EEF3F4 0%, #FFFFFF 70%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .28; }
.hero__bg .b1 { width: 460px; height: 460px; background: var(--ia4-red); top: -180px; left: -140px; }
.hero__bg .b2 { width: 420px; height: 420px; background: var(--ia4-teal); top: 40px; right: -180px; }
.hero__bg .b3 { width: 320px; height: 320px; background: var(--ia4-yellow); bottom: -180px; left: 28%; opacity: .22; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero__content p.hero__lead { margin-top: 18px; max-width: 480px; }
.hero__quote {
  font-size: 1.22rem; margin: 22px 0 0; max-width: 460px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero__note { margin-top: 18px; font-size: .85rem; color: var(--ia4-muted); display: flex; align-items: center; gap: 8px; }
.hero__note .icon { width: 16px; height: 16px; color: var(--ia4-green); }

.hero__visual { position: relative; display: flex; justify-content: center; }

.hero__divider { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__divider svg { width: 100%; height: 70px; display: block; }

/* --- Demo de chat: elemento firma del hero --- */
.phone-demo {
  width: 100%; max-width: 380px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--ia4-line);
}
.phone-demo__header {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: var(--ia4-navy); color: #fff;
}
.phone-demo__avatar {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.phone-demo__avatar .icon { width: 20px; height: 20px; color: var(--ia4-navy); }
.phone-demo__id { flex-grow: 1; }
.phone-demo__id strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.phone-demo__id span { font-size: .76rem; color: #AFC4CC; }
.phone-demo__status {
  display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600;
  color: #B7F0C0; background: rgba(116,194,74,.18); padding: 5px 10px; border-radius: var(--radius-pill);
}
.phone-demo__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ia4-green); }

.phone-demo__body {
  background: #F7F9FA; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px;
  min-height: 360px;
}
.bubble {
  max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: .92rem; line-height: 1.5;
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease;
}
.phone-demo.is-visible .bubble { opacity: 1; transform: translateY(0); }
.phone-demo.is-visible .bubble:nth-child(1) { transition-delay: .1s; }
.phone-demo.is-visible .bubble:nth-child(2) { transition-delay: .7s; }
.phone-demo.is-visible .bubble:nth-child(3) { transition-delay: 1.3s; }
.phone-demo.is-visible .bubble:nth-child(4) { transition-delay: 1.9s; }
.phone-demo.is-visible .bubble:nth-child(5) { transition-delay: 2.5s; }
.bubble--bot { background: #fff; border: 1px solid var(--ia4-line); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--ia4-text); }
.bubble--user { background: var(--ia4-navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble__check { display: inline-flex; width: 14px; height: 14px; color: var(--ia4-green); margin-left: 4px; vertical-align: -2px; }

/* =========================================================
   8. SECCIÓN PROBLEMA
   ========================================================= */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.problem-card {
  background: #fff; border: 1px solid var(--ia4-line); border-radius: var(--radius-md);
  padding: 26px; display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.problem-card__icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--ia4-danger-bg); color: var(--ia4-red);
}
.problem-card p { margin: 0; font-size: .96rem; color: var(--ia4-text); }

/* =========================================================
   9. ESTADÍSTICAS (composición asimétrica)
   ========================================================= */
.stats-wrap {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "a a a f f f"
    "b b c c d d";
  gap: 26px;
}
.stat-card--a { grid-area: a; }
.stat-feature { grid-area: f; }
.stat-card--b { grid-area: b; }
.stat-card--c { grid-area: c; }
.stat-card--d { grid-area: d; }

.stat-card {
  background: #fff; border: 1px solid var(--ia4-line); border-radius: var(--radius-md);
  padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.stat-card__value {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem);
  background-image: var(--ia4-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; line-height: 1;
}
.stat-card__label { font-weight: 700; color: var(--ia4-navy); margin: 8px 0 6px; display: block; font-size: 1.02rem; }
.stat-card__detail { font-size: .88rem; color: var(--ia4-muted); margin: 0; }

.stat-feature {
  position: relative; border-radius: 50%; background: var(--ia4-navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; aspect-ratio: 1 / 1; padding: 14px; transform: rotate(-2deg);
}
.stat-feature::before {
  content: ''; position: absolute; inset: -34px; z-index: -1; border-radius: 50%;
  background-image: var(--ia4-gradient); filter: blur(46px); opacity: .35;
}
.stat-feature__value {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
  background-image: var(--ia4-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-feature__label { font-size: .86rem; max-width: 170px; margin-top: 8px; color: #E4EDF0; }

/* =========================================================
   10. NOVA + SKILLS
   ========================================================= */
.nova-intro { display: flex; align-items: center; gap: 22px; margin-bottom: 50px; flex-wrap: wrap; }
.nova-avatar-badge {
  width: 76px; height: 76px; border-radius: 50%; background: var(--ia4-navy); padding: 12px;
  box-shadow: var(--shadow-md); flex-shrink: 0; animation: bob 5s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
.nova-avatar-badge .icon { width: 100%; height: 100%; color: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.nova-intro__text { max-width: 600px; }
.nova-intro__text h2 { margin-bottom: 6px; }
.nova-intro__text p { color: var(--ia4-muted); margin: 0; }

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.skills-col__title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ia4-navy);
  padding-bottom: 12px; margin-bottom: 18px; border-bottom: 3px solid var(--ia4-teal); display: inline-block;
}
.skills-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: .95rem; }
.check-badge {
  width: 22px; height: 22px; border-radius: 50%; background: var(--ia4-green); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.check-badge .icon { width: 13px; height: 13px; }

/* =========================================================
   11. ANTES / DESPUÉS
   ========================================================= */
.compare-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; }
.compare-intro__panel { border-radius: var(--radius-md); padding: 30px; }
.compare-intro__panel--problem { background: var(--ia4-danger-bg); border: 1px solid var(--ia4-danger-line); }
.compare-intro__panel--solution { background: var(--ia4-success-bg); border: 1px solid var(--ia4-success-line); }
.compare-intro__panel h3 { margin-bottom: 14px; }
.compare-intro__panel ul li { display: flex; gap: 10px; margin-bottom: 10px; font-size: .94rem; align-items: flex-start; }
.compare-intro__panel--problem ul li::before { content: '—'; color: var(--ia4-red); font-weight: 700; }
.compare-intro__panel--solution .check-badge { width: 18px; height: 18px; }
.compare-intro__panel--solution .check-badge .icon { width: 10px; height: 10px; }

.transform-rows { display: flex; flex-direction: column; gap: 14px; }
.transform-row {
  display: grid; grid-template-columns: 1fr 50px 1fr; align-items: center; gap: 14px;
}
.transform-row__cell {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .98rem;
}
.transform-row__cell--before { background: var(--ia4-danger-bg); color: #8A3A34; }
.transform-row__cell--after { background: var(--ia4-success-bg); color: #2E6B33; justify-content: flex-end; text-align: right; }
.transform-row__cell .icon { width: 20px; height: 20px; flex-shrink: 0; }
.transform-row__arrow { display: flex; align-items: center; justify-content: center; color: var(--ia4-teal); }
.transform-row__arrow .icon { width: 24px; height: 24px; }

/* =========================================================
   12. APRENDIZAJE CONTINUO
   ========================================================= */
.learning { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.learning__badge {
  width: 100%; aspect-ratio: 1/1; max-width: 320px; border-radius: 50%;
  background: var(--ia4-navy-2); display: flex; align-items: center; justify-content: center;
  position: relative; margin: 0 auto;
}
.learning__badge::before {
  content: ''; position: absolute; inset: -20px; border: 2px dashed rgba(255,255,255,.25); border-radius: 50%;
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.learning__badge .icon { width: 96px; height: 96px; color: #fff; }
.learning__list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.learning__list li { display: flex; gap: 14px; align-items: flex-start; }
.learning__list .icon { color: var(--ia4-teal); width: 24px; height: 24px; margin-top: 2px; }
.learning__list strong { display: block; color: #fff; margin-bottom: 2px; }
.learning__list span { color: #B9CBD2; font-size: .92rem; }

/* =========================================================
   13. PASO A PASO
   ========================================================= */
.timeline { display: flex; flex-direction: column; }
.timeline__step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-bottom: 40px; position: relative; }
.timeline__step:not(:last-child)::before {
  content: ''; position: absolute; left: 31px; top: 56px; bottom: 0; width: 2px;
  background: var(--ia4-line);
}
.timeline__num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ia4-navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  background-image: linear-gradient(150deg, var(--ia4-navy), var(--ia4-navy-2));
  color: transparent; -webkit-background-clip: padding-box; background-clip: padding-box;
}
.timeline__num span { background-image: var(--ia4-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline__content { padding-top: 8px; }
.timeline__content h3 { margin-bottom: 6px; }
.timeline__content p { color: var(--ia4-muted); margin: 0; max-width: 560px; }

/* =========================================================
   14. FAQ
   ========================================================= */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--ia4-line); border-radius: var(--radius-sm); padding: 6px 26px;
}
.faq-item summary {
  cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 600;
  color: var(--ia4-navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2px solid var(--ia4-teal); border-bottom: 2px solid var(--ia4-teal);
  transform: rotate(45deg); transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item__a { padding: 0 0 22px; color: var(--ia4-muted); font-size: .96rem; }

/* =========================================================
   14b. BANNER GRUPO (otras marcas de iA4 Group)
   ========================================================= */
.group-banner {
  background-image: var(--ia4-gradient);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px) clamp(28px, 6vw, 70px);
  text-align: center;
}
.group-banner .eyebrow--light { background: rgba(255,255,255,.22); }
.group-banner h2 { color: #fff; margin-bottom: 14px; }
.group-banner p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 30px; }
.group-banner__logo {
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 24px; border-radius: var(--radius-md); margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.group-banner__logo img { width: 120px; height: auto; display: block; }

/* =========================================================
   15. CONTACTO
   ========================================================= */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
.contact-info__quote { font-size: 1.15rem; margin: 24px 0 30px; }
.contact-info__list { display: flex; flex-direction: column; gap: 18px; }
.contact-info__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__list .icon { color: var(--ia4-teal); width: 22px; height: 22px; margin-top: 2px; }
.contact-info__list a { font-weight: 600; }

.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); border: 1px solid var(--ia4-line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--ia4-navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--ia4-line); border-radius: var(--radius-sm);
  background: var(--ia4-bg); color: var(--ia4-text); transition: border-color .2s ease, background .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--ia4-teal); background: #fff; outline: none;
}
.form-group textarea { resize: vertical; min-height: 96px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--ia4-muted); cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--ia4-teal); }
.checkbox-label a { color: var(--ia4-navy); text-decoration: underline; }

.form-feedback { margin-top: 16px; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-feedback--success { color: #2E6B33; }
.form-feedback--error { color: #B4302A; }

/* =========================================================
   16. FOOTER
   ========================================================= */
.site-footer { background: var(--ia4-navy); color: #C7D7DC; padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding-bottom: 50px; }
.footer__brand .site-logo .logo-word { color: #fff; }
.footer__brand p { margin-top: 16px; max-width: 320px; font-size: .92rem; color: #9FB6BD; }
.footer__col h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: .92rem; }
.footer__col a:hover { color: #fff; }
.footer__col li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.footer__col .icon { width: 18px; height: 18px; color: var(--ia4-teal); margin-top: 2px; flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: #8FA6AD;
}
.footer__bottom a { color: #fff; font-weight: 600; }
.footer__bottom a:hover { text-decoration: underline; }

/* =========================================================
   17. RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 10px; }
  .compare-intro { grid-template-columns: 1fr; }
  .learning { grid-template-columns: 1fr; text-align: center; }
  .learning__list { text-align: left; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.is-open {
    display: flex; position: fixed; inset: 0; top: 0; background: #fff; z-index: 99;
    flex-direction: column; padding: 110px 36px 36px; gap: 6px;
  }
  .site-nav.is-open ul { flex-direction: column; gap: 6px; width: 100%; }
  .site-nav.is-open a { display: block; padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--ia4-line); }
  .site-header__cta { display: none; }

  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-wrap { grid-template-columns: 1fr; grid-template-areas: "f" "a" "b" "c" "d"; }
  .stat-feature { max-width: 240px; margin: 0 auto 10px; transform: none; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 120px; }
  .hero__ctas .btn { width: 100%; }
  .problem-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .transform-row { grid-template-columns: 1fr; text-align: left; }
  .transform-row__cell--after { justify-content: flex-start; text-align: left; }
  .transform-row__arrow { transform: rotate(90deg); padding: 2px 0; }
  .contact-form { padding: 26px; }
  .phone-demo__body { min-height: 300px; }
}

/* Logo scroll shrink */
.site-header.is-scrolled .site-logo img,
.site-header--scrolled .site-logo img,
header.scrolled .site-logo img { height: 48px !important; }

/* Footer logo */
.footer-logo img { height: 90px; width: auto; }

/* Mobile logo */
@media (max-width: 768px) {
  .site-logo img { height: 88px !important; }
  .site-header.is-scrolled .site-logo img,
  .site-header--scrolled .site-logo img,
  header.scrolled .site-logo img { height: 44px !important; }
  .footer-logo img { height: 70px; }
}
@media (max-width: 480px) {
  .site-logo img { height: 72px !important; }
  .footer-logo img { height: 56px; }
}


/* ── LOGO OVERRIDE ──────────────────────────────────────────────────
   Force the brand PNG across nav, footer and any .custom-logo img.
   content: url() overrides the rendered image in Chrome/Safari/Edge.
   ──────────────────────────────────────────────────────────────── */
img.custom-logo,
.site-logo img,
.custom-logo-link img {
  height: 120px !important;
  width: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  transition: height 0.3s ease !important;
}

.site-header.is-scrolled img.custom-logo,
.site-header--scrolled img.custom-logo,
header.scrolled img.custom-logo {
  height: 48px !important;
}

/* Footer */
footer img.custom-logo,
.footer-logo img,
.site-footer img.custom-logo {
  content: url('https://ia4group.com/wp-content/uploads/2026/06/Diseno_sin_titulo__3_-removebg-preview.png') !important;
  height: 90px !important;
  width: auto !important;
}

@media (max-width: 768px) {
  img.custom-logo,
  .site-logo img { height: 80px !important; }
  .site-header.is-scrolled img.custom-logo { height: 44px !important; }
  footer img.custom-logo { height: 64px !important; }
}
@media (max-width: 480px) {
  img.custom-logo,
  .site-logo img { height: 64px !important; }
  footer img.custom-logo { height: 52px !important; }
}
