:root{
  --bg:#0d0d0d;
  --bg2:#121212;
  --bg3:#151515;

  --text:#ffffff;
  --muted:rgba(255,255,255,.72);

  --line:rgba(255,255,255,.10);

  --silver:#cfd3da;
  --gold:#d4af37;

  --radius:5px;
  --shadow: 0 10px 30px rgba(0,0,0,.45);

  --max: 1150px;
  --nav-h: 72px;
}

*{box-sizing:border-box}
html,body{
  height:100%;
  scrollbar-gutter: stable;
  overflow-x: hidden !important;
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: #000;
  color:var(--text);
  padding-top: 0 !important;
}

a{color:inherit; text-decoration:none}
.container{ width:min(var(--max), calc(100% - 32px)); margin:0 auto; }

/* NAVBAR */
.navbar{
  position: sticky;
  top: 0;
  z-index: 9999;

  height: var(--nav-h);
  display:flex;              /* ✅ */
  align-items:center;        /* ✅ */

  background: linear-gradient(180deg, rgba(18,18,18,.92), rgba(13,13,13,.86));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}


.nav-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  padding:6px 10px;
  border-radius: var(--radius);
}
.brand:hover{ background: rgba(255,255,255,.04); }

.brand-logo{
  height: 28px;
  width: auto;
  display:block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

/* Menu */
.nav-menu{
  display:flex;
  align-items:center;
  gap:8px;
}

.nav-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: var(--radius);  /* rectangular */
  color:var(--muted);
  border:1px solid transparent;
  transition: .18s ease;
  font-size:.92rem;
}

.nav-item .ico{ width:18px; height:18px; display:inline-flex; }
.nav-item .ico svg{ width:18px; height:18px; }

.nav-item:hover{
  color:var(--text);
}

.nav-item.active{
  color: var(--gold); /* Cambia el color de texto a dorado */
}

/* Right action group */
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:4px;
}

/* CTA button */
.nav-cta{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius: var(--radius) !important;
  color:var(--text);
  background: linear-gradient(135deg, rgba(212,175,55,.20), rgba(207,211,218,.10));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
  transition: .18s ease;
  font-weight:700;
  font-size:.92rem;
}

.nav-cta .ico{ width:18px; height:18px; display:inline-flex; }
.nav-cta .ico svg{ width:18px; height:18px; }

.nav-cta:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 16px 44px rgba(0,0,0,.45);
}

/* Wishlist button (bag) */
.nav-wishlist{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  transition: .18s ease;
}

.nav-wishlist:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.nav-wishlist .ico{ width:20px; height:20px; display:inline-flex; }
.nav-wishlist .ico svg{ width:20px; height:20px; }

/* Badge */
.badge{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(207,211,218,.35));
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 10px 24px rgba(0,0,0,.55);
}

/* Mobile */
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}

/* MAIN placeholders */
main{ padding: 0 0 70px; }
.hero{ padding: 26px 0 10px; }
.hero h1{
  margin:0 0 6px;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing:.04em;
}
.hero p{ margin:0; color:var(--muted); max-width: 70ch; }

.block{
  margin-top:26px;
  padding:18px 16px;
  background: linear-gradient(180deg, rgba(21,21,21,.65), rgba(18,18,18,.55));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.block h2{ margin:0 0 8px; }
.block p{ margin:0; color:var(--muted); }

@media (max-width: 920px){
  .nav-toggle{ display:inline-flex; }

  .nav-menu{
    position:absolute;
    top: var(--nav-h);
    right: 16px;
    left: 16px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(18,18,18,.98), rgba(13,13,13,.95));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    box-shadow: 0 18px 55px rgba(0,0,0,.60);
  }
  .nav-menu.open{ display:flex; }

  .nav-actions{
    flex-direction:row;
    justify-content:flex-start;
    gap:10px;
    margin-left:0;
  }

  .nav-item, .nav-cta{
    width:100%;
    justify-content:flex-start;
  }
}

/* HERO HEADER */
.hero-header{
  position: relative;
  height: 350px;
  display:flex;
  align-items:center;
  overflow:hidden;

  /* Imagen de fondo */
  background-image: url("../assets/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid rgba(255,255,255,.10);
}

.hero-header-p{
  position: relative;
  height: 350px;
  display:flex;
  align-items:center;
  overflow:hidden;

  /* Imagen de fondo */
  background-image: url("../assets/hero-places.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid rgba(255,255,255,.10);
}

.hero-header-ll{
  position: relative;
  height: 350px;
  display:flex;
  align-items:center;
  overflow:hidden;

  /* Imagen de fondo */
  background-image: url("../assets/hero-prov.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid rgba(255,255,255,.10);
}


.hero-header-wl{
  position: relative;
  height: 350px;
  display:flex;
  align-items:center;
  overflow:hidden;

  /* Imagen de fondo */
  background-image: url("../assets/hero-wishlist.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid rgba(255,255,255,.10);
}

.hero-header-ct{
  position: relative;
  height: 350px;
  display:flex;
  align-items:center;
  overflow:hidden;

  /* Imagen de fondo */
  background-image: url("../assets/hero-cat.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid rgba(255,255,255,.10);
}

.hero-overlay{
  position:absolute;
  inset:0;

  /* overlay oscurito + toque elegante */
  background:
    radial-gradient(900px 450px at 20% 20%, rgba(212,175,55,.14), transparent 60%),
    radial-gradient(800px 420px at 90% 20%, rgba(207,211,218,.12), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.72));
}

.hero-content{
  position:relative;
  z-index:2;
  padding: 28px 0;
  text-align:center;
}

.hero-content h1{
  margin:0 0 10px;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing:.01em;
}

.hero-content p{
  margin:0 0 18px;
  color: rgba(255,255,255,.82);
  font-size: clamp(14px, 1.4vw, 18px);
}

/* Search bar */
.hero-search{
  display:flex;
  justify-content:center;
}

.search-wrap{
  width: min(820px, 100%);
  display:flex;
  align-items:center;
  gap:10px;

  padding: 10px 10px 10px 12px;
  background: rgba(18,18,18,.78);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}

.search-ico{
  width:20px;
  height:20px;
  color: rgba(255,255,255,.75);
  display:inline-flex;
}
.search-ico svg{ width:20px; height:20px; }

.search-wrap input{
  flex:1;
  border:0;
  outline:none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  padding: 10px 8px;
}

.search-wrap input::placeholder{
  color: rgba(255,255,255,.55);
}

.search-btn{
  border:1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(207,211,218,.10));
  color:#fff;
  font-weight:700;
  letter-spacing:.02em;

  padding: 12px 16px;
  border-radius: 10px; /* rectangular */
  cursor:pointer;
  transition: .18s ease;
}

.search-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 18px 40px rgba(0,0,0,.40);
}

@media (max-width: 680px){
  .hero-header{ height: 360px; }
  .hero-content{ text-align:left; }
  .search-wrap{ flex-direction:column; align-items:stretch; }
  .search-btn{ width:100%; }
}

/* SECTION similar to example */
.plan-section{
  padding: 34px 0 44px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.15));
}

.section-head h2{
  margin:0 0 6px;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing:.01em;
}
.section-head p{
  margin:0 0 18px;
  color: rgba(255,255,255,.75);
}

/* Top big cards grid */
.plan-grid-top{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.card-big{
  position:relative;
  overflow:hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(21,21,21,.6);
  min-height: 140px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
}

.card-big__content{
  position:relative;
  z-index:2;
  padding: 18px 18px 16px;
}

.card-big h3{
  margin:0 0 8px;
  font-size: 18px;
}
.card-big p{
  margin:0 0 12px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height:1.45;
}

.card-big__media{
  background-image: var(--bgimg);
  background-size: cover;
  background-position: center;
  position:relative;
}

/* Dark overlay on image + gold/silver glow */
.card-big__media::before{
  content:"";
  position:absolute;
  inset:0;
}

.card-link{
  display:inline-block;
  font-weight:800;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(212,175,55,.55);
  padding-bottom: 2px;
  transition: .18s ease;
}
.card-link:hover{
  color:#fff;
  border-bottom-color: rgba(207,211,218,.65);
  transform: translateY(-1px);
}

/* Bottom small cards grid */
.plan-grid-bottom{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card-small{
  position:relative;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(18,18,18,.75);
  min-height: 120px;
}

.card-small__icon{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(207,211,218,.10));
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
}
.card-small__icon svg{ width:18px; height:18px; }

.card-small h4{
  margin:0 0 8px;
  font-size: 16px;
}
.card-small p{
  margin:0 0 12px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height:1.45;
}

/* Responsive */
@media (max-width: 980px){
  .plan-grid-top{ grid-template-columns: 1fr; }
  .card-big{ grid-template-columns: 1.1fr .9fr; }
}
@media (max-width: 720px){
  .plan-grid-bottom{ grid-template-columns: 1fr; }
  .card-big{ grid-template-columns: 1fr; }
  .card-big__media{ min-height: 140px; }
  .card-big__content::after{ display:none; }
}

.premium-providers {
  background: radial-gradient(900px 420px at 20% 0%, rgba(212,175,55,.07), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(207,211,218,.05), transparent 60%),
    #121212;
  padding: 30px 0;
  padding-bottom: 0 !important;
}

.section-title {
  color: #fff;
  text-align: center;
  font-size: 32px;
  margin-bottom: 4px; 
}

.section-subtitle {
  text-align: center;
  color: #aaa;
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 15px;
}


.section-title span {
  color: #d4af37; /* dorado */
}


.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.provider-card {
  cursor: pointer;
  min-width: 280px;
  background: #373737;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

/* Limitar descripción a 2 renglones con … */
.provider-card .desc{
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* número de líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* fallback visual */
  max-height: 2.8em;          /* ajusta según font-size */
  line-height: 1.4em;
}

.provider-card:hover {
  background: #303030;
}

.provider-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.provider-card .card-media{
  position: relative;
}

.provider-info {
  padding: 15px;
  color: #fff;
}

.provider-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.provider-info .desc {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 10px;
}

.provider-info span {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.left {
  left: -40px;
}

.carousel-btn.right {
  right: -50px;
}


.card-media {
  position: relative;
}

.badge-premium {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(90deg, #d4af37, #b08d2f);
  color: #121212;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.7px;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.45);
  text-transform: uppercase;
}

.badge-category{
  display: inline-block;
  margin-top: 4px;
  padding-left: 8px;

  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;

  color: #d6b36a;                 /* dorado elegante */
  border-left: 2px solid #d6b36a; /* línea dorada */
}

.meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 12px;
  color: #cfcfcf;
  font-size: 13px;
}

.meta-item {
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-sep {
  opacity: 0.5;
}


.provider-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.provider-info .desc {
  margin: 0;
  color: #bbb;
  font-size: 14px;
  line-height: 1.35;
}

/* ========== CATEGORÍAS (hipervínculos) ========== */
.categories-section{
  padding: 56px 0;
  background: #000;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.categories-section .section-head{ margin-bottom: 14px; }

.categories-section .section-head h2{
  display:inline-block;
  margin:0 0 6px;
  position: relative;
  padding-bottom: 8px;
}

.categories-section .section-head h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212,175,55,.85), rgba(207,211,218,.35));
  border-radius: 999px;
}

.categories-section .section-head p{
  margin:0;
  color: rgba(255,255,255,.72);
}

/* Grid: sin panel/caja */
.categories-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 5px;
  row-gap: 0px;
}

/* Link compacto */
.cat-link{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 6px 4px;
  border-radius: 12px;
  color: rgba(255,255,255,.90);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.cat-link:hover{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.06);
  color: #fff;
}

.cat-ico{
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

.cat-ico svg{ width: 15px; height: 15px; opacity: .95; }

.cat-name{
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
}

/* Ocultos por default (manejado por JS) */
.cat-link.is-hidden{ display:none; }

/* Acciones */
.categories-actions{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}

.categories-more{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  font-weight: 700;
  letter-spacing: .01em;
  padding: 10px 16px;
  border-radius: 3px;
  cursor:pointer;
  transition: .18s ease;
  font-size: 11px;
}

.categories-more:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1100px){
  .categories-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .categories-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .categories-grid{ grid-template-columns: 1fr; }
}


/* ========== IDEAS Y CONSEJOS (DARK MODE) ========== */
.ideas-section{
  padding: 60px 0;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(212,175,55,.08), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(207,211,218,.06), transparent 60%),
    #0f0f0f;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
}

.ideas-head h2{
  margin:0 0 8px;
  font-size: clamp(22px, 2.3vw, 34px);
}

.ideas-head p{
  margin:0 0 22px;
  color: rgba(255,255,255,.70);
  max-width: 90ch;
  line-height: 1.55;
}

/* ===== TOPICS ===== */
.ideas-topics{
  display:flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 12px 0 28px;
}

.topic{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  width: 150px;
  color: inherit;
}

.topic-img{
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow:hidden;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 26px rgba(0,0,0,.55);
}

.topic-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.topic-name{
  font-size: 14px;
  font-weight: 650;
  text-align:center;
  line-height: 1.25;
}

.topic:hover .topic-name{
  text-decoration: underline;
}

/* ===== POSTS GRID ===== */
.ideas-posts{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Card */
.post-card{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

/* Image */
.post-media{
  position:relative;
  border-radius: 12px;
  overflow:hidden;
  display:block;
  aspect-ratio: 16 / 9;
  background: #1b1b1b;
  border: 1px solid rgba(255,255,255,.08);
}

.post-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .25s ease;
}

.post-media:hover img{
  transform: scale(1.04);
}

/* Heart */
.post-like{
  position:absolute;
  left: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  display:grid;
  place-items:center;
  backdrop-filter: blur(8px);
  padding-left: 4px;
}

.post-like svg{
  width: 18px;
  height: 18px;
}

/* Body */
.post-tag{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.post-title{
  margin:0;
  font-size: 16px;
  line-height: 1.35;
}

.post-title a{
  color: #fff;
}

.post-title a:hover{
  text-decoration: underline;
}

/* ===== CTA ===== */
.ideas-cta{
  display:flex;
  justify-content:center;
  margin-top: 28px;
}

.ideas-cta-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 18px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.05);
  transition: .18s ease;
}

.ideas-cta-link:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(212,175,55,.45);
  transform: translateY(-1px);
}

.cta-ico{
  width: 18px;
  height: 18px;
  padding-top: 2px;
}
.cta-ico svg{ width: 18px; height: 18px; }

/* ===== Responsive ===== */
@media (max-width: 1100px){
  .ideas-posts{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .ideas-posts{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic{ width: 140px; }
}
@media (max-width: 520px){
  .ideas-posts{ grid-template-columns: 1fr; }
  .ideas-topics{ gap: 16px; }
  .topic{ width: 45%; }
}

/* ===== Invitación a Proveedores ===== */
.join-providers {
  background: #000;
  padding: 80px 0;
}

.join-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.join-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.join-card__content {
  padding: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.join-card__content h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.join-card__content p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 28px;
  max-width: 480px;
}

.join-btn {
  align-self: flex-start;
  background: #fff;
  color: #000;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.join-btn:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .join-card {
    grid-template-columns: 1fr;
  }

  .join-card__content {
    padding: 40px 24px;
    text-align: center;
  }

  .join-btn {
    align-self: center;
  }
}

/* Versión compacta */
.join-card__content.compact {
  padding: 40px 48px;
}

.join-card__content.compact h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.join-card__content.compact p {
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 420px;
}

/* Acciones en una sola fila */
.join-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.join-benefits {
  margin: 0;
}

.join-benefits li {
  font-size: 14px;
  margin-bottom: 6px;
}

/* Botón un poco más pequeño */
.join-card__content.compact .join-btn {
  padding: 12px 24px;
  font-size: 14px;
}

/* Responsive compacto */
@media (max-width: 900px) {
  .join-actions {
    flex-direction: column;
    gap: 20px;
  }

  .join-card__content.compact {
    padding: 32px 24px;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: #151515;
  padding: 18px 0;
  color: #aaa;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

/* Contador compacto */
.visit-counter {
  display: flex;
  align-items: center;
  gap: 6px; /* 🔥 más pegado */
  color: #fff;
}

.counter-icon {
  display: flex;
  align-items: center;
}

.counter-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.counter-number {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 12px;
  color: #aaa;
}

/* Legal */
.footer-legal {
  font-size: 11.5px;
  color: #777;
}

/* ===== Planning Steps ===== */
.planning-steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}

.step-item h4 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  max-width: 240px;
  margin: 0 auto;
}

.step-icon {
  display: inline-flex;
  margin-bottom: 18px;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  stroke: #000;
}

/* Hover sutil */
.step-item {
  transition: transform .3s ease, opacity .3s ease;
}

.step-item:hover {
  transform: translateY(-4px);
  opacity: .9;
}

/* Responsive */
@media (max-width: 900px) {
  .planning-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .planning-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.brand-logo-img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brand-text {
  font-size: 18px;
  font-weight: 600;
}

/* si quieres SOLO logo sin texto */
@media (max-width: 700px) {
  .brand-text {
    display: none;
  }
}

/* ===== Glass dark filters (proveedores) ===== */
.hero-search .search-wrap select,
.hero-search .search-wrap input[type="text"] {
  height: 42px; /* más bajos */
  padding: 0 14px;
  border-radius: 12px;

  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;

  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* Placeholder en blanco suave */
.hero-search .search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Opciones del select */
.hero-search .search-wrap select option {
  background: #111;
  color: #fff;
}

/* Hover / focus */
.hero-search .search-wrap select:hover,
.hero-search .search-wrap input[type="text"]:hover,
.hero-search .search-wrap select:focus,
.hero-search .search-wrap input[type="text"]:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(30, 30, 30, 0.65);
}

/* Botones alineados con los filtros */
.hero-search .search-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13px;
}

/* Quitar estilo blanco default del select (Chrome/Safari) */
.hero-search .search-wrap select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* Quitar card contenedor de filtros */
.hero-search .search-wrap {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.hero-search .search-wrap select,
.hero-search .search-wrap input[type="text"] {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Scrollbar oscuro para selects */
.hero-search select::-webkit-scrollbar {
  width: 8px;
}

.hero-search select::-webkit-scrollbar-track {
  background: rgba(15, 15, 15, 0.9);
  border-radius: 10px;
}

.hero-search select::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(255, 215, 130, 0.9),
    rgba(180, 140, 60, 0.9)
  );
  border-radius: 10px;
}

.hero-search select::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 230, 160, 1),
    rgba(200, 160, 80, 1)
  );
}

.hero-search select {
  scrollbar-width: thin;
  scrollbar-color: rgba(180,140,60,.9) rgba(15,15,15,.9);
}

/* ==== PROVEEDORES: portada más alta (forzado) ==== */
.provider-card .card-media{
  overflow: hidden;
  position: relative;
}

.provider-card .card-media img{
  width: 100% !important;
  height: 140px !important;
  object-fit: cover !important;
  display: block;
}

/* opcional: evita que otra regla genérica afecte */
.provider-card > img{ height:auto !important; }

/* ==== Premium badge siempre visible ==== */
.provider-card .badge-premium{
  z-index: 5 !important;
  pointer-events: none;
}

#premiumCarousel.carousel{
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 250px !important;  /* cámbialo a 320px si quieres */
  column-gap: 15px !important;           /* distancia entre tarjetitas */
  overflow-x: auto !important;
  justify-content: start !important;    /* evita space-between */
  align-items: stretch !important;
  padding: 0 !important;
}

#premiumCarousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 15px;              /* aquí SÍ funciona */
  overflow-x: auto;
  margin-bottom: 80px !important;
}

/* opcional: ocultar scrollbar en webkit */
#premiumCarousel::-webkit-scrollbar{
  height: 6px;
}
#premiumCarousel::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.25);
  border-radius: 10px;
}

/* TARJETA */
/* LINK (cada item del grid) */
.provider-card-link{
  margin: 0 !important;
  padding: 0 !important;
  width: 250px;              /* igual que grid-auto-columns */
}

/* TARJETA */
.provider-card{
  margin: 0 !important;
  width: 100%;
  max-width: none;           /* IMPORTANT: quita el límite viejo */
  min-width: 0;              /* IMPORTANT: evita empujes */
  box-sizing: border-box;
}

.provider-card img {
  width: 100%; /* Asegura que las imágenes se ajusten a la tarjeta */
  height: auto;
}

/* ===== PAGE LOADER ===== */
#page-loader{
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.65);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  transition: opacity .4s ease, visibility .4s ease;
}

#page-loader.hide{
  opacity: 0;
  visibility: hidden;
}

/* Contenedor glass */
.loader-glass{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;

  box-shadow:
    0 10px 40px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.15);

  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Spinner minimal */
.loader-spinner{
  width: 46px;
  height: 46px;
  border-radius: 50%;

  border: 3px solid rgba(255,255,255,.2);
  border-top-color: #fff;

  animation: spin 1s linear infinite;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

.loader-text{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

@media (max-width: 900px){
  .hero-search .search-wrap{
    display: block;
  }

  .hero-search .search-ico{
    display: none !important;
  }

  .hero-search input{
    width: 100% !important;
    height: 40px !important;
    margin-bottom: 10px !important;
  }
}/* ===== Scrollbar minimalista gris ===== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(120, 120, 120, 0.4);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(120, 120, 120, 0.65);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(120,120,120,0.4) transparent;
}
