/* ==========================================================================
   NORA App - Professional Design System
   ========================================================================== */

:root {
  /* --- Brand Identity --- */
  --color-brand: #00274E;
  /* Deep Navy: Professional, Trust */
  --color-accent: #CBA052;
  /* Gold: Premium, Value */
  --color-brand-rgb: 0, 39, 78;

  /* --- Functional Colors --- */
  --color-text: #334155;
  /* Slate-700 for better readability */
  --color-text-light: #64748b;
  --color-heading: #0f172a;
  /* Slate-900 for sharp headings */
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  /* Slate-50: Very subtle cool grey */
  --color-bg-accent: #00274E;

  /* --- UI Colors --- */
  --color-border: #e2e8f0;
  /* Slate-200 */
  --color-success: #10b981;
  --color-primary-soft: #f1f5f9;

  /* --- Shadows (Refined) --- */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-strong: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-soft: 0 12px 20px -16px rgb(0 0 0 / 0.25);

  /* --- Spacing & Layout --- */
  --max-width: 1480px;
  /* Slightly wider for modern screens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --header-height: 70px;

  /* --- Typography --- */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Fluid Type Scale (Refined for better Mobile -> Desktop transition) */
  --h1-size: clamp(2.25rem, 8vw, 4rem);
  /* Proportional growth */
  --h2-size: clamp(1.75rem, 6vw, 3rem);
  --h3-size: clamp(1.35rem, 4vw, 2.25rem);
  --text-base: clamp(1rem, 1vw + 0.75rem, 1.125rem);
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* --- Transitions --- */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Effects --- */
  --transform-skew: -3deg;
  /* Subtler skew */
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  padding-top: var(--header-height);
}


.text-xs {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
  line-height: 1.15;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  min-height: 48px;
  /* Touch target size */
  border-radius: 999px;
  /* Pill shape */
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
}

.btn--primary {
  background: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  background: #001831;
  /* Slightly darker */
}

.btn--secondary {
  background: #ffffff;
  color: var(--color-brand);
  border-color: transparent;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn--secondary:hover {
  transform: translateY(-1px);
  color: var(--color-accent);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--color-brand);
}

.btn--ghost:hover {
  background: rgba(0, 39, 78, 0.05);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  min-height: 40px;
}

.btn .arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* --- Badges & Pills --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--accent {
  background: var(--color-accent);
  color: #ffffff;
}

.badge--soft {
  background: rgba(203, 160, 82, 0.15);
  color: var(--color-accent);
}

/* --- Cards --- */
.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 39, 78, 0.15);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  /* Comfortable padding */
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
    /* Standard mobile padding */
  }
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--white {
  background-color: #ffffff;
}

.section--contrast {
  background-color: var(--color-bg-accent);
  color: #ffffff;
}

.section__title {
  font-size: var(--h2-size);
  margin-bottom: 1rem;
  color: var(--color-brand);
  text-align: center;
  line-height: 1.2;
}

.section__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.study-preview {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
}

.study-preview__frame {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.study-preview__frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.study-preview__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section__eyebrow {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  margin: 0 auto 1rem;
}

.section--contrast .section__title,
.section--contrast .section__subtitle {
  color: #ffffff;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 768px) {
  .grid {
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg-light);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .site-footer__links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(230, 235, 241, 0.8);
  transition: transform 0.3s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-header__logo {
  height: 44px;
  width: auto;
}

.site-header__title {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__list {
  display: flex;
  gap: 1.1rem;
}

.site-nav__link {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

.site-nav__link:hover {
  color: var(--color-brand);
}

.site-nav__toggle {
  display: none;
  /* Mobile only */
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .site-nav {
    position: fixed;
    /* Fixed prevents scroll issues */
    top: var(--header-height);
    /* Below header */
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    /* Slide from right */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
    opacity: 1;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: center;
    /* Center items */
    width: 100%;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .site-nav__link {
    font-size: 1.15rem;
    /* Larger touch targets */
    font-weight: 600;
  }

  .site-nav__cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav__cta .btn {
    width: 100%;
  }

  .site-nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    /* Minimum touch target */
    height: 44px;
    background: none;
    border: none;
    padding: 10px;
    z-index: 110;
  }

  .site-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-brand);
    border-radius: 2px;
    transition: 0.3s;
    margin: 0 auto;
  }

  /* Hamburger Animation */
  .site-nav__toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .site-nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .site-nav__link {
    font-size: 0.94rem;
  }

  .site-nav__cta .btn {
    min-height: 42px;
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .site-header__title {
    display: none;
  }
}

/* ==========================================================================
   Hero Section (Stripe Style)
   ========================================================================== */

.hero {
  position: relative;
  padding: 8rem 0 12rem;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(150deg, #f6f9fc 15%, #ffffff 70%, #f6f9fc 90%);
  transform: skewY(var(--transform-skew));
  transform-origin: top left;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero {
    padding: 6rem 0 4rem;
    /* Reduce padding on mobile */
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: var(--h1-size);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-brand);
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

@media (max-width: 960px) {
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero__actions {
    justify-content: center;
    flex-direction: column;
    /* Stack buttons on small screens */
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    /* Full width buttons for thumbs */
  }
}

.hero__micro {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brand);
  line-height: 1.5;
  margin-bottom: 2rem;
  margin-top: 0.9rem;
}

.hero__bullets {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.hero__bullet {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 960px) {
  .hero__bullets {
    justify-content: center;
  }
}

.text-gradient {
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-brand);
  /* Fallback */
}

/* Hero Visual (Refined Mockup) */
.hero-mockup {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  transition: transform 0.5s var(--transition-smooth);
}

@media (min-width: 961px) {
  .hero-mockup {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  }

  .hero-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
  }
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-bg-light);
  font-size: 0.95rem;
}

.mock-row strong {
  color: var(--color-brand);
  font-weight: 700;
}

.mock-row--highlight {
  background: var(--color-bg-light);
  margin-left: -2rem;
  margin-right: -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-bottom: none;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 80px;
  margin: 2rem 0;
  justify-content: center;
}

.mock-chart__bar {
  width: 14px;
  background: var(--color-border);
  border-radius: 4px;
  transition: height 1s ease;
}

.mock-chart__bar--active {
  background: var(--color-accent);
}

/* --- Benefits & Stats (Home) --- */
.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-item {
  flex: 1;
  min-width: 200px;
}

.stat-item__value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-item__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.benefits-grid {
  text-align: center;
}

.benefit-card {
  padding: 2rem;
}

.benefit-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-brand);
}

.benefit-card__text {
  font-size: 1rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   Scrollytelling Section
   ========================================================================== */

.scrolly {
  padding: 8rem 0;
  background: #ffffff;
}

.scrolly .section__subtitle {
  margin-bottom: 1.5rem;
}

.scrolly__meta {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0 auto 2.5rem;
}

.seo-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.seo-title {
  font-size: 1.1rem;
  color: var(--color-brand);
  margin-bottom: 0.5rem;
}

.seo-split p {
  color: var(--color-text-light);
  margin: 0;
}

.seo-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scrolly__container {
  display: flex;
  gap: 4rem;
  position: relative;
  align-items: flex-start;
}

.scrolly__steps,
.scrolly__visuals {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 960px) {
  .scrolly__container {
    display: block;
  }

  .scrolly__visuals {
    display: none;
  }
}

/* Steps (Left) */
.scrolly__steps {
  position: relative;
  padding-bottom: 50vh;
  /* Spacer for end */
}

.scrolly__steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--color-border);
}

.scrolly__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  pointer-events: none;
}

.scrolly__progress span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(203, 160, 82, 0.45);
  border-radius: 999px;
  transition: height 0.2s ease;
}

.step {
  padding: 2rem 0 2rem 3rem;
  position: relative;
  min-height: 60vh;
  /* Relaxed spacing */
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

@media (max-width: 960px) {
  .step {
    min-height: auto;
    /* No huge gaps on mobile */
    padding: 2.5rem 0;
    /* Vertical breathing room */
    opacity: 1;
    /* Always visible content */
    border-left: 2px solid var(--color-border);
    /* Guide line */
    padding-left: 1.25rem;
  }

  .scrolly__progress {
    display: none;
  }

  .scrolly__steps {
    padding-bottom: 2rem;
  }

  .scrolly__steps::before,
  .step.is-active::after {
    display: none;
  }
}

.step.is-active {
  opacity: 1;
}

.step.is-active .step__number {
  color: var(--color-accent);
  transform: translateX(2px);
}

.step.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(203, 160, 82, 0.5);
}

.step__number {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.5rem;
  /* Larger number */
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Sticky CTA Mobile */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  background: #ffffff;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none;
    /* Mobile only usually, or keep if requested for all. User said "Diseño móvil impecable... Sticky CTA" under Mobile section. */
  }
}

.step__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.step__note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.scrolly__summary {
  margin: 2.5rem 0 0;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-card);
}

@media (min-width: 961px) {
  .scrolly__summary {
    margin-left: 3rem;
    width: calc(100% - 3rem);
  }
}

@media (max-width: 960px) {
  .scrolly__summary {
    margin: 2rem 0 0;
  }
}

.step__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.4s ease;
}

.step.is-active .step__title::after {
  width: 48px;
}

/* Visuals (Right - Sticky) */
.scrolly__visuals {
  position: sticky;
  top: 20vh;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  position: absolute;
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-strong);
  overflow: hidden;

  /* Estado oculto */
  opacity: 0;
  transform: translateY(40px);
  
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(203, 160, 82, 0.14), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(0, 39, 78, 0.08), transparent 60%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Mobile Inline Visuals */
.visual-card.visual-mobile-inline {
  position: relative;
  /* Not absolute */
  opacity: 1 !important;
  /* Always visible */
  transform: none !important;
  box-shadow: var(--shadow-card);
  margin-top: 1.5rem;
  padding: 1.5rem;
  max-width: 100%;
  left: auto;
  top: auto;
  border-left: 4px solid var(--color-accent);
  /* Accent touch */
}

/* Abstract Representations inside Visual Cards */
.mock-ui {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: var(--color-brand);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.mock-ui__line {
  height: 10px;
  background: var(--color-bg-light);
  border-radius: 5px;
  width: 100%;
}

.mock-ui__line--short {
  width: 40%;
}

.mock-ui__line--active {
  background: var(--color-accent);
  opacity: 0.5;
}

.visual-card.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 10;
}

.visual-card.is-active::before {
  opacity: 1;
  animation: scrollySheen 10s ease-in-out infinite;
}

.visual-card .mock-ui__line > div {
  width: 0;
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s ease;
}

.visual-card.is-active .mock-ui__line > div {
  width: var(--bar-width);
}

@keyframes scrollySheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-card.is-active::before {
    animation: none;
  }
}

/* ==========================================================================
   Plans Section
   ========================================================================== */

.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan--highlight {
  border-color: var(--color-accent);
  position: relative;
  box-shadow: var(--shadow-hover);
  /* Scale up slightly on Desktop */
  transform: scale(1.05);
  z-index: 2;
}

@media (max-width: 960px) {
  .plan--highlight {
    transform: none;
    /* Reset scale on mobile */
    margin: 1rem 0;
    /* Add visual spacing */
    border-width: 2px;
    /* Make it pop more with border */
  }
}

.plan__header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

.plan__name {
  color: var(--color-brand);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.plan__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-heading);
}

.plan__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
}

.plan__features li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.plan__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
}

.plan__action {
  margin-top: auto;
}

/* --- Pricing Table Grid (Responsive) --- */
.pricing-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .pricing-table {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (min-width: 1024px) {
  .pricing-table {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
  }
}

.plan-col {
  padding: 2rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.plan-col:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

.plan-col.recommend {
  position: relative;
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-strong);
}

@media (min-width: 1024px) {
  .plan-col.recommend {
    transform: scale(1.05);
    z-index: 2;
  }
}

.recommend-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan__name {
  font-size: 1.5rem;
  color: var(--color-brand);
  margin-bottom: 0.5rem;
}

.plan__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.plan__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.plan__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.plan__features {
  text-align: left;
  margin-bottom: 3rem;
  font-size: 1rem;
  color: var(--color-text);
}

.plan__features li {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.plan__features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   Legal Services (Cards)
   ========================================================================== */

.legal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.legal-card__title {
  color: var(--color-brand);
  font-size: 1.25rem;
}

/* ==========================================================================
   Testimonials & Grids
   ========================================================================== */

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    /* Stack on mobile */
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-header__logo {
    height: 40px;
  }

  main {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }

  .section__title {
    margin-bottom: 0.75rem;
  }

  .section__subtitle {
    margin-bottom: 2rem;
  }

  .section__eyebrow {
    margin-bottom: 0.75rem;
  }

  .hero__micro {
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero__actions {
    gap: 0.75rem;
  }

  .hero-widget {
    padding: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .plan-col {
    padding: 1.5rem;
  }

  .plan__action {
    width: 100%;
  }

  .step__title {
    font-size: 1.35rem;
  }

  .study-preview {
    padding: 1.25rem;
  }
}

@media (max-width: 600px) {
  .step__number {
    font-size: 1.25rem;
  }

  .step__title {
    font-size: 1.25rem;
  }

  .step__note {
    font-size: 0.9rem;
  }

  .visual-card.visual-mobile-inline {
    padding: 1.25rem;
    margin-top: 1rem;
    border-left-width: 3px;
  }

  .visual-card table th,
  .visual-card table td {
    padding: 0.25rem 0;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 5rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .study-preview__frame {
    padding: 0.75rem;
  }
}

.testimonial {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-style: italic;
  display: flex;
  flex-direction: column;
}

.testimonial__author {
  margin-top: auto;
  /* Push to bottom */
  padding-top: 1rem;
  font-weight: 600;
  font-style: normal;
  color: var(--color-brand);
  font-size: 0.9rem;
}

/* ==========================================================================
   Contact Modal
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 39, 78, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal__content {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  border-radius: 16px;
  position: relative;
  box-shadow: var(--shadow-strong);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-open .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(0, 39, 78, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.modal__status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.modal__status--ok {
  color: var(--color-success);
}

.modal__status--error {
  color: #ef4444;
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 400px;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  z-index: 2000;
  border: 1px solid var(--color-border);
  animation: slideUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* --- FAQ (Accordion) --- */
.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  font-weight: 600;
  color: var(--color-heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.faq-cta {
  text-align: center;
  margin-top: 4rem;
}

.faq-cta p {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-heading);
}
/* --- Hero Widget (Index2 Merger) --- */
.hero-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--color-border);
  max-width: 450px;
  margin: 0 auto;
}
.widget-header {
  margin-bottom: 1.5rem;
  text-align: center;
}
.widget-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.widget-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  background-color: white;
}
.trust-badge-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  opacity: 0.8;
}
.metric-highlight {
  color: #10b981;
  font-weight: 700;
}


/* --- High Contrast CTA (SEO/Conversion) --- */
.btn--cta {
  background-color: var(--color-accent) !important;
  color: var(--color-brand) !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 22px -14px rgba(203, 160, 82, 0.8) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -18px rgba(203, 160, 82, 0.9) !important;
  background-color: #b98b3e !important;
}

/* --- Logo Strip --- */
.logo-strip {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  background: white;
  overflow: hidden;
}
.logo-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.5;
  filter: grayscale(100%);
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__bg {
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Marketing Revamp 2026
   ========================================================================== */

.hero__proof {
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.hero__proof li {
  list-style: none;
  font-size: 0.98rem;
  color: var(--color-heading);
  font-weight: 500;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.hero__proof li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.widget-radio-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.widget-radio-row label {
  font-size: 0.9rem;
}

.calc-submit {
  width: 100%;
}

.calc-result {
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.calc-loading {
  text-align: center;
}

.calc-loading p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.calc-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-brand);
  border-top-color: transparent;
  border-radius: 999px;
  animation: calcSpin 0.9s linear infinite;
}

@keyframes calcSpin {
  to {
    transform: rotate(360deg);
  }
}

.calc-result__title {
  margin: 0 0 0.65rem;
  font-weight: 700;
  color: var(--color-brand);
}

.calc-result__text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--color-text);
}

.workflow-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-step {
  position: relative;
  padding-top: 2.6rem;
}

.workflow-step__num {
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.section-cta-inline {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.study-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.25rem;
  align-items: start;
}

.study-checklist .card__list {
  margin-bottom: 1.2rem;
}

.study-checklist .card__list li {
  margin-bottom: 0.7rem;
}

.legal-grid {
  margin-bottom: 1.25rem;
}

.legal-card__meta {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 600;
}

.legal-card__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.legal-highlight {
  margin-top: 1.8rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-light);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.legal-highlight p {
  margin: 0;
  max-width: 780px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.trust-card p {
  margin-bottom: 0;
}

.trust-card a {
  color: var(--color-brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.final-cta .section__subtitle {
  max-width: 760px;
}

.final-cta {
  text-align: center;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.35rem;
}

.final-cta__actions .btn {
  flex: 0 1 250px;
  min-height: 52px;
  justify-content: center;
}

.final-cta .btn--ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.06);
}

.final-cta .btn--ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
}

.hero__actions .btn,
.section-cta-inline .btn,
.plan__action,
.legal-card__actions .btn,
.final-cta__actions .btn {
  white-space: normal;
  text-align: center;
}

@media (max-width: 1100px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-layout {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    padding-top: 2.4rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .legal-card__actions {
    width: 100%;
  }

  .legal-card__actions .btn {
    width: 100%;
  }

  .final-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .final-cta__actions .btn {
    width: 100%;
    max-width: 420px;
    flex-basis: auto;
  }
}

@media (max-width: 980px) and (min-width: 761px) {
  .final-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .final-cta__actions .btn {
    width: min(420px, 100%);
    flex-basis: auto;
  }
}

/* ==========================================================================
   Marketing Luxury Theme (Landing Only)
   ========================================================================== */

body.marketing-page {
  --color-brand: #e6eeff;
  --color-accent: #d8b56b;
  --color-brand-rgb: 230, 238, 255;
  --color-text: #dee9fb;
  --color-text-light: #b4c6e1;
  --color-heading: #ffffff;
  --color-bg: #04152d;
  --color-bg-light: #0a2a54;
  --color-bg-accent: #031126;
  --color-border: rgba(216, 181, 107, 0.28);
  --color-success: #d8b56b;
  --color-primary-soft: rgba(255, 255, 255, 0.07);
  --shadow-card: 0 22px 42px -30px rgba(0, 0, 0, 0.9);
  --shadow-hover: 0 30px 50px -34px rgba(0, 0, 0, 0.95);
  --shadow-strong: 0 38px 58px -36px rgba(0, 0, 0, 0.95);
  --max-width: 1220px;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(1200px 560px at 8% -8%, rgba(216, 181, 107, 0.2), transparent 62%),
    radial-gradient(960px 520px at 92% 0%, rgba(115, 157, 221, 0.24), transparent 58%),
    linear-gradient(180deg, #041225 0%, #06244b 45%, #04152f 100%);
}

.marketing-page h1,
.marketing-page h2,
.marketing-page h3,
.marketing-page h4,
.marketing-page h5 {
  color: var(--color-heading);
}

.marketing-page .container {
  max-width: min(var(--max-width), 100%);
  padding-inline: clamp(1rem, 3.8vw, 2.8rem);
}

.marketing-page .section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.marketing-page .section__title {
  color: var(--color-heading);
}

.marketing-page .section__subtitle {
  max-width: 760px;
  color: var(--color-text-light);
}

.marketing-page .section__eyebrow {
  color: var(--color-accent);
}

.marketing-page .section--light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.marketing-page .section--white {
  background: linear-gradient(180deg, rgba(7, 28, 58, 0.95), rgba(5, 21, 44, 0.98));
}

.marketing-page .section--contrast {
  background: linear-gradient(145deg, #0d376d 0%, #082d5e 42%, #041b39 100%);
}

.marketing-page .site-header {
  background: rgba(2, 16, 35, 0.84);
  border-bottom: 1px solid rgba(216, 181, 107, 0.3);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.95);
}

.marketing-page .site-nav__link {
  color: var(--color-text-light);
}

.marketing-page .site-nav__link:hover {
  color: var(--color-heading);
}

.marketing-page .site-nav__toggle span {
  background: var(--color-heading);
}

@media (max-width: 1024px) {
  .marketing-page .site-nav {
    background: linear-gradient(180deg, rgba(3, 18, 39, 0.98), rgba(5, 31, 64, 0.98));
    border-left: 1px solid rgba(216, 181, 107, 0.24);
  }
}

.marketing-page .hero {
  background: transparent;
  padding: clamp(7rem, 12vw, 8.5rem) 0 clamp(7rem, 10vw, 10rem);
}

.marketing-page .hero__bg {
  background:
    radial-gradient(110% 85% at 16% 8%, rgba(216, 181, 107, 0.2), transparent 56%),
    radial-gradient(100% 95% at 92% 0%, rgba(127, 166, 226, 0.22), transparent 60%),
    linear-gradient(160deg, #0a2e5e 14%, #052144 56%, #04162f 100%);
  transform: skewY(-1.8deg);
}

.marketing-page .hero__inner {
  gap: clamp(2rem, 5vw, 4rem);
}

.marketing-page .hero__title {
  color: var(--color-heading);
}

.marketing-page .hero__subtitle {
  color: var(--color-text);
}

.marketing-page .hero__micro {
  color: var(--color-accent);
}

.marketing-page .text-gradient {
  background: linear-gradient(92deg, #ffffff 8%, #f0d190 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.marketing-page .hero__proof li {
  color: var(--color-heading);
}

.marketing-page .hero__proof li::before {
  box-shadow: 0 0 0 3px rgba(216, 181, 107, 0.2);
}

.marketing-page .btn {
  letter-spacing: 0.01em;
}

.marketing-page .btn--primary,
.marketing-page .btn--cta {
  background: linear-gradient(135deg, #efd39c, #d7ae5d) !important;
  color: #172c4e !important;
  border: 1px solid rgba(255, 237, 193, 0.78) !important;
  box-shadow: 0 14px 30px -20px rgba(216, 181, 107, 0.92) !important;
}

.marketing-page .btn--primary:hover,
.marketing-page .btn--cta:hover {
  background: linear-gradient(135deg, #f5ddb0, #dfb96a) !important;
  color: #122643 !important;
}

.marketing-page .btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-heading);
  border-color: rgba(216, 181, 107, 0.4);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.75);
}

.marketing-page .btn--secondary:hover {
  color: var(--color-heading);
  border-color: rgba(216, 181, 107, 0.78);
  background: rgba(216, 181, 107, 0.18);
}

.marketing-page .btn--ghost {
  color: var(--color-heading);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.marketing-page .btn--ghost:hover {
  color: var(--color-heading);
  border-color: rgba(216, 181, 107, 0.8);
  background: rgba(216, 181, 107, 0.12);
}

.marketing-page .badge--accent {
  background: linear-gradient(135deg, #efd39c, #d7ae5d);
  color: #172c4e;
}

.marketing-page .badge--soft {
  background: rgba(216, 181, 107, 0.2);
  color: #f4d89f;
}

.marketing-page .card,
.marketing-page .plan-col,
.marketing-page .legal-card,
.marketing-page .testimonial,
.marketing-page .study-preview,
.marketing-page .hero-widget,
.marketing-page .visual-card,
.marketing-page .modal__content,
.marketing-page #cookie-banner {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(216, 181, 107, 0.24);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.marketing-page .card,
.marketing-page .plan-col,
.marketing-page .legal-card,
.marketing-page .testimonial,
.marketing-page .hero-widget {
  position: relative;
  overflow: hidden;
}

.marketing-page .card::before,
.marketing-page .plan-col::before,
.marketing-page .legal-card::before,
.marketing-page .testimonial::before,
.marketing-page .hero-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 120% at 100% 0%, rgba(216, 181, 107, 0.16), transparent 60%);
  pointer-events: none;
}

.marketing-page .card--hover:hover,
.marketing-page .plan-col:hover {
  border-color: rgba(216, 181, 107, 0.64);
  box-shadow: var(--shadow-hover);
}

.marketing-page .plan-col.recommend {
  border: 2px solid rgba(216, 181, 107, 0.78) !important;
  box-shadow: 0 32px 50px -34px rgba(216, 181, 107, 0.62);
}

.marketing-page .recommend-badge {
  background: linear-gradient(135deg, #f2d8a4, #d8ae5d) !important;
  color: #13284c !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.marketing-page .plan__price,
.marketing-page .plan__price span,
.marketing-page .plan__desc,
.marketing-page .plan__features,
.marketing-page .plan__features li,
.marketing-page .legal-card__meta,
.marketing-page .faq-item p,
.marketing-page .calc-result__text,
.marketing-page .text-xs {
  color: var(--color-text-light);
}

.marketing-page .plan__features li::before {
  color: var(--color-accent);
}

.marketing-page .legal-highlight {
  background: rgba(216, 181, 107, 0.09);
  border-color: rgba(216, 181, 107, 0.36);
}

.marketing-page .trust-card a {
  color: #f3d594;
}

.marketing-page .study-preview__frame {
  background: rgba(3, 13, 29, 0.78);
  border-color: rgba(216, 181, 107, 0.24);
}

.marketing-page .faq-item {
  border-color: rgba(216, 181, 107, 0.24);
}

.marketing-page .faq-item summary {
  color: var(--color-heading);
}

.marketing-page .widget-input,
.marketing-page .widget-select,
.marketing-page .form-input,
.marketing-page .form-textarea {
  background: rgba(3, 17, 36, 0.74);
  border: 1px solid rgba(216, 181, 107, 0.34);
  color: var(--color-heading);
}

.marketing-page .widget-input::placeholder,
.marketing-page .form-input::placeholder,
.marketing-page .form-textarea::placeholder {
  color: rgba(226, 235, 250, 0.64);
}

.marketing-page .widget-input:focus,
.marketing-page .widget-select:focus,
.marketing-page .form-input:focus,
.marketing-page .form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(216, 181, 107, 0.2);
}

.marketing-page .widget-radio-row label {
  color: var(--color-text);
}

.marketing-page .calc-spinner {
  border-color: var(--color-accent);
  border-top-color: transparent;
}

.marketing-page .sticky-cta {
  background: rgba(3, 17, 37, 0.94);
  border-top: 1px solid rgba(216, 181, 107, 0.32);
  box-shadow: 0 -10px 24px -20px rgba(0, 0, 0, 0.9);
}

.marketing-page .modal {
  background: rgba(1, 9, 20, 0.76);
}

.marketing-page .modal__close,
.marketing-page .site-footer {
  color: var(--color-text-light);
}

.marketing-page .site-footer {
  background: linear-gradient(180deg, #031024, #020c1d);
  border-top: 1px solid rgba(216, 181, 107, 0.28);
}

.marketing-page .site-footer__links a:hover {
  color: var(--color-heading);
}

.marketing-page .pricing-table {
  max-width: 1120px;
  margin: 3rem auto 0;
}

.marketing-page .faq-list {
  max-width: 920px;
}

@media (max-width: 760px) {
  .marketing-page .hero {
    padding: 5.8rem 0 4.25rem;
  }

  .marketing-page .hero-widget,
  .marketing-page .card,
  .marketing-page .plan-col,
  .marketing-page .legal-card,
  .marketing-page .testimonial {
    border-radius: 14px;
  }
}

/* ==========================================================================
   Marketing Enhancements (Routing + Metrics + SEO + Header cleanup)
   ========================================================================== */

.marketing-page .site-header {
  background: #020d1f;
  border-bottom: 1px solid rgba(216, 181, 107, 0.24);
  box-shadow: none;
  backdrop-filter: none;
}

.marketing-page .hero {
  background: linear-gradient(180deg, #061b39 0%, #04142b 65%, #041022 100%);
}

.marketing-page .hero__bg {
  background:
    radial-gradient(110% 88% at 16% 8%, rgba(216, 181, 107, 0.16), transparent 58%),
    radial-gradient(120% 92% at 92% 0%, rgba(77, 123, 196, 0.2), transparent 62%),
    linear-gradient(160deg, #0a2a55 14%, #041d3d 54%, #041427 100%);
}

.marketing-page .card,
.marketing-page .plan-col,
.marketing-page .legal-card,
.marketing-page .testimonial,
.marketing-page .study-preview,
.marketing-page .hero-widget,
.marketing-page .visual-card,
.marketing-page .modal__content,
.marketing-page #cookie-banner {
  background: linear-gradient(148deg, rgba(4, 24, 50, 0.96), rgba(3, 14, 31, 0.96));
}

.marketing-page .card::before,
.marketing-page .plan-col::before,
.marketing-page .legal-card::before,
.marketing-page .testimonial::before,
.marketing-page .hero-widget::before {
  background: radial-gradient(145% 120% at 100% 0%, rgba(216, 181, 107, 0.14), transparent 62%);
}

.marketing-page .hero__content {
  grid-area: content;
}

.marketing-page .hero__visual {
  grid-area: visual;
  align-self: start;
}

.marketing-page .hero-routes {
  grid-area: routes;
}

.marketing-page .hero__micro {
  grid-area: micro;
  margin-bottom: 0;
}

@media (min-width: 961px) {
  .marketing-page .hero__inner {
    grid-template-areas:
      "content visual"
      "routes routes"
      "micro micro";
    align-items: start;
    row-gap: 1.05rem;
  }
}

@media (max-width: 960px) {
  .marketing-page .hero__inner {
    grid-template-areas:
      "content"
      "visual"
      "routes"
      "micro";
    row-gap: 1rem;
  }

  .marketing-page .hero-routes {
    grid-template-columns: 1fr;
  }
}

.hero-routes {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-route-card {
  border: 1px solid rgba(216, 181, 107, 0.25);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(3, 18, 39, 0.62);
}

.hero-route-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  line-height: 1.28;
}

.hero-route-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.hero-route-card__kicker {
  margin: 0 0 0.5rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent) !important;
}

.calc-metrics {
  display: grid;
  gap: 0.65rem;
  margin: 0.35rem 0 0.85rem;
}

.calc-metric {
  border: 1px solid rgba(216, 181, 107, 0.26);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: rgba(5, 22, 44, 0.58);
}

.calc-metric span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.calc-metric strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-heading);
  line-height: 1.2;
}

.calc-metric small {
  display: block;
  margin-top: 0.2rem;
  color: var(--color-text-light);
  font-size: 0.76rem;
}

.calc-compliance-badge {
  margin: 0 0 0.8rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 181, 107, 0.36);
  background: rgba(216, 181, 107, 0.12);
  color: #f0d9ab;
  font-size: 0.78rem;
  text-align: center;
}

.pricing-compare-wrap {
  margin-top: 2rem;
}

.pricing-compare__title {
  margin: 0 0 0.5rem;
  text-align: center;
  color: var(--color-heading);
}

.pricing-compare__note {
  margin: 0 auto 1rem;
  text-align: center;
  max-width: 820px;
  color: var(--color-text-light);
  font-size: 0.93rem;
}

.pricing-compare-scroll {
  overflow-x: auto;
}

.pricing-compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  border: 1px solid rgba(216, 181, 107, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(4, 24, 50, 0.9);
}

.pricing-compare-table th,
.pricing-compare-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(216, 181, 107, 0.18);
  text-align: left;
  color: var(--color-text);
  font-size: 0.92rem;
}

.pricing-compare-table th {
  color: var(--color-heading);
  background: rgba(216, 181, 107, 0.14);
}

.pricing-compare-table tr:last-child td {
  border-bottom: none;
}

.seo-cluster-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.seo-cluster-card {
  border: 1px solid rgba(216, 181, 107, 0.24);
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(4, 20, 42, 0.82);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.seo-cluster-card:hover {
  border-color: rgba(216, 181, 107, 0.55);
  transform: translateY(-1px);
}

.seo-cluster-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--color-heading);
}

.seo-cluster-card p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.seo-map-shell {
  margin-top: 1.35rem;
  border: 1px solid rgba(216, 181, 107, 0.24);
  border-radius: 16px;
  padding: 1.05rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(216, 181, 107, 0.1), transparent 42%),
    rgba(2, 16, 36, 0.9);
}

.seo-map-shell__intro {
  margin-bottom: 0.9rem;
}

.seo-map-shell__title {
  margin: 0 0 0.35rem;
  color: var(--color-heading);
  font-size: 1.1rem;
}

.seo-map-shell__intro p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.seo-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
  gap: 0.95rem;
  align-items: stretch;
}

.seo-map-card {
  border: 1px solid rgba(216, 181, 107, 0.2);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(169, 141, 219, 0.25), rgba(79, 45, 137, 0.2));
  padding: 0.72rem;
  overflow: visible;
}

.seo-point-map {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 670;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(216, 181, 107, 0.22);
  --seo-map-scale: 1.24;
  --seo-map-shift-x: 0%;
  --seo-map-shift-y: -8.5%;
}

.seo-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  min-height: 0;
  object-fit: contain;
  transform: translate(var(--seo-map-shift-x), var(--seo-map-shift-y)) scale(var(--seo-map-scale));
  transform-origin: center center;
}

.seo-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 1.3rem;
  height: 1.3rem;
  margin-left: -0.65rem;
  margin-top: -0.65rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: #9976dd;
  color: #efe30c;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.64);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
  z-index: 2;
}

.seo-point::before {
  content: '+';
  transform: translateY(-1px);
}

.seo-point::after {
  width: 3.9rem;
  height: 3.9rem;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  margin: -1.3rem 0 0 -1.3rem;
  background: #6b2fdd;
  border-radius: 50%;
  opacity: 0;
  animation: seo-point-waves 20s infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
}

@keyframes seo-point-waves {
  0% {
    transform: scale(0);
  }

  1% {
    opacity: 0.72;
  }

  5% {
    opacity: 0;
    transform: scale(1);
  }
}

.seo-point:hover,
.seo-point:focus-visible,
.seo-point[data-active="true"] {
  transform: rotate(90deg) scale(1.08);
  background: #6b2fdd;
  color: #fff5a3;
}

.seo-point:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.seo-point__info {
  width: 15.6rem;
  position: absolute;
  top: 2.2rem;
  left: 50%;
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 3;
}

.seo-point__content {
  display: block;
  position: relative;
  background: #dfdce3;
  box-shadow: 0 10px 24px -12px rgba(48, 27, 84, 0.56);
  border-radius: 0.7rem;
  overflow: hidden;
  color: #3c3550;
}

.seo-point__content::before {
  content: '';
  position: absolute;
  top: -0.55rem;
  left: 50%;
  margin-left: -0.42rem;
  border-style: solid;
  border-width: 0 0.42rem 0.55rem;
  border-color: transparent transparent #dfdce3;
}

.seo-point__title {
  display: block;
  background: #a58fdb;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  text-align: center;
  letter-spacing: 0.03em;
  padding: 0.52rem 0.55rem;
}

.seo-point__text {
  display: block;
  color: #52486e;
  font-size: 0.72rem;
  line-height: 1.22;
  text-align: center;
  padding: 0.68rem 0.78rem 0.75rem;
}

.seo-point:hover .seo-point__info,
.seo-point:focus-visible .seo-point__info,
.seo-point[data-active="true"] .seo-point__info {
  opacity: 1;
  transform: translate(-50%, 0);
}

.seo-map-footnote {
  margin: 0.7rem 0 0;
  font-size: 0.79rem;
  color: var(--color-text-light);
}

.seo-map-panel {
  border: 1px solid rgba(216, 181, 107, 0.24);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(5, 22, 46, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.seo-map-panel__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.seo-map-panel__title {
  margin: 0;
  color: var(--color-heading);
  font-size: 1.1rem;
}

.seo-map-panel__summary {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.seo-map-metrics {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.seo-map-metric {
  margin: 0;
  padding: 0.58rem;
  border-radius: 10px;
  border: 1px solid rgba(216, 181, 107, 0.18);
  background: rgba(4, 20, 42, 0.78);
}

.seo-map-metric dt {
  margin: 0 0 0.22rem;
  color: var(--color-text-light);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seo-map-metric dd {
  margin: 0;
  color: var(--color-heading);
  font-size: 0.87rem;
  font-weight: 600;
}

.seo-map-panel__cta {
  margin-top: auto;
  width: fit-content;
}

.marketing-page #funcionalidades .scrolly__container {
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 980px) {
  .hero-routes {
    grid-template-columns: 1fr;
  }

  .seo-cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-map-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .seo-cluster-grid {
    grid-template-columns: 1fr;
  }

  .seo-map-shell {
    padding: 0.85rem;
  }

  .seo-point {
    width: 1.12rem;
    height: 1.12rem;
    margin-left: -0.56rem;
    margin-top: -0.56rem;
    font-size: 0.82rem;
  }

  .seo-point::after {
    width: 3.2rem;
    height: 3.2rem;
    margin: -1.05rem 0 0 -1.05rem;
  }

  .seo-point__info {
    width: min(14rem, 78vw);
    top: 1.9rem;
  }

  .seo-point__text {
    font-size: 0.69rem;
    padding: 0.58rem 0.62rem 0.68rem;
  }

  .seo-point-map {
    --seo-map-scale: 1.2;
    --seo-map-shift-y: -7%;
  }

  .seo-map-panel {
    padding: 0.75rem;
  }

  .seo-map-metrics {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Desktop Spatial Balance (Main Landing)
   ========================================================================== */

@media (min-width: 1180px) {
  body.marketing-page:not(.seo-guide-page) .container {
    max-width: 1140px;
    padding-inline: clamp(1.2rem, 1.8vw, 1.8rem);
  }

  body.marketing-page:not(.seo-guide-page) .hero .container {
    max-width: 1280px;
  }

  body.marketing-page:not(.seo-guide-page) .site-header .container {
    max-width: 1200px;
  }

  body.marketing-page:not(.seo-guide-page) .site-nav {
    gap: 0.95rem;
  }

  body.marketing-page:not(.seo-guide-page) .site-nav__list {
    gap: 0.85rem;
  }

  body.marketing-page:not(.seo-guide-page) .site-nav__link {
    font-size: 0.96rem;
  }

  body.marketing-page:not(.seo-guide-page) .section {
    padding: clamp(3.6rem, 4.8vw, 5rem) 0;
  }

  body.marketing-page:not(.seo-guide-page) .hero {
    padding: clamp(5.7rem, 7.2vw, 6.8rem) 0 clamp(4.6rem, 5.8vw, 5.8rem);
  }

  body.marketing-page:not(.seo-guide-page) .hero__inner {
    max-width: 1260px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1.12fr) minmax(460px, 0.88fr);
    grid-template-areas:
      "content visual"
      "routes routes"
      "micro micro";
    gap: clamp(1.8rem, 2.8vw, 3rem);
    row-gap: 1rem;
    align-items: start;
  }

  body.marketing-page:not(.seo-guide-page) .hero__content {
    max-width: 740px;
  }

  body.marketing-page:not(.seo-guide-page) .hero__subtitle {
    max-width: 60ch;
    margin-bottom: 1.9rem;
  }

  body.marketing-page:not(.seo-guide-page) .hero__proof {
    margin-bottom: 1.25rem;
  }

  body.marketing-page:not(.seo-guide-page) .hero__actions {
    flex-wrap: nowrap;
    gap: 0.8rem;
  }

  body.marketing-page:not(.seo-guide-page) .hero-routes {
    width: 100%;
    max-width: 1140px;
    margin-top: 0.35rem;
    margin-inline: auto;
    gap: 0.9rem;
  }

  body.marketing-page:not(.seo-guide-page) .hero__visual {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
  }

  body.marketing-page:not(.seo-guide-page) .hero-widget {
    width: 100%;
    max-width: 540px;
    margin: 0;
  }

  body.marketing-page:not(.seo-guide-page) .hero__micro {
    max-width: 1140px;
    margin-inline: auto;
    margin-top: 0.1rem;
  }

  body.marketing-page:not(.seo-guide-page) .section__subtitle {
    max-width: 62ch;
    margin-bottom: 2.4rem;
  }

  body.marketing-page:not(.seo-guide-page) #funcionalidades .scrolly__container {
    margin-top: 2.2rem !important;
    gap: 1.35rem !important;
    max-width: 1020px;
    margin-inline: auto;
  }

  body.marketing-page:not(.seo-guide-page) .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 1020px;
    margin-inline: auto;
    gap: 1.15rem !important;
  }

  body.marketing-page:not(.seo-guide-page) .study-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    max-width: 1020px;
    margin-inline: auto;
    gap: 1.25rem;
  }

  body.marketing-page:not(.seo-guide-page) .grid {
    max-width: 1020px;
    margin-inline: auto;
    gap: 1.15rem;
  }

  body.marketing-page:not(.seo-guide-page) .legal-highlight {
    max-width: 1020px;
    margin: 1.5rem auto 0;
  }

  body.marketing-page:not(.seo-guide-page) .pricing-table {
    max-width: 1020px;
    gap: 1.25rem;
  }

  body.marketing-page:not(.seo-guide-page) .plan-col.recommend {
    transform: none;
  }

  body.marketing-page:not(.seo-guide-page) .pricing-compare-wrap {
    max-width: 1020px;
  }

  body.marketing-page:not(.seo-guide-page) .seo-cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1020px;
  }

  body.marketing-page:not(.seo-guide-page) .faq-list {
    max-width: 860px;
  }

  body.marketing-page:not(.seo-guide-page) .legal-grid,
  body.marketing-page:not(.seo-guide-page) .trust-grid,
  body.marketing-page:not(.seo-guide-page) .pricing-table,
  body.marketing-page:not(.seo-guide-page) .pricing-compare-wrap,
  body.marketing-page:not(.seo-guide-page) .seo-cluster-grid {
    max-width: 1020px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   SEO Guide Pages
   ========================================================================== */

.seo-guide-page .site-header {
  background: #020d1f;
  border-bottom: 1px solid rgba(216, 181, 107, 0.24);
  box-shadow: none;
}

.seo-guide-page main {
  background: linear-gradient(180deg, #041022 0%, #031024 45%, #020c1d 100%);
}

.seo-guide-page .container {
  max-width: min(1060px, 100%);
  padding-inline: clamp(1rem, 2.1vw, 2rem);
}

.seo-guide-page .hero {
  padding: clamp(4.3rem, 6.4vw, 5.3rem) 0 clamp(2.8rem, 4.4vw, 3.8rem);
}

.seo-guide-hero {
  min-height: 0;
}

.seo-guide-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.seo-guide-page .section {
  padding: clamp(2.45rem, 4.6vw, 3.7rem) 0;
}

.seo-guide-page .section > .container {
  display: grid;
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

.seo-guide-page .section__eyebrow {
  margin-bottom: 0.85rem;
}

.seo-guide-page .hero__title,
.seo-guide-page .section__title {
  max-width: 24ch;
  margin-inline: auto;
  margin-bottom: 0.2rem;
  text-wrap: balance;
}

.seo-guide-page .hero__subtitle,
.seo-guide-page .section__subtitle {
  max-width: 72ch;
  margin-inline: auto;
  text-align: center;
}

.seo-guide-page .hero__subtitle {
  margin-bottom: 1.35rem;
  text-wrap: pretty;
}

.seo-guide-page .section__subtitle {
  margin-bottom: 1.35rem;
  text-wrap: pretty;
}

.seo-guide-page .hero__actions {
  justify-content: center;
  gap: 0.8rem;
}

.seo-guide-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1rem auto 0;
  max-width: 1020px;
}

.seo-guide-metric {
  border: 1px solid rgba(216, 181, 107, 0.26);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(4, 20, 42, 0.84);
  min-height: 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.seo-guide-metric span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-light);
  margin-bottom: 0.28rem;
  line-height: 1.34;
}

.seo-guide-metric strong {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 1.18rem;
}

.seo-guide-page .section .card {
  max-width: 980px;
  margin-inline: auto;
  margin-top: 0.25rem;
}

.seo-guide-card--spaced {
  margin-top: 0.9rem;
}

.seo-guide-card__body {
  padding: clamp(0.95rem, 1.8vw, 1.25rem);
  text-align: left;
}

.seo-guide-list {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.65;
  color: var(--color-text);
}

.seo-guide-list li + li {
  margin-top: 0.38rem;
}

.seo-guide-page .faq-list {
  max-width: 940px;
  margin-inline: auto;
}

.seo-guide-page .faq-item {
  text-align: left;
}

.seo-guide-page .faq-item summary {
  line-height: 1.42;
}

.seo-guide-page .faq-item p {
  margin-top: 0.55rem;
  line-height: 1.65;
}

.seo-guide-cta .final-cta__actions {
  margin-top: 1.2rem;
  justify-content: center;
  gap: 0.8rem;
}

.seo-guide-page .card a {
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .seo-guide-page .seo-guide-nav {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    opacity: 1;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    overflow: visible;
    flex-direction: row;
  }

  .seo-guide-page .seo-guide-nav .site-nav__link {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .seo-guide-page .section {
    padding: 2.55rem 0;
  }

  .seo-guide-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .seo-guide-page .hero {
    padding: 4.9rem 0 2.7rem;
  }

  .seo-guide-page .hero__title,
  .seo-guide-page .section__title {
    max-width: 20ch;
  }

  .seo-guide-page .hero__actions .btn,
  .seo-guide-page .final-cta__actions .btn {
    width: 100%;
  }

  .seo-guide-card__body {
    padding: 0.95rem;
  }

  .seo-guide-metrics {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   ANCLA DE PRECIO (marketing / index.html)
   Barra discreta entre FAQ y el CTA final
   ===================================================== */

.price-anchor {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.price-anchor__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.price-anchor__text {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}

.price-anchor__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .price-anchor__inner {
    flex-direction: column;
    text-align: center;
  }
  .price-anchor__btn {
    width: 100%;
  }
}

/* ==========================================================================
   NORA Product Pitch — sección de presentación del producto
   Compartida por páginas CCAA y de servicios
   ========================================================================== */
.nora-pitch {
  background: var(--color-brand);
  color: #fff;
  padding: 4rem 0;
}

.nora-pitch__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: center;
}

.nora-pitch__label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.nora-pitch h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 0.9rem;
  line-height: 1.25;
}

.nora-pitch p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  line-height: 1.72;
  margin: 0 0 1.4rem;
}

.nora-pitch__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nora-pitch__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.5;
}

.nora-pitch__check {
  color: var(--color-accent);
  font-weight: 800;
  flex-shrink: 0;
}

.nora-pitch__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nora-pitch__note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.nora-pitch__badges {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.nora-pitch__badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nora-pitch__badge-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.nora-pitch__badge-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

@media (max-width: 760px) {
  .nora-pitch__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nora-pitch__badges {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nora-pitch__badge {
    flex: 1;
    min-width: 130px;
  }
}
