/* ============================================
   NEXO MADERAS Y EMBALAJES SRL
   Light Theme — Brand colors: Orange #D4501C + Navy #1E3366
   ============================================ */

:root {
  --white:         #ffffff;
  --bg:            #f5f3ee;   /* warm off-white for alt sections */
  --bg-2:          #ece9e1;
  --card:          #ffffff;
  --orange:        #D4501C;   /* brand orange from logo */
  --orange-light:  #e8682e;
  --orange-dark:   #a83c14;
  --navy:          #1E3366;   /* brand navy from logo */
  --navy-dark:     #0d1830;
  --navy-mid:      #2a4480;
  --text:          #192840;   /* deep navy for body text */
  --text-muted:    #5c6a80;
  --text-light:    #8898b0;
  --border:        rgba(26, 40, 64, 0.10);
  --border-mid:    rgba(26, 40, 64, 0.16);
  --shadow-xs:     0 1px 6px rgba(0,0,0,0.04);
  --shadow-sm:     0 2px 14px rgba(0,0,0,0.07);
  --shadow:        0 8px 32px rgba(0,0,0,0.11);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.14);
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:        6px;
  --radius-lg:     14px;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Typography ──────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--navy); }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.2rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.85;
}

/* ── Layout ──────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; background: var(--white); }
.section--alt { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-subtitle { margin: 0 auto; }

.gold-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  margin: 1.5rem 0;
  border-radius: 2px;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary   { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,80,28,0.35); }

.btn-outline   { background: transparent; color: var(--navy); border: 2px solid var(--border-mid); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-navy      { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,51,102,0.3); }

.btn-whatsapp  { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #20b857; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }

.btn-dark      { background: var(--navy-dark); color: #fff; }
.btn-dark:hover { background: #0a1222; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

.btn-whatsapp-dark { background: rgba(9,15,28,0.85); color: #4ade80; }
.btn-whatsapp-dark:hover { background: var(--navy-dark); transform: translateY(-2px); }


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Logo image */
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img { height: 38px; width: auto; display: block; }

/* Text fallback */
.nav-logo-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}
.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta .btn { padding: 0.55rem 1.3rem; font-size: 0.8rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); transition: var(--transition); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================
   HERO — light overlay on video
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg { display: none; } /* not used */

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05) saturate(0.6);
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* Light gradient overlay — solid on left for text, video visible on right */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(245, 243, 238, 0.98) 0%,
    rgba(245, 243, 238, 0.94) 35%,
    rgba(245, 243, 238, 0.65) 58%,
    rgba(245, 243, 238, 0.15) 80%,
    rgba(245, 243, 238, 0.00) 100%
  );
}

.hero-content { position: relative; z-index: 2; padding: 9rem 0 5rem; width: 100%; }

.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.hero-eyebrow-line { width: 36px; height: 2px; background: var(--orange); flex-shrink: 0; border-radius: 2px; }
.hero-eyebrow-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  max-width: 680px;
  line-height: 1.16;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: var(--orange); }

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 4rem; }

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--border-mid);
  flex-wrap: wrap;
  max-width: 600px;
}
.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  display: block;
  line-height: 1.5;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  z-index: 2; opacity: 0.4;
}
.scroll-indicator span {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); writing-mode: vertical-rl;
}
.scroll-indicator .scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}


/* ============================================
   MARQUEE TICKER
   ============================================ */
.marquee-section {
  background: var(--orange);
  padding: 0.9rem 0;
  overflow: hidden;
}
.marquee-wrapper { overflow: hidden; width: 100%; }
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}
.marquee-wrapper:hover .marquee-inner { animation-play-state: paused; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  padding-right: 2rem;
}
.marquee-item {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); white-space: nowrap; flex-shrink: 0;
}
.marquee-dot { width: 5px; height: 5px; background: rgba(255,255,255,0.4); border-radius: 50%; flex-shrink: 0; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.4rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(212,80,28,0.2); }
.service-card:hover::before { opacity: 1; }

.service-number {
  position: absolute;
  top: 0.8rem; right: 1.8rem;
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem; font-weight: 700;
  color: rgba(30,51,102,0.05);
  line-height: 1;
  pointer-events: none; user-select: none;
  transition: color 0.4s ease;
}
.service-card:hover .service-number { color: rgba(212,80,28,0.07); }

.service-icon {
  width: 54px; height: 54px;
  background: rgba(212,80,28,0.08);
  border: 1.5px solid rgba(212,80,28,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-icon i { font-size: 1.35rem; color: var(--orange); }
.service-card:hover .service-icon { background: rgba(212,80,28,0.15); border-color: var(--orange); }

.service-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.9rem; }
.service-card > p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.8; margin-bottom: 1.6rem; }

.service-features { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.service-features li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.86rem; color: var(--text-muted); line-height: 1.5;
}
.service-features li i { color: var(--orange); font-size: 0.65rem; margin-top: 5px; flex-shrink: 0; }

.service-nimf {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(212,80,28,0.06);
  border-left: 2px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.82rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.service-nimf i { color: var(--orange); flex-shrink: 0; }


/* ============================================
   STATS BAND — navy dark with orange counters
   ============================================ */
.stats-band {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(212,80,28,0.2), transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(212,80,28,0.12), transparent 50%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative; z-index: 1;
}
.stat-item { text-align: center; padding: 1.5rem 1rem; position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.12);
}
.stat-counter {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1; display: block; margin-bottom: 0.6rem;
}
.stat-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block; line-height: 1.5;
}


/* ============================================
   ABOUT
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image-main {
  width: 100%; height: 560px; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image-accent {
  position: absolute;
  bottom: -2.5rem; right: -2.5rem;
  width: 200px; height: 200px; object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  top: 2.5rem; left: -2.5rem;
  background: var(--orange); color: white;
  padding: 1.4rem 1.6rem; text-align: center;
  min-width: 110px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-badge-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700;
  line-height: 1; display: block; color: white;
}
.about-badge-text {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.4; margin-top: 0.3rem;
  display: block; color: rgba(255,255,255,0.85);
}

.about-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: 1.2rem; }
.about-content p { color: var(--text-muted); line-height: 1.9; margin-bottom: 1.3rem; font-size: 0.97rem; }
.about-content p strong { color: var(--navy); }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.2rem; margin: 2rem 0 2.5rem; }
.about-value { display: flex; align-items: flex-start; gap: 0.7rem; }
.about-value-icon { color: var(--orange); font-size: 0.85rem; margin-top: 4px; flex-shrink: 0; }
.about-value-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }


/* ============================================
   PROCESS SECTION
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative; margin-top: 1rem;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 4.1rem;
  left: calc(12.5% + 0.5rem);
  right: calc(12.5% + 0.5rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange) 20%, rgba(212,80,28,0.3) 50%, var(--orange) 80%, transparent);
  z-index: 0;
}
.process-step { text-align: center; padding: 0 1.5rem 2rem; position: relative; z-index: 1; }
.process-step-number {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 0.8rem;
}
.process-step-icon {
  width: 58px; height: 58px;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative; z-index: 2;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.process-step:hover .process-step-icon {
  background: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212,80,28,0.3);
}
.process-step-icon i { font-size: 1.25rem; color: var(--orange); transition: color 0.3s ease; }
.process-step:hover .process-step-icon i { color: white; }
.process-step h4 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; }


/* ============================================
   FEATURES / WHY US
   ============================================ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.feature-item:hover { border-color: rgba(212,80,28,0.25); transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon { font-size: 1.9rem; color: var(--orange); margin-bottom: 1.2rem; display: block; }
.feature-item h4 { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.feature-item p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.75; }


/* ============================================
   CTA BAND — navy with orange accents
   ============================================ */
.cta-band {
  background: var(--navy);
  padding: 5.5rem 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 5% 50%, rgba(212,80,28,0.25), transparent 40%),
    radial-gradient(circle at 95% 50%, rgba(212,80,28,0.15), transparent 40%);
  pointer-events: none;
}
.cta-band::after {
  content: 'NEXO';
  position: absolute; right: -2rem; top: 50%; transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 18rem; font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1; pointer-events: none; user-select: none;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; position: relative; z-index: 1;
}
.cta-band-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: #fff; margin-bottom: 0.5rem; line-height: 1.2; }
.cta-band-text p { font-size: 1rem; color: rgba(255,255,255,0.62); line-height: 1.6; }
.cta-band-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; justify-content: center; }


/* ============================================
   CONTACT
   ============================================ */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }

.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); line-height: 1.85; margin-bottom: 2.5rem; font-size: 0.97rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(212,80,28,0.08);
  border: 1.5px solid rgba(212,80,28,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1rem; flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 0.25rem;
}
.contact-item-value { color: var(--text); font-size: 0.93rem; line-height: 1.6; }
.contact-item-value a { text-decoration: none; color: var(--text); transition: var(--transition); }
.contact-item-value a:hover { color: var(--orange); }
.contact-item-value small { font-size: 0.82em; color: var(--text-muted); }

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrapper h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.4rem; }
.contact-form-wrapper > p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: var(--transition); outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(212,80,28,0.1);
  background: var(--white);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group select { color: var(--text); cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 0.92rem; margin-top: 0.5rem; }

.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success i { font-size: 3rem; color: #16a34a; display: block; margin-bottom: 1rem; }
.form-success strong { font-size: 1.3rem; color: var(--navy); display: block; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); font-size: 0.93rem; }

.form-error {
  display: none;
  padding: 0.9rem 1rem;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius);
  color: #dc2626; font-size: 0.88rem; text-align: center; margin-top: 0.75rem;
}
.form-error i { margin-right: 0.4rem; }
input.field-error, textarea.field-error { border-color: #ef4444 !important; }


/* ============================================
   FOOTER — navy dark for contrast/anchor
   ============================================ */
.footer { background: var(--navy-dark); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; margin-bottom: 4rem; }

/* Logo in footer — white filter version */
.footer-logo-img {
  height: 34px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 1rem;
  display: block;
}
.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: white; letter-spacing: 0.1em;
  text-transform: uppercase; display: block;
}
.footer-brand-sub {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 1.2rem;
}
.footer-brand-desc { font-size: 0.87rem; color: rgba(255,255,255,0.42); line-height: 1.85; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.7rem; }
.footer-social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.38); text-decoration: none; font-size: 0.82rem; transition: var(--transition);
}
.footer-social-link:hover { border-color: var(--orange); color: var(--orange); background: rgba(212,80,28,0.1); }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.2rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 4px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.85rem; }
.footer-contact-item i { color: var(--orange); font-size: 0.85rem; margin-top: 4px; flex-shrink: 0; }
.footer-contact-item span,
.footer-contact-item a { font-size: 0.85rem; color: rgba(255,255,255,0.45); text-decoration: none; line-height: 1.6; transition: var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 1.8rem; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.28); text-decoration: none; transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }


/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  display: flex; align-items: center; gap: 0.7rem;
  background: #25D366; color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.4rem 0.85rem 1rem;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  font-family: 'Inter', sans-serif; font-size: 0.84rem; font-weight: 700;
  transition: box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
  animation: floatBob 3.5s ease-in-out infinite;
}
.whatsapp-float:hover { background: #1da851; box-shadow: 0 10px 36px rgba(37,211,102,0.5); animation: none; transform: translateY(-3px); }
.whatsapp-float i { font-size: 1.3rem; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}


/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .process-steps::before { display: none; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band::after { display: none; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-badge { left: 0; top: auto; bottom: -1.5rem; right: auto; }
  .about-image-accent { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0; right: 0; bottom: 0;
    height: calc(100dvh - 72px);
    z-index: 1001;
    background: #ffffff;
    padding: 2rem 2rem 4rem;
    gap: 0;
    align-items: stretch;
    border-top: 3px solid var(--orange);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a {
    display: block;
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 700;
    padding: 1.1rem 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .nav-links.open a:hover, .nav-links.open a.active { color: var(--orange); }
  .hamburger { display: flex; }
  .hero-content { padding-top: 7rem; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-eyebrow-text {
    font-size: 0.55rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-eyebrow-line { width: 18px; flex-shrink: 0; }
  .hero-stats { gap: 1.5rem; }
  .scroll-indicator { display: none; }
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 1rem; border-radius: 50%; width: 58px; height: 58px; justify-content: center; }
  .section { padding: 5rem 0; }
  .about-image-main { height: 380px; }
}
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .stat-item:not(:last-child)::after { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-video { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .marquee-inner { animation: none; }
  .whatsapp-float { animation: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}


/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0; right: 0;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: var(--navy-dark);
  border-top: 3px solid var(--orange);
  transition: bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.visible { bottom: 0; }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 260px;
}
.cookie-banner-icon {
  color: var(--orange);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.cookie-banner-text p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.cookie-banner-text a {
  color: var(--orange);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cookie-accept:hover { background: var(--orange-dark); }
.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cookie-reject:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.85);
}
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; gap: 1rem; }
  .cookie-banner-actions { width: 100%; }
  .btn-cookie-accept, .btn-cookie-reject { flex: 1; text-align: center; }
}


/* ============================================
   LEGAL PAGES (Privacidad / Términos)
   ============================================ */
.legal-hero {
  background: var(--navy);
  padding: 7rem 0 4rem;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.legal-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}
.legal-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--orange);
  display: block;
}
.legal-body p, .legal-body li {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.97rem;
}
.legal-body ul {
  padding-left: 1.4rem;
  margin: 0.5rem 0 1rem;
}
.legal-body ul li { margin-bottom: 0.4rem; }
.legal-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  text-decoration: none;
  width: fit-content;
}
.legal-back:hover { text-decoration: underline; }
