/* ============================================================
   SOFTMOTICS LANDING PAGE - STYLES
   ============================================================ */

/* --- CSS Custom Properties (Dark/Light Mode) --- */
[data-theme="dark"] {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface-hover: #242424;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --accent: #C9A94E;
  --accent-hover: #d4b85c;
  --border: #2a2a2a;
  --nav-bg: rgba(13, 13, 13, 0.9);
  --card-shadow: rgba(0, 0, 0, 0.4);
  --input-bg: #242424;
  --input-border: #3a3a3a;
  --section-alt: #111111;
  --section-surface: #161616;
}

[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --surface-hover: #ebebeb;
  --text: #1a1a1a;
  --text-muted: #666666;
  --accent: #B8942E;
  --accent-hover: #a68528;
  --border: #e0e0e0;
  --nav-bg: rgba(255, 255, 255, 0.9);
  --card-shadow: rgba(0, 0, 0, 0.1);
  --input-bg: #ffffff;
  --input-border: #d0d0d0;
  --section-alt: #fafafa;
  --section-surface: #f0f0f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.accent {
  color: var(--accent);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn i {
  margin-right: 6px;
  font-size: 1.1rem;
  vertical-align: middle;
}

.btn-primary {
  background-color: var(--accent);
  color: #0d0d0d;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 169, 78, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: #0d0d0d;
  transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px var(--card-shadow);
  border-bottom-color: var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Nav links with underline animation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(201, 169, 78, 0.06);
}

.nav-links a:hover::after {
  width: 20px;
}

/* Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.theme-toggle i {
  font-size: 1rem;
}

.theme-toggle:hover,
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201, 169, 78, 0.08);
}

.lang-toggle {
  font-weight: 700;
  font-size: 0.75rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  z-index: 1002;
  transition: all 0.3s ease;
}

.hamburger:hover {
  border-color: var(--accent);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu - Slide from right */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px var(--card-shadow);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.mobile-menu-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mobile-nav-link i {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  color: var(--accent);
  opacity: 0.7;
}

.mobile-nav-link:hover {
  color: var(--text);
  background: rgba(201, 169, 78, 0.08);
}

.mobile-nav-link:hover i {
  opacity: 1;
}

.mobile-menu-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.mobile-menu-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.mobile-menu-controls .theme-toggle,
.mobile-menu-controls .lang-toggle {
  flex: 1;
}

.mobile-menu-social {
  display: flex;
  gap: 10px;
}

.mobile-menu-social .footer-social-link {
  flex: 1;
  justify-content: center;
}

/* --- Hero Section --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
  overflow: hidden;
}

/* Decorative background orbs */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-bg-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatOrb1 8s ease-in-out infinite;
}

.hero-bg-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.08) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation: floatOrb2 10s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.08); }
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

/* Eyebrow badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(201, 169, 78, 0.1);
  border: 1px solid rgba(201, 169, 78, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge i {
  font-size: 0.85rem;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

/* Image */
.hero-image {
  flex: 1;
  min-width: 0;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 60px var(--card-shadow);
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 28px 80px var(--card-shadow);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, transparent 60%, rgba(201, 169, 78, 0.15) 100%);
  pointer-events: none;
}

/* Floating image badge */
.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: -16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px var(--card-shadow);
  backdrop-filter: blur(8px);
  z-index: 2;
  animation: floatBadge 3s ease-in-out infinite;
}

.hero-image-badge i {
  font-size: 1.4rem;
  color: var(--accent);
}

.hero-image-badge-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.hero-image-badge-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Typography */
#hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.15;
}

#hero h1 .typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* --- Section: Que Es --- */
#que-es {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--section-alt);
}

.que-es-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 78, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.que-es-header {
  margin-bottom: 32px;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(201, 169, 78, 0.1);
  border: 1px solid rgba(201, 169, 78, 0.2);
  margin-bottom: 20px;
}

.section-icon i {
  font-size: 1.8rem;
  color: var(--accent);
}

.que-es-lead {
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.que-es-engines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

.que-es-engine {
  flex: 1;
  max-width: 320px;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.que-es-engine:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--card-shadow);
}

.que-es-engine-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 169, 78, 0.1);
  margin-bottom: 16px;
}

.que-es-engine-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.que-es-engine h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.que-es-engine p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.que-es-engine-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.que-es-closing {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  position: relative;
  padding-top: 32px;
}

.que-es-closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .que-es-engines {
    flex-direction: column;
    gap: 16px;
  }

  .que-es-engine {
    max-width: 100%;
  }

  .que-es-engine-divider {
    transform: rotate(90deg);
  }
}

/* --- Section: Pilares --- */
#pilares {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.pilares-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(201, 169, 78, 0.03) 49%, rgba(201, 169, 78, 0.03) 51%, transparent 52%);
  background-size: 60px 60px;
  pointer-events: none;
}

.pilares-header {
  text-align: center;
  margin-bottom: 16px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 48px;
  align-items: start;
}

.pilar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pilar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
}

.pilar-card-studio::before {
  background: linear-gradient(90deg, var(--accent), rgba(201, 169, 78, 0.4));
}

.pilar-card-ventures::before {
  background: linear-gradient(90deg, rgba(201, 169, 78, 0.4), var(--accent));
}

.pilar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--card-shadow);
}

.pilar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pilar-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(201, 169, 78, 0.1);
  border: 1px solid rgba(201, 169, 78, 0.2);
}

.pilar-card-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.pilar-card-badge {
  padding: 4px 12px;
  background: rgba(201, 169, 78, 0.15);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pilar-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.pilar-card .pilar-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.pilar-card .pilar-body {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.pilar-card ul {
  list-style: none;
}

.pilar-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pilar-card ul li:last-child {
  border-bottom: none;
}

.pilar-card ul li i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

/* DNA Connector */
.pilar-dna {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  align-self: center;
}

.pilar-dna-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.pilar-dna-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 1rem;
  margin: 12px 0;
  box-shadow: 0 4px 20px rgba(201, 169, 78, 0.3);
}

/* Brands */
.pilar-brands {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pilar-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(201, 169, 78, 0.08);
  border: 1px solid rgba(201, 169, 78, 0.15);
  color: var(--accent);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.pilar-brand:hover {
  background: rgba(201, 169, 78, 0.15);
}

.pilar-brand i {
  font-size: 0.9rem;
}

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

  .pilar-dna {
    flex-direction: row;
    padding: 0;
  }

  .pilar-dna-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }

  .pilar-dna-icon {
    margin: 0 12px;
  }
}

/* --- Section: Por Que --- */
/* --- Section: Por Que --- */
#por-que {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background: var(--section-alt);
}

.por-que-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(201, 169, 78, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.por-que-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Comparison cards */
.por-que-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.comparison-card {
  flex: 1;
  max-width: 240px;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  transition: transform 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-4px);
}

.comparison-card-highlight {
  border-color: var(--accent);
  background: rgba(201, 169, 78, 0.06);
  box-shadow: 0 8px 30px rgba(201, 169, 78, 0.12);
}

.comparison-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 169, 78, 0.1);
  margin-bottom: 12px;
}

.comparison-icon i {
  font-size: 1.3rem;
  color: var(--accent);
}

.comparison-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.comparison-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.comparison-vs {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

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

.ventaja-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ventaja-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(201, 169, 78, 0.3));
}

.ventaja-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--card-shadow);
}

.ventaja-number {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  letter-spacing: 1px;
}

.ventaja-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(201, 169, 78, 0.1);
  margin-bottom: 16px;
}

.ventaja-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.ventaja-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.ventaja-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .por-que-comparison {
    flex-direction: column;
    gap: 12px;
  }

  .comparison-card {
    max-width: 100%;
  }

  .comparison-vs {
    transform: rotate(90deg);
  }

  .comparison-divider {
    transform: rotate(90deg);
  }

  .ventajas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* --- Section: Ecosistema --- */
#ecosistema {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.ecosistema-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 169, 78, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201, 169, 78, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.ecosistema-header {
  text-align: center;
  margin-bottom: 16px;
}

.ecosistema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.marca-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marca-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px var(--card-shadow);
}

/* Card image */
.marca-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.marca-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.marca-card:hover .marca-image img {
  transform: scale(1.05);
}

.marca-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--surface));
  pointer-events: none;
}

.marca-category {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Card content */
.marca-content {
  padding: 24px 28px 28px;
}

.marca-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.marca-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.marca-icon i {
  font-size: 1.3rem;
}

.marca-icon-chezzify {
  background: rgba(255, 149, 0, 0.12);
}

.marca-icon-chezzify i {
  color: #ff9500;
}

.marca-icon-sporway {
  background: rgba(52, 199, 89, 0.12);
}

.marca-icon-sporway i {
  color: #34c759;
}

.marca-icon-loveapp {
  background: rgba(255, 45, 85, 0.12);
}

.marca-icon-loveapp i {
  color: #ff2d55;
}

.marca-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text);
}

.marca-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.marca-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.marca-link:hover {
  gap: 10px;
}

.marca-link i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .ecosistema-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Section: Proceso --- */
/* --- Section: Proceso --- */
#proceso {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background: var(--section-alt);
}

.proceso-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, transparent 49.5%, rgba(201, 169, 78, 0.04) 49.5%, rgba(201, 169, 78, 0.04) 50.5%, transparent 50.5%);
  pointer-events: none;
}

.proceso-header {
  text-align: center;
  margin-bottom: 48px;
}

.proceso-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.proceso-connector {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--border), var(--accent));
  z-index: 0;
}

.paso {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.paso-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  margin-bottom: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.paso-icon i {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.paso:hover .paso-icon {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(201, 169, 78, 0.1);
  transform: scale(1.1);
}

.paso:hover .paso-icon i {
  transform: scale(1.1);
}

.paso-step {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.paso h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.paso p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .proceso-flow {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 0;
  }

  .proceso-connector {
    top: 0;
    bottom: 0;
    left: 36px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent), var(--border), var(--accent));
  }

  .paso {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0 20px;
    text-align: left;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }

  .paso:last-child {
    border-bottom: none;
  }

  .paso-icon {
    grid-row: 1 / 3;
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    align-self: start;
  }

  .paso-step {
    grid-column: 2;
    margin-bottom: 4px;
  }

  .paso h4 {
    grid-column: 2;
    font-size: 1rem;
  }

  .paso p {
    grid-column: 2;
    font-size: 0.85rem;
  }
}

/* --- Section: Testimonios --- */
#testimonios {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.testimonios-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 78, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Carousel */
.testimonios-carousel {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  padding: 0 50px;
}

.testimonios-track {
  position: relative;
  min-height: 300px;
}

/* Nav arrows */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.3s ease;
}

.testimonial-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
}

.testimonial-prev {
  left: 0;
}

.testimonial-next {
  right: 0;
}

/* Card */
.testimonio-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  border-left: 4px solid var(--accent);
}

.testimonio-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonio-card.exit-left {
  opacity: 0;
  transform: translateX(-40px);
}

/* Stars */
.testimonio-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.testimonio-stars i {
  font-size: 0.85rem;
  color: var(--accent);
}

.testimonio-quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
  opacity: 0.4;
}

.testimonio-card .quote {
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 1.05rem;
  font-weight: 400;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonio-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2px;
}

.author-role {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Controls */
.testimonios-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonios-progress {
  width: 120px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.testimonios-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Dots */
.testimonios-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.dot:hover {
  border-color: var(--accent);
}

/* Trusted logos */
.testimonios-trusted {
  margin-top: 60px;
  text-align: center;
}

.testimonios-trusted-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.testimonios-trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trusted-logo {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.trusted-logo:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .testimonios-carousel {
    padding: 0 40px;
  }

  .testimonio-card {
    padding: 28px;
  }

  .testimonio-card .quote {
    font-size: 0.95rem;
  }

  .testimonial-nav {
    width: 34px;
    height: 34px;
  }
}

/* --- Section: Tecnologia --- */
#tecnologia {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background: var(--section-alt);
}

.tecnologia-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(201, 169, 78, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 78, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.tecnologia-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Featured tech row */
.tech-featured {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tech-featured-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tech-featured-item i {
  font-size: 1.2rem;
  color: var(--accent);
}

.tech-featured-item:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

/* Tech grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.tech-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tech-card-frontend::before { background: #61dafb; }
.tech-card-frontend::after { box-shadow: inset 0 0 30px rgba(97, 218, 251, 0.05); }
.tech-card-backend::before { background: #68a063; }
.tech-card-backend::after { box-shadow: inset 0 0 30px rgba(104, 160, 99, 0.05); }
.tech-card-infra::before { background: #ff9900; }
.tech-card-infra::after { box-shadow: inset 0 0 30px rgba(255, 153, 0, 0.05); }
.tech-card-db::before { background: #a855f7; }
.tech-card-db::after { box-shadow: inset 0 0 30px rgba(168, 85, 247, 0.05); }
.tech-card-devops::before { background: #ef4444; }
.tech-card-devops::after { box-shadow: inset 0 0 30px rgba(239, 68, 68, 0.05); }

.tech-card.animate-in {
  animation: fadeSlideUp 0.5s ease forwards;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--card-shadow);
}

.tech-card:hover::after {
  opacity: 1;
}

.tech-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.tech-card:hover .tech-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.tech-card-frontend .tech-card-icon { background: rgba(97, 218, 251, 0.12); }
.tech-card-frontend .tech-card-icon i { color: #61dafb; }
.tech-card-backend .tech-card-icon { background: rgba(104, 160, 99, 0.12); }
.tech-card-backend .tech-card-icon i { color: #68a063; }
.tech-card-infra .tech-card-icon { background: rgba(255, 153, 0, 0.12); }
.tech-card-infra .tech-card-icon i { color: #ff9900; }
.tech-card-db .tech-card-icon { background: rgba(168, 85, 247, 0.12); }
.tech-card-db .tech-card-icon i { color: #a855f7; }
.tech-card-devops .tech-card-icon { background: rgba(239, 68, 68, 0.12); }
.tech-card-devops .tech-card-icon i { color: #ef4444; }

.tech-card-icon i {
  font-size: 1.5rem;
}

.tech-card h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.tech-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag-frontend {
  background: rgba(97, 218, 251, 0.1);
  border: 1px solid rgba(97, 218, 251, 0.2);
  color: #61dafb;
}

.tech-tag-backend {
  background: rgba(104, 160, 99, 0.1);
  border: 1px solid rgba(104, 160, 99, 0.2);
  color: #68a063;
}

.tech-tag-infra {
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.2);
  color: #ff9900;
}

.tech-tag-db {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.tech-tag-devops {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.tech-card:hover .tech-tag {
  transform: translateY(-1px);
}

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

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

  .tech-featured {
    gap: 12px;
  }

  .tech-featured-item {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .tech-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}
#cta-final {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.cta-orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.08) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  animation: floatOrb1 8s ease-in-out infinite;
}

.cta-orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.06) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
  animation: floatOrb2 10s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(201, 169, 78, 0.1);
  border: 1px solid rgba(201, 169, 78, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cta-badge i {
  font-size: 0.85rem;
}

#cta-final h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-trust-item i {
  color: var(--accent);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* --- Section: Contacto --- */
#contacto {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.contacto-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(201, 169, 78, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.contacto-header {
  text-align: center;
  margin-bottom: 48px;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

/* Contact info */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacto-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-info-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px var(--card-shadow);
}

.contacto-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 169, 78, 0.1);
  flex-shrink: 0;
}

.contacto-info-icon i {
  font-size: 1.2rem;
  color: var(--accent);
}

.contacto-info-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contacto-info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form */
.contacto-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}

.contact-form {
  max-width: 100%;
  margin: 0;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group label i {
  color: var(--accent);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 78, 0.1);
}

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

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group .error-message {
  color: #e74c3c;
  font-size: 0.75rem;
  margin-top: 6px;
  display: none;
}

.form-group .error-message.show {
  display: block;
}

.btn-full {
  width: 100%;
  padding: 14px;
}

.form-success {
  text-align: center;
  padding: 20px;
  background: rgba(201, 169, 78, 0.1);
  border: 1px solid var(--accent);
  border-radius: 12px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
}

.form-success i {
  font-size: 1.2rem;
  margin-right: 6px;
  vertical-align: middle;
}

.form-success.show {
  display: block;
}

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

  .contacto-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contacto-info {
    grid-template-columns: 1fr;
  }
}

.form-success i {
  font-size: 1.3rem;
  margin-right: 6px;
  vertical-align: middle;
}

/* --- Footer --- */
/* --- Footer --- */
.footer {
  padding: 80px 24px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(201, 169, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Brand column */
.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
  transform: translateY(-2px);
}

/* Link columns */
.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-col ul li a i {
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0.7;
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-col ul li a:hover i {
  opacity: 1;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom-left p,
.footer-bottom-right a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-left p i {
  margin-right: 4px;
  vertical-align: middle;
}

.footer-bottom-center .tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent);
  margin: 0;
}

.footer-bottom-center .tagline i {
  font-style: normal;
  margin-right: 4px;
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
}

.footer-bottom-right a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.footer-bottom-right a i {
  font-size: 0.85rem;
}

.footer-bottom-right a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pilares-grid {
    gap: 24px;
  }

}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .nav-controls {
    gap: 6px;
  }

  .nav-controls .theme-toggle,
  .nav-controls .lang-toggle {
    width: 36px;
    height: 36px;
  }
}

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

  .ventajas-grid {
    grid-template-columns: 1fr 1fr;
  }



  #hero {
    padding: 100px 24px 60px;
  }

  .hero-bg-orb-1 {
    width: 300px;
    height: 300px;
  }

  .hero-bg-orb-2 {
    width: 200px;
    height: 200px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image-badge {
    left: 16px;
    bottom: -10px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

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

  .pilar-card {
    padding: 28px;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
