/* ===== Colores del logo de Trisma ===== */
:root {
  --charcoal: #2e2e2e;
  --black: #24252b;
  --red: #ef4b4b;
  --red-dark: #d63a3a;
  --gray: #f4f4f2;
  --gray-mid: #8a8a8a;
  --line: #e4e4e1;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Montserrat', sans-serif; color: var(--charcoal); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ===== Botones ===== */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .25s; font-family: inherit; text-align: center; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--black); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 20px; font-size: .85rem; }
.btn--full { width: 100%; }

/* ===== Logo (recreado en código; se reemplaza por la imagen) ===== */
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
/* Tamaño y espaciado calibrados para que "Productora audiovisual" mida lo mismo que "TRISMA" */
.logo__word { font-weight: 900; font-size: 2.25rem; letter-spacing: 1px; color: var(--charcoal); }
.logo__a { position: relative; }
.logo__frame { position: absolute; top: -9px; right: -12px; width: 14px; height: 14px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; }
.logo__dot { position: absolute; top: -4px; right: -7px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.logo__tag { font-size: 8.5px; font-weight: 600; letter-spacing: 1.2px; margin-right: -1.2px; text-transform: uppercase; margin-top: 5px; color: var(--charcoal); }
.logo--light .logo__word, .logo--light .logo__tag { color: var(--white); }
/* Logo del menú un poco más chico (misma proporción entre TRISMA y el texto de abajo) */
.header .logo__word { font-size: 1.85rem; }
.header .logo__tag { font-size: 7px; letter-spacing: 1px; margin-right: -1px; margin-top: 4px; }

/* ===== Barra superior ===== */
.topbar { background: var(--black); color: #bbb; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__social { display: flex; gap: 16px; font-size: .95rem; }
.topbar a:hover { color: var(--red); }

/* ===== Menú ===== */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.header__inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .92rem; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 11px 22px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: linear-gradient(160deg, #2b2c33 0%, #1f2025 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; padding: 90px 0; }
.rec { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8rem; letter-spacing: 3px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 50px; margin-bottom: 24px; }
.rec i, .viewfinder__rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.05; font-weight: 900; margin-bottom: 22px; }
.hl { color: var(--red); }
.hero p { color: #c8c8c8; font-size: 1.08rem; max-width: 520px; margin-bottom: 34px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Visor de cámara (detalle del logo) */
.viewfinder { position: relative; padding: 18px; }
.viewfinder img { border-radius: var(--radius); aspect-ratio: 9 / 10; object-fit: cover; width: 100%; }
.vf { position: absolute; width: 46px; height: 46px; border: 4px solid var(--white); }
.vf--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.viewfinder__rec { position: absolute; top: 36px; left: 36px; display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; background: rgba(0,0,0,.55); padding: 5px 12px; border-radius: 50px; }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 0; background: var(--red); color: var(--white); font-size: 1.5rem; cursor: pointer; box-shadow: 0 0 0 12px rgba(239,75,75,.3); transition: .3s; }
.play:hover { transform: translate(-50%, -50%) scale(1.08); }

/* ===== Secciones ===== */
.section { padding: 100px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--black); color: var(--white); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section__head p { color: var(--gray-mid); margin-top: 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.15; }

/* ===== Servicios ===== */
/* Flex centrado: si la última fila queda incompleta, se ve centrada */
.services { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.service { flex: 0 1 calc((100% - 48px) / 3); position: relative; padding: 36px 30px; border: 1px solid var(--line); border-radius: var(--radius); transition: .3s; background: var(--white); }
.service:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: var(--shadow); }
.service::after { content: ''; position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-top: 3px solid var(--line); border-right: 3px solid var(--line); transition: .3s; }
.service:hover::after { border-color: var(--red); }
.service__icon { font-size: 2.2rem; margin-bottom: 16px; }
.service h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service p { color: var(--gray-mid); font-size: .95rem; }

/* ===== Nosotros ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; padding-bottom: 60px; }
.about__img1 { width: 80%; border-radius: var(--radius); aspect-ratio: 7 / 8; object-fit: cover; }
.about__img2 { position: absolute; right: 0; bottom: 0; width: 52%; border-radius: var(--radius); border: 8px solid var(--gray); aspect-ratio: 5 / 4; object-fit: cover; }
.about__badge { position: absolute; top: 30px; right: 4%; background: var(--red); color: var(--white); padding: 18px 22px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.about__badge strong { display: block; font-size: 2.2rem; font-weight: 900; line-height: 1; }
.about__badge span { font-size: .8rem; font-weight: 600; }
.about__text p { color: var(--gray-mid); margin: 18px 0; }
.checks { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; }
.checks li { padding-left: 32px; position: relative; font-weight: 600; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: var(--white); font-size: .75rem; display: grid; place-items: center; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 2.3rem; font-weight: 900; color: var(--charcoal); }
.stats strong::after { content: '+'; color: var(--red); }
.stats span { color: var(--gray-mid); font-size: .9rem; font-weight: 600; }

/* ===== Filtros ===== */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { font-family: inherit; font-weight: 600; font-size: .9rem; padding: 9px 22px; border-radius: 50px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; transition: .25s; }
.section--dark .filter { border-color: rgba(255,255,255,.2); }
.filter:hover, .filter.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.is-hidden { display: none !important; }

/* ===== Portafolio ===== */
.portfolio { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.work { flex: 0 1 calc((100% - 40px) / 3); position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work:hover img { transform: scale(1.08); }
.work__info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(transparent 40%, rgba(0,0,0,.85)); }
.work__info span { color: var(--red); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.work__info h3 { font-size: 1.15rem; }

/* ===== Cursos (estilo tarjeta) ===== */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.course { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .3s; }
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course__img { position: relative; overflow: hidden; }
.course__img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .5s; }
.course:hover .course__img img { transform: scale(1.06); }
.course__tag { position: absolute; top: 14px; left: 14px; background: var(--red); color: var(--white); font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.course__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.course__meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--gray-mid); font-weight: 600; margin-bottom: 10px; }
.course h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 14px; }
.course__author { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--gray-mid); margin-bottom: 18px; }
.course__author img { width: 30px; height: 30px; border-radius: 50%; }
.course__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.course__price { font-size: 1.3rem; font-weight: 800; color: var(--red); }
.course__price small { font-size: .7rem; color: var(--gray-mid); }
.course__price--free { color: #2a9d63; }

/* ===== CTA ===== */
.cta { background: var(--red); color: var(--white); padding: 60px 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta p { opacity: .9; margin-top: 6px; }

/* ===== Testimonios ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--white); padding: 34px 30px; border-radius: var(--radius); }
.testimonial::before { content: '“'; display: block; height: 40px; font-size: 4.5rem; line-height: 1; color: var(--red); opacity: .35; font-family: Georgia, serif; }
.testimonial p { margin-bottom: 24px; }
.testimonial footer { display: flex; align-items: center; gap: 12px; }
.testimonial img { width: 48px; height: 48px; border-radius: 50%; }
.testimonial strong { display: block; }
.testimonial span { font-size: .85rem; color: var(--gray-mid); }

/* ===== Contacto ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact__info p { color: var(--gray-mid); margin: 16px 0 30px; }
.contact__list { list-style: none; display: grid; gap: 18px; }
.contact__list li { display: flex; flex-direction: column; }
.contact__list strong { font-size: .8rem; color: var(--red); text-transform: uppercase; letter-spacing: 2px; }
.contact__list a, .contact__list span { font-weight: 600; font-size: 1.05rem; }
.contact__form { background: var(--gray); padding: 36px; border-radius: var(--radius); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 1rem; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); border-color: transparent; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-legal { font-size: .8rem; color: var(--gray-mid); text-align: center; margin-top: -6px; }
.form-legal a { color: inherit; text-decoration: underline; }
.form-status { font-size: .92rem; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #2a9d63; }
.form-status.is-error { color: var(--red-dark); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ===== Footer ===== */
.footer { background: var(--black); color: #aaa; padding-top: 70px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer p { margin-top: 18px; max-width: 320px; }
.footer h4 { color: var(--white); margin-bottom: 16px; }
.footer__inner > div:not(:first-child) a { display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--red); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; text-align: center; }

/* ===== WhatsApp flotante ===== */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 60; transition: transform .25s; }
.wa-float:hover { transform: scale(1.1); }

/* ===== Guías / Blog ===== */
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__img { overflow: hidden; }
.post__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__tag { color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.post h3 { font-size: 1.12rem; line-height: 1.35; margin: 8px 0 10px; }
.post p { color: var(--gray-mid); font-size: .92rem; margin-bottom: 16px; }
.post__more { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--red); }
.guides-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* ===== Páginas internas ===== */
.page-hero { position: relative; background: var(--black); color: var(--white); text-align: center; padding: 80px 0 70px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(239,75,75,.22), transparent 50%); }
.page-hero .container { position: relative; max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 900; line-height: 1.12; margin: 6px 0 16px; }
.page-hero p { color: #c8c8c8; font-size: 1.05rem; }
.page-hero__meta { color: #9a9a9a; font-size: .88rem; margin-top: 18px; }

/* Artículo */
.article { width: min(760px, 100% - 32px); margin: 0 auto; padding: 70px 0 30px; font-size: 1.05rem; line-height: 1.8; }
.article h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.25; margin: 44px 0 14px; }
.article h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 8px; }
.article p { color: #4a4a4a; margin-bottom: 16px; }
.article ul, .article ol { color: #4a4a4a; padding-left: 24px; margin-bottom: 18px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--charcoal); }
.article a:not(.btn) { color: var(--red); text-decoration: underline; }
.tip { background: var(--gray); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 24px 0; }
.tip p { margin: 0; }
.article-cta { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 36px; margin: 50px 0 20px; text-align: center; }
.article-cta h2 { margin: 0 0 10px; color: var(--white); }
.article-cta p { color: #c8c8c8; margin-bottom: 24px; }
.article-cta .btn { text-decoration: none; margin: 4px; }
.more-guides { width: min(1200px, 100% - 32px); margin: 0 auto; padding: 40px 0 90px; }
.more-guides h2 { text-align: center; font-size: 1.6rem; margin-bottom: 30px; }

/* Lo que usamos */
.disclosure { width: min(820px, 100% - 32px); margin: 40px auto 0; background: var(--gray); border-radius: var(--radius); padding: 16px 22px; font-size: .88rem; color: var(--gray-mid); text-align: center; }
.gear-cat { margin-top: 60px; }
.gear-cat h2 { font-size: 1.5rem; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gear-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; background: var(--white); transition: .3s; }
.gear-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.gear-card__type { color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.gear-card h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.gear-card p { color: var(--gray-mid); font-size: .92rem; margin-bottom: 18px; }
.gear-card .btn { margin-top: auto; align-self: flex-start; }

/* ===== Animación al hacer scroll ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
  .service { flex-basis: calc((100% - 24px) / 2); }
  .work { flex-basis: calc((100% - 20px) / 2); }
  .posts, .gear { grid-template-columns: repeat(2, 1fr); }
}

/* Menú con muchas opciones: se compacta antes de pasar a menú de celular */
.nav a { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1101px) {
  .nav { gap: 16px; font-size: .84rem; }
  .nav__cta { padding: 10px 16px; }
}

/* Menú de celular (desde 1100px, porque el menú tiene muchas opciones) */
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(300px, 80%); flex-direction: column; align-items: flex-start; background: var(--white); padding: 100px 30px 30px; gap: 22px; font-size: 1.1rem; transform: translateX(100%); transition: transform .35s; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
  .nav.is-open { transform: none; }
  .menu-toggle { position: relative; z-index: 60; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ===== Celular ===== */
@media (max-width: 860px) {
  .hero__inner, .about, .contact { grid-template-columns: 1fr; gap: 50px; }
  .hero__inner { padding: 60px 0 70px; }
  .testimonials { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
  .section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .topbar__info a:last-child { display: none; }
  .courses, .posts, .gear { grid-template-columns: 1fr; }
  .service, .work { flex-basis: 100%; }
  .article-cta { padding: 28px 20px; }
  .contact__form { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .stats { gap: 24px; }
}

/* ===== Buen Fin (todo se oculta solo cuando termina la promoción) ===== */
body:not(.is-buenfin) .only-buenfin { display: none !important; }

.bf-bar { display: block; background: var(--red); color: var(--white); text-align: center; font-size: .85rem; font-weight: 600; padding: 9px 20px; transition: background .25s; }
.bf-bar:hover { background: var(--red-dark); }
.bf-bar u { font-weight: 800; white-space: nowrap; }
.bf-bar [data-countdown] { font-weight: 800; white-space: nowrap; }

.nav a.nav__promo { color: var(--red); font-weight: 800; }

.bf { background: var(--black); color: var(--white); padding: 90px 0; position: relative; overflow: hidden; border-top: 4px solid var(--red); }
.bf::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; background: radial-gradient(circle, rgba(239,75,75,.28), transparent 65%); pointer-events: none; }
.bf__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; position: relative; }
.bf__badge { display: inline-block; background: rgba(239,75,75,.15); color: var(--red); border: 1px solid rgba(239,75,75,.45); border-radius: 50px; padding: 6px 16px; font-size: .75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.bf__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.bf__logo { width: 130px; height: auto; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
@media (max-width: 560px) { .bf__logo { width: 100px; } }
.bf h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.12; }
.bf h2 .hl { color: var(--red); }
.bf__text > p { color: #c4c4c4; margin: 16px 0 26px; max-width: 540px; }
.bf__timer { display: flex; gap: 12px; margin-bottom: 30px; }
.bf__timer div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; width: 78px; padding: 12px 0; text-align: center; }
.bf__timer b { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.bf__timer span { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: #a9a9a9; }
.bf__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.bf__note { color: #a9a9a9; font-size: .85rem; margin-top: 14px; }
.bf__deals { display: grid; gap: 14px; }
.bf__deal { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; background: var(--white); color: var(--charcoal); border-radius: var(--radius); padding: 18px 22px; transition: transform .25s; }
.bf__deal:hover { transform: translateY(-3px); }
.bf__deal span { font-weight: 800; color: var(--black); }
.bf__deal b { grid-row: span 2; font-size: 1.5rem; font-weight: 900; color: var(--black); white-space: nowrap; }
.bf__deal b s { font-size: .9rem; font-weight: 600; color: var(--gray-mid); margin-right: 4px; }
.bf__deal small { color: var(--gray-mid); font-size: .82rem; }
.bf__deal--top { background: var(--red); color: rgba(255,255,255,.85); }
.bf__deal--top span, .bf__deal--top b { color: var(--white); }
.bf__deal--top b s, .bf__deal--top small { color: rgba(255,255,255,.75); }
.bf__gift { text-align: center; color: #ddd; font-size: .9rem; margin-top: 4px; }
.bf__iva { text-align: center; color: #8d8d8d; font-size: .75rem; margin-top: -6px; }

.bf-pop { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 20px; animation: bfFade .3s; }
.bf-pop[hidden] { display: none; }
.bf-pop__box { background: var(--white); border-radius: 18px; padding: 36px 30px 30px; max-width: 420px; width: 100%; text-align: center; position: relative; border-top: 6px solid var(--red); }
.bf-pop__box h3 { font-size: 1.6rem; font-weight: 900; color: var(--black); line-height: 1.15; margin-bottom: 10px; }
.bf-pop__box p { color: #555; margin-bottom: 14px; }
.bf-pop__timer strong { color: var(--red); }
.bf-pop__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--gray-mid); cursor: pointer; }
@keyframes bfFade { from { opacity: 0; } }

@media (max-width: 860px) {
  .bf { padding: 70px 0; }
  .bf__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .bf__timer { gap: 8px; }
  .bf__timer div { width: auto; flex: 1; }
  .bf__btns .btn { width: 100%; }
}

/* Portada sin imagen: texto centrado (mientras no haya video real) */
.hero__inner--solo { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 120px 0; }
.hero__inner--solo p { margin-left: auto; margin-right: auto; }
.hero__inner--solo .hero__btns { justify-content: center; }
@media (max-width: 860px) { .hero__inner--solo { padding: 70px 0 80px; } }

/* Durante el Buen Fin, la sección de la promoción sustituye a la portada */
body.is-buenfin .only-regular { display: none !important; }

/* ===== Contenido real (sin cifras ni clientes de muestra) ===== */
.stats strong::after { content: none; }

@media (max-width: 860px) {
}

/* ===== Tarjeta "Nuestro compromiso" ===== */
.about__promise { position: relative; overflow: hidden; background: var(--black); color: #cfcfcf; border-radius: 22px; padding: 42px 38px; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.about__promise::before { content: ''; position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-top: 3px solid var(--red); border-right: 3px solid var(--red); border-radius: 0 6px 0 0; }
.about__promise-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
.about__promise-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(239,75,75,.2); }
.about__promise h3 { color: var(--white); font-size: 1.55rem; font-weight: 900; line-height: 1.15; margin: 10px 0 26px; }
.about__promise ul { list-style: none; display: grid; }
.about__promise li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.about__promise i { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--red); background: rgba(239,75,75,.1); border: 1px solid rgba(239,75,75,.28); transition: .3s; }
.about__promise svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about__promise li:hover i { background: var(--red); color: var(--white); transform: rotate(-6deg); }
.about__promise strong { display: block; color: var(--white); font-size: 1.02rem; font-weight: 800; }
.about__promise span:not(.about__promise-tag) { font-size: .9rem; color: #a5a5a5; line-height: 1.5; }
.about__promise-note { display: block; margin-top: 4px; font-size: .72rem; color: #7d7d7d; line-height: 1.4; }
@media (max-width: 560px) {
  .about__promise { padding: 32px 22px; }
  .about__promise h3 { font-size: 1.3rem; }
}

/* ===== Grafito: fondos oscuros suaves, sin brillos rojos ===== */
.bf { background: linear-gradient(160deg, #2b2c33 0%, #1f2025 100%); }
.bf::before { display: none; }
.section--dark { background: linear-gradient(160deg, #2a2b31 0%, #1f2025 100%); }
.bf__timer div { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.footer { background: #1f2025; }

/* ===== Portafolio: caso real + invitación ===== */
.cases { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: stretch; }
.case-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.case-card__shot { display: block; padding: 22px 22px 0; background: linear-gradient(180deg, rgba(52,171,181,.14), transparent); }
.mock-browser { border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -10px 40px rgba(0,0,0,.35); transform: translateY(6px); transition: transform .4s; }
.case-card:hover .mock-browser { transform: translateY(0); }
.mock-browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #ececec; }
.mock-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.mock-browser__bar i:nth-child(2) { background: #febc2e; } .mock-browser__bar i:nth-child(3) { background: #28c840; }
.mock-browser__bar span { flex: 1; margin-left: 10px; background: #fff; color: #888; font-size: .68rem; border-radius: 5px; padding: 3px 10px; }
.mock-site { font-family: 'Montserrat', sans-serif; color: #2E3A3F; background: linear-gradient(180deg, #fff, #f3f6f7); }
.mock-site__nav { display: flex; align-items: center; gap: 16px; padding: 12px 18px; font-size: .62rem; border-bottom: 1px solid #eef1f2; }
.mock-site__nav b { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: .66rem; text-transform: uppercase; margin-right: auto; letter-spacing: .3px; }
.mock-site__logo { width: 22px; height: 13px; border: 2.5px solid #2E3A3F; border-radius: 7px; position: relative; }
.mock-site__logo::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2.5px; background: #2E3A3F; transform: translateX(-50%); }
.mock-site__nav span { color: #5d686c; font-weight: 600; }
.mock-site__nav em, .mock-site__hero em { font-style: normal; background: #34ABB5; color: #fff; font-weight: 700; padding: 6px 11px; border-radius: 4px; font-size: .6rem; }
.mock-site__hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 10px; padding: 22px 22px 0 26px; }
.mock-site__hero small { display: inline-block; background: #e3f4f5; color: #2C9DA6; font-size: .52rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 4px 9px; border-radius: 50px; }
.mock-site__hero h4 { font-size: clamp(1rem, 1.9vw, 1.45rem); font-weight: 800; line-height: 1.2; margin: 12px 0 16px; color: #2E3A3F; }
.mock-site__hero h4 span { color: #34ABB5; }
.mock-site__hero em { display: inline-block; margin-bottom: 26px; }
.mock-site__hero img { width: 100%; max-height: 230px; object-fit: contain; object-position: bottom; }
.case-card__body { padding: 26px 30px 30px; }
.case-card__live { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #4ade80; }
.case-card__live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.case-card__body h3 { color: var(--white); font-size: 1.5rem; font-weight: 900; margin: 8px 0 8px; }
.case-card__body p { color: #b4b4b8; font-size: .95rem; max-width: 560px; }
.case-card__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.case-card__chips li { font-size: .78rem; font-weight: 600; color: #e6e6e6; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); padding: 5px 12px; border-radius: 50px; }

.next-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 34px 32px; border-radius: 22px; background: linear-gradient(160deg, rgba(239,75,75,.95), #c93838); color: var(--white); transition: transform .35s; }
.next-card:hover { transform: translateY(-6px); }
.next-card::after { content: ''; position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; border-top: 3px solid rgba(255,255,255,.7); border-right: 3px solid rgba(255,255,255,.7); border-radius: 0 6px 0 0; }
.next-card__plus { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.16); border: 2px dashed rgba(255,255,255,.6); display: grid; place-items: center; font-size: 2rem; font-weight: 300; line-height: 1; margin-bottom: auto; transition: transform .35s; }
.next-card:hover .next-card__plus { transform: rotate(90deg); }
.next-card__tag { font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; opacity: .85; margin-top: 40px; }
.next-card h3 { font-size: 1.7rem; font-weight: 900; line-height: 1.1; }
.next-card p { font-size: .95rem; opacity: .9; }
.next-card__cta { align-self: flex-start; margin-top: 10px; background: var(--white); color: var(--black); font-weight: 800; font-size: .9rem; padding: 12px 22px; border-radius: 50px; }

@media (max-width: 960px) {
  .cases { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .case-card__shot { padding: 14px 14px 0; }
  .mock-site__nav span { display: none; }
  .mock-site__hero { padding: 16px 14px 0 16px; }
  .mock-site__hero em { margin-bottom: 18px; }
  .case-card__body { padding: 22px 20px 24px; }
  .next-card { padding: 28px 24px; }
}
