/* Home final — SECCIÓN HOME FINAL (2).pdf */
@font-face {
  font-family: "Montserrat-Medium";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --hf-navy: #0f2a4a;
  --hf-ink: #16263d;
  --hf-blue: #2f6bd8;
  --hf-blue-deep: #2457b6;
  --hf-yellow: #FFC901;
  --hf-muted: #5a6a7e;
  --hf-card: #f3f1eb;
  --hf-section-grey: #f7f8fd;
  --hf-max: 1240px;
  --hf-gutter: 1.25rem;
  --hf-search-radius: 14px;
}

.domain-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  width: 100%;
  height: 100%;
}
.domain-loader.hidden { display: none; }
.domain-loader__visual {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
}
.domain-loader__visual picture,
.domain-loader__gif {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.domain-loader__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
  text-align: center;
}
.domain-loader__eyebrow {
  margin: 0;
  color: var(--hf-muted);
  font-family: "Montserrat", "Montserrat-Bold", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.domain-loader .loading-text,
.domain-loader__title {
  margin: 0;
  color: var(--hf-navy);
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  font-family: "Montserrat-Bold", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.domain-loader__dots {
  display: inline-flex;
  gap: 0.28rem;
  margin-top: 0.45rem;
  height: 0.4rem;
  align-items: center;
}
.domain-loader__dots span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--hf-yellow);
  opacity: 0.35;
  animation: domain-loader-dot 1.05s ease-in-out infinite;
}
.domain-loader__dots span:nth-child(2) { animation-delay: 0.15s; }
.domain-loader__dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes domain-loader-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* —— Hero —— */
.hf-hero {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(47, 107, 216, 0.06), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  padding: 2.5rem 0 2.75rem;
}
.hf-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  overflow: hidden;
}
.hf-hero__particles canvas {
  display: block;
  pointer-events: auto;
}
.hf-hero__inner {
  width: 100%;
  max-width: var(--hf-max);
  margin: 0 auto;
  padding: 0 var(--hf-gutter);
  display: grid;
  grid-template-columns: minmax(0, 26rem) auto minmax(0, 1fr);
  gap: 0 1.75rem;
  align-items: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hf-hero__content {
  position: relative;
  z-index: 3;
  max-width: 26rem;
  pointer-events: none;
}
.hf-hero__content .search-domain,
.hf-hero__content #domainErrorMsg,
.hf-hero .hp-sticky-search { pointer-events: auto; }

.hf-hero__title {
  margin: 0 0 1.25rem;
  max-width: 16rem;
  font-family: "Montserrat-Regular", sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(2.55rem, 4vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111827;
}
.hf-hero__subtitle {
  margin: 0 0 2.75rem;
  max-width: 19.5rem;
  font-family: "Montserrat-Regular", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #1f2937;
  font-weight: 400;
}

/* Columna propia del hero: textos | círculo | slider */
.hf-hero__badge {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 50%;
  background: var(--hf-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.15rem;
  pointer-events: none;
}
.hf-hero__badge-text {
  margin: 0;
  font-family: "Montserrat-Bold", "Montserrat-Medium", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.2;
  color: #111827;
  letter-spacing: -0.02em;
}

.hf-hero__media {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 0;
  margin-left: 0;
  pointer-events: none;
}
.hf-hero__slider {
  position: relative;
  width: min(100%, 540px);
  overflow: hidden;
}
.hf-hero__track {
  display: flex;
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: transform;
}
.hf-hero__browser,
.hf-hero__slide {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  object-fit: contain;
}

/* Search — blue bar with rounded corners */
.hp-sticky-search__anchor { display: block; height: 0; width: 100%; pointer-events: none; visibility: hidden; }
.hp-sticky-search__spacer { display: block; height: 0; }
.hp-sticky-search { position: relative; z-index: 5; width: 100%; max-width: 26.5rem; }
/* Por debajo del modal Bootstrap (1050) y su backdrop (1040) */
.hf-hero.hf-hero--search-pinned { z-index: 1035; }
.hp-sticky-search.is-pinned {
  position: fixed;
  top: 0.85rem;
  left: 50%;
  right: auto;
  width: min(36rem, calc(100% - 2.5rem));
  max-width: none;
  transform: translateX(-50%);
  z-index: 1035;
  pointer-events: auto;
}
body.modal-open .hf-hero.hf-hero--search-pinned,
body.modal-open .hp-sticky-search.is-pinned {
  z-index: 1;
}
.hp-sticky-search.is-pinned .search-domain { max-width: none; width: 100%; margin: 0; }

.hf-hero .search-domain,
.hp-sticky-search .search-domain { width: 100%; max-width: 26.5rem; }

.hf-hero .input-container-home-search,
.hp-sticky-search .input-container-home-search {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  background: var(--hf-blue);
  border: none;
  border-radius: var(--hf-search-radius);
  box-shadow: 0 8px 22px rgba(47, 107, 216, 0.22);
  height: 3.65rem;
  min-height: 3.65rem;
  max-height: 3.65rem;
  padding: 0 0 0 1.35rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.hf-hero .input-container-home-search:hover,
.hf-hero .input-container-home-search:focus-within,
.hf-hero .input-container-home-search.is-active,
.hp-sticky-search .input-container-home-search:hover,
.hp-sticky-search .input-container-home-search:focus-within,
.hp-sticky-search .input-container-home-search.is-active {
  background: var(--hf-blue-deep);
  box-shadow: 0 12px 32px rgba(47, 107, 216, 0.34);
}
.hf-hero--search-motion .input-container-home-search,
.hf-hero--search-motion .hf-hero__badge {
  opacity: 0;
  transition: opacity 0.28s ease;
  will-change: opacity;
}
.hf-hero--search-motion .input-container-home-search.is-visible,
.hf-hero--search-motion .hf-hero__badge.is-visible {
  opacity: 1;
}
.hf-hero .search-domain-icon,
.hp-sticky-search .search-domain-icon { display: none; }

.hf-hero .search-input-box,
.hp-sticky-search .search-input-box {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Montserrat-Regular", sans-serif;
  font-style: italic;
  font-size: 1rem;
  color: #fff;
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0.75rem !important;
  width: auto !important;
  height: auto !important;
  align-self: center;
}
.hf-hero .search-input-box::placeholder,
.hp-sticky-search .search-input-box::placeholder {
  color: rgba(255, 255, 255, 0.92);
  text-align: left !important;
  opacity: 1;
  font-style: italic;
}

.hf-hero .btn-search-domain,
.hp-sticky-search .btn-search-domain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  min-width: 3.65rem;
  height: 100%;
  margin: 0 !important;
  border: 2px solid var(--hf-blue);
  border-left: none;
  border-radius: 0 var(--hf-search-radius) var(--hf-search-radius) 0;
  background: #fff !important;
  color: var(--hf-blue) !important;
  cursor: pointer;
  flex-shrink: 0;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  padding: 0 !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.hf-hero .btn-search-domain:hover,
.hp-sticky-search .btn-search-domain:hover {
  background: #f5f8ff !important;
  color: var(--hf-blue-deep) !important;
}
.hf-hero .btn-search-domain svg,
.hp-sticky-search .btn-search-domain svg {
  width: 2.35rem;
  height: 2.35rem;
}
.hf-hero #domainErrorMsg,
.hp-sticky-search #domainErrorMsg {
  margin-top: 0.75rem;
  font-family: "Montserrat-Regular", sans-serif;
  font-size: 0.95rem;
  color: #d32f2f;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  display: none;
}

/* —— Benefits —— */
.hf-benefits {
  padding: 3rem var(--hf-gutter) 3.25rem;
  background: #fff;
}
.hf-benefits__inner {
  width: 100%;
  max-width: var(--hf-max);
  margin: 0 auto;
}
.hf-benefits__title {
  margin: 0 0 0.65rem;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--hf-navy);
  letter-spacing: -0.01em;
}
.hf-benefits__title-ec { color: var(--hf-blue); }
.hf-benefits__link {
  display: block;
  margin: 0 0 2rem;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--hf-navy);
  text-decoration: underline;
  text-decoration-color: var(--hf-blue);
  text-underline-offset: 0.2em;
}
.hf-benefits__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.hf-benefits__card {
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  background: var(--hf-card);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: inherit;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hf-benefits__card:hover,
.hf-benefits__card:focus {
  color: inherit;
  text-decoration: none !important;
}
.hf-benefits__card-title,
.hf-benefits__card-text {
  white-space: nowrap;
}
.hf-benefits--motion .hf-benefits__card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hf-benefits--motion .hf-benefits__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hf-benefits--motion .hf-benefits__card.is-visible:nth-child(2) { transition-delay: 0.06s; }
.hf-benefits--motion .hf-benefits__card.is-visible:nth-child(3) { transition-delay: 0.12s; }
.hf-benefits--motion .hf-benefits__card.is-visible:nth-child(4) { transition-delay: 0.18s; }
.hf-benefits--motion .hf-benefits__card.is-visible:nth-child(5) { transition-delay: 0.24s; }
.hf-benefits__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 42, 74, 0.08);
}
.hf-benefits__card-title {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hf-navy);
}
.hf-benefits__card-text {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--hf-muted);
}

/* —— Coastal banner —— */
.hf-banner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a3a55;
}
.hf-banner__video {
  position: absolute;
  left: 0;
  top: -25%;
  width: 100%;
  height: auto;
  max-width: none;
  border: 0;
  display: block;
  background: #0a3a55;
  pointer-events: none;
  will-change: top, left;
  filter: contrast(1.05);
}
.hf-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 40, 70, 0.14), rgba(8, 40, 70, 0.22));
  pointer-events: none;
  z-index: 1;
}
.hf-banner__title {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 52rem;
  padding: 2rem 1.5rem;
  text-align: center;
  font-family: "Montserrat-Bold", sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  color: var(--hf-yellow);
  text-shadow:
    1px 2px 2px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .hf-banner__title {
    max-width: none;
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    white-space: nowrap;
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  }
}
.hf-banner--motion .hf-banner__title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.hf-banner--motion .hf-banner__title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Stats —— */
.hf-stats {
  padding: 3.25rem 0 1.75rem;
  background: var(--hf-section-grey);
}
.hf-stats__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.5rem;
  align-items: stretch;
}
.hf-stats__item {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.5rem 1.75rem;
  position: relative;
}
.hf-stats__item + .hf-stats__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 2px;
  background: var(--hf-blue);
  opacity: 0.85;
}
/* Bloque de textos: alineados a la izquierda entre sí (como el diseño) */
.hf-stats__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 100%;
}
.hf-stats__kicker {
  display: block;
  margin: 0 0 0.15rem;
  font-family: "Montserrat-Regular", "Montserrat", sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--hf-muted);
  text-align: left;
}
.hf-stats__value {
  display: block;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  color: var(--hf-navy);
  letter-spacing: -0.02em;
  text-align: left;
}
.hf-stats__label {
  display: block;
  margin: 0.25rem 0 0;
  font-family: "Montserrat-Regular", "Montserrat", sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--hf-muted);
  text-align: left;
}
.hf-stats__since {
  display: block;
  margin-top: 0.15rem;
  font-family: "Montserrat-Regular", "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--hf-muted);
  text-align: left;
}

/* —— Huella —— */
.hf-huella {
  background: var(--hf-section-grey);
  overflow: visible;
  padding: 0.5rem 0 3.5rem;
}
.hf-huella__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.hf-huella__copy { position: relative; max-width: 28rem; }
.hf-huella__title {
  position: relative;
  margin: 0 0 1.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 4vw, 4rem);
  line-height: 1.12;
  color: var(--hf-navy);
  letter-spacing: -0.01em;
}
/* Flecha (modificación manual): ┘ con punta en la esquina del título */
.hf-huella__accent {
  position: absolute;
  left: -1.7rem;
  top: -1.35rem;
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  border-right: 4px solid var(--hf-yellow);
  border-bottom: 4px solid var(--hf-yellow);
  pointer-events: none;
  transform-origin: bottom right;
  animation: hf-huella-point 1.6s ease-in-out infinite;
}
@keyframes hf-huella-point {
  0%, 100% { transform: translate(0, 0); opacity: 1; }
  50% { transform: translate(0.35rem, 0.35rem); opacity: 0.45; }
}
.hf-huella__title-accent { color: var(--hf-blue); }
.hf-huella__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.75rem;
  border-radius: 999px;
  background: var(--hf-yellow);
  color: var(--hf-navy) !important;
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(254, 220, 50, 0.35);
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, filter 0.28s ease, opacity 0.45s ease;
  animation: hf-huella-cta-fade 2.2s ease-in-out infinite;
}
@keyframes hf-huella-cta-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}
/* Fade in/out al viewport + pulso cuando está visible */
.hf-huella--motion .hf-huella__cta {
  opacity: 0;
  transform: translateY(14px);
  animation: none;
}
.hf-huella--motion .hf-huella__cta.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: hf-huella-cta-fade 2.2s ease-in-out 0.45s infinite;
}
.hf-huella__cta:hover,
.hf-huella__cta:focus,
.hf-huella--motion .hf-huella__cta.is-visible:hover,
.hf-huella--motion .hf-huella__cta.is-visible:focus {
  animation: none;
  opacity: 1;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 32px rgba(254, 220, 50, 0.55);
  filter: brightness(1.05);
  color: var(--hf-navy) !important;
}
@media (prefers-reduced-motion: reduce) {
  .hf-huella__accent,
  .hf-huella__cta { animation: none; }
  .hf-huella--motion .hf-huella__cta {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}
.hf-huella__media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hf-huella__globe {
  display: block;
  width: min(100%, 600px);
  height: auto;
  margin-right: 0;
}

/* —— Responsive —— */
@media (max-width: 992px) {
  .hf-hero { padding: 1.75rem 0 2rem; }
  .hf-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }
  .hf-hero__content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hf-hero__title,
  .hf-hero__subtitle {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hf-hero__subtitle { margin-bottom: 1.45rem; }
  .hf-hero .search-domain,
  .hp-sticky-search .search-domain,
  .hp-sticky-search {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hf-hero__badge {
    position: relative;
    right: auto;
    top: auto;
    width: 9rem;
    height: 9rem;
    margin: 1rem auto 0;
  }
  .hf-hero__media {
    min-height: 0;
    justify-content: center;
    margin-left: 0;
  }
  .hf-hero__slider { width: min(100%, 420px); }
  .hf-hero__browser { width: min(100%, 420px); }
  .hf-hero__badge-text { font-size: 1rem; }

  .hf-benefits__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hf-benefits__card {
    width: auto;
    max-width: none;
  }
  .hf-benefits__card-title,
  .hf-benefits__card-text {
    white-space: normal;
  }
  .hf-benefits__card:last-child { grid-column: 1 / -1; max-width: 22rem; margin: 0 auto; width: 100%; }

  .hf-huella__inner {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .hf-huella__copy {
    max-width: 100%;
    margin: 0;
    text-align: left;
    overflow: visible;
  }
  .hf-huella__title {
    /* Keep yellow corner INSIDE the box — body has overflow-x:hidden and clips negatives */
    position: relative;
    overflow: visible;
    padding: 1.35rem 0 0 1.55rem;
    font-size: clamp(1.85rem, 7.2vw, 2.45rem);
  }
  .hf-huella__accent {
    left: 0.15rem;
    top: 0.15rem;
    width: 1.2rem;
    height: 1.2rem;
    border-right-width: 5px;
    border-bottom-width: 5px;
    margin: 0;
    z-index: 2;
    /* Don’t slide outward on mobile (that re-clips against overflow-x:hidden) */
    animation: hf-huella-point-mobile 1.6s ease-in-out infinite;
  }
  @keyframes hf-huella-point-mobile {
    0%, 100% { transform: translate(0, 0); opacity: 1; }
    50% { transform: translate(0.2rem, 0.2rem); opacity: 0.55; }
  }
  .hf-huella__media {
    justify-content: center;
    margin: 0.75rem 0 0;
    overflow: visible;
  }
  .hf-huella__globe {
    margin-right: 0;
    width: min(100%, 420px);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hf-huella {
    background: var(--hf-section-grey);
    overflow: visible;
  }
  .hf-stats {
    background: var(--hf-section-grey);
  }
}

@media (max-width: 810px) {
  /* Anula theme.css: flex-wrap + botón a 100% que rompe el buscador del home */
  .hf-hero .input-container-home-search,
  .hp-sticky-search .input-container-home-search {
    flex-wrap: nowrap !important;
    margin-bottom: 0 !important;
    padding: 0 0 0 1.1rem !important;
    align-items: stretch !important;
    height: 3.35rem !important;
    min-height: 3.35rem !important;
    max-height: 3.35rem !important;
  }
  .hf-hero .btn-search-domain,
  .hp-sticky-search .btn-search-domain {
    flex: 0 0 3.35rem !important;
    width: 3.35rem !important;
    min-width: 3.35rem !important;
    max-width: 3.35rem !important;
    height: 100% !important;
    margin-top: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: var(--hf-blue) !important;
    border-radius: 0 var(--hf-search-radius) var(--hf-search-radius) 0 !important;
  }
  .hf-hero .search-input-box,
  .hp-sticky-search .search-input-box {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0.65rem !important;
    font-size: 0.92rem !important;
    background: transparent !important;
  }
}

@media (max-width: 720px) {
  .hf-banner {
    height: auto;
    min-height: 0;
    max-height: min(70vh, 560px);
    padding-bottom: 0;
  }
  .hf-banner__video {
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    max-height: none;
  }
  .hf-stats__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 18rem;
  }
  .hf-stats__item {
    padding: 0.75rem 0.5rem;
  }
  .hf-stats__item + .hf-stats__item::before {
    left: 20%;
    right: 20%;
    top: 0;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .hf-benefits__grid { grid-template-columns: 1fr; }
  .hf-benefits__card:last-child { max-width: none; }
}

@media (max-width: 480px) {
  .hf-hero__title { font-size: 2rem; }
  .hf-hero__subtitle { font-size: 1rem; }
  .hf-hero__badge {
    width: 7.5rem;
    height: 7.5rem;
  }
  .hf-banner { max-height: min(72vh, 640px); }
}

@media (prefers-reduced-motion: reduce) {
  .hf-hero--search-motion .input-container-home-search,
  .hf-hero--search-motion .hf-hero__badge,
  .hf-benefits--motion .hf-benefits__card {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .hf-banner__video { top: -25% !important; left: 0 !important; }
  .hf-banner--motion .hf-banner__title {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .domain-loader__dots span { animation: none; opacity: 0.7; }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .hf-banner__video { top: 0 !important; }
}
