/* ============================================================================
   Refactor visual de la raíz (www) — mocks 2026-08.
   Estilos nuevos y aislados (prefijo .wv-*) para no chocar con style.css/bootstrap.
   Paleta teal de marca; contenedores acotados; responsive desktop/mobile.
   ============================================================================ */

:root {
  --wv-teal: #38b5b5;
  --wv-teal-700: #2b8f8f;
  --wv-ink: #12333a;
  --wv-muted: #5b6b6e;
  --wv-line: #e6edee;
  --wv-bg-soft: #f2f8f8;
  --wv-white: #ffffff;
  --wv-max: 1160px;
}

/* ------------------------------- Footer ---------------------------------- */
.wv-footer {
  background: linear-gradient(180deg, #0f6570 0%, #0b525b 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 24px 0;
  font-family: inherit;
}
.wv-footer-inner {
  max-width: var(--wv-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.wv-footer-logo {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.wv-footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 320px;
  margin: 0 0 18px;
}
.wv-footer-socials {
  display: flex;
  gap: 12px;
}
.wv-footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.wv-footer-socials a:hover {
  background: rgba(255, 255, 255, 0.24);
}
.wv-footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
}
.wv-footer-links,
.wv-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.wv-footer-links a,
.wv-footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.wv-footer-links a:hover,
.wv-footer-contact a:hover {
  color: #fff;
}
.wv-footer-contact li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.wv-footer-contact i {
  opacity: 0.9;
  width: 16px;
  text-align: center;
}
.wv-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 24px;
  text-align: center;
}
.wv-footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .wv-footer {
    padding-top: 40px;
  }
  .wv-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* -------------------------------- Botones -------------------------------- */
.wv-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.wv-btn-primary { background: var(--wv-teal); color: #fff; }
.wv-btn-primary:hover { background: var(--wv-teal-700); }
.wv-btn-outline { background: #fff; color: var(--wv-teal-700); border-color: var(--wv-teal); }
.wv-btn-outline:hover { background: #eafafa; color: var(--wv-teal-700); }
.wv-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.wv-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.wv-btn-white { background: #fff; color: var(--wv-teal-700); }
.wv-btn-white:hover { background: #eafafa; }

/* --------------------------------- Hero ---------------------------------- */
.wv-hero {
  position: relative;
  background: url('/img/img0.png') center / cover no-repeat;
  padding: calc(var(--www-header-height, 70px) + 48px) 24px 90px;
  overflow: hidden;
}
.wv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 40, 48, 0.94) 0%, rgba(10, 60, 72, 0.8) 55%, rgba(12, 80, 95, 0.5) 100%);
}
.wv-hero-inner {
  position: relative;
  max-width: var(--wv-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.wv-hero-eyebrow {
  color: #6fe0e0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}
.wv-hero-title {
  color: #fff;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 20px;
}
.wv-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 30px;
  max-width: 470px;
}
.wv-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.wv-hero-media {
  background: #0b1418;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.wv-hero-video { width: 100%; border-radius: 10px; display: block; }

/* ------------------------------- Features -------------------------------- */
.wv-feature { padding: 66px 24px; background: #fff; overflow: hidden; }
#wv-features .wv-feature:nth-child(even) { background: var(--wv-bg-soft); }
.wv-feature-inner {
  max-width: var(--wv-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
#wv-features.wv-features-animate .wv-feature-inner {
  opacity: 0;
  transform: translate3d(-48px, 0, 0);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
#wv-features.wv-features-animate .wv-feature-rev .wv-feature-inner {
  transform: translate3d(48px, 0, 0);
}
#wv-features.wv-features-animate .wv-feature.wv-feature-visible .wv-feature-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.wv-feature-rev .wv-feature-media { order: 2; }
.wv-feature-rev .wv-feature-body { order: 1; }
.wv-feature-media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.wv-feature-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(2, 41, 51, 0.16), rgba(0, 112, 132, 0.36));
  pointer-events: none;
}
.wv-feature-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.wv-feature-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 28%;
  max-width: 145px;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 5px 12px rgba(0, 35, 44, 0.22));
  pointer-events: none;
}
.wv-feature-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}
.wv-feature-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 2px solid var(--wv-teal);
  border-radius: 14px;
  background: #fff;
  color: var(--wv-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 27px;
}
.wv-feature-title {
  color: var(--wv-teal-700);
  font-size: 27px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}
.wv-feature-text { color: var(--wv-muted); font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.wv-feature-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 11px; }
.wv-feature-list li { color: var(--wv-ink); font-size: 15px; line-height: 1.55; display: flex; gap: 10px; align-items: flex-start; }
.wv-feature-list i { color: var(--wv-teal); margin-top: 4px; }

/* ---------------------------------- CTA ---------------------------------- */
.wv-cta {
  background: linear-gradient(90deg, #2f6fb0 0%, #2a9db0 58%, #38b5b5 100%);
  padding: 48px 24px;
}
.wv-cta-inner {
  max-width: var(--wv-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.wv-cta-title { color: #fff; font-size: 26px; font-weight: 800; margin: 0; text-align: center; }

/* ------------------------------ Responsive ------------------------------- */
@media (max-width: 900px) {
  .wv-hero { padding: calc(var(--www-header-height, 70px) + 40px) 20px 110px; }
  .wv-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .wv-hero-title { font-size: 32px; }
  .wv-feature { padding: 44px 20px; }
  .wv-feature-inner { grid-template-columns: 1fr; gap: 26px; }
  .wv-feature-rev .wv-feature-media,
  .wv-feature-rev .wv-feature-body { order: 0; }
  .wv-feature-img { height: 230px; }
  .wv-feature-title { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  #wv-features.wv-features-animate .wv-feature-inner,
  #wv-features.wv-features-animate .wv-feature-rev .wv-feature-inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------- Contacto -------------------------------- */
.wv-contact-hero {
  position: relative;
  background: url('/img/img0.png') center / cover no-repeat;
  padding: calc(var(--www-header-height, 70px) + 48px) 24px 96px;
  text-align: center;
  overflow: hidden;
}
.wv-contact-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.wv-contact-title { color: #fff; font-size: 52px; font-weight: 800; margin: 6px 0 18px; line-height: 1.1; }
.wv-contact-sub { color: rgba(255, 255, 255, 0.85); font-size: 17px; line-height: 1.6; margin: 0 auto; max-width: 560px; }
.wv-contact-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; display: block; pointer-events: none; }

.wv-contact-body { background: #fff; padding: 64px 24px 80px; }
.wv-contact-grid {
  max-width: var(--wv-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.wv-contact-aside-title { color: var(--wv-ink); font-size: 22px; font-weight: 800; margin: 0 0 12px; line-height: 1.25; }
.wv-contact-aside-rule { display: block; width: 56px; height: 3px; background: var(--wv-teal); border-radius: 2px; margin-bottom: 28px; }
.wv-contact-item { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.wv-contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--wv-bg-soft);
  color: var(--wv-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 auto;
}
.wv-contact-item-label { color: var(--wv-teal-700); font-weight: 700; font-size: 15px; }
.wv-contact-item-value { color: var(--wv-muted); font-size: 14px; margin-top: 2px; }

.wv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wv-field { margin-bottom: 20px; display: flex; flex-direction: column; }
.wv-field > label { color: var(--wv-ink); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.wv-input-wrap { position: relative; }
.wv-input-wrap > i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa8ab;
  pointer-events: none;
  font-size: 15px;
}
.wv-contact-form input,
.wv-contact-form select,
.wv-contact-form textarea {
  width: 100%;
  border: 1px solid var(--wv-line);
  border-radius: 12px;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  color: var(--wv-ink);
  background: #fbfdfd;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.wv-contact-form textarea { padding-right: 16px; resize: vertical; min-height: 130px; }
.wv-contact-form select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.wv-contact-form input:focus,
.wv-contact-form select:focus,
.wv-contact-form textarea:focus {
  border-color: var(--wv-teal);
  box-shadow: 0 0 0 3px rgba(56, 181, 181, 0.15);
}
.wv-form-actions { display: flex; justify-content: flex-end; }

@media (max-width: 900px) {
  .wv-contact-hero { padding: calc(var(--www-header-height, 70px) + 32px) 20px 72px; }
  .wv-contact-title { font-size: 38px; }
  .wv-contact-body { padding: 44px 20px 60px; }
  .wv-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .wv-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* #www-container es un flex-column con alto fijo (RN-web); sin esto las secciones
   se encogen (flex-shrink:1) y recortan su contenido — hero/features cortados. */
.wv-hero,
#wv-features,
.wv-cta,
.wv-footer,
.wv-contact-hero,
.wv-contact-body {
  flex-shrink: 0;
}

/* ===================== Iteración 2: ajustes de detalle ===================== */

/* Footer pegado al fondo: quita el padding-bottom heredado (#www-container legacy)
   y empuja el footer al final en páginas cortas (contenedor flex-column). */
#www-container { padding-bottom: 0; }
.wv-footer { margin-top: auto; }

/* Contraste del texto en botones: el a:hover del legacy lo oscurecía. */
.wv-btn span,
.wv-btn i { color: inherit !important; }
.wv-btn-primary,
.wv-btn-primary:hover,
.wv-btn-primary:focus { color: #fff !important; }
.wv-btn-ghost,
.wv-btn-ghost:hover,
.wv-btn-ghost:focus { color: #fff !important; }
.wv-btn-white,
.wv-btn-white:hover,
.wv-btn-white:focus { color: var(--wv-teal-700) !important; }

/* Los CTA del header reutilizan el mismo sistema visual del hero/contacto,
   neutralizando únicamente las reglas legacy de Bootstrap para este contexto. */
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-primary,
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-primary:hover,
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-primary:focus {
  background: var(--wv-teal) !important;
  border-color: transparent;
  color: #fff !important;
}
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-primary:hover,
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-primary:focus {
  background: var(--wv-teal-700) !important;
}
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-outline,
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-outline:hover,
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-outline:focus {
  background: #fff !important;
  border: 2px solid var(--wv-teal);
  color: var(--wv-teal-700) !important;
}
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-outline:hover,
#www #www-header .navbar-nav li.appointment-btn > a.wv-btn-outline:focus {
  background: #eafafa !important;
}

@media (max-width: 767px) {
  #www #www-header .wv-navbar-collapse {
    display: grid !important;
    grid-template-rows: 0fr;
    overflow: hidden;
    border-top: 0;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transform-origin: top;
    pointer-events: none;
    transition:
      grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1),
      opacity 180ms ease,
      transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 300ms;
  }
  #www #www-header .wv-navbar-collapse::before,
  #www #www-header .wv-navbar-collapse::after {
    display: none;
  }
  #www #www-header .wv-navbar-collapse > .navbar-nav {
    min-height: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
  }
  #www #www-header .wv-navbar-collapse > .navbar-nav > li:first-child {
    margin-top: 8px;
  }
  #www #www-header .wv-navbar-collapse > .navbar-nav > li:last-child {
    margin-bottom: 8px;
  }
  #www #www-header .wv-navbar-collapse.wv-navbar-collapse-open {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  #www #www-header .navbar-toggle .icon-bar {
    transition: transform 240ms ease, opacity 160ms ease;
  }
  #www #www-header .navbar-toggle[aria-expanded='true'] .icon-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  #www #www-header .navbar-toggle[aria-expanded='true'] .icon-bar:nth-child(2) {
    opacity: 0;
  }
  #www #www-header .navbar-toggle[aria-expanded='true'] .icon-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  #www #www-header .navbar-nav li.appointment-btn > a.wv-btn {
    display: flex;
    width: 100%;
  }

  /* En el menú hamburguesa hay espacio vertical suficiente: recupera el
     selector original de tres banderas y reserva el select compacto para
     tablet, donde el navbar todavía se mantiene en una sola línea. */
  #www #www-header .wv-language-select {
    display: none !important;
  }
  #www #www-header .wv-language-flag {
    display: inline-block !important;
    margin: 4px 4px 2px 0;
    vertical-align: top;
  }
  #www #www-header .navbar-nav > li.wv-language-flag > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
  }
  #www #www-header .navbar-nav > li.wv-language-flag > a:hover,
  #www #www-header .navbar-nav > li.wv-language-flag > a:focus {
    background: var(--wv-bg-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  #www #www-header .wv-navbar-collapse,
  #www #www-header .navbar-toggle .icon-bar {
    transition: none !important;
  }
}

@media (min-width: 768px) and (max-width: 949px) {
  #www #www-header .navbar-nav > li.wv-main-nav-item > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 17px;
  }
  #www #www-header .navbar-nav li.appointment-btn {
    margin-left: 8px;
  }
  #www #www-header .navbar-nav li.appointment-btn > a.wv-btn {
    padding-left: 18px;
    padding-right: 18px;
  }
  #www #www-header .wv-language-select {
    margin-left: 2px;
    margin-right: 2px;
  }
  #www #www-header .wv-language-select-trigger {
    width: 40px;
  }
}

/* Video del hero más chico (se asemeja al mock). */
.wv-hero-media { max-width: 440px; margin-left: auto; }

/* Avión de papel decorativo (contacto), abajo-izquierda como el mock. */
.wv-contact-body { position: relative; }
.wv-contact-plane {
  position: absolute;
  left: -18px;
  bottom: -20px;
  width: 320px;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 900px) {
  .wv-contact-plane { display: none; }
}

/* -------------------------- Eliminación de datos ------------------------- */
.delete-data-hero {
  position: relative;
  background: url('/img/img0.png') center / cover no-repeat;
  padding: calc(var(--www-header-height, 70px) + 52px) 24px 100px;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
}
.delete-data-hero-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.delete-data-title {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
}
.delete-data-body {
  background: #fff;
  padding: 60px 24px 80px;
  flex-shrink: 0;
}
.delete-data-shell {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
.delete-data-card {
  background: #fff;
  border: 1px solid var(--wv-line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 18px 45px rgba(18, 51, 58, 0.08);
}
.delete-data-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.delete-data-form .form-group > label {
  color: var(--wv-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.delete-data-form input:not([type='checkbox']),
.delete-data-form select,
.delete-data-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--wv-line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--wv-ink);
  background: #fbfdfd;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.delete-data-form select {
  cursor: pointer;
}
.delete-data-form textarea {
  min-height: 130px;
  resize: vertical;
}
.delete-data-form input:not([type='checkbox']):focus,
.delete-data-form select:focus,
.delete-data-form textarea:focus {
  border-color: var(--wv-teal);
  box-shadow: 0 0 0 3px rgba(56, 181, 181, 0.15);
}
.delete-data-form input::placeholder,
.delete-data-form textarea::placeholder {
  color: #7c898c;
}
.delete-data-form .info-box {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(56, 181, 181, 0.55);
  border-radius: 12px;
  background: var(--wv-bg-soft);
  padding: 16px 18px;
  margin: 8px 0 22px;
  color: var(--wv-muted);
}
.delete-data-form .info-box strong {
  color: var(--wv-teal-700);
}
.delete-data-form .info-box p {
  margin: 6px 0 0;
  line-height: 1.65;
}
.delete-data-form .checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 11px;
}
.delete-data-form .checkbox-group input,
#checkout-root input[type='checkbox'] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  flex: 0 0 auto;
  border: 1.5px solid #bdcbcd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.delete-data-form .checkbox-group input:hover,
#checkout-root input[type='checkbox']:hover {
  border-color: var(--wv-teal);
}
.delete-data-form .checkbox-group input:checked,
#checkout-root input[type='checkbox']:checked {
  border-color: var(--wv-teal);
  background: var(--wv-teal);
}
.delete-data-form .checkbox-group input:checked::after,
#checkout-root input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.delete-data-form .checkbox-group input:focus,
#checkout-root input[type='checkbox']:focus {
  outline: none;
}
.delete-data-form .checkbox-group input:focus-visible,
#checkout-root input[type='checkbox']:focus-visible {
  border-color: var(--wv-teal);
  box-shadow: 0 0 0 3px rgba(56, 181, 181, 0.2);
}
.delete-data-form .checkbox-group > label {
  margin: 0;
  color: var(--wv-muted);
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}
.delete-data-form .btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  background: var(--wv-teal);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.delete-data-form .btn-submit:hover:not(:disabled) {
  background: var(--wv-teal-700);
  transform: translateY(-1px);
}
.delete-data-form .btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

@media (max-width: 900px) {
  .delete-data-hero {
    padding: calc(var(--www-header-height, 70px) + 32px) 20px 74px;
  }
  .delete-data-title { font-size: 32px; }
  .delete-data-body { padding: 44px 20px 60px; }
  .delete-data-card { padding: 26px; }
}

@media (max-width: 560px) {
  .delete-data-title { font-size: 27px; }
  .delete-data-card {
    border-radius: 14px;
    padding: 22px 18px;
  }
  .delete-data-form .btn-submit { width: 100%; }
}

/* ----------------------------- Páginas legales --------------------------- */
.legal-hero {
  position: relative;
  background: url('/img/img0.png') center / cover no-repeat;
  padding: calc(var(--www-header-height, 70px) + 52px) 24px 100px;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
}
.legal-hero-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.legal-title {
  max-width: 920px;
  margin: 0 auto;
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.16;
}
.legal-body {
  background: #fff;
  padding: 60px 24px 80px;
  flex-shrink: 0;
}
.legal-shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
.legal-card {
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px solid var(--wv-line);
  border-radius: 18px;
  padding: 42px 46px;
  box-shadow: 0 18px 45px rgba(18, 51, 58, 0.08);
}
.legal-card p,
.legal-card li {
  color: var(--wv-muted);
  font-size: 15px;
  line-height: 1.75;
}
.legal-card p {
  margin: 0 0 14px;
  text-align: left !important;
}
.legal-card p:empty {
  display: none;
}
.legal-card h2 {
  margin: 32px 0 14px;
  color: var(--wv-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left !important;
}
.legal-card h2:first-child {
  margin-top: 0;
}
.legal-card .et_pb_text_inner > b {
  display: block;
  margin: 28px 0 10px;
  color: var(--wv-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}
.legal-card .et_pb_text_inner > b:first-child {
  margin-top: 0;
}
.legal-card strong {
  color: var(--wv-ink);
}
.legal-card ol,
.legal-card ul {
  margin: 0 0 18px;
  padding-left: 24px;
}
.legal-card li {
  margin-bottom: 8px;
}
.legal-card li > p:last-child {
  margin-bottom: 0;
}
.legal-card a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .legal-hero {
    padding: calc(var(--www-header-height, 70px) + 32px) 20px 74px;
  }
  .legal-title { font-size: 34px; }
  .legal-body { padding: 44px 20px 60px; }
  .legal-card { padding: 30px 28px; }
}

@media (max-width: 560px) {
  .legal-title { font-size: 28px; }
  .legal-card {
    border-radius: 14px;
    padding: 24px 20px;
  }
  .legal-card h2 { font-size: 18px; }
  .legal-card p,
  .legal-card li { font-size: 14px; }
}

/* ------------------------------ Planes v2 ------------------------------- */
#www .plans-hero {
  position: relative;
  display: block;
  min-height: 0;
  margin-top: 0;
  padding: calc(var(--www-header-height, 70px) + 48px) 24px 96px;
  background: url('/img/img0.png') center / cover no-repeat;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
}
#www .plans-hero::before {
  content: none;
}
#www .plans-hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}
#www .plans-hero-overlay h1 {
  margin: 6px 0 18px;
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
}
#www .plans-hero-overlay p {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}
#www .plans-hero-overlay p + p {
  margin-top: 4px;
}
#www .plans-hero .wv-contact-wave {
  z-index: 2;
}

#www .plans-section {
  width: 100%;
  box-sizing: border-box;
  padding: 64px 24px 80px;
  background: #fff;
  flex-shrink: 0;
}
#www .plans-billing-toggle {
  gap: 12px;
  margin-bottom: 38px;
}
#www .plans-billing-label {
  color: var(--wv-muted);
  font-size: 14px;
  font-weight: 500;
}
#www .plans-billing-label.active {
  color: var(--wv-ink);
  font-weight: 700;
}
#www .plans-save-badge {
  padding: 4px 10px;
  background: var(--wv-bg-soft);
  color: var(--wv-teal-700);
  font-size: 12px;
  font-weight: 700;
}
#www .plans-grid {
  max-width: 1360px;
  gap: 20px;
}
#www .plan-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--wv-line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(18, 51, 58, 0.08);
}
#www .plan-card.popular {
  border-color: var(--wv-teal);
  box-shadow: 0 16px 38px rgba(56, 181, 181, 0.16);
}
#www .plan-card-loading {
  min-height: 620px;
}
#www .plan-badge {
  height: 38px;
  padding: 0 10px;
  border-radius: 0;
  background: var(--wv-teal);
  font-size: 12px;
  font-weight: 700;
}
#www .plan-body {
  padding: 24px;
}
#www .plan-card:not(.popular) .plan-body {
  padding-top: 62px;
}
#www .plan-head {
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
#www .plan-head > div {
  min-width: 0;
}
#www .plan-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--wv-bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
#www .plan-name {
  margin: 0;
  color: var(--wv-teal-700);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
#www .plan-tagline {
  margin: 4px 0 0;
  color: var(--wv-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
#www .plan-price {
  min-height: 104px;
  margin-bottom: 8px;
}
#www .plan-price-list {
  gap: 8px;
  color: #8d9a9d;
  font-size: 13px;
}
#www .plan-price-off {
  padding: 2px 7px;
  border-radius: 6px;
  color: #078b72;
  background: #eaf8f4;
  font-size: 12px;
}
#www .plan-price-amount {
  color: var(--wv-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
}
#www .plan-price-custom {
  color: var(--wv-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}
#www .plan-price-period {
  margin-left: 4px;
  color: var(--wv-muted);
  font-size: 13px;
}
#www .plan-price-note {
  margin: 5px 0 0;
  color: var(--wv-muted);
  font-size: 12px;
  line-height: 1.5;
}
#www .plan-divider {
  margin: 8px 0 20px;
  background: var(--wv-line);
}
#www .plan-features {
  margin: 0 0 24px;
}
#www .plan-features li {
  gap: 10px;
  margin-bottom: 11px;
  color: var(--wv-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
#www .plan-features li > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
#www .plan-check {
  margin-top: 2px;
  flex: 0 0 auto;
}
#www .plans-secure {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 18px 22px;
  border: 1px solid var(--wv-line);
  border-radius: 14px;
  background: var(--wv-bg-soft);
  color: var(--wv-muted);
}
#www .plans-secure-icon {
  flex: 0 0 auto;
}
#www .plans-secure p {
  color: var(--wv-muted);
  font-size: 14px;
  line-height: 1.55;
}
#www .plans-secure p:first-child {
  color: var(--wv-ink);
  font-weight: 700;
}

@media (max-width: 1320px) {
  #www .plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
  }
}

@media (max-width: 980px) {
  #www .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
  }
}

@media (max-width: 900px) {
  #www .plans-hero {
    padding: calc(var(--www-header-height, 70px) + 32px) 20px 72px;
  }
  #www .plans-hero-overlay h1 { font-size: 38px; }
  #www .plans-section { padding: 44px 20px 60px; }
}

@media (max-width: 760px) {
  #www .plans-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  #www .plans-billing-toggle {
    margin-bottom: 30px;
  }
  #www .plans-secure {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  #www .plans-section {
    padding: 38px 16px 52px;
  }
  #www .plans-grid {
    gap: 18px;
  }
  #www .plan-card {
    border-radius: 16px;
  }
  #www .plan-body {
    padding: 22px 18px;
  }
  #www .plan-card:not(.popular) .plan-body {
    padding-top: 58px;
  }
  #www .plan-head {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  #www .plan-icon {
    width: 42px;
    height: 42px;
  }
  #www .plan-price {
    min-height: 96px;
  }
  #www .plan-features {
    margin-bottom: 22px;
  }
  #www .plan-features li {
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13.5px;
  }
}

@media (max-width: 480px) {
  #www .plans-hero-overlay h1 { font-size: 32px; }
  #www .plans-hero-overlay p { font-size: 15px; }
  #www .plans-secure { padding: 16px; }
}

@media (max-width: 360px) {
  #www .plan-price-amount { font-size: 31px; }
  #www .plan-price-custom { font-size: 27px; }
  #www .plan-price-period { font-size: 12px; }
}

/* Sin subrayado en hover (legacy a:hover lo agregaba) + logo del footer un poco mayor. */
.wv-btn:hover,
.wv-btn:focus { text-decoration: none !important; }
.wv-footer-logo { height: 46px; }

/* --------------------------------- Login --------------------------------- */
#www-login {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
}
.wv-login-hero {
  position: relative;
  flex: 0 0 auto;
  background: url('/img/img0.png') center / cover no-repeat;
  padding: 120px 24px 44px;
  overflow: hidden;
  box-sizing: border-box;
}
/* Overlay teal oscuro sobre el mar. */
.wv-login-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(4, 42, 51, 0.95) 0%, rgba(5, 57, 68, 0.86) 48%, rgba(6, 73, 87, 0.58) 100%);
}
/* La textura de partículas se concentra en el área informativa del mock. */
.wv-login-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('/img/particles.png') 38% 54% / min(980px, 76vw) auto no-repeat;
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
}
.wv-login-inner {
  position: relative;
  z-index: 5;
  max-width: var(--wv-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 452px;
  gap: 72px;
  align-items: center;
}
.wv-login-marketing {
  position: relative;
  color: #fff;
  padding-bottom: 12px;
}
.wv-login-eyebrow {
  color: #6fe0e0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.wv-login-marketing h1 {
  color: #fff;
  max-width: 560px;
  font-size: 43px;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 18px;
}
.wv-login-marketing-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 30px;
  max-width: 490px;
}
.wv-login-benefits { display: flex; flex-direction: column; gap: 20px; }
.wv-login-benefit { display: flex; gap: 18px; align-items: center; }
.wv-login-benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  flex: 0 0 auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(56, 181, 181, 0.12));
  border: 1.5px solid rgba(126, 231, 231, 0.82);
  color: #dfffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow:
    inset 0 0 16px rgba(94, 222, 222, 0.12),
    0 8px 18px rgba(0, 20, 28, 0.18);
}
.wv-login-benefit h2 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.wv-login-benefit p { color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.55; margin: 0; max-width: 380px; }
.wv-login-card-shell {
  position: relative;
  z-index: 5;
  align-self: center;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 58px rgba(0, 25, 34, 0.28);
  overflow: hidden;
}

/* El formulario continúa siendo React Native Web. Estos overrides se limitan
   al modo formOnly del login público y no afectan el acceso dentro de la app. */
.wv-login-card-shell [data-testid='TemplateView'] {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
}
.wv-login-card-shell [data-testid='TemplateView'] > div,
#wv-login-entry {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  background: #fff !important;
}
#wv-login-entry {
  padding: 32px 38px 30px !important;
}
#wv-login-brand {
  width: 176px !important;
  height: 68px !important;
  margin: 0 0 8px !important;
  flex: 0 0 auto !important;
}
#wv-login-brand > svg {
  width: 176px !important;
  height: 68px !important;
}
#wv-login-entry > div:nth-child(2) {
  margin-bottom: 4px !important;
  color: #334f58 !important;
  font-size: 27px !important;
  line-height: 34px !important;
}
#wv-login-entry > div:nth-child(2) > span {
  font-size: inherit !important;
  line-height: inherit !important;
}
#wv-login-entry > div:nth-child(3) {
  width: 100% !important;
  color: #667b81 !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

.wv-login-card-shell [data-testid='@wv-login-email/container'],
.wv-login-card-shell [data-testid='@wv-login-password/container'] {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.wv-login-card-shell [data-testid='@wv-login-email/container'] {
  margin-top: 22px !important;
}
.wv-login-card-shell [data-testid='@wv-login-password/container'] {
  margin-top: 10px !important;
}
.wv-login-card-shell [data-testid='@wv-login-email/container'] > div,
.wv-login-card-shell [data-testid='@wv-login-password/container'] > div {
  min-height: 46px !important;
  padding: 7px 12px !important;
  border: 1px solid #d7e2e4 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wv-login-card-shell [data-testid='@wv-login-email/container'] > div::before,
.wv-login-card-shell [data-testid='@wv-login-password/container'] > div::before {
  width: 20px;
  margin-right: 10px;
  color: var(--wv-teal-700);
  font-family: 'Font Awesome 6 Free';
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.wv-login-card-shell [data-testid='@wv-login-email/container'] > div::before { content: '\f0e0'; }
.wv-login-card-shell [data-testid='@wv-login-password/container'] > div::before { content: '\f023'; }
.wv-login-card-shell [data-testid='@wv-login-email/container'] > div:focus-within,
.wv-login-card-shell [data-testid='@wv-login-password/container'] > div:focus-within {
  border-color: var(--wv-teal) !important;
  box-shadow: 0 0 0 3px rgba(56, 181, 181, 0.13);
}
.wv-login-card-shell [data-testid='@wv-login-email/container'] > div > div:first-child,
.wv-login-card-shell [data-testid='@wv-login-password/container'] > div > div:first-child {
  min-width: 78px !important;
  margin-left: 0 !important;
  color: var(--wv-teal-700) !important;
  font-size: 12px !important;
}
.wv-login-card-shell [data-testid='@wv-login-email/input'],
.wv-login-card-shell [data-testid='@wv-login-password/input'] {
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 7px !important;
  color: #51666d !important;
  font-size: 14px !important;
  opacity: 1 !important;
}
.wv-login-card-shell [data-testid='@wv-login-password/container'] svg {
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 19px !important;
}
.wv-login-card-shell [data-testid='@wv-login-password/container'] > div > div:last-child {
  width: 19px !important;
  min-width: 19px !important;
  height: 19px !important;
  margin-left: auto !important;
  flex: 0 0 19px !important;
  align-items: center !important;
  justify-content: center !important;
}

#wv-login-email-error,
#wv-login-password-error,
#wv-login-recover-code-error,
#wv-login-recover-password-error,
#wv-login-recover-repeat-error {
  width: 100% !important;
  max-width: 100% !important;
  margin: 6px 0 0 !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  color: #e76868 !important;
  font-size: 13px !important;
  line-height: 18px !important;
  text-align: left !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}
#wv-login-central-error,
#wv-login-recover-central-error {
  width: 100% !important;
  max-width: 100% !important;
  margin: 7px 0 0 !important;
  flex: 0 0 auto !important;
  color: #e76868 !important;
  font-size: 13px !important;
  line-height: 18px !important;
  text-align: center !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wv-login-card-shell [data-testid='wv-login-submit'] {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  margin-top: 18px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  background: linear-gradient(90deg, #1699a3 0%, #07858f 100%) !important;
  box-shadow: 0 10px 22px rgba(14, 139, 149, 0.18);
}
.wv-login-card-shell [data-testid='wv-login-submit']:hover {
  background: linear-gradient(90deg, #118d97 0%, #086f7b 100%) !important;
  transform: translateY(-1px);
}
.wv-login-card-shell [data-testid='wv-login-submit'] > div {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
}

/* Recuperación pública: conserva el componente y su lógica RNW, pero usa la
   misma caja, escala y ritmo vertical que la entrada principal. */
#wv-login-recover {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 524px !important;
  padding: 32px 38px 30px !important;
  box-sizing: border-box !important;
  background: #fff !important;
}
#wv-login-recover-brand {
  width: 96px !important;
  height: 96px !important;
  margin: 0 0 7px !important;
  flex: 0 0 96px !important;
}
#wv-login-recover-brand > svg {
  width: 96px !important;
  height: 96px !important;
}
#wv-login-recover-title {
  margin-bottom: 4px !important;
  color: var(--wv-teal) !important;
  font-size: 27px !important;
  line-height: 34px !important;
}
#wv-login-recover-title > span {
  font-size: inherit !important;
  line-height: inherit !important;
}
#wv-login-recover-subtitle {
  width: 100% !important;
  max-width: 340px;
  color: #667b81 !important;
  font-size: 14px !important;
  line-height: 20px !important;
}
.wv-login-card-shell [data-testid='wv-login-recover-back'] {
  position: absolute !important;
  z-index: 2;
  top: 24px !important;
  left: 24px !important;
  width: auto !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  justify-content: flex-start !important;
  gap: 6px !important;
}
.wv-login-card-shell [data-testid='wv-login-recover-back'] > div {
  color: var(--wv-teal-700) !important;
  font-size: 14px !important;
  line-height: 20px !important;
}
.wv-login-card-shell [data-testid='wv-login-recover-back'] svg {
  width: 20px !important;
  height: 20px !important;
}
.wv-login-card-shell [data-testid='wv-login-recover-back'] > div:first-child {
  flex: 0 0 20px !important;
  margin: 0 !important;
}
.wv-login-card-shell [data-testid='wv-login-recover-back'] > div:nth-child(2) {
  height: 20px !important;
  margin-left: 0 !important;
  align-items: center !important;
}
.wv-login-card-shell [data-testid='@wv-login-recover-code/container'],
.wv-login-card-shell [data-testid='@wv-login-recover-password/container'],
.wv-login-card-shell [data-testid='@wv-login-recover-repeat/container'] {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.wv-login-card-shell [data-testid='@wv-login-recover-code/container'] {
  margin-top: 22px !important;
}
.wv-login-card-shell [data-testid='@wv-login-recover-password/container'],
.wv-login-card-shell [data-testid='@wv-login-recover-repeat/container'] {
  margin-top: 10px !important;
}
.wv-login-card-shell [data-testid='@wv-login-recover-code/container'] > div,
.wv-login-card-shell [data-testid='@wv-login-recover-password/container'] > div,
.wv-login-card-shell [data-testid='@wv-login-recover-repeat/container'] > div {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 7px 12px !important;
  border: 1px solid #d7e2e4 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wv-login-card-shell [data-testid='@wv-login-recover-code/container'] > div:focus-within,
.wv-login-card-shell [data-testid='@wv-login-recover-password/container'] > div:focus-within,
.wv-login-card-shell [data-testid='@wv-login-recover-repeat/container'] > div:focus-within {
  border-color: var(--wv-teal) !important;
  box-shadow: 0 0 0 3px rgba(56, 181, 181, 0.13);
}
.wv-login-card-shell [data-testid='@wv-login-recover-code/container'] > div > div:first-child,
.wv-login-card-shell [data-testid='@wv-login-recover-password/container'] > div > div:first-child,
.wv-login-card-shell [data-testid='@wv-login-recover-repeat/container'] > div > div:first-child {
  min-width: 118px !important;
  margin-left: 0 !important;
  color: var(--wv-teal-700) !important;
  font-size: 12px !important;
  line-height: 18px !important;
}
.wv-login-card-shell [data-testid='@wv-login-recover-code/input'],
.wv-login-card-shell [data-testid='@wv-login-recover-password/input'],
.wv-login-card-shell [data-testid='@wv-login-recover-repeat/input'] {
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 7px !important;
  color: #51666d !important;
  font-size: 14px !important;
  line-height: 20px !important;
  opacity: 1 !important;
}
.wv-login-card-shell [data-testid='@wv-login-recover-password/container'] svg,
.wv-login-card-shell [data-testid='@wv-login-recover-repeat/container'] svg {
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 19px !important;
}
.wv-login-card-shell [data-testid='@wv-login-recover-password/container'] > div > div:last-child,
.wv-login-card-shell [data-testid='@wv-login-recover-repeat/container'] > div > div:last-child {
  width: 19px !important;
  min-width: 19px !important;
  height: 19px !important;
  margin-left: auto !important;
  flex: 0 0 19px !important;
  align-items: center !important;
  justify-content: center !important;
}
.wv-login-card-shell [data-testid='wv-login-recover-submit'] {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  margin-top: 18px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  background: linear-gradient(90deg, #1699a3 0%, #07858f 100%) !important;
  box-shadow: 0 10px 22px rgba(14, 139, 149, 0.18);
}
.wv-login-card-shell [data-testid='wv-login-recover-submit']:hover {
  background: linear-gradient(90deg, #118d97 0%, #086f7b 100%) !important;
  transform: translateY(-1px);
}
.wv-login-card-shell [data-testid='wv-login-recover-submit'] > div {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
}

/* El modal vive en un portal, por lo que replica explícitamente el Input de
   la card aunque esté fuera de .wv-login-card-shell. */
#wv-login-recover-modal [data-testid='@wv-login-recover-modal-email/container'] {
  width: 100% !important;
  margin: 0 !important;
}
#wv-login-recover-modal [data-testid='@wv-login-recover-modal-email/container'] > div {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 7px 12px !important;
  border: 1px solid #d7e2e4 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#wv-login-recover-modal [data-testid='@wv-login-recover-modal-email/container'] > div:focus-within {
  border-color: var(--wv-teal) !important;
  box-shadow: 0 0 0 3px rgba(56, 181, 181, 0.13);
}
#wv-login-recover-modal [data-testid='@wv-login-recover-modal-email/container'] > div > div:first-child {
  min-width: 78px !important;
  margin-left: 0 !important;
  color: var(--wv-teal-700) !important;
  font-size: 12px !important;
}
#wv-login-recover-modal [data-testid='@wv-login-recover-modal-email/input'] {
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 7px !important;
  color: #51666d !important;
  font-size: 14px !important;
  opacity: 1 !important;
}
#wv-login-recover-modal-footer {
  width: 100% !important;
  box-sizing: border-box !important;
}
#wv-login-recover-modal [data-testid='wv-login-recover-modal-cancel'],
#wv-login-recover-modal [data-testid='wv-login-recover-modal-submit'] {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  flex: 0 0 46px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}
#wv-login-recover-modal [data-testid='wv-login-recover-modal-cancel'] {
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
}
#wv-login-recover-modal [data-testid='wv-login-recover-modal-submit'] {
  width: 176px !important;
  min-width: 176px !important;
  max-width: 176px !important;
  border: 0 !important;
  background: linear-gradient(90deg, #1699a3 0%, #07858f 100%) !important;
}
#wv-login-recover-modal [data-testid='wv-login-recover-modal-cancel'] > div,
#wv-login-recover-modal [data-testid='wv-login-recover-modal-submit'] > div {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
#wv-login-recover-modal [data-testid='wv-login-recover-modal-submit'] > div {
  color: #fff !important;
}

.wv-login-card-shell [data-testid='wv-login-forgot'],
.wv-login-card-shell [data-testid='wv-login-privacy'],
.wv-login-card-shell [data-testid='wv-login-terms'] {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  box-sizing: border-box;
}
.wv-login-card-shell [data-testid='wv-login-forgot'] {
  justify-content: center !important;
  gap: 8px;
  margin-top: 11px !important;
  padding: 7px !important;
}
.wv-login-card-shell [data-testid='wv-login-forgot']::before {
  content: '\f023';
  color: var(--wv-teal-700);
  font-family: 'Font Awesome 6 Free';
  font-size: 13px;
  font-weight: 900;
}
.wv-login-card-shell [data-testid='wv-login-forgot'] > div,
.wv-login-card-shell [data-testid='wv-login-privacy'] > div,
.wv-login-card-shell [data-testid='wv-login-terms'] > div {
  color: #385963 !important;
  font-size: 13px !important;
  line-height: 18px !important;
}
#wv-login-separator {
  width: 72% !important;
  height: 1px !important;
  margin: 9px 0 8px !important;
  background: #dce5e6 !important;
}
.wv-login-card-shell [data-testid='wv-login-privacy'],
.wv-login-card-shell [data-testid='wv-login-terms'] {
  width: 66% !important;
  justify-content: flex-start !important;
  gap: 9px;
  margin-top: 0 !important;
  padding: 6px 18px 6px 0 !important;
}
.wv-login-card-shell [data-testid='wv-login-privacy']::before,
.wv-login-card-shell [data-testid='wv-login-terms']::before,
.wv-login-card-shell [data-testid='wv-login-privacy']::after,
.wv-login-card-shell [data-testid='wv-login-terms']::after {
  color: var(--wv-teal-700);
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  text-decoration: none;
}
.wv-login-card-shell [data-testid='wv-login-privacy']::before { content: '\f3ed'; }
.wv-login-card-shell [data-testid='wv-login-terms']::before { content: '\f15c'; }
.wv-login-card-shell [data-testid='wv-login-privacy']::after,
.wv-login-card-shell [data-testid='wv-login-terms']::after {
  content: '\f054';
  position: absolute;
  right: 0;
  font-size: 10px;
}
.wv-login-hero > .wv-contact-wave { z-index: 4; }

@media (max-width: 900px) {
  .wv-login-hero {
    min-height: 650px;
    padding: calc(var(--www-header-height, 70px) + 32px) 20px 82px;
  }
  .wv-login-inner {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
    gap: 0;
  }
  .wv-login-marketing { display: none; }
  .wv-login-card-shell {
    max-width: 460px;
    min-height: 570px;
    justify-self: center;
  }
  #wv-login-entry,
  #wv-login-recover { min-height: 570px !important; }
  .wv-login-hero::after {
    background-position: center 62%;
    background-size: 1050px auto;
    opacity: 0.55;
  }
  .wv-login-hero > .wv-contact-wave {
    display: none;
  }
}

@media (max-width: 520px) {
  .wv-login-hero {
    min-height: 620px;
    padding-right: 8px;
    padding-left: 8px;
  }
  .wv-login-card-shell { border-radius: 18px; }
  #wv-login-entry,
  #wv-login-recover { padding: 27px 20px 25px !important; }
  #wv-login-brand {
    width: 160px !important;
    height: 62px !important;
  }
  #wv-login-brand > svg {
    width: 160px !important;
    height: 62px !important;
  }
  #wv-login-entry > div:nth-child(2) {
    font-size: 24px !important;
    line-height: 30px !important;
  }
  #wv-login-recover-brand {
    width: 88px !important;
    height: 88px !important;
    flex-basis: 88px !important;
  }
  #wv-login-recover-brand > svg {
    width: 88px !important;
    height: 88px !important;
  }
  #wv-login-recover-title {
    font-size: 24px !important;
    line-height: 30px !important;
  }
  .wv-login-card-shell [data-testid='wv-login-recover-back'] {
    top: 20px !important;
    left: 16px !important;
  }
  .wv-login-card-shell [data-testid='wv-login-privacy'],
  .wv-login-card-shell [data-testid='wv-login-terms'] {
    width: 78% !important;
  }
}

@media (max-width: 420px) {
  #wv-login-recover-modal-footer {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
  }
  #wv-login-recover-modal [data-testid='wv-login-recover-modal-cancel'],
  #wv-login-recover-modal [data-testid='wv-login-recover-modal-submit'] {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}
