/*
 * MultiMega Servicios — Global Stylesheet
 * =========================================
 * Structure
 *  1. Design Tokens
 *  2. Reset + Base
 *  3. Layout
 *  4. Animations & Utilities
 *  5. Skip Nav
 *  6. Header & Navigation
 *  7. Buttons
 *  8. Section Headings
 *  9. Hero — Base
 *     9a. Hero — Home (index)
 *     9b. Hero — Inner Pages (e.g. nosotros)
 * 10. Categories (index)
 * 11. Brands (index)
 * 12. Benefits (index)
 * 13. Trust (index)
 * 14. Education (index)
 * 15. CTA Banner (index)
 * 16. Overview + Timeline (nosotros)
 * 17. Mission / Vision / Values (nosotros)
 * 18. Approach / Differentiators (nosotros)
 * 19. Clients (nosotros)
 * 20. Quote Interlude (nosotros)
 * 21. CTA Section (nosotros)
 * 22. Footer
 * 23. Mobile Nav Drawer
 * 24. Responsive Breakpoints
 *
 * Usage rules for new pages:
 *  - Never include inline CSS or <style> blocks.
 *  - Always link this file: <link rel="stylesheet" href="style.css">
 *  - Reuse existing classes wherever possible.
 *  - If a new class is needed, add it to this file in the appropriate section.
 *  - Page-specific heroes use modifier classes: .hero--home or .hero--page
 */


/* ═══════════════════════════════════════════════════════════
   1. DESIGN TOKENS
════════════════════════════════════════════════════════════ */
:root {
  /* Brand colours */
  --navy:      #202475;
  --blue:      #134896;
  --sky:       #1262AD;
  --steel:     #9FADCE;
  --off-white: #F4F6FB;
  --light:     #EDF1F8;
  --border:    #D6DDEF;
  --text:      #0C1340;
  --muted:     #5A6480;
  --white:     #FFFFFF;
  --gradient:  linear-gradient(135deg, #202475 0%, #1262AD 100%);

  /* Category accent colours */
  --cat-esterilizacion: #1262AD;
  --cat-infecciones:    #00875A;
  --cat-limpieza:       #0E7490;
  --cat-cuidado:        #7C3AED;
  --cat-calentamiento:  #C2410C;
  --cat-higiene:        #1D4ED8;

  /* Typography */
  --font-display:   'Raleway', sans-serif;
  --font-body:      'Raleway', sans-serif;
  --font-accent:    'Libre Baskerville', serif;
  --font-editorial: 'Cormorant Garamond', serif;

  /* Spacing / shape */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(12,19,64,.06), 0 1px 2px rgba(12,19,64,.04);
  --shadow-md: 0 4px 16px rgba(12,19,64,.10), 0 2px 4px rgba(12,19,64,.06);
  --shadow-lg: 0 12px 40px rgba(12,19,64,.14), 0 4px 8px rgba(12,19,64,.08);

  /* Motion */
  --transition:      200ms cubic-bezier(.4,0,.2,1);
  --transition-fast: 150ms cubic-bezier(.4,0,.2,1);

  /* Strong easing curves — Emil Kowalski */
  --ease-out-strong:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:        cubic-bezier(0.32, 0.72, 0, 1);
}


/* ═══════════════════════════════════════════════════════════
   2. RESET + BASE
════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }


/* ═══════════════════════════════════════════════════════════
   3. LAYOUT
════════════════════════════════════════════════════════════ */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
.section    { padding-block: 96px; }
.section--sm { padding-block: 64px; }
.section--lg { padding-block: 120px; }


/* ═══════════════════════════════════════════════════════════
   4. ANIMATIONS & UTILITIES
════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideRight {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* Utility animation classes — two naming conventions supported */
.animate-fade-up, .anim-fade-up  { animation: fadeUp .6s var(--ease-out-strong) both; }
.animate-fade-in, .anim-fade-in  { animation: fadeIn .5s ease both; }
.anim-scale-in                   { animation: scaleIn .5s var(--ease-out-strong) both; }

/* Delay helpers (index style: .delay-N) — hero entrance, seen once, can be longer */
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }
.delay-6 { animation-delay: .6s; }

/* Delay helpers (inner pages style: .dN) — tighter for repeated in-page content */
.d1 { animation-delay: 40ms; }
.d2 { animation-delay: 80ms; }
.d3 { animation-delay: 130ms; }
.d4 { animation-delay: 180ms; }
.d5 { animation-delay: 230ms; }


/* ═══════════════════════════════════════════════════════════
   5. SKIP NAV
════════════════════════════════════════════════════════════ */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-nav:focus { top: 1rem; }


/* ═══════════════════════════════════════════════════════════
   6. HEADER & NAVIGATION
════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  width: 100px;
  height: auto;
}

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--sky);
  background: var(--light);
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}


/* ═══════════════════════════════════════════════════════════
   7. BUTTONS
════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 160ms var(--ease-out-strong),
              box-shadow 160ms var(--ease-out-strong),
              background-color 150ms ease,
              border-color 150ms ease,
              color 150ms ease;
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 12px rgba(18,98,173,.30);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(18,98,173,.45);
}
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--sky);
  color: var(--sky);
  background: var(--light);
}
.btn-ghost {
  color: var(--sky);
  background: transparent;
  padding: 10px 12px;
}
.btn-ghost:hover { background: var(--light); }

/* btn-ghost on dark hero backgrounds — force white */
.hero .btn-ghost {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* Hero primary CTA (index) */
.btn-hero-primary {
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform 160ms var(--ease-out-strong),
              box-shadow 160ms var(--ease-out-strong);
}
.btn-hero-primary:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}
.btn-hero-primary:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

/* Hero WhatsApp CTA (index) */
.btn-hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 150ms ease,
              border-color 150ms ease,
              transform 160ms var(--ease-out-strong);
}
.btn-hero-wa:hover { background: rgba(255,255,255,.2); }
.btn-hero-wa:active { transform: scale(0.97); transition-duration: 80ms; }
.btn-hero-wa svg { width: 20px; height: 20px; fill: #25D366; }

/* WhatsApp CTA button (global — both pages) */
.btn-cta-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9375rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
  transition: transform 160ms var(--ease-out-strong),
              box-shadow 160ms var(--ease-out-strong);
  white-space: nowrap;
}
.btn-cta-wa:hover { box-shadow: 0 6px 22px rgba(37,211,102,.45); }
.btn-cta-wa:active { transform: scale(0.97); transition-duration: 80ms; }
.btn-cta-wa svg { width: 20px; height: 20px; fill: #fff; }

/* CTA form button (index banner) */
.btn-cta-form {
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 700;
  font-size: .9375rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 150ms ease,
              border-color 150ms ease,
              transform 160ms var(--ease-out-strong);
  white-space: nowrap;
}
.btn-cta-form:hover { background: rgba(255,255,255,.22); }
.btn-cta-form:active { transform: scale(0.97); transition-duration: 80ms; }

/* Catalog button (nosotros CTA) */
.btn-cta-catalog {
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9375rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: transform 160ms var(--ease-out-strong),
              box-shadow 160ms var(--ease-out-strong);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(18,98,173,.25);
}
.btn-cta-catalog:hover { box-shadow: 0 4px 20px rgba(18,98,173,.4); }
.btn-cta-catalog:active { transform: scale(0.97); transition-duration: 80ms; }


/* ═══════════════════════════════════════════════════════════
   8. SECTION HEADINGS
════════════════════════════════════════════════════════════ */
.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-header--center {
  margin-inline: auto;
  text-align: center;
}
/* Legacy variant used on index (centered by default) */
.section-header:not(.section-header--left) {
  text-align: center;
  margin-inline: auto;
}
.section-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--sky);
  font-weight: 700;
  font-size: .92em;
}
.section-desc { font-size: 1rem; color: var(--muted); line-height: 1.75; }

/* Left-aligned header modifier (nosotros uses this for prose sections) */
.section-header--left {
  text-align: left;
  margin-inline: 0;
}


/* ═══════════════════════════════════════════════════════════
   9. HERO — BASE (shared by all hero sections)
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
}

/* Shared hero inner grid */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 64px;
  align-items: center;
}

/* Shared hero title base */
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

/* ── 9a. Hero — Home (index.html) ── */
.hero--home {
  background: var(--gradient);
  padding-block: 104px 96px;
}
.hero--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero--home::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Decorative wave background — right-side accent */
.hero-waves {
  position: absolute;
  top: 0; right: 0;
  width: 480px; height: 100%;
  pointer-events: none;
  opacity: .06;
  overflow: hidden;
}

.hero--home .hero-inner {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero--home .hero-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.1;
}
.hero--home .hero-title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  font-size: .9em;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

.hero-sub,
.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* Hero stats strip (index) */
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats .hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stats .hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,.15);
  align-self: stretch;
}

/* Hero visual card (index) */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%; max-width: 380px;
}
.hero-card-title {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 20px;
}
.hero-card-brands { display: flex; flex-direction: column; gap: 12px; }
.hero-brand-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  transition: background 150ms ease,
              border-color 150ms ease,
              transform 160ms var(--ease-out-strong);
  text-decoration: none; color: inherit; cursor: pointer;
  /* Staggered entry — base state */
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out-strong) both;
}
.hero-brand-item:nth-child(1) { animation-delay: 650ms; }
.hero-brand-item:nth-child(2) { animation-delay: 710ms; }
.hero-brand-item:nth-child(3) { animation-delay: 770ms; }
.hero-brand-item:nth-child(4) { animation-delay: 830ms; }
.hero-brand-item:nth-child(5) { animation-delay: 890ms; }
.hero-brand-item:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.25); }
.hero-brand-item:active { transform: scale(0.98); transition-duration: 80ms; }
.hero-brand-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .7rem; font-weight: 800; color: #fff; letter-spacing: .02em;
}
.hero-brand-name { font-size: .875rem; font-weight: 700; color: rgba(255,255,255,.9); }
.hero-brand-origin { font-size: .75rem; color: rgba(255,255,255,.5); }
.hero-brand-badge {
  margin-left: auto;
  font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #4ADE80;
  background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.2);
  padding: 3px 8px; border-radius: 100px;
}


/* ── 9b. Hero — Inner Pages (nosotros, etc.) ── */
.hero--page {
  background: var(--text);
  padding-block: 100px 0;
}
.hero--page::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(32,36,117,.6) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(18,98,173,.25) 0%, transparent 50%);
  pointer-events: none;
}

/* Large watermark number */
.hero-watermark {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(160px, 20vw, 260px);
  font-weight: 800;
  color: rgba(255,255,255,.035);
  line-height: 1;
  pointer-events: none; user-select: none;
  letter-spacing: -.04em;
}

.hero--page .hero-inner {
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: end;
  padding-bottom: 80px;
}

.hero--page .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hero--page .hero-title em {
  display: block;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: .72em;
  color: var(--steel);
  letter-spacing: 0;
  margin-bottom: 4px;
}

/* Breadcrumb */
.hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.hero-breadcrumb a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.hero-breadcrumb a:hover { color: rgba(255,255,255,.75); }
.hero-breadcrumb-sep { color: rgba(255,255,255,.2); }

.hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 540px;
}

/* Stat card (inner pages) */
.hero-stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  align-self: end;
}
.hero-stat-card > .hero-stat-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 28px;
}
.hero-stat-list { display: flex; flex-direction: column; gap: 0; }
.hero-stat-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero-stat-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-card .hero-stat-num {
  font-size: 2.5rem; font-weight: 800;
  color: #fff; line-height: 1; letter-spacing: -.03em;
}
.hero-stat-card .hero-stat-num sup { font-size: .5em; color: var(--steel); }
.hero-stat-desc {
  font-size: .8125rem; color: rgba(255,255,255,.5);
  text-align: right; max-width: 140px; line-height: 1.4;
}

/* Wave transition to white */
.hero-wave {
  display: block;
  width: 100%; height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  position: relative; z-index: 1;
  margin-top: -2px;
}


/* ═══════════════════════════════════════════════════════════
   10. CATEGORIES (index)
════════════════════════════════════════════════════════════ */
.categories { background: var(--off-white); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.category-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.category-card:hover::before { transform: scaleX(1); }

.category-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.category-icon svg { width: 24px; height: 24px; stroke: var(--accent); stroke-width: 1.5; fill: none; }
.category-name { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.category-desc { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.category-count { font-size: .75rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.category-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 160ms ease,
              background 150ms ease,
              transform 160ms var(--ease-out-strong);
  opacity: 0;
}
.category-card:hover .category-arrow {
  opacity: 1;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.category-arrow svg { width: 16px; height: 16px; stroke: var(--accent); stroke-width: 2; fill: none; }


/* ═══════════════════════════════════════════════════════════
   11. BRANDS (index)
════════════════════════════════════════════════════════════ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.brand-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: transform 200ms var(--ease-out-strong),
              box-shadow 200ms var(--ease-out-strong),
              border-color 150ms ease;
}
.brand-card:hover {
  border-color: var(--steel);
  box-shadow: var(--shadow-md);
}
.brand-initial {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gradient); color: #fff;
  font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.brand-name  { font-size: .875rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.brand-origin { font-size: .75rem; color: var(--muted); margin-bottom: 12px; }
.brand-specialty { font-size: .72rem; color: var(--sky); font-weight: 600; line-height: 1.4; }


/* ═══════════════════════════════════════════════════════════
   12. BENEFITS (index)
════════════════════════════════════════════════════════════ */
.benefits { background: var(--off-white); }
.benefits-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.benefits-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.benefit-item { display: flex; gap: 16px; }
.benefit-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.benefit-icon svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 1.75; fill: none; }
.benefit-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.benefit-desc { font-size: .875rem; color: var(--muted); line-height: 1.6; }

.benefits-visual { position: relative; }
.benefits-card-main {
  background: var(--gradient); border-radius: var(--radius-lg);
  padding: 40px; color: #fff; position: relative; overflow: hidden;
}
.benefits-card-main::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.benefits-card-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 20px;
}
.benefits-card-quote {
  font-family: var(--font-accent); font-style: italic;
  font-size: 1.25rem; font-weight: 700; line-height: 1.4;
  color: #fff; margin-bottom: 24px;
}
.benefits-card-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric-box {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); padding: 16px;
}
.metric-value { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.metric-label { font-size: .72rem; color: rgba(255,255,255,.6); font-weight: 500; letter-spacing: .04em; }

.benefits-card-float {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  min-width: 200px;
}
.float-icon {
  width: 40px; height: 40px; background: rgba(0,135,90,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-icon svg { width: 20px; height: 20px; stroke: #00875A; stroke-width: 2; fill: none; }
.float-title { font-size: .875rem; font-weight: 700; color: var(--text); }
.float-sub { font-size: .75rem; color: var(--muted); }


/* ═══════════════════════════════════════════════════════════
   13. TRUST (index)
════════════════════════════════════════════════════════════ */
.trust-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 64px;
}
.trust-stat { background: var(--white); padding: 40px 32px; text-align: center; }
.trust-stat-num {
  font-size: 3rem; font-weight: 800; font-family: var(--font-display);
  color: var(--navy); line-height: 1; margin-bottom: 8px; letter-spacing: -.03em;
}
.trust-stat-plus { color: var(--sky); }
.trust-stat-label { font-size: .875rem; color: var(--muted); font-weight: 500; }

.trust-clients-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-align: center; margin-bottom: 24px;
}
.client-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.client-type-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; color: var(--text);
}
.client-type-chip svg { width: 18px; height: 18px; stroke: var(--sky); stroke-width: 1.75; fill: none; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════
   14. EDUCATION (index)
════════════════════════════════════════════════════════════ */
.education {
  background: var(--text); color: #fff;
  position: relative; overflow: hidden;
}
.education::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(18,98,173,.3) 0%, transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(32,36,117,.5) 0%, transparent 55%);
  pointer-events: none;
}
.education-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: center;
}
.education-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 16px;
}
.education-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem); font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 16px; letter-spacing: -.02em;
}
.education-title em { font-family: var(--font-accent); font-style: italic; color: var(--steel); }
.education-desc { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 32px; }
.education-formats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.edu-format-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.8);
}
.edu-format-badge svg { width: 15px; height: 15px; stroke: var(--steel); stroke-width: 1.75; fill: none; }
.education-cta .btn {
  background: #fff; color: var(--navy);
  font-weight: 800; padding: 14px 28px; font-size: 1rem;
}
.education-cta .btn:hover { box-shadow: 0 6px 24px rgba(0,0,0,.3); }

.edu-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.edu-topic {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); padding: 18px;
  transition: background var(--transition), border-color var(--transition);
}
.edu-topic:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }
.edu-topic-cat {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 8px; color: var(--steel);
}
.edu-topic-title { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.4; margin-bottom: 4px; }
.edu-topic-tags { font-size: .72rem; color: rgba(255,255,255,.45); }


/* ═══════════════════════════════════════════════════════════
   15. CTA BANNER (index)
════════════════════════════════════════════════════════════ */
.cta-banner { background: var(--off-white); }
.cta-banner-inner {
  background: var(--gradient); border-radius: var(--radius-lg);
  padding: 64px; display: grid;
  grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-banner-inner::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 300px;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .cta-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 12px;
}
.cta-banner .cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.02em;
}
.cta-banner .cta-sub { font-size: 1rem; color: rgba(255,255,255,.65); max-width: 480px; }
.cta-banner .cta-actions {
  display: flex; flex-direction: column; gap: 12px;
  flex-shrink: 0; position: relative; z-index: 1;
}


/* ═══════════════════════════════════════════════════════════
   16. OVERVIEW + TIMELINE (nosotros)
════════════════════════════════════════════════════════════ */
.overview { background: var(--white); }
.overview-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.overview-body { font-size: 1.0625rem; color: var(--muted); line-height: 1.8; margin-top: 24px; }
.overview-body p + p { margin-top: 20px; }
.overview-body strong { color: var(--text); font-weight: 700; }

.overview-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.overview-timeline::before {
  content: '';
  position: absolute; left: 20px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--sky) 100%);
  opacity: .15;
}
.timeline-item { display: flex; gap: 24px; padding: 20px 0; position: relative; }
.timeline-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--border);
}
.timeline-dot svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 1.75; fill: none; }
.timeline-era {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 4px;
}
.timeline-event { font-size: .9375rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.timeline-detail { font-size: .8125rem; color: var(--muted); line-height: 1.5; }


/* ═══════════════════════════════════════════════════════════
   17. MISSION / VISION / VALUES (nosotros)
════════════════════════════════════════════════════════════ */
.mvv { background: var(--off-white); }
.mvv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mvv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mvv-card--values { grid-column: span 2; background: var(--text); border-color: transparent; }
.mvv-card::before {
  content: ''; position: absolute; top: 0; left: 40px; right: 40px; height: 2px;
  background: var(--gradient); border-radius: 0 0 4px 4px;
}
.mvv-card--values::before { background: rgba(255,255,255,.15); }

.mvv-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.mvv-icon svg { width: 24px; height: 24px; stroke: var(--sky); stroke-width: 1.75; fill: none; }
.mvv-card--values .mvv-icon { background: rgba(255,255,255,.08); }
.mvv-card--values .mvv-icon svg { stroke: var(--steel); }
.mvv-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 12px;
}
.mvv-card--values .mvv-label { color: var(--steel); }
.mvv-heading {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 800;
  color: var(--text); line-height: 1.25; margin-bottom: 16px; letter-spacing: -.01em;
}
.mvv-card--values .mvv-heading { color: #fff; }
.mvv-body { font-size: .9375rem; color: var(--muted); line-height: 1.75; }
.mvv-card--values .mvv-body { color: rgba(255,255,255,.6); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.value-item {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md); padding: 24px 20px;
  transition: background var(--transition);
}
.value-item:hover { background: rgba(255,255,255,.1); }
.value-num {
  font-family: var(--font-editorial); font-style: italic;
  font-size: 2.5rem; font-weight: 500;
  color: rgba(255,255,255,.12); line-height: 1; margin-bottom: 12px;
}
.value-name { font-size: .9375rem; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 8px; }
.value-desc { font-size: .8125rem; color: rgba(255,255,255,.5); line-height: 1.6; }


/* ═══════════════════════════════════════════════════════════
   18. APPROACH / DIFFERENTIATORS (nosotros)
════════════════════════════════════════════════════════════ */
.approach { background: var(--white); }
.approach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin-top: 56px;
}
.approach-item { background: var(--white); padding: 48px 36px; position: relative; }
.approach-item::after {
  content: '';
  position: absolute; bottom: 0; left: 36px; right: 36px; height: 2px;
  background: var(--accent, var(--sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.approach-item:hover::after { transform: scaleX(1); }
.approach-num {
  font-family: var(--font-editorial); font-style: italic;
  font-size: 4rem; font-weight: 500; color: var(--light); line-height: 1; margin-bottom: 20px;
}
.approach-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent, var(--sky)) 10%, transparent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.approach-icon svg { width: 26px; height: 26px; stroke: var(--accent, var(--sky)); stroke-width: 1.5; fill: none; }
.approach-title { font-size: 1.125rem; font-weight: 800; color: var(--text); margin-bottom: 12px; letter-spacing: -.01em; }
.approach-desc { font-size: .9rem; color: var(--muted); line-height: 1.75; }
.approach-note {
  margin-top: 40px; display: flex; align-items: flex-start; gap: 16px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px 28px;
}
.approach-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; stroke: var(--sky); stroke-width: 1.75; fill: none; }
.approach-note-text { font-size: .9375rem; color: var(--muted); line-height: 1.65; }
.approach-note-text strong { color: var(--text); }


/* ═══════════════════════════════════════════════════════════
   19. CLIENTS (nosotros)
════════════════════════════════════════════════════════════ */
.clients { background: var(--off-white); }
.clients-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.clients-body { font-size: 1.0625rem; color: var(--muted); line-height: 1.8; margin-top: 24px; }
.clients-body p + p { margin-top: 16px; }

.clients-types { display: flex; flex-direction: column; gap: 12px; }
.client-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 20px;
  transition: all var(--transition);
}
.client-row:hover { border-color: var(--steel); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.client-row-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.client-row-icon svg { width: 18px; height: 18px; stroke: var(--sky); stroke-width: 1.75; fill: none; }
.client-row-name { font-size: .9375rem; font-weight: 600; color: var(--text); }
.client-row-detail { font-size: .8rem; color: var(--muted); }
.client-row-arrow { margin-left: auto; color: var(--border); transition: color var(--transition), transform var(--transition); }
.client-row:hover .client-row-arrow { color: var(--sky); transform: translateX(2px); }

.coverage-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.coverage-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; font-size: .8125rem; font-weight: 600; color: var(--muted);
}
.coverage-pill svg { width: 14px; height: 14px; stroke: var(--sky); stroke-width: 2; fill: none; }
.coverage-pill--primary { border-color: var(--sky); color: var(--sky); background: var(--light); }


/* ═══════════════════════════════════════════════════════════
   20. QUOTE INTERLUDE (nosotros)
════════════════════════════════════════════════════════════ */
.quote-section {
  background: var(--gradient); padding-block: 80px;
  position: relative; overflow: hidden;
}
.quote-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.05) 0%, transparent 60%);
  pointer-events: none;
}
.quote-inner { position: relative; z-index: 1; max-width: 800px; margin-inline: auto; text-align: center; }
.quote-mark { font-family: var(--font-editorial); font-size: 6rem; line-height: .5; color: rgba(255,255,255,.15); display: block; margin-bottom: 8px; }
.quote-text {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 700;
  color: #fff; line-height: 1.5; margin-bottom: 28px;
}
.quote-source { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; }


/* ═══════════════════════════════════════════════════════════
   21. CTA SECTION (nosotros)
════════════════════════════════════════════════════════════ */
.cta { background: var(--off-white); }
.cta-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 56px 64px;
  box-shadow: var(--shadow-md);
}
.cta .cta-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 12px;
}
.cta .cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800;
  color: var(--text); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 12px;
}
.cta .cta-sub { font-size: 1rem; color: var(--muted); }
.cta .cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════
   22. FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding-top: 72px; padding-bottom: 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand-logo {
  height: 36px; width: auto; margin-bottom: 16px;
  /* Invert logo for dark footer background */
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-brand-desc {
  font-size: .875rem; line-height: 1.7;
  color: rgba(255,255,255,.5); margin-bottom: 24px; max-width: 280px;
}
.footer-contact-item {
  display: flex; align-items: flex-start;
  gap: 10px; margin-bottom: 10px; font-size: .8125rem;
}
.footer-contact-item svg {
  width: 15px; height: 15px; stroke: var(--steel);
  stroke-width: 1.75; fill: none; flex-shrink: 0; margin-top: 2px;
}
.footer-col-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 20px;
}
.footer-nav-links { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-nav-links a:hover { color: #fff; }
.footer-schedule {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); padding: 20px;
}
.schedule-row {
  display: flex; justify-content: space-between;
  font-size: .8125rem; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-days  { color: rgba(255,255,255,.5); }
.schedule-hours { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }


/* ═══════════════════════════════════════════════════════════
   23. MOBILE NAV DRAWER
════════════════════════════════════════════════════════════ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-overlay {
  position: absolute; inset: 0;
  background: rgba(12,19,64,.6); backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 300ms var(--ease-out-strong);
}
.mobile-nav.is-open .mobile-nav-overlay {
  opacity: 1;
}
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(360px, 90vw); background: var(--white);
  padding: 24px; display: flex; flex-direction: column;
  gap: 8px; overflow-y: auto;
  transform: translateX(100%);
  transition: transform 400ms var(--ease-drawer);
}
.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-close {
  align-self: flex-end; background: none; border: none;
  cursor: pointer; padding: 8px; color: var(--text); margin-bottom: 8px;
}
.mobile-nav-panel a {
  display: block; padding: 12px 16px; border-radius: var(--radius-sm);
  font-weight: 600; color: var(--text); font-size: 1rem;
  transition: background 150ms ease, color 150ms ease;
}
.mobile-nav-panel a:hover { background: var(--light); color: var(--sky); }
.mobile-nav-panel .btn-primary { margin-top: 12px; text-align: center; background: var(--gradient); color: #fff; box-shadow: 0 2px 12px rgba(18,98,173,.30); }


/* ═══════════════════════════════════════════════════════════
   24. RESPONSIVE BREAKPOINTS
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Index */
  .categories-grid      { grid-template-columns: repeat(2, 1fr); }
  .brands-grid          { grid-template-columns: repeat(3, 1fr); }
  .trust-stats          { grid-template-columns: repeat(2, 1fr); }
  .hero--home .hero-inner { gap: 40px; }

  /* Nosotros */
  .hero--page .hero-inner  { grid-template-columns: 1fr; gap: 48px; }
  .hero-stat-card          { max-width: 480px; }
  .overview-inner          { grid-template-columns: 1fr; gap: 48px; }
  .approach-grid           { grid-template-columns: 1fr; }
  .approach-grid .approach-item { border-bottom: 1px solid var(--border); }
  .clients-intro           { grid-template-columns: 1fr; gap: 48px; }
  .values-grid             { grid-template-columns: repeat(2, 1fr); }

  /* Shared */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  /* Shared layout */
  .section { padding-block: 64px; }
  .primary-nav,
  .header-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Index hero */
  .hero--home             { padding-block: 72px 80px; }
  .hero--home .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual            { justify-content: flex-start; }
  .hero-card              { max-width: 100%; }

  /* Index sections */
  .benefits-inner         { grid-template-columns: 1fr; }
  .benefits-card-float    { position: static; margin-top: 16px; }
  .education-inner        { grid-template-columns: 1fr; gap: 40px; }
  .edu-topics             { grid-template-columns: 1fr; }
  .cta-banner-inner       { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
  .client-types-grid      { grid-template-columns: 1fr 1fr; }

  /* Nosotros */
  .hero-watermark         { display: none; }
  .mvv-grid               { grid-template-columns: 1fr; }
  .mvv-card--values       { grid-column: span 1; }
  .values-grid            { grid-template-columns: 1fr 1fr; }
  .cta-inner              { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
}

@media (max-width: 480px) {
  /* Index */
  .brands-grid         { grid-template-columns: repeat(2, 1fr); }
  .categories-grid     { grid-template-columns: 1fr; }
  .trust-stats         { grid-template-columns: 1fr 1fr; }
  .client-types-grid   { grid-template-columns: 1fr; }
  .hero-stats          { gap: 16px; }
  .hero-stat-divider   { display: none; }

  /* Nosotros */
  .values-grid         { grid-template-columns: 1fr; }
  .hero--page .hero-inner { gap: 32px; }


}


/* ═══════════════════════════════════════════════════════════
   25. CATALOG PAGE
════════════════════════════════════════════════════════════ */

/* Catalog section wrapper */
.catalog-section { background: var(--off-white); }

/* Two-column layout: sidebar + main */
.catalog-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 64px;
}

/* ── Sidebar ── */
.catalog-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.catalog-sidebar::-webkit-scrollbar { width: 4px; }
.catalog-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.sidebar-overlay { display: none; }

.sidebar-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px 13px;
  border-bottom: 1px solid var(--light);
}
.sidebar-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}
.sidebar-reset {
  font-size: .75rem;
  font-weight: 600;
  color: var(--sky);
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 5px;
  font-family: var(--font-body);
  transition: background var(--transition-fast);
}
.sidebar-reset:hover { background: color-mix(in srgb, var(--sky) 10%, transparent); }
.sidebar-reset:disabled { color: var(--steel); cursor: default; background: none; }
.sidebar-close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--muted);
  line-height: 1;
}
.sidebar-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

.sidebar-section {
  padding: 15px 18px;
  border-bottom: 1px solid var(--light);
}
.sidebar-section:last-child { border-bottom: none; }
.sidebar-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Search inside sidebar */
.sidebar-search { position: relative; }
.sidebar-search-icon {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  stroke: var(--muted); stroke-width: 2; fill: none;
  pointer-events: none;
}
.sidebar-search-input {
  width: 100%;
  padding: 9px 12px 9px 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .8125rem;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.sidebar-search-input::placeholder { color: var(--muted); }
.sidebar-search-input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(18,98,173,.1);
  background: var(--white);
}

/* Checkbox filter list */
.filter-check-list { display: flex; flex-direction: column; gap: 2px; }
.filter-check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: background var(--transition-fast), color var(--transition-fast);
  user-select: none;
}
.filter-check-item:hover { background: var(--light); color: var(--text); }
.filter-check-item:has(input:checked) {
  color: var(--text);
  font-weight: 600;
  background: color-mix(in srgb, var(--filter-color, var(--sky)) 8%, transparent);
}
.filter-check-item input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--filter-color, var(--sky));
  flex-shrink: 0;
  cursor: pointer;
}
.filter-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--filter-color, var(--sky));
  flex-shrink: 0;
  opacity: .85;
}
.filter-check-count {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 600;
  color: var(--steel);
  background: var(--light);
  border-radius: 100px;
  padding: 1px 7px;
  line-height: 1.6;
}

/* ── Mobile bar (filter toggle — hidden on desktop) ── */
.catalog-mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0 4px;
}
.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.filter-toggle-btn:hover { border-color: var(--sky); }
.filter-toggle-btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; flex-shrink: 0; }
.active-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px; height: 18px;
  background: var(--sky);
  color: var(--white);
  border-radius: 100px;
  font-size: .65rem;
  font-weight: 700;
  padding: 0 4px;
}

/* ── Catalog main search bar (always visible) ── */
.catalog-search-row { margin-bottom: 20px; }
.catalog-search-wrap { position: relative; }
.catalog-search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  stroke: var(--muted); stroke-width: 2; fill: none;
  pointer-events: none;
}
.catalog-search-input {
  width: 100%;
  padding: 12px 44px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: .9375rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.catalog-search-input::placeholder { color: var(--muted); }
.catalog-search-input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(18,98,173,.1);
}
.catalog-search-clear {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; padding: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color var(--transition-fast);
}
.catalog-search-clear svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.catalog-search-clear:hover { color: var(--text); }

/* ── Catalog toolbar (count + view toggle) ── */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.catalog-count { font-size: .8rem; color: var(--muted); }
.catalog-count strong { color: var(--text); font-weight: 700; }

/* View toggle */
.view-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 28px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.view-btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }
.view-btn.is-active { background: var(--white); color: var(--sky); box-shadow: var(--shadow-sm); }

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* ── Product card ── */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(12,19,64,.1);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--cat-color, var(--navy)) 40%, var(--border));
}
.product-card-bar {
  height: 3px;
  background: var(--cat-color, var(--navy));
  flex-shrink: 0;
}

/* Image placeholder */
.product-card-img {
  height: 136px;
  background: color-mix(in srgb, var(--cat-color, var(--navy)) 7%, var(--white));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.product-img-icon {
  width: 48px; height: 48px;
  stroke: var(--cat-color, var(--navy));
  stroke-width: 1.25;
  fill: none;
  opacity: .4;
}
.product-card-img .product-img {
  display: block;
  width: 100%;
  height: 136px;
  object-fit: contain;
  object-position: center;
}

.product-card-body {
  flex: 1;
  padding: 14px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}
.product-cat-badge {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--cat-color, var(--navy)) 10%, transparent);
  color: var(--cat-color, var(--navy));
  line-height: 1.4;
  white-space: nowrap;
}
.product-brand-tag {
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.product-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-top: 2px;
}
.product-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  padding: 8px 18px 14px;
  border-top: 1px solid var(--light);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-price {
  font-size: .725rem;
  font-weight: 600;
  color: var(--steel);
  font-style: italic;
}
.product-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .775rem;
  font-weight: 700;
  color: var(--sky);
  text-decoration: none;
  flex-shrink: 0;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.product-cta-btn:hover { color: var(--navy); gap: 9px; }
.product-cta-btn svg {
  width: 12px; height: 12px; flex-shrink: 0; fill: none;
  stroke: currentColor; stroke-width: 2;
  transition: transform var(--transition-fast);
}
.product-cta-btn:hover svg { transform: translateX(2px); }

/* ── List view ── */
.product-grid.is-list { grid-template-columns: 1fr; gap: 10px; }
.product-grid.is-list .product-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas: "img body" "img footer";
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cat-color, var(--navy));
  transform: none;
}
.product-grid.is-list .product-card:hover { transform: none; box-shadow: 0 4px 16px rgba(12,19,64,.1); }
.product-grid.is-list .product-card-bar { display: none; }
.product-grid.is-list .product-card-img {
  grid-area: img;
  width: 140px;
  height: 100%;
  min-height: 110px;
  border-radius: 0;
  flex-shrink: unset;
}
.product-grid.is-list .product-card-img .product-img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: contain;
}
.product-grid.is-list .product-card-img svg.product-img-icon {
  width: 36px; height: 36px;
}
.product-grid.is-list .product-card-body {
  grid-area: body;
  flex: unset;
  padding: 14px 18px 6px;
}
.product-grid.is-list .product-card-footer {
  grid-area: footer;
  border-top: 1px solid var(--light);
  padding: 8px 18px 12px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-grid.is-list .product-desc { -webkit-line-clamp: 2; }

/* ── Empty state ── */
.catalog-empty {
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 380px;
  margin-inline: auto;
}
.catalog-empty-icon {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.catalog-empty-icon svg { width: 24px; height: 24px; stroke: var(--steel); stroke-width: 1.75; fill: none; }
.catalog-empty h3 { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.catalog-empty p  { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ── Catalog responsive ── */
@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 240px 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    padding-top: 0;
    padding-bottom: 48px;
  }
  .catalog-mobile-bar { display: flex; }
  .catalog-toolbar .view-toggle { display: none; }

  /* Sidebar becomes a slide-in drawer */
  .catalog-sidebar {
    position: fixed;
    inset: 0;
    z-index: 150;
    pointer-events: none;
    max-height: none;
    overflow: visible;
    top: 0;
  }
  .catalog-sidebar.is-open { pointer-events: auto; }
  .sidebar-overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(12,19,64,.45);
    opacity: 0;
    transition: opacity .28s ease;
  }
  .catalog-sidebar.is-open .sidebar-overlay { opacity: 1; }
  .sidebar-panel {
    position: absolute;
    left: -320px;
    top: 0; bottom: 0;
    width: 300px;
    border-radius: 0;
    overflow-y: auto;
    transition: left .28s cubic-bezier(.4,0,.2,1);
  }
  .catalog-sidebar.is-open .sidebar-panel { left: 0; }
  .sidebar-close { display: flex; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-grid.is-list { grid-template-columns: 1fr; }
  .product-grid.is-list .product-card-img { width: 110px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid.is-list .product-card-img { width: 96px; }
}

/* ═══════════════════════════════════════════════════════════
   25. FORM ELEMENTS (shared — contacto, educacion)
════════════════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(18,98,173,.12);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a2e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .form-group--full { grid-column: span 2; }

/* ── Form success state ── */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
  border: 1.5px solid #22c55e;
  border-radius: var(--radius-md);
  background: #f0fdf4;
  color: #166534;
}
.form-success.is-visible { display: block; }

/* ── WhatsApp CTA ── */
.wa-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--light);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  margin-top: 8px;
  font-size: .9rem;
  color: var(--muted);
}
.wa-cta-row strong { color: var(--text); }
.wa-cta-row a { margin-left: auto; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   26. CONTACTO PAGE
════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
  padding-block: 80px;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-title {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.contact-info-block { display: flex; flex-direction: column; gap: 32px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--sky);
  margin-bottom: 16px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
  color: var(--text);
  line-height: 1.4;
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail svg {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  stroke: var(--sky); stroke-width: 1.8; fill: none;
}
.contact-detail a { color: var(--sky); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

.contact-map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border: none;
  border-radius: var(--radius-md);
  filter: grayscale(20%);
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { padding: 28px 20px; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-group--full { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════════
   27. EDUCACION PAGE
════════════════════════════════════════════════════════════ */
.edu-offerings {
  background: var(--off-white);
  padding-block: 80px;
}
.edu-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.edu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.edu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.edu-card::before {
  content: '';
  position: absolute; top: 0; left: 28px; right: 28px; height: 3px;
  background: var(--gradient); border-radius: 0 0 4px 4px;
}
.edu-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.edu-card-icon svg { width: 26px; height: 26px; stroke: var(--sky); stroke-width: 1.8; fill: none; }
.edu-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.edu-card p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

.edu-form-section { padding-block: 80px; }
.edu-form-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: start;
}
.edu-form-intro { }
.edu-form-intro h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--text); margin-bottom: 16px; }
.edu-form-intro p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.edu-contact-note {
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--sky);
  font-size: .88rem;
  color: var(--muted);
}
.edu-contact-note strong { color: var(--text); }
.edu-contact-note a { color: var(--sky); text-decoration: none; }

.edu-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.edu-form-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 24px; }

@media (max-width: 900px) {
  .edu-cards-grid { grid-template-columns: 1fr 1fr; }
  .edu-form-layout { grid-template-columns: 1fr; gap: 40px; }
  .edu-form-card { padding: 28px 20px; }
}
@media (max-width: 600px) {
  .edu-cards-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
═══════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform 160ms var(--ease-out-strong),
              box-shadow 160ms var(--ease-out-strong);
}
.wa-float:hover {
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
}
.wa-float:active {
  transform: scale(0.93);
  transition-duration: 80ms;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .wa-float {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
  .wa-float svg { width: 26px; height: 26px; }
}


/* ═══════════════════════════════════════════════════════════
   MEDIA SECTIONS — Video + Photo placeholders
   Sections hold <video>/<img> once assets arrive.
   Replace each .img-placeholder / .video-placeholder div with
   the real element — no CSS or layout changes needed.
════════════════════════════════════════════════════════════ */

/* ── Corporate video section (index + nosotros) ── */
.video-section { background: var(--white); }
.video-section-inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.video-section-header { margin-bottom: 40px; }

/* ── Video placeholder ── */
.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  object-fit: cover;
  background: var(--text);
}
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--text) 0%, var(--navy) 60%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(18,98,173,.4) 0%, transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(32,36,117,.45) 0%, transparent 50%);
  pointer-events: none;
}
.video-play-btn {
  width: 80px; height: 80px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: background 200ms var(--ease-out-strong),
              transform 200ms var(--ease-out-strong);
}
.video-placeholder:hover .video-play-btn {
  background: rgba(255,255,255,.22);
}
.video-play-btn svg {
  width: 30px; height: 30px;
  fill: #fff; margin-left: 5px; /* optical center for play triangle */
}
.video-meta {
  position: relative; z-index: 1;
  text-align: center;
}
.video-meta-eyebrow {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 8px;
}
.video-meta-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700; color: #fff;
  margin-bottom: 12px;
}
.video-meta-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.55);
  padding: 5px 14px; border-radius: 100px;
}
/* Real <video> sits in same container once asset arrives */
.video-placeholder > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Image placeholder (reusable inside any photo container) ── */
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--light);
  border: 1.5px dashed var(--border);
  border-radius: inherit;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
}
/* steel (#9FADCE) on light (#EDF1F8) = 1.95:1 — fails WCAG AA
   Fix: use navy at 40% opacity → ~4.5:1 on that background */
.img-placeholder svg {
  width: 30px; height: 30px;
  stroke: var(--navy); stroke-width: 1.5; fill: none; opacity: .35;
}
.img-placeholder-label {
  font-size: .72rem; font-weight: 600;
  color: var(--muted); letter-spacing: .04em;
  text-align: center; line-height: 1.4;
  padding: 0 12px;
}

/* ── Photo strip — horizontal scroll (index) ── */
.photo-strip-section { background: var(--off-white); }
.photo-strip-section .section-header { margin-bottom: 32px; }
.photo-strip {
  display: flex; gap: 16px;
  overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.photo-strip::-webkit-scrollbar { height: 4px; }
.photo-strip::-webkit-scrollbar-thumb {
  background: var(--border); border-radius: 2px;
}
.photo-strip-item {
  flex: 0 0 320px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}
.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ── Team grid (nosotros) ── */
.team-section { background: var(--off-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 200ms var(--ease-out-strong),
              box-shadow 200ms var(--ease-out-strong);
}
.team-photo {
  width: 100%; aspect-ratio: 1 / 1;
  position: relative; overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(160deg, var(--light) 0%, var(--off-white) 100%);
  border-bottom: 1px solid var(--border);
}
.team-photo-placeholder svg {
  width: 52px; height: 52px;
  stroke: var(--steel); stroke-width: 1.2;
  fill: none; opacity: .55;
}
.team-photo-placeholder-label {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel);
}
.team-info { padding: 20px; }
.team-name  { font-size: .9375rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role  { font-size: .8125rem; color: var(--sky); font-weight: 600; }

/* ── Facilities gallery — Apple-style interactive (nosotros) ── */
.facilities-section { background: var(--off-white); }
.facilities-gallery { margin-top: 48px; user-select: none; }

/* Hero stage */
.gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light);
  cursor: pointer;
}

/* Slides stacked, crossfade with blur (Emil: blur masks imperfect crossfades) */
.gallery-slide {
  position: absolute; inset: 0;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 380ms ease, filter 380ms ease;
  z-index: 0;
}
.gallery-slide.is-active {
  opacity: 1;
  filter: blur(0px);
  z-index: 1;
}
.gallery-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-slide .img-placeholder { border-radius: 0; border: none; }

/* Nav arrows — hidden until hover */
.gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,0,0,.14);
  opacity: 0;
  transition: opacity 200ms ease,
              background 150ms ease,
              transform 160ms var(--ease-out-strong);
}
.gallery-stage:hover .gallery-nav,
.gallery-stage:focus-within .gallery-nav { opacity: 1; }
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }
.gallery-nav svg { width: 18px; height: 18px; stroke: var(--text); stroke-width: 2.2; fill: none; }

/* Expand button */
.gallery-expand {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  opacity: 0;
  transition: opacity 200ms ease,
              background 150ms ease,
              transform 160ms var(--ease-out-strong);
}
.gallery-stage:hover .gallery-expand,
.gallery-stage:focus-within .gallery-expand { opacity: 1; }
.gallery-expand svg { width: 15px; height: 15px; stroke: var(--text); stroke-width: 2; fill: none; }

/* Slide counter pill */
.gallery-counter {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 10;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  padding: 5px 11px;
  border-radius: 100px;
  pointer-events: none;
}

/* Thumbnail strip */
.gallery-thumbs {
  display: flex; gap: 8px;
  margin-top: 10px;
}
.gallery-thumb {
  flex: 1;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: none; padding: 0;
  opacity: .52;
  transition: opacity 200ms ease,
              border-color 200ms ease,
              transform 160ms var(--ease-out-strong);
}
.gallery-thumb.is-active {
  border-color: var(--sky);
  opacity: 1;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb .img-placeholder { border-radius: 0; border: none; background: var(--off-white); }

/* Lightbox */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  visibility: hidden; pointer-events: none;
}
.gallery-lightbox.is-open { visibility: visible; pointer-events: auto; }
.gallery-lightbox-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 300ms var(--ease-out-strong);
}
.gallery-lightbox.is-open .gallery-lightbox-overlay { opacity: 1; }
.gallery-lightbox-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 100px;
}
.gallery-lightbox-slide {
  position: absolute; inset: 80px 100px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 350ms ease, filter 350ms ease;
}
.gallery-lightbox-slide.is-active {
  opacity: 1;
  filter: blur(0px);
}
.gallery-lightbox-slide img {
  max-width: 100%; max-height: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.gallery-lightbox-slide .img-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.35);
}
.gallery-lightbox-slide .img-placeholder svg {
  stroke: rgba(255,255,255,.3);
}
.gallery-lightbox-slide .img-placeholder-label {
  color: rgba(255,255,255,.35);
}
/* Close */
.gallery-lightbox-close {
  position: absolute; top: 20px; right: 20px; z-index: 10;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, transform 160ms var(--ease-out-strong);
}
.gallery-lightbox-close:hover { background: rgba(255,255,255,.18); }
.gallery-lightbox-close svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2; fill: none; }
/* Lightbox nav */
.gallery-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 52px; height: 52px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, transform 160ms var(--ease-out-strong);
}
.gallery-lightbox-nav:hover { background: rgba(255,255,255,.2); }
.gallery-lightbox-nav--prev { left: 20px; }
.gallery-lightbox-nav--next { right: 20px; }
.gallery-lightbox-nav svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2; fill: none; }
/* Caption */
.gallery-lightbox-caption {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  white-space: nowrap; pointer-events: none;
}
/* Active states */
@media (hover: hover) and (pointer: fine) {
  .gallery-nav:hover { background: rgba(255,255,255,1); transform: translateY(-50%) scale(1.06); }
  .gallery-nav:active { transform: translateY(-50%) scale(0.94); }
  .gallery-expand:hover { background: rgba(255,255,255,1); transform: scale(1.06); }
  .gallery-expand:active { transform: scale(0.94); }
  .gallery-thumb:hover:not(.is-active) { opacity: .78; transform: scale(1.02); }
  .gallery-lightbox-close:active { transform: scale(0.93); }
  .gallery-lightbox-nav:active { transform: translateY(-50%) scale(0.93); }
}
/* Mobile */
@media (max-width: 600px) {
  .gallery-stage { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
  .gallery-lightbox-slide { inset: 60px 16px; }
  .gallery-lightbox-nav { display: none; }
  .gallery-nav { opacity: 1; width: 36px; height: 36px; }
  .gallery-nav svg { width: 14px; height: 14px; }
  .gallery-expand { opacity: 1; }
}

/* ── Events photo grid (educacion) ── */
.events-gallery-section { background: var(--white); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.events-grid-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.events-grid-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 9; }
.events-grid-item:nth-child(2) { aspect-ratio: 4 / 3; }
.events-grid-item:nth-child(3),
.events-grid-item:nth-child(4) { aspect-ratio: 4 / 3; }
.events-grid-item:nth-child(5) { grid-column: span 2; aspect-ratio: 16 / 9; }
.events-grid-item:nth-child(6) { aspect-ratio: 4 / 3; }
.events-grid-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* responsive */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .photo-strip-item { flex: 0 0 260px; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .events-grid-item:nth-child(1),
  .events-grid-item:nth-child(5) { grid-column: span 2; aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .team-grid { gap: 12px; }
  .events-grid { grid-template-columns: 1fr; }
  .events-grid-item:nth-child(1),
  .events-grid-item:nth-child(5) { grid-column: span 1; }
  .photo-strip-item { flex: 0 0 220px; }
}

/* hover on pointer devices */
@media (hover: hover) and (pointer: fine) {
  .team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  .video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
  }
}


/* ═══════════════════════════════════════════════════════════
   HOVER GUARDS — pointer devices only
   Gate transform-based :hover effects so they don't fire as
   false positives on touch screens.
════════════════════════════════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {
  /* Buttons */
  .btn-primary:hover        { transform: translateY(-1px); }
  .btn-hero-primary:hover   { transform: translateY(-2px); }
  .btn-cta-wa:hover         { transform: translateY(-2px); }
  .btn-cta-catalog:hover    { transform: translateY(-1px); }
  .education-cta .btn:hover { transform: translateY(-1px); }

  /* Cards */
  .category-card:hover { transform: translateY(-4px); }
  .brand-card:hover    { transform: translateY(-2px); }
  .edu-card:hover      { transform: translateY(-4px); }

  /* Floating WhatsApp button */
  .wa-float:hover { transform: scale(1.08); }

  /* Category arrow — slide in from left slightly on hover */
  .category-card:hover .category-arrow { transform: translateX(2px); }
}


/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION — respect user preference
   Keep opacity + color transitions (aid comprehension).
   Remove position/scale/transform motion entirely.
════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  /* Kill all keyframe animations */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  /* Disable all transitions except opacity/color — keep those for state clarity */
  .btn,
  .btn-hero-primary,
  .btn-hero-wa,
  .btn-cta-wa,
  .btn-cta-form,
  .btn-cta-catalog,
  .category-card,
  .category-arrow,
  .brand-card,
  .hero-brand-item,
  .edu-card,
  .wa-float,
  .mobile-nav-panel,
  .mobile-nav-overlay {
    transition: opacity 200ms ease, color 150ms ease, background 150ms ease !important;
  }

  /* Restore opacity for elements animated by JS observer */
  .category-card,
  .brand-card,
  .benefit-item,
  .edu-topic,
  .client-type-chip,
  .hero-brand-item {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Pulse dot — stop pulsing */
  .dot { animation: none !important; }
}
