/* ============================================================
   FluentData — Olmedo Flores Sp. z o.o.
   Shared Stylesheet v1.0
   Design System: Navy/Electric Blue | Inter font
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0F2040;
  --navy-light:  #1A3A5C;
  --navy-card:   #142035;

  --blue:        #2563EB;
  --blue-light:  #3B82F6;
  --blue-glow:   rgba(37,99,235,0.15);

  --teal:        #06B6D4;
  --teal-light:  #22D3EE;
  --teal-glow:   rgba(6,182,212,0.12);

  --gradient-hero: linear-gradient(135deg, #0A1628 0%, #0F2040 50%, #0A1628 100%);
  --gradient-accent: linear-gradient(90deg, #2563EB, #06B6D4);
  --gradient-card: linear-gradient(135deg, #142035 0%, #0F2040 100%);

  --text-dark:   #0A1628;
  --text-mid:    #374151;
  --text-light:  #6B7280;
  --text-muted:  #9CA3AF;
  --text-white:  #F8FAFC;

  --bg-light:    #F8FAFC;
  --bg-lighter:  #EFF6FF;
  --bg-card:     #FFFFFF;
  --white:       #FFFFFF;

  --border:      #E5E7EB;
  --border-dark: rgba(255,255,255,0.08);

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-blue: 0 4px 24px rgba(37,99,235,0.25);
  --shadow-teal: 0 4px 24px rgba(6,182,212,0.20);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h:       72px;
  --max-w:       1200px;
  --max-w-wide:  1400px;
  --section-py:  96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* ============================================================
   ACCESSIBILITY (WCAG 2.1 AA)
   ============================================================ */

/* Skip-to-content link (2.4.1 Level A) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Global focus-visible ring (2.4.7 Level AA) */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Form inputs have their own styled focus — suppress the global ring */
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible { outline: none; }

/* prefers-reduced-motion (2.3.3 / best practice) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { line-height: 1.7; }

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }
.section-light { background: var(--bg-light); }
.section-dark  { background: var(--navy); }
.section-navy  { background: var(--navy-mid); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-sm       { gap: 8px; }
.gap-md       { gap: 16px; }
.gap-lg       { gap: 24px; }
.gap-xl       { gap: 40px; }

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

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ── Badges / Labels ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.badge-blue   { background: var(--blue-glow); color: var(--blue-light); border: 1px solid rgba(37,99,235,0.3); }
.badge-teal   { background: var(--teal-glow); color: var(--teal); border: 1px solid rgba(6,182,212,0.3); }
.badge-white  { background: rgba(255,255,255,0.1); color: var(--text-white); border: 1px solid rgba(255,255,255,0.2); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,99,235,0.35);
  opacity: 0.95;
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn-ghost {
  background: transparent;
  color: var(--blue-light);
  padding-left: 0;
}
.btn-ghost:hover { color: var(--teal); gap: 12px; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ── Section Header ── */
.section-header { max-width: 720px; }
.section-header.center { margin: 0 auto; text-align: center; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text-light); line-height: 1.75; }
.section-header.dark p { color: rgba(255,255,255,0.65); }
.section-header.dark h2 { color: var(--white); }

/* ── Divider ── */
.section-divider {
  width: 48px; height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.section-divider.center { margin: 16px auto 24px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.navbar.light-page { background: var(--navy); }

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.07); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 10px 22px; font-size: 0.9rem; }

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

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(20px);
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border-dark);
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 13px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
.nav-mobile .btn { margin-top: 12px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-badge { margin-bottom: 24px; }
.hero-title {
  color: var(--white);
  max-width: 820px;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 72px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero-stat {
  padding: 28px 32px;
  text-align: center;
  border-right: 1px solid var(--border-dark);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   TRUST / LOGO STRIP
   ============================================================ */
.trust-strip {
  background: var(--bg-light);
  padding: 56px 0;
  overflow: hidden;
}
.trust-strip-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.logos-track-wrapper { overflow: hidden; position: relative; }
.logos-track-wrapper::before, .logos-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.logos-track-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-light), transparent); }
.logos-track-wrapper::after  { right: 0; background: linear-gradient(to left, var(--bg-light), transparent); }

.logos-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}
.logos-track:hover { animation-play-state: paused; }

/* Override the global prefers-reduced-motion kill for the marquee.
   .logos-track has specificity 0,1,0 vs * with 0,0,0 — wins even with !important. */
@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation-duration: 60s !important;
    animation-iteration-count: infinite !important;
  }
}

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.logo-item:hover { opacity: 0.9; }
.logo-item-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-item-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  background: var(--blue-glow);
  color: var(--blue);
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--gradient-accent);
  color: white;
  transform: scale(1.05);
}
.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p  { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.65; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg-light);
  color: var(--text-mid);
  border: 1px solid var(--border);
}

/* ============================================================
   STATS / IMPACT SECTION
   ============================================================ */
.impact-section {
  background: var(--navy);
  padding: 80px 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.impact-item {
  padding: 48px 40px;
  text-align: center;
  border-right: 1px solid var(--border-dark);
  transition: background 0.3s ease;
}
.impact-item:last-child { border-right: none; }
.impact-item:hover { background: rgba(255,255,255,0.03); }
.impact-value {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  line-height: 1.4;
  max-width: 140px;
  margin: 0 auto;
}

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item {
  padding: 36px;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  transition: border-color 0.3s ease;
}
.feature-item:hover { border-color: rgba(37,99,235,0.4); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(37,99,235,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.feature-item h4 { color: var(--white); margin-bottom: 10px; }
.feature-item p { color: rgba(255,255,255,0.55); font-size: 0.92rem; line-height: 1.65; }

/* ============================================================
   CASE STUDY CARDS
   ============================================================ */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.case-card-header {
  padding: 40px 40px 32px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.case-card-header::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.15), transparent);
}
.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 12px;
}
.case-card-header h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.case-card-header p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

.case-card-body { padding: 40px; }
.case-step { margin-bottom: 28px; }
.case-step-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
}
.case-step h4 { font-size: 1rem; margin-bottom: 8px; color: var(--text-dark); }
.case-step p { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; }

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.case-result-item { text-align: center; }
.case-result-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.case-result-label { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.team-card-avatar {
  width: 100%;
  padding-top: 32px;
  display: flex;
  justify-content: center;
}
.avatar-circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  position: relative;
  overflow: hidden;
}
.avatar-circle.blue    { background: linear-gradient(135deg, #1D4ED8, #3B82F6); }
.avatar-circle.teal    { background: linear-gradient(135deg, #0E7490, #06B6D4); }
.avatar-circle.purple  { background: linear-gradient(135deg, #6D28D9, #8B5CF6); }
.avatar-circle.green   { background: linear-gradient(135deg, #065F46, #10B981); }
.avatar-circle.orange  { background: linear-gradient(135deg, #92400E, #F59E0B); }
.avatar-circle.red     { background: linear-gradient(135deg, #991B1B, #EF4444); }

.team-card-body { padding: 20px 24px 32px; }
.team-card-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 6px;
}
.team-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.team-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.team-skill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--bg-light);
  color: var(--text-mid);
  border: 1px solid var(--border);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  padding: 28px 32px;
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.3s ease;
}
.industry-card:hover { border-color: rgba(6,182,212,0.4); }
.industry-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(6,182,212,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--teal);
  flex-shrink: 0;
}
.industry-info h4 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.industry-info p  { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.5; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient-hero);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.2), transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.cta-section .hero-actions { justify-content: center; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
}
.contact-info { color: var(--white); }
.contact-info h2 { color: var(--white); margin-bottom: 16px; }
.contact-info > p { color: rgba(255,255,255,0.6); margin-bottom: 48px; font-size: 1.05rem; line-height: 1.75; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue-light);
  flex-shrink: 0;
}
.contact-detail-text h5 { color: var(--white); margin-bottom: 4px; font-size: 0.9rem; }
.contact-detail-text p  { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.5; }

.billing-info {
  margin-top: 48px;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
}
.billing-info h5 { color: var(--teal); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 700; }
.billing-entity { margin-bottom: 20px; }
.billing-entity:last-child { margin-bottom: 0; }
.billing-entity strong { display: block; color: var(--white); font-size: 0.88rem; margin-bottom: 4px; }
.billing-entity span { color: rgba(255,255,255,0.45); font-size: 0.8rem; }

/* Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form-wrapper h3 { margin-bottom: 8px; font-size: 1.3rem; }
.contact-form-wrapper > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-label .req { color: var(--blue); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { appearance: none; cursor: pointer; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* Honeypot (hidden) */
.hp-field { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 300px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.footer-social:hover { background: var(--blue); border-color: var(--blue); color: white; }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}
.footer-contact-item i {
  color: var(--teal);
  margin-top: 2px;
  width: 16px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); font-size: 0.82rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: calc(var(--nav-h) + 64px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 600px; line-height: 1.75; }

/* ============================================================
   SERVICE DETAIL (services page)
   ============================================================ */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-content .badge { margin-bottom: 16px; }
/* h1 and h2 share this so the nine service pages could take a real <h1> without
   changing a pixel: they were generated from a scaffold that used <h2>, because
   back then they were sections inside services.html, which owned the <h1>. */
.service-detail-content h1,
.service-detail-content h2 { margin-bottom: 16px; font-size: 2rem; }
.service-detail-content p { color: var(--text-light); line-height: 1.75; margin-bottom: 24px; }
.service-detail-content .btn { margin-top: 8px; }

.use-cases { margin-bottom: 28px; }
.use-cases h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.use-case-list { display: flex; flex-direction: column; gap: 8px; }
.use-case-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.use-case-item i { color: var(--blue); font-size: 0.7rem; flex-shrink: 0; }

.service-detail-visual {
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.stack-section h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.stack-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}
.stack-pill:hover {
  background: rgba(37,99,235,0.2);
  border-color: rgba(37,99,235,0.4);
  color: var(--blue-light);
}

.service-number {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 16px;
}

/* ============================================================
   SERVICE FLOW DIAGRAMS (T5)
   ============================================================ */
.svc-ideal-for {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.svc-ideal-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-right: 4px;
  flex-shrink: 0;
}
.svc-ideal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}
.svc-flow {
  margin-top: 40px;
  padding: 22px 28px 26px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid rgba(6,182,212,0.18);
}
.svc-flow-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 18px;
}
.svc-flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.svc-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
}
.svc-flow-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, #2563EB 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(6,182,212,0.12);
}
.svc-flow-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  padding: 0 6px;
}
.svc-flow-arrow {
  color: var(--teal);
  opacity: 0.4;
  padding: 0 10px;
  font-size: 0.75rem;
  flex-shrink: 0;
  padding-top: 13px;
}
@media (max-width: 768px) {
  .svc-flow { padding: 18px 18px 22px; }
  .svc-flow-steps { flex-direction: column; align-items: flex-start; gap: 10px; }
  .svc-flow-arrow { transform: rotate(90deg); padding: 0 0 0 18px; }
  .svc-flow-step { flex-direction: row; text-align: left; gap: 14px; align-items: center; }
  .svc-flow-num { margin-bottom: 0; }
  .svc-flow-title { padding: 0; }
}

/* ============================================================
   GLOBAL COVERAGE
   ============================================================ */
.coverage-section { background: var(--bg-light); }
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.coverage-map {
  aspect-ratio: 16/9;
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.coverage-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(6,182,212,0.6);
  animation: pulse-dot 2s ease-out infinite;
}
.coverage-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-dot  { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.5); opacity: 0; } }

.regions-list { display: flex; flex-direction: column; gap: 16px; }
.region-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}
.region-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.region-flag { font-size: 1.6rem; }
.region-info h5 { font-size: 0.95rem; margin-bottom: 3px; }
.region-info p  { font-size: 0.82rem; color: var(--text-light); }

/* ============================================================
   ABOUT PAGE SPECIFICS
   ============================================================ */
.director-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 56px;
}
.director-avatar {
  width: 140px; height: 140px;
  border-radius: var(--radius-lg);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
  position: relative;
}
.director-avatar::after {
  content: 'DIRECTOR';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.director-info h2 { color: var(--white); margin-bottom: 6px; }
.director-info .director-title { color: var(--teal); font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; }
.director-info p { color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 20px; font-size: 0.95rem; }

.director-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.credential-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(37,99,235,0.15);
  color: var(--blue-light);
  border: 1px solid rgba(37,99,235,0.25);
}

.timeline { margin-top: 40px; }
.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--border-dark);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--teal);
  flex-shrink: 0;
  z-index: 1;
}
.timeline-content h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.timeline-content .tl-meta { font-size: 0.82rem; color: var(--teal); margin-bottom: 8px; font-weight: 500; }
.timeline-content p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.6; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
}
.quote-icon {
  font-size: 3rem;
  color: var(--blue);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 24px;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}
.testimonial-author-info strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 3px; }
.testimonial-author-info span   { color: rgba(255,255,255,0.45); font-size: 0.82rem; }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: 40px 24px;
}
.thankyou-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  max-width: 560px;
  width: 100%;
  text-align: center;
}
.thankyou-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(37,99,235,0.2));
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--teal);
  margin: 0 auto 32px;
}
.thankyou-card h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 16px; }
.thankyou-card p { color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 16px; }
.next-steps {
  text-align: left;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
}
.next-steps h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.next-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.next-step-item:last-child { margin-bottom: 0; }
.step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue-glow);
  border: 1px solid rgba(37,99,235,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-light);
  flex-shrink: 0;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .impact-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-stats    { grid-template-columns: repeat(2, 1fr); }
  .hero-stat     { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .hero-stat:nth-child(odd)  { border-right: 1px solid var(--border-dark); }
  .hero-stat:last-child,
  .hero-stat:nth-last-child(2) { border-bottom: none; }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid.reverse { direction: ltr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .director-card { grid-template-columns: 1fr; text-align: center; }
  .director-credentials { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }       /* CTA button hidden on mobile (lives in nav-mobile) */
  .nav-toggle { display: flex; }
  /* nav-actions stays visible so lang switcher shows next to hamburger */

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .case-results { grid-template-columns: 1fr; gap: 20px; }
  .values-grid { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .director-card { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }
  .cta-section .hero-actions { justify-content: center; flex-direction: column; align-items: center; }
  .thankyou-card { padding: 48px 28px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-item { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .impact-item:last-child { border-bottom: none; }
  .hero-stat { border-right: none !important; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lang-btn:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.lang-btn i { font-size: 0.65rem; transition: transform 0.2s; }
.lang-btn[aria-expanded="true"] i { transform: rotate(180deg); }
/* light-page navbar is also navy — lang-btn uses default white styling */
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-mid);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  overflow: hidden;
  z-index: 200;
  min-width: 110px;
}
.lang-dropdown.open { display: block; }
.lang-dropdown [data-lang] {
  display: block;
  width: 100%;
  padding: 9px 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-dropdown [data-lang]:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.lang-dropdown [data-lang].active { color: var(--teal); font-weight: 700; }
/* lang-switcher visible on all sizes — removed mobile hide */

/* ============================================================
   DARK MODE (F5)
   Toggle via html[data-theme="dark"]; persisted in localStorage as fd_theme.
   Anti-flash inline script in <head> sets the attribute before CSS loads.
   ============================================================ */

/* ── Dark mode variable overrides ── */
html[data-theme="dark"] {
  --bg-light:   #0D1B2E;
  --bg-lighter: #091524;
  --bg-card:    #142035;
  --border:     rgba(255,255,255,0.10);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.18);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.22);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.45), 0 4px 16px rgba(0,0,0,0.28);
  --text-dark:  #F1F5F9;
  --text-mid:   #CBD5E1;
  --text-light: #94A3B8;
  --text-muted: #64748B;
}

html[data-theme="dark"] body {
  background: var(--navy);
  color: var(--text-dark);
}

/* Smooth transitions when toggling */
html[data-theme="dark"] body,
html[data-theme="light"] body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── White-background cards → dark equivalents ── */
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .team-card,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .region-item,
html[data-theme="dark"] .contact-form-wrapper {
  background: var(--navy-card);
  border-color: rgba(255,255,255,0.08);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* ── Form inputs ── */
html[data-theme="dark"] .form-input,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .form-textarea {
  background: var(--navy-mid);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-dark);
}
html[data-theme="dark"] .form-input::placeholder,
html[data-theme="dark"] .form-textarea::placeholder { color: var(--text-muted); }
html[data-theme="dark"] .form-select option { background: var(--navy-mid); color: var(--text-dark); }

/* ── Privacy policy & other content pages ── */
html[data-theme="dark"] .privacy-section,
html[data-theme="dark"] .privacy-table th,
html[data-theme="dark"] table { color: var(--text-dark); }
html[data-theme="dark"] table thead th { background: var(--navy-mid); }
html[data-theme="dark"] table tbody tr:nth-child(even) { background: rgba(255,255,255,0.03); }
html[data-theme="dark"] table { border-color: rgba(255,255,255,0.10); }
html[data-theme="dark"] td, html[data-theme="dark"] th { border-color: rgba(255,255,255,0.08); }

/* ── Section light backgrounds ── */
html[data-theme="dark"] .section-light { background: var(--bg-light); }

/* ── Trust strip / marquee ── */
html[data-theme="dark"] .logo-item-name {
  color: rgba(255,255,255,0.80);
}
html[data-theme="dark"] .logo-item-icon {
  background: var(--navy-light);
}
html[data-theme="dark"] .logo-item {
  opacity: 0.70;
}
html[data-theme="dark"] .logo-item:hover {
  opacity: 1;
}

/* ── Trust strip logos (invert for visibility) ── */
html[data-theme="dark"] .trust-logo { filter: brightness(0) invert(1); opacity: 0.6; }

/* ── Theme toggle button ── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.13);
  color: var(--white);
  transform: rotate(15deg);
}

/* ============================================================
   NAVBAR — LIGHT MODE TRANSPARENT STATE
   When at the top of the page (no scroll), the navbar is
   transparent. In dark mode the page bg is dark so white text
   is readable. In light mode the page bg is light/white so we
   must switch nav text to dark colours until the user scrolls
   (at which point .scrolled kicks in with a dark bg again).
   ============================================================ */
/* Light mode transparent navbar — only on pages with a light hero background.
   Pages with dark hero (e.g. index.html) use .dark-hero class to keep white text. */
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .nav-link {
  color: var(--navy);
}
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .nav-link:hover,
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .nav-link.active {
  color: var(--navy);
  background: rgba(10, 22, 40, 0.07);
}
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .nav-logo-brand {
  color: var(--navy);
}
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .nav-logo-sub {
  color: rgba(10, 22, 40, 0.45);
}
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .nav-toggle span {
  background: var(--navy);
}
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .lang-btn {
  color: var(--navy);
  border-color: rgba(10, 22, 40, 0.2);
  background: rgba(10, 22, 40, 0.05);
}
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .lang-btn:hover {
  background: rgba(10, 22, 40, 0.1);
}
/* No light-mode rule for .lang-dropdown on purpose: measured in the browser,
   the navbar is rgb(10,22,40) in both themes on every page (.light-page and
   .scrolled both paint navy, and .transparent only ships on the two dark-hero
   pages), so the navy panel and its teal marker are already the right pair.   */
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .theme-toggle {
  color: var(--navy);
  background: rgba(10, 22, 40, 0.06);
  border-color: rgba(10, 22, 40, 0.15);
}
html[data-theme="light"] .navbar.transparent:not(.dark-hero) .theme-toggle:hover {
  background: rgba(10, 22, 40, 0.12);
  color: var(--navy);
}

/* ── Scrolled navbar — light mode (portal pages always start scrolled) ───────
   The scrolled navbar has a dark navy bg, so text/icons must stay white.
   Without these rules, light-mode variable overrides can leak through.       */
html[data-theme="light"] .navbar.scrolled .nav-logo-brand { color: #ffffff; }
html[data-theme="light"] .navbar.scrolled .nav-logo-sub   { color: rgba(255,255,255,0.45); }
html[data-theme="light"] .navbar.scrolled .nav-link       { color: rgba(255,255,255,0.8); }
html[data-theme="light"] .navbar.scrolled .nav-link:hover,
html[data-theme="light"] .navbar.scrolled .nav-link.active { color: #ffffff; background: rgba(255,255,255,0.07); }
html[data-theme="light"] .navbar.scrolled .nav-toggle span { background: rgba(255,255,255,0.85); }
html[data-theme="light"] .navbar.scrolled .theme-toggle {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
html[data-theme="light"] .navbar.scrolled .theme-toggle:hover {
  background: rgba(255,255,255,0.13);
  color: #ffffff;
}
html[data-theme="light"] .navbar.scrolled .lang-btn {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}
html[data-theme="light"] .navbar.scrolled .lang-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

/* ============================================================
   COOKIE CONSENT BANNER (L1)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--teal);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.4);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin: 0;
}
.cookie-text a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-text a:hover { color: var(--white); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  padding: 8px 20px;
  background: var(--teal);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.cookie-btn-accept:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}
.cookie-btn-decline {
  padding: 8px 20px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* ============================================================
   FLOATING BUTTONS — Safe Zone Rules (Golden Rule #2)
   Ambos botones van en la esquina inferior DERECHA, apilados.
   Safe zone: 28px del borde derecho, 28px del borde inferior.
   WhatsApp: capa base · Calendly: encima (+70px)
   Nunca se empalman con navbar superior ni con contenido inferior.
   ============================================================ */

/* WhatsApp — capa inferior del stack (bottom-right) */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
}
.whatsapp-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.60);
}
.whatsapp-float-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 768px) {
  .whatsapp-float { bottom: 20px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-btn { transition: none; }
}

/* Calendly — encima de WhatsApp (bottom + 54px botón + 16px gap = +70px) */
.calendly-float {
  position: fixed;
  bottom: 98px;
  right: 28px;
  z-index: 9000;
}
.calendly-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--teal) 0%, #0891B2 100%);
  color: var(--navy);
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(6,182,212,0.40);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.calendly-float-btn i { font-size: 1rem; }
.calendly-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(6,182,212,0.55);
}
.calendly-float-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
@media (max-width: 768px) {
  .calendly-float { bottom: 90px; right: 16px; }
  .calendly-float-btn span { display: none; }
  .calendly-float-btn {
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .calendly-float-btn { transition: none; }
}

/* ============================================================
   TESTIMONIALS SECTION (Sprint 19 — F4)
   ============================================================ */
.testimonials-section { background: var(--navy); }

/* ============================================================
   T8 — WHO WE WORK WITH (Personas section)
   ============================================================ */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.persona-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(6,182,212,0.1);
}
.persona-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, #2563EB 100%);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.persona-problem {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}
.persona-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .personas-grid { grid-template-columns: 1fr; gap: 14px; }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s, transform 0.25s;
}
.testimonial-card:hover {
  border-color: rgba(6,182,212,0.35);
  transform: translateY(-4px);
}
.testimonial-quote-icon {
  color: var(--teal);
  font-size: 1.6rem;
  line-height: 1;
}
.testimonial-text {
  font-size: 1.02rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.80);
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  margin-top: auto;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.testimonial-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 2px;
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--teal);
  margin: 0;
  font-weight: 500;
}
.testimonials-client-bar {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px dashed rgba(6,182,212,0.25);
  border-radius: var(--radius-md);
}
.testimonials-client-bar span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.30);
  font-weight: 600;
}
.testimonials-client-bar strong {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
}
.testimonials-client-bar i { color: var(--teal); font-size: 0.85rem; }

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 28px 24px; }
  .testimonial-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-card { transition: none; }
}

/* =============================================================================
   PORTAL TOPBAR — shared component (dashboard.html, upload.html, reports.html,
   profile.html, dashboard-view.html, admin.html, analyst.html, login.html,
   signup.html, forgot-password.html, payment-success.html). Canonical markup
   and function names documented in .claude/CLAUDE.md → PATRÓN PORTAL PAGES.
   Pages without a sidebar (login/signup/forgot-password/payment-success)
   simply omit .hamburger-btn.
   ============================================================================= */
.dash-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 100;
}
.topbar-left { display: flex; align-items: center; gap: 0.75rem; }
.topbar-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.topbar-brand { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); letter-spacing: -0.3px; }
.topbar-sub   { font-size: 0.6rem; color: var(--teal); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.topbar-actions { display: flex; align-items: center; gap: 0.8rem; }
.topbar-theme {
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 0.4rem 0.6rem;
  color: var(--text-light); cursor: pointer;
  transition: all 0.15s; font-size: 0.85rem;
}
.topbar-theme:hover { border-color: var(--teal); color: var(--teal); }
.hamburger-btn {
  display: none;
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 0.45rem 0.55rem;
  color: var(--text-light); cursor: pointer;
  align-items: center; justify-content: center;
}
.hamburger-btn:hover { border-color: var(--teal); color: var(--teal); }
.sidebar-backdrop { display: none; position: fixed; inset: 0; top: 64px; background: rgba(0,0,0,0.5); z-index: 150; }
.lang-opt { display: block; width: 100%; text-align: left; padding: 0.45rem 1rem; background: none; border: none; color: var(--text-dark); cursor: pointer; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.lang-opt:hover { background: rgba(0,210,190,0.1); color: var(--teal); }
/* Which of the five you are reading. js/portal-lang.js sets the class; teal on
   the dark card is readable, teal on the white one is 2.55:1, so light mode
   marks the choice in blue (5.17:1) exactly as the public switcher does.      */
.lang-opt.active { color: var(--teal); font-weight: 700; }
html[data-theme="light"] .lang-opt.active { color: var(--blue); }

@media (max-width: 768px) {
  .hamburger-btn { display: inline-flex; }
  .dash-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 200;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  }
  .dash-sidebar.open { transform: translateX(0); }
  .sidebar-backdrop.open { display: block; }
}

/* ── SERVICE DETAIL PAGES (reestructura R4) ───────────────────────── */
.svc-breadcrumb {
  padding: 96px 0 0;
  background: var(--bg-light);
}
.svc-breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
  font-size: 0.82rem; color: var(--text-muted);
}
.svc-breadcrumb li + li::before {
  content: '/'; margin-right: 8px; color: var(--text-muted); opacity: 0.5;
}
.svc-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.svc-breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.svc-breadcrumb [aria-current="page"] { color: var(--text-dark); font-weight: 600; }

.svc-related { padding: 72px 0; background: var(--bg-light); border-top: 1px solid var(--border); }
.svc-related h2 { font-size: 1.5rem; margin-bottom: 24px; color: var(--text-dark); }
.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-bottom: 28px;
}
.svc-related-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-dark); text-decoration: none; font-weight: 600;
  transition: all 0.25s ease;
}
.svc-related-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.svc-related-card i { color: var(--blue); flex-shrink: 0; }
@media (max-width: 480px) {
  .svc-related-grid { grid-template-columns: 1fr; }
}

/* Índice de servicios (R4) */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.svc-index { padding: 72px 0 96px; }
.svc-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.svc-index-card {
  display: block; position: relative;
  padding: 28px 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.25s ease;
}
.svc-index-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc-index-num {
  display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em;
  color: var(--blue); margin-bottom: 10px;
}
.svc-index-card h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--text-dark); }
.svc-index-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.svc-index-more { font-size: 0.85rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 480px) { .svc-index-grid { grid-template-columns: 1fr; } }
