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

:root {
  --bg: hsl(0, 0%, 3%);
  --bg-card: hsl(0, 0%, 7%);
  --bg-zinc-950: #09090b;
  --fg: hsl(0, 0%, 95%);
  --primary: hsl(265, 89%, 66%);
  --primary-10: hsla(265, 89%, 66%, 0.1);
  --primary-20: hsla(265, 89%, 66%, 0.2);
  --primary-30: hsla(265, 89%, 66%, 0.3);
  --secondary: hsl(20, 90%, 60%);
  --secondary-10: hsla(20, 90%, 60%, 0.1);
  --secondary-20: hsla(20, 90%, 60%, 0.2);
  --secondary-30: hsla(20, 90%, 60%, 0.3);
  --muted: hsl(0, 0%, 15%);
  --muted-fg: hsl(0, 0%, 65%);
  --border: hsla(0, 0%, 100%, 0.1);
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Utilities ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.max-w-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; }

/* ===== Scroll Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: hsla(0, 0%, 1%, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
  transition: all 0.3s;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  cursor: pointer;
}

.nav-logo-box {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
  font-size: 1.125rem;
}

.nav-logo span { color: var(--primary); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  list-style: none;
}

@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a:hover { color: #fff; transition: color 0.2s; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hidden-sm { display: none; }
@media (min-width: 640px) { .hidden-sm { display: inline-flex; } }

.nav-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--muted-fg);
  cursor: pointer;
  padding: 0.5rem;
}
.nav-mobile-btn svg { width: 24px; height: 24px; }
@media (min-width: 768px) { .nav-mobile-btn { display: none; } }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-zinc-950);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 0.9375rem;
  color: var(--muted-fg);
  padding: 0.5rem 0;
}
.nav-mobile-menu a:hover { color: #fff; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: 6px; }
.btn-md { padding: 0.75rem 1.5rem; font-size: 0.9375rem; border-radius: 6px; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; border-radius: 0; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
}
.btn-primary:hover { background: hsla(265, 89%, 56%, 1); }

.btn-secondary {
  background: var(--secondary);
  color: #000;
  border: 1px solid transparent;
  box-shadow: 0 0 20px hsla(20, 90%, 60%, 0.3);
}
.btn-secondary:hover { background: hsla(20, 90%, 50%, 1); }

.btn-outline {
  background: transparent;
  color: var(--muted-fg);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
}
.btn-outline:hover {
  background: hsla(0, 0%, 100%, 0.1);
  color: #fff;
  border-color: var(--primary-30);
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--primary-30);
  background: var(--primary-10);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }

.section-label {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.section-label-primary { color: var(--primary); }

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.section-title span { color: var(--secondary); }

.section-desc {
  font-size: 1.125rem;
  color: var(--muted-fg);
}

.bg-dark { background: var(--bg-zinc-950); }
.border-top { border-top: 1px solid var(--border); }

/* ===== TWO-COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ===== HERO ===== */
.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;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, hsla(265, 89%, 66%, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, hsla(20, 90%, 60%, 0.08) 0%, transparent 50%);
}

.hero-blob-1 {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: hsla(265, 89%, 66%, 0.08);
  border-radius: 50%;
  filter: blur(120px);
}

.hero-blob-2 {
  position: absolute;
  bottom: 20%;
  left: 15%;
  width: 400px;
  height: 400px;
  background: hsla(20, 90%, 60%, 0.06);
  border-radius: 50%;
  filter: blur(120px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(hsla(0,0%,100%,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, hsla(0,0%,100%,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 4rem 0;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--secondary), hsla(20, 90%, 75%, 1), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--muted-fg);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}
.hero-subtitle span { color: #fff; }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* Hero stats bar */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  background: hsla(0,0%,100%,0.02);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 2rem;
  gap: 0.25rem;
}

.hero-stat-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted-fg);
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

@media (max-width: 640px) {
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0.5rem 1.25rem; }
  .hero-stat-val { font-size: 1.25rem; }
  .hero-stat-divider { display: none; }
  .hero-stat:not(:last-child) { border-right: 1px solid var(--border); }
}

/* ===== PILLARS ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar-card {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, hsla(0,0%,100%,0.03) 0%, transparent 100%);
  transition: all 0.3s;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.pillar-card:hover {
  background: hsla(0,0%,100%,0.04);
  border-color: var(--primary-30);
  box-shadow: 0 0 30px hsla(265, 89%, 66%, 0.08);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  background: var(--primary-10);
  border: 1px solid var(--primary-20);
}
.pillar-icon.secondary { color: var(--secondary); background: var(--secondary-10); border-color: var(--secondary-20); }
.pillar-icon svg { width: 24px; height: 24px; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: hsla(0,0%,100%,0.06);
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  line-height: 1;
  transition: color 0.3s;
}
.pillar-card:hover .pillar-num { color: var(--primary-20); }

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

/* ===== VERTICALS ===== */
.verticals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .verticals-grid { grid-template-columns: repeat(3, 1fr); }
}

.vertical-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--border);
  background: hsla(0,0%,100%,0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

/* Top accent line — always visible, brightens on hover */
.vertical-card.active::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  opacity: 0.35;
  transition: opacity 0.25s ease;
}
.vertical-card.active:hover::before { opacity: 1; }

/* Bottom shimmer line on hover */
.vertical-card.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-30), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.vertical-card.active:hover::after { opacity: 1; }

.vertical-card.active {
  border-color: var(--secondary-30);
  background: hsla(20, 90%, 60%, 0.03);
  cursor: pointer;
}

.vertical-card.active:hover {
  border-color: hsla(20, 90%, 60%, 0.65);
  background: hsla(20, 90%, 60%, 0.06);
  box-shadow: 0 8px 40px hsla(20, 90%, 60%, 0.15), 0 2px 12px hsla(0,0%,0%,0.3);
  transform: translateY(-5px);
}

/* AI card — featured (first priority) */
.vertical-card--featured {
  border-color: hsla(265, 89%, 66%, 0.35);
  background: hsla(265, 89%, 66%, 0.04);
}
.vertical-card--featured::before {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.5;
}
.vertical-card--featured:hover {
  border-color: hsla(265, 89%, 66%, 0.7) !important;
  background: hsla(265, 89%, 66%, 0.08) !important;
  box-shadow: 0 8px 40px hsla(265, 89%, 66%, 0.18), 0 2px 12px hsla(0,0%,0%,0.3) !important;
}
.vertical-card--featured::after {
  background: linear-gradient(90deg, transparent, hsla(265,89%,66%,0.3), transparent);
}

.vertical-card.coming-soon {
  opacity: 0.65;
  cursor: default;
}

.vertical-card.coming-soon:hover {
  opacity: 0.75;
}

.vertical-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.vertical-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-10);
  border: 1px solid var(--primary-20);
}
.vertical-icon.secondary { color: var(--secondary); background: var(--secondary-10); border-color: var(--secondary-20); }
.vertical-icon svg { width: 24px; height: 24px; }

.active-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid var(--secondary-30);
  background: var(--secondary-10);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.soon-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: hsla(0,0%,100%,0.05);
  color: var(--muted-fg);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.pulse-dot-sm { width: 5px; height: 5px; }

.vertical-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.vertical-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.vertical-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.75rem;
}

.vertical-tags li {
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.7rem;
  color: var(--muted-fg);
  background: hsla(0,0%,100%,0.03);
}

.vertical-card.active .vertical-tags li {
  border-color: var(--secondary-20);
  color: hsla(20, 90%, 80%, 0.8);
}

.vertical-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: auto;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--secondary-20);
  background: var(--secondary-10);
  transition: gap 0.2s, background 0.2s, border-color 0.2s, padding-right 0.2s;
}

.vertical-card.active:hover .vertical-cta {
  background: var(--secondary-20);
  border-color: var(--secondary-30);
  padding-right: 0.75rem;
}

.vertical-card--featured .vertical-cta {
  color: var(--primary);
  border-color: var(--primary-20);
  background: var(--primary-10);
}
.vertical-card--featured:hover .vertical-cta {
  background: var(--primary-20) !important;
  border-color: var(--primary-30) !important;
}

.vertical-cta svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.vertical-card.active:hover .vertical-cta svg { transform: translateX(4px); }

.vertical-cta.muted { color: var(--muted-fg); border-color: var(--border); background: hsla(0,0%,100%,0.03); }

/* ===== NOSOTROS ===== */
.exp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.exp-list li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.exp-list li span {
  font-size: 0.9375rem;
  color: hsla(0,0%,100%,0.75);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: hsla(0,0%,100%,0.02);
  transition: all 0.3s;
}

.stat-item:hover {
  background: hsla(0,0%,100%,0.05);
  border-color: hsla(0,0%,100%,0.2);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.stat-val.primary { color: var(--primary); }
.stat-val.secondary { color: var(--secondary); }
.stat-val.white { color: #fff; }

.stat-desc { font-size: 0.8125rem; color: var(--muted-fg); line-height: 1.4; }

/* ===== BLOG PREVIEW ===== */
.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 640px) { .blog-preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-preview-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-preview-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: hsla(0,0%,100%,0.02);
  transition: all 0.3s;
  text-decoration: none;
}

.blog-preview-card:hover {
  background: hsla(0,0%,100%,0.05);
  border-color: var(--primary-20);
  box-shadow: 0 0 20px hsla(265, 89%, 66%, 0.06);
  transform: translateY(-2px);
}

.blog-preview-date {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.blog-preview-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-preview-excerpt {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.blog-preview-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.blog-preview-link svg { width: 14px; height: 14px; }

/* Skeleton states */
.blog-skeleton {
  height: 200px;
  border: 1px solid var(--border);
  background: linear-gradient(90deg,
    hsla(0,0%,100%,0.02) 0%,
    hsla(0,0%,100%,0.04) 50%,
    hsla(0,0%,100%,0.02) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-blob {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: hsla(265, 89%, 66%, 0.05);
  border-radius: 50%;
  filter: blur(200px);
  pointer-events: none;
}

.contact-form-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.8);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
  outline: none;
  border-radius: 0;
  width: 100%;
}

.form-group input { height: 48px; }

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-fg); }

.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsla(0,0%,100%,0.7);
}

.check-list li svg { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; }

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SUCCESS CARD ===== */
.success-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--secondary-30);
  backdrop-filter: blur(20px);
  padding: 2rem;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--secondary-20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--secondary);
}
.success-icon svg { width: 32px; height: 32px; }

.success-card h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.success-card p { color: var(--muted-fg); margin-bottom: 1.5rem; line-height: 1.7; }

/* ===== FOOTER ===== */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: #000;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}
.footer-brand h3 span { color: var(--primary); }
.footer-brand p { color: var(--muted-fg); max-width: 340px; line-height: 1.7; }

.footer-col h4 { font-weight: 700; color: #fff; margin-bottom: 1rem; }

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a { color: var(--muted-fg); transition: color 0.2s; }
.footer-col a:hover { color: var(--secondary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  color: var(--muted-fg);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ===== MOBILE RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 767px) {

  /* Container: más padding lateral en pantallas pequeñas */
  .container { padding: 0 1.25rem; }

  /* Sections: menor margin-bottom en headers */
  .section-header { margin-bottom: 2.5rem; }
  .section-desc { font-size: 1rem; }

  /* Vertical cards: padding reducido, mejor uso del espacio */
  .vertical-card { padding: 1.5rem; }
  .vertical-card h3 { font-size: 1.25rem; }

  /* CTA: touch target mínimo 44px, full-width en mobile */
  .vertical-cta {
    min-height: 44px;
    font-size: 0.9375rem;
  }

  /* Pillar cards: padding reducido */
  .pillar-card { padding: 2rem 1.5rem; }

  /* Blog preview: 1 col en mobile ya configurado */

  /* Contact form: padding lateral en card */
  .contact-card { padding: 1.75rem 1.25rem; }

  /* Footer: gap reducido */
  .footer-grid { gap: 2rem; }

  /* Hero: CTA buttons full-width en mobile */
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Two-col: single column ya configurado, asegurar gap */
  .two-col { gap: 2rem; }
}

/* Extra pequeño (< 400px) */
@media (max-width: 400px) {
  .vertical-card { padding: 1.25rem 1rem; }
  .hero-stat-label { white-space: normal; text-align: center; font-size: 0.65rem; }
  .hero-stat { padding: 0.5rem 0.875rem; }
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  color: var(--muted-fg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: var(--font-sans);
  padding: 0;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-wrapper:hover .nav-dropdown-trigger { color: #fff; }

.nav-dropdown-trigger svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}
.nav-dropdown-wrapper:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: hsl(0, 0%, 6%);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  transform: translateX(-50%) translateY(-6px);
  z-index: 100;
}

.nav-dropdown-wrapper:hover .nav-dropdown,
.nav-dropdown-wrapper:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Two-column grid for AI (8 items) */
.nav-dropdown.nav-dropdown--grid {
  min-width: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

/* Single column for TikTok (3 items) */
.nav-dropdown.nav-dropdown--list {
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  color: var(--muted-fg);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: hsla(0,0%,100%,0.06);
  color: #fff;
}

.nav-dropdown-item--ai:hover { color: var(--primary); }
.nav-dropdown-item--tiktok:hover { color: var(--secondary); }

.nav-dropdown-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ===== MOBILE NAV ACCORDION ===== */
.nav-mobile-section { width: 100%; }

.nav-mobile-section-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--muted-fg);
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-sans);
  padding: 0.5rem 0;
  cursor: pointer;
  text-align: left;
}

.nav-mobile-section-trigger svg {
  width: 16px; height: 16px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-mobile-section-trigger.open svg { transform: rotate(180deg); }

.nav-mobile-section-items {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
}

.nav-mobile-section-items.open { display: flex; }

.nav-mobile-section-items a {
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--muted-fg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-mobile-section-items a:hover { color: #fff; }
