/* ═══════════════════════════════════════════════════
   ADV Technology — Sistema de diseño industrial
   Stack: HTML5 + CSS3 vanilla (sin frameworks)
   Paleta: Azul #1A3A6E | Naranja #F05A1A | Grises
═══════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────── */
:root {
  --blue-dark:    #1A3A6E;
  --blue-mid:     #254E9B;
  --blue-light:   #3A6FC1;
  --orange:       #FF6200;
  --orange-dark:  #E05000;
  --orange-light: #FF8C52;

  --gray-900: #1C1C1E;
  --gray-700: #3A3A3C;
  --gray-500: #636366;
  --gray-300: #AEAEB2;
  --gray-100: #E5E5EA;
  --gray-50:  #F4F6F8;
  --white:    #FFFFFF;

  --font-head: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: .25s ease;

  --container: 1200px;
  --nav-h: 72px;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utilidades ─────────────────────────────────── */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.text-accent  { color: var(--orange); }
.text-center  { text-align: center; }
.section-label {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.section-label--light { color: var(--orange-light); }

/* ── Botones ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg  { padding: .9rem 2.25rem; font-size: 1rem; }
.btn-sm  { padding: .5rem 1.25rem; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-accent {
  background: var(--orange);
  color: var(--white);
}
.btn-accent:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-outline-accent {
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline-accent:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── Secciones ──────────────────────────────────── */
.section { padding-block: 5rem; }
.section--white { background: var(--white); }
.section--light { background: var(--gray-50); }
.section--dark  { background: var(--blue-dark); color: var(--white); }
.section--cta   { background: var(--blue-dark); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header--light .section-title,
.section-header--light .section-subtitle {
  color: var(--white);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 640px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════ */
.nav-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: none;
  transition: box-shadow var(--transition);
  height: var(--nav-h);
}
.nav-header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo img { height: 48px; width: auto; }

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

.nav-link {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--blue-dark); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link--cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--orange-dark) !important; color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: .75rem;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Dropdown Productos ────────────────────────── */
.nav-item-dropdown { position: relative; }

.nav-dropdown-icon {
  font-size: .65rem;
  transition: transform var(--transition);
  vertical-align: middle;
}
.nav-item-dropdown:hover .nav-dropdown-icon { transform: rotate(180deg); }
.nav-item-dropdown.open .nav-dropdown-icon  { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  transform: translateX(-50%) translateY(-6px);
}

/* Puente invisible que cubre el gap entre el trigger y el dropdown */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 14px;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: .55rem 1.25rem;
  font-size: .875rem;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown li a:hover {
  background: var(--gray-50);
  color: var(--blue-dark);
}
.nav-dropdown-group {
  padding: .4rem 1.25rem .2rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-top: .25rem;
}
.nav-dropdown-divider {
  border-top: 1px solid var(--gray-100);
  margin: .4rem 0;
}
.nav-dropdown-all {
  color: var(--orange-dark) !important;
  font-weight: 600;
}
.nav-dropdown-all:hover { color: var(--orange-dark) !important; }

/* ── Dropdown on mobile ────────────────────────── */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 4px;
    margin: 0 1rem 0 1rem;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, background .2s ease;
    width: auto;
  }
  .nav-item-dropdown.open .nav-dropdown {
    max-height: 600px;
    transform: none;
    background: var(--gray-50);
    margin-bottom: .5rem;
  }
  .nav-dropdown li a {
    text-align: left;
    font-size: .9rem;
  }
  .nav-dropdown-group {
    text-align: left;
  }
  .nav-dropdown-icon { display: inline-block; }
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(26,58,110,.92) 0%, rgba(26,58,110,.75) 60%, rgba(240,90,26,.35) 100%),
    url('/storage/hero-adv.webp') center/cover no-repeat;
  padding-top: var(--nav-h);
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,58,110,.6) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 6rem 4rem;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(240,90,26,.2);
  border: 1px solid rgba(240,90,26,.5);
  color: var(--orange-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stat {
  min-height: 3.5rem;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange-light);
}
.hero-stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════
   NOSOTROS BRIEF (bloque en index.html)
═══════════════════════════════════════════════════ */
.nosotros-brief-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.nosotros-brief-text {
  flex: 1 1 300px;
}
.nosotros-brief-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: .75rem;
}
.nosotros-brief-desc {
  color: var(--gray-500);
  font-size: 1rem;
}
.nosotros-brief-stats {
  display: flex;
  gap: 2.5rem;
  flex-shrink: 0;
}
.nosotros-stat {
  text-align: center;
}
.nosotros-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
}
.nosotros-stat span {
  font-size: .78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Botón outline (Nosotros + otros) ──────────── */
.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--blue-dark);
  color: var(--blue-dark);
  flex-shrink: 0;
}
.btn-outline-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════
   PRODUCTOS — Tabs
═══════════════════════════════════════════════════ */
.product-tabs {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.product-tab {
  padding: .65rem 1.75rem;
  border-radius: 100px;
  border: 2px solid var(--gray-100);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--gray-500);
  transition: var(--transition);
  background: var(--white);
}
.product-tab:hover { border-color: var(--orange-dark); color: var(--orange-dark); }
.product-tab.active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.product-panel { display: none; }
.product-panel.active { display: block; }

.product-series-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.product-series-label::before,
.product-series-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}
.badge-series {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-dark);
  white-space: nowrap;
  background: var(--gray-50);
  padding: .4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--gray-100);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.products-grid--centered {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 900px;
  margin-inline: auto;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.product-card-img {
  height: 260px;
  overflow: hidden;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-card-img--dark {
  background: var(--blue-dark);
}
.product-card-img--dark i {
  font-size: 4rem;
  color: var(--orange);
}

.product-card--special { border-color: var(--blue-dark); }
.product-card--special .product-card-body { border-top: 3px solid var(--orange); }

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .75rem;
}
.product-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.product-card-body p {
  font-size: .88rem;
  color: var(--gray-500);
  flex: 1;
}
.product-specs {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.product-specs li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--gray-500);
}
.product-specs li i { color: var(--orange); font-size: .75rem; }

/* Accesorios */
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}
.accessory-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.accessory-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.accessory-item i { font-size: 2rem; margin-bottom: .75rem; }
.accessory-item h4 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .35rem; }
.accessory-item p { font-size: .82rem; color: var(--gray-500); }

/* ═══════════════════════════════════════════════════
   APLICACIONES
═══════════════════════════════════════════════════ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.app-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  border-left: 3px solid var(--orange);
}
.app-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.app-card-icon i { font-size: 1.35rem; color: var(--white); }
.app-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .5rem; }
.app-card p { font-size: .85rem; color: var(--gray-500); }

/* Materiales grid — página /aplicaciones */
.apps-materiales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.material-group {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 3px solid var(--orange);
}
.material-group-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.material-group-header i { font-size: 1.25rem; }
.material-group-header h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin: 0; }
.material-group ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.material-group ul li { font-size: .875rem; color: var(--gray-600); padding-left: 1rem; position: relative; }
.material-group ul li::before { content: "·"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
@media (max-width: 768px) { .apps-materiales-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   SERVICIO TÉCNICO
═══════════════════════════════════════════════════ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--orange);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon i { font-size: 1.35rem; color: var(--white); }
.service-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p { font-size: .88rem; color: rgba(255,255,255,.7); }

.service-cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.service-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.85);
}

/* ═══════════════════════════════════════════════════
   POR QUÉ ELEGIRNOS
═══════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why-list li i { font-size: 1.25rem; margin-top: .1rem; flex-shrink: 0; }
.why-list li strong { display: block; font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--blue-dark); }
.why-list li span { font-size: .85rem; color: var(--gray-500); }

.why-stats-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blue-dark);
}
.stat-label {
  display: block;
  font-size: .8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* Por qué ADV — overrides para fondo azul oscuro */
.why-us.section--dark .section-title      { color: var(--white); }
.why-us.section--dark .why-list li strong { color: var(--white); }
.why-us.section--dark .why-list li span   { color: rgba(255,255,255,.75); }
.why-us.section--dark .stat-card          { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.why-us.section--dark .stat-card:hover    { border-color: var(--orange); }
.why-us.section--dark .stat-number        { color: var(--orange-light); }
.why-us.section--dark .stat-label         { color: rgba(255,255,255,.7); }

/* ═══════════════════════════════════════════════════
   FORMULARIO DE CONTACTO (CTA)
═══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title {
  color: var(--white);
  text-align: left;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}
.contact-info > p {
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  transition: color var(--transition);
}
.contact-item:hover { color: var(--orange-light); }
.contact-item i { font-size: 1.1rem; margin-top: .15rem; color: var(--orange-light); flex-shrink: 0; }

.contact-social {
  display: flex;
  gap: .75rem;
}
.contact-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  transition: var(--transition);
}
.contact-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-group label {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(37,78,155,.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229,62,62,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23636366' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-feedback {
  font-size: .9rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-feedback.success {
  display: block;
  background: #F0FFF4;
  border: 1px solid #68D391;
  color: #276749;
}
.form-feedback.error {
  display: block;
  background: #FFF5F5;
  border: 1px solid #FC8181;
  color: #C53030;
}

/* ═══════════════════════════════════════════════════
   MAPA
═══════════════════════════════════════════════════ */
.map-embed-wrap {
  width: 100%;
  line-height: 0;
  border-top: 3px solid var(--orange);
}
.map-embed-wrap iframe { display: block; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  color: var(--gray-300);
}
.footer-brand img { opacity: .92; }

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-nav a {
  font-size: .88rem;
  color: var(--gray-300);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--orange); }

.footer-contact ul { display: flex; flex-direction: column; gap: .85rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .7rem; font-size: .85rem; }
.footer-contact li i { font-size: .9rem; color: var(--orange); margin-top: .15rem; flex-shrink: 0; }
.footer-contact a { color: var(--gray-300); transition: color var(--transition); }
.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding-block: 1.5rem;
  font-size: .8rem;
  color: var(--gray-300);
}

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOTANTE
═══════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .25s ease;
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,.35);
  animation: pulse-wa 3s infinite;
  will-change: transform, opacity;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float:hover::after {
  animation: none;
  opacity: 0;
}
@keyframes pulse-wa {
  0%, 100% { transform: scale(1); opacity: 1; }
  60% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-900);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .85rem;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--gray-900);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

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

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 768px (mobile)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding-block: 3.5rem; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: .5rem 0 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.nav-open { transform: translateX(0); }
  .nav-menu > li { border-bottom: 1px solid var(--gray-100); }
  .nav-menu > li > .nav-link {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    min-height: 44px;
  }
  .nav-link::after { display: none; }
  .nav-item-dropdown > .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
  }
  .nav-menu > li:last-child { border-bottom: none; }
  .nav-link--cta {
    margin: 1rem 1.5rem 0;
    padding: .75rem 2rem;
    text-align: center;
    display: block;
  }

  /* Nav toggle animado */
  body.menu-open { overflow-y: hidden; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats   { gap: 1.5rem; }
  .hero-stat    { min-height: 3.5rem; }

  /* Nosotros brief */
  .nosotros-brief-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .nosotros-brief-stats { gap: 1.5rem; }
  .nosotros-brief-title { font-size: 1.3rem; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .products-grid--centered { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem 1.25rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* WhatsApp */
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 1.25rem; right: 1.25rem; }
}

@media (max-width: 640px) {
  .products-grid            { grid-template-columns: 1fr; }
  .products-grid--centered  { grid-template-columns: 1fr; }
  .accessories-img-grid     { grid-template-columns: 1fr; }
  .apps-materiales-grid     { grid-template-columns: 1fr; }
  .hero-stats               { gap: 1.25rem; }
  .nosotros-brief-stats     { flex-wrap: wrap; gap: 1.25rem; }
  .contact-form-wrap        { padding: 1.5rem 1rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .stat-number { font-size: 1.75rem; }
  .why-stats-block { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   PRODUCT CARD ACTIONS (ficha técnica + solicitar)
═══════════════════════════════════════════════════ */
.product-card-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-download {
  border: 2px solid var(--gray-300);
  color: var(--gray-500);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-download:hover {
  border-color: #E53E3E;
  color: #E53E3E;
  transform: translateY(-1px);
}
.btn-download i { color: #E53E3E; }

/* ═══════════════════════════════════════════════════
   ACCESORIOS CON IMÁGENES
═══════════════════════════════════════════════════ */
.accessories-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.accessory-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.accessory-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.accessory-card-img {
  height: 260px;
  background: var(--gray-50);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accessory-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform .4s ease;
}
.accessory-card:hover .accessory-card-img img { transform: scale(1.05); }

.accessory-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
}
.accessory-img-placeholder i {
  font-size: 3rem;
  color: var(--blue-light);
  opacity: .5;
}

.accessory-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.accessory-card-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.accessory-card-body p {
  font-size: .83rem;
  color: var(--gray-500);
  flex: 1;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════
   VIDEOS
═══════════════════════════════════════════════════ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.video-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-900);
}
.video-embed-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-embed-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-embed-caption {
  padding: 1rem 1.25rem;
  background: var(--gray-900);
}
.video-embed-caption strong {
  display: block;
  font-family: var(--font-head);
  font-size: .9rem;
  color: var(--white);
  margin-bottom: .25rem;
}
.video-embed-caption span {
  font-size: .8rem;
  color: var(--gray-300);
}

.video-placeholder {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  background: var(--gray-50);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--gray-500);
}
.video-placeholder i { font-size: 3rem; color: #FF0000; opacity: .5; }
.video-placeholder p { font-size: .9rem; }

.video-embed--pending .video-embed-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
  padding-bottom: 0;
  height: 180px;
  background: #111;
}
.video-embed--pending .video-embed-frame i {
  font-size: 2.75rem;
  color: #FF0000;
  opacity: .4;
}
.video-embed--pending .video-embed-frame span {
  font-size: .75rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.video-placeholder code {
  background: var(--gray-100);
  padding: .2rem .5rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--blue-dark);
}

/* ═══════════════════════════════════════════════════
   CLIENTES
═══════════════════════════════════════════════════ */
/* marquee wrapper */
.clientes-marquee {
  overflow: hidden;
  position: relative;
  margin-top: 1.5rem;
  padding: 0.5rem 0;
}
.clientes-marquee::before,
.clientes-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.clientes-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50) 30%, transparent);
}
.clientes-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50) 30%, transparent);
}

/* scrolling track — duplicado por JS para loop seamless */
.clientes-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: clientes-scroll 36s linear infinite;
  will-change: transform;
}
.clientes-marquee:hover .clientes-track {
  animation-play-state: paused;
}

@keyframes clientes-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* card de cada cliente — tamaño fijo para uniformidad */
.cliente-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  width: 210px;
  height: 142px;
  flex-shrink: 0;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.cliente-item:hover {
  border-color: var(--blue-light);
  box-shadow: 0 4px 14px rgba(26,58,110,.10);
}

/* área de imagen — todos los logos en el mismo bounding box */
.cliente-item img {
  display: block;
  width: 190px;
  height: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: filter .3s ease, opacity .3s ease;
}
.cliente-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.cliente-nombre {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue-dark);
}

/* ═══════════════════════════════════════════════════
   FINANCIACIÓN
═══════════════════════════════════════════════════ */
.section--financing {
  background: var(--blue-dark);
  color: var(--white);
}
.section--financing .section-title { color: var(--white); }
.section--financing .section-subtitle { color: rgba(255,255,255,.75); }

.financing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.financing-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition);
}
.financing-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.financing-card--highlight {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(240,90,26,.4);
  transform: translateY(-6px);
}
.financing-card--highlight:hover { transform: translateY(-10px); }

.financing-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.financing-card-top i { font-size: 1.5rem; }
.financing-badge {
  background: rgba(255,255,255,.25);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .25rem .75rem;
  border-radius: 100px;
}

.financing-cuotas {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: .25rem;
  color: rgba(255,255,255,.85);
}
.financing-cuotas span {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.financing-tipo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.9);
}
.financing-card--highlight .financing-tipo { color: var(--white); }

.financing-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin-bottom: .75rem;
}
.financing-bancos {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: center;
}
.financing-bancos li {
  background: rgba(255,255,255,.15);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 100px;
  color: rgba(255,255,255,.9);
}

.financing-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.financing-nota {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  max-width: 600px;
}
.financing-vigencia {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.financing-vigencia i { color: var(--orange-light); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — nuevas secciones
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .accessories-img-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .financing-grid { grid-template-columns: 1fr; }
  .financing-card--highlight { transform: none; }
  .product-card-actions { flex-direction: column; }
  .product-card-actions .btn { width: 100%; justify-content: center; }
  .testimonios-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   TESTIMONIOS
═══════════════════════════════════════════════════ */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}
.testimonio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}

.testimonio-quote i {
  font-size: 1.75rem;
  color: var(--orange);
  opacity: .6;
}

.testimonio-texto {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.testimonio-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonio-autor strong {
  display: block;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.testimonio-autor span {
  font-size: .78rem;
  color: var(--gray-500);
}

/* ── Google Reviews CTA ── */
.testimonios-google-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tg-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tg-google-icon {
  font-size: 1.75rem;
  color: #4285F4;
}

.tg-stars {
  font-size: 1.25rem;
  color: #FBBC04;
  letter-spacing: 0.05em;
  line-height: 1;
}

.tg-label {
  font-size: 0.85rem;
  color: var(--gray-mid);
  font-family: var(--font-head);
}

.tg-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--blue-dark);
  border-radius: var(--radius-md);
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}
.btn-google-reviews:hover {
  background: var(--blue-dark);
  color: var(--white);
}


@media (max-width: 640px) {
  .testimonios-google-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════ */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--blue-light); }

.faq-pregunta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-900);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.faq-pregunta:hover { color: var(--blue-dark); background: var(--gray-50); }
.faq-item.open .faq-pregunta { color: var(--blue-dark); }

.faq-icon {
  font-size: .8rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-respuesta {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-respuesta {
  max-height: 800px;
  padding: 0 1.5rem 1.25rem;
}
.faq-respuesta p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.faq-respuesta strong { color: var(--gray-700); }

.link-inline {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-inline:hover { color: #882E06; }

/* ── Sistema de íconos SVG personalizados ADV ────────────────────────────── */
.adv-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -.125em;   /* alineación idéntica a Font Awesome */
  overflow: visible;
  flex-shrink: 0;
}
/* En la sección "otros" de accesorios, iguala el tamaño y color del <i> */
.otro-item .adv-icon {
  font-size: 1.25rem;
  color: var(--orange);
}

/* ── Focus visible — accesibilidad de teclado ────────────────────────────── */
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 98, 0, .2);
}
.btn-primary:focus-visible,
.btn-accent:focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .4);
}
.nav-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}
.faq-pregunta:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
  background: var(--gray-50);
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 1px;
}

/* ── Font-size 16px en mobile — previene zoom en iOS ─────────────────────── */
@media (max-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }
}

/* ── prefers-reduced-motion — respeto por preferencias del usuario ─────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .whatsapp-float::after { animation: none !important; }
  .clientes-track { animation-play-state: paused !important; }
}
