/**
 * estilos.css
 * Created: 2026-10-17 02:00
 * Last Modified: 2026-10-17
 * Purpose: Fresh design for the GMR Combustibles static site (Bootstrap 5 base)
 *
 * CHANGELOG:
 * Created: 2026-10-17 New look - dark/orange brand from hero-fondo, transparent header over hero,
 *                    service cards, allies band, contact strip, dark footer with contact data
 */

:root {
  --naranja: #ff8a00;
  --naranja-oscuro: #e07400;
  --negro: #0f0f10;
  --gris-oscuro: #1b1b1d;
  --gris-texto: #5b5b63;
  --claro: #f6f6f7;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #232326;
  background: #fff;
}
h1, h2, h3, h4, .marca { font-family: "Barlow", "Inter", sans-serif; }

/* ---------- Header ---------- */
.encabezado {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  transition: background .25s ease, box-shadow .25s ease;
}
.encabezado.solido,
.encabezado.siempre-solido { background: rgba(15, 15, 16, .96); box-shadow: 0 2px 16px rgba(0,0,0,.25); }
.encabezado .navbar { padding: 1rem 0; }
.marca { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.marca:hover { color: #fff; }
.marca img { height: 44px; width: auto; }
.encabezado .nav-link { color: rgba(255,255,255,.85); font-weight: 500; padding: .5rem 1rem !important; }
.encabezado .nav-link:hover,
.encabezado .nav-link.active { color: var(--naranja); }
.encabezado .navbar-toggler { border-color: rgba(255,255,255,.4); }
.encabezado .navbar-toggler-icon { filter: invert(1); }
@media (max-width: 991.98px) {
  .encabezado .navbar-collapse { background: rgba(15,15,16,.97); margin-top: .75rem; padding: .5rem 1rem; border-radius: .5rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.15) 100%),
    var(--negro) url("/assets/img/hero-fondo.jpg") center / cover no-repeat;
  padding: 7rem 0 4rem;
}
.hero .eyebrow { color: var(--naranja); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 800; line-height: 1.05; margin: 1rem 0 1.25rem; }
.hero h1 span { color: var(--naranja); }
.hero p.lead { color: rgba(255,255,255,.8); max-width: 34rem; font-size: 1.2rem; }

.btn-naranja {
  background: var(--naranja); color: #111; border: 0; font-weight: 700;
  padding: .9rem 2rem; border-radius: 999px;
}
.btn-naranja:hover { background: var(--naranja-oscuro); color: #111; }
.btn-contorno {
  border: 2px solid rgba(255,255,255,.6); color: #fff; font-weight: 600;
  padding: .8rem 1.8rem; border-radius: 999px;
}
.btn-contorno:hover { background: #fff; color: #111; }

.datos-hero { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 2.5rem; }
.datos-hero div { border-left: 3px solid var(--naranja); padding-left: .9rem; }
.datos-hero strong { display: block; font-family: "Barlow", sans-serif; font-size: 1.6rem; }
.datos-hero span { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ---------- Inner page banner ---------- */
.banner {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10,10,10,.9), rgba(10,10,10,.6)),
    var(--negro) url("/assets/img/hero-fondo.jpg") center 40% / cover no-repeat;
  padding: 9rem 0 3.5rem;
}
.banner h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 0; }
.banner .breadcrumb { margin: .75rem 0 0; }
.banner .breadcrumb a { color: var(--naranja); text-decoration: none; }
.banner .breadcrumb-item.active,
.banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.7); }

/* ---------- Sections ---------- */
.seccion { padding: 5.5rem 0; }
.seccion-clara { background: var(--claro); }
.etiqueta { color: var(--naranja); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; }
.titulo { font-weight: 800; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: .4rem 0 1rem; }
.texto-suave { color: var(--gris-texto); }

.tarjeta {
  background: #fff; border-radius: 1rem; padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.06); height: 100%;
  border-top: 4px solid var(--naranja);
}
.tarjeta .icono {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,138,0,.12); color: var(--naranja); font-size: 1.6rem; margin-bottom: 1.1rem;
}
.tarjeta h3 { font-size: 1.35rem; font-weight: 700; }

.caja-logo {
  background: #fff; border-radius: 1rem; padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: center;
}
.caja-logo img { max-width: 100%; height: auto; max-height: 140px; }

/* ---------- CTA strip ---------- */
.franja-cta { background: var(--naranja); color: #111; padding: 3rem 0; }
.franja-cta h2 { font-weight: 800; margin: 0; }
.btn-oscuro { background: var(--negro); color: #fff; font-weight: 700; padding: .9rem 2rem; border-radius: 999px; border: 0; }
.btn-oscuro:hover { background: #2a2a2d; color: #fff; }

/* ---------- Contact ---------- */
.dato-contacto { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.dato-contacto .icono { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,138,0,.12); color: var(--naranja); font-size: 1.3rem; }
.dato-contacto h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; }
.dato-contacto p, .dato-contacto a { margin: 0; color: var(--gris-texto); text-decoration: none; }
.dato-contacto a:hover { color: var(--naranja); }
.mapa { width: 100%; min-height: 420px; border: 0; border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.08); }

/* ---------- Corporate ---------- */
.qr { border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.08); max-width: 260px; width: 100%; height: auto; }

/* ---------- Footer ---------- */
.pie { background: var(--negro); color: rgba(255,255,255,.7); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.pie h4 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.pie a { color: rgba(255,255,255,.75); text-decoration: none; }
.pie a:hover { color: var(--naranja); }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { margin-bottom: .5rem; }
.pie .marca img { height: 40px; }
.pie .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; }

/* Skip link */
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 2000; background: #fff; color: #111; padding: .5rem 1rem; }
