/* ─────────────────────────────────────────
   GDL Connect — Shared Stylesheet
   ───────────────────────────────────────── */

/* ── Base ── */
html, body { margin: 0; background: #FBFCFD; }
html { scroll-behavior: auto; }

@keyframes gdlFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
@keyframes gdlForward {
  0%, 100% { transform: translateZ(45px) translateY(0); box-shadow: 0 30px 60px -18px rgba(15,40,30,.34); }
  45% { transform: translateZ(95px) translateY(-12px); box-shadow: 0 46px 84px -22px rgba(15,40,30,.42); }
}
@keyframes gdlSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes gdlPulse { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }
@keyframes gdlHint { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: .5; } 50% { transform: translateY(7px) rotate(45deg); opacity: 1; } }

.gdl-hero-floater {
  perspective: 900px;
  overflow: hidden;
}
.gdl-floater-content {
  transform-origin: 50% 0%;
  transition: transform .46s cubic-bezier(.22,.7,.2,1), opacity .28s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.gdl-floater-content.is-flipping-out {
  opacity: 0;
  transform: translateY(-12px) rotateX(-74deg);
}
.gdl-floater-content.is-flipping-in {
  opacity: 0;
  transform: translateY(14px) rotateX(68deg);
}
.gdl-floater-card--talent { min-width: 242px; }
.gdl-floater-card--metric { min-width: 262px; }
.gdl-floater-card--pill { min-width: 232px; justify-content: flex-start; }
.gdl-floater-card--pill .gdl-floater-content {
  display: flex;
  align-items: center;
  gap: 9px;
}

@media (prefers-reduced-motion: reduce) {
  .gdl-floater-content {
    transition: none;
  }
}

/* ── Reveal animation ── */
@keyframes gdlReveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s cubic-bezier(.22,.7,.2,1), transform .72s cubic-bezier(.22,.7,.2,1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
@supports (animation-timeline: view) {
  [data-reveal] {
    opacity: 0;
    transform: none;
    transition: none;
    animation: gdlReveal .85s cubic-bezier(.22,.7,.2,1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  [data-reveal].is-revealed {
    animation: none;
    opacity: 1;
  }
}

/* ──────────────────────────────────────────
   NAV — floating island
   (uses !important to override JS inline styles)
   ────────────────────────────────────────── */
@keyframes gdlSlideIn {
  from { transform: translateX(-50%) translateY(-200px); }
  to   { transform: translateX(-50%) translateY(0); }
}
.gdl-nav-wrap { position: relative; }
.gdl-nav--float {
  position: fixed !important;
  top: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-width: 960px !important;
  width: calc(100% - 48px) !important;
  padding: 10px 24px !important;
  margin: 0 !important;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(15,23,42,.09) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px -20px rgba(15,23,42,.35), 0 4px 12px -4px rgba(15,23,42,.06) !important;
  animation: gdlSlideIn .45s cubic-bezier(.22,1,.36,1) both !important;
  z-index: 9999 !important;
}
body.admin-bar .gdl-nav--float { top: 48px !important; }

/* ── Solutions submenu ── */
.gdl-mega-item:hover { background: #F4F7FA !important; }
.gdl-sub-item { position: relative; }
.gdl-industry-sub {
  position: absolute;
  left: calc(100% + 6px);
  right: auto;
  top: -8px;
  width: 268px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  box-shadow: 0 20px 50px -16px rgba(15,23,42,.3), 0 4px 12px -4px rgba(15,23,42,.08);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 100;
}
.gdl-industry-sub::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 0;
  width: 8px;
  height: 100%;
}
.gdl-sub-item:hover .gdl-industry-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
/* flipped: abre a la izquierda cuando no cabe a la derecha */
.gdl-sub-item.gdl-flip .gdl-industry-sub {
  left: auto;
  right: calc(100% + 6px);
  transform: translateX(6px);
}
.gdl-sub-item.gdl-flip .gdl-industry-sub::before {
  right: auto;
  left: 100%;
}
.gdl-sub-item.gdl-flip:hover .gdl-industry-sub {
  transform: translateX(0);
}

/* ──────────────────────────────────────────
   MOBILE NAV
   (uses !important to override DC inline styles)
   ────────────────────────────────────────── */
@media (min-width: 1001px) {
  .gdl-menu-toggle { display: none !important; }
}
@media (max-width: 1000px) {
  .gdl-nav-wrap {
    position: sticky !important;
    top: 0 !important;
    z-index: 9998 !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(15,23,42,.07) !important;
    box-shadow: 0 16px 40px -30px rgba(15,23,42,.35) !important;
    transition: background .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: visible !important;
  }
  body.admin-bar .gdl-nav-wrap {
    top: 46px !important;
  }
  @media (min-width: 783px) {
    body.admin-bar .gdl-nav-wrap {
      top: 32px !important;
    }
  }
  .gdl-nav,
  .gdl-nav[style] {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    box-sizing: border-box !important;
    max-width: none !important;
    width: 100% !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  .gdl-nav-logo { display: flex !important; }
  .gdl-nav-logo img { height: 34px !important; }
  .gdl-menu-toggle {
    display: flex !important;
    position: fixed !important;
    right: calc(env(safe-area-inset-right, 0px) + 16px) !important;
    top: calc(env(safe-area-inset-top, 0px) + 14px) !important;
    z-index: 10000 !important;
    background: #0F172A !important;
    border-color: #0F172A !important;
    box-shadow: 0 16px 36px -16px rgba(15,23,42,.6) !important;
  }
  .gdl-nav-wrap.gdl-mobile-scrolled {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(15,23,42,.07) !important;
    box-shadow: 0 16px 40px -30px rgba(15,23,42,.35) !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }
  .gdl-nav-wrap.gdl-mobile-scrolled .gdl-nav {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    padding: 0 20px !important;
    pointer-events: auto !important;
  }
  .gdl-nav-wrap.gdl-mobile-scrolled .gdl-nav-logo {
    display: flex !important;
  }
  .gdl-nav-wrap.gdl-mobile-scrolled .gdl-menu-toggle,
  .gdl-nav-wrap.gdl-mobile-scrolled .gdl-nav-links {
    pointer-events: auto !important;
  }
  .gdl-menu-toggle span { background: #fff !important; }
  .gdl-nav-links {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 68px) !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 9999 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    max-height: calc(100vh - 92px) !important;
    overflow: auto !important;
    padding: 14px !important;
    background: #fff !important;
    border: 1px solid rgba(15,23,42,.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 28px 70px -30px rgba(15,23,42,.42) !important;
    white-space: normal !important;
  }
  .gdl-nav-links.is-open { display: flex !important; }
  .gdl-nav-links > a,
  .gdl-industries-trigger {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 13px !important;
    border-radius: 11px !important;
  }
  .gdl-nav-links > a:hover,
  .gdl-industries-trigger:hover { background: #F4F7FA !important; }
  .gdl-industries { width: 100% !important; }
  .gdl-industry-drop {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border-radius: 13px !important;
    margin-top: 6px !important;
    box-sizing: border-box !important;
    padding: 14px !important;
  }
  .gdl-mega-cols {
    grid-template-columns: 1fr !important;
  }
  .gdl-mega-left {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid rgba(15,23,42,.07) !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
  }
  .gdl-mega-right {
    padding-left: 0 !important;
  }
  .gdl-industry-sub {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: 1px solid rgba(15,23,42,.06) !important;
    border-radius: 11px !important;
    margin-top: 4px !important;
    width: auto !important;
  }
  .gdl-nav--float { display: none !important; }
}

/* ──────────────────────────────────────────
   LAYOUT
   ────────────────────────────────────────── */
.gdl-section        { padding: 100px 40px; }
.gdl-section--white { background: #FFFFFF; }
.gdl-section--gray  { background: #F6F8FB; }
.gdl-container      { max-width: 1180px; margin: 0 auto; }
.gdl-section-intro       { max-width: 640px; margin: 0 auto; text-align: center; }
.gdl-section-intro--left { text-align: left; margin-left: 0; }

/* ── Hero section ── */
.gdl-hero { position: relative; padding: 60px 40px 88px; overflow: hidden; }

/* ── Two-col layouts ── */
.gdl-layout-hero {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.gdl-layout-why {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: .86fr 1.14fr;
  gap: 56px; align-items: start;
}

/* ── Hero image ── */
.gdl-hero-img-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 90px -34px rgba(16,50,35,.4);
  border: 1px solid rgba(15,23,42,.06);
}
.gdl-hero-img { display: block; width: 100%; height: 440px; object-fit: cover; }

/* ── Live dot indicator ── */
.gdl-dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16A34A; box-shadow: 0 0 8px rgba(22,163,74,.7);
}

/* ── CTA dark card ── */
.gdl-cta-card {
  position: relative;
  max-width: 1080px; margin: 0 auto;
  background: linear-gradient(135deg, #0F172A 0%, #13251b 100%);
  border-radius: 28px; padding: 72px 48px;
  text-align: center; overflow: hidden;
}
.gdl-cta-glow {
  position: absolute; left: 50%; top: -120px;
  transform: translateX(-50%);
  width: 600px; height: 360px;
  background: radial-gradient(circle, rgba(22,163,74,.28), rgba(22,163,74,0) 65%);
  pointer-events: none;
}
.gdl-cta-inner { position: relative; }
.gdl-cta-btn   { margin-top: 34px; }

/* ── Dark accent card (navy, last in Why Mexico grid) ── */
.gdl-card--info-dark { background: #0F172A; border: 1px solid rgba(15,23,42,.08); border-radius: 18px; padding: 24px; }

/* ── Auto-spacing inside stat cards ── */
.gdl-card--info .gdl-card__heading,
.gdl-card--info-dark .gdl-card__heading--white { margin-top: 10px; }

/* ── Card heading white (on dark bg) ── */
.gdl-card__heading--white {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 16px; color: #F8FAFC; margin: 0;
}

/* ── Card body muted (on dark bg) ── */
.gdl-card__body--muted { font-size: 14px; line-height: 1.6; color: #94A3B8; margin-top: 8px; }

/* ──────────────────────────────────────────
   TYPOGRAPHY
   ────────────────────────────────────────── */
.gdl-label {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .13em;
  color: #16A34A;
  margin-bottom: 14px;
}

.gdl-h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: #0F172A;
  margin: 22px 0 0;
}

.gdl-h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.16;
  letter-spacing: -.025em;
  color: #0F172A;
  margin: 16px 0 0;
}
.gdl-h2--white  { color: #F8FAFC; }
.gdl-h2--green  { color: #22c55e; }
.gdl-h2--top    { margin-top: 18px; }
.gdl-h2--cta {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #F8FAFC;
  margin: 0;
}

/* ── Page wrapper ── */
.gdl-page { font-family: 'DM Sans', sans-serif; background: #FBFCFD; }

/* ── Bullet dot lists ── */
.gdl-dot-list { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.gdl-step-badge { transition: background .5s ease, box-shadow .5s ease; }
.gdl-dot-item  { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #475569; }
.gdl-dot       { width: 5px; height: 5px; border-radius: 50%; background: #16A34A; flex-shrink: 0; }
.gdl-dot--green { background: #22c55e; width: 6px; height: 6px; flex-shrink: 0; }

/* ── Info stat card (Why Mexico grid) ── */
.gdl-card--info {
  background: #F8FAFC;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 24px;
}

/* ── Stat numbers ── */
.gdl-stat-num { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 700; color: #0F172A; }
.gdl-stat-num--green { color: #16A34A; }

/* ── Card content ── */
.gdl-card__title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #0F172A;
  margin-top: 18px;
}
.gdl-card__heading {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #0F172A;
  margin: 0;
}
.gdl-card__body {
  font-size: 14px;
  line-height: 1.6;
  color: #64748B;
  margin-top: 8px;
}
.gdl-card__body--sm { font-size: 14.5px; }

/* ── Stat number variants ── */
.gdl-stat-num--bright  { color: #22c55e; }
.gdl-stat-num--yellow  { color: #F59E0B; }
.gdl-stat-num--lg      { font-size: 30px; }

/* ── Stats card context (finance / insurance 3-stat section) ── */
.gdl-card--stat .gdl-card__heading { font-size: 16px; margin-top: 6px; }
.gdl-card--stat .gdl-card__body    { margin-top: 6px; }

/* ── Dark check list ── */
.gdl-check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 4px;
}
.gdl-check-item--sm {
  gap: 11px; border-radius: 12px; padding: 13px 15px;
}
.gdl-check-item__icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(34,197,94,.16); color: #22c55e;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.gdl-check-item--sm .gdl-check-item__icon { width: 22px; height: 22px; font-size: 12px; }
.gdl-check-item__text {
  font-family: 'Sora', sans-serif; font-size: 14.5px;
  color: #E2E8F0; font-weight: 500;
}
.gdl-check-item--sm .gdl-check-item__text { font-size: 13.5px; }

/* ── Body text ── */
.gdl-body       { font-size: 17px;   line-height: 1.75; color: #64748B; }
.gdl-body--hero { font-size: 18px;   line-height: 1.7;  color: #64748B; margin: 22px 0 0; max-width: 480px; }
.gdl-body--why  { font-size: 17px;   line-height: 1.75; color: #64748B; margin: 20px 0 0; max-width: 520px; }
.gdl-body--cta  { font-size: 17.5px; line-height: 1.7;  color: #94a3b8; margin: 20px auto 0; max-width: 580px; }
.gdl-body--muted { color: #94a3b8; }

/* ──────────────────────────────────────────
   HERO PILL / BADGE
   ────────────────────────────────────────── */
.gdl-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #94a3b8;
  margin-bottom: 28px;
}
.gdl-pill--light {
  border-color: rgba(15,23,42,.1);
  background: #fff;
  color: #475569;
  box-shadow: 0 4px 14px -8px rgba(15,23,42,.2);
  font-size: 12.5px;
  letter-spacing: .1em;
}

/* ──────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────── */
.gdl-btn {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 11px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.gdl-btn--green {
  background: #16A34A;
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(22,163,74,.5);
}
.gdl-btn--green:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -12px rgba(22,163,74,.6);
}
.gdl-btn--outline {
  color: #0F172A;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
}
.gdl-btn--outline:hover {
  transform: translateY(-2px);
  border-color: rgba(15,23,42,.26);
  box-shadow: 0 14px 28px -14px rgba(15,23,42,.25);
}
.gdl-btn--ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.gdl-btn--lg { padding: 16px 32px; }
.gdl-btn-group { display: flex; gap: 14px; margin-top: 30px; }
.gdl-btn-group--center { justify-content: center; }

/* ──────────────────────────────────────────
   CARDS
   ────────────────────────────────────────── */
.gdl-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 20px;
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gdl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px -24px rgba(15,23,42,.26);
  border-color: rgba(22,163,74,.28);
}
.gdl-card--sm {
  border-radius: 18px;
  padding: 28px;
  transition: none;
}
.gdl-card--sm:hover { transform: none; box-shadow: none; border-color: rgba(15,23,42,.07); }
.gdl-card--role  { border-radius: 22px; padding: 40px; margin-bottom: 20px; transition: none; }
.gdl-card--role:hover { transform: none; box-shadow: none; }
.gdl-card--dark {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  transition: none;
}
.gdl-card--dark:hover { transform: none; }
.gdl-card--dark-accent {
  background: rgba(22,163,74,.15);
  border-color: rgba(22,163,74,.3);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  transition: none;
}

/* ──────────────────────────────────────────
   ICONS
   ────────────────────────────────────────── */
.gdl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  font-size: 22px;
}
.gdl-icon--sm     { width: 46px; height: 46px; border-radius: 12px; font-size: 20px; }
.gdl-icon--xs     { width: 34px; height: 34px; border-radius: 9px;  font-size: 16px; }
.gdl-icon--lg     { width: 52px; height: 52px; border-radius: 14px; font-size: 24px; }
.gdl-icon--nav    { width: 40px; height: 40px; border-radius: 11px; font-size: 18px; }
.gdl-icon--nav-sm { width: 30px; height: 30px; border-radius: 8px;  font-size: 13px; }
.gdl-icon--green  { background: #DCFCE7; color: #16A34A; }
.gdl-icon--blue   { background: #E8EEF6; color: #1E293B; }
.gdl-icon--yellow { background: #FEF3C7; color: #B45309; }
.gdl-icon--indigo { background: #EFF6FF; color: #1E40AF; }

/* ──────────────────────────────────────────
   TAGS / CHIPS
   ────────────────────────────────────────── */
.gdl-tag         { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.gdl-tag--green  { background: #F1FAF5; color: #15803D; }
.gdl-tag--blue   { background: #EFF6FF; color: #1E40AF; }
.gdl-tag--yellow { background: #FEF3C7; color: #92400E; }

/* ──────────────────────────────────────────
   ROLE CELLS & STATS
   ────────────────────────────────────────── */
.gdl-role-cell {
  background: #F8FAFC;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 12px;
  padding: 14px 16px;
}
.gdl-role-cell__title { font-size: 14px;   font-weight: 600; color: #0F172A; }
.gdl-role-cell__sub   { font-size: 12.5px; color: #64748B; margin-top: 3px; }

.gdl-stat              { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 700; color: #fff; line-height: 1; }
.gdl-stat--green       { color: #22c55e; }
.gdl-stat__label       { font-size: 13px; color: #94a3b8; margin-top: 8px; line-height: 1.4; }

/* ──────────────────────────────────────────
   STEP / PROCESS
   ────────────────────────────────────────── */
.gdl-step__num {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #16A34A;
  line-height: 1;
  margin-bottom: 16px;
}
.gdl-step__title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; color: #0F172A; margin-bottom: 10px; }

/* ──────────────────────────────────────────
   GRIDS
   ────────────────────────────────────────── */
.gdl-grid-2       { display: grid; grid-template-columns: 1fr 1fr;        gap: 14px; }
.gdl-grid-2--role { display: grid; grid-template-columns: 1fr 1fr;        gap: 10px; }
.gdl-grid-3       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gdl-grid-4       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gdl-mt-grid      { margin-top: 48px; }

/* ──────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────── */
@media (max-width: 1000px) {
  html, body { overflow-x: clip; }

  /* ── Layout ── */
  .gdl-section      { padding: 64px 20px; }
  .gdl-hero         { padding: 48px 20px 64px; }
  .gdl-layout-hero,
  .gdl-layout-why   { grid-template-columns: 1fr; gap: 32px; }
  .gdl-grid-2,
  .gdl-grid-2--role { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gdl-grid-3,
  .gdl-grid-4       { grid-template-columns: 1fr; gap: 16px; }
  .gdl-btn-group    { flex-wrap: wrap; }
  .gdl-hero-img     { height: 260px; }
  .gdl-cta-card     { padding: 46px 22px; }
  .gdl-cta-glow     { width: 100%; }
  .gdl-body--hero,
  .gdl-body--why,
  .gdl-body--cta    { max-width: 100%; }
  .gdl-section-intro { max-width: 100%; }

  /* ── Hero: ocultar floating cards/stage en mobile ── */
  .gdl-home-stage   { display: none !important; }
  .gdl-layout-hero  { grid-template-columns: 1fr !important; }

  /* ── Typography ── */
  .gdl-h1 { font-size: clamp(30px, 9vw, 42px); line-height: 1.08; }
  .gdl-h2 { font-size: clamp(24px, 7vw, 34px); line-height: 1.14; }

  /* ── Process track: convierte a lista vertical ── */
  .gdl-process-track {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-top: 40px !important;
  }
  .gdl-process-progress-line,
  .gdl-process-dot { display: none !important; }
  /* línea de fondo absoluta (sin clase) */
  .gdl-process-track > div:not(.gdl-process-step):not(.gdl-process-progress-line):not(.gdl-process-dot) {
    display: none !important;
  }
  .gdl-process-step {
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    column-gap: 14px !important;
    row-gap: 4px !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(15,23,42,.07) !important;
  }
  .gdl-process-step:last-child { border-bottom: none !important; }
  .gdl-step-badge {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    align-self: start !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 17px !important;
    margin: 0 !important;
  }
  .gdl-step-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end !important;
    margin-top: 0 !important;
    font-size: 15px !important;
    text-align: left !important;
    line-height: 1.25 !important;
  }
  .gdl-process-step > div:not(.gdl-step-badge):not(.gdl-step-title) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #64748B !important;
    text-align: left !important;
    margin-top: 0 !important;
  }

  /* ── Inline-style overrides ── */
  p   { max-width: 100% !important; }
  img { max-width: 100% !important; }

  [style*="padding:118px 40px"], [style*="padding: 118px 40px"] { padding: 64px 20px !important; }
  [style*="padding:110px 40px"], [style*="padding: 110px 40px"] { padding: 64px 20px !important; }
  [style*="padding:100px 40px"], [style*="padding: 100px 40px"] { padding: 64px 20px !important; }
  [style*="padding:96px 40px"],  [style*="padding: 96px 40px"]  { padding: 60px 20px !important; }
  [style*="padding:72px 48px"],  [style*="padding: 72px 48px"]  { padding: 46px 22px !important; }
  [style*="padding:60px 40px"],  [style*="padding: 60px 40px"]  { padding: 48px 20px !important; }
  [style*="padding:24px 40px"]:not(.gdl-nav),  [style*="padding: 24px 40px"]:not(.gdl-nav)  { padding: 18px 20px !important; }

  [style*="display:grid"],       [style*="display: grid"]        { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:46px 1fr"]                      { grid-template-columns: 46px 1fr !important; }
  [style*="grid-column:span 2"], [style*="grid-column: span 2"]  { grid-column: auto !important; }

  [style*="height:560px"] { height: 320px !important; }
  [style*="height:440px"], [style*="height:430px"],
  [style*="height:420px"], [style*="height:400px"] { height: 260px !important; }
  [style*="height:230px"] { height: 180px !important; }

  [style*="display:flex"][style*="gap:56px"],
  [style*="display:flex"][style*="gap:64px"] { flex-wrap: wrap !important; gap: 24px !important; }

  [style*="left:-16px"], [style*="left:-22px"] { left: 12px !important; right: 12px !important; }
  [style*="width:520px"] { width: 100% !important; max-width: 100% !important; }
  [style*="min-height:calc(100vh - 92px)"] { min-height: auto !important; padding-bottom: 56px !important; }

}

/* ── Teléfonos pequeños (≤ 480px) ── */
@media (max-width: 480px) {
  .gdl-grid-2,
  .gdl-grid-2--role         { grid-template-columns: 1fr; gap: 12px; }
  .gdl-h1                   { font-size: clamp(26px, 9vw, 34px); }
  .gdl-h2                   { font-size: clamp(22px, 7vw, 28px); }
  .gdl-btn-group > *        { width: 100%; justify-content: center; }
  [style*="font-size:36px"] { font-size: 26px !important; }
  [style*="font-size:28px"] { font-size: 22px !important; }
  .gdl-check-item           { padding: 12px 14px; }
  .gdl-card                 { padding: 20px; }
}

/* ──────────────────────────────────────────
   BLOG
   ────────────────────────────────────────── */

/* ── Blog grid ── */
.gdl-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── Blog post card ── */
.gdl-blog-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.gdl-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px -24px rgba(15,23,42,.22);
}
.gdl-blog-card__img-wrap { display: block; overflow: hidden; flex-shrink: 0; }
.gdl-blog-card__img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.gdl-blog-card:hover .gdl-blog-card__img { transform: scale(1.04); }
.gdl-blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.gdl-blog-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gdl-blog-card__date { font-size: 13px; color: #94A3B8; }
.gdl-blog-card__title {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 18px; line-height: 1.35; color: #0F172A; margin: 0 0 12px;
}
.gdl-blog-card__excerpt { font-size: 14.5px; line-height: 1.65; color: #64748B; margin: 0 0 20px; flex: 1; }
.gdl-blog-card__read-more {
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px;
  color: #16A34A; text-decoration: none; margin-top: auto;
}
.gdl-blog-card__read-more:hover { color: #15803D; }

/* ── Featured card (full-width, two-col) ── */
.gdl-blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  flex-direction: unset;
}
.gdl-blog-card--featured .gdl-blog-card__img { height: 100%; min-height: 300px; }
.gdl-blog-card--featured .gdl-blog-card__body { padding: 40px; justify-content: center; }
.gdl-blog-card--featured .gdl-blog-card__title { font-size: 24px; }

/* ── Blog search bar ── */
.gdl-blog-search { position: relative; max-width: 480px; }
.gdl-blog-search__input {
  width: 100%; box-sizing: border-box;
  padding: 14px 48px 14px 20px;
  border: 1px solid rgba(15,23,42,.12); border-radius: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: #0F172A;
  background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.gdl-blog-search__input:focus {
  border-color: #16A34A;
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.gdl-blog-search__input::placeholder { color: #94A3B8; }
.gdl-blog-search__icon {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: #94A3B8; pointer-events: none;
}

/* ── Category filter pills ── */
.gdl-blog-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.gdl-blog-filter {
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 13px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(15,23,42,.1); background: #fff; color: #64748B;
  cursor: pointer; transition: all .2s;
}
.gdl-blog-filter.is-active,
.gdl-blog-filter:hover {
  background: #16A34A; color: #fff;
  border-color: #16A34A;
  box-shadow: 0 8px 20px -8px rgba(22,163,74,.4);
}

/* ── Article / Blog post reading view ── */
.gdl-article { max-width: 760px; margin: 0 auto; }
.gdl-article__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px;
  color: #64748B; text-decoration: none; margin-bottom: 40px;
  transition: color .2s;
}
.gdl-article__back:hover { color: #16A34A; }
.gdl-article__title {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.12;
  color: #0F172A; margin: 20px 0; letter-spacing: -.025em;
}
.gdl-article__meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; color: #64748B; flex-wrap: wrap; padding-bottom: 32px;
  border-bottom: 1px solid rgba(15,23,42,.08); margin-bottom: 40px;
}
.gdl-article__author { font-weight: 600; color: #0F172A; }
.gdl-article__cover {
  width: 100%; border-radius: 20px; object-fit: cover;
  height: 420px; display: block; margin-bottom: 48px;
}
.gdl-article__body { font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.8; color: #334155; }
.gdl-article__body h2 {
  font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 700;
  color: #0F172A; margin: 48px 0 18px; letter-spacing: -.02em;
}
.gdl-article__body h3 {
  font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700;
  color: #0F172A; margin: 36px 0 14px;
}
.gdl-article__body p { margin: 0 0 24px; }
.gdl-article__body ul { margin: 0 0 24px; padding-left: 0; list-style: none; }
.gdl-article__body ul li { padding: 5px 0 5px 22px; position: relative; }
.gdl-article__body ul li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: #16A34A;
}
.gdl-article__body strong { font-weight: 600; color: #0F172A; }
.gdl-article__body a { color: #16A34A; }
.gdl-article__body blockquote {
  border-left: 3px solid #16A34A; padding: 16px 24px; margin: 32px 0;
  background: #F1FAF5; border-radius: 0 12px 12px 0;
  font-style: italic; color: #475569;
}

/* ── Blog responsive ── */
@media (max-width: 1000px) {
  .gdl-blog-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .gdl-blog-card--featured { grid-template-columns: 1fr; }
  .gdl-blog-card--featured .gdl-blog-card__img { height: 240px; }
  .gdl-blog-card--featured .gdl-blog-card__body { padding: 24px; }
  .gdl-article__cover { height: 260px; }
  .gdl-article__body h2 { font-size: 22px; }
}
@media (max-width: 640px) {
  .gdl-blog-grid { grid-template-columns: 1fr; }
  .gdl-blog-search { max-width: 100%; }
}

/* ─── WordPress theme additions ────────────────────────────────── */
.gdl-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.1);
}

/* Mobile nav: the white bar scrolls away with the page — only the hamburger
   button stays fixed (it is position:fixed already). Overrides the sticky
   behavior defined in the MOBILE NAV block above. */
@media (max-width: 1000px) {
  .gdl-nav-wrap,
  .gdl-nav-wrap.gdl-mobile-scrolled,
  body.admin-bar .gdl-nav-wrap {
    position: relative !important;
    top: auto !important;
    /* backdrop-filter creates a containing block that would trap the
       position:fixed hamburger inside the bar — remove it (bg is 96% opaque) */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
/* WP admin bar offsets for logged-in users: on phones (<=600px) the admin bar
   scrolls away with the page, so the hamburger stays at the very top; on
   widths where the admin bar is fixed, sit right below it. */
@media (max-width: 1000px) and (min-width: 601px) {
  body.admin-bar .gdl-menu-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 60px) !important;
  }
}
@media (max-width: 1000px) and (min-width: 783px) {
  body.admin-bar .gdl-menu-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 46px) !important;
  }
}

/* Blog pagination */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  word-wrap: normal !important;
}
.gdl-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gdl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 15px;
  border-radius: 11px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  color: #334155;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gdl-pagination a.page-numbers:hover {
  transform: translateY(-2px);
  border-color: rgba(22,163,74,.4);
  box-shadow: 0 12px 26px -14px rgba(15,23,42,.3);
  color: #0F172A;
}
.gdl-pagination .page-numbers.current {
  background: #0F172A;
  border-color: #0F172A;
  color: #fff;
}
.gdl-pagination .page-numbers.dots {
  border: 0;
  background: transparent;
}

/* ─── Mobile menu: side drawer ─────────────────────────────────── */
@media (max-width: 1000px) {
  .gdl-nav-links {
    display: flex !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(340px, 86vw) !important;
    box-sizing: border-box !important;
    max-height: none !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(15,23,42,.08) !important;
    box-shadow: -30px 0 70px -28px rgba(15,23,42,.5) !important;
    padding: 84px 18px 28px !important;
    transform: translateX(105%) !important;
    transition: transform .34s cubic-bezier(.22,.7,.2,1) !important;
    pointer-events: none !important;
  }
  .gdl-nav-links.is-open {
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }
  /* hamburger morphs into an X while the drawer is open */
  .gdl-menu-toggle span {
    transition: transform .25s ease, opacity .2s ease;
  }
  .gdl-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gdl-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .gdl-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.gdl-nav-backdrop {
  position: fixed;
  inset: 0;
  /* below .gdl-nav-wrap (9998) so the drawer inside it paints on top */
  z-index: 9997;
  background: rgba(11,18,32,.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.gdl-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1001px) {
  .gdl-nav-backdrop { display: none !important; }
}
