/* ============================================================
   CLICKIE — Design System & Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&family=Raleway:wght@700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary:        #FDC400;
  --primary-dark:   #e0ac00;
  --secondary:      #20217f;
  --secondary-light:#2d2fa0;
  --accent:         #cccdff;
  --accent-soft:    #eeeeff;
  --green:          #7a8c1f;
  --orange:         #db6a00;
  --lime:           #98b518;
  --white:          #ffffff;
  --gray-50:        #f8f9fa;
  --gray-100:       #f1f3f5;
  --gray-200:       #e9ecef;
  --gray-300:       #d7dbe4;
  --gray-400:       #adb5bd;
  --gray-600:       #6c757d;
  --gray-800:       #343a40;
  --dark:           #10112a;
  --text-primary:   #13143a;
  --text-secondary: #5c607a;
  --text-muted:     #7a7f97;
  --text-body:      #4f556f;
  --bg-base:        #f8f9fa;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 96px;

  --fs-title: clamp(2.2rem, 5vw, 3.8rem);
  --fs-subtitle: clamp(1.8rem, 3.5vw, 2.8rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  --shadow-sm:  0 2px 8px rgba(32,33,127,0.08);
  --shadow-md:  0 8px 32px rgba(32,33,127,0.12);
  --shadow-lg:  0 24px 64px rgba(32,33,127,0.18);
  --shadow-glow: 0 0 40px rgba(253,196,0,0.25);

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;

  --container: 1200px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hidden { display: none !important; }
img { max-width: 100%; display: block; }
.story-image-rotator {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
}
.media-frame--wide .story-image-rotator {
  min-height: 320px;
}
.media-frame--wide .story-image-rotator--vertical {
  aspect-ratio: 3 / 4;
  max-width: 520px;
  min-height: 0;
  margin: 0 auto;
}
.story-image-rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.story-image-rotator img.is-active {
  opacity: 1;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-size: var(--fs-title); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-subtitle); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-body); font-weight: 700; line-height: 1.35; }
h4 { font-size: var(--fs-body); font-weight: 600; line-height: 1.45; }
p  { font-size: var(--fs-body); line-height: 1.75; color: var(--text-secondary); font-weight: 400; }
small { font-size: var(--fs-small); line-height: 1.6; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.section {
  padding: var(--space-10) 0;
}
.section-sm {
  padding: var(--space-8) 0;
}
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-2); }
.gap-md { gap: var(--space-3); }
.gap-lg { gap: var(--space-5); }
.section-surface-white { background: var(--white); }
.section-surface-muted { background: var(--gray-50); }
.section-surface-base { background: var(--bg-base); }
.section-compact { padding: var(--space-9) 0; }
.section-intro { margin-bottom: var(--space-6); }
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.section-divider-label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2B2E6F;
}
.section-divider-line {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.section-cta {
  margin-top: var(--space-5);
}
.section-cta .btn,
.resource-btn,
.modal-form .btn,
.hubspot-form-wrapper .hs-submit .hs-button,
#hubspot-form-container .hs-submit .hs-button,
#hubspotFormContainer .hs-submit .hs-button,
.calc-submit {
  border-radius: 999px;
}
.section-offset-top {
  background: var(--bg-base);
  padding-top: 0;
  margin-top: calc(-1 * var(--space-5));
  position: relative;
  z-index: 2;
}
.subpage-hero--flush {
  padding-bottom: 0;
}
.mb-2 { margin-bottom: var(--space-2); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.max-w-700 {
  max-width: 700px;
  margin: 0 auto;
}
.max-w-800 {
  max-width: 800px;
  margin: 0 auto;
}
.max-w-640 {
  max-width: 640px;
}
.centered-copy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.centered-copy--narrow {
  max-width: 700px;
}
.centered-copy--light {
  color: var(--white);
}
.centered-list {
  max-width: 640px;
  margin: 0 auto;
}
.text-body {
  color: var(--text-body);
}
.text-muted {
  color: var(--text-muted);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-white-soft {
  color: rgba(255,255,255,0.85);
}
.text-white-muted {
  color: rgba(255,255,255,0.6);
}
.body-copy {
  font-size: var(--fs-body);
  line-height: 1.8;
}
.body-copy + .body-copy {
  margin-top: var(--space-1);
}
.section-heading {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.section-heading--spacious {
  margin-bottom: var(--space-4);
}
.section-copy {
  font-size: var(--fs-body);
  color: var(--text-body);
  line-height: 1.8;
}
.section-copy + .section-copy {
  margin-top: var(--space-1);
}
.section-copy--muted {
  color: var(--text-muted);
}
.section-label-centered {
  display: block;
  text-align: center;
  margin-bottom: 12px;
}
.section-label-centered-primary {
  color: var(--primary);
}
.section-label-centered-success {
  color: #2ea043;
}
.section-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary), #181966);
}
.section-gradient-success {
  background: linear-gradient(135deg, #1a6e3a, #0d5c2e);
}
.actions-center-wrap {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.image-cover-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-cover-display {
  display: block;
}
.accent-link {
  color: var(--secondary);
  font-weight: 700;
}
.feature-card-placeholder {
  background: linear-gradient(135deg, #1a1e6c, #2d31a6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.12);
  font-size: var(--fs-subtitle);
}
.article-divider {
  margin: var(--space-5) 0;
  border: none;
  border-top: 2px solid var(--gray-100);
}
.article-figure {
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.article-figure img {
  width: 100%;
  height: auto;
}
.article-figure figcaption {
  padding: 12px 16px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  background: var(--gray-50);
  font-style: italic;
}
.video-embed,
.media-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: var(--space-5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.video-embed iframe,
.media-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.logo-badge {
  border-radius: 10px;
  vertical-align: bottom;
}
.navbar-logo--light {
  color: var(--white);
}
.mega-dropdown-split {
  display: flex;
  gap: 0;
}
.mega-dropdown-column--primary {
  flex: 3;
}
.mega-dropdown-column--secondary {
  flex: 1.5;
}
.mega-dropdown-divider {
  width: 1px;
  background: var(--gray-200);
  margin: 0 var(--space-3);
}
.mega-dropdown-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.mega-dropdown-grid--1col {
  grid-template-columns: 1fr;
}
.mega-dropdown-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
.mobile-sub-divider {
  height: 1px;
  background: #E5E7EB;
  border-top: 0;
  margin: 16px 0;
}
.mobile-subheading {
  display: block;
  padding: 2px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2B2E6F;
}
.surface-card {
  background: var(--white);
  border-radius: 20px;
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}
.surface-card-soft {
  background: var(--gray-50);
  border-radius: 20px;
  padding: var(--space-5);
  border: 1px solid var(--gray-100);
}
.surface-card-centered { text-align: center; }
.content-grid-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.content-grid-centered {
  max-width: 900px;
  margin: 0 auto;
}
.three-up-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.stats-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
.step-card {
  text-align: center;
}
.step-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card-icon span {
  font-size: 1.8rem;
  line-height: 1;
}
.step-card-icon :is(span, i) {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--white);
}
.step-card h3 {
  font-family: 'Raleway', 'Inter', sans-serif;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}
.step-card p {
  font-family: 'Open Sans', 'Inter', sans-serif;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-track {
  max-width: 700px;
  margin: var(--space-4) auto 0;
  position: relative;
}
.step-track-line {
  height: 3px;
  border-radius: 2px;
}
.step-track-dots {
  display: flex;
  justify-content: space-between;
  position: relative;
  top: -8px;
}
.step-track-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.checklist {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checklist-item p {
  margin: 0;
}
.checklist-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
}
.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) 20px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-family: 'Raleway', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-3);
}
.summary-chip i {
  font-size: 0.95rem;
  color: inherit;
}
.stat-card {
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
}
.stat-card-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}
.stat-card-label {
  display: block;
  font-size: var(--fs-small);
  font-family: 'Open Sans', 'Inter', sans-serif;
  color: var(--text-secondary);
  margin-top: 4px;
}
.stat-card-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: var(--space-1);
  color: #2B2E6F;
}
.stat-card-icon i {
  font-size: 1.35rem;
  color: inherit;
}
.metric-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.metric-pill {
  text-align: center;
  border-radius: 12px;
  padding: var(--space-2);
}
.metric-pill-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}
.metric-pill-label {
  font-family: 'Open Sans', 'Inter', sans-serif;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: 'Open Sans', 'Inter', sans-serif;
  color: var(--secondary);
  font-weight: 600;
  font-size: var(--fs-body);
  transition: gap var(--transition);
}
.case-study-link:hover { gap: 10px; }
.case-study-panel {
  border-radius: 20px;
  padding: var(--space-6) var(--space-5);
  color: var(--white);
  text-align: center;
}
.case-study-panel--video {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  cursor: pointer;
}
.case-study-panel--video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  display: block;
}
.case-study-panel--video .stories-video-thumb,
.case-study-panel--video .stories-video-overlay {
  border-radius: inherit;
}
.case-study-panel-title {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 1.4rem;
  margin-bottom: var(--space-2);
  color: inherit;
}
.case-study-panel-copy {
  font-family: 'Open Sans', 'Inter', sans-serif;
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
}
.case-study-panel-meta {
  margin-top: var(--space-3);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.4);
}
.case-study-panel-meta-label {
  font-size: var(--fs-small);
  font-family: 'Open Sans', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
}
.case-study-panel-meta-value {
  margin-top: 4px;
  font-family: 'Open Sans', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.media-frame {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.media-frame--narrow {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.media-frame--wide {
  max-width: 960px;
  margin: 0 auto;
}
.media-frame img {
  width: 100%;
  display: block;
}
.home-visual-filter {
  filter: saturate(0.9) contrast(1.03) brightness(0.99) sepia(0.06) hue-rotate(-4deg);
}
.media-frame--shadow-soft {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.service-score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.service-score-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 18px 18px 16px;
  box-shadow: 0 6px 18px rgba(32,33,127,0.04);
}
.service-score-card--primary { border-left: none; }
.service-score-card--secondary { border-left: none; }
.service-score-card--bms { border-left: none; }
.service-score-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Raleway', 'Inter', sans-serif;
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text-primary);
}
.service-score-card h4 i {
  color: #2B2E6F;
  font-size: 0.95rem;
}
.service-score-card p {
  margin: 0;
  font-family: 'Open Sans', 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #6B7280;
}
.resource-preview-cover {
  background: linear-gradient(135deg,#eef0ff 0%,#e0e3ff 100%);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-preview-cover img {
  max-height: 180px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(32,33,127,0.15);
}
.inline-link-accent {
  color: var(--secondary);
  font-weight: 700;
}
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--white); }
.text-accent-primary { color: #2B2E6F; }
.section-label-light { color: rgba(255,255,255,0.4); }
.section-label-soft { color: rgba(32,33,127,0.6); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.avatar-gradient-secondary { background: linear-gradient(135deg, var(--secondary), #4547c9); }
.avatar-gradient-lime { background: linear-gradient(135deg, var(--lime), var(--green)); }
.avatar-gradient-orange { background: linear-gradient(135deg, var(--orange), #e8942e); }
.step-card-icon--brand {
  background: #2B2E6F;
}
.step-card-icon--bms {
  background: #2B2E6F;
}
.step-track-line--brand {
  background: #2B2E6F;
}
.step-track-line--bms {
  background: #2B2E6F;
}
.step-track-dot--primary { background: var(--primary); }
.step-track-dot--brand {
  background: #2B2E6F;
}
.step-track-dot--secondary { background: var(--secondary); }
.step-track-dot--bms-light { background: #8f92da; }
.step-track-dot--bms {
  background: #2B2E6F;
}
.step-track-dot--bms-dark { background: #20217f; }
.checklist-icon--primary { color: var(--primary); }
.checklist-icon--secondary { color: var(--secondary); }
.checklist-icon--bms { color: #2B2E6F; }
.summary-chip--primary {
  background: var(--primary);
  color: #1F2A44;
}
.summary-chip--secondary {
  background: var(--secondary);
  color: var(--white);
}
.summary-chip--bms {
  background: #2B2E6F;
  color: var(--white);
}
.stat-card-value--primary { color: var(--primary); }
.stat-card-value--secondary { color: var(--secondary); }
.stat-card-value--bms { color: #2B2E6F; }
.media-frame--device {
  overflow: visible;
  box-shadow: none;
}
.media-frame--device img {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}
.media-frame--score {
  max-width: 420px;
  margin: 0 auto;
}
.media-frame--score img {
  filter: saturate(0.88) contrast(0.94);
}
.two-up-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.metric-pills--elevated .metric-pill {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.case-study-panel--starbucks { background: linear-gradient(135deg, #1f5a46, #173e31); }
.case-study-panel--oxxo { background: linear-gradient(135deg, #9f413d, #742928); }
.case-study-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: var(--space-2);
}
.case-study-emoji i {
  font-size: 1.85rem;
  color: var(--white);
}
.case-study-brand {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: var(--space-3);
}
.case-study-brand--oxxo {
  background: var(--white);
  color: #cc0000;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 20px rgba(253,196,0,0.3);
}
.btn-primary:hover {
  background: #ffcf33;
  color: var(--secondary);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(253,196,0,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-outline-dark:hover {
  background: rgba(32,33,127,0.08);
  color: var(--secondary);
  border-color: rgba(32,33,127,0.42);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(32,33,127,0.08);
}
.btn-lg {
  padding: 18px 36px;
  font-size: var(--fs-body);
  border-radius: var(--radius-md);
}
.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-small);
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: 500;
}
.badge-yellow {
  background: rgba(253,196,0,0.15);
  color: #a07a00;
  border: 1px solid rgba(253,196,0,0.3);
}
.badge-violet {
  background: var(--accent-soft);
  color: var(--secondary);
  border: 1px solid var(--accent);
}
.badge-green {
  background: rgba(122,140,31,0.1);
  color: var(--green);
  border: 1px solid rgba(122,140,31,0.25);
}

/* ── Section Headers ─────────────────────────────────────────── */
.section-label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2B2E6F;
  margin-bottom: var(--space-1);
  display: block;
}
.section-title {
  color: #1F2A44;
  margin-bottom: var(--space-2);
}
.section-title span {
  color: inherit;
}
.section-title .highlight {
  color: #2B2E6F;
}
.section-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(32,33,127,0.06);
  padding: 14px 0;
  box-shadow: 0 1px 8px rgba(32,33,127,0.06);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar-logo {
  display: flex;
  align-items: flex-end;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  transition: color var(--transition);
  letter-spacing: -0.01em;
}
.navbar.scrolled .navbar-logo { color: var(--secondary); }
.navbar-logo-icon {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  margin-bottom: -3px;
  object-fit: contain;
  vertical-align: baseline;
  filter: brightness(0) saturate(100%) invert(14%) sepia(60%) saturate(2800%) hue-rotate(230deg) brightness(90%) contrast(95%);
  transition: filter var(--transition);
}
.navbar-logo--light .navbar-logo-icon {
  filter: brightness(0) invert(1);
}
.navbar-logo-full {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-top: -8px;
}
.navbar-logo--light .navbar-logo-full {
  filter: brightness(0) invert(1);
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: 450;
  color: var(--text-secondary);
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--secondary); background: var(--gray-100); }
.navbar.scrolled .nav-link { color: var(--text-secondary); }
.navbar.scrolled .nav-link:hover { color: var(--secondary); background: var(--gray-100); }
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-actions .btn {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}
.navbar-actions .btn-outline {
  font-size: var(--fs-small);
  border-width: 1px;
  border-color: rgba(32,33,127,0.18);
  color: var(--text-secondary);
  background: rgba(255,255,255,0.72);
}
.navbar.scrolled .navbar-actions .btn-outline {
  border-color: rgba(32,33,127,0.18);
  color: var(--text-secondary);
}
.navbar.scrolled .navbar-actions .btn-outline:hover {
  background: var(--gray-100);
  color: var(--secondary);
  border-color: rgba(32,33,127,0.28);
  box-shadow: 0 6px 18px rgba(32,33,127,0.06);
}
.navbar-actions .btn-outline:hover {
  background: var(--gray-100);
  color: var(--secondary);
  border-color: rgba(32,33,127,0.28);
  box-shadow: 0 6px 18px rgba(32,33,127,0.06);
}
.navbar-actions .btn-primary {
  font-size: var(--fs-small);
  padding: 10px 20px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--secondary); }

/* ── Mega Dropdown ──────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.dropdown-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.mega-dropdown {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.navbar.scrolled ~ .mega-dropdown,
.navbar.scrolled .mega-dropdown {
  top: 62px;
}
.nav-dropdown.open .mega-dropdown {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.mega-dropdown-inner {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 20px 60px rgba(32,33,127,0.15), 0 0 0 1px rgba(32,33,127,0.06);
  padding: 28px 32px 32px;
  overflow: hidden;
}

.mega-dropdown-layout {
  display: grid;
  align-items: start;
  gap: 36px;
}
.mega-dropdown-layout--3col {
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr) minmax(0, 1fr);
}
.mega-dropdown-layout--2col {
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
}
.mega-dropdown-sidebar {
  background: linear-gradient(135deg, #f5f5ff 0%, #f0f2ff 100%);
  border-radius: 20px;
  padding: 24px;
  min-height: 100%;
}
.mega-dropdown-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2B2E6F;
  margin-bottom: 12px;
}
.mega-dropdown-title {
  font-size: 1.3rem;
  line-height: 1.18;
  font-weight: 700;
  color: #1F2A44;
  margin: 0 0 10px;
}
.mega-dropdown-subtitle {
  font-size: 0.9375rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}
.mega-dropdown-section {
  min-width: 0;
}
.mega-dropdown-section-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2B2E6F;
  margin-bottom: 8px;
}
.mega-dropdown-section-copy {
  font-size: 0.875rem;
  color: #6B7280;
  margin: 0 0 18px;
  line-height: 1.5;
}
.mega-dropdown-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.mega-dropdown-items--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega-dropdown-items--stories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(229,231,235,0.92);
  border-radius: 16px;
  background: #FFFFFF;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.mega-item:hover {
  background: rgba(43,46,111,0.03);
  border-color: rgba(43,46,111,0.16);
  box-shadow: 0 10px 24px rgba(19,20,58,0.05);
  transform: translateY(-1px);
}
.mega-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,46,111,0.06);
  border: 1px solid rgba(43,46,111,0.08);
  color: #2B2E6F;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.mega-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.mega-item-content strong {
  font-size: 0.96rem;
  font-weight: 600;
  color: #1F2A44;
  transition: color var(--transition);
}
.mega-item:hover .mega-item-content strong {
  color: #2B2E6F;
}
.mega-item-content span {
  font-size: 0.8125rem;
  color: #6B7280;
  line-height: 1.5;
}
.mega-item--story {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.mega-item-logo-wrap {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-item-logo {
  width: auto;
  height: 24px;
  max-width: 118px;
  object-fit: contain;
}
.mega-item-logo--starbucks { height: 38px; }
.mega-item-logo--lipigas { height: 38px; }
.mega-item-logo--tattersall { height: 22px; }
.mega-item-logo--copec { height: 18px; }
.mega-item-logo--preunic { height: 32px; }
.mega-item-logo--oxxo { height: 22px; }
.mega-item-logo--la-araucana { height: 28px; }
.mega-item--story .mega-item-content span {
  max-width: 22ch;
}
.mega-dropdown-footer-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2B2E6F;
  transition: gap var(--transition);
}
.mega-dropdown-footer-link:hover {
  color: #20217f;
}
.mega-dropdown--services,
.mega-dropdown--compact {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  right: auto;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateY(-8px);
}
.nav-dropdown.open .mega-dropdown--services,
.nav-dropdown.open .mega-dropdown--compact {
  transform: translateY(0);
}
.mega-dropdown--services .mega-dropdown-inner,
.mega-dropdown--compact .mega-dropdown-inner {
  padding: 24px 28px 26px;
  background: #FAFAFB;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.mega-dropdown--services .mega-dropdown-inner {
  max-width: 860px;
}
/* ── Services Full-Width Dropdown ──────────────── */
.mega-dropdown--services-full {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.navbar.scrolled ~ .mega-dropdown--services-full,
.navbar.scrolled .mega-dropdown--services-full {
  top: 62px;
}
.nav-dropdown.open .mega-dropdown--services-full {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}
.mega-dropdown--services-full .mega-dropdown-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 36px 32px;
  background: #FAFAFB;
  border: 1px solid #E5E7EB;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.mega-dropdown-layout--services-full {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.mega-dropdown--services-full .mega-dropdown-section-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2B2E6F;
  margin-bottom: 4px;
}
.mega-dropdown--services-full .mega-dropdown-section-copy {
  font-size: 0.85rem;
  color: #6B7280;
  margin: 0 0 16px;
  line-height: 1.5;
}
.mega-dropdown--services-full .mega-dropdown-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mega-dropdown--services-full .mega-dropdown-section:last-child .mega-dropdown-items {
  grid-template-columns: 1fr;
}
.mega-dropdown--services-full .mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(229,231,235,0.9);
  border-radius: 14px;
  background: #FFFFFF;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-height: auto;
}
.mega-dropdown--services-full .mega-item:hover {
  background: rgba(43,46,111,0.03);
  border-color: rgba(43,46,111,0.16);
  box-shadow: 0 8px 20px rgba(19,20,58,0.06);
}
.mega-dropdown--services-full .mega-item-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,46,111,0.07);
  color: #2B2E6F;
  font-size: 1rem;
  flex-shrink: 0;
}
.mega-dropdown--services-full .mega-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mega-dropdown--services-full .mega-item-content strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1F2A44;
  white-space: nowrap;
}
.mega-dropdown--services-full .mega-item-content span {
  font-size: 0.8rem;
  color: #6B7280;
  line-height: 1.45;
}
.mega-dropdown--historias .mega-dropdown-inner {
  max-width: 620px;
}
.mega-dropdown--recursos .mega-dropdown-inner {
  max-width: 640px;
}
.mega-dropdown--nosotros .mega-dropdown-inner {
  max-width: 340px;
  padding-top: 18px;
  padding-bottom: 22px;
}
.mega-dropdown-layout--services {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 48px;
}
.mega-dropdown-layout--compact-2col,
.mega-dropdown-layout--stories-simple {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 56px;
}
.mega-dropdown-layout--compact-1col {
  grid-template-columns: minmax(220px, 1fr);
  gap: 0;
}
.mega-dropdown--services .mega-dropdown-items,
.mega-dropdown--compact .mega-dropdown-items {
  gap: 12px;
}
.mega-dropdown--services .mega-dropdown-section-title,
.mega-dropdown--compact .mega-dropdown-section-title {
  margin-bottom: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}
.mega-dropdown--services .mega-item,
.mega-dropdown--compact .mega-item {
  position: relative;
  gap: 12px;
  min-height: auto;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}
.mega-dropdown--services .mega-item:hover,
.mega-dropdown--compact .mega-item:hover {
  background: rgba(32,33,127,0.06);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
.mega-dropdown--services .mega-item::before,
.mega-dropdown--compact .mega-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.18s ease;
}
.mega-dropdown--services .mega-item-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(43,46,111,0.06);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease;
}
.mega-dropdown--compact .mega-item-icon {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.mega-dropdown--services .mega-item-content,
.mega-dropdown--compact .mega-item-content {
  gap: 2px;
}
.mega-dropdown--services .mega-item-content strong,
.mega-dropdown--compact .mega-item-content strong {
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.mega-dropdown--services .mega-item-content span,
.mega-dropdown--compact .mega-item-content span {
  display: none;
}
.mega-dropdown--services .mega-item--active,
.mega-dropdown--compact .mega-item--active {
  background: #20217f;
}
.mega-dropdown--services .mega-item--active::before,
.mega-dropdown--compact .mega-item--active::before {
  background: transparent;
}
.mega-dropdown--services .mega-item--active .mega-item-icon,
.mega-dropdown--services .mega-item--active .mega-item-content strong,
.mega-dropdown--compact .mega-item--active .mega-item-icon,
.mega-dropdown--compact .mega-item--active .mega-item-content strong {
  color: #FFFFFF;
}
.mega-dropdown-items--stories-simple {
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  justify-items: center;
  align-items: center;
  gap: 24px 28px;
}
.mega-item--story-logo {
  justify-content: center;
  align-items: center;
  padding: 8px;
  min-width: 0;
}
.mega-item--story-logo .mega-item-logo-wrap {
  width: auto;
  min-height: 28px;
  justify-content: center;
}
.mega-item--story-logo .mega-item-logo {
  height: 24px;
  max-width: 110px;
  opacity: 0.7;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mega-item--story-logo .mega-item-logo--starbucks { height: 38px; }
.mega-item--story-logo .mega-item-logo--lipigas { height: 38px; }
.mega-item--story-logo .mega-item-logo--preunic { height: 32px; }
.mega-item--story-logo .mega-item-logo--copec { height: 18px; }
.mega-item--story-logo .mega-item-logo--la-araucana { height: 28px; }
.mega-item--story-logo:hover .mega-item-logo,
.mega-item--story-logo.mega-item--active .mega-item-logo {
  opacity: 1;
}
.mega-item--story-logo:hover .mega-item-logo {
  transform: scale(1.05);
}
.mega-item--story-logo.mega-item--active {
  background: rgba(32,33,127,0.08);
}
.mega-item--story-logo.mega-item--active::before {
  background: #20217f;
}
.mega-item--story-logo.mega-item--active .mega-item-logo-wrap {
  min-height: 28px;
}

/* ── Mega dropdown overlay ─── */
.mega-dropdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mega-dropdown-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Mobile menu sections ─── */
.mobile-recursos-toggle,
.mobile-historias-toggle,
.mobile-servicios-toggle,
.mobile-nosotros-toggle,
.menu-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  font-size: 20px;
  font-weight: 600;
  color: #2B2E6F;
  cursor: pointer;
  text-align: left;
}
.mobile-recursos-toggle .dropdown-chevron,
.mobile-historias-toggle .dropdown-chevron,
.mobile-servicios-toggle .dropdown-chevron,
.mobile-nosotros-toggle .dropdown-chevron,
.menu-chevron {
  transition: transform 0.2s ease;
  font-size: 0.875rem;
  color: #6B7280;
}
.mobile-recursos-toggle.open .dropdown-chevron,
.mobile-historias-toggle.open .dropdown-chevron,
.mobile-servicios-toggle.open .dropdown-chevron,
.mobile-nosotros-toggle.open .dropdown-chevron {
  transform: rotate(180deg);
}
.mobile-recursos-sub,
.mobile-historias-sub,
.mobile-servicios-sub,
.mobile-nosotros-sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0 2px;
  margin-bottom: 24px;
}
.mobile-recursos-sub.open,
.mobile-historias-sub.open,
.mobile-servicios-sub.open,
.mobile-nosotros-sub.open {
  display: flex;
}
.mobile-recursos-sub a,
.mobile-historias-sub a,
.mobile-servicios-sub a,
.mobile-nosotros-sub a,
.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  border-radius: 14px;
  font-size: 16px;
  color: #4B5563;
  transition: background var(--transition), color var(--transition);
}
.mobile-recursos-sub a:hover,
.mobile-historias-sub a:hover,
.mobile-servicios-sub a:hover,
.mobile-nosotros-sub a:hover,
.menu-item:hover {
  color: #2B2E6F;
  background: rgba(43,46,111,0.05);
}
.mobile-recursos-sub a.active,
.mobile-historias-sub a.active,
.mobile-servicios-sub a.active,
.mobile-nosotros-sub a.active,
.menu-item.active {
  background: rgba(43,46,111,0.08);
  color: #2B2E6F;
}
.mobile-sub-icon,
.menu-item-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #2B2E6F;
  flex-shrink: 0;
}
.menu-section {
  margin-bottom: 24px;
}
.menu-link-primary {
  margin-bottom: 8px;
}
.menu-link-secondary {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 500;
  color: #6B7280;
}
.menu-link-secondary:hover {
  color: #2B2E6F;
}
.menu-cta {
  margin-top: 24px;
}
.menu-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, #ffffff 0%, #f5f6ff 40%, #eef0ff 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--space-9);
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
}
.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: float1 8s ease-in-out infinite;
}
.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -150px;
  left: -100px;
  animation: float2 10s ease-in-out infinite;
}
.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: #c5c7ff;
  top: 30%;
  left: 30%;
  animation: float1 12s ease-in-out infinite reverse;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.08); }
}

/* Grid pattern overlay — removed for cleaner look */

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: var(--space-8);
  width: 100%;
  position: relative;
  z-index: 1;
  padding: var(--space-8) 0;
}
.hero-content {
  color: var(--text-primary);
  max-width: 560px;
}
.hero-title {
  color: #1F2A44;
  margin-bottom: var(--space-4);
  max-width: 11.5ch;
  line-height: 1.06;
}
.hero-title-accent {
  color: #2B2E6F;
}
.hero-title .accent-yellow {
  color: #20217f;
}
.hero-title-secondary {
  display: block;
  margin-top: 0.22em;
  font-size: 0.82em;
  font-weight: 400;
  line-height: 1.18;
}
.hero-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  max-width: 42ch;
  line-height: 1.8;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.hero-actions .btn {
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  justify-content: center;
}
.hero-actions .btn-outline-dark {
  border-width: 1px;
  border-color: rgba(32,33,127,0.18);
  color: var(--text-secondary);
  background: rgba(255,255,255,0.72);
}
.hero-actions .btn-outline-dark:hover {
  background: rgba(32,33,127,0.08);
  color: var(--secondary);
  border-color: rgba(32,33,127,0.28);
  box-shadow: 0 6px 18px rgba(32,33,127,0.06);
}
.hero-actions .btn-primary {
  border: 2px solid transparent;
}
.hero-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: visible;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(43,46,111,0.05));
  pointer-events: none;
  z-index: 1;
}
.hero-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(32,33,127,0.12), 0 0 40px rgba(32,33,127,0.04);
  animation: imgFloat 6s ease-in-out infinite;
}
.hero-image-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: saturate(0.9) contrast(1.03) brightness(0.99) sepia(0.06) hue-rotate(-4deg);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.hero-image-slide.is-active {
  opacity: 1;
}
@keyframes imgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-image-badge {
  position: absolute;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.58);
  padding: 12px 16px;
  box-shadow: 0 16px 36px rgba(32,33,127,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--text-primary);
  animation: badgeFloat 4s ease-in-out infinite;
  z-index: 2;
}
.hero-image-badge.badge-1 {
  bottom: 10%;
  left: -5%;
  animation-delay: 0s;
}
.hero-image-badge.badge-2 {
  top: 16%;
  right: -2%;
  animation-delay: 1.5s;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(32,33,127,0.07);
  color: var(--secondary);
  border: 1px solid rgba(32,33,127,0.08);
  position: relative;
  flex-shrink: 0;
}
.badge-icon--clickie::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-left-color: transparent;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  transform: rotate(18deg);
}
.badge-icon--clickie::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  top: 13px;
  left: 20px;
  box-shadow: -9px 9px 0 -1px rgba(32,33,127,0);
}
.badge-text-small {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  font-weight: 400;
}

:is(.services, .metrics, .testimonials, .resources, .about, .contact, .cta-banner) {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.clients {
  padding: var(--space-6) 0;
}
.services-header,
.testimonials-header,
.resources-header {
  margin-bottom: var(--space-6);
}
.metrics {
  padding-top: var(--space-8);
}
.metrics-subtitle {
  margin-bottom: var(--space-6);
}
.about-inner,
.contact-inner {
  gap: var(--space-8);
}
.about-pillars {
  margin-top: var(--space-4);
}
.cta-banner p,
.contact-info > p {
  margin-bottom: var(--space-4);
}

/* Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.22fr) minmax(0, 0.72fr) minmax(0, 1.01fr);
  gap: 0;
  border-top: 1px solid rgba(32,33,127,0.08);
  padding-top: var(--space-7);
  margin-top: var(--space-2);
}
.hero-stat {
  position: relative;
  min-width: 0;
  padding: 0 var(--space-5);
  display: grid;
  grid-template-rows: 34px 30px minmax(0, auto);
  align-items: center;
  justify-content: center;
  text-align: center;
  row-gap: 12px;
}
.hero-stat::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 72px;
  background: rgba(32,33,127,0.08);
  transform: translateY(-50%);
}
.hero-stat:last-child::after { display: none; }
.hero-stat-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: end;
}
.hero-stat-icon {
  font-size: 1.55rem;
  color: rgba(32,33,127,0.66);
  line-height: 1;
}
.hero-stat-value {
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  line-height: 1;
  white-space: nowrap;
  align-self: center;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  width: 100%;
  max-width: 14ch;
  line-height: 1.5;
  justify-self: center;
}
.hero-stat:nth-child(2) {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}
.hero-stat:nth-child(3) {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}
.hero-stats--countries {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
  border-top: none;
}
.hero-stat--country {
  padding: 0 var(--space-2);
  grid-template-rows: 34px minmax(0, auto);
  row-gap: 14px;
}
.hero-stat--country::after {
  display: none;
}
.hero-stat--country .hero-stat-heading {
  align-self: center;
}
.hero-stat--country .hero-stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: #2B2E6F;
  max-width: 10ch;
  line-height: 1.35;
}

/* ════════════════════════════════════════════════════════════
   CLIENTS STRIP
════════════════════════════════════════════════════════════ */
.clients {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2B2E6F;
  margin-bottom: 32px;
}
.clients-track-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.clients-track-wrapper:last-child {
  margin-bottom: 0;
}
.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--gray-50), transparent);
}
.clients-track-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--gray-50), transparent);
}
.clients-track {
  display: flex;
  gap: 48px;
  animation: scrollClients 40s linear infinite;
  width: max-content;
  align-items: center;
}
.clients-track.reverse {
  animation: scrollClientsReverse 40s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollClientsReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 130px;
  min-width: 130px;
  opacity: 1;
  filter: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: var(--fs-body);
  font-weight: 800;
  color: var(--gray-600);
  letter-spacing: -0.01em;
  padding: 8px 12px;
  border-radius: 10px;
  background: transparent;
  cursor: default;
}
.client-logo:hover {
  opacity: 1;
  background: rgba(26,30,108,0.04);
}
.client-logo img {
  height: auto;
  width: auto;
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.logo-img-h40 {
  height: 50px;
  max-height: none;
}
.logo-img-h40-free {
  height: 65px;
  max-height: none;
  max-width: none;
}
.logo-img-max-36-120 {
  max-height: 36px;
  max-width: 120px;
}
.client-logo .logo-img-max-32-90 {
  max-height: 30px;
  max-width: 80px;
}
.client-logo .logo-img-max-26-70 {
  max-height: 24px;
  max-width: 65px;
}
.client-logo .logo-img-max-26-80 {
  max-height: 34px;
  max-width: 90px;
}
.logo-img-max-34-110 {
  max-height: 34px;
  max-width: 110px;
}
.logo-img-max-30-110 {
  max-height: 44px;
  max-width: 140px;
}
.logo-img-max-22-110 {
  max-height: 22px;
  max-width: 110px;
}
.logo-img-max-34-100 {
  max-height: 34px;
  max-width: 100px;
}
.logo-img-max-36-110 {
  max-height: 36px;
  max-width: 110px;
}
.client-logo .logo-img-h70 {
  height: 90px;
  max-height: none;
  max-width: none;
  mix-blend-mode: normal;
}
.client-logo .logo-img-itau {
  height: 36px;
}
.client-logo .logo-img-weir {
  max-height: 26px;
  max-width: 80px;
}
.client-logo .logo-img-enex {
  max-height: 28px;
  max-width: 90px;
}
.client-logo .logo-img-ecer {
  max-height: 32px;
  max-width: 100px;
}
.client-logo .logo-img-imelsa {
  height: 40px;
}
.client-logo .logo-img-salcobrand {
  height: 40px;
}

/* ════════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════════ */
.services {
  background: var(--white);
}
.services-header {
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.services-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
.services-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(229,231,235,0.9);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(19,20,58,0.05);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(43,46,111,0.24);
  box-shadow: 0 16px 30px rgba(19,20,58,0.08);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #2B2E6F;
  background: #f5f6fa;
  border: 1px solid #e5e7eb;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.service-icon i {
  line-height: 1;
}
.service-icon.yellow,
.service-icon.violet,
.service-icon.green,
.service-icon.lime,
.service-icon.orange {
  background: #f5f6fa;
}
.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 16px;
  color: #1F2A44;
  max-width: 18ch;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 20px;
  max-width: 27ch;
  line-height: 1.5;
}
.service-copy-primary,
.service-copy-secondary {
  display: block;
}
.service-copy-primary {
  color: #1F2A44;
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.service-copy-secondary {
  color: #9CA3AF;
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.68;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--secondary);
  margin-top: auto;
  transition: gap var(--transition), text-decoration-color var(--transition);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
.service-link:hover {
  gap: 10px;
  text-decoration-color: currentColor;
}
.service-saving {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 100px;
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════════════ */
.how {
  background: linear-gradient(135deg, #f8f8ff 0%, #f0f2ff 100%);
}
.how-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}
.how-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.step-number {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  box-shadow: 0 0 0 8px rgba(253,196,0,0.1);
  transition: all var(--transition);
}
.how-step:hover .step-number {
  background: var(--primary);
  box-shadow: 0 0 0 12px rgba(253,196,0,0.15), var(--shadow-glow);
}
.how-step h3 {
  font-size: var(--fs-body);
  margin-bottom: 10px;
  color: var(--text-primary);
}
.how-step p  { font-size: var(--fs-body); }

/* ════════════════════════════════════════════════════════════
   VIDEO SECTION
════════════════════════════════════════════════════════════ */
.video-section {
  background: var(--gray-50);
  text-align: center;
}
.video-section .section-title {
  margin-bottom: 8px;
}
.video-section .section-subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--gray-500);
  font-size: var(--fs-body);
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 30, 108, 0.12);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.video-wrapper:hover .video-thumbnail {
  transform: scale(1.03);
}
.video-wrapper.has-thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  transition: background 0.3s ease;
}
.video-wrapper.has-thumbnail:hover::after {
  background: rgba(0, 0, 0, 0.35);
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #FFC107;
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1e6c;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}
.video-play-btn svg {
  width: 32px;
  height: 32px;
}
.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.5);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ════════════════════════════════════════════════════════════
   METRICS / IMPACT
════════════════════════════════════════════════════════════ */
.metrics {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-top: var(--space-8);
}
.metrics-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.metrics .section-label-light {
  color: #2B2E6F;
}
.metrics-title {
  color: #1F2A44;
  margin-bottom: var(--space-2);
}
.metrics-subtitle {
  color: var(--text-muted);
  font-weight: 400;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.metrics-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-stats--ubm {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.ubm-results {
  margin-top: var(--space-6);
}
.ubm-results .section-title {
  margin-bottom: var(--space-3);
}
.hero-stats--ubm .hero-stat {
  padding: 0 var(--space-4);
}
.hero-stats--ubm .hero-stat::after {
  display: none;
}
.hero-stats--ubm .hero-stat-icon {
  color: rgba(32,33,127,0.66);
}
.hero-stats--ubm .hero-stat-value {
  color: #1F2A44;
}
.metric-card {
  position: relative;
  min-width: 0;
  padding: 0 var(--space-5);
  display: grid;
  grid-template-rows: 34px 30px minmax(0, auto);
  align-items: center;
  justify-content: center;
  justify-items: center;
  text-align: center;
  row-gap: 12px;
}
.metric-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.metric-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 72px;
  background: rgba(32,33,127,0.08);
  transform: translateY(-50%);
}
.metric-card:last-child::after { display: none; }
.metric-icon {
  font-size: 1.55rem;
  color: rgba(32,33,127,0.66);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.metric-value {
  font-size: 1.48rem;
  font-weight: 800;
  color: #2B2E6F;
  line-height: 1;
  display: block;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  width: 100%;
  max-width: 14ch;
  line-height: 1.5;
}
.metric-flag {
  width: 40px;
  height: 28px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(32,33,127,0.1);
}
.metric-flag--chile {
  background:
    linear-gradient(#0039a6, #0039a6) top left / 40% 50% no-repeat,
    linear-gradient(to bottom, #ffffff 0 50%, #d52b1e 50% 100%);
}
.metric-flag--argentina {
  background: linear-gradient(to bottom, #74c0e3 0 33.33%, #ffffff 33.33% 66.66%, #74c0e3 66.66% 100%);
}
.metric-flag--bolivia {
  background: linear-gradient(to bottom, #d52b1e 0 33.33%, #f7d117 33.33% 66.66%, #007934 66.66% 100%);
}
.metric-flag--peru {
  background: linear-gradient(to right, #d91023 0 33.33%, #ffffff 33.33% 66.66%, #d91023 66.66% 100%);
}
.metric-flag--mexico {
  background: linear-gradient(to right, #006847 0 33.33%, #ffffff 33.33% 66.66%, #ce1126 66.66% 100%);
}
.metric-country {
  font-size: 1rem;
  font-weight: 500;
  color: #2B2E6F;
  line-height: 1.35;
  width: 100%;
  max-width: 10ch;
}
.metric-card:nth-child(2) {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}
.metric-card:nth-child(3) {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

/* ════════════════════════════════════════════════════════════
   SUCCESS STORIES
════════════════════════════════════════════════════════════ */
.stories {
  background: var(--white);
}
.stories-header {
  text-align: center;
  margin-bottom: 64px;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stories-video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.stories-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.stories-video-container iframe,
.stories-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stories-video-thumb {
  object-fit: cover;
  object-position: center;
}
.stories-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.stories-video-container:hover .stories-video-overlay {
  background: rgba(255,255,255,0.1);
}
.stories-video-play {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,198,0,0.5);
  transition: transform 0.3s;
}
.stories-video-container:hover .stories-video-play {
  transform: scale(1.1);
}
.stories-video-container.is-playing {
  cursor: default;
}
.stories-logo-overlay {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  justify-items: center;
  align-items: center;
  width: 100%;
  column-gap: 28px;
  padding: 18px 32px;
  margin: 0 0 24px;
  background: transparent;
  border-radius: 18px;
}
.stories-logo {
  opacity: 1;
  filter: none;
  transition: transform 0.3s ease;
  object-fit: contain;
  width: auto;
  max-width: 132px;
  justify-self: center;
}
.stories-logo:hover {
  transform: translateY(-1px);
}
.stories-logo--h40 { height: 44px; }
.stories-logo--h34 { height: 40px; }
.stories-logo--h30 { height: 38px; }
.stories-logo--h28 { height: 36px; }
.stories-logo--h22 { height: 36px; }
.story-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  border: 1.5px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.story-card.featured {
  background: linear-gradient(135deg, var(--secondary) 0%, #181966 100%);
  border-color: transparent;
  color: var(--white);
  grid-row: span 2;
}
.story-client {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.story-card.featured .story-client { color: var(--primary); }
.story-tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--secondary);
}
.story-card.featured .story-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}
.story-result {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.story-card.featured .story-result { color: var(--primary); }
.story-desc {
  font-size: var(--fs-body);
  line-height: 1.7;
}
.story-card.featured .story-desc { color: rgba(255,255,255,0.65); }
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--secondary);
  margin-top: auto;
  transition: gap var(--transition);
}
.story-card.featured .story-link { color: var(--primary); }
.story-link:hover { gap: 10px; }
.story-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.story-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.75);
}
.story-result-icon {
  width: 32px;
  height: 32px;
  background: rgba(253,196,0,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   ABOUT / WHAT IS CLICKIE
════════════════════════════════════════════════════════════ */
.about {
  background: linear-gradient(135deg, #f8f8ff 0%, #f0f2ff 100%);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.about-inner > :only-child {
  grid-column: 1 / -1;
  max-width: 760px;
}
.about-content .section-label { text-align: left; }
.about-content {
  max-width: 640px;
}
.about-content h2 { margin-bottom: var(--space-3); }
.about-content p  {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 44px;
}
.about-pillar {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 24px rgba(19,20,58,0.05);
  transition: all var(--transition);
}
.about-pillar:hover {
  border-color: rgba(43,46,111,0.24);
  box-shadow: 0 14px 28px rgba(19,20,58,0.08);
  transform: translateY(-2px);
}
.pillar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.pillar-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2B2E6F;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.pillar-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: #1F2A44;
  margin-bottom: 0;
}
.pillar-desc  {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.about-visual {
  position: relative;
}
.about-map {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-200);
}
.about-map-title {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.country-chip {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--secondary);
  transition: all var(--transition);
}
.country-chip:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.country-flag { font-size: 1.1rem; display: block; margin-bottom: 4px; }
.about-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--secondary), #2d2fa0);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: white;
}
.total-label { font-size: var(--fs-small); opacity: 0.7; }
.total-value { font-size: 1.6rem; font-weight: 800; color: var(--primary); }

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--white);
  overflow: hidden;
}
.testimonials-header {
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-stars {
  color: var(--primary);
  font-size: var(--fs-body);
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.author-name {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}
.author-role  {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

/* ════════════════════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════════════════════ */
.cta-banner {
  background: #2B2E6F;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
                    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner .section-label-soft { color: rgba(255,255,255,0.68); }
.cta-banner h2 { color: #FFFFFF; margin-bottom: 16px; }
.cta-banner p {
  color: rgba(255,255,255,0.82);
  font-size: var(--fs-body);
}
.cta-banner h2 {
  font-family: 'Raleway', 'Inter', sans-serif;
}
.cta-banner p {
  font-family: 'Open Sans', 'Inter', sans-serif;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn {
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}
.cta-actions .btn-primary {
  background: #FDC400;
  color: #1F2A44;
  border: none;
  box-shadow: none;
}
.cta-actions .btn-primary:hover {
  background: #ffd24a;
  color: #1F2A44;
  transform: translateY(-1px);
  box-shadow: none;
}
.cta-actions .btn-outline-dark {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.92);
}
.cta-actions .btn-outline-dark:hover {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════ */
.contact {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  display: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-info {
  color: var(--text-primary);
  max-width: 640px;
}
.contact-info .section-label-light { color: rgba(31,42,68,0.55); }
.contact-info h2 {
  margin-bottom: 16px;
  color: #1F2A44;
}
.contact-info h2.text-white { color: #1F2A44; }
.contact-info h2 .text-accent-primary { color: #2B2E6F; }
.contact-info > p {
  color: var(--text-secondary);
  max-width: 34ch;
  margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-secondary);
  font-size: var(--fs-body);
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(43,46,111,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
  color: rgba(43,46,111,0.82);
}
.contact-detail-text strong {
  display: block;
  color: #1F2A44;
  font-size: var(--fs-body);
  margin-bottom: 2px;
}

.contact-form {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 18px 40px rgba(19,20,58,0.08);
}
.form-title {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1F2A44;
  margin-bottom: 20px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: var(--fs-small); font-weight: 600; color: var(--text-primary); }
.form-input,
.form-select,
.form-textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: inherit;
  font-size: var(--fs-body);
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(32,33,127,0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(122,140,31,0.08);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(122,140,31,0.2);
  color: var(--green);
  font-weight: 600;
  font-size: var(--fs-body);
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  background: #4B5563;
  color: #FFFFFF;
  padding: 72px 0 32px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 320px) repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .navbar-logo {
  margin-bottom: 16px;
  color: #FFFFFF;
}
.footer-brand p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.58;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.82);
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.82);
  font-size: 1.125rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link i {
  line-height: 1;
}
.social-link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  color: #FFFFFF;
}
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
}
.footer-link:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
}
.footer-legal a:hover { color: #FFFFFF; }

/* ════════════════════════════════════════════════════════════
   RESOURCES SECTION
════════════════════════════════════════════════════════════ */
.resources {
  background: linear-gradient(135deg, #f8f8ff 0%, #f0f2ff 100%);
}
.resources-header {
  text-align: center;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.resource-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.resource-preview {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.resource-preview-photo {
  padding: 0;
  height: auto;
  aspect-ratio: 8 / 3;
  background: #eef1f7;
}
.resource-preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.03) brightness(0.99) sepia(0.06) hue-rotate(-4deg);
}
.resource-preview-cover img {
  filter: saturate(0.9) contrast(1.03) brightness(0.99) sepia(0.06) hue-rotate(-4deg);
}
.resource-preview-photo--survey img {
  object-position: center 74%;
}
.resource-preview.yellow { background: linear-gradient(135deg, rgba(253,196,0,0.12), rgba(253,196,0,0.05)); }
.resource-preview.violet { background: linear-gradient(135deg, rgba(32,33,127,0.08), rgba(32,33,127,0.03)); }
.resource-preview.green  { background: linear-gradient(135deg, rgba(122,140,31,0.1), rgba(122,140,31,0.04)); }
.resource-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.resource-tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}
.resource-tag.guide   { background: rgba(253,196,0,0.15); color: #a07a00; }
.resource-tag.case    { background: rgba(32,33,127,0.08); color: var(--secondary); }
.resource-tag.tool    { background: rgba(122,140,31,0.1); color: var(--green); }
.resource-card h3 {
  font-size: var(--fs-body);
  margin-bottom: 10px;
  color: var(--text-primary);
}
.resource-card p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex: 1;
}
.resource-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  background: var(--secondary);
  color: var(--white);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-align: center;
  justify-content: center;
}
.resource-btn:hover {
  background: var(--secondary-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(32,33,127,0.18);
}
.resource-btn.outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.resource-btn.outline:hover {
  background: rgba(32,33,127,0.08);
  color: var(--secondary);
  border-color: rgba(32,33,127,0.42);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(32,33,127,0.08);
}

/* ════════════════════════════════════════════════════════════
   LEAD CAPTURE MODAL
════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16,17,42,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-600);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--gray-200);
  color: var(--text-primary);
}
.modal-title {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-form .form-input {
  width: 100%;
}
.modal-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.modal-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.modal-success.show { display: block; }
.modal-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.modal-success .success-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.modal-success .success-text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

/* ════════════════════════════════════════════════════════════
   SUBPAGE LAYOUTS
════════════════════════════════════════════════════════════ */
.subpage-hero {
  background: #FFFFFF;
  padding: calc(var(--space-10) + var(--space-5)) 0 var(--space-9);
  position: relative;
  overflow: hidden;
  color: #1F2A44;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(241,243,245,0.55) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.subpage-hero .container { position: relative; z-index: 1; }
.subpage-hero .breadcrumb {
  font-size: var(--fs-small);
  font-family: 'Open Sans', 'Inter', sans-serif;
  color: rgba(31,42,68,0.58);
  margin-bottom: 20px;
}
.subpage-hero .breadcrumb a {
  color: rgba(31,42,68,0.58);
  transition: color var(--transition);
}
.subpage-hero .breadcrumb a:hover { color: #2B2E6F; }
.subpage-hero h1 {
  font-family: 'Raleway', 'Inter', sans-serif;
  font-size: var(--fs-title);
  color: #1F2A44;
  margin-bottom: 16px;
  max-width: 16ch;
}
.subpage-hero h1 .accent { color: #2B2E6F; }
.subpage-hero .hero-desc {
  font-family: 'Open Sans', 'Inter', sans-serif;
  color: #6B7280;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.subpage-hero .hero-metric {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(43,46,111,0.06);
  border: 1px solid rgba(43,46,111,0.1);
  border-radius: 100px;
  padding: 10px 20px;
}
.subpage-hero .hero-metric-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.subpage-hero .hero-metric-value i {
  font-size: 1.1rem;
  color: var(--primary);
}
.subpage-hero .hero-metric-label {
  font-size: var(--fs-small);
  font-family: 'Open Sans', 'Inter', sans-serif;
  color: #6B7280;
}
.subpage-hero .hero-metric--kpi {
  display: grid;
  justify-items: start;
  align-items: start;
  gap: 8px;
  margin-top: 28px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.subpage-hero .hero-metric--kpi .hero-metric-value {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}
.subpage-hero .hero-metric--kpi .hero-metric-label {
  display: block;
  max-width: 18ch;
  line-height: 1.5;
}

.subpage-content {
  padding: var(--space-8) 0;
}
.subpage-content .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
.subpage-content .content-text {
  max-width: 560px;
}
.subpage-content .content-text h2 {
  font-family: 'Raleway', 'Inter', sans-serif;
  color: #1F2A44;
  margin-bottom: 16px;
  line-height: 1.2;
}
.subpage-content .content-text p {
  font-family: 'Open Sans', 'Inter', sans-serif;
  color: #6B7280;
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-page .subpage-hero {
  padding-bottom: var(--space-6);
}

.service-page .subpage-hero .hero-desc {
  margin-bottom: 20px;
}

/* Hero with image (two-column layout) */
.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: var(--space-8);
}
.subpage-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.subpage-hero-image img {
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 30, 108, 0.12);
}
@media (max-width: 768px) {
  .subpage-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .subpage-hero-image {
    order: -1;
  }
}

.service-page .subpage-content {
  padding-top: var(--space-6);
}

.service-page .subpage-content .content-grid-centered {
  max-width: 760px;
  margin: 0;
}

.service-page .subpage-content .section-intro {
  margin-bottom: var(--space-7);
}

.ubm-process {
  padding-top: 64px;
  padding-bottom: 64px;
}
.ubm-process .section-intro {
  max-width: 680px;
  margin: 0 auto 48px;
}
.ubm-process .section-label {
  margin-bottom: 10px;
}
.ubm-process .section-title {
  margin-bottom: 18px;
}
.ubm-process .section-subtitle {
  font-size: var(--fs-small);
  color: #6B7280;
  line-height: 1.7;
}
.ubm-process-grid {
  align-items: start;
}
.ubm-process .step-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, auto);
  justify-items: center;
}
.ubm-process-number {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(31,42,68,0.28);
  margin-bottom: 10px;
}
.ubm-process .step-card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
}
.ubm-process .step-card-icon :is(span, i) {
  font-size: 1.55rem;
}
.ubm-process .step-card h3 {
  color: #1F2A44;
  font-weight: 600;
  margin-bottom: 10px;
}
.ubm-process .step-card p {
  max-width: 26ch;
  line-height: 1.65;
  margin: 0 auto;
}
.ubm-process .step-track {
  max-width: 760px;
  margin-top: 28px;
}
.ubm-process .step-track-line {
  height: 2px;
  background: #E5E7EB;
}
.ubm-process .step-track-dots {
  top: -6px;
}
.ubm-process .step-track-dot {
  width: 12px;
  height: 12px;
  background: #2B2E6F;
}

.subpage-features {
  padding: var(--space-8) 0;
  background: var(--gray-50);
}
.subpage-features .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.feature-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(32,33,127,0.06);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(32,33,127,0.14);
  box-shadow: 0 18px 36px rgba(32,33,127,0.1);
  transform: translateY(-2px);
}
.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2B2E6F;
  font-size: 1.2rem;
  margin-bottom: 16px;
  background: rgba(43,46,111,0.08);
  border: 1px solid rgba(43,46,111,0.08);
}
.feature-card .feature-icon i {
  font-size: 1.15rem;
  color: inherit;
}
.feature-card h4 {
  font-family: 'Raleway', 'Inter', sans-serif;
  margin-bottom: 8px;
  color: #1F2A44;
}
.feature-card p {
  font-family: 'Open Sans', 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.7;
}

/* Story subpage results */
.results-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.result-box {
  background: linear-gradient(135deg, var(--secondary), #2d2fa0);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  color: var(--white);
}
.result-box .result-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.result-box .result-desc {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.7);
}

/* ════════════════════════════════════════════════════════════
   CALCULATOR
════════════════════════════════════════════════════════════ */
.calculator-container {
  max-width: 800px;
  margin: 0 auto;
}
.calc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-200);
}
.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-group.full { grid-column: 1 / -1; }
.calc-label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-primary);
}
.calc-input {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}
.calc-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(32,33,127,0.1);
}
.calc-results {
  display: none;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--gray-200);
}
.calc-results.show { display: block; }
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.calc-result-card {
  background: linear-gradient(135deg, var(--secondary), #2d2fa0);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  color: var(--white);
}
.calc-result-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.calc-result-label {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.7);
}
.calc-note {
  margin-top: 20px;
  font-size: var(--fs-small);
  color: var(--gray-600);
  text-align: center;
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }


/* ════════════════════════════════════════════════════════════
   MOBILE NAV
════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 88px 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .nav-link {
  color: #2B2E6F;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #F1F5F9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #2B2E6F;
  cursor: pointer;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .content-grid-equal,
  .two-up-grid { grid-template-columns: 1fr; gap: 48px; }
  .three-up-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid,
  .services-grid--4col,
  .services-grid--2col { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid  { grid-template-columns: repeat(2, 1fr); }
  .how-steps     { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
  .about-inner   { grid-template-columns: 1fr; gap: 48px; }
  .footer {
    padding: 64px 0 32px;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
  }
  .footer-brand {
    max-width: 320px;
  }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .subpage-features .features-grid { grid-template-columns: repeat(2, 1fr); }
  .results-showcase { grid-template-columns: repeat(2, 1fr); }
  .subpage-content .content-grid { grid-template-columns: 1fr; }
  .ubm-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .three-up-grid,
  .stats-grid-3,
  .stats-grid-2,
  .service-score-grid,
  .metric-pills { grid-template-columns: 1fr; }
  .navbar-nav { display: none; }
  .navbar-actions .btn-outline { display: none; }
  .hamburger { display: flex; }
  .hero-section {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 40px;
    align-items: flex-start;
  }
  .hero-inner,
  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .hero-content {
    max-width: none;
    margin: 0 auto;
  }
  .hero-title,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-image {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 260px;
    max-width: min(460px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: visible;
  }
  .hero-image::after {
    display: none;
  }
  .hero-image-slider {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    min-height: 260px;
    position: relative;
    aspect-ratio: 1 / 1;
    animation: none;
  }
  .hero-image-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .hero-image-badge {
    display: none;
  }
  .hero-actions {
    margin-bottom: var(--space-4);
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    padding-top: var(--space-6);
    margin-top: var(--space-3);
  }
  .hero-stats.hero-stats--countries {
    padding-top: var(--space-4);
    margin-top: var(--space-2);
  }
  .hero-stats--countries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
  }
  .hero-stats--countries .hero-stat {
    width: 100%;
    padding: 0;
  }
  .hero-stat--country {
    grid-template-rows: auto auto;
    justify-items: center;
    align-content: start;
    padding: 0;
    row-gap: 8px;
  }
  .hero-stat--country .hero-stat-heading {
    justify-self: center;
  }
  .hero-stat--country .metric-flag {
    width: 30px;
    height: 21px;
    border-radius: 6px;
  }
  .hero-stat {
    padding: 0 var(--space-3);
    row-gap: var(--space-2);
  }
  .hero-stat-heading {
    align-self: center;
  }
  .hero-stat-icon {
    font-size: 1.65rem;
  }
  .hero-stat-value {
    font-size: 1.65rem;
  }
  .hero-stat-label {
    max-width: 12ch;
    line-height: 1.45;
  }
  .hero-stat--country .hero-stat-label {
    font-size: 0.82rem;
    line-height: 1.2;
    width: 100%;
    max-width: none;
    white-space: nowrap;
    text-align: center;
  }
  .hero-stat:nth-child(2)::after { display: none; }
  .hero-actions { justify-content: center; }
  .services-grid--4col { grid-template-columns: 1fr; }
  .services-grid--2col { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
  :is(.services, .metrics, .testimonials, .resources, .about, .contact, .cta-banner) {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .clients {
    padding: 40px 0;
  }
  .services-header,
  .testimonials-header,
  .resources-header {
    margin-bottom: 32px;
  }
  .metrics {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .metrics .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .metrics .section-label-light {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: calc(100% - 32px);
    margin: 0 auto 12px;
    padding: 0 16px;
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-align: center;
  }
  .metrics-title {
    font-size: clamp(1.75rem, 6vw, 2rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .metrics-subtitle {
    font-size: 1rem;
    line-height: 1.58;
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto 36px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .metrics-grid--ubm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }
  .hero-stats--ubm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }
  .hero-stats--ubm .hero-stat {
    padding: 0;
  }
  .hero-stats--ubm .hero-stat:last-child {
    grid-column: 1 / -1;
    max-width: 240px;
    width: 100%;
    justify-self: center;
    margin-top: 12px;
  }
  .metric-card {
    padding: 0;
    row-gap: 10px;
  }
  .ubm-process {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .ubm-process .section-intro {
    margin-bottom: 36px;
  }
  .ubm-process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ubm-process .step-track {
    display: none;
  }
  .metric-card:nth-child(2),
  .metric-card:nth-child(3) {
    padding-left: 0;
    padding-right: 0;
  }
  .metric-card::after,
  .metric-card:nth-child(2)::after { display: none; }
  .metric-value {
    font-size: clamp(2.25rem, 7vw, 2.5rem);
    margin-bottom: 2px;
  }
  .metric-icon {
    font-size: 1.4rem;
    color: #2B2E6F;
  }
  .metric-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 18ch;
    line-height: 1.55;
  }
  .stories-grid { grid-template-columns: 1fr; }
  .story-card.featured { grid-row: span 1; }
  .stories-logo-overlay {
    width: 100%;
    gap: 18px;
    padding: 20px 24px;
    margin-bottom: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    grid-template-columns: none;
    display: flex;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .stories-logo-overlay::-webkit-scrollbar { display: none; }
  .stories-logo {
    flex: 0 0 auto;
  }
  .stories-logo--h40 { height: 36px; }
  .stories-logo--h34 { height: 34px; }
  .stories-logo--h30 { height: 32px; }
  .stories-logo--h28 { height: 32px; }
  .stories-logo--h22 { height: 32px; }
  .about-inner,
  .contact-inner { gap: 32px; }
  .about-pillars {
    margin-top: 24px;
    gap: 20px;
  }
  .cta-banner p,
  .contact-info > p {
    margin-bottom: 24px;
  }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-large {
    padding: 16px;
    font-size: 16px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  #hubspot-form-container form,
  #hubspotFormContainer form {
    grid-template-columns: 1fr;
  }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer {
    padding: 56px 0 28px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    text-align: center;
  }
  .footer-brand {
    max-width: 320px;
  }
  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
  .social-links {
    justify-content: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
  .countries-grid { grid-template-columns: repeat(4, 1fr); }
  .resources-grid { grid-template-columns: 1fr; }
  .subpage-hero { padding: 120px 0 60px; }
  .subpage-features .features-grid { grid-template-columns: 1fr; }
  .results-showcase { grid-template-columns: 1fr 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-results-grid { grid-template-columns: 1fr; }
  .modal-content { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .services-grid,
  .services-grid--4col,
  .services-grid--2col { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }
  .stories-logo-overlay {
    width: 100%;
    gap: 14px;
    padding: 18px 20px;
    margin-bottom: 18px;
    justify-content: flex-start;
  }
  .stories-logo--h40 { height: 32px; }
  .stories-logo--h34 { height: 30px; }
  .stories-logo--h30 { height: 32px; }
  .stories-logo--h28 { height: 28px; }
  .stories-logo--h22 { height: 28px; }
  .resource-preview-photo {
    aspect-ratio: 4 / 3;
  }
  .metrics-grid  {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-stats--countries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
    max-width: 300px;
    align-items: start;
  }
  .hero-stats--countries .hero-stat {
    width: 100%;
    padding: 0;
  }
  .hero-stat--country {
    grid-template-rows: auto auto;
    justify-items: center;
    align-content: start;
    padding: 0;
    row-gap: 7px;
  }
  .hero-stat--country .hero-stat-heading {
    justify-self: center;
  }
  .hero-stat--country .metric-flag {
    width: 26px;
    height: 18px;
    border-radius: 5px;
  }
  .hero-stat--country .hero-stat-label {
    font-size: 0.78rem;
    line-height: 1.15;
    width: 100%;
    max-width: none;
    white-space: nowrap;
    text-align: center;
  }
  .metric-card {
    padding: 0;
    row-gap: 10px;
  }
  .metric-card::after {
    display: none;
  }
  .metric-value { font-size: 2.25rem; }
  .metric-icon { font-size: 1.35rem; }
  .metric-label {
    font-size: 0.875rem;
    max-width: 18ch;
    line-height: 1.5;
  }
  .how-steps     { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .about-content p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .about-pillar {
    padding: 18px;
  }
  .pillar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .results-showcase { grid-template-columns: 1fr; }
  .calc-card { padding: 28px 20px; }
  .hero-image {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-image-badge {
    display: none;
  }
  .hero-stats:not(.hero-stats--countries) {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .hero-stat {
    padding: 0;
    row-gap: 12px;
  }
  .hero-stat-heading {
    align-self: center;
  }
  .hero-stat-icon {
    font-size: 1.7rem;
  }
  .hero-stat-value {
    font-size: 1.72rem;
  }
  .hero-stat-label {
    max-width: 13ch;
  }
  .hero-stat::after {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════
   GUÍAS LIBRARY
════════════════════════════════════════════════════════════ */

/* Guías Grid (Listing page) */
.guias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.guia-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.guia-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.guia-card-cover {
  position: relative;
  aspect-ratio: 3 / 3.5;
  max-height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary) 0%, #181966 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 0.8rem;
}
.guia-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.guia-card:hover .guia-card-cover img {
  transform: scale(1.04);
}
.guia-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.guia-card-tag {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  opacity: 0.6;
}
.guia-card-body h3 {
  font-size: var(--fs-body);
  color: var(--text-primary);
  line-height: 1.3;
}
.guia-card-body p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.guia-card-cta {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--secondary);
  margin-top: 4px;
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
}
.guia-card:hover .guia-card-cta {
  color: var(--secondary-light);
}

/* Guía Detail Page */
.guia-hero-tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.guia-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
.guia-detail-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.guia-detail-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 360px;
}
.guia-detail-cover img {
  width: 100%;
  display: block;
}
.guia-detail-info h2 {
  font-size: var(--fs-subtitle);
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* Table of Contents */
.guia-toc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.guia-toc li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.guia-toc-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.guia-toc li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.guia-toc li strong {
  font-size: var(--fs-body);
  color: var(--text-primary);
}
.guia-toc li span {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* HubSpot Form Wrapper */
.guia-detail-form {
  position: sticky;
  top: 100px;
}
.hubspot-form-wrapper {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.hubspot-form-wrapper h3 {
  font-size: var(--fs-subtitle);
  color: var(--secondary);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.3;
}
.hubspot-form-wrapper > p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
}

/* HubSpot form styling overrides */
.hubspot-form-wrapper .hs-form-field {
  margin-bottom: 16px;
}
.hubspot-form-wrapper .hs-form-field label {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: block;
}
.hubspot-form-wrapper .hs-input {
  width: 100% !important;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-body);
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hubspot-form-wrapper .hs-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(32,33,127,0.1);
}
.hubspot-form-wrapper .hs-submit .hs-button {
  width: 100%;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--secondary);
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(253,196,0,0.3);
}
.hubspot-form-wrapper .hs-submit .hs-button:hover {
  background: #ffcf33;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(253,196,0,0.3);
}
.hubspot-form-wrapper .hs-error-msgs {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-small);
  color: #e74c3c;
  margin-top: 4px;
}
.hubspot-form-wrapper .legal-consent-container {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

/* ── Guías Responsive ──────────────────────── */
@media (max-width: 900px) {
  .guias-grid { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
}
@media (max-width: 768px) {
  .guias-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .guia-detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .guia-detail-form { position: static; }
  .guia-detail-cover { max-width: 280px; }
}

/* ═══════════════════════════════════════
   BLOG SECTION
   ═══════════════════════════════════════ */

/* ── Category Filter Bar ──────────────── */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  justify-content: center;
}
.blog-filter-btn {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  padding: 8px 22px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/* ── Featured Article ─────────────────── */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.blog-featured:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-featured-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--secondary) 0%, #181966 100%);
}
.blog-featured-body {
  padding: 36px 40px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blog-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  opacity: 0.7;
}
.blog-featured-body h2 {
  font-size: var(--fs-subtitle);
  line-height: 1.25;
  color: var(--text-primary);
}
.blog-featured-body p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.7;
}
.blog-featured-meta {
  font-size: var(--fs-small);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Blog Grid ────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--secondary) 0%, #181966 100%);
}
.blog-card-img img,
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-card-tag {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.blog-card-body h3 {
  font-size: var(--fs-body);
  line-height: 1.35;
  color: var(--text-primary);
}
.blog-card-body p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.blog-card-meta {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-card-cta {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--secondary);
  margin-top: 4px;
}
.blog-card:hover .blog-card-cta { color: var(--secondary-light); }

/* ── Blog Article Page ────────────────── */
.article-hero {
  text-align: center;
  padding-top: 24px;
}
.article-hero h1 {
  font-size: var(--fs-title);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.2;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 8px;
}
.article-meta .tag {
  background: var(--secondary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article-cover {
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: linear-gradient(135deg, var(--secondary) 0%, #181966 100%);
}

/* ── Article Body ─────────────────────── */
.article-content {
  max-width: 720px;
  margin: 48px auto 0;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text-primary);
}
.article-content h2 {
  font-size: var(--fs-subtitle);
  margin: 48px 0 16px;
  color: var(--secondary);
}
.article-content h3 {
  font-size: var(--fs-body);
  margin: 36px 0 12px;
}
.article-content p {
  margin: 0 0 20px;
  color: var(--text-secondary);
}
.article-content ul, .article-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--text-secondary);
}
.article-content li {
  margin-bottom: 8px;
}
.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(253, 196, 0, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.article-content strong {
  color: var(--text-primary);
}

/* ── Tags & Sharing ───────────────────── */
.article-footer {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.article-tags a,
.article-tags span {
  background: var(--gray-100);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.article-tags a:hover {
  background: var(--secondary);
  color: var(--white);
}
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-share span {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-secondary);
}
.article-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition);
}
.article-share a:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ── Related Articles ─────────────────── */
.related-articles {
  margin-top: 64px;
}
.related-articles h2 {
  text-align: center;
  font-size: var(--fs-subtitle);
  margin-bottom: 36px;
}

/* ── Blog Responsive ──────────────────── */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 28px; }
  .article-hero h1 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .blog-filters { gap: 8px; }
  .blog-filter-btn { padding: 6px 16px; font-size: var(--fs-small); }
  .article-hero h1 { font-size: 1.5rem; }
  .article-content { font-size: var(--fs-body); }
  .article-meta { flex-wrap: wrap; }
}

/* ============================================================
   COTIZA PAGE
   ============================================================ */

/* Hero Section */
.cotiza-hero {
  padding: calc(var(--space-10) + var(--space-5)) 0 var(--space-9);
  background: linear-gradient(135deg, #f8f9fc 0%, #eef1f8 50%, #f0f4ff 100%);
  min-height: 100vh;
}

.cotiza-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

/* Left Column — Timeline */
.cotiza-left {
  padding-top: 20px;
}
.cotiza-left .section-label {
  font-size: var(--fs-small);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.cotiza-left h1 {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.cotiza-kicker {
  color: var(--primary);
}
.cotiza-accent {
  color: var(--primary);
}

/* ════════════════════════════════════════════════════════════
   GENERIC CONTENT PATTERNS
════════════════════════════════════════════════════════════ */
.survey-results-scale {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  opacity: 0.7;
}
.blog-filtered-hidden {
  display: none !important;
}
.story-breadcrumb {
  margin-bottom: var(--space-2);
}
.story-breadcrumb a {
  color: rgba(255,255,255,0.6);
}
.story-breadcrumb span {
  color: rgba(255,255,255,0.8);
}
.story-page .story-hero-label i {
  font-size: 0.9rem;
}
.story-hero-media {
  width: 100%;
  max-width: 560px;
}
.story-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.story-hero-card {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: var(--space-4);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.story-hero-card-icon {
  font-size: var(--fs-title);
  margin-bottom: var(--space-2);
}
.story-hero-card-title {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: var(--fs-body);
}
.story-hero-card-copy {
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-small);
  margin-top: var(--space-1);
}
.story-quote-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.story-quote-icon {
  font-size: var(--fs-subtitle);
  margin-bottom: 20px;
}
.story-quote-text {
  font-size: var(--fs-body);
  line-height: 1.8;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-3);
}
.story-quote-text--soft {
  color: rgba(255,255,255,0.8);
}
.story-quote-author {
  font-weight: 700;
  color: var(--primary);
  font-size: var(--fs-body);
}
.story-quote-author--highlight {
  color: #f7c948;
}
.story-quote-role {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.6);
}
.story-intro-panel {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.story-intro-title {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}
.story-intro-title--compact {
  margin-bottom: 12px;
}
.story-intro-copy {
  font-size: var(--fs-body);
  color: var(--text-body);
  line-height: 1.8;
}
.story-intro-copy + .story-intro-copy {
  margin-top: var(--space-1);
}
.story-cta-block {
  text-align: center;
}
.story-cta-title {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}
.story-cta-copy {
  color: var(--text-muted);
  font-size: var(--fs-body);
}
.story-extras-list {
  text-align: left;
  list-style: none;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
}
.story-visual-panel {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px;
}
.story-visual-panel h4 {
  font-family: 'Raleway', 'Inter', sans-serif;
  color: #1F2A44;
  margin-bottom: 8px;
}
.story-visual-panel p {
  font-family: 'Open Sans', 'Inter', sans-serif;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}
.story-zigzag-media {
  width: 100%;
  max-width: 420px;
}
.story-zigzag-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.story-results-stats {
  max-width: 1040px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: none;
  padding-top: 0;
}
.story-results-stats .hero-stat {
  padding-inline: var(--space-4);
}
.story-results-stats .hero-stat-label {
  max-width: 16ch;
}
.story-quote-block--panel {
  max-width: 820px;
  padding: 36px 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}
.story-extras-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  max-width: 760px;
  margin: 24px auto 0;
  text-align: left;
}
.story-extras-checklist .checklist-item {
  align-items: flex-start;
}

/* ════════════════════════════════════════════════════════════
   INTERVIEW / ARTICLE PAGES
════════════════════════════════════════════════════════════ */
.article-author {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}
.article-subheading {
  font-size: var(--fs-subtitle);
  line-height: 1.3;
}
.article-prompt {
  font-size: var(--fs-body);
  font-weight: 600;
  margin-top: var(--space-4);
}
.article-body-spacer {
  margin-top: var(--space-1);
}
.interview-point {
  display: flex;
  gap: 20px;
  margin: 32px 0;
}
.interview-point .point-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-body);
  font-weight: 800;
  margin-top: 4px;
}
.interview-point .point-content h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: var(--fs-body);
}
blockquote.interview-quote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--gray-50);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: var(--fs-body);
  color: var(--text-secondary);
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2);
  margin: 32px 0;
}
.photo-gallery--two-up {
  grid-template-columns: repeat(2, 1fr);
}
.photo-gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.photo-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-gallery figure:hover img {
  transform: scale(1.04);
}
.photo-gallery figcaption {
  padding: 12px 16px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  background: var(--gray-50);
  font-style: italic;
}
.expo-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: var(--space-5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.pavilion-flag {
  font-size: 1.6rem;
  margin-right: 8px;
}

/* ════════════════════════════════════════════════════════════
   PRESS / CASES / SURVEY
════════════════════════════════════════════════════════════ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.press-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.press-card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--gray-50);
}
.press-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}
.press-card:hover .press-card-img img {
  transform: scale(1.04);
}
.press-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.press-card-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  opacity: 0.5;
  margin-bottom: 12px;
}
.press-card-source span {
  font-size: var(--fs-body);
}
.press-card-body h3 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}
.press-card-body p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.press-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.press-card-date {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  opacity: 0.6;
}
.press-card-link {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cases-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: var(--space-7);
}
.case-stat {
  background: var(--white);
  border-radius: 16px;
  padding: var(--space-4) var(--space-3);
  text-align: center;
  box-shadow: 0 2px 16px rgba(26,30,108,0.06);
  border: 1px solid rgba(26,30,108,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,30,108,0.12);
}
.case-stat-number {
  display: block;
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}
.case-stat-label {
  color: var(--text-muted);
  font-size: var(--fs-small);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.case-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,30,108,0.06);
  border: 1px solid rgba(26,30,108,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,30,108,0.14);
}
.case-card-header {
  background: linear-gradient(135deg, var(--secondary), #181966);
  padding: var(--space-5) var(--space-4);
  position: relative;
  overflow: hidden;
}
.case-card-header::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.case-card-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.case-card-client {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.case-card-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.case-card-metric-value {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.case-card-metric-label {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-small);
}
.case-card-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-card-desc {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.case-card-results {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.case-mini-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--text-body);
}
.case-mini-stat strong {
  color: var(--secondary);
  font-weight: 700;
}
.case-card-cta {
  color: var(--secondary);
  font-weight: 700;
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.case-card:hover .case-card-cta {
  gap: 12px;
}
.case-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.case-card.featured .case-card-header {
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-card.featured .case-card-body {
  padding: var(--space-5);
}
.case-testimonial {
  background: var(--bg-base);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
}
.case-testimonial p {
  font-style: italic;
  color: var(--text-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin-bottom: 8px;
}
.case-testimonial cite {
  font-style: normal;
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 600;
}
.survey-container {
  max-width: 800px;
  margin: 0 auto;
}
.survey-progress {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
  position: relative;
}
.survey-progress-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: var(--fs-small);
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.survey-progress-step.active {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 0 0 6px rgba(253,196,0,0.18);
}
.survey-progress-step.completed {
  background: var(--secondary);
  color: var(--white);
}
.survey-progress-line {
  flex: 1;
  height: 3px;
  background: var(--gray-200);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.survey-progress-line .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--secondary);
  border-radius: 4px;
  transition: width 0.5s ease;
  width: 0;
}
.survey-progress-line.is-complete .fill {
  width: 100%;
}
.survey-question-card,
.result-card {
  background: var(--white);
  border-radius: 20px;
  padding: var(--space-5);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-100);
}
.survey-question-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.survey-question-card.hidden {
  display: none;
}
.survey-question-label {
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  opacity: 0.6;
  margin-bottom: 8px;
}
.survey-question-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}
.survey-question-desc,
.survey-option-text,
.result-section p {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.survey-question-desc {
  margin-bottom: 28px;
}
.survey-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: 16px 20px;
  border-radius: 14px;
  border: 2px solid var(--gray-100);
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--white);
}
.survey-option:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}
.survey-option.selected {
  border-color: var(--secondary);
  background: rgba(32,33,127,0.03);
}
.survey-option-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  margin-top: 2px;
}
.survey-option.selected .survey-option-radio {
  border-color: var(--secondary);
  background: var(--secondary);
}
.survey-option.selected .survey-option-radio::after {
  content: '✓';
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.survey-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-4);
}
.survey-btn-back {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.2s;
}
.survey-btn-back:hover {
  background: var(--gray-50);
  color: var(--text-primary);
}
.survey-btn-back:disabled {
  opacity: 0;
  pointer-events: none;
}
.survey-btn-next {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: var(--fs-small);
  font-weight: 600;
  transition: all 0.25s;
}
.survey-btn-next:hover {
  background: #181966;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(32,33,127,0.3);
}
.survey-btn-next:disabled {
  opacity: 0.4;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.survey-results {
  display: none;
}
.survey-results.show {
  display: block;
  animation: fadeInUp 0.6s ease;
}
.result-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: var(--fs-body);
  margin-bottom: var(--space-3);
}
.result-level-badge .level-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.result-level-badge.level-1 {
  background: rgba(239,68,68,0.08);
  color: #dc2626;
}
.result-level-badge.level-1 .level-dot,
.result-gauge-bar.is-active.level-1 {
  background: #ef4444;
}
.result-level-badge.level-2 {
  background: rgba(249,115,22,0.08);
  color: #ea580c;
}
.result-level-badge.level-2 .level-dot,
.result-gauge-bar.is-active.level-2 {
  background: #f97316;
}
.result-level-badge.level-3 {
  background: rgba(234,179,8,0.08);
  color: #ca8a04;
}
.result-level-badge.level-3 .level-dot,
.result-gauge-bar.is-active.level-3 {
  background: #eab308;
}
.result-level-badge.level-4 {
  background: rgba(34,197,94,0.08);
  color: #16a34a;
}
.result-level-badge.level-4 .level-dot,
.result-gauge-bar.is-active.level-4 {
  background: #22c55e;
}
.result-level-badge.level-5 {
  background: rgba(59,130,246,0.08);
  color: #2563eb;
}
.result-level-badge.level-5 .level-dot,
.result-gauge-bar.is-active.level-5 {
  background: #3b82f6;
}
.result-section {
  margin-bottom: var(--space-3);
}
.result-section:last-child {
  margin-bottom: 0;
}
.result-section-icon {
  font-size: 1.3rem;
  margin-right: 8px;
}
.result-section h4 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.result-savings-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, rgba(253,196,0,0.08), rgba(253,196,0,0.02));
  border: 1px solid rgba(253,196,0,0.2);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 20px 0;
}
.result-savings-value {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.result-savings-label {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.result-gauge {
  display: flex;
  gap: 4px;
  margin: 24px 0 8px;
}
.result-gauge-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-100);
  transition: background 0.5s ease;
}
.survey-score-display {
  text-align: center;
  margin-bottom: var(--space-4);
}
.survey-score-number {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.survey-score-total {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  font-weight: 500;
}
.calc-title {
  font-size: var(--fs-body);
  margin-bottom: 8px;
  color: var(--text-primary);
}
.calc-subtitle {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: var(--fs-small);
}
.calc-select {
  cursor: pointer;
}
.calc-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: var(--fs-body);
}
.calc-result-title {
  text-align: center;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.calc-result-actions {
  text-align: center;
  margin-top: 28px;
}

/* ════════════════════════════════════════════════════════════
   STORY PAGE THEMES
════════════════════════════════════════════════════════════ */
.story-page .story-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.story-page .story-hero .container {
  position: relative;
  z-index: 1;
}
.story-page .story-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.story-page .story-hero-content {
  color: var(--white);
}
.story-page .story-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.story-page .story-hero h1 {
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--white);
}
.story-page .story-hero-desc {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.story-page .story-hero-metrics {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.story-page .story-hero-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px 24px;
}
.story-page .story-hero-metric-value {
  font-size: var(--fs-subtitle);
  font-weight: 900;
  color: var(--primary);
}
.story-page .story-hero-metric-label {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.story-page .story-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-page .story-hero-visual img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.story-page .zigzag-section {
  padding: var(--space-9) 0;
}
.story-page .zigzag-section.bg-white {
  background: var(--white);
}
.story-page .zigzag-section.bg-light {
  background: var(--bg-base);
}
.story-page .zigzag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.story-page .zigzag-reverse {
  direction: rtl;
}
.story-page .zigzag-reverse > * {
  direction: ltr;
}
.story-page .zigzag-content h2 {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.story-page .zigzag-content > p {
  color: var(--text-body);
  font-size: var(--fs-body);
  line-height: 1.8;
  margin-bottom: var(--space-2);
}
.story-page .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story-page .feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.story-page .feature-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 700;
  margin-top: 2px;
}
.story-page .feature-item-content h4 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}
.story-page .feature-item-content p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.story-page .zigzag-visual {
  border-radius: 20px;
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.story-page .zigzag-visual-icon {
  font-size: 5rem;
  opacity: 0.5;
}
.story-page .video-section,
.story-page .features-grid-section {
  padding: var(--space-9) 0;
}
.story-page .video-section h2,
.story-page .features-grid-section h2 {
  text-align: center;
  color: var(--white);
  font-size: var(--fs-subtitle);
  font-weight: 800;
  margin-bottom: 12px;
}
.story-page .video-section .section-subtitle,
.story-page .features-grid-section .section-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.68);
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.story-page .video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  aspect-ratio: 16 / 9;
}
.story-page .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.story-page .features-grid {
  display: grid;
  gap: 24px;
}
.story-page .feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}
.story-page .feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}
.story-page .feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-2);
}
.story-page .feature-card h4 {
  color: var(--white);
  font-size: var(--fs-body);
  font-weight: 700;
  margin-bottom: 8px;
}
.story-page .feature-card p {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.story-page .mid-cta {
  background: linear-gradient(135deg, #f5a623, #f7c948);
  padding: var(--space-6) 0;
  text-align: center;
}
.story-page .mid-cta h3 {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: var(--space-2);
}
.story-page .mid-cta .btn {
  background: var(--secondary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.story-page .mid-cta .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,30,108,0.18);
}
.story-page .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: var(--space-5);
}
.story-page .results-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.story-page .result-box {
  background: var(--white);
  border-radius: 20px;
  padding: var(--space-5) var(--space-3);
  text-align: center;
  border: 1px solid rgba(26,30,108,0.06);
  box-shadow: var(--shadow-sm);
}
.story-page .result-number {
  display: block;
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}
.story-page .result-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}
.story-page.story-page--oxxo .story-hero {
  background: linear-gradient(135deg, #1a1e6c 0%, #181966 50%, #f5a623 100%);
}
.story-page.story-page--oxxo .story-hero::before,
.story-page.story-page--tattersall .story-hero::before,
.story-page.story-page--la-araucana .story-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.25) 0%, transparent 70%);
}
.story-page.story-page--oxxo .story-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
}
.story-page.story-page--oxxo .story-hero h1 {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: var(--white);
}
.story-page.story-page--oxxo .feature-check,
.story-page.story-page--tattersall .feature-check,
.story-page.story-page--la-araucana .feature-check {
  background: linear-gradient(135deg, #f5a623, #f7c948);
}
.story-page.story-page--oxxo .zigzag-visual,
.story-page.story-page--tattersall .zigzag-visual {
  background: linear-gradient(135deg, rgba(26,30,108,0.04), rgba(245,166,35,0.08));
  border: 1px solid rgba(26,30,108,0.06);
}
.story-page.story-page--oxxo .video-section,
.story-page.story-page--tattersall .video-section,
.story-page.story-page--la-araucana .video-section {
  background: var(--secondary);
}
.story-page.story-page--oxxo .features-grid-section,
.story-page.story-page--la-araucana .features-grid-section {
  background: var(--secondary);
}
.story-page.story-page--oxxo .features-grid {
  grid-template-columns: repeat(4, 1fr);
}
.story-page.story-page--oxxo .feature-card-icon,
.story-page.story-page--la-araucana .feature-card-icon {
  background: linear-gradient(135deg, #f5a623, #f7c948);
}
.story-page.story-page--oxxo .story-hero-content {
  max-width: 560px;
}
.story-page.story-page--oxxo .story-hero-desc {
  max-width: 56ch;
}
.story-page.story-page--oxxo .story-case-hero .story-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(43,46,111,0.06);
  border: 1px solid rgba(43,46,111,0.08);
  color: #2B2E6F;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: var(--space-3);
}
.story-page.story-page--oxxo .story-case-hero .story-hero-label i {
  font-size: 0.9rem;
  color: inherit;
}
.story-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}
.story-hero-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.story-page.story-page--oxxo .story-case-hero .story-hero-brand {
  margin: 0 auto 20px;
}
.story-page.story-page--oxxo .story-case-hero .hero-metric--kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.story-page.story-page--oxxo .story-case-hero .hero-metric-main {
  display: flex;
  align-items: center;
  line-height: 1;
}
.story-page.story-page--oxxo .story-case-hero .hero-metric-text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.2;
}
.story-page.story-page--oxxo .story-case-hero .hero-metric-text span {
  display: block;
}
.story-page.story-page--oxxo .story-case-hero .hero-metric-value {
  font-size: 56px;
  font-weight: 700;
}
.story-page.story-page--oxxo .story-case-hero .hero-desc {
  max-width: 56ch;
}
.story-page.story-page--oxxo .story-case-hero .media-frame {
  box-shadow: 0 12px 36px rgba(32,33,127,0.1);
}
.story-page.story-page--oxxo .story-case-hero .story-hero-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.story-page.story-page--oxxo .story-testimonial-section {
  background: var(--gray-50);
}
.story-page.story-page--oxxo .story-testimonial-layout {
  align-items: center;
  gap: var(--space-6);
}
.story-page.story-page--oxxo .story-testimonial-media {
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 12px 36px rgba(32,33,127,0.08);
}
.story-page.story-page--oxxo .story-video-preview {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
}
.story-page.story-page--oxxo .story-video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.15));
  pointer-events: none;
}
.story-page.story-page--oxxo .story-testimonial-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.story-page.story-page--oxxo .story-video-preview img {
  width: 100%;
  height: auto;
  display: block;
}
.story-page.story-page--oxxo .story-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: all 0.2s ease;
  z-index: 1;
}
.story-page.story-page--oxxo .story-video-play i {
  font-size: 22px;
  color: #20217f;
  margin-left: 2px;
}
.story-page.story-page--oxxo .story-video-preview:hover .story-video-play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}
.story-page.story-page--oxxo .story-quote-block--editorial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.story-page.story-page--oxxo .story-quote-block--editorial .story-quote-icon {
  color: #2B2E6F;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.story-page.story-page--oxxo .story-quote-block--editorial .story-quote-text {
  color: #1F2A44;
  font-style: normal;
  line-height: 1.8;
  max-width: 60ch;
  margin: 0 auto 16px;
}
.story-page.story-page--oxxo .story-quote-block--editorial .story-quote-author {
  color: #2B2E6F;
  margin-top: 8px;
}
.story-page.story-page--oxxo .story-quote-block--editorial .story-quote-role {
  color: #6B7280;
}
.story-page.story-page--oxxo .steps-section {
  background: var(--white);
  margin-bottom: 0;
  padding-bottom: 64px;
}
.story-page.story-page--oxxo .steps-section .story-cta-block {
  max-width: 640px;
  margin: 0 auto;
}
.story-page.story-page--oxxo .steps-section .story-cta-title {
  max-width: 16ch;
  margin: 0 auto 20px;
}
.story-page.story-page--oxxo .steps-section .story-cta-copy {
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
}
.story-page.story-page--oxxo .steps-section .steps-grid {
  margin-top: 56px;
  margin-bottom: 24px;
  align-items: start;
  gap: 24px;
}
.story-page.story-page--oxxo .steps-section .step-card {
  background: var(--white);
  border: 1px solid rgba(32,33,127,0.08);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(32,33,127,0.05);
  text-align: left;
  display: grid;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-page.story-page--oxxo .steps-section .step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.story-page.story-page--oxxo .steps-section .step-card h4 {
  color: #1F2A44;
  margin-bottom: 0;
}
.story-page.story-page--oxxo .steps-section .step-card p {
  color: #6B7280;
  line-height: 1.65;
  max-width: 28ch;
}
.story-page.story-page--oxxo .steps-section .step-number {
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid #dcdfea;
  background: transparent;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2B2E6F;
}
.story-page.story-page--oxxo .story-cta-clean {
  background: var(--white);
  padding-top: 16px;
  padding-bottom: 80px;
}
.story-page.story-page--oxxo .story-cta-clean-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.story-page.story-page--oxxo .story-cta-clean-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1F2A44;
}
.story-page.story-page--oxxo .story-cta-clean-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.story-page.story-page--oxxo .story-cta-clean-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.story-page.story-page--oxxo .story-cta-clean .btn-large {
  padding: 16px 32px;
  font-size: 17px;
  border-radius: 999px;
}
.story-page.story-page--oxxo .story-cta-clean .btn-outline {
  border: 1.5px solid #2B2E6F;
  color: #2B2E6F;
  background: transparent;
}
.story-page.story-page--oxxo .story-cta-clean .btn-outline:hover {
  background: rgba(43,46,111,0.06);
  border-color: #2B2E6F;
  color: #2B2E6F;
}
.story-page.story-page--oxxo .story-cta-clean .btn-primary {
  background: #FDC400;
  color: #1a1a1a;
  border: none;
}
.story-page.story-page--oxxo .story-cta-clean .btn-primary:hover {
  background: #FDC400;
  color: #1a1a1a;
  filter: brightness(0.95);
}
.story-page.story-page--oxxo .zigzag-visual {
  background: transparent;
  border: 0;
  min-height: 0;
  padding: 0;
}
.story-page.story-page--oxxo .subpage-features {
  background: var(--white);
}
.story-page.story-page--oxxo .subpage-features .features-grid {
  grid-template-columns: repeat(4, 1fr);
}
.story-page.story-page--oxxo .story-execution-section .features-grid {
  grid-template-columns: repeat(3, 1fr);
}
.story-page.story-page--oxxo .subpage-features .feature-card {
  background: var(--white);
  border: 1px solid rgba(32,33,127,0.08);
  box-shadow: 0 10px 30px rgba(32,33,127,0.06);
  text-align: left;
}
.story-page.story-page--oxxo .subpage-features .feature-card:hover {
  background: var(--white);
  transform: translateY(-2px);
}
.story-page.story-page--oxxo .subpage-features .feature-icon {
  margin: 0 0 16px;
  background: rgba(43,46,111,0.08);
  border: 1px solid rgba(43,46,111,0.08);
  color: #2B2E6F;
}
.story-page.story-page--oxxo .subpage-features .feature-card h4 {
  color: #1F2A44;
}
.story-page.story-page--oxxo .subpage-features .feature-card p {
  color: #6B7280;
}
.story-page.story-page--oxxo .extras-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.story-page.story-page--oxxo .extras-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-body);
  color: var(--text-body);
  line-height: 1.5;
}
.story-page.story-page--oxxo .extras-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: var(--fs-body);
}
.story-page.story-page--starbucks .story-hero {
  background: linear-gradient(135deg, #1a6e3a 0%, #0d5c2e 30%, #f5a623 100%);
}
.story-page.story-page--starbucks .story-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.25) 0%, transparent 70%);
}
.story-page.story-page--starbucks .story-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,100,0,0.15) 0%, transparent 70%);
}
.story-page.story-page--starbucks .story-hero h1 span {
  background: linear-gradient(135deg, #f7c948, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.story-page.story-page--starbucks .story-hero-metric-value {
  color: #f7c948;
}
.story-page.story-page--starbucks .feature-check {
  background: linear-gradient(135deg, #1a6e3a, #2ea043);
}
.story-page.story-page--starbucks .story-testimonial-media img {
  object-fit: cover;
  object-position: 75% 40%;
}
.story-page.story-page--starbucks .zigzag-visual {
  background: linear-gradient(135deg, rgba(26,110,58,0.06), rgba(245,166,35,0.08));
  border: 1px solid rgba(26,110,58,0.08);
}
.story-page.story-page--starbucks .video-section {
  background: linear-gradient(135deg, #1a6e3a, #0d5c2e);
}
.story-page.story-page--starbucks .features-grid-section {
  background: linear-gradient(135deg, #1a6e3a, #0d5c2e);
}
.story-page.story-page--starbucks .features-grid {
  grid-template-columns: repeat(3, 1fr);
}
.story-page.story-page--starbucks .feature-card-icon {
  background: linear-gradient(135deg, #f5a623, #f7c948);
}
.story-page.story-page--tattersall .story-hero {
  background: linear-gradient(135deg, #1a1e6c 0%, #2a3580 40%, #f5a623 100%);
}
.story-page.story-page--tattersall .story-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,30,108,0.2) 0%, transparent 70%);
}
.story-page.story-page--tattersall .story-hero h1 span,
.story-page.story-page--la-araucana .story-hero h1 span {
  background: linear-gradient(135deg, #f7c948, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.story-page.story-page--la-araucana .story-hero {
  background: linear-gradient(135deg, #1a1e6c 0%, #245b5b 45%, #f5a623 100%);
}
.story-page.story-page--la-araucana .story-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,128,92,0.18) 0%, transparent 70%);
}
.story-page.story-page--la-araucana .zigzag-visual {
  background: linear-gradient(135deg, rgba(26,30,108,0.04), rgba(41,128,92,0.08));
  border: 1px solid rgba(26,30,108,0.06);
}
.story-page.story-page--la-araucana .features-grid {
  grid-template-columns: repeat(3, 1fr);
}
.story-page.story-page--preunic .story-hero {
  background: linear-gradient(135deg, #1a1e6c 0%, #7c1f4a 45%, #f5a623 100%);
}
.story-page.story-page--preunic .story-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.25) 0%, transparent 70%);
}
.story-page.story-page--preunic .story-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,31,74,0.14) 0%, transparent 70%);
}
.story-page.story-page--preunic .feature-check {
  background: linear-gradient(135deg, #f5a623, #f7c948);
}
.story-page.story-page--preunic .zigzag-visual {
  background: linear-gradient(135deg, rgba(124,31,74,0.05), rgba(245,166,35,0.08));
  border: 1px solid rgba(124,31,74,0.08);
}
.story-page.story-page--preunic .quote-section {
  background: linear-gradient(135deg, var(--secondary), #181966);
  padding: var(--space-9) 0;
}
.story-page.story-page--preunic .video-section {
  background: var(--secondary);
}

@media (max-width: 1024px) {
  .story-page .story-hero-inner,
  .story-page .zigzag-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .story-page .features-grid,
  .story-page .results-showcase,
  .story-page .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-page.story-page--oxxo .story-execution-section .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .story-page.story-page--oxxo .subpage-features .features-grid,
  .story-extras-checklist,
  .story-results-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .story-page.story-page--oxxo .story-testimonial-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .story-page .story-hero {
    padding: 120px 0 60px;
  }
  .story-page .features-grid,
  .story-page .results-showcase,
  .story-page .steps-grid,
  .story-page.story-page--oxxo .extras-list {
    grid-template-columns: 1fr;
  }
  .story-page.story-page--oxxo .story-execution-section .features-grid {
    grid-template-columns: 1fr;
  }
  .story-page.story-page--oxxo .subpage-features .features-grid,
  .story-extras-checklist,
  .story-results-stats {
    grid-template-columns: 1fr;
  }
  .story-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .story-hero-logo {
    height: 36px;
  }
  .story-page.story-page--oxxo .story-case-hero .hero-metric-value {
    font-size: 44px;
  }
  .story-page.story-page--oxxo .story-testimonial-layout {
    grid-template-columns: 1fr;
  }
  .story-page.story-page--oxxo .story-video-play {
    width: 60px;
    height: 60px;
  }
  .story-page.story-page--oxxo .story-video-play i {
    font-size: 18px;
  }
  .story-page.story-page--oxxo .story-cta-clean-actions {
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .story-page.story-page--starbucks .story-testimonial-media img {
    object-position: 60% 50%;
  }
  .story-page.story-page--oxxo .story-cta-clean .btn-large {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .story-page.story-page--oxxo .steps-section .steps-grid {
    margin-bottom: 20px;
  }
  .story-quote-block--panel {
    padding: 28px 22px;
  }
}
.cotiza-subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Timeline */
.cotiza-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cotiza-step {
  display: flex;
  gap: 20px;
}
.cotiza-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.cotiza-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cotiza-step-line {
  width: 3px;
  flex: 1;
  background: var(--primary);
  min-height: 40px;
}
.cotiza-step-content {
  padding-bottom: 32px;
}
.cotiza-step-content h3 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  margin-top: 8px;
}
.cotiza-step-content p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.65;
}

/* Right Column — Form Card */
.cotiza-right {
  position: sticky;
  top: 100px;
}
.cotiza-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(32,33,127,0.08), 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(32,33,127,0.06);
}
.cotiza-form-card h2 {
  font-size: var(--fs-subtitle);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.cotiza-form-subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin-bottom: 28px;
}

#hubspot-form-container,
#hubspotFormContainer {
  display: block;
  min-height: 280px;
}

#hubspot-form-container form,
#hubspotFormContainer form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

/* HubSpot form overrides */
#hubspot-form-container .hs-form-field,
#hubspotFormContainer .hs-form-field {
  margin-bottom: 0;
  min-width: 0;
}
#hubspot-form-container .hs_firstname,
#hubspot-form-container .hs_lastname,
#hubspot-form-container .hs_email,
#hubspot-form-container .hs_phone,
#hubspotFormContainer .hs_firstname,
#hubspotFormContainer .hs_lastname,
#hubspotFormContainer .hs_email,
#hubspotFormContainer .hs_phone {
  grid-column: span 1;
}
#hubspot-form-container .hs_company,
#hubspot-form-container .hs_industry,
#hubspot-form-container .hs_message,
#hubspot-form-container .hs_submit,
#hubspot-form-container .hs-richtext,
#hubspot-form-container .legal-consent-container,
#hubspotFormContainer .hs_company,
#hubspotFormContainer .hs_industry,
#hubspotFormContainer .hs_message,
#hubspotFormContainer .hs_submit,
#hubspotFormContainer .hs-richtext,
#hubspotFormContainer .legal-consent-container {
  grid-column: 1 / -1;
}
#hubspot-form-container label,
#hubspotFormContainer label {
  font-family: 'Open Sans', 'Inter', sans-serif;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  display: block;
}
#hubspot-form-container input[type="text"],
#hubspot-form-container input[type="email"],
#hubspot-form-container input[type="tel"],
#hubspot-form-container input[type="number"],
#hubspot-form-container select,
#hubspot-form-container textarea,
#hubspotFormContainer input[type="text"],
#hubspotFormContainer input[type="email"],
#hubspotFormContainer input[type="tel"],
#hubspotFormContainer input[type="number"],
#hubspotFormContainer select,
#hubspotFormContainer textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1.5px solid rgba(32,33,127,0.15);
  border-radius: 10px;
  font-family: 'Open Sans', 'Inter', sans-serif;
  font-size: var(--fs-body);
  color: var(--dark);
  background: #fafbff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
#hubspot-form-container textarea,
#hubspotFormContainer textarea {
  min-height: 132px;
  resize: vertical;
}
#hubspot-form-container input:focus,
#hubspot-form-container select:focus,
#hubspot-form-container textarea:focus,
#hubspotFormContainer input:focus,
#hubspotFormContainer select:focus,
#hubspotFormContainer textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(253,196,0,0.15);
}
#hubspot-form-container .hs-submit .hs-button,
#hubspotFormContainer .hs-submit .hs-button {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
#hubspot-form-container .hs_error_rollup,
#hubspotFormContainer .hs_error_rollup {
  grid-column: 1 / -1;
}
#hubspot-form-container .hs-submit .hs-button:hover,
#hubspotFormContainer .hs-submit .hs-button:hover {
  background: #ffcf33;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(253,196,0,0.3);
}

/* Trust Badges */
.cotiza-trust {
  padding: var(--space-6) 0;
  background: var(--white);
  border-top: 1px solid rgba(32,33,127,0.06);
}
.cotiza-trust-inner {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cotiza-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--dark);
}
.cotiza-trust-icon {
  font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .cotiza-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cotiza-right {
    position: static;
  }
  .cotiza-left h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .cotiza-hero {
    padding: 120px 0 60px;
  }
  .cotiza-left h1 {
    font-size: 1.8rem;
  }
  .cotiza-form-card {
    padding: 28px 20px;
  }
  .cotiza-trust-inner {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
}
