/* ================================================================
   SNIPER MÉXICO – MAIN STYLESHEET
   Paleta: Negro/Gris oscuro + Rojo #CC1122 + Blanco
   Fuentes: Montserrat (headings) + Open Sans (body)
================================================================ */

/* ── 1. RESET & ROOT VARIABLES ────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #cc1122;
  --red-dark: #a50d1a;
  --red-light: #e8192c;
  --bg-dark: #ffffff;
  --bg-mid: #f7f7f7;
  --bg-card: #ffffff;
  --bg-section: #f5f5f5;
  --bg-elev: #fcfcfc;
  --text-dark: #111111;
  --white: #ffffff;
  --gray-light: #2f2f2f;
  --gray-mid: #5c5c5c;
  --line-soft: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.12);
  --gold: #e6b800;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --radius: 6px;
  --transition: 0.3s ease;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 20% 0%, rgba(204, 17, 34, 0.05), transparent 38%),
    var(--bg-dark);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── 2. TYPOGRAPHY ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--red);
}
.highlight-gold {
  color: var(--gold);
}

.section-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 2px;
  margin-bottom: 14px;
}

/* ── 3. LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 90px 0;
}
.section-pad-sm {
  padding: 60px 0;
}

/* ── 4. BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204, 17, 34, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(0, 0, 0, 0.35);
}
.btn-outline:hover {
  border-color: var(--text-dark);
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* ── 5. NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 38px;
  width: auto;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray-light);
  padding: 8px 14px;
  border-radius: 4px;
  transition:
    color var(--transition),
    background var(--transition);
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.04);
}
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 2px;
}

.nav-cta {
  margin-left: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-dark);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 24px;
  gap: 4px;
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray-light);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-mobile a:hover {
  color: var(--text-dark);
}
.nav-mobile .btn-red {
  margin-top: 10px;
  text-align: center;
  justify-content: center;
}

/* ── 6. HERO SECTION ───────────────────────────────────────────── */
#inicio {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.93) 0%,
      rgba(255, 255, 255, 0.84) 50%,
      rgba(255, 255, 255, 0.74) 100%
    ),
    url("../img/hero-bg.jpg") center/cover no-repeat;
  z-index: 0;
}

/* Animated grid lines overlay */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204, 17, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 17, 34, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Mexico map glow in background */
.hero-map-glow {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 90%;
  background: radial-gradient(
    ellipse at center,
    rgba(204, 17, 34, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero-title .line-red {
  color: var(--red);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-badges {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 28px;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.hero-badge-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 17, 34, 0.12);
  border-radius: 8px;
  border: 1px solid rgba(204, 17, 34, 0.3);
  color: var(--red);
}
.hero-badge-icon svg {
  width: 18px;
  height: 18px;
}
.hero-badge-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* ── 7. PAINS SECTION ──────────────────────────────────────────── */
#pains {
  background: #f5f5f5;
  color: #111;
}

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

.pains-visual {
  position: relative;
}
.pains-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.16);
  background: #f0f0f0;
  line-height: 0;
}
.pains-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 970 / 1024;
}

.pains-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 10px;
  color: #111;
  line-height: 1.2;
}
.pains-content h2 .highlight {
  color: var(--red);
}

.pains-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}
.pain-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pain-icon svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

.pains-resolve {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}
.pains-resolve .highlight {
  color: var(--red);
}

/* ── 8. SERVICES SECTION ───────────────────────────────────────── */
#servicios {
  background: var(--bg-section);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}
.services-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-dark);
}
.services-header h2 .highlight {
  color: var(--red);
}
.services-header p {
  color: var(--gray-mid);
  margin-top: 10px;
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.service-pillar {
  background: var(--bg-elev);
  padding: 44px 36px;
  transition: background var(--transition);
}
.service-pillar:hover {
  background: #f3f3f3;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: rgba(204, 17, 34, 0.12);
  border: 1px solid rgba(204, 17, 34, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
}
.pillar-icon svg {
  width: 26px;
  height: 26px;
}

.pillar-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-light);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.pillar-list li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 8px;
}

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

/* ── 9. ECOSISTEMA SECTION ─────────────────────────────────────── */
#ecosistema {
  background: var(--bg-dark);
}

.eco-header {
  text-align: center;
  margin-bottom: 56px;
}
.eco-header h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--text-dark);
}
.eco-header h2 .highlight {
  color: var(--red);
}
.eco-header p {
  color: var(--gray-mid);
  margin-top: 10px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
  position: relative;
  overflow: hidden;
}
.eco-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.eco-card:hover {
  border-color: rgba(204, 17, 34, 0.3);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.11);
  transform: translateY(-4px);
}
.eco-card:hover::before {
  transform: scaleX(1);
}

.eco-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(204, 17, 34, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--red);
}
.eco-card-icon svg {
  width: 22px;
  height: 22px;
}

.eco-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.eco-card p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}
.eco-card-link {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(204, 17, 34, 0.3);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}
.eco-card-link:hover {
  border-color: var(--red);
}

.eco-footer {
  text-align: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--gray-light);
}
.eco-footer svg {
  color: var(--red);
  flex-shrink: 0;
}
.eco-footer a {
  color: var(--red);
  font-weight: 600;
}

/* ── 10. RESULTS SECTION ───────────────────────────────────────── */
#resultados {
  background: var(--red);
}

.results-header {
  text-align: center;
  margin-bottom: 50px;
}
.results-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
}
.results-header h2 .highlight-light {
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.result-item {
  background: rgba(0, 0, 0, 0.15);
  padding: 36px 24px;
  text-align: center;
  transition: background var(--transition);
}
.result-item:hover {
  background: rgba(0, 0, 0, 0.25);
}

.result-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.result-icon svg {
  width: 24px;
  height: 24px;
}

.result-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.result-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* ── 11. PROCESO SECTION ───────────────────────────────────────── */
#proceso {
  background: var(--bg-mid);
}

.proceso-header {
  text-align: center;
  margin-bottom: 60px;
}
.proceso-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-dark);
}
.proceso-header h2 .highlight {
  color: var(--red);
}

.proceso-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/* Line connector between steps */
.proceso-steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    rgba(204, 17, 34, 0.2) 100%
  );
  z-index: 0;
}

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

.paso-number-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
}
.paso-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color var(--transition),
    background var(--transition);
}
.paso:hover .paso-circle {
  background: rgba(204, 17, 34, 0.1);
  border-color: var(--red);
}
.paso-icon {
  color: var(--red);
}
.paso-icon svg {
  width: 28px;
  height: 28px;
}

.paso-num {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso h3 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.paso p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.paso-arrow {
  color: rgba(204, 17, 34, 0.4);
  display: flex;
  align-items: center;
  padding-top: 24px;
  flex-shrink: 0;
}
.paso-arrow svg {
  width: 20px;
  height: 20px;
}

/* ── 12. CTA FINAL ─────────────────────────────────────────────── */
#contacto {
  background: var(--bg-dark);
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

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

.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}
.cta-content h2 .highlight {
  color: var(--red);
}
.cta-content p {
  color: var(--gray-light);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-light);
}
.contact-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(204, 17, 34, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.contact-icon svg {
  width: 18px;
  height: 18px;
}
.contact-item a {
  color: var(--gray-light);
  transition: color var(--transition);
}
.contact-item a:hover {
  color: var(--text-dark);
}

.cta-panel {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 44px 40px;
  text-align: center;
  min-width: 280px;
  box-shadow: var(--shadow);
}
.cta-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.cta-panel p {
  font-size: 0.83rem;
  color: var(--gray-mid);
  margin-bottom: 24px;
}
.cta-panel .btn-red {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 0.9rem;
}
.cta-note {
  font-size: 0.78rem;
  color: var(--gray-mid);
  margin-top: 12px;
}

/* ── 13. FOOTER ────────────────────────────────────────────────── */
footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 34px;
  filter: none;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--gray-mid);
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--text-dark);
}

.footer-social {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  transition: all var(--transition);
}
.social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.social-btn svg {
  width: 16px;
  height: 16px;
}

.footer-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-mid);
}
.footer-bottom a {
  color: var(--red);
}

/* ── 14. INTERNAL PAGES: SERVICIOS ────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.page-hero p {
  color: var(--gray-light);
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: border-color var(--transition);
}
.service-detail-card:hover {
  border-color: rgba(204, 17, 34, 0.3);
}

.service-detail-card h2 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.service-detail-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-detail-card ul li {
  display: flex;
  gap: 10px;
  color: var(--gray-light);
  font-size: 0.92rem;
  line-height: 1.5;
}
.service-detail-card ul li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 8px;
}

/* ── 15. INTERNAL PAGE: EXPERIENCIA ───────────────────────────── */
.exp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.exp-stat {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.exp-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 6px;
}
.exp-stat-label {
  font-size: 0.82rem;
  color: var(--gray-mid);
  line-height: 1.4;
}

.exp-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.exp-area-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow);
}
.exp-area-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(204, 17, 34, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.exp-area-icon svg {
  width: 20px;
  height: 20px;
}
.exp-area-card h3 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.exp-area-card p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* ── 16. INTERNAL PAGE: COMO TRABAJAMOS ───────────────────────── */
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.workflow-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  align-items: flex-start;
}
.workflow-step:last-child {
  border-bottom: none;
}

.workflow-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(204, 17, 34, 0.15);
  line-height: 1;
  text-align: center;
}
.workflow-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.workflow-body p {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

.workflow-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 36px 40px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.workflow-cta-box h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.workflow-cta-box p {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

/* ── 17. ANIMATIONS ────────────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(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;
}

/* ── 18. SCROLL-TO-TOP ─────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition),
    transform var(--transition);
  border: none;
  z-index: 999;
  color: var(--white);
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#scroll-top:hover {
  transform: translateY(-3px);
  background: var(--red-dark);
}
#scroll-top svg {
  width: 18px;
  height: 18px;
}

/* ── 19. FORM STYLES ───────────────────────────────────────────── */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-dark);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  font-family: var(--font-body);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 17, 34, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── 20. RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .exp-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .proceso-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }
  .section-pad-sm {
    padding: 40px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }
  .hero-badges {
    gap: 20px;
  }

  .pains-inner {
    grid-template-columns: 1fr;
  }
  .pains-visual {
    display: none;
  }

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

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

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

  .proceso-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .paso-arrow {
    display: none;
  }
  .paso {
    width: 100%;
    max-width: 280px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }
  .cta-panel {
    min-width: unset;
  }

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

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .workflow-cta-box {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .exp-stats {
    grid-template-columns: 1fr;
  }
}

/* ── 21. PRINT / ACCESSIBILITY ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ── 22. COUNTER ANIMATION ────────────────────────────────────── */
.counter {
  display: inline-block;
}

/* ── 23. ACTIVE NAV LINK ─────────────────────────────────────── */
.nav-links a[aria-current="page"] {
  color: var(--text-dark);
}

/* ── 24. PAGE TRANSITION ──────────────────────────────────────── */
.page-fade {
  animation: pageFadeIn 0.4s ease;
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Tooltip for nav */
.nav-links a {
  position: relative;
}
