/* ============================================================
   IMPRENTA GENESIS — Premium Light Theme
   Paleta: Verde principal + Rosa acento + Blanco/gris claro
   ============================================================ */

/* ─── Google Fonts (se importan desde index.html) ──────────── */

/* ─── CSS Custom Properties (Paleta Genesis) ───────────────── */
:root {
  /* Verde — Color Principal */
  --green-900: #1b5e20;
  --green-800: #2e7d32;
  --green-700: #388e3c;
  --green-600: #43a047;
  --green-500: #4caf50;
  --green-400: #66bb6a;
  --green-300: #a5d6a7;
  --green-100: #e8f5e9;
  --green-50: #f1f8f1;

  /* Rosa — Color Acento / CTA */
  --pink-700: #ad1457;
  --pink-600: #c2185b;
  --pink-500: #e91e8c;
  --pink-400: #f06292;
  --pink-300: #f48fb1;
  --pink-100: #fce4ec;
  --pink-50: #fdf0f6;

  /* Neutros */
  --white: #ffffff;
  --gray-50: #f8faf8;
  --gray-100: #f1f5f1;
  --gray-200: #e2e8e2;
  --gray-300: #c5d0c5;
  --gray-400: #8fa08f;
  --gray-500: #607060;
  --gray-700: #2d3d2d;
  --gray-900: #1a2e1a;

  /* Semánticos */
  --color-primary: var(--green-700);
  --color-primary-dk: var(--green-800);
  --color-accent: var(--pink-500);
  --color-accent-dk: var(--pink-600);
  --color-bg: var(--white);
  --color-bg-alt: var(--green-50);
  --color-bg-dark: var(--green-900);
  --color-text: var(--gray-900);
  --color-text-muted: var(--gray-500);
  --color-border: var(--gray-200);

  /* Sombras */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-green: 0 8px 24px rgba(46, 125, 50, 0.2);
  --shadow-pink: 0 8px 24px rgba(233, 30, 140, 0.25);

  /* Tipografía */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* ─── Base Reset ───────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--gray-900);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─── Scrollbar custom (verde) ──────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-600), var(--pink-500));
  border-radius: 10px;
}

/* ─── Utilidades ───────────────────────────────────────────── */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-green {
  color: var(--color-primary);
}

.text-pink {
  color: var(--color-accent);
}

.gradient-text {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Cards base ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  padding: 0.75rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: -0.02em;
}

.nav-logo svg {
  stroke: var(--green-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--green-800);
  background: var(--green-50);
}

.nav-link.active {
  color: var(--pink-600);
  background: var(--pink-100);
  font-weight: 600;
}

/* ─── Hamburger ─────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Menu ───────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.99);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-700);
  transition: all 0.25s;
}

.mobile-nav-link:hover {
  color: var(--green-700);
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ================================================================
   BOTONES
   ================================================================ */

/* Botón principal — Rosa (conversión máxima) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  background: var(--color-accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-pink);
  letter-spacing: 0.01em;
  white-space: nowrap;
  min-height: 44px;
}

@media (max-width: 768px) {
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }

  .btn-group .btn-primary {
    white-space: normal;
  }
}

.btn-primary:hover {
  background: var(--pink-600);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(233, 30, 140, 0.35);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: white;
  flex-shrink: 0;
}

/* Botón secundario — Verde (ver más) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  background: transparent;
  color: var(--green-800);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--green-700);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-height: 44px;
}

@media (max-width: 768px) {
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }

  .btn-group .btn-secondary {
    white-space: normal;
  }
}

.btn-secondary:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.btn-secondary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Botón WhatsApp — Verde WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Botón pequeño navbar */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  background: var(--color-accent);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(233, 30, 140, 0.25);
}

.btn-nav:hover {
  background: var(--pink-600);
  transform: translateY(-2px);
}

.btn-nav svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .btn-group {
    gap: 0.5rem;
    flex-direction: column;
  }

  .btn-group button,
  .btn-group a {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   SECTION HEADERS comunes
   ================================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: var(--green-100);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-full);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-700);
}

.section-badge.pink {
  background: var(--pink-100);
  border-color: var(--pink-300);
  color: var(--pink-600);
}

.section-badge.pink svg {
  stroke: var(--pink-500);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Dividers */
.section-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
  border: none;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: var(--white);
}

/* Orbes y grid removidos por solicitud estricta de UI limpia */

/* Layout hero: 2 columnas */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-inner > div:first-child {
    width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .trust-badges {
    justify-content: center;
  }

  .btn-group {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    gap: 2rem;
    padding: 0 0.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: var(--green-100);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-full);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  word-break: break-word;
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.1;
  }
}

.hero-headline .accent-pink {
  color: var(--pink-500);
  display: inline;
}

.hero-headline-suffix {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  display: block;
}

.hero-subheadline {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .hero-subheadline {
    margin: 0 auto 2.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-subheadline {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-600);
}

/* Visual lado derecho — ilustración SVG */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(46, 125, 50, 0.08);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .hero-visual-card {
    max-width: 100%;
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-visual-card {
    padding: 1.5rem;
  }
}

.hero-visual-card::before {
  content: none;
}

.hero-visual-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-700);
  margin-bottom: 1.25rem;
}

.hero-service-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all 0.25s ease;
}

.hero-service-item:hover {
  background: var(--green-50);
  border-color: var(--green-300);
  transform: translateX(4px);
}

.hero-service-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-service-icon.green {
  background: var(--green-100);
}

.hero-service-icon.pink {
  background: var(--pink-100);
}

.hero-service-icon svg {
  width: 18px;
  height: 18px;
}

.hero-service-icon.green svg {
  stroke: var(--green-700);
}

.hero-service-icon.pink svg {
  stroke: var(--pink-600);
}

.hero-service-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.hero-service-sub {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* Floating badge */
.hero-float-badge {
  position: absolute;
  bottom: -16px;
  right: -12px;
  background: var(--pink-500);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pink);
  white-space: nowrap;
  animation: floatBadge 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-6px) rotate(-2deg);
  }
}

/* Stats hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
}

.hero-stat {
  text-align: center;
  padding: 0.75rem 1rem;
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--color-border);
}

@media (max-width: 900px) {
  .hero-stat:not(:last-child)::after {
    display: none;
  }
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--green-700);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.15rem;
  font-weight: 500;
}

/* ================================================================
   FRANJA DE BENEFICIOS
   ================================================================ */
.benefits-strip {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.benefit-item:hover .benefit-icon {
  background: var(--pink-100);
}

.benefit-item:hover .benefit-icon svg {
  stroke: var(--pink-600);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-700);
  transition: stroke 0.3s;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.benefit-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.service-card.accent-rosa {
  border-top-color: var(--pink-500);
}

.service-card.accent-verde {
  border-top-color: var(--green-600);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card.accent-rosa .service-card-icon {
  background: var(--pink-100);
}

.service-card.accent-verde .service-card-icon {
  background: var(--green-100);
}

.service-card.accent-rosa .service-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--pink-600);
}

.service-card.accent-verde .service-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green-700);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-card-features li {
  font-size: 0.82rem;
  color: var(--gray-500);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card.accent-rosa .service-card-features li::before {
  background: var(--pink-400);
}

.service-card.accent-verde .service-card-features li::before {
  background: var(--green-500);
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: gap 0.25s ease;
}

.service-card.accent-rosa .service-card-cta {
  color: var(--pink-500);
}

.service-card.accent-verde .service-card-cta {
  color: var(--green-700);
}

.service-card-cta:hover {
  gap: 0.7rem;
}

.service-card-cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ================================================================
   PROCESS SECTION
   ================================================================ */
.process-section {
  padding: 6rem 0;
  background: var(--white);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--gray-200);
}

.process-step {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0;
  align-items: flex-start;
  position: relative;
}

.process-step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: var(--green-700);
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.process-step:hover .process-step-number {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
  box-shadow: var(--shadow-green);
  transform: scale(1.08);
}

.process-step-content {
  padding-top: 0.75rem;
}

.process-step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.process-step-content h3 svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-600);
}

.process-step-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.process-legal {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  background: #fffdf0;
  border: 1px solid #f9d87a;
  border-radius: var(--radius-md);
  color: #92700d;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .process-timeline::before {
    left: 20px;
  }

  .process-step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 0.85rem;
  }

  .process-step {
    gap: 1.25rem;
  }
}

/* ================================================================
   PORTFOLIO SECTION
   ================================================================ */
.portfolio-section {
  padding: 6rem 0;
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-100);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* placeholder elegante cuando no hay imagen */
.portfolio-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}

.portfolio-card-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--green-300);
  opacity: 0.6;
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27, 94, 32, 0.92) 0%, rgba(27, 94, 32, 0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--pink-500);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  width: fit-content;
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.2rem;
}

.portfolio-card-category {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ================================================================
   CTA BANNER INTERMEDIO
   ================================================================ */
.cta-banner {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
}

.cta-banner::before {
  content: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-banner-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  background: var(--color-accent);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-pink);
}

.cta-banner-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(233, 30, 140, 0.35);
  background: var(--pink-600);
}

.cta-banner-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
}

/* ================================================================
   TESTIMONIALS SECTION
   ================================================================ */
.testimonials-section {
  padding: 6rem 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  position: relative;
}

.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--green-200);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  pointer-events: none;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.testimonial-company-logo {
  display: flex;
  align-items: center;
}

.logo-placeholder {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  color: var(--gray-500);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.testimonial-rating-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.testimonial-rating-num {
  font-weight: 700;
  color: var(--gray-700);
  font-size: 0.85rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
}

.testimonial-stars svg {
  width: 15px;
  height: 15px;
  fill: #f59e0b;
  stroke: #f59e0b;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.9rem;
}

.testimonial-author-role {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.1rem;
}

/* Trusted By */
.trusted-by {
  margin-top: 4rem;
  text-align: center;
}

.trusted-by-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.trusted-logos-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.trusted-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 85px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.trusted-logo-box:hover {
  border-color: var(--green-300);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--green-50);
}

.logo-box-placeholder {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  text-align: center;
  padding: 0.5rem;
}

.trusted-logo-img {
  max-width: 85%;
  max-height: 70%;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
}

.trusted-logo-box:hover .trusted-logo-img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ================================================================
   ABOUT / NOSOTROS SECTION
   ================================================================ */
.about-section {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  padding: 2.25rem;
}

.about-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.about-card h3 svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-600);
}

.about-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.value-card {
  padding: 1.75rem;
  text-align: center;
  border-top: 2px solid var(--green-300);
}

.value-card:nth-child(even) {
  border-top-color: var(--pink-300);
}

.value-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-card:nth-child(even) .value-card-icon {
  background: var(--pink-100);
}

.value-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-700);
}

.value-card:nth-child(even) .value-card-icon svg {
  stroke: var(--pink-600);
}

.value-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Sucursales */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.branch-card {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .branch-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.branch-card-info {
  display: flex;
  flex-direction: column;
}

.branch-card-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.branch-card-info h4 svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-600);
}

.branch-card-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.branch-card-detail svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-600);
  min-width: 18px;
  margin-top: 2px;
}

.branch-card-map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .branch-card-map {
    align-items: center;
  }
}

.branch-map-image {
  width: 100%;
  height: 180px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px dashed var(--gray-300);
  gap: 0.5rem;
}

.branch-map-image svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-400);
}

.branch-map-btn {
  width: 100%;
  justify-content: center;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--green-900);
  border-top: none;
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.875rem;
}

.footer-brand-name span {
  color: var(--pink-400);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social-link:hover {
  background: var(--green-700);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
  stroke: rgba(255, 255, 255, 0.65);
}

.footer-social-link:hover svg {
  stroke: white;
}

.footer-column h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.65rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.25s;
}

.footer-column a:hover {
  color: var(--green-400);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-400);
  min-width: 16px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ================================================================
   WHATSAPP FLOTANTE
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  animation: waPulse 2.5s ease-in-out infinite;
  border: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--gray-900);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--white);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--green-700);
  border-color: transparent;
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--gray-500);
}

.back-to-top:hover svg {
  stroke: white;
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* ================================================================
   LOADER
   ================================================================ */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--green-600);
  border-right-color: var(--pink-400);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================================================================
   RESPONSIVE FINAL
   ================================================================ */
@media (max-width: 480px) {

  .btn-primary,
  .btn-secondary,
  .btn-whatsapp {
    padding: 0.8rem 1.5rem;
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-visual-card {
    padding: 1.5rem;
  }

  .hero-stats {
    padding: 1rem 1.25rem;
  }

  .hero-stat-number {
    font-size: 1.4rem;
  }
}

/* ================================================================
   SPA — VISTAS (home / productos / legal)
   ================================================================ */
#app > .spa-view {
  animation: fadeInView 0.4s ease;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   CARRUSEL 3D — FEATURED PRODUCTS
   ================================================================ */
.carousel-section {
  padding: 6rem 0 4rem;
  background: var(--white);
  overflow: hidden;
}

.carousel-3d-wrapper {
  position: relative;
  perspective: 1400px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.carousel-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Each card slot */
.carousel-3d-item {
  position: absolute;
  transition: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
}

/* Central card */
.carousel-3d-item.pos-center {
  transform: translateX(0) scale(1) rotateY(0deg);
  z-index: 10;
  opacity: 1;
}

/* Left-1 */
.carousel-3d-item.pos-left1 {
  transform: translateX(-260px) scale(0.78) rotateY(22deg);
  z-index: 7;
  opacity: 0.72;
}

/* Right-1 */
.carousel-3d-item.pos-right1 {
  transform: translateX(260px) scale(0.78) rotateY(-22deg);
  z-index: 7;
  opacity: 0.72;
}

/* Left-2 */
.carousel-3d-item.pos-left2 {
  transform: translateX(-460px) scale(0.58) rotateY(38deg);
  z-index: 4;
  opacity: 0.42;
}

/* Right-2 */
.carousel-3d-item.pos-right2 {
  transform: translateX(460px) scale(0.58) rotateY(-38deg);
  z-index: 4;
  opacity: 0.42;
}

/* Hidden (beyond visible) */
.carousel-3d-item.pos-hidden {
  transform: translateX(0) scale(0.3) rotateY(0deg);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* Product Card inside carousel */
.carousel-product-card {
  width: 280px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.carousel-3d-item.pos-center .carousel-product-card {
  box-shadow: 0 20px 60px rgba(46,125,50,0.15), 0 4px 20px rgba(0,0,0,0.08);
}

.carousel-product-card:hover {
  box-shadow: 0 24px 70px rgba(46,125,50,0.18);
}

.carousel-card-emoji-wrap {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  transition: transform 0.3s ease;
}

.carousel-3d-item.pos-center .carousel-card-emoji-wrap {
  height: 190px;
  font-size: 5.5rem;
}

.carousel-product-card:hover .carousel-card-emoji-wrap {
  transform: scale(1.08) translateY(-4px);
}

.carousel-card-category-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--color-border);
  color: var(--gray-500);
}

.carousel-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.carousel-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.carousel-card-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: 0.5rem;
}

.carousel-card-desc {
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.55;
  display: none;
}

.carousel-3d-item.pos-center .carousel-card-desc {
  display: block;
}

.carousel-card-cta {
  margin-top: 1rem;
  width: 100%;
  padding: 0.65rem;
  background: var(--green-700);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: none;
}

.carousel-3d-item.pos-center .carousel-card-cta {
  display: block;
}

.carousel-card-cta:hover {
  background: var(--green-800);
  transform: translateY(-2px);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  border-color: var(--green-500);
  background: var(--green-50);
  transform: scale(1.08);
  box-shadow: var(--shadow-green);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-700);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--green-600);
}

.carousel-cta-row {
  text-align: center;
  margin-top: 3rem;
}

/* Mobile carousel: simplify */
@media (max-width: 768px) {
  .carousel-3d-wrapper { height: 380px; perspective: 900px; }
  .carousel-3d-item.pos-left1  { transform: translateX(-150px) scale(0.72) rotateY(18deg); opacity: 0.55; }
  .carousel-3d-item.pos-right1 { transform: translateX(150px)  scale(0.72) rotateY(-18deg); opacity: 0.55; }
  .carousel-3d-item.pos-left2,
  .carousel-3d-item.pos-right2 { opacity: 0; pointer-events: none; }
  .carousel-product-card { width: 240px; }
}

/* ================================================================
   PRODUCTS PAGE — CATALOG
   ================================================================ */
.products-page {
  padding-top: 7rem;
  min-height: 100vh;
  background: var(--white);
}

.products-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0.5rem 0;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.products-back-btn:hover { color: var(--green-700); }
.products-back-btn svg { width: 18px; height: 18px; stroke: currentColor; }

/* Category filter tabs */
.products-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: white;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  border-color: var(--green-400);
  color: var(--green-700);
  background: var(--green-50);
}

.filter-tab.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: white;
  box-shadow: var(--shadow-green);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--green-300);
}

.product-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img { transform: scale(1.05); }

.product-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--color-border);
  color: var(--gray-500);
}

.product-card-body {
  padding: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.55;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover .product-card-desc {
  opacity: 1;
  max-height: 80px;
}

.product-card-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-card-wa {
  flex: 1;
  padding: 0.55rem;
  background: var(--green-700);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-card-wa:hover { background: var(--green-800); }

/* category section label */
.products-category-label {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* empty state */
.products-empty {
  text-align: center;
  padding: 5rem 0;
  color: var(--gray-400);
  font-size: 1rem;
}

/* ================================================================
   LEGAL PAGES
   ================================================================ */
.legal-page {
  padding-top: 7rem;
  min-height: 100vh;
  background: var(--white);
  padding-bottom: 5rem;
}

.legal-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.legal-tab {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  background: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-tab:hover { color: var(--green-700); background: var(--green-50); }

.legal-tab.active {
  background: var(--green-700);
  color: white;
}

.legal-content {
  max-width: 740px;
}

.legal-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.legal-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 0.75rem;
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.legal-placeholder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #f57f17;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
