/* ============================================================
   COMPONENTS — Rose Pastel / Blush Editorial Edition
   ============================================================ */

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-pq {
  width: 36px; height: 36px;
  background: var(--rose);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.logo-name {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--text-hi);
}
.logo-import {
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--text-mid);
  text-transform: uppercase;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: all var(--t);
}
.nav-links a:hover { color: var(--text-hi); background: var(--rose-blush); }
.nav-links a.active { color: var(--rose); background: var(--rose-blush); font-weight: 600; }
.nav-links a:focus-visible { background: var(--rose-blush); color: var(--rose); outline-offset: 0; }

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t);
}
.lang-toggle:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--rose-blush);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--pad-x);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s var(--ease-out), padding 0.3s;
  }
  .nav-menu.open { max-height: 420px; padding: 16px var(--pad-x) 24px; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 12px; }
  .nav-actions .btn { justify-content: center; }
}


/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  top: -200px; right: -250px;
  background: radial-gradient(circle, rgba(200,81,110,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  bottom: -200px; left: -150px;
  background: radial-gradient(circle, rgba(200,81,110,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 18vw, 260px);
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200,81,110,0.07);
  user-select: none;
  white-space: nowrap;
}

.hero-line {
  position: absolute;
  width: 1px;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--rose-mid), transparent);
  left: calc(var(--pad-x) + 6px);
  bottom: 80px;
  opacity: 0.5;
}

/* Hero background image — full width */
.hero-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(254,240,243,0.92) 0%,
    rgba(254,240,243,0.78) 38%,
    rgba(254,240,243,0.45) 65%,
    rgba(254,240,243,0.20) 100%
  );
  z-index: 1;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200,81,110,0.04);
  z-index: 1;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 768px) {
  .hero-image::before {
    background: linear-gradient(
      to bottom,
      rgba(254,240,243,0.92) 0%,
      rgba(254,240,243,0.72) 50%,
      rgba(254,240,243,0.50) 100%
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
  max-width: 740px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 24px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--rose);
  border-radius: 2px;
}

.hero-title {
  color: var(--text-hi);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--rose);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

/* Category pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border-md);
  color: var(--text-mid);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all var(--t);
}
.hero-pill:hover { border-color: var(--rose-mid); color: var(--text-hi); background: var(--rose-blush); }
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero-content { padding: 56px 0 72px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}


/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
  flex: 1;
  border-right: 1px solid var(--border);
  min-width: 160px;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--rose);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-lo);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 640px) {
  .stat-item { padding: 22px 20px; }
  .stat-item:nth-child(2) { border-right: none; }
}


/* ===== CATEGORY CARDS ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cat-card {
  background: var(--surface);
  padding: 0;
  transition: background var(--t), box-shadow var(--t);
  cursor: default;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { background: var(--surface-2); box-shadow: var(--shadow-sm); }

.card-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  position: relative;
  overflow: hidden;
}
.cat-card[data-cat="toys"]       .card-image { background: linear-gradient(160deg, #fff5f0 0%, #ffede6 100%); }
.cat-card[data-cat="sports"]     .card-image { background: linear-gradient(160deg, #f0faf4 0%, #e6f7ee 100%); }
.cat-card[data-cat="gifts"]      .card-image { background: linear-gradient(160deg, #fff0f5 0%, #fde8f0 100%); }
.cat-card[data-cat="packaging"]  .card-image { background: linear-gradient(160deg, #fff0f3 0%, #ffe8ef 100%); }
.cat-card[data-cat="stationery"] .card-image { background: linear-gradient(160deg, #fffbf0 0%, #fff3d6 100%); }

.cat-card[data-cat="toys"]       { border-top: 2px solid var(--cat-toys); }
.cat-card[data-cat="sports"]     { border-top: 2px solid var(--cat-sports); }
.cat-card[data-cat="gifts"]      { border-top: 2px solid var(--cat-gifts); }
.cat-card[data-cat="packaging"]  { border-top: 2px solid var(--cat-packaging); }
.cat-card[data-cat="stationery"] { border-top: 2px solid var(--cat-stationery); }

.cat-icon {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
  transition: transform var(--t) var(--ease-out);
}
.cat-card:hover .cat-icon { transform: scale(1.08) translateY(-2px); }

/* Category card — real photo */
.cat-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.cat-card:hover .cat-img { transform: scale(1.06) translateY(-2px); }

.card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-title { color: var(--text-hi); font-size: 1rem; margin-bottom: 10px; }
.card-desc { font-size: 0.83rem; line-height: 1.65; flex: 1; margin-bottom: 16px; }
.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  border: 1px solid;
}
.cat-card[data-cat="toys"]       .card-tag { color: var(--cat-toys);       border-color: rgba(255,107,53,0.3);  background: rgba(255,107,53,0.08); }
.cat-card[data-cat="sports"]     .card-tag { color: var(--cat-sports);     border-color: rgba(16,185,129,0.3);  background: rgba(16,185,129,0.08); }
.cat-card[data-cat="gifts"]      .card-tag { color: var(--cat-gifts);      border-color: rgba(236,72,153,0.3);  background: rgba(236,72,153,0.08); }
.cat-card[data-cat="packaging"]  .card-tag { color: var(--cat-packaging);  border-color: rgba(227,145,165,0.3);  background: rgba(227,145,165,0.08); }
.cat-card[data-cat="stationery"] .card-tag { color: var(--cat-stationery); border-color: rgba(245,158,11,0.3);  background: rgba(245,158,11,0.08); }

.cat-card.card-lg .card-image { height: 220px; font-size: 4rem; }


/* ===== WHY US ===== */
.why-us-section,
.bg-cream { background: var(--rose-blush); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.why-grid--6 {
  grid-template-columns: repeat(3, 1fr);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-item {
  background: var(--rose-blush);
  padding: 40px 36px;
  transition: background var(--t);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-item:hover { background: var(--rose-pale); }
.why-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(200,81,110,0.12);
  line-height: 1;
  letter-spacing: -0.04em;
}
.why-icon-wrap {
  width: 44px; height: 44px;
  background: var(--rose);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.why-item h3 { color: var(--text-hi); font-size: 1.05rem; }
.why-item p  { color: var(--text-mid); font-size: 0.88rem; line-height: 1.7; }

@media (max-width: 900px) {
  .why-grid--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .why-grid, .why-grid--6 { grid-template-columns: 1fr; }
  .why-item { padding: 28px 24px; }
}

/* ===== WHY ALTERNATING (home ventajas — foto + card horizontal) ===== */
.why-altern {
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-altern-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  border-bottom: 1px solid var(--border);
}
.why-altern-row:last-child { border-bottom: none; }
.why-altern-row:nth-child(even) .why-altern-img { order: 2; }
.why-altern-row:nth-child(even) .why-altern-card { order: 1; }
.why-altern-img {
  overflow: hidden;
  position: relative;
  min-height: 280px;
}
.why-altern-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease-out);
}
.why-altern-row:hover .why-altern-img img { transform: scale(1.05); }
.why-altern-card {
  padding: 48px 52px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-altern-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}
.why-altern-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 14px;
  line-height: 1.2;
}
.why-altern-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 44ch;
}
@media (max-width: 768px) {
  .why-altern-row { grid-template-columns: 1fr; }
  .why-altern-row:nth-child(even) .why-altern-img,
  .why-altern-row:nth-child(even) .why-altern-card { order: unset; }
  .why-altern-img { height: 220px; }
  .why-altern-card { padding: 32px 24px; }
}

/* kept for backwards compat if other pages still reference why-nums/why-n */
.why-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.why-n {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 800;
  color: var(--rose);
  opacity: 0.13;
  letter-spacing: -0.06em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 8px;
}
/* legacy — kept so why-feats/why-feat selectors don't 404 */
.why-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-feat {
  background: var(--surface);
  padding: 36px 32px;
  transition: background var(--t);
}
.why-feat:hover { background: var(--rose-blush); }
.why-feat h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 10px;
  line-height: 1.25;
}
.why-feat p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.75;
}
@media (max-width: 900px) {
  .why-split { grid-template-columns: 1fr; gap: 0; }
  .why-nums { grid-template-columns: repeat(4, 1fr); }
  .why-n { padding: 20px 8px; font-size: 2.8rem; }
}
@media (max-width: 640px) {
  .why-nums { display: none; }
  .why-feats { grid-template-columns: 1fr; }
}

/* ===== STEP TRACK (connected timeline) ===== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 56px;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--rose-pale);
  z-index: 0;
}
.step-item {
  text-align: center;
  padding: 0 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.step-badge {
  width: 52px;
  height: 52px;
  background: var(--rose);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--surface);
  flex-shrink: 0;
}
.bg-cream .step-badge { box-shadow: 0 0 0 6px var(--rose-blush); }
.step-icon { font-size: 1.5rem; }
.step-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-hi);
  margin: 0;
}
.step-item p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 22ch;
  margin: 0 auto;
}

/* ===== VENTAJA LIST (editorial 2-col) ===== */
.ventaja-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.ventaja-item {
  padding: 40px 48px 40px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--t);
}
.ventaja-item:nth-child(even) {
  padding-left: 48px;
  padding-right: 0;
  border-left: 1px solid var(--border);
}
.ventaja-item:hover { background: var(--rose-blush); }
.ventaja-header {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.ventaja-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--rose);
  opacity: 0.15;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.ventaja-icon { font-size: 1.3rem; padding-bottom: 6px; }
.ventaja-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.25;
  margin: 0;
}
.ventaja-item p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 640px) {
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .step-item { padding: 24px 0; }
  .ventaja-list { grid-template-columns: 1fr; }
  .ventaja-item,
  .ventaja-item:nth-child(even) {
    padding: 28px 0;
    border-left: none;
  }
}

/* ===== PROCESS STEPS (3-col horizontal stepper) ===== */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.process-row::before {
  content: '';
  position: absolute;
  top: 68px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 40px 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.process-num {
  width: 52px; height: 52px;
  background: var(--rose);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--rose-blush);
}
.process-icon {
  font-size: 1.5rem;
  margin: 4px 0 2px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-hi);
  margin: 0;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 22ch;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .process-row { grid-template-columns: 1fr; }
  .process-row::before { display: none; }
  .process-step { padding: 32px 24px; }
}

/* ===== MISIÓN / VISIÓN ===== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.mv-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--rose);
  box-shadow: var(--shadow-sm);
}
.mv-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.mv-card h3 {
  font-size: 1.25rem;
  color: var(--rose);
  font-family: var(--font-display);
  font-weight: 700;
}
.mv-card p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.75;
}
@media (max-width: 640px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card { padding: 32px 28px; }
}

/* ===== CONTACT PROCESS ===== */
.contact-process {
  background: var(--rose-blush);
  padding: 72px 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.process-step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rose);
}
.process-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--rose-pale);
  line-height: 1;
}
.process-icon { font-size: 1.6rem; }
.process-step h3 { font-size: 1rem; color: var(--text-hi); }
.process-step p  { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--t), transform var(--t);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

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


/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.about-content .section-eyebrow { margin-bottom: 16px; }
.about-content .section-title   { margin-bottom: 24px; }
.about-content p { margin-bottom: 18px; font-size: 0.95rem; }
.about-content .btn { margin-top: 8px; }

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 340px;
  max-height: 480px;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.about-img-wrap:hover img { transform: scale(1.04); }

@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-wrap { min-height: 240px; max-height: 260px; height: 260px; }
}


/* ===== CLIENTS ===== */
.clients-section { background: var(--surface); }

.clients-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.client-row {
  display: grid;
  grid-template-columns: 3rem 1fr 1.6fr;
  gap: 0 32px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  align-items: baseline;
  transition: background var(--t);
}
.client-row:last-child { border-bottom: none; }
.client-row:hover { background: var(--surface-2); }
.client-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.1em;
  padding-top: 3px;
}
.client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-hi);
}
.client-detail {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--text-mid);
}

@media (max-width: 900px) {
  .client-row { grid-template-columns: 2.5rem 1fr; gap: 0 20px; }
  .client-detail { grid-column: 2; margin-top: 5px; }
}
@media (max-width: 480px) {
  .client-row { grid-template-columns: 1fr; gap: 5px; padding: 18px 20px; }
  .client-num { display: none; }
}


/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--rose);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.82); font-size: 1rem; margin-bottom: 36px; }


/* ===== FOOTER ===== */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding: 64px 0 40px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.7;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 20px;
}
.footer-nav ul li { margin-bottom: 12px; }
.footer-nav a {
  color: var(--text-mid);
  font-size: 0.88rem;
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--rose); }
.footer-contact p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 10px; }
.footer-contact a { transition: color var(--t); }
.footer-contact a:hover { color: var(--rose); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-lo);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}


/* ===== FILTER BAR (products page) ===== */
.filter-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
.filter-wrap {
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.filter-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-md);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: var(--rose-mid);
  color: var(--text-hi);
  background: var(--rose-blush);
  outline: none;
}
.filter-btn:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
.filter-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
  font-weight: 700;
}
.filter-btn[data-filter="toys"].active      { background: var(--cat-toys);       border-color: var(--cat-toys);       color: var(--white); }
.filter-btn[data-filter="sports"].active    { background: var(--cat-sports);     border-color: var(--cat-sports);     color: var(--white); }
.filter-btn[data-filter="gifts"].active     { background: var(--cat-gifts);      border-color: var(--cat-gifts);      color: var(--white); }
.filter-btn[data-filter="packaging"].active { background: var(--cat-packaging);  border-color: var(--cat-packaging);  color: var(--white); }
.filter-btn[data-filter="stationery"].active{ background: var(--cat-stationery); border-color: var(--cat-stationery); color: var(--white); }

.product-count {
  font-size: 0.78rem;
  color: var(--text-lo);
  white-space: nowrap;
}


/* ===== FEATURED FILTER BUTTON ===== */
.filter-btn--featured {
  background: var(--rose-blush);
  border-color: var(--rose-mid);
  color: var(--rose-dark);
  font-weight: 700;
}
.filter-btn--featured.active,
.filter-btn[data-filter="featured"].active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

/* ===== PRODUCT GRID ===== */
.products-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(192px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-item {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: background var(--t);
  cursor: default;
  position: relative;
}
.product-item:hover { background: var(--surface-2); }

/* Featured / Estrella badge */
.product-featured { background: var(--rose-blush); }
.product-featured:hover { background: var(--rose-pale); }

.product-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--rose);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(200,81,110,0.3);
}

.product-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  position: relative;
  overflow: hidden;
}

/* Card with real photo */
.product-icon--img {
  height: 180px;
  font-size: 0;
  background: var(--surface) !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.product-item:hover .product-img { transform: scale(1.06); }
.product-icon--toys       { background: linear-gradient(160deg, #fff5f0, #ffe8dc); }
.product-icon--sports     { background: linear-gradient(160deg, #f0faf4, #e6f5ec); }
.product-icon--gifts      { background: linear-gradient(160deg, #fff0f5, #fde0ec); }
.product-icon--packaging  { background: linear-gradient(160deg, #fff0f3, #ffe0eb); }
.product-icon--stationery { background: linear-gradient(160deg, #fffbf0, #fff3d0); }

.product-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.product-desc {
  font-size: 0.78rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
  color: var(--text-mid);
}
.product-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid;
  align-self: flex-start;
}
.product-tag--toys       { color: var(--cat-toys);       border-color: rgba(255,107,53,0.3);  background: rgba(255,107,53,0.08); }
.product-tag--sports     { color: var(--cat-sports);     border-color: rgba(16,185,129,0.3);  background: rgba(16,185,129,0.08); }
.product-tag--gifts      { color: var(--cat-gifts);      border-color: rgba(236,72,153,0.3);  background: rgba(236,72,153,0.08); }
.product-tag--packaging  { color: var(--cat-packaging);  border-color: rgba(227,145,165,0.3);  background: rgba(227,145,165,0.08); }
.product-tag--stationery { color: var(--cat-stationery); border-color: rgba(245,158,11,0.3);  background: rgba(245,158,11,0.08); }

@media (max-width: 640px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .filter-btns { gap: 5px; }
  .filter-btn { padding: 6px 12px; font-size: 0.73rem; }
}


/* ===== MOTION ===== */

@keyframes heroIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes imgReveal {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Navbar page-load entrance */
.navbar { animation: navIn 0.45s var(--ease-out) both; }

/* Hero staggered entrance — full display by ~0.7s */
.hero .hero-label    { animation: heroIn 0.45s var(--ease-out) 0.00s both; }
.hero .hero-title    { animation: heroIn 0.55s var(--ease-out) 0.08s both; }
.hero .hero-subtitle { animation: heroIn 0.45s var(--ease-out) 0.18s both; }
.hero .hero-actions  { animation: heroIn 0.40s var(--ease-out) 0.28s both; }
.hero .hero-pills    { animation: heroIn 0.38s var(--ease-out) 0.38s both; }
.hero-image img      { animation: imgReveal 1.8s var(--ease-out) both; }

/* Button press feedback */
.btn:active { transform: scale(0.96) !important; box-shadow: none !important; transition-duration: 0.07s !important; }

/* Inner page hero entrance */
.page-hero .section-eyebrow { animation: heroIn 0.40s var(--ease-out) 0.05s both; }
.page-hero h1               { animation: heroIn 0.55s var(--ease-out) 0.15s both; }
.page-hero p                { animation: heroIn 0.45s var(--ease-out) 0.25s both; }

/* Left-slide reveal variant (for list rows) */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@supports (animation-timeline: view()) {
  .reveal-x {
    animation: slideInLeft 0.45s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  /* Value cards (about section grid) */
  .value-card {
    animation: revealUp 0.4s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% entry 38%;
  }
  .value-card:nth-child(2) { animation-range: entry  6% entry 44%; }
  .value-card:nth-child(3) { animation-range: entry 12% entry 50%; }
  .value-card:nth-child(4) { animation-range: entry 18% entry 56%; }

  /* Process steps (contacto.html) */
  .process-step {
    animation: revealUp 0.45s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  .process-step:nth-child(2) { animation-range: entry  8% entry 48%; }
  .process-step:nth-child(3) { animation-range: entry 16% entry 56%; }

  /* Mission / Vision cards */
  .mv-card:nth-child(2) { animation-range: entry 8% entry 43%; }
}


/* ===== CONTACT PAGE ===== */
.contact-section { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 12px; }
.contact-info > p { margin-bottom: 36px; font-size: 0.95rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:first-of-type { border-top: 1px solid var(--border); }
.contact-icon {
  width: 42px; height: 42px;
  background: var(--rose-blush);
  border: 1px solid var(--border-md);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 4px;
}
.contact-item-value {
  color: var(--text-hi);
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-item-value a { transition: color var(--t); }
.contact-item-value a:hover { color: var(--rose); }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 {
  color: var(--text-hi);
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-hi);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control::placeholder { color: var(--text-lo); }
.form-control:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--rose-glow);
  background: var(--surface);
}
.form-control:focus-visible { outline: none; }
.form-control.field-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px oklch(45% 0.19 25 / 0.12);
}
.form-control.field-error:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px oklch(45% 0.19 25 / 0.18);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control option { background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-success {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(200,81,110,0.06);
  border: 1px solid rgba(200,81,110,0.25);
  border-radius: var(--radius);
  color: var(--rose-dark);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 480px) {
  .contact-form-wrap { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
