/*
Theme Name: ExEm Foam Chile
Theme URI: https://grchile.cl/
Author: GEDEON RICHTER Chile SPA
Description: Landing WordPress para ExEm Foam, producto de evaluacion de permeabilidad tubarica.
Version: 1.10.62
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: exem-foam-chile
*/

@font-face {
  font-family: 'Gotham ExEm';
  src: url('assets/fonts/GothamBook.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham ExEm';
  src: url('assets/fonts/GothamBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Berlin Sans FB';
  src: url('assets/fonts/BerlinSansFB-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Berlin Sans FB';
  src: url('assets/fonts/BerlinSansFB-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca ExEm Foam - ver brief de diseno */
  --exem-purple: #8662a4;       /* Color Principal */
  --exem-purple-deep: #5f4674;  /* variante oscura del Principal, para profundidad en degradados */
  --exem-purple-dark: #2b2f33;  /* tinta oscura de titulos, neutra */
  --exem-purple-soft: #ece4f1;
  --exem-pink: #a98dc0;         /* variante clara del Principal (reemplaza el magenta anterior) */
  --exem-ink: #2b2f33;
  --exem-muted: #525860;        /* Color Secundario - textos informativos, parrafos, botones */
  --exem-line: rgba(82, 88, 96, 0.14);
  --exem-cream: #f9f9f9;        /* Color Fondo */
  --exem-white: #ffffff;
  --exem-shadow: 0 34px 90px rgba(43, 47, 51, 0.16);
  --exem-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--exem-ink);
  font-family: 'Gotham ExEm', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 6%, rgba(134, 98, 164, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(134, 98, 164, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--exem-cream), #ffffff 52%, #f4f2f6);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(circle at 1px 1px, #2b2f33 1px, transparent 0);
  background-size: 9px 9px;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 14px;
  z-index: 40;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--exem-ink);
  color: #fff;
  padding: 10px 14px;
  transition: transform 320ms var(--exem-ease);
}

.skip-link:focus { transform: translateY(0); }

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

img { max-width: 100%; height: auto; }

.site-shell { overflow: hidden; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header-bar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto -104px;
}

.site-header {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--exem-purple);
  border-radius: 999px;
  background: rgba(249, 249, 249, 0.72);
  box-shadow: 0 24px 80px rgba(43, 47, 51, 0.12), inset 0 1px 1px rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
  width: 100%;
  padding: 0 12px 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--exem-purple-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-icon {
  flex-shrink: 0;
  width: auto;
  height: clamp(30px, 4.2vw, 38px);
}

.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--exem-purple);
  font-size: 0.95rem;
  font-weight: 400;
}

.nav-links a {
  transition: color 220ms var(--exem-ease);
}

.nav-links a:hover {
  color: var(--exem-purple-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--exem-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--exem-purple-dark);
  transition: transform 320ms var(--exem-ease), opacity 320ms var(--exem-ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #26292d;
  color: #fff;
  cursor: pointer;
  font-weight: 400;
  letter-spacing: 0.02em;
  min-height: 48px;
  padding: 0 24px;
  box-shadow: 0 18px 42px rgba(43, 47, 51, 0.22);
  transition: transform 520ms var(--exem-ease), box-shadow 520ms var(--exem-ease), background 520ms var(--exem-ease);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 64px rgba(43, 47, 51, 0.25);
}

.button:active { transform: scale(0.98); }

.button i {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.24);
  font-size: 0.84rem;
  font-style: normal;
  transition: transform 520ms var(--exem-ease), background 520ms var(--exem-ease);
}

.contact-dropdown {
  position: relative;
  flex-shrink: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--exem-purple);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: right;
  white-space: normal;
  max-width: 210px;
  transition: color 320ms var(--exem-ease), transform 320ms var(--exem-ease);
}

.contact-link:hover,
.contact-link[aria-expanded="true"] {
  color: var(--exem-purple-deep);
  transform: translateY(-1px);
}

.contact-icon {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 8px;
  border: 1.5px solid var(--exem-purple);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 320ms var(--exem-ease);
}

.contact-link:hover .contact-icon,
.contact-link[aria-expanded="true"] .contact-icon {
  background: var(--exem-purple-soft);
}

.contact-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 40;
  flex-direction: column;
  gap: 4px;
  min-width: 240px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid var(--exem-line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--exem-shadow);
}

.contact-menu:not([hidden]) { display: flex; }

.contact-menu-name {
  margin: 0 0 6px;
  padding: 0 10px;
  color: var(--exem-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--exem-purple-dark);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 200ms var(--exem-ease);
}

.contact-menu a:hover { background: var(--exem-purple-soft); }

.button:hover i { transform: translateX(2px) rotate(90deg); background: rgba(255,255,255,0.32); }

.hero {
  position: relative;
  padding: 150px 0 96px;
  background: #ffffff;
}

.hero-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(56px, 6vw, 88px);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(56px, 6vw, 88px);
  isolation: isolate;
}

.hero-grid > * { min-width: 0; }

.hero-grid-single {
  grid-template-columns: 1fr;
  position: relative;
  overflow: visible;
}

.hero-grid-single .hero-visual {
  max-width: none;
  justify-self: stretch;
  justify-content: flex-start;
}

.hero-grid-single::after {
  content: "";
  position: absolute;
  right: -8vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(34vw, 420px);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(134, 98, 164, 0.22) 35px 37px);
  z-index: -1;
}

.hero-heading {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto clamp(20px, 3vw, 34px);
  text-align: center;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.hero-logo {
  width: min(60%, 240px);
  height: auto;
  justify-self: center;
}

.eyebrow {
  color: var(--exem-purple);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-family: 'Berlin Sans FB', 'Gotham ExEm', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-transform: none;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  color: var(--exem-purple-dark);
  font-family: 'Berlin Sans FB', 'Gotham ExEm', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2.56rem, 4.64vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 100%;
  text-wrap: balance;
}

@media (max-width: 880px) {
  .hero-title-break { display: none; }
}

.hero-copy {
  color: var(--exem-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.trust-list,
.cta-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.trust-list li,
.cta-checklist li {
  border: 1px solid rgba(43, 47, 51, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.54);
  color: var(--exem-purple-dark);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 9px 13px;
}

.text-link {
  color: var(--exem-purple-dark);
  font-weight: 800;
}

.product-card {
  position: relative;
  width: calc(71% + clamp(17px, 2.85vw, 40px));
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.product-box {
  position: relative;
  width: 100%;
  aspect-ratio: 2.15 / 1;
  border-radius: 26px;
  overflow: hidden;
}

.product-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(134, 98, 164, 0.2);
  pointer-events: none;
}

.product-cta {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 4vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--exem-purple);
  font-weight: 800;
  font-size: clamp(0.88rem, 1.3vw, 1.1rem);
  line-height: 1.2;
  text-align: center;
  max-width: calc(100% - clamp(40px, 8vw, 96px));
  letter-spacing: 0.01em;
  padding: 16px 28px;
  box-shadow: 0 18px 42px rgba(43, 47, 51, 0.22);
  transition: transform 320ms var(--exem-ease), box-shadow 320ms var(--exem-ease);
}

.product-cta:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 24px 54px rgba(43, 47, 51, 0.28);
}

.product-box img {
  width: 100%;
  height: 100%;
  display: block;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.03);
}

.badge-card {
  display: block;
  position: relative;
  z-index: 2;
  width: fit-content;
  border-radius: 18px;
  background: var(--exem-purple);
  color: #fff;
  font-family: 'Berlin Sans FB', 'Gotham ExEm', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.32rem, 2.4vw, 1.68rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: clamp(17px, 2.16vw, 24px) clamp(31px, 4.08vw, 46px);
  box-shadow: 0 18px 40px rgba(95, 70, 116, 0.28);
  margin: 20px 0 26px;
}

.section { padding: clamp(56px, 6vw, 80px) 0; }

/* Paginas genericas (carrito, checkout, producto, etc.) sin hero propio:
   compensa el margen negativo del .site-header flotante para que no se
   monte encima del titulo. */
.page-main { padding-top: 150px; }

/* Contenido largo generico (ej. Politica de Privacidad) renderizado via
   the_content(), sin markup propio del tema: se le da tipografia legible
   acorde a la marca en vez de dejarlo con los estilos por defecto del navegador. */
.page-main article {
  max-width: 760px;
}

.page-main article h2 {
  color: var(--exem-purple-dark);
  font-family: 'Berlin Sans FB', 'Gotham ExEm', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 44px 0 14px;
}

.page-main article h2:first-child { margin-top: 0; }

.page-main article h3 {
  color: var(--exem-purple-deep);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 10px;
}

.page-main article p {
  color: var(--exem-ink);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.page-main article a {
  color: var(--exem-purple-deep);
  text-decoration: underline;
  text-decoration-color: var(--exem-line);
}

.page-main article a:hover { text-decoration-color: var(--exem-purple-deep); }

.trust-strip {
  padding: 0 0 clamp(56px, 7vw, 92px);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 10px;
}

.trust-strip-grid div {
  border: 1px solid var(--exem-line);
  border-radius: 28px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 18px 60px rgba(43, 47, 51, 0.08), inset 0 1px 1px rgba(255,255,255,0.9);
  padding: 22px 24px;
}

.trust-strip-grid strong {
  display: block;
  color: var(--exem-purple-dark);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

.trust-strip-grid span {
  display: block;
  color: var(--exem-muted);
  font-weight: 700;
  margin-top: 8px;
}

.section-title {
  color: var(--exem-purple-dark);
  font-family: 'Berlin Sans FB', 'Gotham ExEm', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.8vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.intro-text {
  color: var(--exem-muted);
  max-width: 790px;
  font-size: 1.05rem;
}

.story {
  background: transparent;
  color: var(--exem-ink);
}

.story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: clamp(40px, 5vw, 64px);
  background: rgb(128, 99, 159);
  color: #fff;
  border-radius: 28px;
  padding: clamp(28px, 3.4vw, 44px);
}

.story-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-text p { color: rgba(255, 255, 255, 0.92); }
.story-text p + p { margin-top: 16px; }

.story-video {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.story-video .video-panel {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.story-brochure-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  background: #fff;
  color: var(--exem-purple-deep);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 34px rgba(43, 47, 51, 0.18);
  transition: transform 260ms var(--exem-ease), box-shadow 260ms var(--exem-ease);
}

.story-brochure-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(43, 47, 51, 0.24);
}

.video-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 270px;
  border: 8px solid rgba(255,255,255,0.62);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.18), transparent 6rem),
    repeating-radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.14) 0 2px, transparent 3px 16px),
    linear-gradient(135deg, #201f22, #4a3a5c 54%, #8662a4);
  box-shadow: var(--exem-shadow);
  overflow: hidden;
}

.video-panel::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 0 0 38px rgba(255,255,255,0.035),
    0 0 0 76px rgba(255,255,255,0.025);
}

.video-panel::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.58), transparent);
}

.video-panel-media {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(255,255,255,0.62);
  border-radius: 50%;
  background: rgba(43, 47, 51, 0.32);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 320ms var(--exem-ease), background 320ms var(--exem-ease), opacity 320ms var(--exem-ease);
}

.play-button:hover {
  transform: scale(1.06);
  background: rgba(43, 47, 51, 0.5);
}

.video-panel.is-playing .play-button {
  opacity: 0;
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
  margin-top: 34px;
}

.hero .benefits-grid {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.step-card {
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 34px;
  background: rgba(255,255,255,0.66);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 24px 70px rgba(43, 47, 51, 0.09), inset 0 1px 1px rgba(255,255,255,0.88);
  transition: transform 650ms var(--exem-ease), box-shadow 650ms var(--exem-ease), background 650ms var(--exem-ease);
}

.step-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 34px 90px rgba(43, 47, 51, 0.15), inset 0 1px 1px rgba(255,255,255,0.92);
}

/* Glass cards (inspirado en codepen.io/Margarita-the-solid/pen/NPRPBjd - "Frosted Surface") */
.benefit-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(236, 228, 241, 0.32));
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 24px 60px rgba(95, 70, 116, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: transform 650ms var(--exem-ease), box-shadow 650ms var(--exem-ease), background 650ms var(--exem-ease), border-color 650ms var(--exem-ease);
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(236, 228, 241, 0.46));
  box-shadow: 0 34px 80px rgba(95, 70, 116, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.benefit-card { grid-column: span 12; min-height: auto; }

.benefit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(134, 98, 164, 0.14);
  border: 1px solid rgba(134, 98, 164, 0.22);
  color: var(--exem-purple);
  font-size: 1.6rem;
  font-weight: 900;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-copy { min-width: 0; }

.benefit-card h3,
.step-card h3 { color: var(--exem-purple-dark); font-size: 1.2rem; font-weight: 400; margin-bottom: 10px; }

.cta-band {
  position: relative;
  border: 8px solid rgba(255, 255, 255, 0.42);
  border-radius: 50px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.26), transparent 28rem),
    linear-gradient(135deg, #b79cc9, #5f4674 62%, #8662a4);
  color: #fff;
  padding: 48px;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -35% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,0.16) 0 1px, transparent 2px 28px);
  opacity: 0.42;
  pointer-events: none;
  animation: exem-orbit-drift 20s var(--exem-ease) infinite alternate-reverse;
}

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

.cta-band .section-title,
.cta-band .eyebrow,
.cta-band p {
  color: #fff;
  text-shadow: 0 2px 18px rgba(43, 47, 51, 0.28);
}

.cta-band p { max-width: 720px; }

.cta-band .cta-checklist { margin-bottom: 26px; }

.cta-band .cta-checklist li {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.13);
  color: #fff;
}

.steps-carousel-wrap {
  position: relative;
  margin-top: 34px;
}

.steps-carousel {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.steps-carousel::-webkit-scrollbar {
  display: none;
}

.steps-track {
  display: flex;
  width: max-content;
}

.steps-row {
  display: flex;
  flex: 0 0 auto;
  gap: 20px;
  padding-right: 20px;
}

.steps-row .step-card {
  flex: 0 0 min(340px, 78vw);
}

.steps-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--exem-purple);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(95, 70, 116, 0.28);
  transform: translateY(-50%);
  transition: background 220ms var(--exem-ease), transform 220ms var(--exem-ease);
}

.steps-nav:hover,
.steps-nav:focus-visible {
  background: var(--exem-purple-deep);
  transform: translateY(-50%) scale(1.06);
}

.steps-nav svg {
  width: 18px;
  height: 18px;
}

.steps-nav-prev { left: -6px; }
.steps-nav-next { right: -6px; }

@media (max-width: 640px) {
  .steps-nav { width: 38px; height: 38px; }
  .steps-nav svg { width: 16px; height: 16px; }
  .steps-nav-prev { left: -2px; }
  .steps-nav-next { right: -2px; }
}

@media (prefers-reduced-motion: reduce) {
  .steps-carousel { scroll-behavior: auto; }
}

.step-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 22px;
  background: var(--exem-purple-soft);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9);
}

.step-number {
  color: var(--exem-pink);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  position: relative;
  padding: 56px 0 32px;
  background: linear-gradient(115deg, var(--exem-purple) 0%, var(--exem-purple-deep) 78%);
  color: #fff;
  font-size: 0.95rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(circle at 100% 0%, rgba(255,255,255,0.05) 0 1px, transparent 2px 26px),
    linear-gradient(115deg, rgba(255,255,255,0.14) 0 26%, transparent 27% 100%);
}

.footer-contact {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.24);
  text-align: center;
}

.footer-contact-title {
  font-family: 'Berlin Sans FB', 'Gotham ExEm', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px;
}

.footer-contact-name {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  margin: 0 0 20px;
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 10px 20px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 400;
  white-space: nowrap;
  transition: background 260ms var(--exem-ease), border-color 260ms var(--exem-ease);
}

.footer-contact-links a:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.7);
}

.footer-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 64px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav ul:not(:last-child) {
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.3);
}

.footer-nav a {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.92;
  transition: opacity 320ms var(--exem-ease);
}

.footer-nav a::before {
  content: "\203A";
  margin-right: 6px;
  opacity: 0.7;
}

.footer-nav a:hover { opacity: 1; text-decoration: underline; }

.footer-nav a.footer-nav-email { text-transform: none; letter-spacing: 0; }

.site-footer .footer-brand {
  height: clamp(65px, 7.2vw, 94px);
  width: auto;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom p { margin: 0 0 10px; }
.footer-bottom p:last-child { margin-bottom: 0; }

.footer-bottom a {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.35);
  transition: text-decoration-color 220ms var(--exem-ease);
}

.footer-bottom a:hover { text-decoration-color: rgba(255,255,255,0.85); }

.reveal-on-scroll,
.benefit-card {
  opacity: 0;
  transform: translateY(34px);
}

.reveal-on-scroll.is-visible,
.benefit-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 900ms var(--exem-ease), transform 900ms var(--exem-ease), box-shadow 650ms var(--exem-ease), background 650ms var(--exem-ease);
}

/* Reveal tipo "wipe" diagonal (inspirado en el clip-path banner de codepen.io/halvves) */
.product-card {
  opacity: 0;
  clip-path: polygon(0% 0%, 0% 0%, -25% 100%, -25% 100%);
}

.hero-visual.is-visible .product-card {
  opacity: 1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: opacity 500ms var(--exem-ease), clip-path 950ms var(--exem-ease) 80ms, box-shadow 650ms var(--exem-ease), background 650ms var(--exem-ease), transform 800ms var(--exem-ease);
}

.woocommerce,
.woocommerce-page main .container {
  color: var(--exem-ink);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--exem-purple), var(--exem-pink));
  color: #fff;
  font-weight: 400;
  padding: 14px 22px;
}

.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce a.button.alt:disabled,
.woocommerce button.button.alt:disabled {
  color: #fff !important;
  opacity: 0.5;
}

.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border-color: var(--exem-line);
  border-radius: 24px;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  font-weight: 400;
}

.woocommerce .cart_totals h2,
.woocommerce-checkout-review-order h2 {
  font-weight: 400;
}

.woocommerce .quantity .qty {
  min-height: 42px;
  border: 1px solid var(--exem-line);
  border-radius: 12px;
}

.faq-grid {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  max-width: 880px;
}

.faq-grid details {
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 26px;
  background: rgba(255,255,255,0.64);
  box-shadow: 0 18px 54px rgba(43, 47, 51, 0.08), inset 0 1px 1px rgba(255,255,255,0.9);
  padding: 20px 22px;
}

.faq-grid summary {
  color: var(--exem-purple-dark);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 400;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker { display: none; }

.faq-grid summary::after {
  content: "+";
  float: right;
  transition: transform 320ms var(--exem-ease);
}

.faq-grid details[open] summary::after { transform: rotate(45deg); }

.faq-grid p {
  color: var(--exem-muted);
  margin: 12px 0 0;
  max-width: 68ch;
}

.mobile-buy-bar {
  display: none;
}

@keyframes exem-orbit-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  to {
    transform: translate3d(-18px, 14px, 0) rotate(8deg) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-band::before {
    animation: none;
  }

  .product-card,
  .hero-visual.is-visible .product-card {
    clip-path: none;
    transition: opacity 500ms var(--exem-ease);
  }
}

@media (max-width: 1120px) {
  .hero-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 42px; }
  h1 { font-size: clamp(2.28rem, 4.16vw, 3.7rem); }
}

@media (max-width: 880px) {
  .header-bar { position: relative; top: 0; margin: 12px auto -20px; }
  .site-header { border-radius: 30px; }
  .nav-bar { flex-wrap: wrap; align-items: center; padding: 14px 14px 14px 18px; }
  .contact-link .contact-label { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--exem-line);
  }
  .nav-links.is-open { display: flex; }
  .hero-top,
  .hero-grid,
  .story-grid { grid-template-columns: 1fr; }
  .hero-top { gap: 18px; margin-bottom: 22px; }
  .hero-logo { justify-self: start; }
  .benefits-grid { grid-template-columns: 1fr; }
  .trust-strip-grid { grid-template-columns: 1fr; }
  .hero-visual { align-items: center; max-width: none; width: 100%; }
  .hero-logo { width: min(60%, 260px); }
  .product-card { align-items: center; }
  .section { padding: 58px 0; }
  .cta-band { padding: 32px; }
  .footer-top { flex-direction: column; gap: 28px; padding-bottom: 40px; }
  .footer-contact { padding-bottom: 32px; margin-bottom: 32px; }
  .footer-nav { flex-direction: column; gap: 22px; }
  .footer-nav ul:not(:last-child) {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-links { font-size: 0.88rem; }
  .hero { padding-top: 48px; }
  .page-main { padding-top: 48px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .site-footer { padding-bottom: 96px; }
  .footer-contact-links { gap: 10px; }
  .footer-contact-links a { padding: 9px 16px; font-size: 0.84rem; }
  .footer-nav a { font-size: 0.86rem; }
  .site-footer .footer-brand { height: clamp(48px, 14vw, 65px); }
  .mobile-buy-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 999px;
    background: rgba(249,249,249,0.9);
    box-shadow: 0 18px 60px rgba(43, 47, 51, 0.2);
    backdrop-filter: blur(18px);
    padding: 8px 8px 8px 18px;
  }

  .mobile-buy-bar > span:first-child {
    color: var(--exem-purple-dark);
    font-weight: 900;
  }

  .mobile-buy-bar .button {
    width: auto;
    min-height: 44px;
    padding: 0 10px 0 16px;
  }
}

.professional-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(43, 34, 54, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.professional-gate[hidden] { display: none; }

body.professional-gate-open { overflow: hidden; }

.professional-gate-panel {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  box-shadow: 0 40px 90px rgba(43, 34, 54, 0.35);
}

.professional-gate-panel p {
  color: var(--exem-purple-dark);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 24px;
}

.professional-gate-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 32px;
  background: var(--exem-purple);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(95, 70, 116, 0.28);
  transition: background 320ms var(--exem-ease), transform 320ms var(--exem-ease);
}

.professional-gate-accept:hover {
  background: var(--exem-purple-deep);
  transform: translateY(-2px);
}
