/* =============================================================
   parejas.club - LISTADOS POR CARACTERÍSTICA (diseño 2026)

   Las páginas que salen de las tarjetas de datos de la ficha de
   pareja:
     /bodas-de-1997        las parejas que se casaron ese año
     /parejas-con-1-hijo   las parejas con ese número de hijos
     /parejas-juntas       las que siguen juntas
     /parejas-rotas        las que ya no están juntas
     /parejas-sin-estado   las de las que no tenemos constancia

   Comparte el lenguaje visual de la portada. Como esta hoja se carga
   SIN css/home.css, aquí van su propia copia de los componentes de
   tarjeta (.ccard, .chip), igual que hacen relation.css, buscar.css
   y parejas-de.css.
   ============================================================= */

/* --------------------------------------------------------------
   LAYOUT
   -------------------------------------------------------------- */
.main-car {
  height: auto;
  min-height: 100vh;
}

.main-car .content-container {
  display: block;
  min-height: 0;
}

.main-car .content-area {
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  overflow: visible;
  padding-bottom: 3rem;
}

@media screen and (max-width: 40em) {
  .main-car .content-area {
    max-width: 100%;
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

.content-car {
  font-family: 'Metropolis', 'Segoe UI', system-ui, sans-serif;
  color: var(--pc-ink);
}

.content-car a {
  color: var(--pc-ink);
}

/* --------------------------------------------------------------
   HERO
   -------------------------------------------------------------- */
.car-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0 0 2.6rem;
  padding: 3rem 1.5rem 2.6rem;
  border-radius: 2.2rem;
  background: var(--pc-grad-hero);
  box-shadow: 0 26px 60px -30px rgba(123, 47, 247, .85);
}

.car-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.car-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .5;
}

.car-orb-1 {
  width: 25rem;
  height: 25rem;
  top: -12rem;
  right: -6rem;
  background: radial-gradient(circle, #ffd86b 0%, rgba(255, 216, 107, 0) 70%);
  animation: car-float 13s ease-in-out infinite;
}

.car-orb-2 {
  width: 21rem;
  height: 21rem;
  bottom: -10rem;
  left: -6rem;
  background: radial-gradient(circle, #ff4d9d 0%, rgba(255, 77, 157, 0) 70%);
  animation: car-float 16s ease-in-out infinite reverse;
}

.car-orb-3 {
  width: 17rem;
  height: 17rem;
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
  opacity: .32;
  animation: car-float 19s ease-in-out infinite;
}

@keyframes car-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.5rem, -1.2rem, 0) scale(1.08); }
}

.car-hearts i {
  position: absolute;
  color: rgba(255, 255, 255, .15);
  font-style: normal;
  animation: car-rise 14s linear infinite;
}

.car-hearts i:nth-child(1) { left: 8%;  font-size: 2.1rem; animation-delay: 0s; }
.car-hearts i:nth-child(2) { left: 26%; font-size: 1.3rem; animation-delay: 2.6s; }
.car-hearts i:nth-child(3) { left: 57%; font-size: 2.8rem; animation-delay: 4.3s; }
.car-hearts i:nth-child(4) { left: 80%; font-size: 1.7rem; animation-delay: 6.5s; }
.car-hearts i:nth-child(5) { left: 43%; font-size: 1rem;   animation-delay: 8.8s; }

@keyframes car-rise {
  0% { transform: translateY(120%) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-140%) rotate(24deg); opacity: 0; }
}

.car-hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.car-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .45rem 1.1rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .34);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

.car-title {
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 .5rem 1.6rem rgba(59, 15, 111, .45);
}

.car-title span {
  display: inline-block;
  background: linear-gradient(100deg, #ffd86b 0%, #ff9ec4 45%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.car-lead {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .93);
}

.car-lead b {
  color: #ffe9ad;
}

.car-total {
  display: inline-block;
  margin-top: 1.4rem;
  padding: .5rem 1.2rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------
   BLOQUES
   -------------------------------------------------------------- */
.car-block {
  margin: 0 0 3rem;
}

.car-block-head {
  margin: 0 0 1.5rem;
  text-align: center;
}

.car-block-title {
  margin: 0 0 .4rem;
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  letter-spacing: -.02em;
}

.car-block-sub {
  max-width: 38rem;
  margin: 0 auto;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--pc-ink-soft);
}

/* --- Rejilla de parejas ---------------------------------------- */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: 1.1rem;
}

@media screen and (max-width: 30em) {
  .car-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Chips de listados hermanos -------------------------------- */
.car-links {
  margin: 0 0 2.6rem;
  padding: 1.2rem 1.1rem 1.3rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--pc-line);
  box-shadow: 0 1.1rem 2.6rem -1.8rem rgba(123, 47, 247, .5);
  text-align: center;
}

.car-links-title {
  display: block;
  margin-bottom: .8rem;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pc-ink-soft);
}

.car-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.car-links a {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 2rem;
  background: rgba(123, 47, 247, .09);
  font-size: .8rem;
  font-weight: 700;
  color: var(--pc-violet-deep) !important;
  transition: background .18s ease, color .18s ease;
}

.car-links a:hover {
  background: var(--pc-grad-pink);
  color: #fff !important;
}

/* --------------------------------------------------------------
   COMPONENTE TARJETA DE PAREJA (.ccard)
   Copia local: esta hoja se carga sin css/home.css.
   -------------------------------------------------------------- */
.ccard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: 1.3rem 1rem 1.1rem;
  border-radius: 1.6rem;
  background: #fff;
  border: 1px solid var(--pc-line);
  box-shadow: 0 1.1rem 2.6rem -1.5rem rgba(123, 47, 247, .55);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}

.ccard:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.8rem 3.4rem -1.6rem rgba(123, 47, 247, .75);
}

.ccard > * {
  position: relative;
  z-index: 1;
}

.ccard-photos {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  width: 100%;
}

.ccard-photo {
  width: 44%;
  max-width: 10.5rem;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--pc-cream);
  box-shadow: 0 .6rem 1.2rem -.6rem rgba(51, 17, 47, .55);
}

.ccard-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0 -.55rem;
  border-radius: 50%;
  background: var(--pc-grad-pink);
  color: #fff;
  font-size: .95rem;
  box-shadow: 0 .5rem 1.1rem -.4rem rgba(206, 33, 105, .9);
}

.ccard-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: .35rem;
  font-family: 'Metropolis', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: center;
  color: var(--pc-ink);
}

.ccard-names em {
  font-style: normal;
  font-weight: 400;
  font-size: .8em;
  color: var(--pc-rose);
}

.ccard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: center;
}

.chip {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 2rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.chip-year { background: var(--pc-grad-violet); color: #fff; }
.chip-dur { background: rgba(123, 47, 247, .12); color: var(--pc-violet-deep); }
.chip-live { background: rgba(52, 168, 83, .16); color: #1d7a3a; }
.chip-views { background: rgba(206, 33, 105, .12); color: var(--pc-pink); }
.chip-new { background: var(--pc-grad-gold); color: #4a2c00; }
.chip-off { background: rgba(90, 90, 90, .14); color: #5a5a5a; }

/* --------------------------------------------------------------
   CIERRE
   -------------------------------------------------------------- */
.car-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin: 0 0 2.4rem;
}

.car-cta a.pc-btn-ghost {
  color: var(--pc-pink) !important;
  background: #fff;
  border: 1px solid rgba(255, 77, 157, .3);
}

.car-cta a.pc-btn-ghost:hover {
  background: var(--pc-grad-violet);
  color: #fff !important;
}

.car-foot {
  border-top: 1px solid var(--pc-line);
  padding-top: 1.4rem;
}

.car-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .85rem;
}

.car-foot-links a {
  text-decoration: none;
  color: var(--pc-ink-soft);
}

.car-foot-links a:hover {
  color: var(--pc-pink);
}

.car-empty {
  margin: 0;
  padding: 1.4rem 1.2rem;
  border-radius: 1.4rem;
  background: rgba(123, 47, 247, .06);
  text-align: center;
  font-size: .95rem;
  color: var(--pc-ink-soft);
}

@media screen and (max-width: 40em) {
  .car-hero {
    padding: 2.1rem 1rem 1.9rem;
    border-radius: 1.6rem;
  }

  .car-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .car-lead {
    font-size: .84rem;
  }
}
