/* Let the two original vertical clips be the feature, without surrounding cards. */
.films-grid {
  grid-template-columns: repeat(2, minmax(0, 280px)) !important;
  justify-content: center !important;
  gap: clamp(22px, 5vw, 76px) !important;
  width: min(100%, 700px) !important;
  max-width: 700px !important;
  align-items: start !important;
}
.films-grid .film-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.films-grid .film-card::before,
.films-grid .film-card::after { display: none !important; content: none !important; }
.films-grid .film-card > video {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #050a0b !important;
  transform: none !important;
}
.films-grid .film-card .film-caption {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 14px 0 0 !important;
  gap: 4px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.films-grid .film-card .film-caption small::after { content: none !important; display: none !important; }
.films-grid .film-card .film-caption strong { min-height: 0 !important; font-size: clamp(17px, 1.9vw, 22px) !important; }
.films-grid .film-card .film-caption > a {
  display: inline-flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  align-self: flex-start !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 4px 0 0 !important;
  padding: 0 0 2px !important;
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #82d5da !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  animation: none !important;
}
.films-grid .film-card .film-caption > a::after,
.films-grid .film-card .film-caption > a > span { display: none !important; content: none !important; }
.films-grid .film-card .film-caption > a:hover { color: #d7f8f7 !important; }

/* A restrained floating motion gives the electric platform some presence. */
.electric-visual img { animation: electric-platform-float 6.8s ease-in-out infinite; }
@keyframes electric-platform-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

/* The desktop location mark belongs to the title, not the middle of its column. */
@media (min-width: 761px) {
  .location-top h2 .location-heading-icon {
    width: 70px !important;
    height: 70px !important;
    margin: 0 0 13px !important;
  }
}

/* Say which option is selected in words as well as with a checkmark. */
#appointment-form .priority-choice label > span { min-height: 112px !important; }
#appointment-form .priority-choice label > span small::after {
  content: "TOCÁ PARA ELEGIR";
  display: block;
  margin-top: 10px;
  color: #88aeb2;
  font: 800 9px/1.2 var(--mono, monospace);
  letter-spacing: .09em;
}
#appointment-form .priority-choice input:checked + span small::after {
  content: "SELECCIONADA";
  color: #aefaf7;
}
@media (max-width: 760px) {
  .films-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 11px !important; width: 100% !important; }
  .films-grid .film-card .film-caption { padding: 10px 0 0 !important; }
  .films-grid .film-card .film-caption strong { font-size: clamp(13px, 3.6vw, 17px) !important; }
  .films-grid .film-card .film-caption > a { font-size: 10px !important; }
  #appointment-form .priority-choice label > span { min-height: 98px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .electric-visual img { animation: none !important; }
}

/* A moving teal reflection gives the Hyundai chapter depth without touching its video. */
.hyundai-signature.section { position: relative; isolation: isolate; }
.hyundai-signature.section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 54% 43% at 23% 62%, rgba(31, 135, 148, .29), transparent 75%),
    radial-gradient(ellipse 43% 39% at 79% 24%, rgba(24, 102, 117, .23), transparent 78%);
  animation: hyundai-ambient-drift 15s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hyundai-ambient-drift {
  from { transform: translate3d(-5%, 3%, 0) scale(1); }
  to { transform: translate3d(6%, -5%, 0) scale(1.08); }
}

/* Two real faces keep the chrome emblem legible through a full 3D turn. */
.hyundai-signature .hyundai-copy { perspective: 900px; }
.hyundai-signature .hyundai-copy .hyundai-emblem {
  transform-style: preserve-3d;
  transform-origin: center;
  animation: none !important;
}
.hyundai-signature .hyundai-copy .hyundai-emblem.is-intro-visible {
  animation: hyundai-emblem-turn 12s cubic-bezier(.45, 0, .23, 1) infinite !important;
}
.hyundai-signature .hyundai-copy .hyundai-emblem img {
  backface-visibility: hidden;
  animation: hyundai-chrome-shine 5s ease-in-out infinite !important;
}
.hyundai-signature .hyundai-copy .hyundai-emblem img:first-child { transform: translateZ(1px); }
.hyundai-signature .hyundai-copy .hyundai-emblem img:nth-child(2) {
  position: absolute;
  inset: 0;
  height: 100% !important;
  object-fit: contain;
  transform: rotateY(180deg) translateZ(1px);
}
@keyframes hyundai-emblem-turn {
  0%, 9% { transform: rotateY(0deg) translateY(0); }
  34% { transform: rotateY(180deg) translateY(-4px); }
  54%, 100% { transform: rotateY(360deg) translateY(0); }
}

/* The same conversation symbol now has a beveled face and gentle depth motion. */
#assistant-launcher.assistant-launcher {
  border-color: rgba(171, 243, 245, .72) !important;
  background: linear-gradient(145deg, #23727d 0%, #0d414b 42%, #071f26 100%) !important;
  box-shadow: 0 15px 30px rgba(0, 18, 22, .38), inset 0 2px 2px rgba(232, 255, 255, .3), inset 0 -5px 8px rgba(0, 8, 13, .5), 0 0 0 3px rgba(19, 116, 127, .15) !important;
}
#assistant-launcher .assistant-launcher-avatar { overflow: visible !important; transform-style: preserve-3d; }
#assistant-launcher .assistant-launcher-avatar img {
  width: 79% !important;
  height: 79% !important;
  filter: drop-shadow(0 5px 3px rgba(0, 8, 12, .48)) !important;
  animation: assistant-mark-depth 5.2s ease-in-out infinite !important;
}
@keyframes assistant-mark-depth {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(4deg); }
  50% { transform: translateY(-2px) rotateY(8deg) rotateX(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hyundai-signature.section::before,
  .hyundai-signature .hyundai-copy .hyundai-emblem.is-intro-visible,
  .hyundai-signature .hyundai-copy .hyundai-emblem img,
  #assistant-launcher .assistant-launcher-avatar img { animation: none !important; }
}

/* Keep the Hyundai link readable as the hero's primary next step. */
.hero-signal {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  width: min(100%, 650px) !important;
  column-gap: 17px !important;
  row-gap: 13px !important;
}
.hero-signal .hero-hyundai-link {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex !important;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px !important;
  padding: 10px 11px 10px 16px !important;
  border: 1px solid rgba(132, 237, 241, .82) !important;
  border-radius: 12px !important;
  background: linear-gradient(115deg, rgba(16, 90, 101, .96), rgba(6, 43, 52, .97)) !important;
  box-shadow: 0 12px 30px rgba(0, 9, 13, .33), inset 0 1px rgba(238, 255, 255, .23), 0 0 22px rgba(56, 214, 226, .16) !important;
  color: white !important;
  font: 750 13px/1.2 "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}
.hero-signal .hero-hyundai-link::before,
.hero-signal .hero-hyundai-link > i { display: none !important; }
.hero-signal .hero-hyundai-link > b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-left: auto;
  border-radius: 7px;
  background: rgba(203, 250, 250, .15);
  color: #bdf8f7;
  font: 500 19px/1 "Segoe UI", sans-serif;
  transition: background .2s ease, transform .2s ease;
}
.hero-signal .hero-hyundai-link:hover > b,
.hero-signal .hero-hyundai-link:focus-visible > b { background: rgba(203, 250, 250, .3); transform: translate(2px, -2px); }
.hero-signal .hero-hyundai-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* The signature catches light while keeping the exact original logo artwork. */
.header .brand-art-original {
  transform-origin: 50% 50%;
  animation: header-brand-light 6s ease-in-out infinite;
}
@keyframes header-brand-light {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(0,0,0,.28)) brightness(1); }
  48% { transform: scale(1.026); filter: drop-shadow(0 4px 15px rgba(61,207,220,.36)) brightness(1.15); }
}

/* The moving reflection must sit above the chapter's painted background. */
.hyundai-signature.section::before {
  z-index: 0;
  background:
    radial-gradient(ellipse 46% 40% at 21% 61%, rgba(54, 181, 196, .35), transparent 76%),
    radial-gradient(ellipse 42% 42% at 77% 24%, rgba(37, 138, 155, .32), transparent 77%) !important;
  animation: hyundai-ambient-drift 9s ease-in-out infinite alternate !important;
}
.hyundai-signature > .section-label,
.hyundai-signature > .hyundai-inner,
.hyundai-signature > .hyundai-proof-strip { position: relative; z-index: 1; }

/* A dark extrusion becomes visible during each slow 360-degree turn. */
.hyundai-signature .hyundai-copy .hyundai-emblem.is-intro-visible {
  animation: hyundai-emblem-turn 9.5s ease-in-out infinite !important;
  filter: drop-shadow(0 12px 19px rgba(0,0,0,.52));
}
.hyundai-signature .hyundai-copy .hyundai-emblem::before {
  content: none !important;
  display: none !important;
}
.hyundai-signature .hyundai-copy .hyundai-emblem img:first-child { transform: translateZ(5px); }
.hyundai-signature .hyundai-copy .hyundai-emblem img:nth-child(2) { transform: rotateY(180deg) translateZ(5px); }
@keyframes hyundai-emblem-turn {
  0%, 17% { transform: rotateY(0deg) translateY(0); }
  54% { transform: rotateY(360deg) translateY(-5px); }
  55%, 100% { transform: rotateY(360deg) translateY(0); }
}

/* Put the electric-car illustration on the page axis, with an explicit label. */
@media (min-width: 761px) {
  .people-editorial { position: relative; padding-bottom: 205px; }
  .people-editorial .people-ev-mark {
    position: absolute;
    left: 50%;
    bottom: 21px;
    width: clamp(260px, 25vw, 340px);
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
  }
}
.people-editorial::after {
  content: "MOVILIDAD ELÉCTRICA · FORMACIÓN CONTINUA";
  color: #8ddde2;
  font: 700 9px/1.4 var(--mono, Consolas, monospace);
  letter-spacing: .15em;
  text-align: center;
}
@media (min-width: 761px) {
  .people-editorial::after { position: absolute; left: 0; right: 0; bottom: 2px; }
}
@media (max-width: 760px) {
  .hero-signal { grid-template-columns: max-content minmax(0, 1fr) !important; row-gap: 10px !important; }
  .hero-signal .hero-hyundai-link { min-height: 46px !important; font-size: 12px !important; }
  .people-editorial::after { margin: -8px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .header .brand-art-original,
  .hyundai-signature.section::before,
  .hyundai-signature .hyundai-copy .hyundai-emblem.is-intro-visible { animation: none !important; }
}
