@charset "utf-8";

/* =========================================================
   FONT
========================================================= */

@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredokaone/v8/k3kUo8kEI-tA1RRcTZGmTlHGCac.woff2) format('woff2');
}

/* =========================================================
   VARIABLES
========================================================= */

:root {
  --bg:         #fff;
  --violeta:    #8a4c6e;
  --red:        #ed2e3e;
  --orange:     #fc9b38;
  --gold:       #FFD38A;
  --light:      #F5EFFF;
  --white:      #ffffff;
  --font:       'Fredoka One', system-ui, sans-serif;
  --nav-h:      56px;
  --radius:     12px;
  --pad-x:      clamp(14px, 4vw, 48px);
  --max-w:      1100px;
}

/* =========================================================
   RESET / BASE
========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
}

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

a {
  text-decoration: none;
  color: inherit;
}

p {
  color: #4c7e8a;
}
.clearfloat      { clear: both; }
.clearfloat-10   { clear: both; height: 10px; }


/* =========================================================
   CONTAINER
   — full viewport width, no side borders, no 70% cap
========================================================= */

.container {
  width: 100%;
  background: var(--bg);
}

main {
  width: 100%;
  display: block;
}


/* =========================================================
   NAV  (agregar al HTML: <nav class="main-nav">…</nav>
   antes del <main>)
========================================================= */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  background: #4c7e8a;
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  position: relative;
}

/* ---- brand (logo + nombre 3 líneas) ---- */

.nav-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-brand a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.nav-brand-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: .75rem;
  line-height: 1.18;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---- links ---- */

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(2px, 1.2vw, 18px);
  flex-wrap: nowrap;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font);
  font-size: clamp(.72rem, 1.1vw, .95rem);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--orange);
  color: var(--white);
}

/* oculto por defecto (desk + tablet) */

/* solo en móvil */
@media (max-width: 560px) {
  .nav-brand-img { width: 32px; height: 32px; }
  .nav-brand-text { font-size: .68rem; }
  .nav-inicio { display: none; }
}

/* ---- hamburger ---- */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease;
}

/* hamburger → X */
.hamburger.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }



.hero {
  background: var(--bg);
  text-align: center;
  padding: 8px 30px 1px;
}


  .hero-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
    max-width: 1120px; /* 1100 contenido + 160 x2 ads + algo de respiro */
  margin: 0 auto;
}

.hero-center {
  flex: 1;
  min-width: 0;
}

.ad-side {
  display: none;
  width: 160px;
  flex-shrink: 0;
  margin-top: 10px;
}

@media (min-width: 1100px) {
  .ad-side { display: block; }
}


.hero h1 {
  margin: 0;
  font-family: var(--font);
  line-height: 1.2;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  padding-top:10px;
}

.h1-main {
  color: #c3702c;
  display: block;
  
}

.h1-accent {
  color: #c3702c;
  display: block;
  
}



.home-cats {
  background: var(--bg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
   max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* ---- card ---- */

.cat {
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
}

.cat a {
  display: block;
  text-decoration: none;
}

/* imagen con borde naranja */
.cat .cat-img-wrap,
.cat > a > img,
.cat img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 4px solid var(--orange);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* si wrapeás la imagen en .cat-img-wrap: */
.cat-img-wrap {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--orange);
  aspect-ratio: 1 / 1;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Marcos arco iris — 8 miniaturas home */
.home-cats .cat:nth-child(1) .cat-img-wrap { border-color: #ffffff; } /* rojo     */
.home-cats .cat:nth-child(2) .cat-img-wrap { border-color: #ffffff; } /* naranja  */
.home-cats .cat:nth-child(3) .cat-img-wrap { border-color: #ffffff; } /* amarillo */
.home-cats .cat:nth-child(4) .cat-img-wrap { border-color: #ffffff; } /* verde    */
.home-cats .cat:nth-child(5) .cat-img-wrap { border-color: #ffffff; } /* azul     */
.home-cats .cat:nth-child(6) .cat-img-wrap { border-color: #ffffff; } /* violeta  */
.home-cats .cat:nth-child(7) .cat-img-wrap { border-color: #ffffff; } /* rosa     */
.home-cats .cat:nth-child(8) .cat-img-wrap { border-color: #ffffff; } /* turquesa */

/* grosor doble */
.home-cats .cat-img-wrap { border-width: 8px; }

.cat-img-wrap img {
  border: none;
  border-radius: 0;
  width: 100%;
  height: 100%;
  transition: transform .25s ease;
}

.cat:hover .cat-img-wrap,
.cat:hover > a > img {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0,0,0,.3),
              0 0 8px rgba(252,155,56,.5);
}

.cat:hover .cat-img-wrap img {
  transform: scale(1.07);
}

/* epígrafe SEO — usar <p class="cat-caption"> o reusar el h2 */
.cat h2,
.cat-caption {
  font-family: var(--font);
  font-size: clamp(.95rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: #8a4c6e;
  text-align: center;
  margin: 8px 2px 0;
  line-height: 1.25;
  letter-spacing: .02em;
  padding: 0;
  text-decoration: none;
}

.cat h2 a,
.cat-caption a {
  color: var(--white);
  text-decoration: none;
}


/* =========================================================
   AD SLOTS  — contenedores reubicables fácilmente
========================================================= */

.ad-slot {
  background: var(--bg);
  text-align: center;
  padding: 10px var(--pad-x);
  width: 100%;
}

/* leaderboard desktop 728×90 o responsive */
.ad-slot--leaderboard  { min-height: 100px; }

/* billboard desktop 970×250 o 970×90  */
.ad-slot--billboard    { min-height: 110px; }

/* cuadrado mobile 300×250 */
.ad-slot--mobile {
  display: none;
}

@media (max-width: 900px) {
  .ad-slot--leaderboard  { display: none; }
  .ad-slot--mobile       { display: block; min-height: 270px; }
}


/* =========================================================
   HOME MEGA  — grids de categorías (desktop)
========================================================= */

.home-mega {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg);
  padding: 8px var(--pad-x) 20px;
}

.home-mega h2 {
  font-size: 1.35rem;
  letter-spacing: .05em;
  color: var(--white);
  text-align: left;
  margin: 22px 0 8px;
}

.home-mega h2 a {
  color: var(--white);
  text-decoration: none;
}

.home-mega h2 a:hover { color: var(--gold); }

.home-mega .col1,
.home-mega .col2,
.home-mega .col3,
.home-mega .col4,
.home-mega .col5 {
  width: 18%;
  margin: 0 1%;
  float: left;
  text-align: center;
}

.minis-menu {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

.minis-menu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: .2em solid var(--orange);
  border-radius: var(--radius);
  transition: transform .25s ease;
}

.minis-menu:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0,0,0,.35),
              0 0 18px rgba(252,155,56,.55);
}

.minis-menu:hover img { transform: scale(1.08); }


/* =========================================================
   HOME TEXT  — fondo blanco para el bloque de texto
========================================================= */

.home-text {
  width: 100%;
  background: var(--white);
  padding: 36px 0 40px;
  padding-top: 10px;
}

.textoFluo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  font-family: system-ui, Arial, sans-serif;
  line-height: 1.65;
  font-size: 1rem;
}

.textoFluo h1 {
  color: #4c7e8a;
  font-size: 1.8rem;
  margin: 1.6rem 0 .7rem;
}

.textoFluo h2 {
  color: #8a4c6e;
  font-size: 1.5rem;
  margin: 1.6rem 0 .7rem;
}

.textoFluo h3 {
  font-size: 1.15rem;
  color: #4c7e8a;
  font-weight: 600;
  margin: 1.4rem 0 .5rem;
}

.textoFluo p {
  
  text-align: left;
  margin: .7rem 0;
}

.textoFluo p a,
.textoFluo li a {
  color: #8a4c6e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.textoFluo p a:hover,
.textoFluo li a:hover { color: var(--orange); }

/* listas */
.textoFluo ul {
  max-width: 820px;
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.textoFluo li {
  position: relative;
  padding-left: 24px;
  margin: .5rem 0;
  color: #4c7e8a;
  line-height: 1.6;
}

.textoFluo li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-size: .8rem;
  line-height: 1.65;
}

/* citas */
.textoFluo blockquote {
  margin: .8rem 0;
  padding: 12px 16px;
  border-left: 4px solid var(--orange);
  background: #fdf7f3;
  border-radius: 0 8px 8px 0;
}

.textoFluo blockquote p {
  font-weight: 600;
  color: #444;
  margin: 0 0 4px;
}

.textoFluo blockquote cite {
  font-size: .88rem;
  color: #8a4c6e;
  font-style: normal;
}

/* FAQ */
.faq-section { margin: 1.5rem 0; }
.faq-list     { margin: 0; }

.faq-list dt {
  color: #ff3366;
  font-weight: 600;
  font-family: var(--font);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.faq-list dd {
  color: #4c7e8a;
  margin: .3rem 0 .8rem 1rem;
  line-height: 1.55;
}



/* =========================================================
   FOOTER
========================================================= */

footer { width: 100%; }

.pie_creditos {
  width: 100%;
  background: #3a6270;
  border-top: 4px solid var(--orange);
  padding: 28px var(--pad-x);
  text-align: center;
}

.pie-marca {
  font-family: var(--font);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 0 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pie-desc {
  font-family: system-ui, Arial, sans-serif;
  font-size: .88rem;
  color: #c8dde3;
  margin: 0 0 14px;
  line-height: 1.5;
}

.pie-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pie-links a {
  font-family: var(--font);
  font-size: .9rem;
  color: var(--white);
  transition: color .2s;
}

.pie-links a:hover { color: var(--orange); }

.pie-sep { color: var(--orange); }

.pie-copy {
  font-family: system-ui, Arial, sans-serif;
  font-size: .78rem;
  color: #8aacb5;
  margin: 0;
}



/* =========================================================
   CENTRAR HELPER (para ads entre secciones)
========================================================= */

.centrar {
  text-align: center;
  width: 100%;
}


/* =========================================================
   VISIBILIDAD MEGA / CATS
========================================================= */

.home-cats { display: grid; }
.home-mega { display: block; }

@media (max-width: 768px) {
  .home-mega { display: none; }
}


/* =========================================================
   TABLET  (max 768px) — cats: 3 + 3
========================================================= */

@media (max-width: 768px) {


  /* nav */
  .hamburger { display: flex; }
  .nav-inner  { justify-content: space-between; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 22px;
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
     background: #4c7e8a; 
  }

  .nav-links li { display: block; }

  .nav-links a {
    display: block;
    font-size: 1.15rem;
    padding: 16px 14px;
    border-radius: 8px;
  }

  .nav-links.is-open { display: flex; }

  .home-cats {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 10px var(--pad-x) 24px;
  }

  .cat h2,
  .cat-caption {
    font-size: 1rem;
  }

  .cat { min-width: 0; }

  .cat img,
  .cat-img-wrap {
    aspect-ratio: 1 / 1;
  }

      .nav-links a {
    text-transform: uppercase;
  }
  
}


/* =========================================================
   MOBILE  (max 576px) — cats: 2 columnas
========================================================= */

@media (max-width: 576px) {



  /* hero */
  .hero { padding: 20px 14px 18px; }
  .hero h1 { font-size: 1.3rem; }





  /* cats: 2 columnas */
  .home-cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0px 12px 20px;
  }

  .cat h2,
  .cat-caption {
    font-size: 1.8rem;
    margin-top: 5px;
  }

  /* text */
  .textoFluo { font-size: .93rem; }
  .textoFluo h2 { font-size: 1.25rem; }
  .textoFluo h3 { font-size: 1rem; }

.nav-brand-text {
  flex-direction: row;
  gap: 5px;
  font-size: 1rem;
}
}


/* =========================================================
   HAMBURGER JS  — pegar en el <head> o antes de </body>:

  <script>
    const btn  = document.querySelector('.hamburger');
    const menu = document.querySelector('.nav-links');
    btn.addEventListener('click', () => {
      btn.classList.toggle('is-open');
      menu.classList.toggle('is-open');
      btn.setAttribute('aria-expanded', menu.classList.contains('is-open'));
    });
  </script>

========================================================= */
