/* ============================================
   BLINDAJE DE NEGOCIOS — v2 Design System
   Dirección: Consultoría ejecutiva premium
   Tono: Sobrio, serio, confiable, cercano
   Paleta: Blanco/gris claro + Navy + Dorado
   Tipografía: Cormorant Garamond + DM Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  --navy:        #0D1B2A;
  --navy-mid:    #16263A;
  --navy-light:  #1E3350;
  --gold:        #C8970A;
  --gold-light:  #F5C518;
  --gold-muted:  rgba(200,151,10,0.12);
  --white:       #FFFFFF;
  --gray-50:     #F8F9FA;
  --gray-100:    #F1F3F5;
  --gray-200:    #E9ECEF;
  --gray-400:    #ADB5BD;
  --gray-600:    #6C757D;
  --gray-800:    #343A40;
  --text:        #1A1A2E;
  --text-body:   #3D4A5C;
  --text-muted:  #6C757D;
  --border:      #E9ECEF;
  --shadow-sm:   0 1px 8px rgba(0,0,0,0.06);
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl:   0 24px 80px rgba(0,0,0,0.16);
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --nav-h:       76px;
  --max-w:       1160px;
  --section-py:  7rem;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--text);
  line-height: 1.15;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 0.75rem; }
h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
p { margin-bottom: 1rem; color: var(--text-body); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white p { color: rgba(255,255,255,0.72) !important; }
.text-white h1,
.text-white h2,
.text-white h3 { color: var(--white) !important; }
.text-white .eyebrow { color: var(--gold-light); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #a07808;
  border-color: #a07808;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,151,10,0.35);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,27,42,0.3);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-lg { padding: 16px 40px; font-size: 0.95rem; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--navy);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo { width: 34px; height: 34px; object-fit: contain; }
.nav-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  margin-left: 0.5rem;
}
.nav-links .nav-cta:hover {
  background: #a07808;
}

/* Lang Toggle */
.nav-lang {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
  margin-left: 0.75rem;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.22s;
}
.lang-btn.active {
  background: var(--white);
  color: var(--navy);
}

/* Enhanced stat numbers */
.stat-number {
  text-shadow: 0 0 32px rgba(245,197,24,0.25);
  letter-spacing: -0.02em;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.28s;
}

/* ============ HERO — HOME ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: var(--gray-50);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(248,249,250,0.97) 42%, rgba(248,249,250,0.55) 70%, rgba(248,249,250,0.1) 100%),
    url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1600&q=80&fit=crop') center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2rem;
  max-width: 620px;
  margin-left: calc((100vw - var(--max-w)) / 2 + 2rem);
}
@media (max-width: 1200px) {
  .hero-content { margin-left: 2rem; }
}
.hero-content h1 {
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero-content h1 span {
  color: var(--gold);
  font-style: italic;
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-left: -8px;
}
.hero-trust-avatars span:first-child { margin-left: 0; }
.hero-trust-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.hero-trust-text strong { color: var(--navy); display: block; }

/* ============ STATS STRIP ============ */
.stats-strip {
  background: var(--navy);
  padding: 3.5rem 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.stat-item {
  text-align: center;
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(245,197,24,0.3);
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-source {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.22);
  margin-top: 0.35rem;
  font-style: italic;
}

/* ============ SECTION INTRO ============ */
.section-intro {
  max-width: 620px;
  margin-bottom: 4rem;
}
.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============ VALUE SECTION ============ */
.value-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.value-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.value-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.value-point:hover { background: var(--gray-50); }
.vp-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.vp-text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.vp-text p { font-size: 0.88rem; margin: 0; }
.value-visual { position: relative; }
.value-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.value-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.value-badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}
.badge-icon { font-size: 1.75rem; }
.badge-label { font-size: 0.75rem; color: var(--text-muted); }
.badge-value {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.value-accent {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--gold-muted);
  border-radius: 50%;
  z-index: -1;
}

/* ============ PROBLEM SECTION ============ */
.problem-section {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.problem-col {
  padding: 3.5rem;
}
.problem-col--before {
  background: var(--white);
}
.problem-col--after {
  background: var(--navy);
}
.problem-col-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.problem-col--before .problem-col-label {
  background: #FEE2E2;
  color: #991B1B;
}
.problem-col--after .problem-col-label {
  background: rgba(245,197,24,0.15);
  color: var(--gold-light);
}
.problem-col h3 {
  margin-bottom: 1.75rem;
}
.problem-col--before h3 { color: var(--text); }
.problem-col--after h3 { color: var(--white); }
.problem-list { display: flex; flex-direction: column; gap: 1rem; }
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.93rem;
  line-height: 1.5;
}
.problem-col--before .problem-list li { color: var(--text-body); }
.problem-col--after .problem-list li { color: rgba(255,255,255,0.8); }
.problem-list li .li-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.problem-col--before .li-icon {
  background: #FEE2E2;
  color: #DC2626;
}
.problem-col--after .li-icon {
  background: rgba(245,197,24,0.2);
  color: var(--gold-light);
}

/* ============ CTA BRIDGE ============ */
.cta-bridge {
  background: var(--navy);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-bridge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,151,10,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(255,255,255,0.02) 0%, transparent 60%);
  pointer-events: none;
}
.cta-bridge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.cta-bridge-text { max-width: 560px; }
.cta-bridge-text h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-bridge-text p { color: rgba(255,255,255,0.65); font-size: 1.05rem; }
.cta-bridge-action { flex-shrink: 0; text-align: center; }
.cta-bridge-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.75rem;
  display: block;
}

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  background: var(--gray-50);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  border-radius: 0 0 0 60px;
  overflow: hidden;
  z-index: 0;
}
.page-hero--servicios::before {
  background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1200&q=80&fit=crop') center/cover no-repeat;
  opacity: 0.18;
}
.page-hero--historias::before {
  background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1200&q=80&fit=crop') center/cover no-repeat;
  opacity: 0.18;
}
.page-hero--nosotros::before {
  background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1200&q=80&fit=crop') center/cover no-repeat;
  opacity: 0.18;
}
.page-hero--contacto::before {
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&q=80&fit=crop') center/cover no-repeat;
  opacity: 0.18;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--navy); margin-bottom: 1rem; }
.page-hero p { color: var(--text-body); max-width: 540px; font-size: 1.05rem; }
.page-hero-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* ============ SERVICES ============ */
.services-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.service-card-body { padding: 2rem; }
.service-card-body h3 {
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
}
.service-list li::before {
  content: '—';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ============ CONTEXT BOX ============ */
.context-section {
  padding: var(--section-py) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.context-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=70&fit=crop') center/cover no-repeat;
  opacity: 0.05;
}
.context-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.context-quote {
  border-left: 3px solid var(--gold);
  padding-left: 2rem;
}
.context-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.context-quote cite {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: normal;
}
.context-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.context-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.context-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.context-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* ============ REFERENCIAS ============ */
.referencias-section {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.logo-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.logo-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.logo-item img { max-height: 70px; max-width: 170px; object-fit: contain; }

/* ============ BIO ============ */
.bio-section { padding: var(--section-py) 0; background: var(--white); }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.bio-sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
.bio-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 1.5rem;
}
.bio-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.bio-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-body);
}
.credential-icon { font-size: 1rem; flex-shrink: 0; }
.bio-content h2 { color: var(--navy); margin-bottom: 0.5rem; }
.bio-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ============ TIMELINE ============ */
.timeline { margin: 3rem 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 39px;
  top: 32px;
  bottom: -2rem;
  width: 2px;
  background: var(--border);
}
.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-400);
  flex-shrink: 0;
  margin-top: 0.35rem;
  transition: border-color 0.2s;
}
.timeline-item--key .timeline-dot {
  background: var(--gold);
  border-color: var(--gold);
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 4px rgba(200,151,10,0.15);
}
.timeline-year {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  writing-mode: horizontal-tb;
}
.timeline-item--key .timeline-year { color: var(--gold); }
.timeline-body {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.timeline-item--key .timeline-body {
  background: var(--navy);
  border-color: transparent;
}
.timeline-body h4 { margin-bottom: 0.5rem; }
.timeline-item--key .timeline-body h4 { color: var(--gold-light); }
.timeline-body p { font-size: 0.9rem; margin: 0; }
.timeline-item--key .timeline-body p { color: rgba(255,255,255,0.75); }

/* ============ CASOS ============ */
.casos-section { padding: var(--section-py) 0; background: var(--white); }
.casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.caso-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s;
}
.caso-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.caso-thumb-wrap {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.caso-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  filter: brightness(0.88);
}
.caso-card:hover .caso-thumb-wrap img { transform: scale(1.05); filter: brightness(0.75); }
.caso-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-circle {
  width: 54px;
  height: 54px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, background 0.2s;
}
.play-circle svg { width: 18px; height: 18px; fill: var(--navy); margin-left: 3px; }
.caso-card:hover .play-circle {
  transform: scale(1.1);
  background: var(--gold);
}
.caso-card:hover .play-circle svg { fill: var(--white); }
.caso-body { padding: 1.75rem; }
.caso-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}
.caso-body h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.caso-body p { font-size: 0.875rem; margin-bottom: 1.25rem; }
.caso-client {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.caso-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.caso-client-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}
.caso-client-info span { font-size: 0.78rem; color: var(--text-muted); }

/* ============ CONTACT ============ */
.contact-section { padding: var(--section-py) 0; background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { color: var(--navy); margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2.5rem; font-size: 1.05rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--gold-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-item-text p { margin: 0; font-size: 0.95rem; color: var(--text); }
.contact-item-text a { color: var(--text); transition: color 0.2s; }
.contact-item-text a:hover { color: var(--gold); }
.contact-social { margin-top: 2rem; }
.contact-social p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }

.smartdefend-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.sd-card-eyebrow { color: var(--gold-light) !important; }
.sd-card-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.sd-card-desc { color: rgba(255,255,255,0.65); margin-bottom: 2rem; }
.sd-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.sd-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.sd-feature::before {
  content: '✦';
  color: var(--gold-light);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ============ SOCIAL LINKS ============ */
.social-links { display: flex; gap: 0.6rem; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s;
}
.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.social-links svg { width: 15px; height: 15px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { width: 110px; margin-bottom: 1.25rem; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-nav h4, .footer-contact h4 {
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav ul li a {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-nav ul li a:hover { color: var(--gold-light); }
.footer-contact p { color: rgba(255,255,255,0.45); font-size: 0.875rem; margin-bottom: 0.6rem; }
.footer-contact a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.8rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.25); font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  :root { --section-py: 5rem; }
  .value-grid, .bio-grid, .contact-grid,
  .context-inner, .problem-grid { grid-template-columns: 1fr; }
  .problem-grid { gap: 0; }
  .value-badge { left: 0; }
  .value-accent { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2rem; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stats-inner .stat-item:last-child,
  .stats-inner .stat-item:nth-last-child(2) { border-bottom: none; }
  .services-grid, .casos-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-bridge-inner { flex-direction: column; text-align: center; }
  .bio-sticky { position: static; }
  .smartdefend-card { position: static; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.25rem;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1rem; }
  .nav-links .nav-cta { text-align: center; margin-left: 0; margin-top: 0.5rem; }
  .hero-content { padding: 4rem 2rem; max-width: 100%; margin-left: 0; }
  .hero-media {
    background:
      linear-gradient(to bottom, rgba(248,249,250,0.95) 0%, rgba(248,249,250,0.7) 100%),
      url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1200&q=80&fit=crop') center/cover no-repeat;
  }
  .hero-actions { flex-direction: column; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: 1fr 1fr; }
  .page-hero::before { width: 100%; opacity: 0.08; border-radius: 0; }
  .context-stats { grid-template-columns: 1fr 1fr; }
}
