/* Naju BOLD variant — same logo palette, stronger personality */
:root {
  --naju-blue: #459DE4;
  --naju-blue-dark: #1B6FB8;
  --naju-blue-deeper: #0E528C;
  --naju-teal: #43BC87;
  --naju-teal-dark: #2E9A6C;
  --naju-pink: #D74554;
  --naju-pink-soft: #FDF0F1;
  --naju-lavender: #8775A3;

  --bg: #F4F7FA;
  --bg-elevated: #FFFFFF;
  --surface-soft: #E8F3FC;
  --surface-teal: #E6F7EF;
  --surface-pink: #FBEAED;
  --surface-lavender: #F0ECF5;
  --border: rgba(14, 82, 140, 0.12);
  --border-strong: rgba(14, 82, 140, 0.22);
  --text: #101820;
  --text-muted: #4A5968;
  --text-on-brand: #FFFFFF;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 8px 28px rgba(14, 82, 140, 0.10);
  --shadow-md: 0 16px 48px rgba(14, 82, 140, 0.14);
  --shadow-hover: 0 20px 52px rgba(14, 82, 140, 0.18);
  --header-h: 68px;
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --focus: 0 0 0 3px rgba(69, 157, 228, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--naju-blue-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--naju-blue-deeper); }
a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--naju-blue-dark);
  color: var(--text-on-brand);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; box-shadow: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 247, 250, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--naju-blue-deeper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.site-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.site-logo:hover { color: var(--naju-blue-dark); }
.site-logo:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

/* Two equal segments sized for the longer audience label. */
.nav-audience {
  display: none;
  align-items: center;
  width: 19rem;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--surface-soft);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.nav-audience a {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-audience a:hover {
  color: var(--naju-blue-dark);
  background: rgba(69, 157, 228, 0.14);
}
.nav-audience a[aria-current="page"] {
  background: var(--naju-blue-dark);
  color: var(--text-on-brand);
  box-shadow: 0 2px 8px rgba(27, 111, 184, 0.28);
}
.nav-audience a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav-primary {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-primary a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-primary a:hover {
  color: var(--naju-blue-dark);
  background: rgba(69, 157, 228, 0.1);
}
.nav-primary a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -0.5rem;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle:hover { background: rgba(69, 157, 228, 0.1); }
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.nav-toggle__bars {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: background 0.2s;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, top 0.2s;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-drawer {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.25rem 1.25rem;
}
.nav-drawer.is-open { display: block; }
.nav-drawer .nav-audience {
  display: flex;
  width: 100%;
  justify-content: stretch;
  margin-bottom: 0.75rem;
}
.nav-drawer .nav-audience a {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.nav-drawer .nav-primary {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-drawer .nav-primary a {
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
}
.site-header__end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 860px) {
  .nav-audience { display: inline-flex; }
  .nav-primary { display: flex; }
  .nav-toggle { display: none; }
  .nav-drawer { display: none !important; }
  .site-header__inner { gap: 1.5rem; }
  .site-header__end {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
  }
}

/* ========== Hero — bold asymmetric ========== */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, #0E528C 0%, #1B6FB8 42%, #459DE4 78%, #43BC87 100%);
  color: var(--text-on-brand);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 20%, rgba(215, 69, 84, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 50% at 12% 90%, rgba(135, 117, 163, 0.35), transparent 50%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 2.25rem;
  padding-bottom: 0;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

.hero-card__copy {
  padding: 0 0 1.5rem;
  order: 1;
}
.hero-card__copy h1 {
  font-size: clamp(2.15rem, 8vw, 3.6rem);
  margin: 0 0 1.1rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(14, 82, 140, 0.25);
}
.hero-card__copy p {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.85rem;
  max-width: 34rem;
}
.hero-card__copy strong {
  color: #fff;
  font-weight: 700;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-card__figure {
  order: 2;
  align-self: center;
  width: min(280px, 70vw);
  margin: 0.5rem auto 0;
  line-height: 0;
  filter: drop-shadow(0 18px 40px rgba(8, 40, 70, 0.35));
}
.hero-card__figure img {
  width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55);
}
.btn--primary {
  background: #fff;
  color: var(--naju-blue-deeper);
  box-shadow: 0 8px 24px rgba(8, 40, 70, 0.28);
}
.btn--primary:hover {
  background: #fff;
  color: var(--naju-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(8, 40, 70, 0.35);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--solid-blue {
  background: var(--naju-blue-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(27, 111, 184, 0.35);
}
.btn--solid-blue:hover {
  background: var(--naju-blue-deeper);
  color: #fff;
  transform: translateY(-2px);
}
.btn--solid-teal {
  background: var(--naju-teal-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(46, 154, 108, 0.35);
}
.btn--solid-teal:hover {
  background: #247A55;
  color: #fff;
  transform: translateY(-2px);
}

@media (min-width: 760px) {
  .hero .wrap { padding-top: 3rem; }
  .hero-card {
    flex-direction: row;
    align-items: flex-end;
    gap: 1.5rem;
    min-height: 420px;
  }
  .hero-card__copy {
    flex: 1.15;
    order: 1;
    padding: 1rem 0 3.25rem;
    align-self: center;
  }
  .hero-card__figure {
    order: 2;
    width: 42%;
    max-width: 380px;
    margin: 0;
    align-self: flex-end;
  }
}

/* Statement band */
.statement-band {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: var(--text);
  color: #fff;
  padding: 1.15rem 0;
  text-align: center;
}
.statement-band p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.statement-band strong {
  color: var(--naju-teal);
}

/* ========== Sections ========== */
.section {
  padding: 3.5rem 0 3rem;
}
.section__header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.25rem;
}
.section__header h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.35rem);
  color: var(--naju-blue-deeper);
  margin-bottom: 0.55rem;
}
.section__lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}
.section__lead strong { color: var(--text); }

/* ========== Carousel / Step cards ========== */
.steps-carousel-nav { position: relative; }
.steps-carousel-nav > input { position: absolute; opacity: 0; pointer-events: none; }

.steps-carousel-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.steps-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.steps-carousel::-webkit-scrollbar { display: none; }

.steps-carousel .step-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 0 0.15rem;
}

.step-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  overflow: hidden;
  background: var(--bg-elevated);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-card--learn {
  background: linear-gradient(155deg, #CDE8FA 0%, #E8F4FC 45%, #FFFFFF 100%);
  border-color: rgba(69, 157, 228, 0.45);
}
.step-card--predict {
  background: linear-gradient(155deg, #F8D4D8 0%, #FDF0F1 45%, #FFFFFF 100%);
  border-color: rgba(215, 69, 84, 0.35);
}
.step-card--save {
  background: linear-gradient(155deg, #C8F0DC 0%, #ECF9F3 45%, #FFFFFF 100%);
  border-color: rgba(67, 188, 135, 0.45);
}

.step-card-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1rem 1.25rem;
  min-height: clamp(460px, 100vw, 580px);
  z-index: 1;
}

.step-card-watermark {
  position: absolute;
  top: -0.15rem;
  right: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 22vw, 9rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.step-card--learn .step-card-watermark { color: var(--naju-blue-deeper); }
.step-card--predict .step-card-watermark { color: #9B2E3A; }
.step-card--save .step-card-watermark { color: var(--naju-teal-dark); }

.step-card-row--dialog {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.4rem;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.step-card-bubble {
  order: 1;
  position: relative;
  margin: 0;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: left;
  backdrop-filter: blur(6px);
}
.step-card-bubble::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
}

.step-card-juanito {
  order: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 190px;
  line-height: 0;
  pointer-events: none;
}
.step-card-juanito img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: min(320px, 40vh);
  min-height: 180px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 10px 24px rgba(27, 111, 184, 0.16));
}

.step-card-bubble-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.step-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--naju-blue-dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(27, 111, 184, 0.3);
}
.step-card--predict .step-card-num {
  background: var(--naju-pink);
  box-shadow: 0 4px 12px rgba(215, 69, 84, 0.3);
}
.step-card--save .step-card-num {
  background: var(--naju-teal-dark);
  box-shadow: 0 4px 12px rgba(46, 154, 108, 0.3);
}

.step-card-bubble h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--naju-blue-deeper);
}
.step-card--predict .step-card-bubble h3 { color: #9B2E3A; }
.step-card--save .step-card-bubble h3 { color: var(--naju-teal-dark); }

.step-card-bubble p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.step-card-bubble strong { color: var(--text); }

.step-card-row--phone {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-card-phone {
  width: min(100%, 300px);
  margin: 0;
  padding: 0.55rem;
  background: #12171d;
  border-radius: 30px;
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.28);
  transition: transform 0.25s var(--ease);
}
.step-card:hover .step-card-phone {
  transform: translateY(-3px);
}
.step-card-phone-inner {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}
.step-card-phone-inner img {
  width: 100%;
  height: auto;
}

.steps-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.35rem;
}
.steps-carousel-dots label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(27, 111, 184, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease), width 0.2s var(--ease), border-radius 0.2s;
}
.steps-carousel-dots label:hover { background: var(--naju-blue); }
.steps-carousel-dots label:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.steps-carousel-nav input:nth-of-type(1):checked ~ .steps-carousel-dots label:nth-of-type(1),
.steps-carousel-nav input:nth-of-type(2):checked ~ .steps-carousel-dots label:nth-of-type(2),
.steps-carousel-nav input:nth-of-type(3):checked ~ .steps-carousel-dots label:nth-of-type(3) {
  background: var(--naju-blue-dark);
  width: 28px;
  border-radius: 999px;
  transform: none;
}

@media (min-width: 640px) {
  .step-card-scene {
    display: grid;
    grid-template-columns: 1fr 36%;
    grid-template-rows: auto 1fr;
    gap: 0.85rem 1.25rem;
    padding: 1.35rem 1.4rem 1.4rem;
    align-items: end;
    min-height: 440px;
  }
  .step-card-row--dialog {
    grid-column: 1;
    grid-row: 1 / -1;
    min-height: 100%;
  }
  .step-card-juanito { min-height: 220px; }
  .step-card-juanito img {
    max-height: min(400px, 50vh);
    min-height: 220px;
  }
  .step-card-bubble p { font-size: 1.02rem; }
  .step-card-row--phone {
    grid-column: 2;
    grid-row: 1 / -1;
    align-items: center;
  }
  .step-card-phone {
    width: 100%;
    max-width: 270px;
  }
}

/* ========== Download — solid brand CTAs ========== */
.download-block {
  position: relative;
  padding: 3.5rem 0 4rem;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(125deg, #0E528C 0%, #1B6FB8 50%, #2E9A6C 100%);
  color: #fff;
  border-top: none;
}
.download-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 20%, rgba(215, 69, 84, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(135, 117, 163, 0.25), transparent 50%);
  pointer-events: none;
}
.download-block .wrap { position: relative; z-index: 1; }
.download-block h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  color: #fff;
  margin-bottom: 0.4rem;
}
.download-block .download-sub {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
}

.stores {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.55rem;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 32px rgba(8, 40, 70, 0.28);
  border: 2px solid transparent;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s;
}
.store-badge:hover {
  box-shadow: 0 14px 40px rgba(8, 40, 70, 0.36);
  transform: translateY(-3px);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.5);
}
.store-badge:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55);
}
.store-badge.apple {
  background: #fff;
  color: var(--naju-blue-deeper);
}
.store-badge.google {
  background: var(--naju-teal);
  color: #fff;
  border-color: transparent;
}
.store-badge.google:hover {
  background: var(--naju-teal-dark);
  color: #fff;
}
.store-badge.google svg path { fill: currentColor; }
.store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ========== Footer ========== */
.site-footer {
  padding: 2.75rem 0 2.5rem;
  text-align: center;
  border-top: none;
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 1.35rem;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--naju-teal);
}
.footer-contact-item a {
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}
.footer-contact-item a:hover { text-decoration: underline; color: var(--naju-blue); }

.footer-links {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-links a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(69, 157, 228, 0.55);
}

/* ========== Legal / document pages ========== */
.legal-page .site-header { margin-bottom: 0; }

.doc-shell {
  min-height: calc(100vh - var(--header-h));
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(ellipse 55% 35% at 85% 0%, rgba(67, 188, 135, 0.16), transparent 68%),
    linear-gradient(180deg, var(--surface-soft) 0%, var(--bg) 42%);
}
.doc {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
@media (min-width: 600px) {
  .doc { padding: 2.5rem 2.25rem; }
}
.doc h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 1rem;
  color: var(--naju-blue-deeper);
}
.doc h2 {
  font-size: 1.3rem;
  margin: 1.6em 0 0.5em;
  color: var(--naju-blue-deeper);
}
.doc h3 {
  font-size: 1.08rem;
  margin: 1.25em 0 0.4em;
}
.doc p { margin: 0.55em 0; color: var(--text); }
.doc ul, .doc ol { margin: 0.55em 0; padding-left: 1.4em; }
.doc li { margin: 0.25em 0; }
.doc hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5em 0;
}
.doc a { font-weight: 600; }
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--naju-blue-deeper);
}
.doc-back:hover { text-decoration: underline; }
.loading { color: var(--text-muted); padding: 1.5rem; text-align: center; }
.error { color: var(--naju-pink); padding: 1.5rem; }

/* ========== Proveedores placeholder ========== */
.placeholder-hero {
  padding: 4rem 0 4.5rem;
  text-align: center;
  background:
    linear-gradient(145deg, #0E528C 0%, #1B6FB8 40%, #2E9A6C 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.placeholder-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 10%, rgba(215, 69, 84, 0.25), transparent 55%);
  pointer-events: none;
}
.placeholder-hero .wrap { position: relative; z-index: 1; }
.placeholder-hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.35rem;
}
.placeholder-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  margin-bottom: 0.9rem;
  color: #fff;
}
.placeholder-hero > .wrap > p {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}
.placeholder-card {
  max-width: 30rem;
  margin: 0 auto;
  padding: 1.75rem;
  background: #fff;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(8, 40, 70, 0.28);
  text-align: left;
}
.placeholder-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  color: var(--text);
}
.placeholder-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}
.placeholder-card .btn--primary {
  background: var(--naju-blue-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(27, 111, 184, 0.3);
}
.placeholder-card .btn--primary:hover {
  background: var(--naju-blue-deeper);
  color: #fff;
}
.placeholder-card .btn:focus-visible {
  box-shadow: var(--focus);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .step-card:hover,
  .step-card:hover .step-card-phone,
  .btn:hover,
  .store-badge:hover {
    transform: none;
  }
}

/* ========== Hidden videos page (noindex / unlisted links) ========== */
.site-header--minimal .site-header__end { display: none; }
.videos-page .site-header { margin-bottom: 0; }
.videos-hero {
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(69, 157, 228, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(67, 188, 135, 0.16), transparent 50%),
    var(--bg, #f4f8fc);
}
.videos-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--naju-blue-dark, #1b6fb8);
  margin: 0 0 0.75rem;
}
.videos-hero h1 {
  font-family: Outfit, DM Sans, system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.65rem;
  color: var(--text, #0f2438);
}
.videos-lead {
  margin: 0 0 2.25rem;
  color: var(--text-muted, #4a6278);
  font-size: 1.05rem;
}
.video-block {
  margin-bottom: 2.25rem;
  padding: 1.35rem 1.35rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 10px 32px rgba(15, 50, 80, 0.08);
}
.video-block h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  color: var(--text, #0f2438);
}
.video-block__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--naju-blue-dark, #1b6fb8);
  flex-shrink: 0;
}
.video-block > p {
  margin: 0 0 1rem;
  color: var(--text-muted, #4a6278);
  font-size: 0.98rem;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0f2438;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.site-footer--minimal {
  padding: 1.25rem 0 2rem;
}
.site-footer--minimal .footer-links {
  margin: 0;
  text-align: left;
}
