/* ==========================================================================
   KOWELL DESIGN SYSTEM — tokens, componentes y overrides WordPress/WooCommerce
   Fuente de verdad: kowell-homefinal.html · versión 1.0.0
   ========================================================================== */

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  --navy-900: #0F1B33;
  --navy-800: #16243F;
  --navy-700: #1B2A47;
  --navy-600: #26365A;

  --gold:        #C6A052;
  --gold-bright: #D6B872;

  --accent-red:   #C8442F;
  --accent-blue:  #2E5C8A;
  --accent-green: #3C8A6B;

  --ink:      #1E2433;
  --muted:    #5C6577;
  --bg:       #FFFFFF;
  --bg-soft:  #F4F5F7;
  --border:   #E4E6EC;

  --font-display: 'Archivo', sans-serif;
  --font-body:    'Hanken Grotesk', sans-serif;

  --maxw:      1180px;
  --radius:    10px;
  --shadow-sm: 0 2px 8px rgba(15,27,51,.06);
  --shadow-md: 0 14px 34px rgba(15,27,51,.12);
  --ease:      cubic-bezier(.2,.7,.2,1);
}

/* ── BASE ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 125% !important; /* escala global: 1rem = 20px en vez de 16px */
}

body {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
  background: var(--bg) !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased;
}

/* ── OCULTAR ELEMENTOS DEL TEMA PADRE QUE INTERFIEREN ─────────────────── */
/* Preloader / overlay del tema industrial */
#preloader, .preloader, #loader, .loader,
.page-loader, #page-loader, .site-loader,
/* AnpStudio/Industrial — selectores específicos */
#anps-preloader, .anps-preloader,
#anps-loader, .anps-loader,
.anps-logo-box, .anps-logo-wrap, .anps-brand-box,
[id*="anps-preload"], [id*="anps-load"],
/* Headers del padre que aparecen fuera de nuestro .site-header */
body > header:not(.site-header),
body > #masthead,
.header-area:not(.site-header .header-area),
.header-wrapper:not(.site-header .header-wrapper),
.header-inner:not(.site-header .header-inner),
.site-branding:not(.site-header .site-branding),
.site-title:not(.site-header .site-title),
.site-description,
/* Clases del tema Industrial/AnpStudio fuera de nuestro header */
[class*="anps-header"]:not(.site-header [class*="anps-header"]),
[id*="anps-header"],
/* Logo fantasma del padre fuera de nuestro header/footer */
.header-logo:not(.site-header .header-logo),
#site-logo:not(.site-header #site-logo),
.custom-logo-link:not(.site-header .custom-logo-link),
/* Botón WhatsApp flotante del tema padre */
.kowell-wa-float {
  display: none !important;
}

/* Ocultar TODOS los .logo — luego mostramos solo los nuestros */
.logo, a.logo { display: none !important; }
/* Mostrar logo del header */
.site-header .logo,
.site-header a.logo {
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
}
/* Logo footer — clase propia, el padre no interfiere */
.footer-brand .kw-footer-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  background: transparent;
  line-height: 1;
  gap: 4px;
}
.footer-brand .kw-footer-logo .kw-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: .02em;
}
.footer-brand .kw-footer-logo .kw-mark b { color: var(--gold); }
.footer-brand .kw-footer-logo .kw-sub {
  font-family: var(--font-display);
  font-size: .6rem;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

/* Neutralizar ::before y ::after del tema padre en el logo del header */
.site-header a.logo::before,
.site-header a.logo::after {
  display: none !important;
  content: none !important;
}

/* Logo imagen (cuando hay custom logo en el Customizer) */
.logo .logo-img {
  height: 72px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECCIÓN: encabezado (eyebrow + título) ────────────────────────────── */
.section-head { margin-bottom: 38px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  margin-top: 12px;
  color: var(--navy-800);
  letter-spacing: -.01em;
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 560px;
}

/* ── BOTONES ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: 14px 26px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(198,160,82,.32);
  color: var(--navy-900);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--navy-800);
  color: #fff;
}
.btn-dark:hover {
  background: var(--navy-600);
  transform: translateY(-2px);
  color: #fff;
}

/* ── TOPBAR ────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--navy-900);
  color: #C7CEDC;
  font-size: .82rem;
  font-family: var(--font-body);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  flex-wrap: wrap;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
  color: #C7CEDC;
  text-decoration: none;
}
.topbar a:hover { color: var(--gold); }
.topbar .tb-right { display: flex; gap: 22px; }
@media (max-width: 640px) { .topbar .tb-left { display: none; } }

/* ── HEADER + NAV ──────────────────────────────────────────────────────── */
.site-header {
  background: var(--navy-800);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
  transition: box-shadow .25s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logo texto — solo el del header (el padre puede tener otros .logo fuera del header) */
.site-header a.logo {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  position: relative !important;
}
.site-header .logo .mark {
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  font-size: 1.55rem !important;
  color: #fff !important;
  letter-spacing: .02em !important;
  background: transparent !important;
}
.site-header .logo .mark b { color: var(--gold) !important; }
.site-header .logo .sub {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: .58rem !important;
  letter-spacing: .34em !important;
  color: #8C97AC !important;
  margin-top: 4px !important;
  text-transform: uppercase !important;
  background: transparent !important;
}

/* Navegación principal */
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* wp_nav_menu genera <ul class="kw-menu-list"><li><a> */
.kw-menu-list {
  display: contents; /* los <li> participan directo en el flex del .main-nav */
  list-style: none;
  margin: 0;
  padding: 0;
}
.kw-menu-list li { list-style: none; }

.main-nav a,
.kw-menu-list li a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: #D6DCE8;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
  text-decoration: none;
  display: inline-block;
}
.main-nav a::after,
.kw-menu-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width .25s var(--ease);
}
.main-nav a:hover,
.kw-menu-list li a:hover { color: #fff; }
.main-nav a:hover::after,
.kw-menu-list li a:hover::after { width: 100%; }

.kw-menu-list li.current-menu-item > a,
.kw-menu-list li.current_page_item > a { color: var(--gold); }

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .2s;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; /* siempre arranca debajo del header, sin importar su altura */
    left: 0;
    right: 0;
    background: var(--navy-800);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 3px solid var(--gold);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
    align-items: flex-start;
  }
  .main-nav.open { max-height: 520px; }
  .kw-menu-list { display: flex; flex-direction: column; width: 100%; }
  .kw-menu-list li { width: 100%; }
  .main-nav a,
  .kw-menu-list li a { width: 100%; padding: 14px 24px; display: block; }
  .main-nav .btn { margin: 12px 24px; justify-content: center; width: auto; }
}

@media (max-width: 480px) {
  .site-header .wrap { height: 62px; }
  .logo .logo-img { height: 44px; max-width: 180px; }
}

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 20px 0 16px;
  color: #fff !important;
}
.hero h1 em { color: var(--gold) !important; font-style: normal; }
.hero p.lead {
  font-size: 1.06rem;
  color: #C3CBDB;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-trust div strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--gold);
}
.hero-trust div span { font-size: .82rem; color: #9AA4B8; }

.hero-media { position: relative; }
.hero-media .frame {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.5deg);
}
.hero-media .frame img { border-radius: 6px; width: 100%; }
.hero-media .badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--gold);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  padding: 12px 18px;
  border-radius: 6px;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.5deg);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow,
.hero h1,
.hero p.lead,
.hero-actions,
.hero-trust {
  opacity: 0;
  animation: fadeUp .7s var(--ease) forwards;
}
.hero h1        { animation-delay: .08s; }
.hero p.lead    { animation-delay: .16s; }
.hero-actions   { animation-delay: .24s; }
.hero-trust     { animation-delay: .32s; }
.hero-media     { opacity: 0; animation: fadeUp .8s var(--ease) .2s forwards; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-media .frame { transform: none; max-width: 420px; margin: 0 auto; }
  .hero-media .badge {
    position: static;
    transform: none;
    display: block;
    width: fit-content;
    margin: 12px auto 0;
    font-size: .72rem;
    padding: 8px 14px;
  }
}

/* ── SECCIONES GENÉRICAS ───────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }

/* ── CATEGORÍAS ────────────────────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-card .bar { height: 5px; background: var(--accent-red); }
.cat-card:nth-child(2) .bar { background: var(--accent-green); }
.cat-card:nth-child(3) .bar { background: var(--accent-blue); }
.cat-card:nth-child(4) .bar { background: var(--gold); }
.cat-card .thumb { background: var(--bg-soft); padding: 22px; }
.cat-card .thumb img {
  height: 140px;
  width: 100%;
  object-fit: contain;
  transition: transform .3s var(--ease);
}
.cat-card .body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--navy-800);
}
.cat-card p {
  font-size: .92rem;
  color: var(--muted);
  margin: 8px 0 16px;
  flex: 1;
}
.cat-card .more {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .86rem;
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-card:nth-child(2) .more { color: var(--accent-green); }
.cat-card:nth-child(3) .more { color: var(--accent-blue); }
.cat-card:nth-child(4) .more { color: #9A7B2E; }
.cat-card .more span { transition: transform .2s var(--ease); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-card:hover .more span { transform: translateX(4px); }

/* ── SERVICIOS ─────────────────────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 780px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--navy-800);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-800);
}
.svc-card p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* ── PRODUCTO ROW (ficha catálogo, SIN precio) ─────────────────────────── */
.product-row {
  display: grid;
  grid-template-columns: 240px 1fr 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none;
  color: inherit;
}
.product-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-media {
  background: var(--bg-soft);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.product-media img { max-height: 170px; width: auto; object-fit: contain; }
.product-row[data-sku="KW-180P"] .product-media img { max-height: 220px; width: 100%; object-fit: contain; }
.product-code {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-top-right-radius: 6px;
}

.product-body {
  padding: 24px 26px;
  border-left: 4px solid var(--accent-red);
}
.product-cat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-red);
}
.product-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-800);
  margin: 6px 0 4px;
}
.product-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.spec-list { display: grid; gap: 7px; }
.spec-list li {
  position: relative;
  padding-left: 18px;
  font-size: .9rem;
  color: #404a5e;
  list-style: none;
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Panel navy de contacto — reemplaza el bloque de precio */
.product-cta {
  background: var(--navy-700);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 18px;
}
.cta-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--gold);
  text-transform: uppercase;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin: 10px 0 16px;
  line-height: 1.25;
  color: #fff !important;
}
.product-cta .btn { padding: 11px 20px; font-size: .84rem; }

@media (max-width: 780px) {
  .product-row { grid-template-columns: 1fr; }
  .product-body { border-left: 0; border-top: 4px solid var(--accent-red); }
  .product-media img { max-height: 200px; }
}

/* ── POOL DE COMPRAS ───────────────────────────────────────────────────── */
.pool {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pool::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border: 40px solid rgba(198,160,82,.07);
  border-radius: 50%;
  pointer-events: none;
}
.pool .wrap { position: relative; padding: 72px 24px; }
.pool .pool-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.pool h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  max-width: 560px;
  color: #fff !important;
}
.pool h2 em { color: var(--gold) !important; font-style: normal; }

.pool-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 780px) { .pool-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .pool-benefits { grid-template-columns: 1fr; } }

.pool-benefit {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 22px 20px;
  background: rgba(255,255,255,.03);
}
.pool-benefit .pb-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--navy-900);
  background: var(--gold);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pool-benefit h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff !important;
}
.pool-benefit p { font-size: .86rem; color: #AEB7C9; margin-top: 5px; }

/* ── CLIENTES ──────────────────────────────────────────────────────────── */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .client-grid { grid-template-columns: 1fr; } }

.client-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.client-logo {
  background: var(--bg-soft);
  padding: 34px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--gold);
}
.client-logo img { height: 78px; width: auto; object-fit: contain; }
.client-card .c-body { padding: 20px 18px 24px; }
.client-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-800);
}
.client-card span { font-size: .86rem; color: var(--muted); }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-900);
  color: #AAB3C5;
  font-family: var(--font-body);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 62px 0 46px;
}
@media (max-width: 820px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 480px) { .footer-main { grid-template-columns: 1fr; } }

.footer-brand .kw-footer-logo .kw-mark { font-size: 1.4rem; }
.footer-brand p.tag {
  font-style: italic;
  color: #7E889C;
  margin-top: 14px;
  font-size: .92rem;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff !important;
  font-size: .95rem;
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: .92rem;
  transition: color .2s;
  color: #AAB3C5;
  text-decoration: none;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #6D7689;
}

/* Ocultar botón flotante del tema padre (Industrial/AnpStudio) */
.anps-c-btn, .anps-contacts-btn, .anps-contact-btn,
.anps-floating-contact, #anps-floating-contact,
[class*="anps-float"], [id*="anps-float"],
[class*="anps-contact"], [id*="anps-contact"],
[class*="anps-whatsapp"], [id*="anps-whatsapp"],
[class*="anps-wa"]:not(.wa-float), [id*="anps-wa"],
.industrial-whatsapp, #industrial-whatsapp,
.c-contact-btn, .floating-contact-btn { display: none !important; }

/* ── WHATSAPP FLOTANTE ─────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 200;
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── PÁGINA CLIENTES (page-clientes.php) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 14px;
  letter-spacing: -.01em;
  color: #fff !important;
}
.page-hero p {
  color: #C3CBDB;
  margin-top: 12px;
  font-size: 1.06rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── PÁGINA VIDEO ──────────────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* TikTok es vertical: 9/16 */
.video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
  aspect-ratio: 9 / 16;
  position: relative;
}
.video-wrap iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: 0;
  display: block;
}

/*
 * Guard: capa transparente encima del iframe.
 * pointer-events:none → el click pasa al iframe (video se puede reproducir).
 * Cuando JS detecta que el video terminó, agrega .active → pointer-events:auto
 * y bloquea los clics a las recomendaciones de TikTok.
 */
.video-guard {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: transparent;
  border-radius: var(--radius);
  cursor: default;
}
.video-guard.active {
  pointer-events: auto;
}

.video-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy-800);
  letter-spacing: .02em;
  padding: 0 4px;
}

/* ── WOOCOMMERCE — ocultar precio y carrito por defecto ────────────────── */
.woocommerce .price,
.woocommerce .woocommerce-Price-amount,
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart { display: none !important; }

/* ── ARCHIVE DE PRODUCTOS (woocommerce/archive-product.php) ────────────── */
.kw-products-header {
  background: var(--bg-soft);
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border);
}
.kw-products-header h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy-800);
  margin-top: 10px;
}
.kw-products-header p { color: var(--muted); margin-top: 10px; }

.kw-archive-products { padding: 56px 0 80px; }

.kw-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.kw-pagination a,
.kw-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy-800);
  transition: background .2s, color .2s;
}
.kw-pagination a:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.kw-pagination .current { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }

/* ── SINGLE PRODUCT (woocommerce/single-product.php) ──────────────────── */
.kw-single-product { padding: 56px 0 80px; }

.kw-product-row-full {
  display: grid;
  grid-template-columns: 300px 1fr 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) { .kw-product-row-full { grid-template-columns: 1fr; } }

.kw-product-gallery {
  background: var(--bg-soft);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  flex-direction: column;
  gap: 12px;
}
.kw-product-gallery img { max-height: 280px; width: auto; object-fit: contain; }

.kw-product-info {
  padding: 32px;
  border-left: 4px solid var(--accent-red);
}
@media (max-width: 900px) {
  .kw-product-info { border-left: 0; border-top: 4px solid var(--accent-red); }
}

.kw-product-info .product-cat { margin-bottom: 6px; }
.kw-product-info h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy-800);
  margin: 0 0 6px;
  line-height: 1.1;
}
.kw-product-description {
  margin-top: 20px;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.7;
}
.kw-product-description ul { margin: 12px 0; }
.kw-product-description ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.kw-product-description ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.kw-related { padding: 56px 0 80px; background: var(--bg-soft); }
.kw-related h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy-800);
  margin-bottom: 28px;
}

/* ── PÁGINA CONTACTO ──────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-card--highlight {
  background: var(--navy-800);
  border-color: transparent;
}
.contact-card--highlight h3,
.contact-card--highlight p { color: #fff; }

.contact-icon { font-size: 2.2rem; line-height: 1; }
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-800);
  margin: 4px 0 0;
}
.contact-card p {
  font-size: .93rem;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.5;
}
.contact-card .btn { margin-top: auto; }

.contact-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 32px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-info-value {
  font-size: .97rem;
  color: var(--navy-800);
  font-weight: 500;
}
