/* ============================================================
   TALENT WORK — Premium Stylesheet
   Dark theme · Manrope + DM Serif Display
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --navy:        #0F172A;
  --navy-800:    #1E293B;
  --navy-700:    #253347;
  --navy-600:    #334155;
  --blue:        #2563EB;
  --blue-light:  #3B82F6;
  --blue-dark:   #1D4ED8;
  --teal:        #14B8A6;
  --teal-light:  #2DD4BF;
  --teal-dark:   #0D9488;
  --white:       #FFFFFF;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-300:    #CBD5E1;
  --gray-400:    #94A3B8;
  --gray-500:    #64748B;

  --font-serif:  'DM Serif Display', Georgia, serif;
  --font-sans:   'Manrope', system-ui, sans-serif;

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

  --shadow-glow-blue:  0 0 40px rgba(37, 99, 235, 0.25);
  --shadow-glow-teal:  0 0 40px rgba(20, 184, 166, 0.25);
  --shadow-card:       0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-nav:        0 1px 32px rgba(0, 0, 0, 0.5);

  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  --max-width:   1200px;
  --nav-height:  72px;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--navy);
  color: var(--gray-200);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
}

/* ── Typography Scale ── */
.serif         { font-family: var(--font-serif); }

h1, .h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

h2, .h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--white);
}

h3, .h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

h4, .h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-300);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--gray-300);
  font-weight: 400;
}

.overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section--sm {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

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

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

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

.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.gap-1         { gap: 0.5rem; }
.gap-2         { gap: 1rem; }
.gap-3         { gap: 1.5rem; }
.gap-4         { gap: 2rem; }

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

/* ── Section Headers ── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-header .overline {
  display: block;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* ── Background Variants ── */
.bg-dark       { background-color: var(--navy); }
.bg-surface    { background-color: var(--navy-800); }
.bg-card       { background-color: var(--navy-700); }
.bg-gradient   {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%);
}

/* ── Dividers ── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 99px;
  margin: 1.25rem auto 0;
}

.divider--left {
  margin: 1.25rem 0 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(20, 184, 166, 0.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn svg, .btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Badge / Tag ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: var(--blue-light);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-teal {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-light);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.badge-white {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Cards ── */
.card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(20, 184, 166, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-icon--blue {
  background: rgba(37, 99, 235, 0.15);
  color: var(--blue-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.card-icon--teal {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-light);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.09);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(15, 23, 42, 0.06);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 99px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 99px;
  transition: all var(--transition-base);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-110%);
  transition: transform var(--transition-slow);
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nav-mobile.open {
  transform: translateY(0);
}

.nav-mobile a {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--navy);
  background: rgba(15, 23, 42, 0.05);
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* ── Page header (interior pages) ── */
.page-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.page-hero .overline {
  margin-bottom: 0.75rem;
  display: block;
}

.page-hero h1 {
  margin-bottom: 1.25rem;
}

.page-hero p {
  max-width: 640px;
  margin-inline: auto;
  font-size: 1.1rem;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.80) 50%,
    rgba(15, 23, 42, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: 5rem;
}

.hero-logo {
  height: 72px;
  width: auto;
  margin-bottom: 1.75rem;
  display: block;
}

.hero-content .overline {
  margin-bottom: 1rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .lead {
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.hero-stat strong span {
  color: var(--teal);
}

.hero-stat small {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ── Cert Badge ── */
.cert-strip {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
}

.cert-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cert-item img {
  height: 52px;
  width: auto;
  filter: brightness(1.1);
}

.cert-item-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
}

.cert-item-text span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.cert-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* ── Solutions / Service Cards ── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.solution-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-base);
  cursor: default;
}

.solution-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.solution-card .card-icon {
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
}

.solution-card h3 {
  margin-bottom: 0.75rem;
}

.solution-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.solution-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition-fast);
}

.solution-card .card-link:hover {
  gap: 0.7rem;
}

/* ── SCS Methodology ── */
.scs-section {
  background: var(--navy-800);
}

.scs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.scs-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.scs-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.scs-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 184, 166, 0.2);
  z-index: 1;
  pointer-events: none;
}

.scs-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
}

.scs-image-badge span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.scs-content .overline {
  margin-bottom: 0.75rem;
  display: block;
}

.scs-content h2 {
  margin-bottom: 1.25rem;
}

.scs-content .lead {
  margin-bottom: 2rem;
}

.scs-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.scs-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.scs-pillar-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 0.15rem;
}

.scs-pillar-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.scs-pillar-text p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
  transition: all var(--transition-base);
}

.process-step:hover .process-step-num {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-color: transparent;
  color: var(--white);
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.process-step p {
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ── Stats / Numbers ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  color: var(--teal);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Clients / Logos ── */
.clients-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.clients-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.clients-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.client-logo {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  text-align: center;
}

.client-logo:hover {
  color: var(--gray-300);
}

/* ── Case Studies ── */
.case-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.case-card:hover {
  border-color: rgba(20, 184, 166, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.case-card-image {
  height: 220px;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-card-image img {
  transform: scale(1.04);
}

.case-card-body {
  padding: 1.75rem;
}

.case-card-body .badge {
  margin-bottom: 1rem;
}

.case-card-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.case-card-body p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.case-result {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--teal-light);
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--blue);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-200);
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 600;
}

.testimonial-author-info span {
  font-size: 0.775rem;
  color: var(--gray-400);
}

/* ── Team / Nosotros ── */
.team-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition-base);
}

.team-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.team-card-image {
  height: 280px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-image img {
  transform: scale(1.04);
}

.team-card-body {
  padding: 1.5rem;
}

.team-card-body h3 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.team-card-body .role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-card-body p {
  font-size: 0.85rem;
}

/* ── Values ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 2rem;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
}

/* ── Contact / Form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info .lead {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-detail:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

.contact-detail-text a:hover {
  color: var(--teal);
}

/* Form */
.contact-form {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-control::placeholder {
  color: var(--gray-500);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--navy-800) 50%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-section h2 {
  margin-bottom: 1.25rem;
}

.cta-section .lead {
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-inline: auto;
}

.cta-section .lead + * {
  margin-top: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── WhatsApp Floating ── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ── Footer ── */
.footer {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .nav-logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ── Utility ── */
.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;
}

.gradient-text {
  background: linear-gradient(90deg, var(--blue-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-teal { color: var(--teal); }
.highlight-blue  { color: var(--blue-light); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-fade-up    { animation: fadeInUp 0.65s ease both; }
.animate-fade-in    { animation: fadeIn 0.65s ease both; }
.animate-slide-left { animation: slideInLeft 0.65s ease both; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Intersection Observer triggered */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .process-steps::before {
    display: none;
  }

  .scs-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .scs-image img {
    height: 360px;
  }

  .scs-image .scs-image-badge {
    padding: 0.5rem 0.875rem;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 44px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    gap: 1.5rem;
  }

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

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

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

  .cert-strip .container {
    flex-direction: column;
    gap: 1.25rem;
  }

  .cert-divider {
    width: 40px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .clients-logo-row {
    gap: 1.5rem;
  }

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

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

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .whatsapp-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }

  .scs-image img {
    height: 240px;
  }

  .hero-content {
    padding-top: 2.5rem;
  }

  .page-hero {
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: 2.5rem;
  }

  .solution-detail-img {
    min-height: 260px;
  }

  .nav-logo img {
    height: 40px;
  }
}
