/*
Theme Name: Yechel Cultural Premium
Theme URI: https://yechel.com/
Author: OpenAI / ChatGPT
Description: Tema premium simplificado para YechelTV / Yechel con enfoque cultural, servicios audiovisuales, patrocinio, transmisión y contenido visual. Versión limpia sin ruleta visible debajo de contacto. Optimizado para móvil, tablet y escritorio. Colores corporativos azul, rojo y blanco.
Version: 4.7.0
Requires at least: 5.6
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: yechel-cultural-premium
*/

:root {
  --yc-blue: #071e46;
  --yc-blue-2: #0b3a78;
  --yc-red: #e9324d;
  --yc-red-2: #ff5a4f;
  --yc-white: #ffffff;
  --yc-ink: #091527;
  --yc-muted: rgba(255,255,255,.72);
  --yc-soft: #f5f8ff;
  --yc-card: rgba(255,255,255,.08);
  --yc-border: rgba(255,255,255,.14);
  --yc-shadow: 0 28px 80px rgba(1,10,32,.28);
  --yc-radius-lg: 34px;
  --yc-radius: 22px;
  --yc-max: 1180px;
  --yc-font-display: "Franklin Gothic Demi", "Franklin Gothic Medium", "Arial Narrow", Arial, ui-sans-serif, sans-serif;
  --yc-font-body: "Eras Bold ITC", "Eras ITC", "Eras Medium ITC", Arial, ui-sans-serif, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--yc-font-body);
  background: #071427;
  color: var(--yc-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.yc-no-scroll { overflow: hidden; }
img, video, iframe { max-width: 100%; }
a { color: inherit; }

.yc-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 5%, rgba(233,50,77,.24), transparent 26%),
    radial-gradient(circle at 82% 6%, rgba(31,117,255,.24), transparent 30%),
    linear-gradient(180deg, #071427 0%, #071e46 48%, #071427 100%);
}

.yc-container { width: min(var(--yc-max), calc(100% - 32px)); margin: 0 auto; }
.yc-section { padding: clamp(48px, 7vw, 92px) 0; position: relative; }
.yc-compact { padding: clamp(34px, 5vw, 68px) 0; }

.screen-reader-text { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Header */
.yc-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 19, 43, .78);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.admin-bar .yc-header { top: 32px; }
.yc-nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.yc-brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.yc-logo-img {
  width: auto;
  max-width: min(var(--yc-logo-width, 180px), 42vw);
  max-height: var(--yc-logo-height, 56px);
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}
.yc-logo-img img,
.yc-custom-logo,
.yc-brand img,
.custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: var(--yc-logo-height, 56px) !important;
  object-fit: contain;
}

@media (max-width: 760px) {
  .yc-logo-img { max-width: min(var(--yc-logo-width, 180px), 46vw); }
}

.yc-logo-mark {
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--yc-blue-2), var(--yc-red));
  box-shadow: 0 16px 36px rgba(233,50,77,.20);
  font-weight: 800;
  letter-spacing: -.04em;
}
.yc-brand-text { min-width: 0; }
.yc-brand-name { display: block; font-family: var(--yc-font-display); font-weight: 800; letter-spacing: -.04em; font-size: 1.2rem; line-height: 1.05; }
.yc-brand-tag { display: block; color: rgba(255,255,255,.62); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }

.yc-menu { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.yc-menu ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.yc-menu li { position: relative; }
.yc-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  font-size: .93rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.yc-menu a:hover, .yc-menu .current-menu-item > a { background: rgba(255,255,255,.10); color: #fff; transform: translateY(-1px); }
.yc-menu .sub-menu {
  position: absolute; left: 0; top: calc(100% + 10px);
  min-width: 220px;
  display: block;
  padding: 10px;
  background: rgba(5,19,43,.96);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--yc-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.yc-menu li:hover > .sub-menu, .yc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.yc-menu .sub-menu:before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.yc-menu .sub-menu a { width: 100%; border-radius: 14px; justify-content: flex-start; }

.yc-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--yc-red), var(--yc-red-2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(233,50,77,.25);
}
.yc-mobile-toggle { display: none; border: 0; background: rgba(255,255,255,.10); color: #fff; border-radius: 14px; width: 46px; height: 46px; font-size: 1.2rem; cursor: pointer; }

/* Hero */
.yc-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(44px, 7vw, 86px); overflow: hidden; }
.yc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.yc-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.80);
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.yc-kicker:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yc-red); box-shadow: 0 0 0 5px rgba(233,50,77,.15); }
.yc-hero h1, .yc-page-hero h1, .yc-section-title {
  font-family: var(--yc-font-display);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .98;
  margin: 0;
  text-wrap: balance;
}
.yc-hero h1 { font-size: clamp(2.8rem, var(--yc-hero-size, 6.2vw), 5.8rem); max-width: 1040px; overflow-wrap: anywhere; }
.yc-hero-lead {
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.08rem, var(--yc-lead-size, 1.6vw), 1.4rem);
  max-width: 730px;
}
.yc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.yc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.yc-btn:hover { transform: translateY(-2px); }
.yc-btn-primary { background: linear-gradient(135deg, var(--yc-red), var(--yc-red-2)); color: #fff; box-shadow: 0 22px 44px rgba(233,50,77,.22); }
.yc-btn-secondary { background: rgba(255,255,255,.10); color: #fff; }
.yc-btn-light { background: #fff; color: var(--yc-blue); }

.yc-hero-panel {
  position: relative;
  min-height: 500px;
  perspective: 1100px;
}
.yc-book {
  position: relative;
  min-height: 500px;
  transform-style: preserve-3d;
}
.yc-book-cover,
.yc-book-page,
.yc-book-small {
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)),
    linear-gradient(135deg, rgba(7,30,70,.95), rgba(8,15,32,.98));
  box-shadow: var(--yc-shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}
.yc-book-cover { inset: 18px 42px 54px 0; transform: rotateY(-12deg) rotateX(4deg); }
.yc-book-page { inset: 54px 0 18px 92px; transform: rotateY(10deg) rotateX(-3deg); background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(226,237,255,.94)); color: var(--yc-ink); }
.yc-book-small { right: 18px; top: 0; width: 168px; min-height: 138px; transform: translateZ(70px) rotateY(12deg); }
.yc-cover-art { position: absolute; inset: 0; background:
  radial-gradient(circle at 28% 24%, rgba(233,50,77,.75), transparent 30%),
  radial-gradient(circle at 78% 72%, rgba(43,121,255,.58), transparent 34%),
  linear-gradient(135deg, rgba(255,255,255,.08), transparent 48%);
}
.yc-cover-content { position: absolute; inset: auto 26px 26px; z-index: 2; }
.yc-cover-content strong { display: block; font-family: var(--yc-font-display); font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.06em; line-height: .92; }
.yc-cover-content span { display: block; margin-top: 10px; color: rgba(255,255,255,.72); font-weight: 500; }
.yc-page-content { padding: 32px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.yc-page-content strong { font-family: var(--yc-font-display); font-size: 1.8rem; letter-spacing: -.04em; line-height: 1; }
.yc-page-lines { margin-top: 20px; display: grid; gap: 8px; }
.yc-page-lines i { display: block; height: 10px; border-radius: 999px; background: rgba(7,30,70,.10); }
.yc-page-lines i:nth-child(2) { width: 82%; }
.yc-page-lines i:nth-child(3) { width: 68%; }
.yc-book-small { display: flex; align-items: flex-end; padding: 18px; background: linear-gradient(135deg, rgba(233,50,77,.94), rgba(7,58,120,.95)); }
.yc-book-small strong { font-family: var(--yc-font-display); letter-spacing: -.05em; line-height: .96; font-size: 1.55rem; }

/* Section headers */
.yc-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.yc-section-title { font-size: clamp(2rem, min(var(--yc-section-size, 3.9vw), 4.6vw), 4rem); max-width: 980px; overflow-wrap: break-word; line-height: 1.05; }
.yc-section-text { color: rgba(255,255,255,.72); max-width: 660px; margin: 12px 0 0; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.yc-link-more { color: #fff; text-decoration: none; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 5px; white-space: nowrap; }

/* Services */
.yc-services-grid {
  display: grid;
  grid-template-columns: repeat(var(--yc-services-cols, 3), minmax(0, 1fr));
  gap: var(--yc-grid-gap, 18px);
}
.yc-service-card, .yc-post-card, .yc-collection-card, .yc-contact-card {
  position: relative;
  min-height: 220px;
  padding: clamp(22px, 2.4vw, 28px);
  border-radius: var(--yc-radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.05)),
    rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px rgba(0,0,0,.16);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.yc-service-card:hover, .yc-post-card:hover, .yc-collection-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.09); }
.yc-service-card:before {
  content: "";
  position: absolute;
  inset: -80px -70px auto auto;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,50,77,.38), transparent 64%);
}
.yc-service-icon {
  width: 54px; height: 54px; border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--yc-red), var(--yc-blue-2));
  box-shadow: 0 15px 36px rgba(0,0,0,.20);
  margin-bottom: 20px;
}
.yc-service-card h3, .yc-post-card h3, .yc-collection-card h3 { margin: 0; font-family: var(--yc-font-display); font-size: clamp(1.28rem, min(var(--yc-card-title-size, 1.75vw), 1.55vw), 1.9rem); line-height: 1.14; letter-spacing: -.02em; overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.yc-service-card p, .yc-post-card p, .yc-collection-card p { color: rgba(255,255,255,.70); margin: 14px 0 0; }
.yc-card-link { position: absolute; inset: 0; z-index: 4; text-indent: -9999px; overflow: hidden; }
.yc-card-cta { display: inline-flex; margin-top: 20px; color: #fff; font-weight: 800; }

/* Video portal */
.yc-video-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  gap: 18px;
  align-items: stretch;
}
.yc-video-feature {
  min-height: 420px;
  border-radius: 38px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.34)),
    linear-gradient(135deg, rgba(7,58,120,.96), rgba(8,15,32,.96));
  border: 1px solid rgba(255,255,255,.14);
  position: relative;
  overflow: hidden;
  box-shadow: var(--yc-shadow);
}
.yc-video-feature:before { content:""; position:absolute; inset: 18px; border-radius: 30px; border: 1px solid rgba(255,255,255,.10); pointer-events:none; }
.yc-play-orb {
  width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.95); color: var(--yc-red);
  font-size: 2rem; font-weight: 800;
  box-shadow: 0 22px 55px rgba(0,0,0,.25);
  margin-bottom: 24px;
}
.yc-video-feature h3 { margin: 0; font-family: var(--yc-font-display); font-size: clamp(2rem, 4vw, 4.3rem); line-height: .96; letter-spacing: -.06em; max-width: 690px; }
.yc-video-feature p { color: rgba(255,255,255,.72); max-width: 620px; font-size: 1.1rem; }
.yc-video-side { display: grid; gap: 18px; }
.yc-mini-card { min-height: 201px; border-radius: 30px; padding: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); position: relative; overflow: hidden; }
.yc-mini-card h4 { margin: 0; font-size: 1.4rem; line-height: 1.1; letter-spacing: -.04em; }
.yc-mini-card p { margin: 12px 0 0; color: rgba(255,255,255,.66); }
.yc-video-image-card {
  min-height: 420px;
  border-radius: 38px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 82% 16%, rgba(233,50,77,.34), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--yc-shadow);
  position: relative;
  text-decoration: none;
  isolation: isolate;
}
.yc-video-image-card:before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  z-index: 2;
  pointer-events: none;
}
.yc-video-image-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}
.yc-video-image-card--empty {
  color: rgba(255,255,255,.88);
  min-height: 420px;
  padding: 28px;
  text-align: center;
}
.yc-video-image-mark {
  width: 104px;
  height: 104px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  font-family: var(--yc-font-display);
  font-size: 3.2rem;
  background: linear-gradient(135deg, var(--yc-red), rgba(8,84,170,.74));
  box-shadow: 0 28px 58px rgba(0,0,0,.28);
}
.yc-video-image-card--empty span {
  margin-top: 18px;
  font-family: var(--yc-font-display);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Collections */
.yc-collections-grid, .yc-post-grid {
  display: grid;
  grid-template-columns: repeat(var(--yc-content-cols, 3), minmax(0, 1fr));
  gap: var(--yc-grid-gap, 18px);
}
.yc-collection-card { min-height: 240px; }
.yc-collection-card:nth-child(1) { min-height: 240px; }
.yc-collection-card:nth-child(1) h3 { font-size: clamp(1.6rem, var(--yc-card-title-size, 1.9vw), 2.2rem); }
.yc-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(233,50,77,.16);
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(233,50,77,.25);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}


/* Business / brand presence */
.yc-business-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
  padding: clamp(22px, 4vw, 42px);
  border-radius: var(--yc-radius-lg);
  background:
    radial-gradient(circle at 10% 10%, rgba(233,50,77,.25), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(43,121,255,.22), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--yc-shadow);
  overflow: hidden;
}
.yc-business-wrap:before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--yc-radius-lg) - 10px);
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.yc-business-intro { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 920px; }
.yc-business-intro .yc-btn { margin-top: 24px; }

.yc-business-note {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.82);
  font-weight: 500;
  line-height: 1.55;
}
.yc-business-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(var(--yc-business-cols, 3), minmax(0, 1fr));
  gap: 14px;
}
.yc-business-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.yc-business-card:after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yc-red), rgba(255,255,255,.82), var(--yc-blue-2));
  opacity: .72;
}
.yc-business-card h3 { margin: 18px 0 10px; font-family: var(--yc-font-display); font-size: clamp(1.28rem, min(var(--yc-card-title-size, 2vw), 1.5vw), 1.85rem); letter-spacing: -.018em; line-height: 1.14; overflow-wrap: break-word; hyphens: auto; }
.yc-business-card p { color: rgba(255,255,255,.70); margin: 0 0 18px; line-height: 1.55; overflow-wrap: break-word; }
.yc-business-card .yc-card-cta { position: relative; z-index: 3; }

/* Blog cards */
.yc-post-card { min-height: 300px; display: flex; flex-direction: column; }
.yc-post-thumb { margin: -26px -26px 22px; aspect-ratio: 16 / 10; background: rgba(255,255,255,.10); overflow: hidden; }
.yc-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yc-post-meta { color: rgba(255,255,255,.55); font-size: .85rem; font-weight: 500; margin-bottom: 10px; }
.yc-post-card .yc-card-cta { margin-top: auto; padding-top: 20px; }

/* Contact */
.yc-contact-card { min-height: auto; padding: clamp(28px, 5vw, 54px); background:
  radial-gradient(circle at top right, rgba(233,50,77,.24), transparent 32%),
  linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06)); }
.yc-contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.yc-contact-card h2 { margin: 0; font-family: var(--yc-font-display); font-size: clamp(2rem, 4.3vw, 4.3rem); line-height: 1; letter-spacing: -.055em; overflow-wrap: anywhere; }
.yc-contact-card p { color: rgba(255,255,255,.72); max-width: 760px; }

/* Content pages */
.yc-page-hero { padding: clamp(46px, 7vw, 88px) 0 34px; }
.yc-page-hero h1 { font-size: clamp(2.8rem, 6vw, 6rem); }
.yc-content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 70px;
}
.yc-entry {
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
}
.yc-entry > *:first-child { margin-top: 0; }
.yc-entry h1, .yc-entry h2, .yc-entry h3 { font-family: var(--yc-font-display); line-height: 1.05; letter-spacing: -.04em; color: #fff; }
.yc-entry h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.yc-entry h3 { font-size: clamp(1.45rem, 2.7vw, 2.35rem); }
.yc-entry p { color: rgba(255,255,255,.78); }
.yc-entry a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.yc-entry .wp-block-button__link { border-radius: 999px; background: var(--yc-red); }
.yc-entry img { border-radius: 22px; }
.yc-entry iframe { border-radius: 22px; overflow: hidden; }
.yc-empty { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.74); }

/* Maintenance */
.yc-maintenance {
  min-height: 100vh; display: grid; place-items: center; padding: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(233,50,77,.30), transparent 32%),
    linear-gradient(135deg, #071427, #071e46);
}
.yc-maint-card { max-width: 760px; padding: clamp(30px, 6vw, 72px); border-radius: 42px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); text-align: center; box-shadow: var(--yc-shadow); }
.yc-maint-card h1 { margin: 0; font-family: var(--yc-font-display); font-size: clamp(2.6rem, 7vw, 6rem); line-height: .95; letter-spacing: -.06em; }
.yc-maint-card p { color: rgba(255,255,255,.72); font-size: 1.1rem; }

/* Footer */
.yc-footer { border-top: 1px solid rgba(255,255,255,.10); padding: 38px 0; background: rgba(0,0,0,.16); }
.yc-footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.yc-footer p { margin: 0; color: rgba(255,255,255,.62); }
.yc-footer a { color: #fff; text-decoration: none; font-weight: 700; }

/* Helpers */
.yc-hidden { display: none !important; }

@media (max-width: 1080px) {
  .yc-hero-grid, .yc-video-strip { grid-template-columns: 1fr; }
  .yc-video-image-card, .yc-video-image-card--empty { min-height: clamp(220px, 54vw, 360px); }
  .yc-hero-panel { min-height: 430px; }
  .yc-services-grid, .yc-collections-grid, .yc-post-grid, .yc-business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yc-business-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .admin-bar .yc-header { top: 46px; }
  .yc-mobile-toggle { display: inline-grid; place-items: center; }
  .yc-header-cta { display: none; }
  .yc-menu {
    position: fixed;
    inset: 76px 14px auto 14px;
    max-height: calc(100vh - 96px);
    overflow: auto;
    display: none;
    padding: 14px;
    border-radius: 24px;
    background: rgba(5,19,43,.98);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: var(--yc-shadow);
  }
  .yc-menu.is-open { display: block; }
  .yc-menu ul { display: block; }
  .yc-menu a { width: 100%; border-radius: 16px; justify-content: flex-start; }
  .yc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: block; margin: 4px 0 8px 12px; min-width: 0; box-shadow: none; background: rgba(255,255,255,.05); }
  .yc-menu .sub-menu:before { display: none; }
  .yc-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .yc-container { width: min(100% - 24px, var(--yc-max)); }
  .yc-section { padding: 38px 0; }
  .yc-compact { padding: 30px 0; }
  .yc-section-title { font-size: clamp(2rem, 10vw, 3.15rem); line-height: 1.02; }
  .yc-nav-wrap { min-height: 68px; }
  .yc-logo-img { max-height: 46px; }
  .yc-brand-tag { display: none; }
  .yc-hero { padding-top: 38px; }
  .yc-hero h1 { font-size: clamp(2.2rem, 10vw, 3.35rem); line-height: 1.04; }
  .yc-hero-lead { font-size: 1.04rem; }
  .yc-actions { flex-direction: column; }
  .yc-btn { width: 100%; }
  .yc-hero-panel { min-height: 360px; }
  .yc-book-cover { inset: 8px 34px 46px 0; }
  .yc-book-page { inset: 48px 0 12px 62px; }
  .yc-book-small { width: 138px; min-height: 108px; }
  .yc-page-content { padding: 22px; }
  .yc-services-grid, .yc-collections-grid, .yc-post-grid, .yc-business-grid { grid-template-columns: 1fr; }
  .yc-collection-card:nth-child(1) { grid-row: auto; min-height: 240px; }
  .yc-section-head { display: block; }
  .yc-link-more { display: inline-block; margin-top: 16px; }
  .yc-video-feature { min-height: 340px; padding: 24px; border-radius: 28px; }
  .yc-play-orb { width: 70px; height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* Responsive refinement v1.4 */
.yc-service-card p, .yc-business-card p, .yc-collection-card p, .yc-post-card p { overflow-wrap: break-word; word-break: normal; }
.yc-services-grid, .yc-collections-grid, .yc-post-grid, .yc-business-grid { align-items: stretch; }
@media (min-width: 1180px) {
  .yc-services-grid[style], .yc-collections-grid[style], .yc-post-grid[style] { gap: 20px; }
}
@media (max-width: 1180px) {
  .yc-hero h1 { max-width: 900px; }
}
@media (max-width: 760px) {
  .yc-service-card, .yc-post-card, .yc-collection-card, .yc-business-card { min-height: auto; }
  .yc-business-wrap { padding: 20px; border-radius: 28px; }
  .yc-business-grid { grid-template-columns: 1fr; }
}


/* Refinamiento v1.5: Franklin Gothic Demi + tarjetas seguras */
.yc-service-card, .yc-business-card, .yc-post-card, .yc-mini-card, .yc-contact-card { min-width: 0; }
.yc-business-grid { grid-template-columns: repeat(var(--yc-business-cols, 3), minmax(240px, 1fr)); }
.yc-business-wrap .yc-section-title { max-width: 820px; }
.yc-services-grid { grid-template-columns: repeat(var(--yc-services-cols, 3), minmax(240px, 1fr)); }
.yc-post-grid { grid-template-columns: repeat(var(--yc-content-cols, 3), minmax(240px, 1fr)); }
@media (max-width: 1180px) {
  .yc-business-grid, .yc-services-grid, .yc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .yc-business-grid, .yc-services-grid, .yc-post-grid { grid-template-columns: 1fr; }
}


/* Refinamiento v1.6: combinación tipográfica y lectura premium */
body,
.yc-hero-lead,
.yc-section-text,
.yc-service-card p,
.yc-business-card p,
.yc-collection-card p,
.yc-post-card p,
.yc-mini-card p,
.yc-contact-card p,
.yc-entry,
.yc-entry p {
  font-family: var(--yc-font-body);
  font-weight: 400;
  letter-spacing: .005em;
}

.yc-hero h1,
.yc-page-hero h1,
.yc-section-title,
.yc-service-card h3,
.yc-business-card h3,
.yc-collection-card h3,
.yc-post-card h3,
.yc-contact-card h2,
.yc-brand-name,
.yc-menu a,
.yc-btn,
.yc-card-cta,
.yc-header-cta,
.yc-kicker,
.yc-chip {
  font-family: var(--yc-font-display);
}

.yc-service-card h3,
.yc-business-card h3,
.yc-collection-card h3,
.yc-post-card h3 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

.yc-service-card h3 { font-size: clamp(1.45rem, min(var(--yc-card-title-size, 2vw), 1.75vw), 2.05rem); }
.yc-business-card h3 { font-size: clamp(1.32rem, 1.55vw, 1.78rem); }
.yc-business-card { padding: clamp(18px, 2vw, 24px); min-height: 220px; }
.yc-business-grid { grid-template-columns: repeat(var(--yc-business-cols, 3), minmax(0, 1fr)); }
.yc-services-grid { grid-template-columns: repeat(var(--yc-services-cols, 3), minmax(0, 1fr)); }
.yc-post-grid, .yc-collections-grid { grid-template-columns: repeat(var(--yc-content-cols, 3), minmax(0, 1fr)); }

.yc-page-hero.yc-page-hero--hidden { display: none; }
.yc-content-wrap.yc-content-wrap--no-hero { padding-top: clamp(34px, 5vw, 68px); }

@media (max-width: 1120px) {
  .yc-business-grid, .yc-services-grid, .yc-post-grid, .yc-collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .yc-business-grid, .yc-services-grid, .yc-post-grid, .yc-collections-grid { grid-template-columns: 1fr; }
  .yc-business-card h3, .yc-service-card h3 { font-size: clamp(1.55rem, 8vw, 2.25rem); }
}


/* v1.7: imágenes destacadas premium, video dinámico y navegación continua */
.yc-featured-crop {
  margin: 0 0 clamp(22px, 3vw, 34px);
  width: 100%;
  height: clamp(150px, 18vw, 200px);
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.yc-featured-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
}
.yc-post-thumb,
.yc-related-thumb {
  height: clamp(150px, 16vw, 190px);
  aspect-ratio: auto;
  border-radius: 22px 22px 0 0;
}
.yc-post-thumb img,
.yc-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.yc-entry > img,
.yc-entry .wp-block-image img {
  height: auto;
  max-height: none;
  object-fit: contain;
}
.yc-video-feature {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}
.yc-video-feature-copy { position: relative; z-index: 2; }
.yc-video-feature-player {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
}
.yc-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 24px 60px rgba(0,0,0,.23);
}
.yc-video-frame img,
.yc-video-frame video,
.yc-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: inherit;
  display: block;
}
.yc-lite-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(66px, 8vw, 92px);
  height: clamp(66px, 8vw, 92px);
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--yc-red);
  font-family: var(--yc-font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 20px 55px rgba(0,0,0,.28);
  z-index: 3;
}
.yc-page-layout {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}
.yc-side-cta {
  position: sticky;
  top: 104px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(233,50,77,.24), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--yc-shadow);
}
.yc-side-cta h2 {
  margin: 0;
  font-family: var(--yc-font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.yc-side-cta p {
  color: rgba(255,255,255,.74);
  margin: 16px 0 22px;
}
.yc-side-cta .yc-btn { width: 100%; }
.yc-related-section {
  margin-top: clamp(44px, 7vw, 80px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.yc-related-head { margin-bottom: 18px; }
.yc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.yc-related-card {
  min-width: 0;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}
.yc-related-thumb {
  display: block;
  margin: -18px -18px 18px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.yc-related-card h3 {
  margin: 0;
  font-family: var(--yc-font-display);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.yc-related-card h3 a { text-decoration: none; }
.yc-related-card p { color: rgba(255,255,255,.68); margin: 12px 0 0; }
.yc-entry-actions { margin-top: 36px; }

@media (max-width: 980px) {
  .yc-page-layout { grid-template-columns: 1fr; }
  .yc-side-cta { position: relative; top: auto; }
  .yc-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .yc-featured-crop { height: clamp(150px, 38vw, 190px); border-radius: 22px; }
  .yc-video-feature { min-height: auto; }
  .yc-video-image-card, .yc-video-image-card--empty { min-height: 240px; border-radius: 26px; }
  .yc-video-frame { border-radius: 20px; }
  .yc-related-grid { grid-template-columns: 1fr; }
}


/* v1.8 - tarjetas laterales del portal como enlaces editables */
.yc-mini-card{display:block;text-decoration:none;color:inherit;overflow:hidden;}
.yc-mini-card:focus-visible{outline:3px solid var(--yc-red);outline-offset:4px;}
.yc-mini-card h4,.yc-mini-card p{max-width:100%;overflow-wrap:anywhere;}


/* v1.9: texto final SEO + redes oficiales estratégicas */
.yc-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.yc-social--footer {
  margin-top: 0;
  justify-content: flex-end;
}
.yc-social-label {
  font-family: var(--yc-font-display);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.66);
  white-space: nowrap;
}
.yc-social-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.yc-social-icon {
  --yc-social-accent: var(--yc-red);
  width: 46px;
  min-width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 35% 20%, rgba(255,255,255,.22), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.yc-social-icon:hover,
.yc-social-icon:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--yc-social-accent), white 30%);
  box-shadow: 0 18px 42px rgba(0,0,0,.22), 0 0 0 4px color-mix(in srgb, var(--yc-social-accent), transparent 82%);
  outline: 0;
}
.yc-social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}
.yc-social-icon span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.yc-social-icon--youtube { --yc-social-accent: #ff0033; }
.yc-social-icon--facebook { --yc-social-accent: #1877f2; }
.yc-social-icon--tiktok { --yc-social-accent: #00f2ea; }
.yc-social-icon--instagram { --yc-social-accent: #e1306c; }
.yc-social-icon--youtube:hover { background: linear-gradient(135deg, rgba(255,0,51,.95), rgba(255,78,92,.78)); }
.yc-social-icon--facebook:hover { background: linear-gradient(135deg, rgba(24,119,242,.95), rgba(43,121,255,.72)); }
.yc-social-icon--tiktok:hover { background: linear-gradient(135deg, rgba(0,242,234,.72), rgba(233,50,77,.76)); }
.yc-social-icon--instagram:hover { background: radial-gradient(circle at 30% 110%, #feda75, transparent 32%), linear-gradient(135deg, rgba(225,48,108,.95), rgba(88,81,219,.76)); }
.yc-hero-copy .yc-social { margin-top: 24px; }
.yc-footer .yc-social-icons { gap: 7px; }
.yc-footer .yc-social-icon { width: 40px; min-width: 40px; height: 40px; }
.yc-footer .yc-social-icon svg { width: 19px; height: 19px; }
@media (max-width: 760px) {
  .yc-social { align-items: flex-start; flex-direction: column; gap: 10px; }
  .yc-social-icons { gap: 8px; }
  .yc-social-icon { width: 44px; min-width: 44px; height: 44px; }
  .yc-social--footer { justify-content: flex-start; width: 100%; }
}

/* v2.0: ruleta dinámica de servicios, patrocinio y señal en vivo */
.yc-loop-section {
  padding-top: clamp(18px, 3vw, 42px);
}
.yc-loop-shell {
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 8% 12%, rgba(233,50,77,.18), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(31,117,255,.14), transparent 32%),
    rgba(255,255,255,.045);
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
}
.yc-loop-head {
  align-items: center;
  margin-bottom: 22px;
}
.yc-loop-controls {
  display: inline-flex;
  gap: 10px;
  flex-shrink: 0;
}
.yc-loop-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: var(--yc-font-display);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.yc-loop-btn:hover,
.yc-loop-btn:focus-visible {
  background: rgba(233,50,77,.28);
  border-color: rgba(233,50,77,.62);
  transform: translateY(-1px);
  outline: 0;
}
.yc-loop-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 33.333%);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.28) transparent;
}
.yc-loop-track::-webkit-scrollbar { height: 8px; }
.yc-loop-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,.24); border-radius: 999px; }
.yc-loop-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  padding: clamp(22px, 2.4vw, 28px);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.05)),
    rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 55px rgba(0,0,0,.15);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.yc-loop-card:hover,
.yc-loop-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(233,50,77,.45);
  background:
    radial-gradient(circle at 82% 12%, rgba(233,50,77,.20), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.065));
  outline: 0;
}
.yc-loop-card h3 {
  margin: 0;
  font-family: var(--yc-font-display);
  font-size: clamp(1.45rem, 2.15vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.yc-loop-card p {
  margin: 0;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
}
.yc-loop-card .yc-card-cta {
  margin-top: auto;
}
@media (max-width: 1080px) {
  .yc-loop-track { grid-auto-columns: minmax(270px, 48%); }
}
@media (max-width: 640px) {
  .yc-loop-shell { padding: 18px; border-radius: 28px; }
  .yc-loop-track { grid-auto-columns: minmax(250px, 88%); gap: 14px; }
  .yc-loop-card { min-height: 220px; border-radius: 26px; }
  .yc-loop-controls { margin-top: 16px; }
  .yc-loop-head { display: block; }
}

/* Ajustes de seguridad visual para libro editable */
.yc-cover-content strong,
.yc-cover-content span,
.yc-page-content strong,
.yc-book-small strong {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.yc-cover-content strong { max-width: 90%; }
.yc-cover-content span { max-width: 92%; }
.yc-page-content strong { display: block; max-width: 82%; }
.yc-book-small strong { display: block; max-width: 100%; }

/* YouTube channel info card in video portal */
.yc-youtube-channel-card {
  min-height: 420px;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(26px, 3vw, 42px);
  background:
    radial-gradient(circle at 88% 12%, rgba(233,50,77,.28), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--yc-shadow);
  position: relative;
  text-decoration: none;
  color: #fff;
}
.yc-youtube-channel-card:before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  pointer-events: none;
}
.yc-youtube-logo {
  width: 82px;
  height: 82px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--yc-red), #ff6a45);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 28px 58px rgba(0,0,0,.26);
  position: relative;
  z-index: 2;
}
.yc-youtube-channel-card .yc-chip,
.yc-youtube-channel-card h3,
.yc-youtube-channel-card p,
.yc-youtube-channel-card .yc-youtube-metrics,
.yc-youtube-channel-card .yc-youtube-button,
.yc-youtube-channel-card small {
  position: relative;
  z-index: 2;
}
.yc-youtube-channel-card h3 {
  margin: 0;
  font-family: var(--yc-font-display);
  font-size: clamp(1.75rem, 2.4vw, 3rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.yc-youtube-channel-card p {
  margin: 0;
  max-width: 520px;
  color: rgba(255,255,255,.72);
}
.yc-youtube-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.yc-youtube-metrics div {
  padding: 16px;
  border-radius: 22px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
}
.yc-youtube-metrics strong {
  display: block;
  font-family: var(--yc-font-display);
  font-size: clamp(1.6rem, 2vw, 2.35rem);
  line-height: 1;
}
.yc-youtube-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.66);
  font-size: .88rem;
}
.yc-youtube-channel-card small {
  color: rgba(255,255,255,.52);
}
@media (max-width: 760px) {
  .yc-youtube-channel-card { min-height: 280px; border-radius: 28px; }
  .yc-youtube-metrics { grid-template-columns: 1fr 1fr; }
}


/* v2.8 - espacio lateral del portal con fallback automático */
.yc-video-strip > aside, .yc-video-strip > .yc-video-image-card { align-self: stretch; }
@media (max-width: 980px) {
  .yc-video-strip > aside, .yc-video-strip > .yc-video-image-card { min-height: 220px; }
}

/* v3.0 - columnas configurables para páginas */
.yc-page-layout--cols-1 {
  grid-template-columns: minmax(0, 1fr);
}
.yc-page-layout--cols-1 .yc-entry {
  max-width: 980px;
  width: 100%;
}
.yc-page-layout--cols-2 {
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
}
.yc-page-layout--cols-3 {
  grid-template-columns: minmax(220px, 285px) minmax(0, 1fr) minmax(220px, 285px);
}
.yc-page-layout--contact-repeat .yc-side-cta:last-child {
  background:
    radial-gradient(circle at top right, rgba(233,50,77,.26), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.115), rgba(255,255,255,.055));
}
@media (max-width: 1180px) {
  .yc-page-layout--cols-3 { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
  .yc-page-layout--contact-repeat .yc-side-cta:last-child { grid-column: 1 / -1; position: relative; top: auto; }
}
@media (max-width: 980px) {
  .yc-page-layout--cols-1,
  .yc-page-layout--cols-2,
  .yc-page-layout--cols-3 { grid-template-columns: 1fr; }
  .yc-page-layout--cols-1 .yc-entry { max-width: none; }
}


/* v3.3 - posición de columna de cotización en páginas */
.yc-page-layout--cols-2.yc-page-layout--sidebar-left {
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
}
.yc-page-layout--cols-2.yc-page-layout--sidebar-right {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
}
.yc-page-layout--sidebar-right .yc-side-cta {
  grid-column: auto;
}
@media (max-width: 980px) {
  .yc-page-layout--cols-2.yc-page-layout--sidebar-left,
  .yc-page-layout--cols-2.yc-page-layout--sidebar-right {
    grid-template-columns: 1fr;
  }
}

/* v3.5 - pie de página editable estilo directorio */
.yc-footer {
  padding: clamp(24px, 3vw, 38px) 0 22px;
}
.yc-footer-columns {
  display: grid;
  grid-template-columns: repeat(var(--yc-footer-cols, 4), minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  margin-bottom: 24px;
  font-size: var(--yc-footer-text, 13px);
  line-height: 1.45;
}
.yc-footer--compact .yc-footer-columns {
  gap: clamp(14px, 2.4vw, 36px);
  margin-bottom: 18px;
}
.yc-footer-col {
  min-width: 0;
}
.yc-footer-col h2 {
  margin: 0 0 10px;
  font-family: var(--yc-font-body);
  font-size: var(--yc-footer-title, 13px);
  line-height: 1.25;
  letter-spacing: 0;
  color: rgba(255,255,255,.94);
  font-weight: 800;
}
.yc-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}
.yc-footer--compact .yc-footer-col ul {
  gap: 6px;
}
.yc-footer-col li {
  margin: 0;
  min-width: 0;
}
.yc-footer-col a,
.yc-footer-col span {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.yc-footer-col a:hover,
.yc-footer-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: 0;
}
.yc-footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px 22px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: var(--yc-footer-text, 13px);
  color: rgba(255,255,255,.58);
}
.yc-footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.58);
}
.yc-footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.38);
}
.yc-footer-bottom nav a {
  color: rgba(255,255,255,.66);
  font-size: var(--yc-footer-text, 13px);
  font-weight: 500;
  text-decoration: none;
}
.yc-footer-bottom nav a:hover,
.yc-footer-bottom nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: 0;
}
.yc-footer-bottom .yc-social {
  margin-top: 0;
}
.yc-footer-bottom .yc-social-label {
  font-size: 11px;
}
.yc-footer-bottom .yc-social-icon {
  width: 32px;
  min-width: 32px;
  height: 32px;
}
.yc-footer-bottom .yc-social-icon svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 980px) {
  .yc-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yc-footer-bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
@media (max-width: 560px) {
  .yc-footer-columns {
    grid-template-columns: 1fr;
  }
}


/* v3.7 - pie de página optimizado: caja nombre + caja de enlaces */
.yc-footer {
  padding: clamp(20px, 2.5vw, 32px) 0 18px;
}
.yc-footer-columns {
  gap: clamp(16px, 2.6vw, 38px);
  margin-bottom: 18px;
  font-size: var(--yc-footer-text, 12px);
  line-height: 1.42;
}
.yc-footer--compact .yc-footer-columns {
  gap: clamp(12px, 2vw, 30px);
  margin-bottom: 14px;
}
.yc-footer-col h2 {
  margin-bottom: 8px;
  font-size: var(--yc-footer-title, 12px);
  font-weight: 800;
}
.yc-footer-col ul {
  gap: 5px;
}
.yc-footer-col a,
.yc-footer-col span {
  font-size: var(--yc-footer-text, 12px);
  line-height: 1.38;
}
.yc-footer-bottom {
  padding-top: 12px;
  font-size: var(--yc-footer-text, 12px);
}
.yc-footer-bottom nav a {
  font-size: var(--yc-footer-text, 12px);
}


/* v3.9 - modos de columna en pie de página: enlaces o texto HTML premium */
.yc-footer-col--text {
  min-width: 0;
}
.yc-footer-richtext {
  color: rgba(255,255,255,.66);
  font-size: var(--yc-footer-text-size, 12px);
  line-height: 1.55;
}
.yc-footer-richtext > *:first-child { margin-top: 0; }
.yc-footer-richtext > *:last-child { margin-bottom: 0; }
.yc-footer-richtext p {
  margin: 0 0 .62em;
  color: rgba(255,255,255,.66);
}
.yc-footer-richtext a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.yc-footer-richtext a:hover,
.yc-footer-richtext a:focus-visible {
  color: #fff;
  border-bottom-color: var(--yc-red);
}
.yc-footer-richtext strong,
.yc-footer-richtext b {
  color: rgba(255,255,255,.9);
  font-weight: 800;
}
.yc-footer-richtext small {
  display: inline-block;
  color: rgba(255,255,255,.52);
  font-size: .92em;
}
.yc-footer-richtext ul,
.yc-footer-richtext ol {
  margin: .45em 0 .65em 1.1em;
  padding: 0;
}
.yc-footer-richtext li {
  margin: .22em 0;
}


/* v4.0 - Premium FX: glass, water color, tables and scroll depth.
   No text or saved Customizer content is changed by these effects. */
body.yc-premium-fx-on {
  --yc-fx-x: 50%;
  --yc-fx-y: 18%;
  --yc-scroll-depth: 0px;
  background:
    radial-gradient(circle at var(--yc-fx-x) var(--yc-fx-y), rgba(233,50,77,.18), transparent 28%),
    radial-gradient(circle at calc(100% - var(--yc-fx-x)) 78%, rgba(34,113,255,.16), transparent 31%),
    linear-gradient(135deg, #06152f 0%, #081d42 48%, #030812 100%);
}
body.yc-premium-fx-on:before,
body.yc-premium-fx-on:after {
  content: "";
  position: fixed;
  inset: -18vmax;
  pointer-events: none;
  z-index: -1;
  opacity: .72;
  filter: blur(46px) saturate(1.25);
  transform: translate3d(0, var(--yc-scroll-depth), 0) rotate(0.001deg);
  will-change: transform, opacity, background-position;
}
body.yc-premium-fx-on:before {
  background:
    radial-gradient(circle at 18% 22%, rgba(233,50,77,.22), transparent 24%),
    radial-gradient(circle at 76% 18%, rgba(0,170,255,.18), transparent 28%),
    radial-gradient(circle at 50% 82%, rgba(255,255,255,.07), transparent 26%);
  animation: yc-water-orbit var(--yc-fx-speed, 22s) ease-in-out infinite alternate;
}
body.yc-premium-fx-on:after {
  opacity: .42;
  background:
    conic-gradient(from 120deg at 50% 50%, rgba(233,50,77,.16), rgba(31,117,255,.18), rgba(255,255,255,.06), rgba(233,50,77,.14));
  mix-blend-mode: screen;
  animation: yc-rgb-flow calc(var(--yc-fx-speed, 22s) * 1.35) linear infinite;
}
.yc-premium-fx-on .yc-site {
  position: relative;
  overflow: clip;
}
.yc-premium-fx-on .yc-site:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 24%, rgba(255,255,255,.035) 34%, transparent 42% 100%),
    radial-gradient(circle at var(--yc-fx-x) 18%, rgba(255,255,255,.06), transparent 26%);
  background-size: 220% 220%, 100% 100%;
  animation: yc-sheen calc(var(--yc-fx-speed, 22s) * 1.1) ease-in-out infinite alternate;
}
.yc-premium-fx-on .yc-header,
.yc-premium-fx-on .yc-hero,
.yc-premium-fx-on .yc-section,
.yc-premium-fx-on .yc-page-hero,
.yc-premium-fx-on .yc-content-wrap,
.yc-premium-fx-on .yc-footer {
  position: relative;
  z-index: 1;
}
.yc-fx-blur-on .yc-service-card,
.yc-fx-blur-on .yc-business-wrap,
.yc-fx-blur-on .yc-business-card,
.yc-fx-blur-on .yc-video-feature,
.yc-fx-blur-on .yc-video-image-card,
.yc-fx-blur-on .yc-youtube-channel-card,
.yc-fx-blur-on .yc-post-card,
.yc-fx-blur-on .yc-contact-card,
.yc-fx-blur-on .yc-entry,
.yc-fx-blur-on .yc-side-cta,
.yc-fx-blur-on .yc-related-card,
.yc-fx-blur-on .yc-footer-columns,
.yc-fx-blur-on .yc-footer-col {
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}
.yc-fx-rgb-on .yc-service-card,
.yc-fx-rgb-on .yc-business-card,
.yc-fx-rgb-on .yc-video-feature,
.yc-fx-rgb-on .yc-youtube-channel-card,
.yc-fx-rgb-on .yc-post-card,
.yc-fx-rgb-on .yc-contact-card,
.yc-fx-rgb-on .yc-side-cta,
.yc-fx-rgb-on .yc-footer-col {
  position: relative;
}
.yc-fx-rgb-on .yc-service-card:before,
.yc-fx-rgb-on .yc-business-card:before,
.yc-fx-rgb-on .yc-video-feature:before,
.yc-fx-rgb-on .yc-youtube-channel-card:before,
.yc-fx-rgb-on .yc-post-card:before,
.yc-fx-rgb-on .yc-contact-card:before,
.yc-fx-rgb-on .yc-side-cta:before,
.yc-fx-rgb-on .yc-footer-col:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: .58;
  background: linear-gradient(115deg, rgba(233,50,77,.75), rgba(43,130,255,.72), rgba(255,255,255,.42), rgba(233,50,77,.62));
  background-size: 260% 260%;
  animation: yc-rgb-border var(--yc-fx-speed, 22s) ease-in-out infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.yc-fx-rgb-on .yc-btn-primary,
.yc-fx-rgb-on .yc-header-cta,
.yc-fx-rgb-on .yc-btn-light {
  background-size: 220% 220%;
  animation: yc-button-flow calc(var(--yc-fx-speed, 22s) * .82) ease-in-out infinite alternate;
}
.yc-fx-scroll3d-on .yc-tilt,
.yc-fx-scroll3d-on .yc-service-card,
.yc-fx-scroll3d-on .yc-business-card,
.yc-fx-scroll3d-on .yc-post-card,
.yc-fx-scroll3d-on .yc-side-cta,
.yc-fx-scroll3d-on .yc-footer-col {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}
.yc-fx-scroll3d-on.yc-js-fx .yc-section,
.yc-fx-scroll3d-on.yc-js-fx .yc-page-hero,
.yc-fx-scroll3d-on.yc-js-fx .yc-content-wrap {
  opacity: .001;
  transform: perspective(1300px) translate3d(0, calc(var(--yc-fx-depth, 12px) * 1.5), 0) rotateX(1.6deg) scale(.992);
  transition: opacity .75s ease, transform .9s cubic-bezier(.16,1,.3,1);
}
.yc-fx-scroll3d-on.yc-js-fx .yc-section.yc-inview,
.yc-fx-scroll3d-on.yc-js-fx .yc-page-hero.yc-inview,
.yc-fx-scroll3d-on.yc-js-fx .yc-content-wrap.yc-inview {
  opacity: 1;
  transform: perspective(1300px) translate3d(0, 0, 0) rotateX(0) scale(1);
}
.yc-fx-scroll3d-on.yc-js-fx .yc-hero-panel,
.yc-fx-scroll3d-on.yc-js-fx .yc-video-strip,
.yc-fx-scroll3d-on.yc-js-fx .yc-services-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-business-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-post-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-footer-columns {
  transform: translate3d(0, calc(var(--yc-local-depth, 0) * var(--yc-fx-depth, 12px) * -1), 0);
  transition: transform .18s linear;
  will-change: transform;
}
.yc-fx-tables-on .yc-entry table,
.yc-fx-tables-on .wp-block-table table,
.yc-fx-tables-on table.yc-premium-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, rgba(233,50,77,.14), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(31,117,255,.16), transparent 34%),
    rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}
.yc-fx-tables-on .yc-entry table th,
.yc-fx-tables-on .yc-entry table td,
.yc-fx-tables-on .wp-block-table table th,
.yc-fx-tables-on .wp-block-table table td,
.yc-fx-tables-on table.yc-premium-table th,
.yc-fx-tables-on table.yc-premium-table td {
  padding: clamp(12px, 1.6vw, 18px);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  vertical-align: top;
}
.yc-fx-tables-on .yc-entry table th,
.yc-fx-tables-on .wp-block-table table th,
.yc-fx-tables-on table.yc-premium-table th {
  color: #fff;
  font-family: var(--yc-font-display);
  letter-spacing: -.015em;
  background:
    linear-gradient(120deg, rgba(233,50,77,.22), rgba(31,117,255,.18)),
    rgba(255,255,255,.055);
}
.yc-fx-tables-on .yc-entry table tr:last-child td,
.yc-fx-tables-on .wp-block-table table tr:last-child td,
.yc-fx-tables-on table.yc-premium-table tr:last-child td {
  border-bottom: 0;
}
.yc-fx-tables-on .yc-entry table tr,
.yc-fx-tables-on .wp-block-table table tr,
.yc-fx-tables-on table.yc-premium-table tr {
  transition: background .22s ease, transform .22s ease;
}
.yc-fx-tables-on .yc-entry table tbody tr:hover,
.yc-fx-tables-on .wp-block-table table tbody tr:hover,
.yc-fx-tables-on table.yc-premium-table tbody tr:hover {
  background: rgba(255,255,255,.065);
  transform: translateX(3px);
}
.yc-fx-tables-on .wp-block-table {
  overflow-x: auto;
  border-radius: 26px;
}
@keyframes yc-water-orbit {
  0% { transform: translate3d(-2%, -1%, 0) rotate(-4deg) scale(1); }
  50% { transform: translate3d(2%, 1%, 0) rotate(3deg) scale(1.035); }
  100% { transform: translate3d(4%, -2%, 0) rotate(6deg) scale(1.06); }
}
@keyframes yc-rgb-flow {
  0% { transform: translate3d(-1%, 0, 0) rotate(0deg) scale(1.03); filter: blur(54px) hue-rotate(0deg) saturate(1.1); }
  100% { transform: translate3d(1%, 1.5%, 0) rotate(360deg) scale(1.08); filter: blur(54px) hue-rotate(28deg) saturate(1.28); }
}
@keyframes yc-sheen {
  0% { background-position: 0% 40%, 50% 0%; opacity: .42; }
  100% { background-position: 100% 60%, 50% 0%; opacity: .72; }
}
@keyframes yc-rgb-border {
  0% { background-position: 0% 50%; opacity: .35; }
  50% { background-position: 100% 50%; opacity: .68; }
  100% { background-position: 0% 50%; opacity: .42; }
}
@keyframes yc-button-flow {
  0% { filter: saturate(1); background-position: 0% 50%; }
  100% { filter: saturate(1.18); background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  body.yc-premium-fx-on:before,
  body.yc-premium-fx-on:after,
  .yc-premium-fx-on .yc-site:before,
  .yc-fx-rgb-on .yc-service-card:before,
  .yc-fx-rgb-on .yc-business-card:before,
  .yc-fx-rgb-on .yc-video-feature:before,
  .yc-fx-rgb-on .yc-youtube-channel-card:before,
  .yc-fx-rgb-on .yc-post-card:before,
  .yc-fx-rgb-on .yc-contact-card:before,
  .yc-fx-rgb-on .yc-side-cta:before,
  .yc-fx-rgb-on .yc-footer-col:before,
  .yc-fx-rgb-on .yc-btn-primary,
  .yc-fx-rgb-on .yc-header-cta,
  .yc-fx-rgb-on .yc-btn-light {
    animation: none !important;
  }
  .yc-fx-scroll3d-on.yc-js-fx .yc-section,
  .yc-fx-scroll3d-on.yc-js-fx .yc-page-hero,
  .yc-fx-scroll3d-on.yc-js-fx .yc-content-wrap {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 760px) {
  body.yc-premium-fx-on:before,
  body.yc-premium-fx-on:after {
    filter: blur(58px) saturate(1.05);
    opacity: .42;
  }
  .yc-fx-scroll3d-on.yc-js-fx .yc-section,
  .yc-fx-scroll3d-on.yc-js-fx .yc-page-hero,
  .yc-fx-scroll3d-on.yc-js-fx .yc-content-wrap {
    transform: translate3d(0, 12px, 0);
  }
}



/* v4.1 - Premium FX optimizado: más visible, sin opción RGB separada.
   Respeta todos los textos guardados en WordPress; solo cambia presentación visual. */
body.yc-premium-fx-on {
  position: relative;
  isolation: isolate;
  --yc-water-1: rgba(233,50,77, calc(.30 * var(--yc-fx-intensity, .72)));
  --yc-water-2: rgba(43,130,255, calc(.28 * var(--yc-fx-intensity, .72)));
  --yc-water-3: rgba(255,255,255, calc(.10 * var(--yc-fx-intensity, .72)));
  background:
    radial-gradient(ellipse at var(--yc-fx-x, 50%) var(--yc-fx-y, 18%), var(--yc-water-1), transparent 34%),
    radial-gradient(ellipse at calc(100% - var(--yc-fx-x, 50%)) 72%, var(--yc-water-2), transparent 36%),
    linear-gradient(135deg, #030711 0%, #071f49 46%, #021535 100%) !important;
  background-attachment: fixed;
}
body.yc-premium-fx-on:before,
body.yc-premium-fx-on:after {
  z-index: 0;
  opacity: calc(.62 * var(--yc-fx-intensity, .72));
  filter: blur(58px) saturate(1.45) contrast(1.06);
  mix-blend-mode: screen;
}
body.yc-premium-fx-on:before {
  background:
    radial-gradient(ellipse at 12% 24%, rgba(233,50,77,.55), transparent 28%),
    radial-gradient(ellipse at 82% 18%, rgba(0,165,255,.38), transparent 31%),
    radial-gradient(ellipse at 52% 86%, rgba(255,255,255,.14), transparent 29%),
    radial-gradient(ellipse at 30% 64%, rgba(82,71,255,.25), transparent 34%);
  animation: yc-water-orbit-v41 var(--yc-fx-speed, 18s) ease-in-out infinite alternate;
}
body.yc-premium-fx-on:after {
  opacity: calc(.44 * var(--yc-fx-intensity, .72));
  background:
    conic-gradient(from 80deg at 50% 50%, rgba(233,50,77,.32), rgba(43,130,255,.30), rgba(255,255,255,.10), rgba(123,84,255,.24), rgba(233,50,77,.28));
  animation: yc-color-water-v41 calc(var(--yc-fx-speed, 18s) * 1.2) linear infinite;
}
.yc-premium-fx-on .yc-site {
  position: relative;
  z-index: 1;
  overflow: clip;
}
.yc-premium-fx-on .yc-site:before {
  z-index: 0;
  opacity: calc(.70 * var(--yc-fx-intensity, .72));
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(255,255,255,.055) 28%, transparent 38% 100%),
    radial-gradient(circle at var(--yc-fx-x, 50%) var(--yc-fx-y, 18%), rgba(255,255,255,.09), transparent 30%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 18px);
  background-size: 260% 260%, 100% 100%, auto;
  animation: yc-sheen-v41 calc(var(--yc-fx-speed, 18s) * .92) ease-in-out infinite alternate;
}
.yc-premium-fx-on .yc-header,
.yc-premium-fx-on .yc-hero,
.yc-premium-fx-on .yc-section,
.yc-premium-fx-on .yc-page-hero,
.yc-premium-fx-on .yc-content-wrap,
.yc-premium-fx-on .yc-footer {
  z-index: 2;
}
.yc-premium-fx-on .yc-service-card,
.yc-premium-fx-on .yc-business-wrap,
.yc-premium-fx-on .yc-business-card,
.yc-premium-fx-on .yc-video-feature,
.yc-premium-fx-on .yc-video-image-card,
.yc-premium-fx-on .yc-youtube-channel-card,
.yc-premium-fx-on .yc-post-card,
.yc-premium-fx-on .yc-collection-card,
.yc-premium-fx-on .yc-contact-card,
.yc-premium-fx-on .yc-entry,
.yc-premium-fx-on .yc-side-cta,
.yc-premium-fx-on .yc-related-card,
.yc-premium-fx-on .yc-footer-col,
.yc-premium-fx-on .yc-footer-columns {
  background-blend-mode: screen, normal;
  box-shadow:
    0 28px 90px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.09),
    0 0 42px rgba(43,130,255, calc(.12 * var(--yc-fx-intensity, .72))),
    0 0 52px rgba(233,50,77, calc(.08 * var(--yc-fx-intensity, .72)));
  transition: transform .42s cubic-bezier(.16,1,.3,1), box-shadow .42s ease, border-color .42s ease, background .42s ease;
}
.yc-premium-fx-on .yc-service-card:hover,
.yc-premium-fx-on .yc-business-card:hover,
.yc-premium-fx-on .yc-post-card:hover,
.yc-premium-fx-on .yc-collection-card:hover,
.yc-premium-fx-on .yc-side-cta:hover,
.yc-premium-fx-on .yc-footer-col:hover {
  border-color: rgba(255,255,255,.32);
  box-shadow:
    0 34px 105px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.16),
    0 0 70px rgba(43,130,255, calc(.24 * var(--yc-fx-intensity, .72))),
    0 0 78px rgba(233,50,77, calc(.20 * var(--yc-fx-intensity, .72)));
}
.yc-premium-fx-on .yc-btn-primary,
.yc-premium-fx-on .yc-header-cta,
.yc-premium-fx-on .yc-btn-light {
  background-size: 240% 240%;
  box-shadow: 0 18px 46px rgba(233,50,77,.26), 0 0 38px rgba(43,130,255, calc(.16 * var(--yc-fx-intensity, .72)));
  animation: yc-button-flow-v41 calc(var(--yc-fx-speed, 18s) * .75) ease-in-out infinite alternate;
}
.yc-premium-fx-on .yc-service-card:before {
  animation: yc-orb-breathe-v41 calc(var(--yc-fx-speed, 18s) * .85) ease-in-out infinite alternate;
  opacity: calc(.95 * var(--yc-fx-intensity, .72));
}
.yc-premium-fx-on .yc-business-card:after {
  background-size: 260% 100%;
  animation: yc-line-flow-v41 calc(var(--yc-fx-speed, 18s) * .70) ease-in-out infinite alternate;
}
.yc-fx-scroll3d-on.yc-js-fx .yc-section,
.yc-fx-scroll3d-on.yc-js-fx .yc-page-hero,
.yc-fx-scroll3d-on.yc-js-fx .yc-content-wrap {
  transform: perspective(1500px) translate3d(0, calc(var(--yc-fx-depth, 18px) * 1.25), 0) rotateX(2.2deg) scale(.988);
  transition: opacity .82s ease, transform 1.05s cubic-bezier(.16,1,.3,1);
}
.yc-fx-scroll3d-on.yc-js-fx .yc-hero-panel,
.yc-fx-scroll3d-on.yc-js-fx .yc-video-strip,
.yc-fx-scroll3d-on.yc-js-fx .yc-services-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-business-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-post-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-footer-columns {
  transform: perspective(1400px) translate3d(0, calc(var(--yc-local-depth, 0) * var(--yc-fx-depth, 18px) * -1.25), 0) rotateX(calc(var(--yc-local-depth, 0) * -1.4deg));
  transition: transform .12s linear;
}
.yc-fx-tables-on .yc-entry table,
.yc-fx-tables-on .wp-block-table table,
.yc-fx-tables-on table.yc-premium-table {
  background:
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.045)),
    radial-gradient(circle at var(--yc-fx-x, 50%) 0%, rgba(233,50,77,.26), transparent 38%),
    radial-gradient(circle at calc(100% - var(--yc-fx-x, 50%)) 0%, rgba(31,117,255,.24), transparent 38%) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  box-shadow: 0 26px 86px rgba(0,0,0,.28), 0 0 54px rgba(31,117,255,.10) !important;
}
.yc-fx-tables-on .yc-entry table th,
.yc-fx-tables-on .wp-block-table table th,
.yc-fx-tables-on table.yc-premium-table th {
  background:
    linear-gradient(120deg, rgba(233,50,77,.34), rgba(31,117,255,.28), rgba(255,255,255,.07)),
    rgba(255,255,255,.07) !important;
}
.yc-fx-tables-on .yc-entry table tbody tr:hover,
.yc-fx-tables-on .wp-block-table table tbody tr:hover,
.yc-fx-tables-on table.yc-premium-table tbody tr:hover {
  background: rgba(255,255,255,.095) !important;
  transform: translateX(5px) scale(1.006);
}
@keyframes yc-water-orbit-v41 {
  0% { transform: translate3d(-4%, -2%, 0) rotate(-8deg) scale(1.02); }
  45% { transform: translate3d(3%, 2%, 0) rotate(5deg) scale(1.08); }
  100% { transform: translate3d(6%, -3%, 0) rotate(10deg) scale(1.13); }
}
@keyframes yc-color-water-v41 {
  0% { transform: translate3d(-2%, 0, 0) rotate(0deg) scale(1.06); filter: blur(60px) hue-rotate(0deg) saturate(1.15); }
  50% { transform: translate3d(1%, 2%, 0) rotate(170deg) scale(1.10); filter: blur(64px) hue-rotate(10deg) saturate(1.34); }
  100% { transform: translate3d(2%, 1%, 0) rotate(360deg) scale(1.13); filter: blur(60px) hue-rotate(20deg) saturate(1.22); }
}
@keyframes yc-sheen-v41 {
  0% { background-position: 0% 40%, 50% 0%, 0 0; opacity: .36; }
  100% { background-position: 100% 60%, 50% 0%, 0 0; opacity: .82; }
}
@keyframes yc-button-flow-v41 {
  0% { filter: saturate(1) brightness(1); background-position: 0% 50%; }
  100% { filter: saturate(1.22) brightness(1.06); background-position: 100% 50%; }
}
@keyframes yc-orb-breathe-v41 {
  0% { transform: translate3d(0,0,0) scale(1); filter: blur(0px) saturate(1); }
  100% { transform: translate3d(-12px,18px,0) scale(1.18); filter: blur(2px) saturate(1.3); }
}
@keyframes yc-line-flow-v41 {
  0% { background-position: 0% 50%; opacity: .68; }
  100% { background-position: 100% 50%; opacity: .98; }
}
@media (prefers-reduced-motion: reduce) {
  body.yc-premium-fx-on:before,
  body.yc-premium-fx-on:after,
  .yc-premium-fx-on .yc-site:before,
  .yc-premium-fx-on .yc-btn-primary,
  .yc-premium-fx-on .yc-header-cta,
  .yc-premium-fx-on .yc-btn-light,
  .yc-premium-fx-on .yc-service-card:before,
  .yc-premium-fx-on .yc-business-card:after {
    animation: none !important;
  }
}


/* v4.3 - encabezado flotante fijo y pie de página premium sin cuadros */
:root {
  --yc-header-real-height: 76px;
  --yc-admin-offset: 0px;
}

.yc-site {
  padding-top: var(--yc-header-real-height, 76px);
}

.yc-header {
  position: fixed;
  top: var(--yc-admin-offset, 0px);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  transition:
    top .28s ease,
    width .28s ease,
    left .28s ease,
    transform .28s ease,
    border-radius .28s ease,
    background .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
  will-change: top, width, transform;
}

.admin-bar .yc-header {
  --yc-admin-offset: 32px;
}

.yc-header.yc-header--scrolled {
  top: calc(var(--yc-admin-offset, 0px) + 12px);
  left: 50%;
  right: auto;
  width: min(var(--yc-max), calc(100% - 32px));
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 0%, rgba(233,50,77,.18), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(31,117,255,.18), transparent 36%),
    rgba(5, 19, 43, .82);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}

.yc-header.yc-header--scrolled .yc-nav-wrap {
  min-height: 64px;
}

.yc-header.yc-header--scrolled .yc-brand-tag {
  opacity: .72;
}

@media (max-width: 880px) {
  .admin-bar .yc-header { --yc-admin-offset: 46px; }
  .yc-header.yc-header--scrolled {
    width: calc(100% - 24px);
    border-radius: 26px;
  }
  .yc-menu {
    inset: calc(var(--yc-admin-offset, 0px) + var(--yc-header-real-height, 76px) + 16px) 14px auto 14px;
  }
}

@media (max-width: 640px) {
  :root { --yc-header-real-height: 68px; }
  .yc-header.yc-header--scrolled .yc-nav-wrap {
    min-height: 60px;
  }
}

/* Footer premium directory: sin tarjetas/cuadros en las orillas */
.yc-footer {
  position: relative;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(233,50,77,.13), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(31,117,255,.14), transparent 30%),
    linear-gradient(180deg, rgba(2,10,28,.08), rgba(2,10,28,.34));
}

.yc-footer:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), rgba(233,50,77,.32), rgba(31,117,255,.28), transparent);
  pointer-events: none;
}

.yc-footer:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255,255,255,.026) 28%, transparent 38% 100%);
  pointer-events: none;
  opacity: .72;
}

.yc-footer .yc-container {
  position: relative;
  z-index: 1;
}

.yc-footer .yc-footer-columns {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.yc-footer .yc-footer-col {
  position: relative;
  padding: 0 clamp(8px, 1.2vw, 18px) 0 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.yc-footer .yc-footer-col:before {
  display: none !important;
}

.yc-footer .yc-footer-col:not(:last-child):after {
  content: "";
  position: absolute;
  top: .25rem;
  right: calc(clamp(8px, 1.2vw, 18px) * -1);
  width: 1px;
  height: calc(100% - .5rem);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.14), rgba(233,50,77,.10), transparent);
  pointer-events: none;
}

.yc-footer .yc-footer-col h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 7px;
  margin-bottom: 10px;
}

.yc-footer .yc-footer-col h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--yc-red), rgba(255,255,255,.34), transparent);
  border-radius: 999px;
}

.yc-footer .yc-footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

.yc-footer .yc-footer-col a:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: .32;
  flex: 0 0 auto;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.yc-footer .yc-footer-col a:hover,
.yc-footer .yc-footer-col a:focus-visible {
  transform: translateX(3px);
  text-decoration: none;
}

.yc-footer .yc-footer-col a:hover:before,
.yc-footer .yc-footer-col a:focus-visible:before {
  opacity: 1;
  transform: scale(1.2);
  background: var(--yc-red);
}

.yc-footer .yc-footer-richtext {
  max-width: 34ch;
}

.yc-footer .yc-footer-bottom {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border-top: 1px solid rgba(255,255,255,.075);
}

@media (max-width: 980px) {
  .yc-footer .yc-footer-col:not(:last-child):after {
    display: none;
  }
  .yc-footer .yc-footer-col {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yc-header {
    transition: none;
  }
  .yc-footer .yc-footer-col a {
    transition: none;
  }
}


/* v4.3 - encabezado premium compacto sin espacio superior + footer editorial sin cuadros */
:root {
  --yc-header-slide: 0px;
  --yc-header-float-bg:
    radial-gradient(circle at 8% 8%, rgba(233,50,77,.24), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(31,117,255,.25), transparent 32%),
    linear-gradient(125deg, rgba(24,15,46,.86), rgba(5,19,43,.90) 46%, rgba(8,41,87,.88));
}

.yc-site {
  padding-top: 0 !important;
}

.yc-header,
.yc-header.yc-header--scrolled {
  position: fixed;
  top: calc(var(--yc-admin-offset, 0px) + var(--yc-header-slide, 0px)) !important;
  left: 50% !important;
  right: auto !important;
  width: min(1240px, calc(100% - 32px)) !important;
  transform: translateX(-50%) !important;
  z-index: 9999;
  border-radius: 0 0 34px 34px;
  border: 1px solid rgba(255,255,255,.135);
  border-top-color: rgba(255,255,255,.075);
  background: var(--yc-header-float-bg) !important;
  box-shadow:
    0 22px 70px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.11);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  overflow: hidden;
  transition:
    top .24s ease,
    width .24s ease,
    border-radius .24s ease,
    box-shadow .24s ease,
    background .24s ease,
    transform .24s ease;
  will-change: top, transform;
}

.yc-header:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(255,255,255,.085), transparent 27%, transparent 72%, rgba(255,255,255,.045)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 18px);
  opacity: .85;
}

.yc-header:after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), rgba(233,50,77,.22), rgba(31,117,255,.22), transparent);
  opacity: .78;
}

.yc-header.yc-header--scrolled {
  border-radius: 999px;
  box-shadow:
    0 18px 62px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.055),
    inset 0 1px 0 rgba(255,255,255,.13);
}

.yc-header .yc-nav-wrap,
.yc-header.yc-header--scrolled .yc-nav-wrap {
  position: relative;
  z-index: 1;
  min-height: 70px;
  padding-block: 0;
}

.yc-header.yc-header--scrolled .yc-nav-wrap {
  min-height: 62px;
}

.yc-brand {
  gap: 12px;
}

.yc-logo-img {
  max-height: min(var(--yc-logo-height, 56px), 54px);
}

.yc-logo-img img,
.yc-custom-logo,
.yc-brand img,
.custom-logo {
  max-height: min(var(--yc-logo-height, 56px), 54px) !important;
}

.yc-brand-name {
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1;
}

.yc-brand-tag {
  margin-top: 3px;
  font-size: .78rem;
  letter-spacing: .075em;
  opacity: .70;
}

.yc-menu a {
  min-height: 40px;
  padding: 9px 13px;
  font-weight: 750;
  color: rgba(255,255,255,.86);
}

.yc-header-cta {
  min-height: 54px;
  padding: 14px 22px;
  box-shadow:
    0 18px 42px rgba(233,50,77,.28),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.yc-hero {
  padding-top: calc(var(--yc-header-real-height, 70px) + clamp(18px, 4vw, 42px)) !important;
}

.yc-page-hero {
  padding-top: calc(var(--yc-header-real-height, 70px) + clamp(14px, 3vw, 32px)) !important;
  padding-bottom: clamp(20px, 3vw, 30px) !important;
}

.yc-content-wrap {
  padding-bottom: clamp(42px, 6vw, 62px);
}

.yc-section {
  padding-top: clamp(38px, 5.5vw, 74px);
  padding-bottom: clamp(38px, 5.5vw, 74px);
}

.yc-compact {
  padding-top: clamp(26px, 4vw, 50px);
  padding-bottom: clamp(26px, 4vw, 50px);
}

/* Footer tipo directorio editorial: sin cajas ni bordes de tarjeta */
.yc-footer {
  padding: clamp(34px, 5vw, 58px) 0 24px !important;
  background:
    radial-gradient(900px 260px at 14% 0%, rgba(233,50,77,.12), transparent 58%),
    radial-gradient(900px 260px at 86% 0%, rgba(31,117,255,.13), transparent 58%),
    linear-gradient(180deg, rgba(5,19,43,.10), rgba(2,9,24,.36)) !important;
}

.yc-footer .yc-footer-columns {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  padding: 0 !important;
  margin: 0 0 clamp(24px, 4vw, 42px) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.yc-footer .yc-footer-col {
  position: relative;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-width: 0;
}

.yc-footer .yc-footer-col:before,
.yc-footer .yc-footer-col:after,
.yc-footer .yc-footer-col:not(:last-child):after {
  display: none !important;
  content: none !important;
}

.yc-footer .yc-footer-col h2 {
  display: block;
  margin: 0 0 11px !important;
  padding: 0 0 9px !important;
  color: rgba(255,255,255,.92);
  font-size: clamp(.78rem, var(--yc-footer-title-size, .88rem), 1rem);
  line-height: 1.1;
  letter-spacing: .01em;
}

.yc-footer .yc-footer-col h2:after {
  width: 100%;
  max-width: 58px;
  height: 1px;
  background: linear-gradient(90deg, rgba(233,50,77,.75), rgba(255,255,255,.28), transparent);
  opacity: .9;
}

.yc-footer .yc-footer-col ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yc-footer .yc-footer-col li {
  margin: 0;
  padding: 0;
}

.yc-footer .yc-footer-col a,
.yc-footer .yc-footer-col span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 1px 0 2px;
  color: rgba(255,255,255,.63);
  font-weight: 520;
  font-size: clamp(.78rem, var(--yc-footer-text-size, .88rem), .96rem);
  line-height: 1.38;
  text-decoration: none;
}

.yc-footer .yc-footer-col a:before {
  display: none !important;
  content: none !important;
}

.yc-footer .yc-footer-col a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--yc-red), rgba(255,255,255,.38));
  transition: right .2s ease, opacity .2s ease;
  opacity: .9;
}

.yc-footer .yc-footer-col a:hover,
.yc-footer .yc-footer-col a:focus-visible {
  color: #fff;
  transform: none !important;
  outline: 0;
}

.yc-footer .yc-footer-col a:hover:after,
.yc-footer .yc-footer-col a:focus-visible:after {
  right: 0;
}

.yc-footer .yc-footer-richtext {
  max-width: 38ch;
  color: rgba(255,255,255,.62);
  font-size: clamp(.78rem, var(--yc-footer-text-size, .88rem), .96rem);
  line-height: 1.55;
}

.yc-footer .yc-footer-richtext p {
  margin: 0 0 8px;
}

.yc-footer .yc-footer-richtext p:last-child {
  margin-bottom: 0;
}

.yc-footer .yc-footer-richtext a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(233,50,77,.45);
}

.yc-footer .yc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  color: rgba(255,255,255,.58);
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.085) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.yc-footer .yc-footer-bottom p,
.yc-footer .yc-footer-bottom a {
  font-size: .78rem;
}

@media (max-width: 1080px) {
  .yc-header,
  .yc-header.yc-header--scrolled {
    width: calc(100% - 24px) !important;
  }
}

@media (max-width: 880px) {
  :root { --yc-header-real-height: 68px; }
  .admin-bar .yc-header { --yc-admin-offset: 46px; }
  .yc-header,
  .yc-header.yc-header--scrolled {
    width: calc(100% - 18px) !important;
    border-radius: 0 0 24px 24px;
  }
  .yc-header.yc-header--scrolled {
    border-radius: 24px;
  }
  .yc-header .yc-nav-wrap,
  .yc-header.yc-header--scrolled .yc-nav-wrap {
    min-height: 64px;
  }
  .yc-menu {
    inset: calc(var(--yc-admin-offset, 0px) + var(--yc-header-real-height, 68px) + var(--yc-header-slide, 0px) + 10px) 12px auto 12px;
  }
  .yc-footer .yc-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .yc-header,
  .yc-header.yc-header--scrolled {
    width: calc(100% - 14px) !important;
  }
  .yc-brand-tag {
    display: none;
  }
  .yc-brand-name {
    font-size: 1rem;
  }
  .yc-logo-img img,
  .yc-custom-logo,
  .yc-brand img,
  .custom-logo {
    max-height: min(var(--yc-logo-mobile-height, 46px), 44px) !important;
  }
  .yc-hero {
    padding-top: calc(var(--yc-header-real-height, 68px) + 22px) !important;
  }
  .yc-page-hero {
    padding-top: calc(var(--yc-header-real-height, 68px) + 18px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --yc-header-slide: 0px !important; }
  .yc-header,
  .yc-footer .yc-footer-col a:after {
    transition: none !important;
  }
}



/* v4.4 - corrección de traslapes, primera impresión inmediata y FX fluidos */
:root {
  --yc-header-slide: 0px;
  --yc-fx-frame-ease: linear;
}
html {
  scroll-padding-top: calc(var(--yc-header-real-height, 70px) + 18px);
}
body {
  overflow-x: clip;
}

/* El contenido visible inicial no debe esperar animaciones JS para aparecer. */
.yc-hero,
.yc-hero-copy,
.yc-hero h1,
.yc-hero-lead,
.yc-actions,
.yc-header,
.yc-brand,
.yc-brand-name,
.yc-brand-tag,
.yc-page-hero,
.yc-section,
.yc-content-wrap {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Scroll-driven FX: sin transición acumulada; solo transform por requestAnimationFrame. */
.yc-fx-scroll3d-on.yc-js-fx .yc-section,
.yc-fx-scroll3d-on.yc-js-fx .yc-page-hero,
.yc-fx-scroll3d-on.yc-js-fx .yc-content-wrap {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.yc-fx-scroll3d-on.yc-js-fx .yc-hero-panel,
.yc-fx-scroll3d-on.yc-js-fx .yc-video-strip,
.yc-fx-scroll3d-on.yc-js-fx .yc-services-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-business-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-post-grid,
.yc-fx-scroll3d-on.yc-js-fx .yc-footer-columns {
  transition: none !important;
  will-change: transform;
  transform: translate3d(0, calc(var(--yc-local-depth, 0) * var(--yc-fx-depth, 10px) * -1), 0);
}

/* FX más ligero para que el desplazamiento se sienta fluido en pantallas de alta frecuencia. */
body.yc-premium-fx-on:before,
body.yc-premium-fx-on:after {
  filter: blur(24px) saturate(1.08) !important;
  will-change: transform;
  contain: strict;
}
body.yc-premium-fx-on:after {
  opacity: .28 !important;
}
.yc-premium-fx-on .yc-site:before {
  opacity: .48;
  will-change: background-position, transform;
}

/* Header: fijo, compacto, sin espacio superior, sin tapar el primer contenido. */
.yc-header,
.yc-header.yc-header--scrolled {
  top: calc(var(--yc-admin-offset, 0px) + var(--yc-header-slide, 0px)) !important;
  transform: translate3d(-50%, 0, 0) !important;
  will-change: transform, top;
}
.yc-header .yc-nav-wrap,
.yc-header.yc-header--scrolled .yc-nav-wrap {
  min-height: clamp(62px, 5.2vw, 72px);
}
.yc-hero {
  padding-top: calc(var(--yc-header-real-height, 70px) + clamp(18px, 3.2vw, 36px)) !important;
}
.yc-page-hero {
  padding-top: calc(var(--yc-header-real-height, 70px) + clamp(16px, 2.8vw, 30px)) !important;
}

/* Evita que el libro/visual decorativo se monte sobre texto o botones en móvil. */
.yc-hero-grid {
  min-width: 0;
}
.yc-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.yc-hero-panel {
  z-index: 1;
  min-width: 0;
}
.yc-book,
.yc-book-cover,
.yc-book-page,
.yc-book-small {
  pointer-events: none;
}

@media (max-width: 980px) {
  .yc-hero-grid {
    gap: clamp(20px, 4vw, 34px);
  }
  .yc-hero-panel {
    min-height: clamp(260px, 46vw, 390px) !important;
    max-height: 430px;
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .yc-header,
  .yc-header.yc-header--scrolled {
    width: calc(100% - 14px) !important;
    top: calc(var(--yc-admin-offset, 0px) + max(0px, var(--yc-header-slide, 0px))) !important;
  }
  .yc-header .yc-nav-wrap,
  .yc-header.yc-header--scrolled .yc-nav-wrap {
    min-height: 64px !important;
  }
  .yc-hero {
    padding-top: calc(var(--yc-header-real-height, 68px) + 20px) !important;
    padding-bottom: 28px !important;
  }
  .yc-hero h1 {
    font-size: clamp(2.25rem, 10.4vw, 3.35rem);
  }
  .yc-hero-lead {
    max-height: none;
    overflow: visible;
  }
  .yc-actions {
    margin-top: 22px;
  }
  .yc-hero-panel {
    display: none !important;
  }
  .yc-services-grid,
  .yc-collections-grid,
  .yc-post-grid,
  .yc-business-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.yc-premium-fx-on:before,
  body.yc-premium-fx-on:after,
  .yc-premium-fx-on .yc-site:before {
    animation: none !important;
  }
}


/* v4.5 - corrección menú móvil: abre fluido, sin recorte ni bloqueo */
@media (max-width: 880px) {
  .yc-header,
  .yc-header.yc-header--scrolled {
    overflow: visible !important;
    isolation: isolate;
  }

  .yc-header:before,
  .yc-header:after {
    border-radius: inherit;
    overflow: hidden;
  }

  .yc-mobile-toggle {
    display: inline-grid !important;
    place-items: center;
    position: relative;
    z-index: 10003;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .yc-menu {
    position: fixed !important;
    top: calc(var(--yc-admin-offset, 0px) + var(--yc-header-real-height, 68px) + var(--yc-header-slide, 0px) + 10px) !important;
    left: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    width: auto !important;
    max-height: min(72vh, calc(100dvh - var(--yc-header-real-height, 68px) - var(--yc-admin-offset, 0px) - 26px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -8px, 0) scale(.985);
    transform-origin: top center;
    z-index: 10002;
    padding: 14px;
    border-radius: 24px;
    background:
      radial-gradient(circle at 12% 0%, rgba(233,50,77,.18), transparent 34%),
      radial-gradient(circle at 90% 0%, rgba(31,117,255,.18), transparent 36%),
      rgba(5,19,43,.975) !important;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 24px 70px rgba(0,0,0,.42);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .yc-menu.is-open,
  body.yc-mobile-menu-open .yc-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .yc-menu ul {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 0;
    padding: 0;
  }

  .yc-menu li { width: 100%; }

  .yc-menu a {
    width: 100% !important;
    min-height: 48px;
    justify-content: flex-start !important;
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(255,255,255,.045);
  }

  .yc-menu a:hover,
  .yc-menu a:focus-visible,
  .yc-menu .current-menu-item > a {
    background: rgba(255,255,255,.10);
    transform: none;
  }

  .yc-menu .sub-menu {
    position: static !important;
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    min-width: 0 !important;
    margin: 6px 0 8px 12px !important;
    padding: 8px !important;
    box-shadow: none !important;
    background: rgba(255,255,255,.045) !important;
    border-radius: 16px !important;
  }

  body.yc-mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yc-menu { transition: none !important; }
}


/* v4.6 - menú móvil siempre encima del contenido, sin depender del stacking del encabezado */
@media (max-width: 880px) {
  .yc-header,
  .yc-header.yc-header--scrolled {
    z-index: 2147483000 !important;
  }

  .yc-menu.yc-mobile-menu-panel {
    position: fixed !important;
    top: var(--yc-mobile-menu-top, 84px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: min(72vh, calc(100dvh - var(--yc-mobile-menu-top, 84px) - 16px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate3d(0, -8px, 0) scale(.985) !important;
    transform-origin: top center !important;
    z-index: 2147483200 !important;
    padding: 14px !important;
    border-radius: 24px !important;
    background:
      radial-gradient(circle at 12% 0%, rgba(233,50,77,.20), transparent 34%),
      radial-gradient(circle at 90% 0%, rgba(31,117,255,.22), transparent 36%),
      linear-gradient(135deg, rgba(17, 17, 42, .985), rgba(5,19,43,.985)) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: 0 28px 80px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.10) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
    isolation: isolate;
  }

  .yc-menu.yc-mobile-menu-panel.is-open,
  body.yc-mobile-menu-open .yc-menu.yc-mobile-menu-panel {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }

  .yc-menu.yc-mobile-menu-panel ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .yc-menu.yc-mobile-menu-panel li { width: 100% !important; }

  .yc-menu.yc-mobile-menu-panel a {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 15px !important;
    border-radius: 17px !important;
    background: rgba(255,255,255,.055) !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: none !important;
  }

  .yc-menu.yc-mobile-menu-panel a:hover,
  .yc-menu.yc-mobile-menu-panel a:focus-visible,
  .yc-menu.yc-mobile-menu-panel .current-menu-item > a {
    background: rgba(255,255,255,.12) !important;
  }

  body.yc-mobile-menu-open .yc-hero,
  body.yc-mobile-menu-open .yc-page-hero,
  body.yc-mobile-menu-open .yc-content-wrap,
  body.yc-mobile-menu-open main {
    z-index: auto !important;
  }
}


/* v4.7 - service media, footer link stability, first paint optimization */
.yc-service-card {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  contain: layout paint;
}
.yc-service-media {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 54px rgba(0,0,0,.20);
}
.yc-service-media img,
.yc-service-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.012);
}
.yc-service-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7,30,70,.45));
  pointer-events: none;
}
.yc-service-media-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  color: #fff;
  z-index: 3;
  box-shadow: 0 14px 32px rgba(0,0,0,.20);
}
.yc-service-card .yc-service-icon,
.yc-service-card h3,
.yc-service-card p,
.yc-service-card .yc-card-cta,
.yc-service-card .yc-card-link { position: relative; z-index: 2; }
.yc-footer-col a[href^="/"]::after,
.yc-footer-col a[href^="#"]::after { display: none; }
.yc-footer-col ul { list-style: none; margin: 0; padding: 0; }
.yc-footer-col li + li { margin-top: .42em; }
.yc-footer-col a { cursor: pointer; }
.yc-footer-richtext p { margin: 0 0 .7em; }
.yc-footer-richtext p:last-child { margin-bottom: 0; }
.yc-footer-richtext a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.yc-footer-richtext strong { color: #fff; }
.yc-footer-richtext small { display: block; color: rgba(255,255,255,.55); line-height: 1.55; }
.yc-entry, .yc-section, .yc-page-hero, .yc-content-wrap, .yc-hero-copy, .yc-brand, .yc-section-title {
  content-visibility: visible;
}
@media (min-width: 761px) {
  .yc-section:not(:first-of-type) { content-visibility: auto; contain-intrinsic-size: 720px; }
}
@media (max-width: 760px) {
  .yc-service-media { border-radius: 22px; margin-bottom: 18px; }
}

/* v4.8 - soporte correcto para videos incrustados en tarjetas de servicios */
.yc-service-media {
  position: relative;
  z-index: 6;
  isolation: isolate;
}
.yc-service-media--embed {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.yc-service-media--embed .yc-video-frame,
.yc-service-media--embed .yc-lite-video {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  border: 0;
  box-shadow: none;
  background: rgba(0,0,0,.22);
}
.yc-service-media--embed iframe,
.yc-service-media--embed video,
.yc-service-media--embed button,
.yc-service-media--embed .yc-lite-play {
  pointer-events: auto;
}
.yc-service-media--embed:after { display: none; }
.yc-service-media--embed .yc-lite-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yc-service-card .yc-card-link { z-index: 2; }
.yc-service-card .yc-service-media + .yc-service-icon { margin-top: 2px; }

/* v4.9 - tarjetas de servicios: media interactiva, sin icono y CTA real */
.yc-service-card .yc-service-icon { display: none !important; }
.yc-service-card { isolation: isolate; }
.yc-service-card .yc-card-link { display: none !important; }
.yc-service-card .yc-service-more {
  position: relative;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 42px;
  padding: 10px 18px;
  margin-top: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.yc-service-card .yc-service-more:hover,
.yc-service-card .yc-service-more:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--yc-red), #ff6048);
  border-color: rgba(255,255,255,.28);
  outline: 0;
}
.yc-service-media {
  border: 0;
  padding: 0;
  cursor: default;
}
button.yc-service-media--image {
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
}
.yc-service-media--image:focus-visible,
.yc-lite-play:focus-visible,
.yc-service-media video:focus-visible {
  outline: 3px solid rgba(255,255,255,.72);
  outline-offset: 4px;
}
.yc-service-media--embed .yc-lite-video {
  position: relative;
}
.yc-service-media--embed iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.yc-service-card--no-media {
  min-height: clamp(290px, 28vw, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.10), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(233,50,77,.28), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    rgba(255,255,255,.055);
}
.yc-service-card--no-media:after {
  content: attr(data-yc-postal);
  position: absolute;
  inset: auto -4% 16% 6%;
  z-index: 0;
  font-family: var(--yc-font-display);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.07em;
  color: rgba(255,255,255,.055);
  pointer-events: none;
  white-space: normal;
}
.yc-service-card--no-media h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.25rem, 4.8vw, 5.1rem) !important;
  line-height: .94 !important;
  max-width: 92%;
}
.yc-service-card--no-media p,
.yc-service-card--no-media .yc-service-more { position: relative; z-index: 2; }
.yc-service-card--has-media h3 { margin-top: 0; }
.yc-service-card--has-media .yc-service-media + h3 { margin-top: 4px; }
.yc-service-media--file video { background: #050b18; }
.yc-media-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(2,8,20,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.yc-media-modal.is-open { display: grid; }
.yc-media-modal__dialog {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 86vh;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 35px 110px rgba(0,0,0,.48);
}
.yc-media-modal img {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: rgba(0,0,0,.25);
}
.yc-media-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 760px) {
  .yc-service-card--no-media { min-height: 320px; }
  .yc-service-card--no-media h3 { font-size: clamp(2.15rem, 12vw, 4rem) !important; }
  .yc-service-card--no-media:after { font-size: clamp(4.6rem, 18vw, 8rem); }
  .yc-service-card .yc-service-more { width: 100%; }
}
