/* ==========================================================
   Peladosport · estilo automovilismo argentino
   Bootstrap 3.4.1 (grilla de 12 columnas con float + width)
   Sin Flexbox ni CSS Grid.
   ========================================================== */

:root {
  --negro: #0b0b0b;
  --gris: #1a1a1a;
  --gris-2: #262626;
  --rojo: #d71920;
  --amarillo: #ffd200;
  --celeste: #74acdf;   /* celeste de la bandera argentina */
  --blanco: #ffffff;
  --texto: #222;
}

html, body { margin: 0; padding: 0; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--texto);
  background: #f2f2f2;
  line-height: 1.55;
}
h1, h2, h3, .ps-logo, .ps-etiqueta, .ps-menu-cab {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .5px;
}
a { color: var(--rojo); }
a:hover, a:focus { color: #a00e14; text-decoration: none; }

/* ==========================================================
   GRILLA DE 12 COLUMNAS (propia, sin Flexbox ni CSS Grid)
   Nomenclatura: col-8 col-12-medium col-12-xsmall
   Desktop first: col-N base; col-N-<bp> aplica hasta ese ancho.
   xlarge<=1680 · large<=1280 · medium<=980 · small<=736 · xsmall<=480
   .row contiene los floats con clearfix; .clear fuerza salto de fila.
   ========================================================== */
.row { margin-left: -15px; margin-right: -15px; }
.row:before, .row:after { content: " "; display: table; }
.row:after { clear: both; }
.row > [class*="col-"] {
  float: left;
  clear: none;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
  min-height: 1px;
}
.row > .clear { clear: left; }
.row > .col-1 { width: 8.333333%; }
.row > .col-2 { width: 16.666667%; }
.row > .col-3 { width: 25%; }
.row > .col-4 { width: 33.333333%; }
.row > .col-5 { width: 41.666667%; }
.row > .col-6 { width: 50%; }
.row > .col-7 { width: 58.333333%; }
.row > .col-8 { width: 66.666667%; }
.row > .col-9 { width: 75%; }
.row > .col-10 { width: 83.333333%; }
.row > .col-11 { width: 91.666667%; }
.row > .col-12 { width: 100%; }
@media screen and (max-width: 1680px) {
  .row > .col-1-xlarge { width: 8.333333%; }
  .row > .col-2-xlarge { width: 16.666667%; }
  .row > .col-3-xlarge { width: 25%; }
  .row > .col-4-xlarge { width: 33.333333%; }
  .row > .col-5-xlarge { width: 41.666667%; }
  .row > .col-6-xlarge { width: 50%; }
  .row > .col-7-xlarge { width: 58.333333%; }
  .row > .col-8-xlarge { width: 66.666667%; }
  .row > .col-9-xlarge { width: 75%; }
  .row > .col-10-xlarge { width: 83.333333%; }
  .row > .col-11-xlarge { width: 91.666667%; }
  .row > .col-12-xlarge { width: 100%; }
  .row > .clear-xlarge { clear: left; }
}
@media screen and (max-width: 1280px) {
  .row > .col-1-large { width: 8.333333%; }
  .row > .col-2-large { width: 16.666667%; }
  .row > .col-3-large { width: 25%; }
  .row > .col-4-large { width: 33.333333%; }
  .row > .col-5-large { width: 41.666667%; }
  .row > .col-6-large { width: 50%; }
  .row > .col-7-large { width: 58.333333%; }
  .row > .col-8-large { width: 66.666667%; }
  .row > .col-9-large { width: 75%; }
  .row > .col-10-large { width: 83.333333%; }
  .row > .col-11-large { width: 91.666667%; }
  .row > .col-12-large { width: 100%; }
  .row > .clear-large { clear: left; }
}
@media screen and (max-width: 980px) {
  .row > .col-1-medium { width: 8.333333%; }
  .row > .col-2-medium { width: 16.666667%; }
  .row > .col-3-medium { width: 25%; }
  .row > .col-4-medium { width: 33.333333%; }
  .row > .col-5-medium { width: 41.666667%; }
  .row > .col-6-medium { width: 50%; }
  .row > .col-7-medium { width: 58.333333%; }
  .row > .col-8-medium { width: 66.666667%; }
  .row > .col-9-medium { width: 75%; }
  .row > .col-10-medium { width: 83.333333%; }
  .row > .col-11-medium { width: 91.666667%; }
  .row > .col-12-medium { width: 100%; }
  .row > .clear-medium { clear: left; }
}
@media screen and (max-width: 736px) {
  .row > .col-1-small { width: 8.333333%; }
  .row > .col-2-small { width: 16.666667%; }
  .row > .col-3-small { width: 25%; }
  .row > .col-4-small { width: 33.333333%; }
  .row > .col-5-small { width: 41.666667%; }
  .row > .col-6-small { width: 50%; }
  .row > .col-7-small { width: 58.333333%; }
  .row > .col-8-small { width: 66.666667%; }
  .row > .col-9-small { width: 75%; }
  .row > .col-10-small { width: 83.333333%; }
  .row > .col-11-small { width: 91.666667%; }
  .row > .col-12-small { width: 100%; }
  .row > .clear-small { clear: left; }
}
@media screen and (max-width: 480px) {
  .row > .col-1-xsmall { width: 8.333333%; }
  .row > .col-2-xsmall { width: 16.666667%; }
  .row > .col-3-xsmall { width: 25%; }
  .row > .col-4-xsmall { width: 33.333333%; }
  .row > .col-5-xsmall { width: 41.666667%; }
  .row > .col-6-xsmall { width: 50%; }
  .row > .col-7-xsmall { width: 58.333333%; }
  .row > .col-8-xsmall { width: 66.666667%; }
  .row > .col-9-xsmall { width: 75%; }
  .row > .col-10-xsmall { width: 83.333333%; }
  .row > .col-11-xsmall { width: 91.666667%; }
  .row > .col-12-xsmall { width: 100%; }
  .row > .clear-xsmall { clear: left; }
}

/* ---------- Banda de cuadros (bandera) ---------- */
.ps-banda-cuadros {
  height: 12px;
  clear: both;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%),
    linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
}

/* ---------- Header ---------- */
.ps-header {
  background: var(--negro);
  color: var(--blanco);
  border-bottom: 4px solid var(--rojo);
  position: relative;
  z-index: 100;
}
.ps-header .row { margin-top: 0; }
.ps-header-izq, .ps-header-der { padding-top: 12px; padding-bottom: 12px; }
.ps-header-der { text-align: right; }

.ps-logo {
  display: inline-block;
  font-size: 30px;
  font-weight: 700;
  color: var(--blanco);
  line-height: 44px;
  text-decoration: none;
}
.ps-logo span { color: var(--amarillo); }
.ps-logo:hover, .ps-logo:focus { color: var(--blanco); }
.ps-logo-chico { font-size: 22px; line-height: 1.2; }

.ps-idioma {
  display: inline-block;
  vertical-align: middle;
  height: 40px;
  margin-right: 10px;
  padding: 0 10px;
  color: var(--blanco);
  background: var(--gris-2);
  border: 1px solid #444;
  border-radius: 3px;
  font-size: 14px;
}
.ps-idioma:focus { outline: 2px solid var(--amarillo); }

/* Botón hamburguesa (visible en todas las pantallas) */
.ps-hamburguesa {
  display: inline-block;
  vertical-align: middle;
  width: 46px;
  height: 40px;
  padding: 9px 10px;
  background: var(--rojo);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}
.ps-hamburguesa:hover { background: #b9141b; }
.ps-barra {
  display: block;
  height: 3px;
  margin: 4px 0;
  background: var(--blanco);
  border-radius: 2px;
}

/* ---------- Menú lateral (3 niveles) ---------- */
.ps-fondo {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, .65);
  z-index: 998;
}
.ps-fondo.ps-visible { display: block; }

.ps-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 340px;
  max-width: 88%;
  background: var(--gris);
  color: var(--blanco);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  -webkit-transform: translateX(105%);
  transform: translateX(105%);
  -webkit-transition: -webkit-transform .3s ease;
  transition: transform .3s ease;
  border-left: 4px solid var(--rojo);
}
.ps-menu.ps-abierto {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.ps-menu-cab {
  padding: 14px 18px;
  background: var(--negro);
  font-size: 18px;
  color: var(--amarillo);
  overflow: hidden;           /* contiene el float del botón cerrar */
  border-bottom: 1px solid #333;
}
.ps-cerrar {
  float: right;
  background: none;
  border: 0;
  color: var(--blanco);
  font-size: 30px;
  line-height: 18px;
  cursor: pointer;
}
.ps-cerrar:hover { color: var(--rojo); }

.ps-menu ul { list-style: none; margin: 0; padding: 0; }
.ps-menu a {
  display: block;
  color: var(--blanco);
  text-decoration: none;
}
.ps-menu a:hover, .ps-menu a:focus { color: var(--amarillo); }

/* Nivel 1 */
.ps-n1 > li > a {
  padding: 13px 18px;
  border-bottom: 1px solid #2c2c2c;
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 15px;
}
.ps-n1 > li.ps-abierta > a { background: var(--rojo); color: var(--blanco); }

/* Indicador de submenú */
.ps-toggle:after {
  content: "\25BE";            /* ▾ */
  float: right;
  color: var(--amarillo);
  -webkit-transition: -webkit-transform .2s;
  transition: transform .2s;
}
li.ps-abierta > .ps-toggle:after {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  color: var(--blanco);
}

/* Nivel 2 y 3: ocultos hasta que JS los abre */
.ps-n2, .ps-n3 { display: none; }
.ps-n2 { background: #111; }
.ps-n2 > li > a {
  padding: 10px 18px 10px 32px;
  border-bottom: 1px solid #222;
  font-size: 14px;
}
.ps-n2 > li.ps-abierta > a { color: var(--amarillo); }
.ps-n3 { background: #0a0a0a; }
.ps-n3 > li > a {
  padding: 9px 18px 9px 50px;
  border-bottom: 1px solid #1c1c1c;
  font-size: 13px;
  color: #ddd;
}

body.ps-sin-scroll { overflow: hidden; }

/* ---------- Cuerpo ---------- */
.ps-main { padding: 24px 0 10px; }

.ps-hero {
  background: var(--negro);
  color: var(--blanco);
  padding: 40px 28px;
  margin-bottom: 26px;
  border-left: 8px solid var(--celeste);
  border-bottom: 8px solid var(--rojo);
  position: relative;
}
.ps-hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 700;
  color: var(--amarillo);
}
.ps-hero p { margin: 0; font-size: 17px; color: #ddd; max-width: 720px; }

.ps-titulo {
  margin: 6px 0 16px;
  padding-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--negro);
  border-bottom: 3px solid var(--rojo);
}

/* Tarjetas */
.ps-tarjeta {
  background: var(--blanco);
  margin-bottom: 24px;
  border-bottom: 3px solid var(--amarillo);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.ps-tarjeta-img { height: 140px; background-color: var(--gris-2); }
.ps-img-1 { background-image: linear-gradient(135deg, #0b0b0b 0%, #d71920 100%); }
.ps-img-2 { background-image: linear-gradient(135deg, #0b0b0b 0%, #74acdf 100%); }
.ps-img-3 { background-image: linear-gradient(135deg, #0b0b0b 0%, #ffd200 100%); }
.ps-img-4 { background-image: linear-gradient(135deg, #d71920 0%, #ffd200 100%); }
.ps-tarjeta-cuerpo { padding: 14px 16px 16px; }
.ps-tarjeta-cuerpo h3 { margin: 8px 0 6px; font-size: 18px; line-height: 1.25; }
.ps-tarjeta-cuerpo h3 a { color: var(--negro); }
.ps-tarjeta-cuerpo h3 a:hover { color: var(--rojo); }
.ps-tarjeta-cuerpo p { margin: 0; font-size: 14px; color: #555; }
.ps-etiqueta {
  display: inline-block;
  padding: 2px 8px;
  background: var(--rojo);
  color: var(--blanco);
  font-size: 12px;
}

/* Mosaicos de acceso rápido */
.ps-mosaico {
  display: block;
  margin-bottom: 24px;
  padding: 20px 8px;
  text-align: center;
  background: var(--negro);
  color: var(--blanco);
  border-bottom: 4px solid var(--celeste);
  -webkit-transition: background .2s;
  transition: background .2s;
}
.ps-mosaico i { display: block; margin-bottom: 8px; font-size: 28px; color: var(--amarillo); }
.ps-mosaico span {
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
}
.ps-mosaico:hover, .ps-mosaico:focus { background: var(--rojo); color: var(--blanco); }
.ps-mosaico:hover i { color: var(--blanco); }

/* Paneles laterales */
.ps-panel {
  background: var(--blanco);
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.ps-panel-t {
  margin: 0;
  padding: 10px 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blanco);
  background: var(--negro);
  border-left: 6px solid var(--amarillo);
}
.ps-lista { list-style: none; margin: 0; padding: 0; }
.ps-lista li { border-bottom: 1px solid #eee; }
.ps-lista li:last-child { border-bottom: 0; }
.ps-lista a { display: block; padding: 10px 16px; color: var(--texto); font-weight: 700; }
.ps-lista a:hover { background: #fafafa; color: var(--rojo); }

/* ---------- Footer ---------- */
.ps-footer {
  margin-top: 30px;
  background: var(--negro);
  color: #ccc;
  border-top: 4px solid var(--rojo);
}
.ps-footer .container { padding-top: 24px; padding-bottom: 14px; }
.ps-footer p { margin: 6px 0; }
.ps-footer-der { text-align: right; }
.ps-seguinos { text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.ps-red {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-left: 8px;
  line-height: 44px;
  text-align: center;
  font-size: 22px;
  color: var(--blanco);
  background: var(--gris-2);
  border-radius: 50%;
  -webkit-transition: background .2s;
  transition: background .2s;
}
.ps-red:hover, .ps-red:focus { background: var(--rojo); color: var(--blanco); }
.ps-copy {
  clear: both;
  margin-top: 16px !important;
  padding-top: 12px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ---------- Responsive ---------- */
/* Tablets */
@media (max-width: 991px) {
  .ps-hero h1 { font-size: 28px; }
}
/* Celulares */
@media (max-width: 767px) {
  .ps-logo { font-size: 24px; }
  .ps-idioma { height: 38px; margin-right: 6px; padding: 0 6px; font-size: 13px; }
  .ps-hamburguesa { height: 38px; width: 42px; }
  .ps-hero { padding: 26px 18px; }
  .ps-hero h1 { font-size: 24px; }
  .ps-hero p { font-size: 15px; }
  .ps-footer-izq, .ps-footer-der { text-align: center; }
  .ps-red { margin: 0 6px; }
}
