/* ═══════════════════════════════════════════════════
   JOSELITO Y SU ORQUESTA — Luxury Edition
   Negro profundo · Oro cálido · Serenidad y potencia
═══════════════════════════════════════════════════ */

/* ─ Tokens ─ */
:root {
  --black:   #09090b;
  --black2:  #0f0f11;
  --black3:  #141416;
  --gold:    #c8a96e;
  --gold-lt: #e2c98a;
  --gold-dk: #8a6830;
  --white:   #f5f0e8;
  --muted:   #6b6760;
  --muted2:  #3d3c3a;
  --wa:      #25D366;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --disp:  'Bebas Neue', sans-serif;
  --sans:  'Jost', system-ui, sans-serif;

  --max: 1160px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ─ Reset ─ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--gold-dk));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─ Utilidades ─ */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 2.5rem;
}

.s {
  padding: 7rem 0;
}

.s__head {
  margin-bottom: 4rem;
}

.s__overline {
  display: block;
  font-size: .65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.s__overline.light { color: rgba(200,169,110,.7); }

.s__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
}

/* Fade-in animation */
.fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade.visible {
  opacity: 1;
  transform: none;
}

/* ─ Botones ─ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 2.2rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s var(--ease);
  border: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--wa {
  background: var(--wa);
  color: #fff;
}
.btn--wa:hover { background: #1da851; transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--black);
  font-weight: 500;
}
.btn--gold:hover { opacity: .88; transform: translateY(-2px); }

.btn--outline {
  border: 1px solid rgba(200,169,110,.4);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(200,169,110,.06);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.05rem 2.8rem; font-size: .75rem; }

.btn--pulse {
  animation: pulse 2.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.35); }
  50%       { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
}

/* ══════════════════════════════════════════════════
   NAVEGACIÓN
══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  transition: background .4s, box-shadow .4s;
}

.nav.solid {
  background: rgba(9,9,11,.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(200,169,110,.1);
}

.nav__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 2.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: auto;
}

.nav__name {
  font-family: var(--disp);
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav__tag {
  font-family: var(--serif);
  font-size: .7rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: .15rem;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__a {
  font-size: .65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(245,240,232,.65);
  transition: color .3s;
}
.nav__a:hover, .nav__a.active { color: var(--gold); }

.nav__cta {
  font-size: .62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(200,169,110,.35);
  color: var(--gold);
  padding: .55rem 1.4rem;
  border-radius: 2px;
  transition: all .3s;
}
.nav__cta:hover { background: rgba(200,169,110,.08); border-color: var(--gold); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: transform .3s, opacity .3s;
}

/* ══════════════════════════════════════════════════
   HERO SLIDESHOW
══════════════════════════════════════════════════ */
.hero-slides {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide__bg {
  position: absolute;
  inset: 0;
  margin: 0;
}
.slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,9,11,.35) 0%,
    rgba(9,9,11,.55) 50%,
    rgba(9,9,11,.75) 100%
  );
}
.slide__shade--strong {
  background: rgba(9,9,11,.72);
}

.slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.5rem;
  max-width: calc(var(--max) + 5rem);
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.slide__pre {
  font-size: .62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.slide__h1 {
  font-family: var(--disp);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.slide__h1 em {
  display: block;
}

.slide__h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 2rem;
}

.slide__sub {
  font-size: .95rem;
  color: rgba(245,240,232,.65);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

/* Slide 2 — services list */
.slide__content--svc {
  justify-content: center;
}

.slide__svc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.slide__svc-list li {
  font-family: var(--disp);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: 4px;
  color: var(--white);
  padding: .35rem 0;
  border-bottom: 1px solid rgba(200,169,110,.15);
  transition: color .3s, padding-left .35s;
  cursor: default;
}
.slide__svc-list li:last-child { border-bottom: none; }
.slide__svc-list li:hover {
  color: var(--gold);
  padding-left: 1.2rem;
}

/* Slide 3 — quote */
.slide__content--center {
  align-items: center;
  text-align: center;
}

.slide__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 2rem;
}

.slide__rule {
  display: block;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 1.5rem;
}

.slide__attr {
  font-size: .65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(200,169,110,.6);
}

/* Controls */
.slides__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(200,169,110,.1);
  border: 1px solid rgba(200,169,110,.2);
  color: var(--gold);
  font-size: 2.5rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background .3s;
  z-index: 10;
}
.slides__arrow:hover { background: rgba(200,169,110,.22); }
.slides__arrow--prev { left: 2rem; }
.slides__arrow--next { right: 2rem; }

.slides__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .75rem;
  z-index: 10;
}
.slides__dot {
  width: 28px;
  height: 2px;
  background: rgba(200,169,110,.3);
  border: none;
  cursor: pointer;
  transition: background .3s, width .3s;
  padding: 0;
}
.slides__dot.active {
  background: var(--gold);
  width: 48px;
}

.slides__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(200,169,110,.12);
  z-index: 10;
}
.slides__bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
}

/* ══════════════════════════════════════════════════
   QUIÉNES SOMOS
══════════════════════════════════════════════════ */
.quienes { background: var(--black2); }

.quienes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.quienes__media {
  position: relative;
}
.quienes__media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid rgba(200,169,110,.12);
}

.quienes__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--black);
  border: 1px solid rgba(200,169,110,.25);
  padding: 1.5rem 2rem;
  text-align: center;
}
.quienes__badge-n {
  display: block;
  font-family: var(--disp);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}
.quienes__badge-n sup { font-size: 1.5rem; }
.quienes__badge-l {
  display: block;
  font-size: .58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .4rem;
}

.quienes__copy { padding-right: 1rem; }

.quienes__p {
  color: rgba(245,240,232,.65);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.quienes__copy .btn { margin-top: 1.5rem; }

/* ══════════════════════════════════════════════════
   SERVICIOS + CARRUSEL
══════════════════════════════════════════════════ */
.servicios { background: var(--black); }

.srv { display: flex; flex-direction: column; }

.srv__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr 300px;
  gap: 2.5rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(200,169,110,.08);
  transition: background .3s, padding-left .35s;
}
.srv__row:first-child { border-top: 1px solid rgba(200,169,110,.08); }
.srv__row:hover {
  background: rgba(200,169,110,.03);
  padding-left: .6rem;
}

.srv__num {
  font-family: var(--disp);
  font-size: 2.8rem;
  color: var(--gold);
  opacity: .22;
  line-height: 1;
  text-align: center;
  transition: opacity .3s;
}
.srv__row:hover .srv__num { opacity: .55; }

.srv__body h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .55rem;
  transition: color .3s;
}
.srv__row:hover .srv__body h3 { color: var(--gold); }

.srv__body p {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Image carousel per row */
.srv__imgcar {
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.srv__imgcar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .65s var(--ease);
}
.srv__imgcar img.active { opacity: 1; }

.srv__icar-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(9,9,11,.65);
  border: none;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  width: 32px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s;
  z-index: 5;
  padding: 0;
}
.srv__imgcar:hover .srv__icar-btn { opacity: 1; }
.srv__icar-btn:hover { background: rgba(9,9,11,.9); }
.srv__icar-btn--prev { left: 0; }
.srv__icar-btn--next { right: 0; }

.srv__cta-bar {
  text-align: center;
  padding: 3rem;
  border: 1px solid rgba(200,169,110,.1);
  background: var(--black2);
}
.srv__cta-bar p {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(245,240,232,.65);
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════
   NOTICIAS
══════════════════════════════════════════════════ */
.noticias { background: var(--black2); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(200,169,110,.08);
  background: var(--black3);
  transition: border-color .3s, transform .3s;
}
.news-card:hover {
  border-color: rgba(200,169,110,.28);
  transform: translateY(-4px);
}

.news-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin: 0;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.news-card:hover .news-card__img img { transform: scale(1.04); }

.news-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}

.news-card__src {
  font-size: .58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
}

.news-card__hl {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(245,240,232,.85);
  line-height: 1.6;
  flex: 1;
}

.news-card__date {
  font-size: .58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.news__more {
  text-align: center;
}

/* ══════════════════════════════════════════════════
   CTA / CONTACTO
══════════════════════════════════════════════════ */
.cta {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  margin: 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__shade {
  position: absolute;
  inset: 0;
  background: rgba(9,9,11,.78);
}

.cta__body {
  position: relative;
  z-index: 1;
  padding-block: 7rem;
}

.cta__h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin: 1.2rem 0 1.5rem;
}

.cta__sub {
  font-size: .95rem;
  color: rgba(245,240,232,.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.foot {
  background: var(--black);
  border-top: 1px solid rgba(200,169,110,.08);
}

.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-block: 4.5rem;
}

.foot__brand {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.foot__brand p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: .75rem;
  max-width: 280px;
}

.foot__col {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.foot__col h5 {
  font-size: .58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
  margin-bottom: .5rem;
}
.foot__col a {
  font-size: .82rem;
  color: var(--muted);
  transition: color .3s;
}
.foot__col a:hover { color: var(--gold); }

.foot__wa {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.foot__wa svg { width: 16px; height: 16px; flex-shrink: 0; }

.socs {
  display: flex;
  gap: .75rem;
}
.soc {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(200,169,110,.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color .3s, border-color .3s;
}
.soc:hover { color: var(--gold); border-color: rgba(200,169,110,.5); }
.soc svg { width: 15px; height: 15px; }

.foot__bar {
  border-top: 1px solid rgba(200,169,110,.06);
  text-align: center;
  padding: 1.5rem;
  font-size: .65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted2);
}

/* WhatsApp FAB */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.fab svg { width: 28px; height: 28px; }
.fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  font-size: .62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--black2);
  border: 1px solid rgba(200,169,110,.2);
  color: var(--gold);
  padding: .4rem .9rem;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.fab:hover .fab__tip { opacity: 1; }

/* ══════════════════════════════════════════════════
   INNER PAGES (historia, formatos, noticias)
══════════════════════════════════════════════════ */
.ip-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}
.ip-hero__bg {
  position: absolute;
  inset: 0;
  margin: 0;
}
.ip-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ip-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,11,.9) 0%, rgba(9,9,11,.4) 60%, rgba(9,9,11,.3) 100%);
}
.ip-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.ip-hero__bc {
  font-size: .58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.ip-hero__bc a { color: var(--gold); transition: opacity .3s; }
.ip-hero__bc a:hover { opacity: .7; }
.ip-hero__bc span { margin: 0 .5rem; }
.ip-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}

/* Historia */
.hist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.hist-block { margin-bottom: 5rem; }
.hist-block:last-child { margin-bottom: 0; }

.hist-year {
  font-family: var(--disp);
  font-size: 5rem;
  color: rgba(200,169,110,.12);
  line-height: 1;
  margin-bottom: .5rem;
}
.hist-block h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}
.hist-block p {
  font-size: .9rem;
  color: rgba(245,240,232,.65);
  line-height: 1.9;
}
.hist-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(200,169,110,.1);
  margin-bottom: 1.5rem;
}

/* Formatos */
.fmt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fmt-card {
  border: 1px solid rgba(200,169,110,.1);
  background: var(--black2);
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s;
}
.fmt-card:hover {
  border-color: rgba(200,169,110,.35);
  transform: translateY(-4px);
}

.fmt-card__img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.fmt-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.fmt-card:hover .fmt-card__img img { transform: scale(1.05); }

.fmt-card__body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  flex: 1;
}
.fmt-card__num {
  font-size: .58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
}
.fmt-card__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
}
.fmt-card__musicians {
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,.2);
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 2px;
}
.fmt-card__desc {
  font-size: .88rem;
  color: rgba(245,240,232,.6);
  line-height: 1.8;
  flex: 1;
}
.fmt-card .btn {
  margin-top: .5rem;
  width: 100%;
  justify-content: center;
}

/* Noticias page */
.news-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.tests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.test-card {
  border: 1px solid rgba(200,169,110,.1);
  background: var(--black2);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.test-card__stars {
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: 3px;
}
.test-card__text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(245,240,232,.75);
  line-height: 1.7;
  flex: 1;
}
.test-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.test-card__av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--black);
  flex-shrink: 0;
}
.test-card__author strong {
  display: block;
  font-size: .85rem;
  color: var(--white);
  font-weight: 400;
}
.test-card__author span {
  font-size: .7rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .srv__row { grid-template-columns: 4rem 1fr 240px; }
  .srv__imgcar { width: 240px; height: 165px; }
  .fmt-grid { grid-template-columns: repeat(2, 1fr); }
  .hist-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .quienes__grid { grid-template-columns: 1fr; gap: 3rem; }
  .quienes__media { max-width: 420px; }
  .quienes__badge { bottom: -1rem; right: -1rem; }

  .srv__row { grid-template-columns: 3rem 1fr 200px; gap: 1.5rem; }
  .srv__imgcar { width: 200px; height: 140px; }

  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-full-grid { grid-template-columns: 1fr 1fr; }
  .tests-grid { grid-template-columns: 1fr 1fr; }

  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }

  .slides__arrow { display: none; }
  .slide__h1 { font-size: clamp(3rem, 10vw, 5.5rem); }
  .slide__svc-list li { font-size: clamp(1.8rem, 6vw, 3rem); }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 1.5rem; }
  .s { padding: 5rem 0; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(9,9,11,.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    transition: transform .45s var(--ease);
    z-index: 800;
    backdrop-filter: blur(20px);
  }
  .nav__links.open { transform: none; }
  .nav__a { font-size: 1rem; letter-spacing: 4px; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .srv__row { grid-template-columns: 1fr; gap: 1rem; }
  .srv__imgcar { width: 100%; height: 220px; }
  .srv__icar-btn { opacity: 1; }

  .fmt-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-full-grid { grid-template-columns: 1fr; }
  .tests-grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .slide__content { padding: 0 1.5rem; }
  .slide__h1 { font-size: clamp(2.5rem, 12vw, 4rem); margin-bottom: 1.5rem; }
  .slide__svc-list li { font-size: clamp(1.5rem, 8vw, 2.5rem); }

  .quienes__badge { display: none; }
  .ip-hero { height: 40vh; min-height: 280px; }
}
