/* ==========================================================================
   DESARROLLOWEB.US — ESTILOS DEDICADOS PÁGINA SECTORES (V4.0)
   Pixel-Perfect · Premium SaaS · Ultra-Fidelity Design System
   ========================================================================== */

:root {
  --primary: #1766FF;
  --primary-hover: #0E52D9;
  --secondary: #0B1633;
  --accent-purple: #8B5CF6;
  --accent-purple-light: #F3EEFF;
  --bg-body: #FFFFFF;
  --bg-pearl: #F6F9FF;
  --bg-light-blue: #ECF3FF;
  --text-primary: #0B1633;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(11, 22, 51, 0.04);
  --shadow-card: 0 10px 25px -4px rgba(11, 22, 51, 0.05), 0 4px 10px -2px rgba(11, 22, 51, 0.03);
  --shadow-hover: 0 20px 35px -6px rgba(23, 102, 255, 0.12), 0 8px 16px -4px rgba(11, 22, 51, 0.06);
  --shadow-laptop: 0 25px 50px -12px rgba(11, 22, 51, 0.15);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-w-content: 1220px;
}

/* Base resets & typography */
html {
  overflow-x: hidden;
  max-width: 100vw;
}

body.sectores-v4-body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-body);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.ambient-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ambient-glow-hero {
  position: absolute;
  top: -80px;
  right: -20px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(23, 102, 255, 0.07) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.ambient-glow-sectores {
  position: absolute;
  top: 900px;
  left: -20px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, rgba(23, 102, 255, 0.04) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #1766FF 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.text-primary-brand {
  color: var(--primary);
}

/* Eyebrow pills */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EDF4FF;
  border: 1px solid #DBE8FE;
  color: #1766FF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.eyebrow-pill.white-pill {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

/* Buttons */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(23, 102, 255, 0.28);
  border: none;
  cursor: pointer;
}

.btn-pill-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 102, 255, 0.38);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1px solid #E2E8F0;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-pill-outline:hover {
  border-color: #CBD5E1;
  background-color: #F8FAFC;
  transform: translateY(-2px);
}

.btn-circle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EDF4FF;
  color: #1766FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ==========================================================================
   01. HEADER NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: var(--secondary);
  text-decoration: none;
}

.site-logo svg {
  width: 32px;
  height: 32px;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.site-header .nav-link:hover {
  color: var(--primary);
}

.site-header .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.site-header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.site-header .header-cta .btn-header {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.site-header .header-cta .btn-header:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.site-header .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--secondary);
}

/* ==========================================================================
   02. HERO SECTION
   ========================================================================== */
.sectores-hero {
  position: relative;
  padding-top: 48px;
  padding-bottom: 70px;
  overflow: hidden;
}

.hero-two-cols {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 36px;
}

.hero-text-col {
  max-width: 530px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-avatars-img {
  height: 28px;
  width: auto;
  display: block;
}

.hero-trust-text {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.hero-trust-text strong {
  color: var(--secondary);
  font-weight: 600;
  display: block;
}

.hero-stars {
  color: #F59E0B;
  letter-spacing: 1px;
}

/* Hero Laptop Visual */
.hero-visual-frame {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-laptop-img {
  width: 100%;
  max-width: 590px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(11, 22, 51, 0.08));
}

/* ==========================================================================
   03. SECTORES QUE IMPULSAMOS (6 CARDS)
   ========================================================================== */
.sectores-cards-section {
  position: relative;
  padding-top: 50px;
  padding-bottom: 70px;
  background-color: var(--bg-body);
}

.section-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
  gap: 20px;
}

.section-top-left {
  max-width: 620px;
}

.section-headline {
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 10px;
}

.section-subheadline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.section-top-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: gap 0.2s ease;
}

.section-top-link:hover {
  gap: 10px;
}

.sectores-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.sector-card-item {
  background: #FFFFFF;
  border: 1px solid #EAEFF5;
  border-radius: var(--radius-lg);
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(11, 22, 51, 0.02);
}

.sector-card-item:hover {
  transform: translateY(-4px);
  border-color: #D3E2FE;
  box-shadow: var(--shadow-hover);
}

.sector-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sector-icon-wrap.blue { background: #EDF4FF; color: #1766FF; }
.sector-icon-wrap.cyan { background: #E6F7FF; color: #0284C7; }
.sector-icon-wrap.warm { background: #FEF3EB; color: #D97706; }
.sector-icon-wrap.sky { background: #EBF5FF; color: #0284C7; }
.sector-icon-wrap.purple { background: #F3EEFF; color: #8B5CF6; }
.sector-icon-wrap.indigo { background: #EEF2FF; color: #4F46E5; }

.sector-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.sector-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.sector-card-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.sector-card-arrow {
  align-self: flex-end;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #EDF4FF;
  color: #1766FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sector-card-item:hover .sector-card-arrow {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateX(2px);
}

/* ==========================================================================
   04. DESARROLLOS POR INDUSTRIA (6 CASOS)
   ========================================================================== */
.proyectos-section {
  position: relative;
  padding-top: 50px;
  padding-bottom: 70px;
  background-color: var(--bg-body);
}

.proyectos-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.proyecto-card-item {
  background: #FFFFFF;
  border: 1px solid #EAEFF5;
  border-radius: var(--radius-lg);
  padding: 12px 12px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(11, 22, 51, 0.02);
}

.proyecto-card-item:hover {
  transform: translateY(-4px);
  border-color: #D3E2FE;
  box-shadow: var(--shadow-hover);
}

.proyecto-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #F1F5F9;
}

.proyecto-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proyecto-sector-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  color: #1766FF;
  background: #EDF4FF;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.proyecto-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.proyecto-card-desc {
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

.proyecto-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.proyecto-card-link:hover {
  gap: 7px;
}

/* ==========================================================================
   05. ENTENDEMOS LA LÓGICA DE CADA INDUSTRIA (3 PARTES)
   ========================================================================== */
.enfoque-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 75px;
  background-color: var(--bg-body);
}

.enfoque-three-cols {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr;
  align-items: center;
  gap: 36px;
}

.enfoque-left-col {
  max-width: 380px;
}

.enfoque-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.enfoque-center-col {
  display: flex;
  justify-content: center;
}

.enfoque-team-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px rgba(11, 22, 51, 0.08);
}

.enfoque-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.enfoque-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid #EDF2F7;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(11, 22, 51, 0.02);
  transition: all 0.2s ease;
}

.enfoque-benefit-item:hover {
  border-color: #D3E2FE;
  box-shadow: 0 4px 12px rgba(23, 102, 255, 0.06);
}

.benefit-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EDF4FF;
  color: #1766FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon-box svg {
  width: 20px;
  height: 20px;
}

.benefit-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 3px;
}

.benefit-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   06. CÓMO TRABAJAMOS (4 ETAPAS HORIZONTALES)
   ========================================================================== */
.proceso-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 70px;
  background-color: var(--bg-body);
}

.proceso-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
}

.proceso-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.proceso-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.step-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #EDF4FF;
  color: #1766FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.step-body {
  display: flex;
  flex-direction: column;
}

.step-connector-arrow {
  position: absolute;
  right: -14px;
  top: 14px;
  font-size: 1.15rem;
  color: #94A3B8;
  font-weight: 300;
}

.step-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   07. ¿POR QUÉ ELEGIR DESARROLLOWEB.US? (6 CARDS)
   ========================================================================== */
.por-que-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 75px;
  background-color: var(--bg-body);
}

.por-que-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.por-que-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.por-que-card-item {
  background: #FFFFFF;
  border: 1px solid #EAEFF5;
  border-radius: var(--radius-lg);
  padding: 24px 18px 22px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(11, 22, 51, 0.02);
}

.por-que-card-item:hover {
  transform: translateY(-4px);
  border-color: #D3E2FE;
  box-shadow: var(--shadow-hover);
}

.por-que-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 14px;
}

.por-que-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 8px;
}

.por-que-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   08. PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   ========================================================================== */
.faq-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: var(--bg-body);
}

.faq-two-cols {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: flex-start;
  gap: 50px;
}

.faq-left-col {
  max-width: 440px;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: #BFDBFE;
  box-shadow: 0 4px 14px rgba(23, 102, 255, 0.06);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  gap: 16px;
}

.faq-trigger svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-item.active .faq-content {
  display: block;
}

/* ==========================================================================
   09. CTA FINAL (BLOQUE GRADIENTE AZUL-VIOLETA)
   ========================================================================== */
.cta-final-sectores {
  position: relative;
  padding-top: 20px;
  padding-bottom: 70px;
}

.cta-banner-gradient {
  background: linear-gradient(135deg, #1766FF 0%, #8B5CF6 100%);
  border-radius: var(--radius-2xl);
  padding: 44px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(23, 102, 255, 0.25);
  gap: 36px;
}

.cta-banner-left {
  max-width: 600px;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 0;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.cta-banner-sub {
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-cta-white {
  background: #FFFFFF;
  color: #1766FF;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-cta-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-translucent {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-cta-translucent:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* ==========================================================================
   10. FOOTER INSTITUCIONAL (5 COLUMNAS EXACTAS A LA REFERENCIA)
   ========================================================================== */
.site-footer-v4 {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding-top: 60px;
  padding-bottom: 28px;
  position: relative;
  z-index: 1;
}

.footer-v4-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.3fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-v4-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-v4-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--secondary);
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-v4-logo svg {
  width: 30px;
  height: 30px;
}

.footer-v4-tagline {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-v4-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 15px;
  height: 15px;
}

.footer-v4-col-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 16px;
}

.footer-v4-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-v4-links-list a {
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v4-links-list a:hover,
.footer-v4-links-list a.active {
  color: var(--primary);
}

.footer-v4-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-v4-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footer-v4-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-v4-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v4-contact-item a:hover {
  color: var(--primary);
}

.footer-v4-newsletter-p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-v4-newsletter-form {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 10px;
}

.footer-v4-newsletter-input {
  width: 100%;
  padding: 10px 44px 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  color: var(--secondary);
  outline: none;
  transition: border-color 0.2s ease;
}

.footer-v4-newsletter-input:focus {
  border-color: var(--primary);
}

.footer-v4-newsletter-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.footer-v4-newsletter-btn:hover {
  background: var(--primary-hover);
}

.footer-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
  cursor: pointer;
}

.footer-checkbox-label input {
  accent-color: var(--primary);
}

.footer-v4-bottom-bar {
  border-top: 1px solid #F1F5F9;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-v4-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-v4-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v4-legal-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1280px, 1024px, 768px, 640px, 390px, 360px)
   ========================================================================== */

/* Laptop / Desktop intermedio (1200px) */
@media (max-width: 1200px) {
  .sectores-grid-6,
  .proyectos-grid-6,
  .por-que-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-v4-top-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* Tablet y Mobile Navigation */
@media (max-width: 992px) {
  .site-header .nav-links,
  .site-header .header-cta {
    display: none !important;
  }
  .site-header .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 25px rgba(11, 22, 51, 0.08);
    padding: 20px 24px;
    flex-direction: column;
    gap: 14px;
    z-index: 99;
  }
  .mobile-nav-drawer.active {
    display: flex;
  }
  .mobile-nav-drawer a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    padding: 6px 0;
  }
  .mobile-nav-drawer a.active {
    color: var(--primary);
  }
}

/* Tablet (1024px a 768px) */
@media (max-width: 1024px) {
  .hero-two-cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-text-col {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-buttons-row,
  .hero-trust-bar {
    justify-content: center;
  }
  .hero-visual-frame {
    justify-content: center;
  }
  .hero-laptop-img {
    max-width: 520px;
    margin: 0 auto;
  }

  .sectores-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .proyectos-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .enfoque-three-cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .enfoque-left-col {
    max-width: 100%;
    margin: 0 auto;
  }
  .enfoque-benefits-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
  }

  .proceso-steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .step-connector-arrow {
    display: none;
  }

  .por-que-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-two-cols {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .faq-left-col {
    max-width: 100%;
    text-align: center;
  }

  .cta-banner-gradient {
    flex-direction: column;
    text-align: center;
    padding: 38px 28px;
    gap: 28px;
  }
  .cta-banner-left {
    max-width: 100%;
  }
  .cta-banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

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

/* Mobile estándar y pequeño (<= 768px y <= 640px) */
@media (max-width: 768px) {
  .sectores-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .proyectos-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .por-que-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sectores-hero {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem);
    line-height: 1.2;
  }
  .hero-buttons-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-pill-primary,
  .btn-pill-outline {
    width: 100%;
    justify-content: center;
  }
  .section-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .sectores-grid-6 {
    grid-template-columns: 1fr;
  }
  .proyectos-grid-6 {
    grid-template-columns: 1fr;
  }
  .proceso-steps-row {
    grid-template-columns: 1fr;
  }
  .por-que-grid-6 {
    grid-template-columns: 1fr;
  }
  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-cta-white,
  .btn-cta-translucent {
    width: 100%;
    justify-content: center;
  }
  .footer-v4-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-v4-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .br-desktop {
    display: none;
  }
}
