@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;600;700;800&family=Wix+Madefor+Display:wght@400;500;600;700;800;900&display=swap');
@import url('hwm-patterns.css');
  /* =========================================================
   HANDWAREMARKET · ESTILOS CORPORATIVOS COMPLETOS
   Incluye base, componentes y nueva landing corporativa.
   ========================================================= */

:root {
  --azul: #38b6ff;
  --amarillo: #ffde59;
  --negro: #000;
  --blanco: #fff;
  --gris: #f6f6f6;
  --shadow: 0 10px 28px rgba(0, 0, 0, .16);

  /* === Branding oficial HandwareMarket (mapeo seguro, no elimina lo anterior) === */
  --brand-primary: #38b6ff;
  --brand-secondary: #ffde59;
  --brand-accent: #ff0000;
  --brand-dark: #000000;
  --brand-light: #ffffff;
  --brand-font-heading: "League Spartan", "Wix Madefor Display", sans-serif;
  --brand-font-body: "Wix Madefor Display", "Heebo", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #000;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- TOPBAR ---------- */
.topbar {
  background: var(--azul);
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 138px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.logoBox {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
}

.logoBox img {
  max-height: 112px;
  max-width: 185px;
  object-fit: contain;
}

.menuWrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 20px 34px;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 23px;
  flex-wrap: wrap;
}

.menu a,
.menu button {
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  padding-bottom: 7px;
  border-bottom: 2px solid transparent;
}

.menu a:hover,
.menu button:hover,
.menu a.active,
.menu button[aria-expanded="true"] {
  border-color: var(--amarillo);
}

.menuWrap .menu:nth-of-type(2) {
  display: none;
}

.topbar.products-open .menuWrap .menu:nth-of-type(2) {
  display: flex;
}

/* ---------- BOTONES FLOTANTES (HormiMax WhatsApp) ---------- */
.floatQuote {
  position: fixed;
  right: 20px;
  bottom: 48px;
  top: auto;
  z-index: 999;
  width: min(88vw, 310px);
  height: 108px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent url('../img/logo/flotante%20whatsaap.svg') no-repeat center 46% / 310px 310px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.floatQuote:hover {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.22));
}

.floatQuote:focus-visible {
  outline: 3px solid var(--azul, #38b6ff);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .floatQuote {
    right: 14px;
    bottom: 38px;
    width: min(90vw, 260px);
    height: 92px;
    background-size: 260px 260px;
    background-position: center 46%;
  }
}

/* ---------- HERO ANTIGUO (páginas internas) ---------- */
.heroWix {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 70px 8vw 60px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .76)),
    radial-gradient(circle at 84% 45%, rgba(255, 222, 89, .42), transparent 23%),
    linear-gradient(135deg, #f6fbff, #fff);
}

.heroText h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -.03em;
  font-weight: 900;
  text-transform: uppercase;
}

.heroText p {
  font-size: 1.02rem;
  max-width: 620px;
  line-height: 1.6;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  background: var(--azul);
  color: #fff;
  font-weight: 900;
  padding: 14px 32px;
  border-radius: 2px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

.cta.yellow {
  background: var(--amarillo);
  color: #000;
}

.cta.black {
  background: #000;
  color: #fff;
}

.heroBoxes {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.boxStack {
  width: min(500px, 100%);
  height: 390px;
  position: relative;
}

.box {
  position: absolute;
  background: #c9924d;
  border: 5px solid #8b5a25;
  box-shadow: 0 18px 35px rgba(0, 0, 0, .20);
}

.box:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 3px dashed rgba(0, 0, 0, .24);
}

.box.b1 {
  width: 250px;
  height: 160px;
  left: 30px;
  top: 170px;
  transform: rotate(-5deg);
}

.box.b2 {
  width: 300px;
  height: 190px;
  right: 10px;
  top: 105px;
  transform: rotate(7deg);
}

.box.b3 {
  width: 210px;
  height: 140px;
  left: 140px;
  top: 28px;
  transform: rotate(-2deg);
}

.tape {
  position: absolute;
  background: #e9c176;
  opacity: .9;
  width: 35px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* ---------- SECCIONES GENÉRICAS ---------- */
.section {
  padding: 70px 8vw;
}

.white {
  background: #fff;
}

.gray {
  background: #f4f4f4;
}

.blue {
  background: var(--azul);
  color: #fff;
}

.kicker {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
}

h1.pageTitle,
h2 {
  font-size: clamp(34px, 5vw, 66px);
  margin: 0 0 24px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  max-width: 900px;
}

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.bluePanel {
  background: var(--azul);
  color: #fff;
  padding: 46px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.photoPanel {
  min-height: 380px;
  background: radial-gradient(circle at 70% 20%, rgba(255, 222, 89, .45), transparent 22%), linear-gradient(135deg, #fff, #dff5ff);
  display: grid;
  place-items: center;
  border: 1px solid #e5e5e5;
}

.bigIcon {
  font-size: 150px;
}

/* ---------- GRILLA DE CATEGORÍAS (páginas internas) ---------- */
.categoryGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.catCard {
  background: #fff;
  border: 1px solid #e2e2e2;
  min-height: 265px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  transition: .2s;
}

.catCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.catImg {
  height: 150px;
  display: grid;
  place-items: center;
  background: #f1fbff;
  font-size: 70px;
}

.catBody {
  padding: 20px;
  text-align: center;
}

.catBody h3 {
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 20px;
}

.catBody p {
  font-size: 15px;
  line-height: 1.45;
}

/* ---------- BOTÓN PEQUEÑO (páginas internas) ---------- */
.btnSmall {
  display: inline-flex;
  margin-top: 8px;
  background: #ffde59;
  color: #000;
  padding: 10px 18px;
  font-weight: 800;
  border-radius: 6px;
  border: 0;
  text-transform: uppercase;
  font-size: 13px;
  box-shadow: none;
}

.wixBanner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #38b6ff 0%, #2a9de8 55%, #38b6ff 100%);
  color: #fff;
  text-align: center;
  padding: 3.25rem 7vw;
  border: 0;
}

.wixBanner h1,
.wixBanner h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin: 0 0 .85rem;
  text-transform: uppercase;
  color: #fff;
}

/* ---------- BLOQUE DE PRODUCTO (páginas de detalle) ---------- */
.productBlock {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  background: #fff;
  border: 1px solid #e3e3e3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  margin-bottom: 34px;
}

.productImages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
}

.productVisual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 20px 24px;
  background: transparent;
}

.productImage,
.specImage {
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
  background: transparent;
  border-bottom: none;
  padding: 24px;
}

.placeholderLabel {
  border: 3px dashed var(--azul);
  width: 92%;
  height: 190px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #057bb8;
  background: #eef9ff;
  padding: 14px;
}

.specImage {
  background: transparent;
}

.specPlaceholder {
  border: 3px dashed var(--amarillo);
  width: 92%;
  height: 190px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #705c00;
  background: #fffdf1;
  padding: 14px;
}

.productContent {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.productContent h3 {
  font-size: 31px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.productContent p {
  font-size: 18px;
  line-height: 1.55;
}

.notes {
  background: #fffbe3;
  border-left: 8px solid var(--amarillo);
  padding: 18px;
  margin: 18px 0;
}

.related {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.related a {
  background: #fff;
  border: 2px solid var(--azul);
  padding: 12px 18px;
  font-weight: 900;
  text-transform: uppercase;
}

/* ---------- FORMULARIO Y MAPA (contacto) ---------- */
.formMap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.formBox {
  background: #fff;
  padding: 30px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ccc;
  padding: 13px;
  margin: 8px 0 14px;
  font-size: 16px;
}

.mapMock {
  background: #d9edf8;
  min-height: 360px;
  display: grid;
  place-items: center;
  font-size: 70px;
  color: #4b6b7c;
}

/* ---------- HERRAMIENTAS / SERVICIOS (páginas internas) ---------- */
.toolResult {
  background: #fffbe3;
  border-left: 8px solid var(--amarillo);
  padding: 18px;
  margin-top: 18px;
  font-weight: 900;
}

.toolsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.toolCard {
  background: #fff;
  border: 1px solid #e2e2e2;
  padding: 24px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.toolCard h3 {
  text-transform: uppercase;
  margin-top: 0;
}

.serviceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.serviceCard {
  background: #fff;
  padding: 24px;
  border: 1px solid #e2e2e2;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.serviceCard h3 {
  text-transform: uppercase;
  margin-top: 0;
}

/* ---------- FOOTER (genérico) ---------- */
.footer {
  background: var(--azul);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  padding: 45px 8vw;
}

.footer img {
  height: 85px;
  background: #fff;
  padding: 8px;
}

.routeTag {
  display: inline-flex;
  background: #fff;
  color: #057bb8;
  font-weight: 800;
  padding: 8px 13px;
  margin-bottom: 18px;
  border: 1px solid rgba(56, 182, 255, .35);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- RESPONSIVE GENERAL ---------- */
@media (max-width: 1100px) {
  .categoryGrid,
  .toolsGrid,
  .serviceGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    position: relative;
  }
  .menu {
    justify-content: flex-start;
    gap: 14px;
  }
  .menu a,
  .menu button {
    font-size: 12px;
  }
  .heroWix,
  .offer,
  .productBlock,
  .formMap,
  .footer {
    grid-template-columns: 1fr;
  }
  .categoryGrid,
  .toolsGrid,
  .serviceGrid {
    grid-template-columns: 1fr;
  }
  .floatQuote {
    right: 14px;
    bottom: 38px;
    width: 210px;
    height: 90px;
  }
}

/* =========================================================
   LANDING CORPORATIVA – NUEVOS ESTILOS
   ========================================================= */

/* ---------- HERO CORPORATIVO ---------- */
.homeCorporate {
  overflow: hidden;
}

.corpHero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  padding: 82px 8vw 76px;
  background:
    radial-gradient(circle at 10% 14%, rgba(56, 182, 255, .12), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 222, 89, .18), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, rgba(56, 182, 255, .08) 100%);
}

.corpHero:before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--azul), var(--amarillo), var(--azul));
}

.corpHeroText {
  position: relative;
  z-index: 2;
}

.corpEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(56, 182, 255, 0.35);
  border-radius: 999px;
  color: #057bb8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  box-shadow: 0 10px 24px rgba(56, 182, 255, 0.10);
}

.corpEyebrow:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amarillo);
  box-shadow: 0 0 0 5px rgba(255, 222, 89, 0.22);
}

.corpHero h1 {
  max-width: 780px;
  margin: 0 0 22px;
  color: #000;
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 0.95;
  letter-spacing: -2.7px;
  font-weight: 900;
  text-transform: uppercase;
}

.corpHero h1 span {
  color: var(--azul);
}

.corpLead {
  max-width: 680px;
  margin: 0;
  color: #273244;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 600;
}

.corpActions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.corpBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid var(--hwm-yellow);
  background: var(--hwm-yellow);
  color: var(--hwm-black);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border-radius: 999px;
}

.corpBtn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(255, 222, 89, .35);
}

.corpBtn.alt {
  background: var(--hwm-yellow);
  color: var(--hwm-black);
  border-color: var(--hwm-yellow);
}

.corpBtn.ghost {
  background: transparent;
  color: var(--hwm-black);
  border-color: var(--hwm-blue);
  box-shadow: none;
}

.corpBtn.ghost:hover {
  background: rgba(56, 182, 255, .10);
  box-shadow: none;
}

.corpStats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 720px;
}

.corpStat {
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #e2e8f0;
  box-shadow: none;
  padding-top: 1.5rem;
}

.corpStat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--azul);
  font-size: 28px;
  line-height: 1;
}

.corpStat span {
  display: block;
  color: #273244;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
}

.corpHeroVisual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.corpVisualCard {
  width: min(520px, 100%);
  min-height: 500px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.corpVisualTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: var(--azul);
  color: var(--hwm-black, #000);
  font-weight: 900;
  text-transform: uppercase;
}

.corpVisualTop small {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--amarillo);
  color: #000;
}

.corpVisualImage {
  display: grid;
  place-items: center;
  padding: 38px;
  background: radial-gradient(circle at 70% 22%, rgba(255, 222, 89, 0.38), transparent 24%),
    linear-gradient(135deg, #f0fbff, #fff);
}

.corpVisualImage img {
  max-height: 330px;
  width: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

/* Hero card en modo marca (logo/mascota HormiMax con fondo oscuro embebido) */
.corpVisualImage--brand {
  padding: 28px;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 222, 89, .35), transparent 26%),
    linear-gradient(135deg, #eff8ff, #ffffff);
}

.corpVisualImage--brand .corpVisualMascot {
  max-height: 320px;
  width: auto;
  object-fit: contain;
  filter: none;
  mix-blend-mode: screen;
}

.corpVisualFooter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e5e5e5;
}

.corpVisualFooter div {
  padding: 18px;
  text-align: center;
}

.corpVisualFooter div + div {
  border-left: 1px solid #e5e5e5;
}

.corpVisualFooter strong {
  display: block;
  font-size: 22px;
}

.corpVisualFooter span {
  color: #5b6571;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* ---------- SECCIÓN GENÉRICA CORPORATIVA ---------- */
.corpSection {
  padding: 78px 8vw;
}

.corpSectionHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 34px;
}

.corpSectionHead h2 {
  max-width: 760px;
  margin: 0;
}

.corpSectionHead .lead {
  max-width: 560px;
  margin: 0;
  color: #334155;
}

/* ---------- VIDEOS / NOTICIAS ---------- */
.videoShowcase {
  background: #fff;
}

.videoGrid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.videoSlot {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  overflow: hidden;
  background: #eaf8ff;
  border: 2px dashed rgba(56, 182, 255, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
  border-radius: 6px;
}

.videoSlot:first-child {
  grid-row: span 2;
  min-height: 540px;
}

.videoSlot:before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 222, 89, 0.50);
}

.videoSlotContent {
  position: relative;
  z-index: 2;
}

.playCircle {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--azul);
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.videoSlot h3 {
  margin: 0 0 8px;
  font-size: 21px;
  text-transform: uppercase;
}

.videoSlot p {
  max-width: 320px;
  margin: 0 auto;
  color: #4b5b6a;
  font-weight: 700;
  line-height: 1.45;
}

/* ---------- CARRUSEL DE VIDEOS (INDEX) ---------- */
.videoShowcaseBlock {
  display: grid;
  gap: 1.25rem;
}

.videoCarouselLead {
  margin: 0;
  max-width: 62ch;
  color: #475569;
  font-weight: 600;
  line-height: 1.55;
}

.videoCarouselLead a {
  color: var(--azul, #1496dd);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.videoShowcaseBlock .carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px;
}

.videoShowcaseBlock .carousel-wrapper.is-carousel-paused .carousel-track {
  transition: transform 0.35s ease;
}

.videoShowcaseBlock .carousel-viewport {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.videoShowcaseBlock .carousel-wrapper:not(.is-carousel-paused)::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--azul, #1496dd);
  opacity: 0.45;
  animation: carouselAutoplayPulse 1.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes carouselAutoplayPulse {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.35); opacity: 0.75; }
}

.videoShowcaseBlock .carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 10px 0 20px;
  will-change: transform;
}

.videoShowcaseBlock .video-card {
  position: relative;
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(56, 182, 255, 0.35);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 150, 221, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.videoShowcaseBlock .video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(20, 150, 221, 0.18);
}

.videoShowcaseBlock .video-cardEmbed {
  width: 100%;
  height: 480px;
  background: #000;
  overflow: hidden;
}

.videoShowcaseBlock .video-cardEmbed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.videoShowcaseBlock .video-cardEmbed--clone {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #0f172a, #1e3a5f);
}

.videoShowcaseBlock .video-cardCloneMark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--azul, #1496dd);
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.videoShowcaseBlock .video-card--clone {
  pointer-events: none;
  opacity: 0.92;
}

.videoShowcaseBlock .video-title {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #334155;
  background: linear-gradient(135deg, #effaff, #fff);
  border-top: 1px solid rgba(56, 182, 255, 0.2);
}

.videoShowcaseBlock .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--amarillo, #ffde59);
  color: #1a2b3c;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.videoShowcaseBlock .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(56, 182, 255, 0.45);
  color: var(--azul, #1496dd);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.videoShowcaseBlock .nav-btn:hover {
  background: var(--azul, #1496dd);
  color: #fff;
}

.videoShowcaseBlock .nav-prev {
  left: -4px;
}

.videoShowcaseBlock .nav-next {
  right: -4px;
}

@media (max-width: 600px) {
  .videoShowcaseBlock .carousel-wrapper {
    padding: 0;
  }

  .videoShowcaseBlock .video-card {
    flex-basis: 220px;
  }

  .videoShowcaseBlock .video-cardEmbed {
    height: 380px;
  }

  .videoShowcaseBlock .nav-btn {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .videoShowcaseBlock .video-card:hover {
    transform: none;
  }

  .videoShowcaseBlock .carousel-wrapper:not(.is-carousel-paused)::after {
    display: none;
  }
}

/* Grid de noticias */
.newsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.newsCard {
  background: #fdfdfd;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.newsCard:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.newsCard-img {
  height: 140px;
  background-color: #eef2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1a3c34;
}

.newsCard-body {
  padding: 1.2rem;
}

.newsCard-body h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.newsCard-body p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.8rem;
}

.newsDate {
  font-size: 0.75rem;
  color: #999;
  display: block;
}

/* ---------- POR QUÉ ELEGIRNOS + VALORES ---------- */
.whyUs,
.values {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 2.5rem;
  padding: 2.5rem 2rem;
}

/* ---------- MASCOTA HORMIMAX ---------- */
.mascot {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.mascotContainer {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.mascotContainer img {
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.mascotText h3 {
  font-weight: 700;
  color: #1a3c34;
  margin-bottom: 0.5rem;
}

/* ---------- FORMULARIO DE CONTACTO ---------- */
.contactForm {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.corpForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.corpForm .full-width {
  grid-column: span 2;
}

.corpForm input,
.corpForm textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.corpForm textarea {
  min-height: 100px;
  resize: vertical;
}

.corpForm button {
  grid-column: span 2;
  background: #1a3c34;
  color: white;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.corpForm button:hover {
  background: #0f2b25;
}

.corpForm label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.3rem;
  color: #333;
}

/* ---------- FOOTER LIMPIO ---------- */
.cleanFooter {
  background: var(--azul);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  padding: 45px 8vw;
}

.cleanFooter a {
  font-weight: 900;
  text-transform: uppercase;
}

/* ---------- RESPONSIVE CORPORATIVO ---------- */
@media (max-width: 1180px) {
  .corpCategoryGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .videoGrid {
    grid-template-columns: 1fr 1fr;
  }
  .videoSlot:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 380px;
  }
}

@media (max-width: 900px) {
  .corpHero,
  .landingPreview {
    grid-template-columns: 1fr;
  }
  .corpStats,
  .processGrid,
  .corpCategoryGrid,
  .videoGrid {
    grid-template-columns: 1fr;
  }
  .videoSlot:first-child {
    grid-column: auto;
    min-height: 300px;
  }
  .corpSectionHead {
    display: block;
  }
  .corpHero h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
  }
  .corpLead {
    font-size: 18px;
  }
  .corpVisualCard {
    min-height: auto;
  }
  .corpSection {
    padding: 56px 6vw;
  }
  .corpForm {
    grid-template-columns: 1fr;
  }
  .corpForm .full-width,
  .corpForm button {
    grid-column: span 1;
  }
  .mascotContainer {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   AJUSTE HWM · MENÚ DE PRODUCTOS SOLO POR CLIC EN PRODUCTOS
   ========================================================= */

.topbar {
  min-height: 104px;
  grid-template-columns: 220px minmax(0, 1fr);
  background: linear-gradient(135deg, #22aef4 0%, var(--azul) 58%, #1496dd 100%);
}

.logoBox {
  min-height: 104px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.logoBox img {
  max-height: 88px;
}

.menuWrap {
  gap: 12px;
  padding: 18px 34px 16px;
}

.primaryMenu {
  align-items: center;
}

.menu a,
.menu button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 2px 7px;
}

.menuProductToggle span {
  display: inline-block;
  font-size: 12px;
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}

.menuProductToggle[aria-expanded="true"] span {
  transform: rotate(180deg) translateY(1px);
}

.productMenu {
  width: 100%;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.productMenu[hidden] {
  display: none !important;
}

.topbar.products-open .productMenu {
  display: flex;
}

.productMenu a {
  min-height: 30px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  letter-spacing: 0.25px;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.productMenu a:hover {
  background: var(--amarillo);
  color: #000;
  border-color: var(--amarillo);
  transform: translateY(-1px);
}

.homeCorporate {
  background: #f6fbff;
}

.corpHero {
  padding-top: 72px;
}

.corpSection {
  background: #fff;
}

.corpCategoryGrid {
  align-items: stretch;
}

.corpCat {
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.corpCat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
}

.cleanFooter {
  background: linear-gradient(135deg, #111827 0%, #0f5575 48%, var(--azul) 100%);
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .logoBox {
    min-height: 86px;
    border-right: 0;
  }

  .menuWrap {
    padding: 16px 20px 18px;
  }

  .primaryMenu,
  .productMenu {
    justify-content: center;
  }

  .productMenu {
    border-radius: 18px;
  }
}

/* ---------- TARJETAS DE CATEGORÍAS CORPORATIVAS ---------- */
.corpCategoryGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.corpCat {
  display: grid;
  grid-template-rows: 190px 1fr;
  background: #fff;
  border: 1px solid #dfeaf0;
  box-shadow: 0 10px 24px rgba(15, 85, 117, 0.08);
}

.corpCatImg {
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 82% 18%, rgba(255, 222, 89, 0.38), transparent 28%),
    linear-gradient(135deg, #effaff, #fff);
  border-bottom: 1px solid #edf4f7;
}

.corpCatImg img {
  max-height: 138px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.12));
}

.corpCatBody {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.corpCatBody h3 {
  margin: 0;
  color: var(--hwm-blue, #38b6ff);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.corpCatBody p {
  margin: 0;
  color: #4b5b6a;
  line-height: 1.5;
}

.corpLink {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--hwm-yellow);
  color: var(--hwm-black);
  border: 2px solid var(--hwm-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}

.corpLink:hover {
  background: var(--hwm-yellow);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(255, 222, 89, .35);
}

@media (max-width: 1180px) {
  .corpCategoryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .corpCategoryGrid {
    grid-template-columns: 1fr;
  }

  .corpCat {
    grid-template-rows: 170px 1fr;
  }
}


/* =========================================================
   HWM DESIGN PATCH · ESTILO INDEX REFERENCIA
   Objetivo: aplicar únicamente la capa visual del index/CSS
   de referencia sin reemplazar secciones, textos, rutas,
   scripts ni landing pages con estilos embebidos.
   ========================================================= */

:root {
  --hwm-blue: #38b6ff;
  --hwm-yellow: #ffde59;
  --hwm-yellow-vibrant: #ffc20e;
  --hwm-red: #ff0000;
  --hwm-black: #000000;
  --hwm-white: #ffffff;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-blue: rgba(15, 50, 80, .06);
  --ink: #000000;
  --muted: #38485a;
  --muted-2: rgba(0, 0, 0, .55);
  --line: #e2e2e2;
  --line-blue: #d7edf9;

  --shadow-soft: 0 8px 22px rgba(0, 0, 0, .08);
  --shadow-medium: 0 10px 28px rgba(0, 0, 0, .16);
  --shadow-card: 0 5px 18px rgba(0, 0, 0, .08);

  --radius-xs: 0px;
  --radius-sm: 2px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --max: 1180px;

  /* League Spartan para titulares/elementos fuertes; Wix Madefor para cuerpo */
  --font-display: "League Spartan", "Wix Madefor Display", Arial, "Segoe UI", sans-serif;
  --font-body: "Wix Madefor Display", "Heebo", Arial, "Segoe UI", sans-serif;
  --brand-font-heading: "League Spartan", "Wix Madefor Display", sans-serif;
  --brand-font-body: "Wix Madefor Display", "Heebo", Arial, sans-serif;
  --transition: 200ms ease;

  /* Compatibilidad con nombres existentes del proyecto */
  --azul: var(--hwm-blue);
  --amarillo: var(--hwm-yellow);
  --negro: var(--hwm-black);
  --blanco: var(--hwm-white);
  --gris: #f4f8fb;
  --shadow: var(--shadow-medium);
}

html body {
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% -8%, rgba(56, 182, 255, .10), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
  line-height: 1.6;
}

:focus-visible {
  outline: 3px solid var(--hwm-yellow-vibrant);
  outline-offset: 3px;
}

a,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

/* Tipografía oficial: League Spartan en titulares, nav y botones */
h1, h2, h3, h4, h5, h6,
.menu a, .menu button,
nav a, nav button,
.corpBtn, .cta, .toolModule h3, .floatQuote {
  font-family: var(--brand-font-heading);
}

img {
  border-radius: var(--radius-xs);
}

/* ---------- Navegación corporativa tipo index ---------- */
.topbar {
  min-height: 104px;
  grid-template-columns: 220px minmax(0, 1fr);
  background:
    linear-gradient(135deg, rgba(0,0,0,.10), transparent 30%),
    linear-gradient(135deg, #38b6ff 0%, #22aef4 58%, #1496dd 100%);
  border-bottom: 4px solid var(--hwm-yellow);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.logoBox {
  min-height: 104px;
  background: var(--hwm-white);
  border-right: 1px solid rgba(0, 0, 0, .08);
  box-shadow: inset -10px 0 0 rgba(56, 182, 255, .05);
}

.logoBox img {
  max-height: 86px;
  width: auto;
  object-fit: contain;
}

.menuWrap {
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 18px 34px 16px;
}

.primaryMenu,
.menu {
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 18px;
}

.menu a,
.menu button,
.primaryMenu a,
.primaryMenu button {
  position: relative;
  min-height: 36px;
  padding: 0 2px 8px;
  color: var(--hwm-white);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 1;
  transition: transform var(--transition), opacity var(--transition), color var(--transition);
}

.menu a::after,
.menu button::after,
.primaryMenu a::after,
.primaryMenu button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--hwm-yellow);
  transition: transform var(--transition);
}

.menu a:hover,
.menu button:hover,
.primaryMenu a:hover,
.primaryMenu button:hover,
.menu a.active,
.primaryMenu a.active {
  color: var(--hwm-white);
  opacity: 1;
  transform: translateY(-1px);
}

.menu a:hover::after,
.menu button:hover::after,
.primaryMenu a:hover::after,
.primaryMenu button:hover::after,
.menu a.active::after,
.primaryMenu a.active::after {
  transform: scaleX(1);
}

/* Menú animado · cápsula + pill y subrayado deslizante (todas las páginas) */
header.topbar {
  overflow: hidden;
}

header.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, transparent 55%);
}

header.topbar .menuWrap {
  position: relative;
  z-index: 1;
}

header.topbar .menuWrap > .menu:first-of-type,
header.topbar .primaryMenu {
  position: relative;
  gap: 6px 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  width: auto;
  max-width: 100%;
}

header.topbar .menu--animated > a,
header.topbar .menu--animated > button {
  position: relative;
  z-index: 1;
  padding: 9px 14px 11px;
  border-radius: 999px;
  border-bottom: 0;
  background: transparent !important;
  box-shadow: none !important;
}

header.topbar .menu--animated > a::after,
header.topbar .menu--animated > button::after {
  display: none;
}

header.topbar .menu--animated > a:hover,
header.topbar .menu--animated > button:hover,
header.topbar .menu--animated > a.active,
header.topbar .menu--animated > button[aria-expanded="true"] {
  background: transparent !important;
  box-shadow: none !important;
}

.menuSlide {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition:
    transform .28s cubic-bezier(.4, 0, .2, 1),
    width .28s cubic-bezier(.4, 0, .2, 1),
    background .28s ease,
    box-shadow .28s ease;
  pointer-events: none;
  z-index: 0;
}

.menuSlide.is-active {
  background: rgba(255, 222, 89, .22);
  box-shadow: inset 0 0 0 1px rgba(255, 222, 89, .35);
}

.menuSlideLine {
  position: absolute;
  bottom: 6px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hwm-yellow);
  transition:
    transform .28s cubic-bezier(.4, 0, .2, 1),
    width .28s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  z-index: 2;
}

.menuProductToggle {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.productMenu {
  width: 100%;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius-xs);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.productMenu a {
  min-height: 32px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, .12);
  color: var(--hwm-white);
  font-size: .70rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.productMenu a:hover {
  background: var(--hwm-yellow);
  color: var(--hwm-black);
  border-color: var(--hwm-yellow);
}

/* ---------- Cintillos / banners corporativos ---------- */
.wixBanner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #38b6ff 0%, #2a9de8 55%, #38b6ff 100%);
  color: #ffffff;
  border: 0;
  text-align: center;
  padding: 3.25rem 7vw;
}

.wixBanner > * {
  position: relative;
  z-index: 1;
}

.wixBanner .pageTitle,
.wixBanner h1,
.wixBanner h2 {
  width: 100%;
  max-width: 900px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: .85rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.05;
}

.wixBanner p {
  width: 100%;
  max-width: 640px;
  color: rgba(255, 255, 255, .92);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
}

.wixBanner .routeTag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .4rem .9rem;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #ffffff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: none;
}

.floatQuote {
  position: fixed;
  right: 20px;
  bottom: 48px;
  top: auto;
  z-index: 999;
  width: 260px;
  height: 110px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent url('../img/logo/flotante%20whatsaap.svg') no-repeat center / contain;
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.floatQuote:hover {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.22));
}

.floatQuote::before {
  display: none;
}

.floatQuote h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: #000000;
}

.floatQuote p {
  color: #000000;
}

.cta {
  position: relative;
  overflow: visible;
  background: #ffde59;
  color: #000000;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cta::before {
  display: none;
}

.cta:hover {
  background: #ffd42e;
  color: #000000;
  transform: translateY(-1px);
}

/* ---------- Secciones generales ---------- */
.section,
.corpSection {
  padding: 78px 8vw;
}

.section.white,
.corpSection,
.homeCorporate {
  background:
    radial-gradient(circle at 8% 8%, rgba(56, 182, 255, .07), transparent 20rem),
    var(--hwm-white);
}

.section.gray {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 222, 89, .20), transparent 20rem),
    #f3f8fc;
}

.pageTitle,
.section h1,
.section h2,
.corpSection h2,
.corpHero h1,
.heroWix h1,
.hwsHero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  color: var(--hwm-black);
}

.wixBanner .pageTitle {
  color: #ffffff;
  text-align: center;
}

.section h1,
.pageTitle {
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  max-width: 980px;
}

.section h2,
.corpSection h2 {
  font-size: clamp(2rem, 3.6vw, 3.9rem);
}

.lead,
.corpLead,
.heroText p,
.section > p,
.corpSectionHead p,
.catBody p,
.corpCatBody p,
.serviceCard p,
.toolCard p,
.newsCard p,
.productContent p,
.notes,
.contactIntro {
  color: var(--muted);
}

/* ---------- Hero corporativo / páginas internas ---------- */
.corpHero,
.heroWix,
.hwsHero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 182, 255, .20), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(255, 222, 89, .42), transparent 23rem),
    linear-gradient(135deg, #ffffff 0%, #effaff 55%, #ffffff 100%);
}

.corpHero::after,
.heroWix::after,
.hwsHero::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% auto;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(56, 182, 255, .10);
  pointer-events: none;
}

.corpHeroText,
.heroText,
.hwsText {
  position: relative;
  z-index: 1;
}

.corpEyebrow,
.kicker,
.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .9rem;
  padding: .48rem .75rem;
  background: var(--hwm-white);
  border: 1px solid rgba(56, 182, 255, .35);
  border-radius: 999px;
  color: #057bb8;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(56, 182, 255, .10);
}

.corpEyebrow::before,
.kicker::before,
.hero-eyebrow::before,
.section-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--hwm-yellow-vibrant);
  box-shadow: 0 0 0 4px rgba(255, 222, 89, .25);
}

.corpStats,
.heroStats,
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.corpStat,
.heroStat,
.stat {
  padding: 18px;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
}

.corpStat strong,
.heroStat strong,
.stat-num {
  display: block;
  color: var(--hwm-black);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
}

.corpVisualCard,
.photoPanel,
.hwsPanel,
.hero-img-wrap,
.welcomeBox,
.identityCard {
  position: relative;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.corpVisualTop,
.photoPanel::before,
.hwsPanel::before,
.hero-img-wrap::before,
.welcomeBox::before,
.identityCard::before {
  content: "";
  display: block;
  height: 10px;
  background:
    linear-gradient(90deg, var(--hwm-blue), var(--hwm-yellow) 45%, var(--hwm-blue));
}

.corpVisualImage,
.photoPanel,
.hero-img-slot,
.hwsPanelContent {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 222, 89, .40), transparent 30%),
    linear-gradient(135deg, #effaff, #ffffff);
}

/* ---------- Botones ---------- */
.corpBtn,
.btnSmall,
.btn,
.btnPrimary,
.btn-primary,
.btn-outline,
.submitBtn,
.contactForm button,
.formBox button,
.corpForm button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .85rem 1.15rem;
  border-radius: 6px;
  border: 0;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.corpBtn,
.btnSmall,
.btn.primary,
.btnPrimary,
.btn-primary,
.submitBtn,
.contactForm button,
.formBox button,
.corpForm button {
  background: #ffde59;
  color: #000000;
  box-shadow: none;
  border-radius: 999px;
  border: 2px solid #ffde59;
}

.corpBtn:hover,
.btnSmall:hover,
.btn.primary:hover,
.btnPrimary:hover,
.btn-primary:hover,
.submitBtn:hover,
.contactForm button:hover,
.formBox button:hover,
.corpForm button:hover {
  background: #ffde59;
  color: #000000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(255, 222, 89, .35);
}

.corpBtn.ghost,
.btn.secondary,
.btn-outline,
.ghost {
  background: transparent;
  color: #000000;
  border: 2px solid #38b6ff;
  box-shadow: none;
}

.corpBtn.alt {
  background: #ffde59;
  color: #000000;
  border: 2px solid #ffde59;
}

.corpBtn.alt:hover,
.corpBtn.ghost:hover,
.btn.secondary:hover,
.btn-outline:hover,
.ghost:hover {
  background: rgba(56, 182, 255, .10);
  color: #000000;
  border-color: #38b6ff;
  box-shadow: none;
}

.corpBtn.alt:hover {
  background: #ffde59;
  border-color: #ffde59;
  box-shadow: 0 10px 20px rgba(255, 222, 89, .35);
}

/* ---------- Tarjetas / catálogos ---------- */
.categoryGrid,
.corpCategoryGrid,
.serviceGrid,
.toolsGrid,
.newsGrid,
.processGrid,
.videoGrid,
.beneficios-grid {
  gap: 22px;
}

.catCard,
.corpCat,
.serviceCard,
.toolCard,
.newsCard,
.ben-card,
.infoCard,
.contactBox,
.productBlock,
.var-item,
.box,
.offer {
  position: relative;
  overflow: hidden;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.catCard:hover,
.corpCat:hover,
.serviceCard:hover,
.toolCard:hover,
.newsCard:hover,
.ben-card:hover,
.productBlock:hover,
.var-item:hover,
.box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(56, 182, 255, .55);
}

.catCard::before,
.corpCat::before,
.serviceCard::before,
.toolCard::before,
.newsCard::before,
.ben-card::before,
.infoCard::before,
.productBlock::before,
.var-item::before,
.box::before {
  content: "";
  display: block;
  height: 3px;
  background: #38b6ff;
}

.catImg,
.corpCatImg,
.newsCard-img,
.var-img {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 222, 89, .38), transparent 30%),
    linear-gradient(135deg, #effaff, #ffffff);
  border-bottom: 1px solid #edf4f7;
}

.productImage,
.specImage,
.productVisual {
  background: transparent;
  border-bottom: none;
}

.catImg img,
.corpCatImg img,
.var-img img,
.newsCard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .12));
}

.productImage img,
.specImage img,
.imgAnim {
  width: auto;
  height: auto;
  max-width: min(100%, 440px);
  max-height: 400px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .14));
}

.catBody,
.corpCatBody,
.newsCard-body,
.productContent,
.serviceCard,
.toolCard,
.ben-card,
.var-copy {
  padding: 22px;
}

.catBody h3,
.corpCatBody h3,
.newsCard h3,
.productContent h3,
.serviceCard h3,
.toolCard h3,
.ben-card h3,
.var-copy h3 {
  margin-top: 0;
  color: var(--hwm-black);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.corpLink,
.related a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-xs);
  background: var(--hwm-black);
  color: var(--hwm-white);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.corpLink:hover,
.related a:hover {
  background: var(--hwm-blue);
  color: var(--hwm-black);
  transform: translateY(-1px);
}

/* ---------- Detalles de producto ---------- */
.productBlock {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  margin-bottom: 34px;
}

.productImages {
  gap: 0;
  background: transparent;
}

/* Apartado individual por imagen */
.productApartado {
  margin-bottom: 2.5rem;
}

.productApartado:last-child {
  margin-bottom: 0;
}

.productBlock--spec .productContent h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--hwm-blue);
}

/* Animación: pasar cursor = expandir, clic = restablecer */
.imgAnimWrap {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 260px;
  overflow: visible;
}

.imgAnim {
  transform: scale(1);
  transform-origin: center center;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.imgAnimWrap:hover .imgAnim:not(.is-reset) {
  transform: scale(1.14);
}

.imgAnim.is-reset {
  transform: scale(1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .imgAnim {
    transition: none;
  }

  .imgAnimWrap:hover .imgAnim {
    transform: none;
  }
}

.productContent h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.65rem, 2.7vw, 2.7rem);
  color: var(--hwm-black);
  font-weight: 900;
  letter-spacing: -.04em;
}

.notes {
  margin-top: 18px;
  padding: 16px;
  background: rgba(56, 182, 255, .08);
  border-left: 5px solid var(--hwm-blue);
  color: var(--muted);
}

/* ---------- Formularios / herramientas ---------- */
.formBox,
.contactForm,
.corpForm {
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
}

.formBox input,
.formBox textarea,
.formBox select,
.contactForm input,
.contactForm textarea,
.contactForm select,
.corpForm input,
.corpForm textarea,
.corpForm select,
input,
textarea,
select {
  border-radius: var(--radius-xs);
  border: 1px solid #d8e9f3;
  background: #ffffff;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.formBox input:focus,
.formBox textarea:focus,
.formBox select:focus,
.contactForm input:focus,
.contactForm textarea:focus,
.contactForm select:focus,
.corpForm input:focus,
.corpForm textarea:focus,
.corpForm select:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--hwm-blue);
  box-shadow: 0 0 0 4px rgba(56, 182, 255, .14);
  outline: none;
}

.toolResult {
  background: #f1faff;
  border: 1px solid var(--line-blue);
  border-left: 5px solid var(--hwm-yellow-vibrant);
  border-radius: var(--radius-xs);
  color: var(--ink);
  font-weight: 800;
}

/* ---------- Listas, valores y bloques auxiliares ---------- */
.values,
.whyUs,
.related,
.bluePanel,
.mapMock {
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
}

.tape,
.valuesBadge,
.routeTag,
.spec-chip,
.var-tag,
.hero-badge,
.hero-stock-badge,
.hwsPanelBadge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: fit-content;
  padding: .45rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 182, 255, .35);
  background: var(--hwm-white);
  color: #057bb8;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(56, 182, 255, .08);
}

.bigIcon,
.valueIcon,
.ben-icon,
.infoIcon,
.hwsIcon {
  display: inline-grid;
  place-items: center;
  background: var(--hwm-yellow);
  color: var(--hwm-black);
  border: 2px solid var(--hwm-black);
  border-radius: var(--radius-xs);
  box-shadow: 6px 6px 0 var(--hwm-black);
}

/* ---------- Footer ---------- */
.footer,
.cleanFooter {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #050505 0%, #0f5575 52%, var(--hwm-blue) 100%);
  color: var(--hwm-white);
  border-top: 5px solid var(--hwm-yellow);
}

.footer::before,
.cleanFooter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block !important;
  background-image:
    var(--hwm-honeycomb-dark),
    radial-gradient(circle at 8% 10%, rgba(255, 222, 89, .20), transparent 16rem);
  background-size: var(--hwm-panal-size), auto;
  background-position: center top, center;
}

.footer > *,
.cleanFooter > * {
  position: relative;
  z-index: 1;
}

.footer h3,
.footer h4,
.cleanFooter h3,
.cleanFooter h4 {
  color: var(--hwm-white);
  font-weight: 900;
  letter-spacing: -.02em;
}

.footer a,
.cleanFooter a {
  color: rgba(255, 255, 255, .88);
  transition: color var(--transition), transform var(--transition);
}

.footer a:hover,
.cleanFooter a:hover {
  color: var(--hwm-yellow);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .categoryGrid,
  .corpCategoryGrid,
  .serviceGrid,
  .toolsGrid,
  .newsGrid,
  .beneficios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .corpHero,
  .heroWix,
  .productBlock,
  .hwsContentGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .logoBox {
    min-height: 86px;
    border-right: 0;
  }

  .menuWrap {
    padding: 16px 20px 18px;
  }

  .primaryMenu,
  .menu,
  .productMenu {
    justify-content: center;
  }

  .productMenu {
    border-radius: var(--radius-xs);
  }

  .corpStats,
  .heroStats,
  .stats-inner {
    grid-template-columns: 1fr;
  }

  .section,
  .corpSection {
    padding: 56px 6vw;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .categoryGrid,
  .corpCategoryGrid,
  .serviceGrid,
  .toolsGrid,
  .newsGrid,
  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  .corpHero h1,
  .section h1,
  .pageTitle {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .heroWix h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .corpBtn,
  .btnSmall,
  .btn,
  .btnPrimary,
  .btn-primary,
  .btn-outline,
  .submitBtn {
    width: 100%;
  }
}

/* =========================================================
   HOME · INDEX CORPORATIVO
   ========================================================= */

.homeCorporate {
  background: var(--hwm-white);
}

.homeCorporate .corpSection {
  margin: 0;
  border-top: 1px solid var(--line-blue);
}

.homeCorporate .corpSection--hero {
  border-top: 0;
}

.corpSection--alt {
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 222, 89, .14), transparent 22rem),
    #f3f8fc;
}

.corpSectionHead {
  flex-wrap: wrap;
}

.corpSectionHead .lead {
  flex: 1 1 320px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.corpCategoryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.homeCorporate .corpCat {
  border-radius: 12px;
  border: 1px solid var(--line-blue);
  box-shadow: var(--shadow-card);
  grid-template-rows: 168px 1fr;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.homeCorporate .corpCat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(56, 182, 255, .45);
}

.homeCorporate .corpCatImg {
  padding: 1.25rem;
  background: var(--hwm-white);
  border-bottom: 1px solid var(--line-blue);
}

.homeCorporate .corpCatImg img {
  max-height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.corpCatBody {
  min-height: 168px;
}

.corpFeatureGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.corpFeatureCard {
  padding: 1.35rem 1.25rem;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, border-color .2s ease;
}

.corpSection--alt .corpFeatureCard {
  background: var(--hwm-white);
}

.corpFeatureCard:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 182, 255, .5);
}

.corpFeatureIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: .75rem;
  border-radius: 10px;
  background: rgba(56, 182, 255, .12);
  font-size: 1.25rem;
}

.corpFeatureCard h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  font-weight: 900;
  color: var(--hwm-black);
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.corpFeatureCard p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--muted);
}

.corpValuesGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.corpValueItem {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.corpValueIcon {
  display: block;
  font-size: 2rem;
  margin-bottom: .65rem;
}

.corpValueItem h4 {
  margin: 0 0 .45rem;
  font-size: .95rem;
  font-weight: 900;
  color: var(--hwm-black);
  text-transform: uppercase;
}

.corpValueItem p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}

.corpSubBlock {
  margin-bottom: 2rem;
}

.corpSubBlock:last-child {
  margin-bottom: 0;
}

.corpSubTitle {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--hwm-black);
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.homeCorporate .newsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.homeCorporate .newsCard {
  border-radius: 12px;
  border: 1px solid var(--line-blue);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: var(--hwm-white);
}

.homeCorporate .newsCard-img {
  height: 120px;
  background: linear-gradient(135deg, #effaff, #fff);
  border-bottom: 1px solid var(--line-blue);
}

.homeCorporate .videoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.homeCorporate .videoSlot {
  min-height: 200px;
  border-radius: 12px;
  border: 1px solid rgba(56, 182, 255, .35);
  background: linear-gradient(135deg, #effaff, #fff);
  box-shadow: var(--shadow-card);
}

.homeCorporate .videoSlot h3 {
  font-size: 1rem;
}

.mascotContainer {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.mascotVisual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(180deg, #eff8ff 0%, #fff 100%);
  border-radius: 12px;
  border: 1px solid #e8f4fc;
  min-height: 280px;
}

.mascotMain {
  width: auto;
  max-width: 100%;
  max-height: 280px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: normal;
  opacity: 1;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.18));
}

.mascotContainer .mascotMain {
  display: block;
  margin: 0 auto;
}

.mascotBrand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mascotLogoWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 110px;
  padding: .35rem;
  background: #eff8ff;
  border: 1px solid #e8f4fc;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.mascotLogo {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  opacity: 1;
}

.mascotVisual {
  overflow: hidden;
}

.mascotText h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--hwm-blue);
  letter-spacing: -.02em;
}

.mascotQuote {
  margin-top: .25rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line-blue);
}

.mascotText p {
  margin: 0 0 .75rem;
  color: var(--muted);
  line-height: 1.6;
}

.mascotText p:last-child {
  margin-bottom: 0;
}

.homeCorporate .corpForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.75rem;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.homeCorporate .corpForm .full-width {
  grid-column: span 2;
}

.homeCorporate .corpForm label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--hwm-black);
}

.homeCorporate .corpForm input,
.homeCorporate .corpForm textarea {
  width: 100%;
  margin-top: .35rem;
  padding: .8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line-blue);
  font-family: inherit;
  font-size: .95rem;
}

.homeCorporate .corpForm textarea {
  min-height: 100px;
  resize: vertical;
}

.homeCorporate .corpForm button {
  grid-column: span 2;
  background: var(--hwm-yellow);
  color: var(--hwm-black);
  border: 2px solid var(--hwm-yellow);
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .9rem 2rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

@media (max-width: 1100px) {
  .corpFeatureGrid,
  .corpValuesGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.homeCorporate .corpForm button:hover {
  background: var(--hwm-yellow);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(255, 222, 89, .35);
}

.mascotFallback {
  display: none;
  width: 150px;
  height: 150px;
  background: #e9ecef;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--hwm-blue);
}

@media (max-width: 768px) {
  .homeCorporate .corpForm .full-width,
  .homeCorporate .corpForm button {
    grid-column: span 1;
  }

  .homeCorporate .corpForm {
    display: grid;
    grid-template-columns: 1fr;
  }

  .corpSectionHead {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .corpFeatureGrid,
  .corpValuesGrid,
  .homeCorporate .newsGrid,
  .homeCorporate .videoGrid {
    grid-template-columns: 1fr;
  }

  .mascotContainer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 1.5rem 1.25rem;
  }

  .mascotVisual {
    width: 100%;
    max-width: 280px;
    min-height: 220px;
  }

  .mascotBrand {
    justify-content: center;
    flex-wrap: wrap;
  }

  .corpHero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .corpVisualCard {
    min-height: auto;
  }
}

/* =========================================================
   HOME PAGE · INDEX NUEVO (referencia corporativa HWM)
   ========================================================= */

body.home-page {
  font-family: var(--font-body, 'Wix Madefor Display', sans-serif);
}

body.home-page .floatQuote {
  right: 20px;
  bottom: 48px;
  top: auto;
  width: 260px;
  height: 110px;
  padding: 0;
  font-size: 0;
  box-shadow: none;
  transition: transform 0.25s ease, filter 0.25s ease;
}

body.home-page .floatQuote:hover {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.22));
  box-shadow: none;
}

body.home-page .homeCorporate {
  max-width: 100%;
}

body.home-page .corpSection {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

body.home-page .corpSection--hero {
  max-width: none;
  padding-left: clamp(1rem, 6vw, 4rem);
  padding-right: clamp(1rem, 6vw, 4rem);
}

body.home-page .corpHero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -.03em;
  line-height: 1;
}

body.home-page .corpLead {
  font-size: 1.125rem;
  color: #334155;
  font-weight: 500;
}

body.home-page .corpStats {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

body.home-page .corpStat strong {
  font-size: 1.5rem;
  color: var(--hwm-blue);
}

body.home-page .corpStat span {
  font-size: .68rem;
  color: #64748b;
  font-weight: 800;
}

body.home-page .corpSectionHead h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -.03em;
}

body.home-page .corpSectionHead h2 span,
body.home-page .homeCorporate .corpCatBody h3 {
  color: var(--hwm-blue);
}

body.home-page .productFamilies {
  border-top: 1px solid #f1f5f9;
}

body.home-page .homeCorporate .corpCat {
  border-radius: .75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

body.home-page .homeCorporate .corpCatImg {
  background: linear-gradient(180deg, rgba(56, 182, 255, .05) 0%, #ffffff 100%);
  border-bottom: 1px solid #f1f5f9;
}

body.home-page .corpFeatureCard,
body.home-page .corpValueItem {
  border-radius: .75rem;
  border: 2px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

body.home-page .corpFeatureCard:hover,
body.home-page .corpValueItem:hover {
  border-color: var(--hwm-blue);
}

body.home-page .values {
  background: linear-gradient(135deg, rgba(56, 182, 255, .05) 0%, #ffffff 55%, #ffffff 100%);
}

body.home-page .mascotContainer {
  border-radius: 1rem;
}

body.home-page .mascotText h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--hwm-blue);
  letter-spacing: -.02em;
}

body.home-page .mascotMain {
  max-height: 260px;
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.2));
}

body.home-page .footer.cleanFooter.homeFooterCorp,
.footer.cleanFooter.homeFooterCorp {
  max-width: none;
  margin-top: 0;
  padding: 0;
  background: var(--hwm-blue);
  color: var(--hwm-black);
  border-top: 4px solid var(--hwm-yellow);
  display: block;
}

body.home-page .footer.cleanFooter::before,
.footer.cleanFooter.homeFooterCorp::before {
  background-image:
    var(--hwm-honeycomb-dark),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .25), transparent 18rem),
    radial-gradient(circle at 88% 10%, rgba(255, 222, 89, .22), transparent 16rem);
  background-size: var(--hwm-panal-size), auto, auto;
  background-position: center top, center, center;
}

body.home-page .footer.cleanFooter > div,
.footer.cleanFooter.homeFooterCorp > div {
  padding-bottom: 3rem;
}

body.home-page .footer.cleanFooter img,
.footer.cleanFooter.homeFooterCorp img {
  background: var(--hwm-white);
  border-radius: .75rem;
  padding: .5rem 1rem;
  border: 1px solid var(--line-blue);
}

body.home-page .footer.cleanFooter p,
body.home-page .footer.cleanFooter b,
.footer.cleanFooter.homeFooterCorp p,
.footer.cleanFooter.homeFooterCorp b {
  color: #1e293b;
}

body.home-page .footer.cleanFooter a,
.footer.cleanFooter.homeFooterCorp a {
  color: #0f172a;
  font-weight: 800;
}

body.home-page .footer.cleanFooter a:hover,
.footer.cleanFooter.homeFooterCorp a:hover {
  color: var(--hwm-white);
}

body.home-page .whyUs,
body.home-page .values,
body.home-page .mascot,
body.home-page .contactForm,
body.home-page .newsVideos {
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
}

body.home-page .corpSection--alt {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

body.home-page .contactForm .corpForm {
  max-width: 100%;
}

body.home-page .homeCorporate .newsCard,
body.home-page .homeCorporate .videoSlot {
  border-radius: .75rem;
}

@media (max-width: 900px) {
  body.home-page .footer.cleanFooter {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body.home-page .floatQuote {
    right: 14px;
    bottom: 38px;
    width: 210px;
    height: 90px;
    padding: 0;
    font-size: 0;
  }
}

/* ---------- Index nuevo: secciones adicionales ---------- */

.burgerToggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: 1rem;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burgerToggle span {
  display: block;
  height: 3px;
  background: var(--hwm-black);
  border-radius: 2px;
}

.mobileMenu {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem 1.5rem 1.25rem;
  background: var(--hwm-blue);
  border-bottom: 4px solid var(--hwm-yellow);
}

.mobileMenu a {
  color: var(--hwm-black);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.kicker--blue {
  background: rgba(56, 182, 255, .12);
  color: var(--hwm-blue);
  border-color: rgba(56, 182, 255, .25);
}

.corpSectionHead--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.corpSectionHead--center .lead {
  max-width: 42rem;
}

/* Ofrecemos */
.offerGrid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem;
  align-items: center;
}

.offerIntro h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: 1;
}

.offerIntro h2 span {
  color: var(--hwm-blue);
}

.offerAccent {
  width: 5rem;
  height: .5rem;
  background: var(--hwm-yellow);
  border-radius: 999px;
}

.offerPanel {
  padding: 2rem;
  background: #f5fafd;
  border-left: 4px solid var(--hwm-blue);
  border-radius: 0 .75rem .75rem 0;
  box-shadow: var(--shadow-card);
}

.offerPanel p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

/* Valores (6 tarjetas) */
.valoresHead {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.valoresHead h2 {
  margin: .5rem 0;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 900;
  text-transform: uppercase;
}

.valoresGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.valorCard {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--hwm-white);
  border: 2px solid #f1f5f9;
  border-radius: .75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: border-color .2s ease;
}

.valorCard:hover {
  border-color: var(--hwm-blue);
}

.valorCardIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(56, 182, 255, .12);
  border-radius: .5rem;
  color: var(--hwm-blue);
  font-size: 1.1rem;
  font-weight: 900;
}

.valorCard h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--hwm-black);
}

.valorCard p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Herramientas */
.toolsPanel {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem;
  background: var(--hwm-white);
  border: 2px dashed rgba(56, 182, 255, .35);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-medium);
}

.toolsPanelGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.toolModule {
  display: block;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  transition: border-color .2s ease, transform .2s ease;
}

.toolModule:hover {
  border-color: var(--hwm-blue);
  transform: translateY(-2px);
}

.toolModuleTag {
  display: block;
  margin-bottom: .35rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hwm-blue);
}

.toolModule h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--hwm-black);
}

.toolModule p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}

.toolsPanelFoot {
  margin: 1.5rem 0 0;
  text-align: center;
}

.corpLink--inline {
  width: auto;
  display: inline-flex;
  padding: 0 1.5rem;
}

/* Empresa */
.empresaSection .corpFeatureGrid {
  margin-bottom: 2rem;
}

.mascotContainer--inline {
  margin-top: 1rem;
}

/* Contacto 2 columnas */
.contactSplit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.contactInfo h2 {
  margin: .5rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  text-transform: uppercase;
}

.contactInfoCards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contactInfoCard {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: .75rem;
}

.contactInfoCard span {
  font-size: 1.5rem;
}

.contactInfoCard small {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.contactInfoCard strong {
  display: block;
  font-size: 1rem;
  color: var(--hwm-black);
}

.contactInfoCard--address strong {
  font-size: .92rem;
  line-height: 1.45;
  font-weight: 700;
}

.contactFormWrap {
  padding: 2rem;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.contactFormWrap h3 {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.corpForm--stacked {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.corpForm--stacked .full-width,
.corpForm--stacked button {
  grid-column: auto;
}

.corpForm--stacked button {
  width: 100%;
  margin-top: .25rem;
}

/* Footer corporativo home */
.homeFooterCorp {
  display: block;
  padding: 0;
}

.homeFooterCorp::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .25), transparent 18rem),
    radial-gradient(circle at 88% 10%, rgba(255, 222, 89, .22), transparent 16rem);
}

.homeFooterMain {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem clamp(1rem, 4vw, 2rem) 2.5rem;
}

.homeFooterMain h4 {
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hwm-black);
  border-bottom: 2px solid rgba(255, 255, 255, .4);
}

.homeFooterLinks,
.homeFooterList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.homeFooterLinks li,
.homeFooterList li {
  margin-bottom: .5rem;
  font-size: .9rem;
  font-weight: 700;
  color: #1e293b;
}

.homeFooterNote {
  margin: 0 0 .75rem;
  font-size: .75rem;
  font-weight: 700;
  color: #334155;
}

.homeFooterBand {
  border-top: 2px solid rgba(255, 255, 255, .3);
  padding: 2rem clamp(1rem, 4vw, 2rem);
}

.homeFooterBandInner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem;
  background: #f5fafd;
  border: 1px solid var(--line-blue);
  border-radius: 1rem;
}

.homeFooterBrand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.homeFooterAlmatodoLogo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: .5rem;
}

/* Footer compacto · 3 columnas (izq · centro · der) */
.homeFooterCompact .homeFooterShell {
  display: grid;
  grid-template-columns: minmax(10rem, 0.85fr) minmax(14rem, 1.35fr) minmax(16rem, 1fr);
  align-items: start;
  column-gap: clamp(1.25rem, 3.5vw, 3rem);
  row-gap: 1rem;
  width: 100%;
  max-width: 88rem;
  margin: 0 auto;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(0.75rem, 2vw, 1.25rem) clamp(1.1rem, 2.5vw, 1.6rem) clamp(0.35rem, 1.2vw, 0.75rem);
  text-align: left;
}

.homeFooterCompact .homeFooterCol--brand {
  justify-self: start;
  align-self: start;
  max-width: 14.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.homeFooterCompact .homeFooterCol--brand .homeFooterBrandBlock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}

.homeFooterCompact .homeFooterCol--links {
  justify-self: center;
  width: min(100%, 36rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(8.5rem, 1fr));
  gap: 1.5rem clamp(2rem, 4vw, 3.5rem);
  padding: 0 clamp(0.5rem, 2vw, 1.5rem);
}

.homeFooterCompact .homeFooterCol--card {
  justify-self: end;
  width: 100%;
  max-width: 21rem;
  margin-left: auto;
}

.homeFooterCompact .homeFooterBrandBlock {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .75rem;
}

.footer.cleanFooter.homeFooterCorp.homeFooterCompact .homeFooterHwmLogo {
  width: auto;
  height: 3.5rem;
  max-width: 11rem;
  object-fit: contain;
  background: var(--hwm-white);
  border-radius: .6rem;
  padding: .5rem .85rem;
  border: 1px solid var(--line-blue);
  margin-bottom: .85rem;
}

.homeFooterCompact .homeFooterBrandName {
  margin: 0 0 .65rem;
  font-size: .92rem;
  line-height: 1.2;
  text-align: left;
}

.homeFooterCompact .homeFooterTagline {
  margin: .35rem 0 0;
  padding-top: .15rem;
  font-size: .74rem;
  line-height: 1.5;
  font-weight: 600;
  color: #334155;
  text-align: left;
}

.footer.cleanFooter.homeFooterCorp.homeFooterCompact .homeFooterCol--links h4,
.homeFooterCompact .homeFooterCol--links h4 {
  margin: 0 0 .5rem;
  padding-bottom: .4rem;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--hwm-black);
  border-bottom: 2px solid rgba(0, 0, 0, .22);
}

.homeFooterCompact .homeFooterLinks,
.homeFooterCompact .homeFooterList {
  text-align: left;
}

.homeFooterCompact .homeFooterLinks li,
.homeFooterCompact .homeFooterList li {
  margin-bottom: .48rem;
  font-size: .74rem;
  line-height: 1.45;
}

.homeFooterCompact .homeFooterNote {
  display: none;
}

.homeFooterCompact .homeFooterCard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
  padding: 1rem 1.1rem;
  background: #f5fafd;
  border: 1px solid var(--line-blue);
  border-radius: .85rem;
  box-shadow: 0 8px 22px rgba(15, 50, 80, .08);
}

.homeFooterCompact .homeFooterBrand {
  justify-content: flex-start;
  gap: .85rem;
}

.homeFooterCompact .homeFooterAlmatodoLogo {
  width: 3.75rem;
  height: 3.75rem;
  padding: .2rem;
  background: var(--hwm-white);
  border: 1px solid #e2e8f0;
  border-radius: .65rem;
}

.homeFooterCompact .homeFooterBrand strong {
  font-size: .78rem;
  text-align: left;
}

.homeFooterCompact .homeFooterBrand span {
  font-size: .64rem;
  text-align: left;
}

.homeFooterCompact .homeFooterContacts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .45rem;
  width: 100%;
}

.homeFooterCompact .homeFooterContacts span {
  padding: .42rem .65rem;
  font-size: .68rem;
  line-height: 1.4;
  border-radius: .55rem;
  text-align: left;
}

.homeFooterCompact .homeFooterCopy {
  max-width: 88rem;
  margin: 0 auto;
  padding: .75rem clamp(0.75rem, 2vw, 1.25rem) .95rem;
  font-size: .74rem;
  font-weight: 700;
  text-align: center;
  color: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.homeFooterCompact .homeFooterMain,
.homeFooterCompact .homeFooterBand,
.homeFooterCompact .homeFooterLeft,
.homeFooterCompact .homeFooterCols {
  display: none;
}

.homeFooterCompact > div {
  padding-bottom: 0 !important;
}

@media (max-width: 900px) {
  .homeFooterCompact .homeFooterShell {
    grid-template-columns: 1fr;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
  }

  .homeFooterCompact .homeFooterCol--brand,
  .homeFooterCompact .homeFooterCol--links,
  .homeFooterCompact .homeFooterCol--card {
    justify-self: stretch;
    max-width: none;
    margin-left: 0;
  }

  .homeFooterCompact .homeFooterCol--links {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .homeFooterCompact .homeFooterCol--links {
    grid-template-columns: 1fr;
  }
}

.almatodoMark {
  width: 2rem;
  height: 2rem;
  padding: .35rem;
  background: var(--hwm-blue);
  border-radius: .5rem;
  background-image:
    linear-gradient(var(--hwm-white) 0 0),
    linear-gradient(var(--hwm-white) 0 0),
    linear-gradient(var(--hwm-white) 0 0),
    linear-gradient(var(--hwm-white) 0 0);
  background-size: 42% 42%;
  background-position: 15% 15%, 85% 15%, 15% 85%, 85% 85%;
  background-repeat: no-repeat;
}

.homeFooterBrand strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1e2951;
}

.homeFooterBrand span {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.homeFooterContacts {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.homeFooterContacts span {
  padding: .5rem 1rem;
  background: var(--hwm-white);
  border: 1px solid #f1f5f9;
  border-radius: .75rem;
  font-size: .72rem;
  font-weight: 800;
  color: #334155;
}

.homeFooterCopy {
  margin: 0;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  color: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

@media (max-width: 1100px) {
  .valoresGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .burgerToggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  .logoBox {
    grid-column: 1;
    grid-row: 1;
  }

  .menuWrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .offerGrid,
  .contactSplit,
  .toolsPanelGrid,
  .homeFooterMain {
    grid-template-columns: 1fr;
  }

  .valoresGrid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Intro centrada de apartados ---------- */
.section > .lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  text-align: center;
}

/* ---------- Servicios · índice enriquecido ---------- */
.svcGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.svcCard {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 32px 28px 28px;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 50, 80, .06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.svcCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(56, 182, 255, .14);
  border-color: #9edcff;
}

.svcCard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38b6ff, #ffde59 60%, #38b6ff);
}

.svcIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #38b6ff, #1496dd);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(56, 182, 255, .32);
}

.svcIcon svg {
  width: 30px;
  height: 30px;
}

.svcTag {
  align-self: flex-start;
  padding: .3rem .72rem;
  background: rgba(255, 222, 89, .25);
  border: 1px solid rgba(255, 222, 89, .65);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8a6d00;
}

.svcCard h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--hwm-black);
}

.svcCard p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  line-height: 1.55;
}

.svcBtn {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .72rem 1.25rem;
  background: var(--hwm-blue);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.svcBtn:hover {
  background: var(--hwm-yellow);
  color: #000000;
  transform: translateX(3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
}

.svcBtn svg {
  width: 16px;
  height: 16px;
}

/* ---------- Servicio · detalle: features ---------- */
.svcFeatureHead {
  max-width: 1080px;
  margin: 0 auto 26px;
  text-align: center;
}

.svcFeatureHead h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--hwm-black);
}

.svcFeatureHead p {
  margin: 0 auto;
  max-width: 600px;
  font-size: .95rem;
  line-height: 1.6;
  color: #5a6b7c;
}

.svcFeatureGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.svcFeature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 50, 80, .05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.svcFeature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(56, 182, 255, .12);
}

.svcFeatureIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf6ff, #fff);
  border: 1px solid rgba(56, 182, 255, .3);
  color: #0f6aa0;
}

.svcFeatureIcon svg {
  width: 24px;
  height: 24px;
}

.svcFeature h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--hwm-black);
}

.svcFeature p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
  color: #5a6b7c;
}

.svcCta {
  max-width: 1080px;
  margin: 38px auto 0;
  padding: 32px;
  text-align: center;
  background: linear-gradient(135deg, #38b6ff, #1496dd);
  border-radius: 18px;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(56, 182, 255, .25);
}

.svcCta h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #ffffff;
}

.svcCta p {
  margin: 0 auto 18px;
  max-width: 520px;
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .92);
}

.svcCta .cta {
  background: #ffde59;
  color: #000000;
  margin-top: 0;
}

/* ---------- Servicios · Ideal para ---------- */
.idealFor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}

.idealFor p {
  margin: 0;
  padding: 14px 18px;
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-left: 4px solid #38b6ff;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2a3a4a;
  box-shadow: 0 4px 12px rgba(15, 50, 80, .04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.idealFor p:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(56, 182, 255, .12);
}

/* ---------- Servicios · Tipos de servicio (pricing) ---------- */
.pricingGrid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.pricingGrid .svcFeature h3 {
  color: #0f6aa0;
}

/* ---------- Herramientas · índice enriquecido ---------- */
.toolsGrid--rich {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.toolCard--rich {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 26px 26px;
}

.toolCard--rich::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38b6ff, #ffde59 60%, #38b6ff);
}

.toolIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #38b6ff, #1496dd);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(56, 182, 255, .32);
}

.toolIcon svg {
  width: 28px;
  height: 28px;
}

.toolTag {
  align-self: flex-start;
  padding: .3rem .72rem;
  background: rgba(255, 222, 89, .25);
  border: 1px solid rgba(255, 222, 89, .65);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8a6d00;
}

.toolCard--rich h3 {
  margin: 0;
  font-size: 1.18rem;
}

.toolCard--rich p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  line-height: 1.55;
}

.toolBtn {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .72rem 1.25rem;
  background: var(--hwm-blue);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.toolBtn:hover {
  background: var(--hwm-yellow);
  color: #000000;
  transform: translateX(3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
}

.toolBtn svg {
  width: 16px;
  height: 16px;
}

/* ---------- Herramientas · página individual ---------- */
.toolLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(264px, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.toolLayout .formBox {
  padding: 32px;
  border-radius: 16px;
}

.toolFormHead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-blue);
}

.toolFormHead .toolIcon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

.toolFormHead .toolIcon svg {
  width: 24px;
  height: 24px;
}

.toolFormHead h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--hwm-black);
}

.formField {
  display: block;
  margin-bottom: 16px;
}

.formField > span {
  display: block;
  margin-bottom: 6px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #38485a;
}

.formField input,
.formField select {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
}

.toolLayout .cta {
  width: 100%;
  margin-top: 8px;
}

.toolAside {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  background: linear-gradient(165deg, #eaf6ff, #ffffff 70%);
  border: 1px solid var(--line-blue);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.toolAside h3 {
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--hwm-black);
}

.toolSteps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: toolstep;
}

.toolSteps li {
  position: relative;
  padding-left: 38px;
  font-size: .9rem;
  line-height: 1.5;
  color: #38485a;
}

.toolSteps li::before {
  counter-increment: toolstep;
  content: counter(toolstep);
  position: absolute;
  left: 0;
  top: -2px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hwm-blue);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 900;
  border-radius: 50%;
}

.toolNote {
  margin-top: 4px;
  padding: 14px 16px;
  background: rgba(255, 222, 89, .2);
  border: 1px solid rgba(255, 222, 89, .6);
  border-radius: 12px;
  font-size: .8rem;
  line-height: 1.5;
  color: #6b5600;
}

@media (max-width: 820px) {
  .toolLayout {
    grid-template-columns: 1fr;
  }
}

/* ---------- Empresa · Bloque Grupo Almatodo ---------- */
.almaSection {
  padding: 64px 8vw 80px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 222, 89, .18), transparent 22rem),
    radial-gradient(circle at 8% 100%, rgba(56, 182, 255, .12), transparent 24rem),
    #f6fbff;
}

.almaCard {
  max-width: 940px;
  margin: 0 auto;
  padding: 44px clamp(24px, 5vw, 56px);
  background: var(--hwm-white);
  border: 1px solid var(--line-blue);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 50, 80, .08);
}

.almaEyebrow {
  margin: 14px 0 18px;
  color: #057bb8;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.almaTitle {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--hwm-black);
}

.almaLead {
  margin: 0 0 26px;
  max-width: 680px;
  font-size: 1.12rem;
  line-height: 1.5;
  font-weight: 600;
  color: #38485a;
}

.almaCard > p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.almaBrands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-blue);
}

.almaBrand {
  padding: .6rem 1.1rem;
  background: linear-gradient(135deg, #eaf6ff, #ffffff);
  border: 1px solid rgba(56, 182, 255, .35);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: #0f6aa0;
}

@media (max-width: 680px) {
  .almaSection {
    padding: 44px 5vw 56px;
  }

  .almaCard {
    padding: 30px 22px;
  }

  .almaLead {
    font-size: 1rem;
  }
}

/* =========================================================
   HOME · alineación de anchos, ritmo vertical y responsive
   ========================================================= */

/* Ritmo vertical uniforme entre todas las secciones del home */
body.home-page .corpSection {
  padding-top: clamp(3.25rem, 6vw, 5rem);
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
}

/* Hero: fondo a todo lo ancho, pero su contenido alineado
   al mismo contenedor (80rem) que el resto de secciones */
body.home-page .corpSection--hero {
  --hero-side: max(clamp(1rem, 4vw, 2rem), calc((100% - 80rem) / 2 + 2rem));
  max-width: none;
  padding-left: var(--hero-side);
  padding-right: var(--hero-side);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

body.home-page .corpHero {
  min-height: 0;
}

/* Herramientas: el panel ocupa el mismo ancho que el resto */
body.home-page .toolsPanel {
  max-width: 100%;
}

body.home-page .toolsSection .corpSectionHead {
  margin-bottom: 0.35rem;
  gap: 0.35rem;
}

body.home-page .toolsSection .corpSectionHead .lead {
  margin-top: 0;
}

body.home-page .toolsSection .toolsPanel {
  margin-top: 0;
  padding-top: 0.85rem;
}

/* Empresa: mascota y diferenciadores con mejor respiración */
body.home-page .empresaSection .corpFeatureGrid {
  margin-bottom: 2.5rem;
}

body.home-page .empresaSection .mascotContainer {
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 1.5rem;
}

body.home-page .empresaSection .mascotVisual {
  min-height: 340px;
  padding: 0.65rem;
  align-items: center;
}

body.home-page .empresaSection .mascotContainer img,
body.home-page .empresaSection .mascotMain {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

@media (max-width: 768px) {
  body.home-page .empresaSection .mascotVisual {
    max-width: 100%;
    min-height: 280px;
  }

  body.home-page .empresaSection .mascotContainer img,
  body.home-page .empresaSection .mascotMain {
    max-height: 260px;
  }
}

/* Catálogo: rejilla fluida para que las tarjetas nunca queden
   sueltas a anchos intermedios */
body.home-page .corpCategoryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.25rem;
}

body.home-page .productFamilies .corpSectionHead {
  margin-bottom: 0.65rem;
  gap: 0.45rem;
}

body.home-page .productFamilies .corpSectionHead .lead {
  margin-top: 0;
}

/* ---- Responsive afinado ---- */
@media (max-width: 1180px) {
  body.home-page .corpHero {
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  body.home-page .corpHero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  body.home-page .corpHeroVisual {
    justify-self: start;
  }

  body.home-page .corpVisualCard {
    width: min(420px, 100%);
    min-height: auto;
  }
}

@media (max-width: 768px) {
  body.home-page .corpSectionHead {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  body.home-page .corpActions {
    flex-wrap: wrap;
  }

  body.home-page .corpActions .corpBtn {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }

  body.home-page .toolsPanelGrid {
    grid-template-columns: 1fr;
  }

  body.home-page .corpStats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
  }
}

@media (max-width: 560px) {
  body.home-page .corpStats {
    grid-template-columns: 1fr;
  }

  body.home-page .corpVisualFooter strong {
    font-size: 18px;
  }
}

/* =========================================================
   HWM SEO/AEO PATCH · Componentes nuevos (aditivo, no rompe nada)
   - Respuesta directa AEO
   - CTA WhatsApp
   - Sección de confianza E-E-A-T
   - Preguntas frecuentes (FAQ)
   - Botón flotante WhatsApp (variante)
   ========================================================= */

/* CTA WhatsApp primario reutilizando el sistema .corpBtn */
.corpBtn.whatsapp {
  background: var(--brand-accent);
  color: var(--brand-light);
  border-color: var(--brand-accent);
}
.corpBtn.whatsapp:hover {
  filter: brightness(.92);
}

/* Bloque de respuesta directa AEO */
.aeo-answer {
  max-width: 760px;
  margin: 18px 0 4px;
  padding: 16px 20px;
  background: rgba(56, 182, 255, .08);
  border-left: 4px solid var(--brand-primary);
  border-radius: 8px;
  font-family: var(--brand-font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink, #000);
}

/* Sección de confianza E-E-A-T */
.trustSection .trustGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.trustCard {
  background: var(--brand-light);
  border: 1px solid var(--line, #e2e2e2);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card, 0 5px 18px rgba(0, 0, 0, .08));
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trustCard .trustIcon {
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
}
.trustCard p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
}

/* Preguntas frecuentes (FAQ) */
.faqSection .faqList {
  max-width: 880px;
  margin: 8px auto 0;
  display: grid;
  gap: 12px;
}
.faqItem {
  background: var(--brand-light);
  border: 1px solid var(--line-blue, #d7edf9);
  border-radius: 12px;
  padding: 4px 18px;
}
.faqItem > summary {
  cursor: pointer;
  font-family: var(--brand-font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faqItem > summary::-webkit-details-marker { display: none; }
.faqItem > summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-primary);
  transition: transform .2s ease;
}
.faqItem[open] > summary::after { content: "\2212"; }
.faqItem > p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: var(--muted, #38485a);
}

/* Botón flotante WhatsApp (variante alternativa, por si se usa la clase sugerida) */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 48px;
  z-index: 999;
  background: var(--brand-secondary);
  color: var(--brand-dark);
  padding: 14px 18px;
  border-radius: 999px;
  font-family: var(--brand-font-heading);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  border: 2px solid var(--brand-dark);
  text-decoration: none;
}
@media (max-width: 768px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 12px 15px;
    font-size: 14px;
  }
}

/* =========================================================
   HOME · HormiMax flotando en el hero (sin caja de fondo)
   ========================================================= */
body.home-page .corpHeroVisual {
  overflow: visible;
  align-self: center;
}

body.home-page .corpVisualCard {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  min-height: 0;
  width: min(400px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

body.home-page .corpVisualTop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--azul, #38b6ff), var(--amarillo, #ffde59));
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

body.home-page .corpVisualTop small {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

body.home-page .corpVisualFooter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  width: 100%;
  border: none;
  background: transparent;
}

body.home-page .corpVisualFooter div {
  padding: 0;
  text-align: center;
  border: none;
}

body.home-page .corpVisualFooter div + div {
  border-left: none;
}

body.home-page .corpVisualFooter strong {
  font-size: 1.15rem;
}

body.home-page .corpVisualImage,
body.home-page .corpVisualImage--brand {
  padding: 0;
  margin: 0.25rem 0;
  border-radius: 0;
  background: transparent;
}

body.home-page .corpVisualImage--brand .corpVisualMascot {
  max-height: clamp(280px, 34vw, 420px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 22px 28px rgba(15, 23, 42, 0.22));
  animation: hwmMascotFloat 4s ease-in-out infinite;
}

@keyframes hwmMascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .corpVisualImage--brand .corpVisualMascot {
    animation: none;
  }
}

@media (max-width: 1024px) {
  body.home-page .corpVisualImage--brand .corpVisualMascot {
    max-height: clamp(240px, 48vw, 340px);
  }
}

/* ---------- Inicio · miniaturas de categoría llenan el recuadro ---------- */
body.home-page .productFamilies .corpCat {
  display: grid;
  grid-template-rows: 128px 1fr;
}

/* La línea ::before robaba la 1ª fila y dejaba hueco blanco arriba */
body.home-page .productFamilies .corpCat::before {
  display: none;
}

body.home-page .productFamilies .corpCatImg {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1;
  height: 128px;
  min-height: 0;
  padding: 0.35rem 0.5rem;
  overflow: hidden;
  background: #eaf6ff !important;
  border-bottom: 1px solid rgba(56, 182, 255, 0.2);
}

body.home-page .productFamilies .corpCatBody {
  grid-row: 2;
}

body.home-page .productFamilies .corpCatImg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.14);
  transform-origin: center center;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

@media (max-width: 680px) {
  body.home-page .productFamilies .corpCat {
    grid-template-rows: 112px 1fr;
  }

  body.home-page .productFamilies .corpCatImg {
    height: 112px;
    padding: 0.3rem 0.4rem;
  }

  body.home-page .productFamilies .corpCatImg img {
    transform: scale(1.08);
  }
}

/* ---------- Botón WhatsApp · visible fijo con imagen HormiMax ---------- */
a.floatQuote,
.floatQuote,
body.home-page .floatQuote {
  position: fixed !important;
  right: 20px;
  bottom: 48px;
  top: auto !important;
  left: auto !important;
  z-index: 9999 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: min(88vw, 310px);
  height: 108px;
  background: transparent url('../img/logo/flotante%20whatsaap.svg') no-repeat center 46% / 310px 310px !important;
}

@media (max-width: 768px) {
  a.floatQuote,
  .floatQuote,
  body.home-page .floatQuote {
    right: 14px;
    bottom: 38px;
    width: min(90vw, 260px);
    height: 92px;
    background-size: 260px 260px !important;
    background-position: center 46% !important;
  }
}

/* ---------- Logo HandwareMarket · barra superior más visible ---------- */
header.topbar {
  min-height: 118px;
  grid-template-columns: 238px minmax(0, 1fr);
}

header.topbar .logoBox {
  min-height: 118px;
  padding: 4px 10px;
}

header.topbar .logoBox img {
  max-height: 112px;
  max-width: 215px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  header.topbar .logoBox img {
    max-height: 88px;
    max-width: 180px;
  }
}

/* ---------- Página de agradecimiento (formulario enviado) ---------- */
.graciasSection {
  padding: 3rem 1.5rem 4.5rem;
}

.graciasCard {
  max-width: 620px;
  margin: 0 auto;
  padding: 2.75rem 2rem 2.5rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid #cfe9fa;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15, 50, 80, 0.08);
}

.graciasCardLogo {
  width: auto;
  height: 4.5rem;
  max-width: 12rem;
  margin: 0 auto 1.25rem;
  padding: 0.45rem 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(56, 182, 255, 0.35);
  border-radius: 0.65rem;
  object-fit: contain;
}

.graciasCardIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(56, 182, 255, 0.12);
  border: 2px solid rgba(56, 182, 255, 0.35);
  font-size: 1.75rem;
  line-height: 1;
}

.graciasCard h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display, 'Wix Madefor Display', sans-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #000000;
}

.graciasCard p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #38485a;
}

.graciasCard .graciasNote {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  background: rgba(255, 222, 89, 0.25);
  border: 1px solid rgba(255, 222, 89, 0.55);
  border-radius: 10px;
}

.graciasActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.graciasActions .corpBtn {
  min-width: 10.5rem;
  text-align: center;
  text-decoration: none;
}

.graciasActions .corpBtn.ghost {
  background: #ffffff;
  color: #000000;
  border: 2px solid #38b6ff;
}
