@font-face { font-family: "Mollen"; src: url("fonts/Mollen-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Mollen"; src: url("fonts/Mollen-Thin.ttf") format("truetype"); font-weight: 100; font-style: normal; font-display: swap; }
:root { --f-display: "Mollen", var(--f-head); }

.hero--logo .hero__logo--caja { height: clamp(116px, 11vw, 170px); margin-bottom: clamp(30px, 3.2vw, 46px); filter: none; box-shadow: 0 12px 34px rgba(0, 0, 0, .28); }
.hero__name {
  margin: 0; color: var(--white); font-family: var(--f-display); font-weight: 300;
  font-size: clamp(28px, 3.3vw, 54px); line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; text-wrap: balance;
}
.hero__spec { margin-top: 8px; color: rgba(255, 255, 255, .94); font-family: var(--f-display); font-weight: 100; font-size: clamp(17px, 1.65vw, 27px); line-height: 1.3; letter-spacing: .01em; text-wrap: balance; }
.hero--logo .hero__actions { margin-top: clamp(30px, 3.4vw, 52px); }

.hero--logo .hero__media::after { background: linear-gradient(180deg, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .3) 32%, rgba(0, 0, 0, .32) 68%, rgba(0, 0, 0, .48) 100%); }
.hero__cta {
  min-height: 0; padding: 11px 28px 12px; border: 1.5px solid rgba(255, 255, 255, .92); background: transparent; color: var(--white);
  font-family: var(--f-display); font-weight: 300; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.2; letter-spacing: .01em;
}
.hero__cta:hover { background: var(--white); color: #151617; transform: none; }
.hero__cta:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
@media (max-width: 640px) {
  .hero__spec { font-weight: 300; }
}

.nav--brand-hero .logo .logo__h { height: 40px; }
@media (min-width: 1041px) and (max-width: 1239px) { .nav--brand-hero .logo .logo__h { height: 36px; } }
@media (max-width: 1040px) { .nav--brand-hero .logo .logo__h { height: 34px; } }
@media (max-width: 400px) { .nav--brand-hero .logo .logo__h { height: 32px; } }

html[data-tema] .banner.banner--video { display: flex; align-items: flex-end; min-height: min(88svh, 820px); background: #0d0e0f; color: #fff; }
.banner--video::before { display: none; }
.banner--video::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, 0) 68%), linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 60%); }
.banner__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
html[data-tema="byn"] .banner__video { filter: grayscale(1) contrast(1.04); }
.banner--video .banner__inner { z-index: 2; padding-block: clamp(120px, 12vw, 180px) clamp(56px, 7vw, 104px); }
.banner--video .banner__copy { max-width: 880px; }
html[data-tema] .banner--video .banner__title { color: #fff; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.12; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
@media (max-width: 860px) {
  html[data-tema] .banner.banner--video { min-height: 78svh; }
  .banner__video { object-position: 62% 50%; }
  .banner--video .banner__inner { margin-top: 0; padding-top: 140px; padding-bottom: 56px; }
}

main [class*="__title"]:first-child, main .doc__name:first-child, .agm [class*="__title"]:first-child { margin-top: 0; }

html :is(.ctc__title, .ctc__formtitle, .agm__title) { text-transform: none; letter-spacing: -.01em; }
html[data-tema] .banner--video .banner__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(30px, 3.8vw, 58px); line-height: 1.1; letter-spacing: -.005em; text-transform: none; }

html .videos-opciones :is(.vt, .vr) { padding-bottom: clamp(40px, 3.5vw, 56px); }
html .videos-opciones + .pac { padding-top: clamp(48px, 4.5vw, 72px); }

.nav__dd { position: relative; display: flex; }
.nav__ddbtn { display: inline-flex; align-items: center; gap: 8px; }
.nav__ddbtn::after { content: ""; width: 6px; height: 6px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; opacity: .8; transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s; }
.nav__dd:is(:hover, :focus-within) .nav__ddbtn::after { margin-top: 3px; transform: rotate(-135deg); }
.nav__ddmenu { position: absolute; top: calc(100% + 20px); left: 50%; z-index: 2; min-width: 300px; padding: 8px; border-radius: 22px; background: rgba(18, 20, 22, .9); box-shadow: 0 18px 50px rgba(0, 0, 0, .28); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.nav__ddmenu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; }
.nav__dd:is(:hover, :focus-within) .nav__ddmenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
.nav .nav__ddmenu a { display: block; padding: 12px 16px; border-radius: 14px; font-size: 15px; white-space: nowrap; color: rgba(255, 255, 255, .88); background: transparent; }
.nav .nav__ddmenu a:hover, .nav .nav__ddmenu a[aria-current] { color: var(--white); background: rgba(255, 255, 255, .12); }
.nav__sub { display: none; }
@media (max-width: 1040px) {
  .nav__drawer .nav__sub { display: block; padding: 0 0 8px 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .nav__drawer a:has(+ .nav__sub) { border-bottom: 0; }
  .nav .nav__drawer .nav__sub a { padding: 9px 14px; border: 0; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
  .nav .nav__drawer .nav__sub a[aria-current] { color: var(--white); }
}

.nav--brand-hero .logo .logo__h { height: 52px; }
@media (min-width: 1041px) and (max-width: 1239px) { .nav--brand-hero .logo .logo__h { height: 46px; } }
@media (max-width: 1040px) { .nav--brand-hero .logo .logo__h { height: 46px; } }
@media (max-width: 400px) { .nav--brand-hero .logo .logo__h { height: 42px; } }

html[data-tema] .banner--video .banner__title--caps { text-transform: uppercase; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.08; letter-spacing: .01em; }
html[data-tema] .banner--video .banner__lead { margin-top: clamp(14px, 1.4vw, 20px); max-width: 52ch; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.banner--video .banner__cta { margin-top: clamp(24px, 2.6vw, 36px); }

.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending .form__actions .btn { opacity: .6; pointer-events: none; cursor: progress; }
.form__err { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-left: 3px solid #d9534f; background: rgba(217, 83, 79, .08); font-size: 15px; line-height: 1.5; color: inherit; }
.form__err a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form.is-sent .form__err { display: none; }
