/* ===================================================
   WAYS — Sistema de diseño web
   Tokens derivados del brandbook oficial de marca
   =================================================== */

:root {
  /* Color */
  --navy: #29285B;
  --blue: #28327D;
  --purple: #652680;
  --magenta: #921E80;
  --ink: #231F20;
  --tint: #F5F1F8;
  --tint-2: #EFE8F3;
  --white: #FFFFFF;
  --gray: #7A7185;

  /* Type */
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-weight: 700; color: var(--navy); line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { line-height: 1.65; color: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 22px; height: 6px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  display: inline-block;
}

.lede { font-size: 1.15rem; color: var(--gray); max-width: 620px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(146, 30, 128, 0.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(146, 30, 128, 0.4); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(41,40,91,0.08);
}

.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}

.nav-logo img { height: 54px; }

.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.95rem;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: var(--tint); }
.nav-links a.active { background: var(--navy); color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-portal-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  white-space: nowrap;
}
.nav-portal-link:hover { color: var(--purple); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--navy);
  border-radius: 3px; margin: 5px 0; transition: 0.25s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-pills {
  position: absolute; top: -14%; left: -8%;
  display: flex; gap: 18px;
  transform: rotate(-14deg);
  opacity: 0.16;
  pointer-events: none;
}
.hero-pills .pill { width: 72px; height: 300px; border-radius: 36px; }
.hero-pills .p1 { background: var(--blue); }
.hero-pills .p2 { background: var(--purple); margin-top: 50px; }
.hero-pills .p3 { background: var(--magenta); }

.hero .container.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  align-items: center;
  gap: 32px;
}

.hero-copy { max-width: 520px; }

.hero h1 { color: var(--navy); margin-bottom: 22px; }
.hero .lede { color: var(--gray); margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-benefits {
  margin-top: 40px;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 14px 32px;
}
.hero-benefits li {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 0.95rem; font-weight: 500;
}
.hero-benefits svg { flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-md);
}



/* ---------- Section spacing ---------- */

.section { padding: 96px 0; }
.section-tint { background: var(--tint); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Category grid ---------- */

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

.cat-card {
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
  border-radius: var(--radius-lg);
  padding: 26px 16px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(41,40,91,0.14);
  border-color: transparent;
}

.cat-icon {
  width: 62px; height: 62px;
  border-radius: var(--radius-pill);
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
}
.cat-icon svg { width: 28px; height: 28px; }

.cat-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.cat-card p { font-size: 0.82rem; color: var(--gray); }

.cat-buy {
  display: block;
  margin-top: 18px;
  font-size: 0.76rem; font-weight: 600; color: var(--purple);
  line-height: 1.4;
}

/* ---------- Products page ---------- */

.page-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; max-width: 680px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: #DCD4E4; font-size: 1.05rem; }
.page-hero-pills {
  position: absolute; top: -20%; right: -8%;
  display: flex; gap: 18px; transform: rotate(10deg); opacity: 0.85;
  pointer-events: none;
}
.page-hero-pills .pill { width: 70px; height: 280px; border-radius: 35px; }

.cat-nav {
  position: sticky; top: 84px; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(41,40,91,0.08);
  overflow-x: auto;
}
.cat-nav .container { display: flex; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.cat-nav a {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.88rem;
  color: var(--navy);
  background: var(--tint);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.cat-nav a:hover { background: var(--purple); color: var(--white); }

.product-section { padding: 72px 0; scroll-margin-top: 150px; }
.product-section:nth-child(even) { background: var(--tint); }

.product-section-head { margin-bottom: 40px; }
.product-section-head h2 { margin-bottom: 8px; }
.product-section-head p { color: var(--gray); max-width: 560px; }

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

.product-card {
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(41,40,91,0.12);
}

.product-photo {
  width: 100%; height: 220px;
  background: var(--white);
  border-bottom: 1px solid rgba(41,40,91,0.08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-photo img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.product-photo.empty { background: var(--tint); border-bottom: 2px dashed rgba(101,38,128,0.3); }
.product-photo svg { width: 40px; height: 40px; opacity: 0.5; }

.product-info { flex: 1; min-width: 0; padding: 22px; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.3; }
.product-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.product-specs { font-size: 0.78rem; color: var(--purple); font-weight: 600; margin-bottom: 18px; }

.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.btn-sm {
  padding: 10px 18px; font-size: 0.85rem;
  border-radius: var(--radius-pill); font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-quote {
  background: #E8F5E9; color: #1E7B34;
}
.btn-quote:hover { background: #1E7B34; color: var(--white); }
.btn-buy {
  background: var(--tint); color: var(--purple);
}
.btn-buy:hover { background: var(--purple); color: var(--white); }

.empty-category {
  border: 2px dashed rgba(101,38,128,0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  color: var(--gray);
  font-size: 0.92rem;
  grid-column: 1 / -1;
}

/* ---------- Nosotros page ---------- */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.about-intro-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.about-intro-visual .pills {
  display: flex; gap: 16px;
}
.about-intro-visual .pills .p { width: 56px; height: 220px; border-radius: 28px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
}
.pillar-icon {
  width: 60px; height: 60px; border-radius: var(--radius-pill);
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 1rem; margin-bottom: 8px; }
.pillar-card p { font-size: 0.85rem; color: var(--gray); }

.why-list { list-style: none; }
.why-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(41,40,91,0.08);
}
.why-list li:last-child { border-bottom: none; }
.why-check {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
}
.why-list h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.why-list p { font-size: 0.9rem; color: var(--gray); margin: 0; }

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Distribuidores page ---------- */

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--gray); margin: 0; }
.step-connector {
  position: absolute; top: 44px; left: 100%; width: 24px; height: 2px;
  background: rgba(41,40,91,0.15);
}

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

@media (max-width: 900px) {
  .steps-row { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Portal distribuidores ---------- */

.portal-gate {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}
.portal-gate-pills {
  position: absolute; top: -15%; right: -6%;
  display: flex; gap: 20px; transform: rotate(10deg); opacity: 0.8;
}
.portal-gate-pills .pill { width: 80px; height: 320px; border-radius: 40px; }

.portal-gate-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 480px;
}
.portal-lock {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
}
.portal-gate-content h1 { color: var(--white); margin-bottom: 16px; }
.portal-gate-content p { color: #DCD4E4; margin-bottom: 32px; font-size: 1.05rem; }

.portal-welcome {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(41,40,91,0.1);
  margin-bottom: 44px;
}
.portal-welcome p { color: var(--gray); font-size: 0.95rem; }
.portal-welcome strong { color: var(--navy); }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.resource-card {
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex; flex-direction: column;
}
.resource-icon {
  width: 56px; height: 56px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.resource-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.resource-card p { font-size: 0.88rem; color: var(--gray); margin-bottom: 22px; flex: 1; }

.resource-card.pending {
  background: var(--tint);
  border: 2px dashed rgba(101,38,128,0.25);
}

.fichas-section { margin-top: 56px; padding-top: 44px; border-top: 1px solid rgba(41,40,91,0.1); }
.fichas-section h2 { font-size: 1.5rem; margin-bottom: 6px; }
.fichas-intro { color: var(--gray); font-size: 0.95rem; margin-bottom: 30px; max-width: 620px; }
.ficha-category {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--magenta); margin: 30px 0 14px;
}
.ficha-category:first-of-type { margin-top: 0; }
.ficha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.ficha-item {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.ficha-item:hover { border-color: var(--magenta); transform: translateY(-2px); }
.ficha-name { font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.ficha-spec { font-size: 0.78rem; color: var(--gray); }
.ficha-item::after {
  content: "Descargar PDF →";
  font-size: 0.76rem; font-weight: 600; color: var(--purple); margin-top: 6px;
}

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

#portalContent { display: none; }
#portalContent.show { display: block; }
.portal-gate.hide { display: none; }

.gate-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.portal-signup-card {
  display: none;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 28px;
  max-width: 480px;
}
.portal-signup-card.show { display: block; }
.portal-signup-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.portal-signup-card > p { color: var(--gray); font-size: 0.88rem; margin-bottom: 24px; }
.portal-signup-card .field { margin-bottom: 16px; }
.portal-signup-card .form-status.info { background: #EAF1FB; color: #2A5299; }

.gate-back-link {
  display: block;
  margin: 16px auto 0;
  background: none; border: none;
  color: var(--gray);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .portal-signup-card { padding: 26px 22px; }
  .portal-signup-card .form-row { grid-template-columns: 1fr; }
}

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

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; }
  .cat-nav { top: 0; }
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-quick {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
}
.contact-quick-pills {
  position: absolute; bottom: -20%; right: -20%;
  display: flex; gap: 14px; transform: rotate(14deg); opacity: 0.5;
}
.contact-quick-pills .pill { width: 46px; height: 170px; border-radius: 23px; }

.contact-quick h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; position: relative; z-index: 2; }
.contact-quick p { color: #DCD4E4; font-size: 0.95rem; margin-bottom: 24px; position: relative; z-index: 2; }

.contact-info-list { list-style: none; margin-top: 28px; position: relative; z-index: 2; }
.contact-info-list li {
  display: flex; align-items: center; gap: 12px;
  color: #E7DCEC; font-size: 0.9rem; margin-bottom: 14px;
}
.contact-info-list .ico {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-form-card > p { color: var(--gray); font-size: 0.92rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E1DBE7;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--purple);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%; justify-content: center;
  border: none; cursor: pointer;
}

.form-status {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  font-size: 0.9rem; font-weight: 500; display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #E8F5E9; color: #1E7B34; }
.form-status.error { background: #FBE9EA; color: #B23A3A; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Audience segments ---------- */

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

.segment-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
}

.segment-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 22px;
}
.segment-card:nth-child(1) .segment-tag { background: var(--blue); }
.segment-card:nth-child(2) .segment-tag { background: var(--purple); }
.segment-card:nth-child(3) .segment-tag { background: var(--magenta); }

.segment-card h3 { margin-bottom: 12px; }
.segment-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 20px; }

.segment-link {
  font-weight: 600; font-size: 0.9rem; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.segment-link svg { transition: transform 0.2s ease; }
.segment-card:hover .segment-link svg { transform: translateX(4px); }

/* ---------- Distributor CTA banner ---------- */

.distrib-banner {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}

.distrib-pills {
  position: absolute; top: -30%; right: -4%;
  display: flex; gap: 16px; transform: rotate(12deg); opacity: 0.9;
}
.distrib-pills .p { width: 60px; height: 220px; border-radius: 30px; }
.distrib-pills .p1 { background: var(--blue); }
.distrib-pills .p2 { background: var(--purple); }
.distrib-pills .p3 { background: var(--magenta); }

.distrib-banner-content { position: relative; z-index: 2; max-width: 560px; }
.distrib-banner-content h2 { color: var(--white); margin-bottom: 16px; }
.distrib-banner-content p { color: #DCD4E4; }

.distrib-banner-cta { position: relative; z-index: 2; flex-shrink: 0; }

/* ---------- Sustainability ---------- */

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

.sustain-visual {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex; flex-direction: column; gap: 20px;
}

.sustain-stat {
  display: flex; align-items: center; gap: 18px;
}
.sustain-stat .dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sustain-stat p { font-weight: 600; color: var(--navy); font-size: 0.98rem; }

/* ---------- Dónde comprar ---------- */

.buy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.buy-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--white);
  border: 1px solid rgba(41,40,91,0.10);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}

.buy-icon {
  width: 60px; height: 60px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--tint);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  padding: 64px 0 32px;
  color: #C9BFD3;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo img { height: 40px; margin-bottom: 16px; }
.footer-logo p { color: #A79BB2; font-size: 0.9rem; max-width: 260px; }

.footer-col h4 {
  color: var(--white); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.5px; margin-bottom: 18px; text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: #8C7F98;
  flex-wrap: wrap; gap: 12px;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--magenta); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .segments { grid-template-columns: 1fr; }
  .sustain { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero .container.hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: none; }
  .hero-visual { order: -1; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline, .nav-cta .nav-portal-link { display: none; }
  .nav-toggle { display: block; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .buy-grid { grid-template-columns: 1fr; }
  .distrib-banner { flex-direction: column; text-align: left; padding: 44px 28px; }
  .hero { padding: 48px 0 64px; }
  .hero-pills { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ---------- Mobile nav drawer ---------- */

.nav-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy);
  display: flex; flex-direction: column;
  padding: 28px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.nav-drawer-top img { height: 42px; }
.nav-drawer-close { background: none; border: none; color: var(--white); font-size: 1.8rem; cursor: pointer; }

.nav-drawer a {
  color: var(--white); font-size: 1.4rem; font-weight: 600;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-drawer .btn { margin-top: 28px; }
