/* =====================================================================
   TECNO INFORMÁTICA · Sección Soporte
   Usa los colores de styles.css (--primary, --text, etc.)
   ===================================================================== */

.support { overflow: hidden; }
.support-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(0,118,206,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,118,206,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 75%);
}
.support > .container { position: relative; z-index: 1; }

.support-head { max-width: 820px; }
.support-head h2 { text-wrap: balance; }
.support-modes { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.support-modes li {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--primary-dark); background: var(--primary-soft);
  border: 1px solid rgba(0,118,206,.2);
}
.support-modes .ico { width: 16px; height: 16px; }

/* ---------- Tarjetas de servicio ---------- */
.support-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: srv; }
.srv {
  position: relative; display: flex; flex-direction: column; padding: 24px 22px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; isolation: isolate; overflow: hidden;
}
.srv::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at 20% 0%, rgba(0,118,206,.10), transparent 60%);
}
.srv:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow); }
.srv:hover::before { opacity: 1; }
.srv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.srv-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-primary);
  transition: transform .4s var(--ease);
}
.srv-ico .ico { width: 26px; height: 26px; }
.srv:hover .srv-ico { transform: rotate(-6deg) scale(1.06); }
.srv-n { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(0,118,206,.45); }
.srv h3 { font-size: 1.06rem; line-height: 1.3; margin: 0 0 8px; }
.srv p { color: var(--text-muted); font-size: .92rem; margin: 0 0 16px; }
.srv-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-weight: 600; font-size: .9rem; color: var(--primary);
}
.srv-cta .ico { width: 18px; height: 18px; }
.srv-cta .arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.srv-cta:hover { color: var(--primary-hover); }
.srv-cta:hover .arrow { transform: translateX(4px); }

/* ---------- Mensaje final ---------- */
.support-note {
  position: relative; margin-top: clamp(36px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  padding: clamp(32px, 5vw, 56px); color: #fff;
  background: linear-gradient(120deg, #003A6B 0%, var(--primary-hover) 45%, var(--primary) 100%);
  display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center;
}
.support-note-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.support-note-deco .big {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(7rem, 20vw, 15rem); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.16); white-space: nowrap; will-change: transform;
}
.support-note-deco .orb { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.support-note-deco .orb-a { width: 320px; height: 320px; left: -80px; top: -120px; background: rgba(124,196,255,.35); }
.support-note-deco .orb-b { width: 260px; height: 260px; right: 18%; bottom: -140px; background: rgba(0,179,136,.28); }
.support-note .eyebrow { color: var(--on-dark-accent); }
.support-note-msg { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 12px; max-width: 760px; text-wrap: pretty; }
.support-note-close { color: rgba(255,255,255,.88); font-size: 1.05rem; margin: 0 0 20px; max-width: 700px; }
.support-seal { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.support-seal li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.support-seal li:first-child { background: #fff; color: var(--primary-hover); border-color: #fff; }
.support-seal .ico { width: 16px; height: 16px; }
.support-note-cta { display: grid; gap: 10px; justify-items: stretch; min-width: 240px; }
.btn-light { background: #fff; color: var(--primary-hover); }
.btn-light:hover { background: #EAF4FC; box-shadow: 0 10px 26px -12px rgba(0,0,0,.45); }
.btn-line-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-line-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.support-note-cta small { text-align: center; color: rgba(255,255,255,.75); font-size: .8rem; }

/* Enlace "Soporte técnico" del hero */
.hero-trust-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px dashed rgba(0,118,206,.45); transition: color .2s, border-color .2s; }
.hero-trust-link:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .support-note { grid-template-columns: 1fr; }
  .support-note-cta { min-width: 0; grid-auto-flow: row; }
}
@media (max-width: 640px) {
  .support-grid { grid-template-columns: 1fr; gap: 12px; }
  .srv { padding: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  .srv-top { grid-row: span 3; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; margin: 0; }
  .srv-ico { width: 46px; height: 46px; }
  .srv-n { font-size: 1.1rem; }
  .srv p { margin-bottom: 10px; }
  .support-note { padding: 28px 20px; }
  .support-note-deco .big { font-size: 8rem; top: auto; bottom: -10px; transform: none; }
  .support-note-cta .btn { width: 100%; }
}

/* =====================================================================
   Sección MARCAS (logos en assets/img/marcas.webp)
   ===================================================================== */
.brands-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
.brands-head { margin: 0 auto; max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.brands-head .eyebrow { justify-content: center; }
.brands-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-wrap: balance; }
.brands-warranty {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 16px; padding: 10px 16px; border-radius: 999px;
  font-weight: 700; color: var(--primary-hover); background: var(--primary-soft); border: 1px solid rgba(0,118,206,.25);
}
.brands-warranty .ico { width: 20px; height: 20px; color: var(--primary); }
.brands-head .section-sub { margin-bottom: 20px; }
.brands-card {
  position: relative; margin: 0; padding: clamp(18px, 3vw, 36px); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 24px 60px -30px rgba(0, 40, 90, .35);
}
.brands-card img { display: block; width: 100%; max-width: none; height: auto; margin: 0; position: relative; z-index: 1; will-change: transform; }
.brands-glow {
  position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(0,118,206,.08), transparent 45%), radial-gradient(circle at 75% 70%, rgba(0,179,136,.07), transparent 45%);
  will-change: transform;
}
.brands-shine {
  position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-18deg); opacity: 0;
}
@media (max-width: 640px) {
  .brands-card { padding: 14px; }
}
