/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #111111;
  --dark: #1a1a1a;
  --gray: #6b6b6b;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --accent: #000000;
  --whatsapp: #25D366;
  --silver: #c0c0c0;
  --surface: #f7f6f3;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --transition: 0.3s ease;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --glass-bg: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.35);
  --glass-blur: blur(16px) saturate(160%);
}

html {
  scroll-behavior: auto;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
  cursor: default;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.spotlight { position: relative; overflow: hidden; }
.spotlight::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease;
  z-index: 1;
}
.spotlight:hover::after { opacity: 1; }

[data-animate], [data-animate-section] {
  will-change: transform, opacity;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-dark-outline {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}

.btn-dark-outline:hover {
  background: #222;
  border-color: #222;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-large {
  padding: 18px 36px;
  font-size: 17px;
}

.btn-whatsapp {
  background: #111111 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  font-weight: 700;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
  animation: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
  background: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

/* Glow effect on buttons */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  font-weight: 500;
  color: var(--gray);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

/* Underline animado en links del menú */
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover {
  color: var(--black);
}

.header-cta {
  padding: 10px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

/* Hero + Parallax */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: translateY(0);
  transition: transform 0.1s linear;
}

/* Soft left overlay for text readability */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 35%, transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: var(--white);
  padding: 80px 0;
  text-align: left;
  margin-left: 20%;
  margin-right: auto;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.hero-eyebrow.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-main-title {
  font-size: clamp(2.7rem, 5.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.hero-main-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.gradient-text {
  background: linear-gradient(90deg, #ff4d8d, #ff8c42, #ffd166, #7b68ee, #00d2c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
  margin-bottom: 28px;
  max-width: 440px;
  color: rgba(255,255,255,0.78);
}

.hero-sub.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-join {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 28px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.hero-join.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.hero-tags.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.2px;
}

.hero-tags span svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s;
}

.hero-ctas.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stats */
.stats {
  background: var(--black);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.75;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 2px solid transparent;
  position: relative;
}

/* Micro-interacción: borde que se ilumina */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, #111, #555, #111);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

.service-card:hover::before {
  opacity: 1;
}

.service-img {
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 24px 24px 8px;
}

.service-card p {
  padding: 0 24px 28px;
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== Grow / Hagamos crecer ===== */
.grow-section {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background: #f4f2ee;
}

.grow-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(244,242,238,0.92) 0%, rgba(244,242,238,0.75) 45%, rgba(244,242,238,0.55) 100%),
    url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?w=1600&q=80') center/cover no-repeat;
  z-index: 0;
  filter: blur(0px);
}

.grow-section > .container {
  position: relative;
  z-index: 1;
}

.grow-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.grow-title {
  font-size: clamp(2.5rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.6px;
  color: var(--black);
  margin-bottom: 18px;
}

.grow-title span {
  color: #9a9a9a;
  font-weight: 600;
}

.grow-subtitle {
  font-size: 1.12rem;
  color: #5a5a5a;
  max-width: 340px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.grow-deco {
  display: none; /* ocultamos SVGs decorativos; el fondo ya aporta el estilo */
}

/* Timeline steps - estilo referencia */
.grow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 48px;
}

/* Línea vertical continua que une los números */
.grow-steps::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: #c8c8c8;
  z-index: 0;
}

.grow-step {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid #d4d4d4;
  border-radius: 14px;
  padding: 20px 24px 20px 22px;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.grow-step:last-child {
  margin-bottom: 0;
}

/* Número en círculo sobre la línea */
.grow-step::before {
  content: attr(data-step);
  position: absolute;
  left: -48px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  border: 3px solid #f4f2ee;
  z-index: 2;
}

/* Línea horizontal corta del número al card */
.grow-step::after {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #c8c8c8;
  transform: translateY(-50%);
  z-index: 1;
  transition: background 0.35s ease;
}

.grow-step:hover {
  transform: translateX(10px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.12);
  border-color: #a8a8a8;
  background: #1a1a1a;
  color: #fff;
}

.grow-step:hover::before {
  background: #c0c0c0;
  color: #111;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 0 5px rgba(192,192,192,0.35);
  border-color: #e8e8e8;
}

.grow-step:hover::after {
  background: #c0c0c0;
}

.grow-step:hover .step-icon {
  background: #c0c0c0;
  color: #111;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(192,192,192,0.4);
}

.grow-step:hover h3,
.grow-step:hover p {
  color: #fff;
}

.step-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #1a1a1a;
  color: #f5f5f5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.step-content p {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* Bottom services */
.grow-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 40px;
  position: relative;
  z-index: 1;
}

.grow-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
  background: rgba(255,255,255,0.5);
}

.grow-service:hover {
  background: #fff;
  border-color: #d0d0d0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}

.grow-service:hover .gs-icon {
  background: #1a1a1a;
  color: #c0c0c0;
  transform: scale(1.08);
}

.gs-icon {
  width: 52px;
  height: 52px;
  background: #e8e8e8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.gs-icon svg {
  width: 26px;
  height: 26px;
}

.grow-service strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.grow-service span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Consultoría */
.consultoria-section {
  background: var(--white);
}

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

.consultoria-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.consultoria-content p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.consultoria-content .lead {
  font-size: 1.15rem;
  color: var(--black);
  font-weight: 500;
}

.consultoria-cta-text {
  margin-top: 8px;
  margin-bottom: 28px !important;
  font-weight: 500;
  color: var(--dark) !important;
}

.consultoria-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.consultoria-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

/* Flexografía */
.flexo-section {
  background: var(--light-gray);
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-bottom: 12px;
}

.flexo-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.flexo-content p {
  color: var(--gray);
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  margin: 28px 0 36px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--black);
  font-weight: 700;
}

.flexo-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.flexo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

/* Benefits - Infinite Slider */
.benefits-section {
  position: relative;
  overflow: hidden;
}

.benefits-slider-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.benefits-slider {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slide-infinite 28s linear infinite;
}

.benefits-slider:hover {
  animation-play-state: paused;
}

@keyframes slide-infinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.benefit-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  flex: 0 0 320px;
  width: 320px;
}

.benefit-card:hover {
  border-color: var(--black);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f5f5f5, #eaeaea);
  border-radius: 16px;
  margin-bottom: 20px;
  color: #111;
  transition: all 0.35s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.benefit-card:hover .benefit-icon {
  background: #111;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* CTA */
.cta-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.footer .logo {
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-address {
  margin-top: 14px !important;
  font-size: 0.9rem !important;
  opacity: 0.75;
}

.footer-email {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  margin-top: 20px;
  font-size: 0.9rem;
}

/* ===== Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav.active {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .flexo-grid,
  .consultoria-grid,
  .grow-grid {
    grid-template-columns: 1fr;
  }

  .consultoria-image img {
    min-height: 300px;
  }

  .grow-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .grow-step:hover {
    transform: translateX(6px);
  }

  .grow-steps {
    padding-left: 40px;
  }

  .grow-step::before {
    left: -40px;
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .step-icon {
    width: 56px;
    height: 56px;
  }

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

  .benefit-card {
    flex: 0 0 280px;
    width: 280px;
  }

  .flexo-image img {
    min-height: 300px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 60px 0;
    margin-left: 0;
  }

  .section {
    padding: 70px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-line-2 {
    font-size: clamp(2.8rem, 9vw, 4.2rem);
  }
}

/* Tight spacing between benefits and services */
.section-tight-bottom {
  padding-bottom: 40px;
}
.section-tight-top {
  padding-top: 40px;
}

/* Modelo de diseño continuo */
.model-section {
  background: var(--surface);
  padding: 90px 0;
}

.model-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.model-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  position: relative;
}

.model-step:hover {
  border-color: var(--black);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.model-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  opacity: 0.15;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.model-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.model-step p {
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.55;
}

.model-benefits-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 36px;
}

.model-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.model-benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}

.model-benefit-card:hover {
  border-color: var(--black);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.model-benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f5f5f5, #eaeaea);
  border-radius: 12px;
  margin-bottom: 16px;
  color: #111;
  transition: all 0.3s ease;
}

.model-benefit-card:hover .model-benefit-icon {
  background: #111;
  color: #fff;
}

.model-benefit-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.model-benefit-card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.5;
}

.model-cta {
  text-align: center;
}

@media (max-width: 900px) {
  .model-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .model-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .model-benefits-grid {
    grid-template-columns: 1fr;
  }
  .section-tight-bottom {
    padding-bottom: 28px;
  }
  .section-tight-top {
    padding-top: 28px;
  }
}

/* Pricing section */
.pricing-section {
  background: var(--white);
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto 36px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}

.pricing-card:hover {
  border-color: rgba(0,0,0,0.18);
  box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.pricing-card-featured .pricing-desc,
.pricing-card-featured .pricing-period,
.pricing-card-featured .pricing-features li {
  color: rgba(255,255,255,0.78);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: linear-gradient(90deg, #ff4d8d, #ff8c42);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.pricing-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-price {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.pricing-card-featured .pricing-price {
  border-bottom-color: rgba(255,255,255,0.15);
}

.pricing-old {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-bottom: 2px;
}

.pricing-amount {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 6px;
  display: block;
}

.pricing-card-featured .pricing-period {
  color: rgba(255,255,255,0.65);
}

.pricing-features {
  list-style: none;
  margin: 0 0 32px;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--gray);
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-card-featured .pricing-features li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.pricing-card-featured .btn-primary {
  background: var(--white);
  color: var(--black);
}

.pricing-card-featured .btn-primary:hover {
  background: #f0f0f0;
}

.pricing-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* FAQ Accordion */
.faq-section {
  background: var(--surface);
  padding: 100px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #333;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gray);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 4px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

.faq-answer p {
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.model-benefits-section {
  background: var(--surface);
  padding: 90px 0;
}

/* Portfolio / Works Infinite Slider (below services) */
.portfolio-slider-section {
  margin-top: 56px;
  width: 100%;
}

.portfolio-slider-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.portfolio-slider {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: portfolio-slide 32s linear infinite;
  will-change: transform;
}

.portfolio-slider:hover {
  animation-play-state: paused;
}

@keyframes portfolio-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.portfolio-slide {
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  background: #111;
  position: relative;
}

.portfolio-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Ensure full height is visible; sides may crop */
}

@media (min-width: 640px) {
  .portfolio-slide {
    width: 220px;
  }
}

@media (min-width: 900px) {
  .portfolio-slide {
    width: 240px;
  }
  .portfolio-slider {
    gap: 22px;
  }
}

@media (min-width: 1200px) {
  .portfolio-slide {
    width: 260px;
  }
}
