/* ==============================
   Variables y reset básico
   ============================== */
:root {
  --brand: #0A2A7A;
  --brand-2: #0f4fe3;
  --ok: #198754;
  --warn: #f59e0b;
  --info: #0ea5e9;
  --danger: #dc3545;
  --bg: #f6f8fc;
  --card: #ffffff;
  --muted: #6b7280;
  --ring: rgba(15,79,227,.15);
  --radius: 14px;
  --shadow: 0 6px 24px rgba(2,10,38,0.06), 0 2px 8px rgba(2,10,38,0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* ==============================
   Body / tipografía base / fondo
   ============================== */
body {

  margin: 0;
  color: #1f2a44;
  background: var(--bg);
  font: 16px/1.2 "Urbanist", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;




  /* Fondo con overlay sutil + imagen corporativa */
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.92)),
    url("images/os_logo_bg3.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

/* ==============================
   Elementos generales
   ============================== */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==============================
   Contenedores / Layout
   ============================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

header {
  padding: 32px 0 8px;
}

/* ==============================
   Marca (header: logo + títulos)
   ============================== */
.brand {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.brand__logo {
  width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.brand__title {
  margin: 0;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .2px;
  line-height: 1.15;
}

.brand__subtitle {
  margin: 6px 0 0;
  color: #1f2a44;
  font-weight: 600;
}

/* ==============================
   CTA principal
   ============================== */
.cta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--brand-2);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 8px 30px rgba(15,79,227,.24),
    0 3px 10px rgba(15,79,227,.18);
}

.btn:focus {
  outline: 3px solid var(--ring);
}

.btn img {
  width: 28px;
  height: 28px;
}

/* ==============================
   Buscador
   ============================== */
.search {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px 0 4px;
  margin-top: 8px;
  background: transparent;
}

.search__box {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search__box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  background: transparent;
}

/* ==============================
   Secciones (Acordeones)
   ============================== */
details.section {
  margin-top: 18px;
  background: transparent;
  border: none;
}

details.section > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;

  /* TITULOS DE LAS SECCIONES (p.ej. ENLACES OCEAN SPRAY) */
  font-weight: 800;
  color: #0b132b;
}

details.section[open] > summary {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

details.section > summary::-webkit-details-marker {
  display: none;
}

/* Badges de sección (si se usan) */
.badge {
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}

.b-ok     { background: var(--ok); }
.b-warn   { background: var(--warn); }
.b-info   { background: var(--info); }
.b-danger { background: var(--danger); }
.b-brand  { background: var(--brand-2); }

/* ==============================
   Contenido de sección / Grilla
   ============================== */
.section__content {
  padding: 18px;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ==============================
   Cards
   ============================== */
.card-link {
  display: block;
}

.card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  transition: transform .08s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 34px rgba(2,10,38,0.12),
    0 4px 12px rgba(2,10,38,0.1);
  border-color: #d1d5db;
}

.card__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), #6aa3ff);
  flex: 0 0 auto;
  overflow: hidden;
}

.card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.card__title {
  margin: 0 0 12px 0;
  font-weight: 650;
  line-height: 1.18;
}

.card__desc {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.card__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brand-2);
  font-weight: 700;
}

.card__go .fa-arrow-right {
  transition: transform .12s;
}

.card:hover .card__go .fa-arrow-right {
  transform: translateX(4px);
}

/* ==============================
   Tags utilitarios (si se usan)
   ============================== */
.tag {
  font-size: .75rem;
  color: #1f2a44;
  background: #1f2a44;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ==============================
   Footer
   ============================== */
footer {
  margin: 48px 0 16px;
  text-align: center;
  color: #94a3b8;
  font-size: .9rem;
}

/* ==============================
   Accesibilidad
   ============================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
``