/* ============================================================
   TECNOS.COM.MX — Estilos Globales v3
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --bg-dark:      #2C4A64;
  --bg-mid:       #355771;
  --bg-card:      #33526c;
  --blue-corp:    #2C4A64;
  --blue-accent:  #3d9be9;
  --blue-hover:   #2d80c9;
  --white:        #ffffff;
  --gray-corp:    #5D5D5D;
  --text-muted:   #d6e1ea;
  --border:       rgba(61, 155, 233, 0.18);
  --green-wa:     #25d366;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 4px 24px rgba(0,0,0,0.35);
  --transition:   0.25s ease;
  --font:         'Epilogue', 'Segoe UI', sans-serif;
  --max-w:        1140px;
}

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

/* ── Tipografía ───────────────────────────────────────────── */
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.1rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }
p  { color: var(--text-muted); }

/* ── Layout helpers ───────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 60px 0; }
.section-alt { background-color: var(--bg-mid); }
.text-center { text-align: center; }

/* ── Section header ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p  { max-width: 540px; margin: 0 auto; font-size: 1rem; }
.eyebrow {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 10px;
}

/* ── Botones ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61,155,233,0.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--blue-accent);
  color: var(--blue-accent);
}
.btn-outline:hover {
  background: var(--blue-accent);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-wa {
  background: var(--green-wa);
  color: var(--white);
}
.btn-wa:hover {
  background: #1da851;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.83rem; }

/* ── Navegación ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(93,93,93,0.15);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { background: #ffffff; box-shadow: 0 2px 12px rgba(44,74,100,0.10); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 60px; width: auto; background: transparent; padding: 0; border-radius: 0; }
.nav-logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: #2C4A64;
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: #5D5D5D; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-corp);
  border-radius: 7px;
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover {
  color: var(--blue-corp);
  background: rgba(44,74,100,0.08);
}
.nav-link.active {
  color: #ffffff;
  background: var(--blue-corp);
  font-weight: 600;
}
.nav-link.active::after {
  display: none;
}
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link::after {
  content: ' ▾';
  font-size: 0.68rem;
  opacity: 0.7;
  position: static;
  width: auto; height: auto;
  background: none;
}
.nav-dropdown > .nav-link.active::after {
  content: ' ▾';
  position: static;
  width: auto; height: auto;
  background: none;
  bottom: auto; left: auto; right: auto;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(93,93,93,0.15);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 8px 6px 6px;
  box-shadow: 0 8px 24px rgba(44,74,100,0.15);
}
/* Puente invisible para no perder el hover al mover el cursor */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 13px;
  font-size: 0.86rem;
  color: var(--gray-corp);
  border-radius: 6px;
  transition: all var(--transition);
}
.dropdown-menu a:hover { color: var(--blue-corp); background: rgba(44,74,100,0.08); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue-corp);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero principal ───────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 40px;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(44,74,100,0.45) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(61,155,233,0.12) 0%, transparent 55%),
    var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233d9be9' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; max-width: 660px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,155,233,0.14);
  border: 1px solid rgba(61,155,233,0.3);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-accent);
  margin-bottom: 14px;
}
.hero h1 { margin-bottom: 12px; }
.hero h1 span { color: var(--blue-accent); }
.hero-copy { max-width: 620px; margin-bottom: 24px; }
.hero-copy p {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}
.hero-copy-inline p { line-height: 1.85; }
.hero-inline-bullets {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 6px 0;
  white-space: nowrap;
}
.hero-inline-bullets span {
  display: inline-flex;
  align-items: center;
  color: var(--blue-accent);
  font-weight: 600;
  font-size: 0.97em;
}
.hero-inline-bullets span + span::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  background: rgba(61,155,233,0.45);
  margin: 0 14px;
  vertical-align: middle;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  animation: bounce 2.5s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--blue-accent), transparent);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(61,155,233,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(61,155,233,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--blue-accent);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; color: var(--white); }
.card p  { font-size: 0.9rem; margin-bottom: 14px; }
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { color: var(--white); gap: 10px; }

/* ── Stats ────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--bg-card);
  padding: 24px 18px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-label { font-size: 0.84rem; color: var(--text-muted); }

/* ── Grid soluciones ─────────────────────────────────────── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Por qué TECNOS ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.why-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(61,155,233,0.1);
  border-radius: 10px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h4 { color: var(--white); margin-bottom: 4px; font-size: 0.92rem; }
.why-item p  { font-size: 0.85rem; margin: 0; }

/* ── Logos de clientes ───────────────────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.client-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(14px, 1.8vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.client-logo:hover { border-color: rgba(61,155,233,0.35); }
.client-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.78;
  transition: opacity var(--transition), transform var(--transition);
  display: block;
}
.client-logo:hover img { opacity: 1; transform: scale(1.02); }

/* ── CTA Band ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-corp) 0%, #3f6686 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 6px; font-size: 1.5rem; }
.cta-band p  { color: rgba(255,255,255,0.7); margin: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ── Hero páginas internas ────────────────────────────────── */
.page-hero {
  padding: 108px 0 24px;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(44,74,100,0.4) 0%, transparent 60%),
    var(--bg-dark);
  text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p  { font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ── Primer .section tras hero interno (menos espacio) ───── */
.page-hero + .section { padding-top: 16px; }

/* ── Productos / features grid ────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: rgba(61,155,233,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.product-tag {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  background: rgba(61,155,233,0.1);
  border-radius: 4px;
  padding: 5px 10px;
  margin-bottom: 10px;
}
.product-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--white); }
.product-card p  { font-size: 0.86rem; margin-bottom: 14px; }
.feature-list    { display: flex; flex-direction: column; gap: 7px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: '✓';
  color: var(--blue-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Tabla comparativa ────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  background: var(--blue-corp);
  color: var(--white);
  padding: 13px 18px;
  text-align: left;
  font-size: 0.88rem;
}
.compare-table th:first-child { border-radius: var(--radius) 0 0 0; }
.compare-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.compare-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-muted);
}
.compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.compare-table td:first-child { font-weight: 600; color: var(--white); }
.check { color: var(--blue-accent); font-weight: 700; }
.cross { color: #e05a5a; }

/* ── Formulario de contacto ───────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(61,155,233,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-text h4 { color: var(--white); margin-bottom: 3px; font-size: 0.9rem; }
.contact-item-text p, .contact-item-text a {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-item-text a:hover { color: var(--blue-accent); }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group select option { background: var(--bg-mid); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue-accent); }
.form-group textarea { min-height: 110px; resize: vertical; }

/* ── Descargas ────────────────────────────────────────────── */
.downloads-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: var(--white);
}
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}
.download-card:hover { border-color: rgba(61,155,233,0.4); transform: translateY(-3px); }
.pdf-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(61, 155, 233, 0.12);
  border: 1px solid rgba(61, 155, 233, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
}
.pdf-icon svg { width: 22px; height: 22px; }
.download-info { flex: 1; min-width: 0; }
.download-cat {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 5px;
}
.download-info h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 5px; }
.download-info p  { font-size: 0.8rem; margin-bottom: 12px; }
.download-info .btn { font-size: 0.78rem; padding: 6px 12px; }
.disclaimer-box {
  background: rgba(61,155,233,0.06);
  border: 1px solid rgba(61,155,233,0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.no-downloads {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

/* ── Soporte remoto banner ────────────────────────────────── */
.support-banner {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-mid));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}
.support-banner-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(61,155,233,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
}
.support-banner-icon svg { width: 28px; height: 28px; }
.support-banner h3 { color: var(--white); margin-bottom: 5px; }
.support-banner p  { font-size: 0.86rem; margin-bottom: 12px; }

/* ── Valores / Nosotros ───────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover { border-color: rgba(61,155,233,0.4); transform: translateY(-3px); }
.value-icon {
  width: 48px;
  height: 48px;
  background: rgba(61,155,233,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--blue-accent);
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h4 { color: var(--white); margin-bottom: 6px; font-size: 0.9rem; }
.value-card p  { font-size: 0.83rem; }

/* ── WhatsApp flotante ────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 54px;
  height: 54px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
  cursor: pointer;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg   { width: 28px; height: 28px; fill: #fff; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: #ffffff;
  border-top: 1px solid rgba(93,93,93,0.15);
  padding: 24px 0 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.84rem; margin-top: 6px; max-width: 230px; color: var(--gray-corp); }
.footer-logo img { height: 42px; width: auto; background: transparent; padding: 0; border-radius: 0; }
.footer-logo-fallback { font-size: 1.2rem; font-weight: 800; color: var(--blue-corp); }
.footer-logo-fallback span { color: var(--gray-corp); }
.footer-col h5 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-corp); margin-bottom: 10px; }
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col a  { font-size: 0.84rem; color: var(--gray-corp); transition: color var(--transition); }
.footer-col a:hover { color: var(--blue-corp); }
.footer-bottom {
  border-top: 1px solid rgba(93,93,93,0.12);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--gray-corp);
}
.social-links { display: flex; gap: 8px; margin-top: 8px; }
.social-link {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(93,93,93,0.25);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-corp);
  font-size: 0.82rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover { border-color: var(--blue-corp); color: var(--blue-corp); }
.social-link svg { width: 16px; height: 16px; }

/* ── Animaciones ──────────────────────────────────────────── */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Utilities ────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0 !important; }
.text-accent { color: var(--blue-accent); }
.text-white  { color: var(--white) !important; }
.fw-bold     { font-weight: 700; }

/* ── Download card action buttons ────────────────────────── */
.download-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.download-btns .btn { font-size: 0.78rem; padding: 6px 12px; }

/* ── PDF Preview Modal ────────────────────────────────────── */
#pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#pdf-modal.open { display: flex; }
.pdf-modal-box {
  width: 100%;
  max-width: 960px;
  height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  gap: 12px;
}
.pdf-modal-title { color: var(--white); margin: 0; font-size: 0.95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.pdf-modal-close:hover { color: var(--white); background: rgba(255,255,255,0.08); }
#pdf-modal-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
}

/* ── Nota disclaimer (al pie de descargas) ────────────────── */
.disclaimer-note {
  margin-top: 36px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 0.75;
}
.disclaimer-note svg { flex-shrink: 0; margin-top: 1px; color: var(--text-muted); }

/* ── Sección clientes (nosotros) ──────────────────────────── */
.clients-auto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  justify-items: stretch;
}
.clients-auto-grid .client-logo { width: 100%; }

/* ── Aviso privacidad ─────────────────────────────────────── */
.privacy-content { max-width: 740px; margin: 0 auto; }
.privacy-content h3 { color: var(--white); margin: 28px 0 10px; font-size: 1rem; }
.privacy-content h3:first-child { margin-top: 0; }
.privacy-content p, .privacy-content li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.privacy-content ul { list-style: disc; padding-left: 22px; }
.privacy-content ul li { margin-bottom: 5px; }

.footer-bottom a { color: var(--gray-corp); }
.footer-bottom a:hover { color: var(--blue-corp); }
.footer-col li, .footer-col li a, .footer-brand, .footer-brand p { color: var(--gray-corp); }

.home-clients-grid {
  max-width: 860px;
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.home-clients-grid .client-logo {
  padding: 12px;
}
.home-clients-more a {
  color: var(--blue-accent);
  font-weight: 600;
  text-transform: lowercase;
}
.home-clients-more a:hover {
  color: var(--white);
}
