@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CONSORTIA CONSULTING — PREMIUM CORPORATE SYSTEM
   Estrategia · Procurement · Reducción de costos
   ============================================ */

:root {
  /* Brand — navy authority + disciplined orange accent */
  --navy-900: #052330;
  --navy-800: #062532;
  --navy-700: #003049;
  --navy-600: #0d4256;
  --teal-600: #0A9396;
  --teal-700: #075c5e;

  --accent: #FF6B35;
  --accent-600: #E85D2A;
  --accent-tint: #FFF2EC;

  /* Neutrals — cool, refined */
  --ink: #15242c;
  --slate-700: #38505c;
  --slate-500: #5a6f7a;
  --slate-400: #8497a0;
  --line: #e6eaec;
  --line-strong: #d4dadd;
  --paper: #f5f7f8;
  --paper-2: #eef2f3;
  --white: #ffffff;

  /* System */
  --shadow-sm: 0 1px 2px rgba(8, 35, 48, 0.04);
  --shadow-md: 0 14px 34px -18px rgba(8, 35, 48, 0.28);
  --shadow-lg: 0 30px 60px -28px rgba(8, 35, 48, 0.42);
  --radius: 6px;
  --radius-lg: 10px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-700);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================
   TYPOGRAPHY SCALE
   ============================================ */
h1, h2, h3, h4 { color: var(--ink); }

.main-title,
.content-section h2,
.cta-section h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.main-title {
  text-align: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.022em;
  max-width: 18ch;
  margin: 0 auto 1.75rem;
}

/* Eyebrow label — corporate kicker */
.eyebrow,
.tabs .tab {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-600);
}

/* Section eyebrow — centered kicker above headings */
.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 1rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
/* dark sections (CTA) invert nothing but keep accent legible */
.cta-section .section-eyebrow { color: var(--accent); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: var(--navy-800);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), padding 0.4s var(--ease);
}

.navbar.is-scrolled {
  padding: 0.1rem 0;
  background: rgba(6, 37, 50, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 10px 30px -16px rgba(0, 0, 0, 0.7);
}

.navbar-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo { display: block; text-decoration: none; line-height: 0; }

.navbar-logo img {
  height: 92px;          /* ← tamaño de la marca (sube/baja este valor) */
  margin: -10px 0;       /* ← deja que el logo "desborde" sin engordar la barra */
  width: auto;
  display: block;
  transition: transform 0.4s var(--ease), height 0.4s var(--ease);
  object-fit: contain;
}
.navbar.is-scrolled .navbar-logo img { height: 74px; margin: -6px 0; }
.navbar-logo img:hover { transform: scale(1.04); }

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2.4rem;
  align-items: center;
}

.navbar-menu a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
  padding: 0.5rem 0;
}

.navbar-menu a:not(.btn-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.navbar-menu a:not(.btn-contact):hover { color: #fff; }
.navbar-menu a:not(.btn-contact):hover::after { transform: scaleX(1); }

.navbar-menu a.active:not(.btn-contact) { color: #fff; }
.navbar-menu a.active:not(.btn-contact)::after { transform: scaleX(1); }

/* Botón Contacto */
.btn-contact {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px -8px rgba(255, 107, 53, 0.7);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease) !important;
}
.btn-contact:hover {
  background: var(--accent-600) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(255, 107, 53, 0.75);
}

/* Hamburguesa */
.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 5px;
}
.navbar-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease);
  border-radius: 3px;
}
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  width: 100%;
  height: 74vh;
  min-height: 560px;
  max-height: 760px;
  overflow: hidden;
  position: relative;
  background: var(--navy-900);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

/* Professional overlay — cinematic navy scrim for executive depth */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(5, 35, 48, 0) 40%, rgba(5, 35, 48, 0.45) 100%),
    linear-gradient(180deg, rgba(5, 35, 48, 0.62) 0%, rgba(5, 35, 48, 0.12) 30%, rgba(5, 35, 48, 0.22) 60%, rgba(5, 35, 48, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 35, 48, 0.5) 0%, rgba(5, 35, 48, 0) 50%);
  pointer-events: none;
}
/* thin accent baseline where hero meets the page */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 18%, rgba(255,107,53,0) 60%);
  z-index: 2;
}

/* ============================================
   WHITE CONTAINER (overlaps hero)
   ============================================ */
.white-container {
  background: var(--white);
  margin-top: -12vh;
  position: relative;
  z-index: 100;
  border-radius: 16px 16px 0 0;
  padding: 4.5rem 0 5.5rem;
  box-shadow: 0 -30px 60px -40px rgba(8, 35, 48, 0.5);
}

/* thin accent rule riding the top edge */
.white-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--accent);
}

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

/* ============================================
   TABS  →  refined eyebrow chips
   ============================================ */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  border: none;
  flex-wrap: wrap;
}

.tab {
  padding: 0.5rem 0;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-600);
  cursor: default;
  border: none;
}
.tab::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.65rem;
  margin-bottom: 3px;
}
.tab::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 0.65rem;
  margin-bottom: 3px;
}

/* ============================================
   TEAM / GENERIC CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  cursor: pointer;
  position: relative;
}

/* accent bar that draws in on hover */
.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: 3;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.card:hover::after { transform: scaleX(1); }

.card-img {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 35, 48, 0) 55%, rgba(5, 35, 48, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.card:hover .card-img::after { opacity: 1; }

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-img img { transform: scale(1.05); }

.card-body {
  padding: 1.6rem 1.6rem 1.8rem;
  text-align: left;
  background: var(--white);
}

.card-body h3 {
  font-size: 1.22rem;
  color: var(--ink);
  margin-bottom: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-body p {
  color: var(--slate-500);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.1rem;
}
.card-body p strong { color: var(--slate-700); }

.card-body a {
  color: var(--navy-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.card-body a:hover { color: var(--accent-600); gap: 0.7rem; }

/* ============================================
   INTRO PARAGRAPH (white-container lead)
   ============================================ */
.white-container .container > p {
  text-wrap: pretty;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  background: var(--paper);
  padding: 6.5rem 0;
  border-top: 1px solid var(--line);
}
.content-section + .content-section { border-top: 1px solid var(--line); }

.content-section h2 {
  text-align: center;
  font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.5rem);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.subtitle {
  text-align: center;
  color: var(--slate-500);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto 3.5rem;
  text-wrap: pretty;
}

/* Plain white "¿Por qué elegir?" section heading helper */
section > .container > h2:first-child {
  letter-spacing: -0.02em;
}

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

.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.content-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: 3;
}
.content-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.content-card:hover::after { transform: scaleX(1); }

.content-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--paper);
  transition: transform 0.7s var(--ease);
}
.content-card:hover img { transform: scale(1.05); }

.content-card h3 {
  padding: 1.5rem 1.6rem 0.4rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--white);
}

.content-card a {
  padding: 0.5rem 1.6rem 1.6rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
  background: var(--white);
}
.content-card a:hover { color: var(--accent-600); gap: 0.7rem; }

/* ============================================
   STAT / MEDIA TILE  (used in mission/vision/PDCA)
   replaces flat gradient blocks with a refined navy tile
   ============================================ */
.tile-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  overflow: hidden;
}
.tile-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.10) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.6;
}
.tile-media--photo::before {
  display: none;
}

/* ============================================
   ICON SYSTEM (corporate line icons)
   ============================================ */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  border: 1px solid #f6ddd1;
  color: var(--accent-600);
  flex-shrink: 0;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.icon-box svg { width: 26px; height: 26px; stroke-width: 1.6; }

.advantage-card:hover .icon-box,
.content-card:hover .icon-box {
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-900);
  border-top: 3px solid var(--accent);
  padding: 3.5rem 0 2rem;
}
.footer-logo { display: none; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.4rem;
  margin-bottom: 2rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  margin-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 35, 48, 0.78);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
  padding: 1.5rem;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease);
  overflow: hidden;
  position: relative;
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-header {
  background: var(--navy-800);
  padding: 2.25rem 2.25rem 1.75rem;
  color: #fff;
  text-align: left;
  position: relative;
}
.modal-header::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 3px;
  background: var(--accent);
}
.modal-header h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: #fff;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.modal-header p {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: all 0.3s var(--ease);
}
.modal-close:hover { opacity: 1; background: var(--accent); }

.modal-body {
  padding: 2rem 2.25rem;
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.7;
}
.modal-body p { margin-bottom: 0.85rem; }
.modal-body p strong { color: var(--ink); }
.modal-body ul { padding-left: 1.25rem; margin-top: 0.75rem; }
.modal-body li { margin-bottom: 0.5rem; }
.modal-body li::marker { color: var(--accent); }

.modal-footer {
  padding: 1.25rem 2.25rem 1.75rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.btn-modal-action {
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: all 0.3s var(--ease);
  flex: 1;
}
.modal-close-btn {
  background: var(--white);
  color: var(--slate-500);
  border: 1px solid var(--line-strong);
}
.modal-close-btn:hover { background: var(--paper-2); color: var(--ink); }

/* ============================================
   PILLAR CARDS
   ============================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 1rem;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem 2.25rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--teal-600));
  transform: scaleX(1);
  transform-origin: left;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.pillar-card:hover::before { background: var(--accent); }

.pillar-number {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--paper-2);
  -webkit-text-stroke: 1px var(--line-strong);
  margin-bottom: 1rem;
  transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease);
}
.pillar-card:hover .pillar-number {
  color: var(--accent-tint);
  -webkit-text-stroke-color: var(--accent);
}

.pillar-card h3 {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

.pillar-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem 0; }
.pillar-card ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.7rem;
  color: var(--slate-600, var(--slate-500));
  font-size: 0.92rem;
  line-height: 1.6;
}
.pillar-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.pillar-impact {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.55;
}
.pillar-impact span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 0.4rem;
}

/* ============================================
   VENTAJAS COMPETITIVAS
   ============================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.advantages-grid--secondary { grid-template-columns: repeat(3, 1fr); }

.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem 2rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.advantage-card h3 {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 700;
  margin: 1.1rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.advantage-card p {
  font-size: 0.93rem;
  color: var(--slate-500);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.advantage-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.advantage-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-700);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.32rem 0.75rem;
  border-radius: 100px;
}

.advantage-note {
  font-size: 0.88rem;
  color: var(--slate-700);
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.advantage-note strong { color: var(--accent-600); }

.advantages-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.advantages-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.5;
}
.advantages-banner blockquote {
  position: relative;
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.45;
  font-style: italic;
  color: #fff;
  border-left: 3px solid var(--accent);
  padding-left: 1.4rem;
  flex: 1;
  min-width: 300px;
}
.advantages-stat { position: relative; text-align: right; white-space: nowrap; }
.advantages-stat .stat-number {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.advantages-stat .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.4rem;
}

/* ============================================
   CTA — PRÓXIMOS PASOS
   ============================================ */
.cta-section {
  background: var(--navy-900);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 26px 26px;
}
.cta-section .container { position: relative; }

.cta-section h2 {
  color: #fff;
  text-align: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.cta-section .subtitle { color: rgba(255, 255, 255, 0.6); }

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 1rem;
}

.cta-steps { list-style: none; padding: 0; margin: 0; }
.cta-step {
  display: flex;
  gap: 1.4rem;
  padding: 0 0 2.25rem 1.5rem;
  margin-left: -1px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
}
.cta-step:last-child { padding-bottom: 0; border-left-color: transparent; }
.cta-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -21px;
  background-color: var(--navy-900);
  transition: all 0.4s var(--ease);
}
.cta-step:hover .cta-step-number { background: var(--accent); color: #fff; }
.cta-step h4 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.cta-step p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; line-height: 1.6; margin: 0; }

.cta-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(4px);
}
.cta-panel h3 {
  color: #fff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.cta-panel p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.75rem; }
.cta-panel p strong { color: var(--accent); }
.cta-panel .btn-contact { display: inline-block; }

.cta-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.4rem;
}
.cta-stat-value {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================
   CLIENTES
   ============================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.client-logo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.client-logo:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Algunos logos vienen con mucho espacio vacío interno o baja resolución
   relativa, por lo que se ven más pequeños que el resto; se les da más
   espacio dentro de su contenedor para emparejar el tamaño visual. */
.client-logo img[alt="Bildtek"] {
  max-width: 160%;
  max-height: 160%;
  transform: scale(1.6);
}
.client-logo img[alt="Beauty Style"],
.client-logo img[alt="J. Cain & Co."] {
  max-width: 125%;
  max-height: 125%;
  transform: scale(1.25);
}
.client-logo span {
  color: var(--slate-400);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  transition: color 0.3s var(--ease);
}
.client-logo:hover span { color: var(--navy-700); }

/* ============================================
   CONTACT FORM (scoped helpers expected by contact.html)
   ============================================ */
.contact-form { max-width: 620px; margin: 0 auto; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateY(36px); }
.reveal-right { transform: translateY(36px); }
.reveal-up.is-visible, .reveal-left.is-visible, .reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid, .advantages-grid--secondary { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .navbar-container { padding: 0 1.5rem; }
  .navbar-toggle { display: flex; }
  .navbar-menu {
    position: fixed;
    top: var(--navbar-height, 70px);
    left: 0;
    width: 100%;
    background: var(--navy-800);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease);
    z-index: 999;
    gap: 0;
  }
  .navbar-menu.active { transform: translateX(0); }
  .navbar-menu li { width: 100%; text-align: center; padding: 0.4rem 0; }
  .navbar-menu a { display: block; padding: 0.75rem 1.5rem; }
  .navbar-menu a:not(.btn-contact)::after { display: none; }
  .btn-contact { margin: 0.5rem 1.5rem !important; }
  .navbar-logo img { height: 58px; }
  .navbar.is-scrolled .navbar-logo img { height: 50px; }

  .hero { height: 56vh; min-height: 420px; }
  .white-container { margin-top: -10vh; padding: 3rem 0 4rem; }
  .container { padding: 0 1.5rem; }

  .cards-grid, .content-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }

  .content-section { padding: 4.5rem 0; }
  .cta-section { padding: 4.5rem 0; }

  .advantages-banner { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .advantages-stat { text-align: left; }

  .footer-links { gap: 0.9rem 1.5rem; }
}