:root {
  --bg: #ffffff;
  --bg-dark: #182230;
  --text: #0f172a;
  --text-muted: #475569;
  --primary-accent: #ea580c;
  --primary-hover: #c2410c;
  --bright-orange: #f97316;
  --terracota: #c25e2e;
  --navy: #0f172a;
  --navy-accent: #1e293b;
  --line-light: #e2e8f0;
  --white: #ffffff;
  --ink: #0f172a;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* SHELL AMPLIADO PARA PANTALLAS DE DESCRITORIO DE 22"+ */
.shell {
  width: min(1380px, 94vw);
  margin: 0 auto;
}

/* HERO PORTADA 100VH EN DISPOSICIÓN SPLIT CON COMPOSICIÓN SOLAPADA FIEL A LOS DASHBOARDS REALES DEL ESTUDIO */
.hero {
  background: #182230;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  flex: 1;
  padding: 20px 0 32px;
}

.hero-content {
  text-align: left;
}

.hero-title-dark {
  color: #f1f5f9;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.15;
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-title-dark span {
  color: #f1f5f9;
}

.hero-sub-dark {
  color: #94a3b8;
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 0 28px;
}

.hero-media-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

/* COMPOSICIÓN SOLAPADA 100% FIEL A LOS DASHBOARDS REALES DEL ESTUDIO */
.hero-floating-composition.pyp-real-stack {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 520px;
  margin: 0 auto;
}

.glow-backdrop-large {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.28) 0%, rgba(234, 88, 12, 0.08) 55%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.glass-card.pyp-card {
  position: absolute;
  background: rgba(18, 24, 34, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.glass-card.pyp-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  border-color: rgba(249, 115, 22, 0.65);
  box-shadow: 0 26px 55px rgba(249, 115, 22, 0.25);
  z-index: 25 !important;
}

/* POSICIONAMIENTO SOLAPADO REPLICANDO LAS FOTOS DEL CLIENTE */
.kpi-ventas {
  top: 0;
  left: 0;
  width: 280px;
  z-index: 2;
}

.kpi-compras {
  top: 0;
  right: 0;
  width: 270px;
  z-index: 3;
}

.card-iva-fiscal {
  top: 90px;
  left: 300px;
  width: 320px;
  z-index: 4;
}

.chart-ventas-compras {
  top: 110px;
  left: 0;
  width: 380px;
  z-index: 10; /* PANEL PRINCIPAL CENTRAL DE VENTAS VS COMPRAS SOLAPADO */
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: rgba(18, 24, 34, 0.96) !important;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.75) !important;
}

.chart-sueldos-cargas {
  top: 240px;
  right: 0;
  width: 340px;
  z-index: 6;
}

.chart-resultado-ejercicio {
  top: 320px;
  left: 20px;
  width: 330px;
  z-index: 7;
}

.table-proyeccion {
  top: 375px;
  right: 20px;
  width: 340px;
  z-index: 8;
}

/* ESTILOS INTERNOS DE LOS DASHBOARDS REALES DE PYP */
.kpi-accent-pill {
  width: 4px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 12px 0 0 12px;
}

.border-green {
  background: #10b981;
}

.border-blue {
  background: #3b82f6;
}

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

.kpi-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.kpi-value {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.text-white {
  color: #ffffff;
}

.text-red {
  color: #ef4444;
}

.kpi-sub {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.iva-row {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.iva-block {
  flex: 1;
  padding-left: 8px;
  display: flex;
  flex-direction: column;
}

.iva-block span {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
}

.iva-block strong {
  font-size: 12px;
  color: #ffffff;
}

.border-left-orange {
  border-left: 3px solid #f97316;
}

.border-left-green {
  border-left: 3px solid #10b981;
}

.border-left-red {
  border-left: 3px solid #ef4444;
}

.iva-saldo-block {
  padding-left: 8px;
  display: flex;
  flex-direction: column;
}

.iva-saldo-block span {
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
}

.iva-saldo-block strong {
  font-size: 15px;
  font-weight: 800;
}

.card-head-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.chart-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #f1f5f9;
}

.chart-sub-label {
  font-size: 9.5px;
  color: #64748b;
}

.pyp-svg-chart {
  width: 100%;
  height: auto;
  display: block;
}

.legend-row {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  font-size: 10px;
  color: #94a3b8;
}

.legend-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.bg-green {
  background: #10b981;
}

.bg-blue {
  background: #3b82f6;
}

.bg-pink {
  background: #f43f5e;
}

.line-green {
  width: 12px;
  height: 2px;
  background: #10b981;
  display: inline-block;
}

/* TABLA DE PROYECCIÓN REAL */
.pyp-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  margin-top: 4px;
}

.pyp-mini-table th {
  text-align: left;
  color: #64748b;
  padding: 3px 4px;
  border-bottom: 1px solid #334155;
  font-weight: 600;
}

.pyp-mini-table td {
  padding: 4px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.text-green-bold {
  color: #10b981;
  font-weight: 700;
}

.dark {
  background: #0f172a;
  color: #ffffff;
}

.dark .intro h2 {
  color: #ffffff;
}

.dark .intro h2 span {
  color: #f97316;
}

.dark .intro p:not(.eyebrow) {
  color: #e2e8f0;
}

.bright-orange {
  color: #f97316;
}

.orange {
  color: #ea580c;
}

/* NAVBAR COMPACTA Y LEGIBLE CON MENÚ HORIZONTAL VISIBLE EN GRIS CLARO */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(24, 34, 48, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 20px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* FILTROS DE COLOR DEL LOGO DE PYP CONSULTORES */
.logo-white-filter {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* LOGO EN NARANJA CORPORATIVO EN LUGAR DE BLANCO */
.logo-orange-filter {
  filter: invert(48%) sepia(85%) saturate(1630%) hue-rotate(355deg) brightness(98%) contrast(92%);
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
}

.nav-links a {
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f97316;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f97316;
  border-radius: 2px;
}

/* BUTTONS MODERNOS & DE TAMAÑO EJECUTIVO */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-cta {
  white-space: nowrap;
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-orange-terracota {
  background: #c25e2e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(194, 94, 46, 0.3);
}

.btn-orange-terracota:hover {
  background: #a94e24;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(194, 94, 46, 0.4);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: transparent;
  border-radius: 8px;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #1e293b;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.25);
}

.btn-dark {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #1e293b;
}

.btn-dark:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
  transform: translateY(-2px);
}

/* MOBILE TOGGLE */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ENCABEZADOS DE SECCIÓN (EYEBROW SOLO TEXTO SIN GUIONES LATERALES) */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ea580c;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* GUIONES LATERALES DESACTIVADOS POR INDICACIÓN DEL CLIENTE */
.eyebrow::before,
.eyebrow::after {
  display: none !important;
  content: none !important;
}

.dark-eyebrow {
  color: #ea580c;
}

.section h2, .contact-header h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.15;
  margin: 6px 0 10px;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0f172a;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.center-actions {
  justify-content: center;
}

/* SCROLL INDICATOR EN HERO & FLECHAS DELICADAS COMPACTAS */
.scroll-indicator, .section-nav-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator-dark {
  color: #64748b;
}

.scroll-indicator-dark:hover {
  color: #f97316;
}

.section-nav-down {
  margin-top: 14px;
}

.scroll-indicator:hover, .section-nav-down:hover {
  color: #ea580c;
}

.dark .section-nav-down {
  color: #64748b;
}

.dark .section-nav-down:hover {
  color: #f97316;
}

.scroll-arrow {
  animation: bounce 2s infinite;
  font-size: 14px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(4px); }
  60% { transform: translateY(2px); }
}

/* SECTIONS OPTIMIZADAS CON ESCALADO ADECUADO */
.section {
  padding: 16px 0 20px;
}

@media (min-width: 961px) {
  .section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0 20px;
  }
}

.light {
  background: #f8fafc;
}

.center {
  text-align: center;
}

.intro {
  max-width: 940px;
  margin: 0 auto;
}

.intro h2 {
  font-size: clamp(32px, 3.2vw, 44px);
  color: inherit;
  margin: 4px 0 6px;
}

.intro p:not(.eyebrow) {
  font-size: 16.5px;
  line-height: 1.52;
  color: #475569;
  margin: 0 auto;
}

.light .intro h2 span {
  color: #1e293b;
}

/* SERVICES GRID: ESCALADO MÁS AMPLIO EN PANTALLAS GRANDES */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 22px;
  align-items: stretch;
}

.service {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-4px);
  border-color: #fdba74;
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.1);
}

.service-tag {
  display: inline-block;
  padding: 4px 11px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid #ffedd5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
  align-self: flex-start;
}

.service h3 {
  font-size: 19px;
  margin: 0 0 12px;
  color: #0f172a;
  line-height: 1.32;
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  font-weight: 700;
}

.service ul {
  padding-left: 18px;
  line-height: 1.6;
  color: #475569;
  font-size: 14.5px;
  margin: 0 0 18px;
  flex: 1;
}

.service li {
  margin: 8px 0;
}

.service-btn {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-btn:hover {
  transform: translateX(4px);
  color: #ea580c;
}

.service-btn.bright {
  color: #f97316;
}

.service-btn.bright:hover {
  color: #ffffff;
}

/* TECH HUB HIGHLIGHT SECTION ESCALADO */
.tech-hub-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 22px;
  align-items: stretch;
}

.tech-card {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.tech-card:hover {
  border-color: #fdba74;
}

.tech-card-header {
  min-height: 26px;
  margin-bottom: 8px;
}

.tech-card h3 {
  font-size: 19.5px;
  margin: 10px 0;
  color: #0f172a;
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  font-weight: 700;
}

.tech-card p {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.tech-badge {
  display: inline-block;
  padding: 4px 11px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid #ffedd5;
}

/* DISEÑO DIFERENCIADO Y DINÁMICO PARA EFICIENCIA OPERATIVA ESCALADO */
.process-section {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.process-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 22px;
}

.process-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 4px;
  background: #ea580c;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.1);
  border-color: #fdba74;
}

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

.process-num-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.process-num {
  font-size: 28px;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.process-card:hover .process-num {
  color: #ea580c;
}

.process-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ea580c;
  background: #fff7ed;
  padding: 4px 11px;
  border-radius: 6px;
  border: 1px solid #ffedd5;
}

.process-card h3 {
  font-size: 20px;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.3;
  font-weight: 700;
}

.process-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

/* STEPS ESCALADOS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.steps article {
  text-align: center;
  padding: 16px;
}

.stepnum {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 14px;
  border: 2px solid #ea580c;
}

.steps h3 {
  font-size: 18px;
  color: #0f172a;
  margin: 8px 0 6px;
  font-weight: 700;
}

.steps p {
  color: #64748b;
  line-height: 1.55;
  font-size: 14.5px;
}

/* RESULTS SECTION / ANÁLISIS ESTRATÉGICO CON TARJETA DE TESTIMONIO ARMONIOSA */
.results-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 22px;
}

.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.outcomes div {
  border: 1px solid #334155;
  background: rgba(30, 41, 59, 0.7);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.outcomes div:hover {
  transform: translateY(-2px);
  border-color: #f97316;
}

.outcomes strong {
  color: #ffffff;
  font-size: 16.5px;
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.outcomes p {
  color: #e2e8f0;
  line-height: 1.55;
  font-size: 14.5px;
  margin: 0 0 16px;
  flex: 1;
}

/* QUOTE CARD UNIFICADA CON LAS OTRAS TARJETAS Y AMBAS COMILLAS SIMÉTRICAS */
.quote {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote:hover {
  transform: translateY(-2px);
  border-color: #f97316;
}

.quote-mark {
  font-size: 52px;
  color: #f97316;
  line-height: 0.4;
  display: block;
}

.quote-mark.open {
  margin-bottom: 8px;
}

.quote-mark.close {
  margin-top: 12px;
  text-align: right;
}

.quote p {
  font-size: 18.5px;
  line-height: 1.65;
  color: #ffffff;
  margin: 6px 0;
  font-weight: 400;
}

/* CONTACT SECTION ESCALADO */
.cta-section {
  background: #f1f5f9;
  padding: 60px 0 24px;
  color: #0f172a;
}

.contact-container {
  max-width: 880px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 20px;
}

.contact-header h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  margin: 6px 0 8px;
  color: #0f172a;
}

.contact-header h2 span {
  color: #1e293b;
}

.contact-header p {
  font-size: 16px;
  color: #334155;
  max-width: 620px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  border: 1px solid #cbd5e1;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 15.5px;
  margin-top: 6px;
  background: #ea580c;
  color: #ffffff;
  border: 1px solid #c2410c;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.2);
}

.form-submit-btn:hover {
  background: #c2410c;
  transform: translateY(-1px);
}

.form-success-message {
  text-align: center;
  padding: 22px 16px;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ea580c;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.form-success-message h3 {
  font-size: 23px;
  margin: 0 0 10px;
  color: #0f172a;
}

.form-success-message p {
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto 20px;
}

/* FOOTER */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: inline-block;
  opacity: 0.9;
}

.back-to-top {
  color: #ffffff;
  font-weight: 600;
}

.back-to-top:hover {
  color: #f97316;
  text-decoration: underline;
}

/* RESPONSIVE DESIGN FOR MEDIUM SCREENS & TABLETS & MOBILE */
@media (max-width: 1200px) {
  .shell {
    width: min(1100px, 94vw);
  }

  .hero-split {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-floating-composition.pyp-real-stack {
    height: 480px;
  }

  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .service {
    padding: 22px 16px;
  }

  .service h3 {
    font-size: 16px;
  }

  .service ul {
    font-size: 13px;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    height: auto;
    padding: 85px 0 60px;
    overflow: visible;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 20px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 24px;
  }

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

  .hero-media-container {
    width: 100%;
    margin-top: 10px;
  }

  .hero-floating-composition.pyp-real-stack {
    height: auto !important;
    max-height: none !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 520px;
  }

  .glow-backdrop-large {
    display: none;
  }

  .glass-card,
  .glass-card.pyp-card {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    box-sizing: border-box;
  }

  .scroll-indicator {
    display: none;
  }

  .section {
    min-height: auto;
    padding: 45px 0 25px;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #182230;
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tech-grid, .process-layout {
    grid-template-columns: 1fr;
  }

  .service-grid, .steps {
    grid-template-columns: 1fr 1fr;
  }

  .service-tag, .service h3, .tech-card h3 {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 75px 0 45px;
  }

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

  .hero-title-dark {
    font-size: 25px;
    line-height: 1.22;
  }

  .hero-sub-dark {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-floating-composition.pyp-real-stack {
    max-width: 100%;
    gap: 12px;
  }

  .glass-card.pyp-card {
    padding: 12px 14px;
  }

  .kpi-value {
    font-size: 15px;
  }

  .iva-saldo-block strong {
    font-size: 14px;
  }

  .pyp-svg-chart {
    height: auto;
    max-height: 120px;
  }

  .pyp-mini-table {
    font-size: 9px;
  }

  .service-grid, .steps, .outcomes {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 18px 14px;
  }

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