/* =========================================
   OFIT - /mayoristas2/ (Cotización de CCTV, Control de Acceso y Redes)
   y /gracias-mayoristas/. Base "Noche" de /css/portada.css
   y caja de formulario .m-form de /css/mayorista.css
   ========================================= */

/* HERO */
.co-hero { position: relative; overflow: hidden; padding: 110px 0 120px; min-height: 560px; display: flex; align-items: center;
    background: url(/img/seguridad-electronica/hero.jpg) center / cover no-repeat; }
.co-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,21,36,.95) 0%, rgba(17,21,36,.84) 45%, rgba(18,46,95,.45) 100%); }
.co-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(0deg, var(--noche), transparent); }
.co-hero .n-wrap { position: relative; z-index: 2; width: 100%; }
.co-hero .n-wrap > div { max-width: 760px; }
.co-hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; font-weight: 300; letter-spacing: -1.2px; color: #fff; margin: 20px 0 0; }
.co-hero h1 span { display: block; font-weight: 900; background: linear-gradient(180deg, #00B6ED, #1F5FA8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.co-partner { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: var(--gris); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.co-partner img { height: 38px; width: auto; }

.co-acento { background: linear-gradient(180deg, #00B6ED, #1F5FA8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.co-link { color: var(--celeste); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.co-link:hover { color: #7fdcf7; }

/* ESCENARIOS: 3 tarjetas con foto y lista */
.co-escenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 50px; }
.co-esc { background: var(--noche-2); border: 1px solid var(--borde); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.co-esc:hover { border-color: rgba(0,182,237,.5); transform: translateY(-4px); }
.co-esc .foto { aspect-ratio: 16 / 10; background: #0b0e19; position: relative; }
.co-esc .foto::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #00B6ED, #122E5F); }
.co-esc .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-esc .cuerpo { padding: 24px 22px 26px; flex: 1; }
.co-esc h3 { font-size: 19px; font-weight: 800; color: #fff; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--borde); display: flex; gap: 10px; align-items: center; }
.co-esc h3 i { color: var(--celeste); font-size: 16px; }
.co-esc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.co-esc li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--texto); line-height: 1.5; }
.co-esc li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--celeste); }
.co-esc li strong { color: #fff; font-weight: 600; }

/* CONTACTO: texto + caja de Kommo (.m-form) */
.co-contacto .n-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.co-pasos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.co-pasos li { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.03); border: 1px solid var(--borde); border-radius: 14px; padding: 14px 16px; color: #e6e9f2; font-size: 15px; }
.co-pasos .num { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--celeste); color: var(--noche); font-weight: 900; display: grid; place-items: center; font-size: 14px; }
.co-privacidad { margin: 22px 0 0; color: var(--gris); font-size: 13px; display: flex; gap: 8px; align-items: center; }

/* RESPALDO: fondo crema de la marca */
.co-respaldo { background: #F2EEE7; }
.co-respaldo .n-titulo { color: var(--noche); }
.co-respaldo .n-sub { color: #475569; }
.co-beneficios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.co-ben { background: #fff; border: 1px solid rgba(17,21,36,.07); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 6px 22px rgba(17,21,36,.05); }
.co-ben .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,182,237,.12); color: #0096c4; display: grid; place-items: center; font-size: 20px; }
.co-ben h3 { font-size: 16px; font-weight: 800; color: #0b1329; margin: 0 0 6px; }
.co-ben p { font-size: 14.5px; color: #334155; margin: 0; line-height: 1.45; }

/* GRACIAS */
.co-gracias { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.co-gracias .ok { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 22px; border: 1px dashed rgba(0,182,237,.6); background: rgba(0,182,237,.1); color: var(--celeste); display: grid; place-items: center; font-size: 32px; }
.co-gracias h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: #fff; margin: 14px 0 12px; }
.co-gracias p { color: var(--texto); max-width: 520px; margin: 0 auto; font-size: 17px; }
.co-gracias .n-acciones { justify-content: center; }

@media (max-width: 1080px) {
    .co-escenarios { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
    .co-beneficios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .co-contacto .n-wrap { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
    .co-hero { min-height: 0; padding: 60px 0 80px; }
    .co-hero::before { background: linear-gradient(180deg, rgba(17,21,36,.78), rgba(17,21,36,.94)); }
    .co-beneficios { grid-template-columns: 1fr; }
    .co-ben { flex-direction: row; align-items: flex-start; }
    .co-ben .ic { flex-shrink: 0; }
}
