/* ===================================================================
   ORA CONSULTING - HOJA DE ESTILOS CORPORATIVA Y 100% RESPONSIVA
   Diseño Web Moderno con Navegación por Scroll
   Paleta: #141718 (Obsidian) | #1B7A5A (Verde Institucional) | #FFFFFF
   =================================================================== */

:root {
  --bg-dark: #141718;
  --bg-dark-secondary: #1a1e20;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(27, 122, 90, 0.4);

  --accent-green: #1B7A5A;
  --accent-green-light: #249971;
  --accent-green-glow: rgba(27, 122, 90, 0.35);
  --accent-emerald: #10b981;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -10px rgba(27, 122, 90, 0.5);
}

/* ================= RESET Y BASE ================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100vw;
  overflow-x: hidden;
  scroll-padding-top: 85px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.65;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= TIPOGRAFÍA ================= */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  word-wrap: break-word;
}

.section {
  padding: 4.75rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 85px;
}

section[id],
.service-item[id] {
  scroll-margin-top: 85px;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-emerald);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.9rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= BOTONES ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.85rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-green-glow);
}

.btn-primary:hover {
  background: var(--accent-green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(36, 153, 113, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
  background: rgba(20, 23, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(18, 20, 21, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-emerald);
  border-radius: 2px;
}

.btn-nav-cta {
  background: var(--accent-green) !important;
  color: #ffffff !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.btn-nav-cta:hover {
  background: var(--accent-green-light) !important;
  transform: translateY(-2px);
}

.btn-nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  padding: 7.5rem 0 3.75rem 0;
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-margin-top: 75px;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  height: 450px;
  background: radial-gradient(circle, rgba(27, 122, 90, 0.28) 0%, rgba(20, 23, 24, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto 2.75rem auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.785rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 100%;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.85rem);
  letter-spacing: -1px;
  margin-bottom: 1.75rem;
  line-height: 1.18;
}

.highlight-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description strong {
  color: #ffffff;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(27, 122, 90, 0.15);
  border: 1px solid rgba(27, 122, 90, 0.35);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  max-width: 100%;
}

.pill-item i {
  color: var(--accent-emerald);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #ffffff, #a7f3d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ================= EXPOSICIÓN SECTION ================= */
.section-exposure {
  background-color: #171a1c;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.exposure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.exposure-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.4rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.exposure-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.card-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(27, 122, 90, 0.18);
  border: 1px solid rgba(27, 122, 90, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-emerald);
  margin-bottom: 1.4rem;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

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

/* Callout Banner: El Efecto */
.effect-banner {
  background: linear-gradient(135deg, #1B7A5A 0%, #12553e 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.effect-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.effect-content {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.effect-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.effect-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 1.75rem;
}

.effect-footer span {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
}

/* ================= METODOLOGÍA SECTION ================= */
.section-methodology {
  background-color: var(--bg-dark-secondary);
}

.methodology-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.method-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  transition: var(--transition);
}

.method-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.method-box-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.box-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.box-tag.accent {
  color: var(--accent-emerald);
}

.method-box-header h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.method-box-header h3 i {
  color: var(--accent-emerald);
  font-size: 1.25rem;
}

.method-box-header p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.method-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.step-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.step-badge.accent {
  background: rgba(27, 122, 90, 0.3);
  border-color: var(--accent-green);
  color: #ffffff;
}

.method-list li div strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.method-list li div p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.method-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.divider-line {
  width: 1px;
  height: 100px;
  background: var(--border-subtle);
}

.divider-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--accent-green-glow);
}

.methodology-note {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: rgba(27, 122, 90, 0.12);
  border: 1px solid rgba(27, 122, 90, 0.3);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.methodology-note i {
  color: var(--accent-emerald);
  font-size: 1.15rem;
}

/* ================= SERVICIOS SECTION ================= */
.section-services {
  background-color: #171a1c;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-nav-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
}

.s-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.s-nav-btn:hover {
  background: rgba(27, 122, 90, 0.25);
  border-color: var(--accent-emerald);
  color: #ffffff;
  transform: translateY(-2px);
}

.s-nav-btn i {
  color: var(--accent-emerald);
  font-size: 0.85rem;
}

.services-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 2.25rem 2rem;
  transition: var(--transition);
  scroll-margin-top: 85px;
}

.service-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}

.service-item.service-reverse {
  grid-template-columns: 1.15fr 1fr;
}

.service-item.service-reverse .service-image-container {
  order: 2;
}

.service-item.service-reverse .service-details {
  order: 1;
}

.service-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 380px;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-item:hover .service-img {
  transform: scale(1.04);
}

.service-image-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
}

.service-number {
  background: rgba(20, 23, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: #ffffff;
  border: 1px solid var(--border-subtle);
}

.service-category {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-emerald);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.service-title {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.service-summary {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.service-challenge {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent-emerald);
  padding: 0.85rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.service-challenge i {
  color: var(--accent-emerald);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.service-challenge p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.breakdown-col {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.breakdown-col h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.breakdown-col h4 i {
  color: var(--accent-emerald);
  font-size: 0.85rem;
}

.breakdown-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.service-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.tag-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.tag-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 0.2rem;
}

.tag-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.service-steps-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.h-step {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.8rem;
}

.h-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-emerald);
  margin-bottom: 0.2rem;
}

.h-step strong {
  display: block;
  font-size: 0.875rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

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

.service-outcome {
  background: rgba(27, 122, 90, 0.12);
  border: 1px solid rgba(27, 122, 90, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-outcome strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.2rem;
}

/* ================= VALOR GERENCIAL SECTION ================= */
.section-value {
  background-color: var(--bg-dark-secondary);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.value-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.value-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(27, 122, 90, 0.2);
  border: 1px solid rgba(27, 122, 90, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  font-size: 1.2rem;
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= NOSOTROS / OFICINA INDEPENDIENTE ================= */
.section-about {
  background-color: var(--bg-dark);
}

.about-hero-box {
  background: linear-gradient(135deg, #1B7A5A 0%, #0e4c36 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3.5rem;
  text-align: center;
  margin-bottom: 5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.about-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  padding: 0.4rem 1.15rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.about-title {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.25;
}

.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 3.5rem;
  max-width: 100%;
}

.experience-badge i {
  color: #facc15;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.pillar-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
}

.pillar-card:hover {
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Process Section */
.process-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
}

.process-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.process-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-top: 0.5rem;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.process-step-item {
  flex: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  transition: var(--transition);
}

.process-step-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.step-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(27, 122, 90, 0.2);
  border: 2px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 1.25rem auto;
}

.process-step-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.process-step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.process-step-connector {
  color: var(--accent-emerald);
  font-size: 1.4rem;
  opacity: 0.5;
}

/* ================= CONTACTO SECTION ================= */
.section-contact {
  background-color: #171a1c;
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card,
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
}

.contact-card-header,
.form-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.contact-card-header h3,
.form-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.contact-card-header p,
.form-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.consultant-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  flex-shrink: 0;
}

.profile-meta h4 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.profile-meta span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 0.25rem;
}

.profile-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  position: relative;
}

.item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(27, 122, 90, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.item-content {
  flex: 1;
  min-width: 0; /* Permite truncar o quebrar enlaces largos */
}

.item-label {
  display: block;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.item-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
}

.item-link:hover {
  color: var(--accent-emerald);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--accent-green);
  color: #ffffff;
}

.qr-item {
  align-items: center;
}

.qr-item .item-content small {
  display: block;
  font-size: 0.785rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.qr-wrapper {
  background: #ffffff;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.qr-image {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: #ffffff;
  width: 100%;
  max-width: 100%;
  transition: var(--transition);
}

.form-group select option {
  background: #1a1e20;
  color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1.1rem;
  margin-top: 0.5rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

/* ================= FOOTER ================= */
.footer {
  background-color: #0d0f10;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 380px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-emerald);
  transform: translateX(4px);
  display: inline-block;
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact p i {
  color: var(--accent-emerald);
}

.footer-independence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(27, 122, 90, 0.2);
  border: 1px solid rgba(27, 122, 90, 0.4);
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.75rem;
}

.footer-independence-badge i {
  color: var(--accent-emerald);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-rev {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ================= TOAST NOTIFICATION ================= */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1B7A5A;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= SCROLL REVEAL ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   RESPONSIVE DESIGN RULES (TABLETS & MÓVILES)
   =================================================================== */

/* --- TABLETS Y PANTALLAS MEDIANAS (< 1024px) --- */
@media (max-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

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

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

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

  .service-item,
  .service-item.service-reverse {
    grid-template-columns: 1fr;
    padding: 2.25rem 2rem;
  }

  .service-item.service-reverse .service-image-container {
    order: 0;
  }

  .service-image-container {
    min-height: 280px;
    max-height: 360px;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .method-divider {
    flex-direction: row;
    margin: 0.5rem 0;
  }

  .divider-line {
    width: 80px;
    height: 1px;
  }

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

  .process-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .process-step-item {
    width: 100%;
  }

  .process-step-connector {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- MENÚ DE NAVEGACIÓN MÓVIL (< 860px) --- */
@media (max-width: 860px) {
  html {
    scroll-padding-top: 65px;
  }

  .section,
  .hero-section,
  section[id],
  .service-item[id] {
    scroll-margin-top: 65px;
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .logo-img {
    height: 32px;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(18, 20, 21, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-160%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .btn-nav-cta {
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.95rem 1.5rem !important;
    display: block;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
  }
}

/* --- TELÉFONOS MÓVILES (SMARTPHONES < 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.75rem;
  }

  .section-tag {
    font-size: 0.725rem;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Hero Mobile */
  .hero-section {
    padding: 7rem 0 3.5rem 0;
    min-height: auto;
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 0.4rem 0.85rem;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.45rem);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-pills {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .pill-item {
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    justify-content: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .stat-card {
    padding: 1.5rem 1.25rem;
  }

  .stat-number {
    font-size: 2.35rem;
  }

  /* Exposición Mobile: 1 sola columna para que las tarjetas respiren */
  .exposure-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .exposure-card {
    padding: 1.75rem 1.25rem;
  }

  .effect-banner {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .effect-quote {
    font-size: 1.15rem;
    line-height: 1.5;
  }

  /* Metodología Mobile */
  .method-box {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .method-box-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .method-box-header h3 {
    font-size: 1.25rem;
  }

  .method-list {
    gap: 1.25rem;
  }

  .method-list li {
    gap: 0.85rem;
  }

  .method-divider {
    flex-direction: column;
    gap: 0.5rem;
  }

  .divider-line {
    width: 1px;
    height: 30px;
  }

  .methodology-note {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
  }

  /* Servicios Mobile */
  .services-wrapper {
    gap: 3.5rem;
  }

  .service-item,
  .service-item.service-reverse {
    padding: 1.5rem 1.15rem;
    gap: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .service-image-container {
    min-height: 200px;
    max-height: 250px;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .service-summary {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .service-challenge {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .service-breakdown,
  .service-tags-grid,
  .service-steps-horizontal {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  /* Valor Gerencial Mobile: 1 columna limpia */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .value-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  /* Nosotros / Oficina Independiente Mobile */
  .about-hero-box {
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3.5rem;
  }

  .about-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
  }

  .experience-badge {
    flex-direction: column;
    text-align: center;
    font-size: 0.875rem;
    padding: 0.85rem 1.15rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    gap: 0.5rem;
    line-height: 1.4;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pillar-card {
    padding: 1.5rem 1.25rem;
  }

  .process-wrapper {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .process-title {
    font-size: 1.45rem;
  }

  .process-step-item {
    padding: 1.75rem 1.15rem;
  }

  /* Contacto Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .contact-card-header h3,
  .form-header h3 {
    font-size: 1.4rem;
  }

  .consultant-profile {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 0.85rem;
  }

  .contact-item {
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.75rem;
  }

  .item-link {
    font-size: 0.875rem;
    word-break: break-all;
  }

  .qr-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .qr-wrapper {
    margin-top: 0.5rem;
  }

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

  /* Footer Mobile */
  .footer {
    padding: 3.5rem 0 2rem 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1.5rem;
    text-align: center;
  }
}

/* --- TELÉFONOS EXTRA PEQUEÑOS (< 380px) --- */
@media (max-width: 380px) {
  .container {
    padding: 0 0.95rem;
  }

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

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.65rem;
  }

  .btn {
    font-size: 0.875rem;
    padding: 0.85rem 1.2rem;
  }
}
