/* design-v3.css */
/* ==========================================================================
   Design v3 — Apple-inspired ultra-minimal monochrome + Electric Yellow CTAs
   ========================================================================== */

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

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

:root {
  --v3-off-white: #fafaf9;
  --v3-gray-50: #f4f4f2;
  --v3-gray-100: #e8e8e6;
  --v3-gray-200: #d2d2d0;
  --v3-gray-400: #8e8e93;
  --v3-gray-500: #6e6e73;
  --v3-charcoal: #1c1c1e;
  --v3-charcoal-soft: #2c2c2e;
  --v3-yellow: #ffdd1a;
  --v3-yellow-hover: #f5d000;
  --v3-yellow-muted: rgba(255, 221, 26, 0.22);

  --color-bg-base: var(--v3-off-white);
  --color-bg-dark: var(--v3-gray-50);
  --color-bg-problem: var(--v3-off-white);
  --color-bg-elevated: #ffffff;
  --color-bg-contrast: var(--v3-charcoal);
  --color-bg-darker: var(--v3-gray-50);

  --color-text: var(--v3-charcoal);
  --color-text-soft: var(--v3-charcoal-soft);
  --color-text-muted: var(--v3-gray-500);
  --color-text-faint: var(--v3-gray-400);
  --color-text-bright: #ffffff;
  --color-text-on-dark: #f5f5f7;
  --color-text-soft-on-dark: #aeaeb2;
  --color-text-muted-on-dark: #8e8e93;

  --color-primary: var(--v3-charcoal);
  --color-primary-rgb: 28, 28, 30;
  --color-cta: var(--v3-yellow);
  --color-cta-rgb: 255, 221, 26;
  --color-accent: var(--v3-charcoal);
  --color-amber: var(--v3-yellow);
  --color-emerald: var(--v3-gray-500);

  --font-sans: "Lexend", system-ui, sans-serif;
  --font-display: "Lexend", system-ui, sans-serif;

  --nav-height: 48px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-ui: 18px;
  --radius-pill: 999px;
  --section-y: clamp(2.75rem, 6vw, 4.25rem);
  --section-y-lg: clamp(3.25rem, 7vw, 5rem);
  --container: min(880px, calc(100% - 2.5rem));
  --measure: 34rem;
  --leading-body: 1.65;
  --leading-tight: 1.12;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease-out);

  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(28, 28, 30, 0.06);
  --glass-blur: blur(16px) saturate(160%);
  --shadow-soft: 0 16px 48px rgba(28, 28, 30, 0.05);
  --shadow-card: 0 1px 0 rgba(28, 28, 30, 0.04), 0 8px 28px rgba(28, 28, 30, 0.04);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.design-v3 {
  background: var(--v3-off-white);
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--v3-yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--v3-charcoal);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Glass —— */
.glass,
.glass-dark {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass:hover,
.glass-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(28, 28, 30, 0.12);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.85);
}

.section--dark {
  background: var(--v3-charcoal) !important;
  color: var(--color-text-on-dark);
}

/* —— Typography (Lexend) —— */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: var(--leading-tight);
  color: var(--v3-charcoal);
}

.text-subtitle,
.story__services-title,
.newsletter__title {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.text-lead,
.hero__subtitle {
  font-weight: 400;
  line-height: var(--leading-body);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v3-gray-500);
  margin: 0 0 1.25rem;
}

.section-eyebrow--on-dark {
  color: var(--v3-gray-400);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark .solution__title,
.section--dark .cta-final__title {
  color: var(--color-text-on-dark);
}

p {
  margin: 0 0 1rem;
  color: var(--color-text-soft);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s var(--ease-out), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--v3-yellow);
  color: var(--v3-charcoal);
  border-color: var(--v3-yellow);
  box-shadow: 0 1px 2px rgba(28, 28, 30, 0.06);
}

.btn-primary:hover {
  background: var(--v3-yellow-hover);
  border-color: var(--v3-yellow-hover);
  box-shadow: 0 8px 24px var(--v3-yellow-muted);
}

.btn-secondary {
  background: transparent;
  color: var(--v3-charcoal);
  border-color: var(--v3-gray-200);
}

.btn-secondary:hover {
  background: var(--v3-gray-50);
  border-color: var(--v3-gray-400);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.is-scrolled {
  background: rgba(250, 250, 249, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(28, 28, 30, 0.04);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
}

.site-nav__logo {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--v3-charcoal);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav__cta--mobile {
  display: inline-flex;
}

.site-nav__cta--desktop {
  display: none;
}

.site-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.site-nav__toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--v3-charcoal);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.site-nav__panel {
  position: fixed;
  inset: var(--nav-height) 0 auto;
  padding: 1.5rem;
  background: rgba(250, 250, 249, 0.96);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}

.site-nav.is-open .site-nav__panel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav.is-open .site-nav__toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-nav.is-open .site-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-nav.is-open .site-nav__toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 768px) {
  .site-nav__cta--mobile,
  .site-nav__toggle {
    display: none;
  }

  .site-nav__cta--desktop {
    display: inline-flex;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 1.5rem var(--section-y);
  overflow: hidden;
  background: var(--v3-off-white);
}

.hero__bg,
.hero__orb,
.solution__bg,
.solution__orb,
.cta-final__bg,
.cta-final__orb,
.problem__noise,
.examples__grid,
.faq__grid,
.story__texture {
  display: none !important;
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.hero__label,
.problem__label,
.solution__label,
.examples__label,
.story__label,
.pricing__label,
.faq__label,
.cta-final__label,
.newsletter__intro {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v3-gray-500);
  margin: 0 0 1rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 600;
  max-width: 14ch;
  margin: 0 0 1.25rem;
}

.hero__title-line {
  display: block;
}

.hero__title-line--muted {
  color: var(--v3-gray-500);
  font-weight: 500;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: var(--v3-gray-500);
  max-width: 42ch;
  margin: 0 0 2rem;
}

.hero__cta-wrap {
  margin-bottom: 2.5rem;
}

.hero__microcopy,
.how__microcopy,
.pricing__microcopy,
.cta-final__microcopy,
.newsletter-form__microcopy {
  font-size: 0.8125rem;
  color: var(--v3-gray-400);
  margin: 0.75rem 0 0;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__trust-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--v3-charcoal);
}

.hero__trust-item span {
  font-size: 0.8125rem;
  color: var(--v3-gray-500);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hero__badge {
  position: absolute;
  z-index: 2;
  padding: 0.4rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--v3-charcoal);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
}

.hero__badge--1 {
  top: 8%;
  left: 4%;
}

.hero__badge--2 {
  bottom: 12%;
  right: 2%;
}

/* Hero orbit — monochrome studio */
.hero-orbit {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  min-height: 300px;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #ffffff 0%, var(--v3-gray-50) 100%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-orbit__stage {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit__path {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed var(--v3-gray-200);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-orbit__path--outer {
  width: min(90%, 310px);
  aspect-ratio: 1;
}

.hero-orbit__path--inner {
  width: min(56%, 190px);
  aspect-ratio: 1;
}

.hero-orbit__ring {
  position: absolute;
  inset: 0;
  animation: hero-orbit-spin 44s linear infinite;
}

.hero-orbit__ring--outer {
  --orbit-radius: clamp(104px, 32vw, 128px);
}

.hero-orbit__ring--inner {
  --orbit-radius: clamp(64px, 20vw, 80px);
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes hero-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-orbit__node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  margin-top: -1.5rem;
  margin-left: -1.5rem;
  transform: rotate(var(--orbit-angle, 0deg))
    translateY(calc(var(--orbit-radius) * -1))
    rotate(calc(-1 * var(--orbit-angle, 0deg)));
}

.hero-orbit__icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  animation: hero-orbit-spin 44s linear infinite reverse;
}

.hero-orbit__ring--inner .hero-orbit__icon {
  animation-duration: 30s;
  animation-direction: normal;
}

.hero-orbit__icon img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.hero-orbit__core {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 50%;
}

.hero-orbit__path {
  border-color: var(--v3-gray-200) !important;
  opacity: 0.6;
}

.hero-orbit__icon {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--shadow-card) !important;
}

.hero-orbit__core {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--shadow-soft) !important;
}

@media (min-width: 1024px) {
  .hero__container {
    flex-direction: row;
    align-items: center;
  }

  .hero__content {
    flex: 1;
  }

  .hero__visual {
    flex: 0 0 42%;
  }
}

/* —— Conv band —— */
.conv-band {
  border-block: 1px solid var(--v3-gray-100);
  background: var(--v3-gray-50);
  overflow: hidden;
}

.conv-band__track {
  display: flex;
  gap: 3rem;
  padding: 0.85rem 0;
  animation: v3-marquee 40s linear infinite;
}

.conv-band__item {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-gray-500);
  white-space: nowrap;
}

@keyframes v3-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* —— Sections shared —— */
.problem,
.examples,
.story,
.pricing,
.faq,
.newsletter {
  padding: var(--section-y) 1.5rem;
}

.problem__inner,
.examples__inner,
.story__inner,
.pricing__inner,
.faq__inner,
.newsletter__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.problem__title,
.examples__title,
.story__title,
.pricing__title,
.faq__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1.5rem;
  max-width: 22ch;
}

.problem__inner {
  padding: clamp(2rem, 5vw, 3rem);
}

.problem__highlight,
.story__highlight {
  color: var(--v3-charcoal);
  font-weight: 500;
}

/* —— Solution —— */
.solution {
  padding: var(--section-y-lg) 1.5rem;
  background: var(--v3-charcoal) !important;
}

.solution__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.solution__label {
  color: var(--v3-gray-400);
}

.solution__title {
  color: var(--color-text-on-dark);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.solution__intro p,
.solution-step__text,
.solution__pricing-text {
  color: var(--color-text-soft-on-dark);
}

.solution__steps {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0;
}

@media (min-width: 768px) {
  .solution__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-step {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.solution-step__number {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--v3-yellow);
  margin-bottom: 0.75rem;
}

.solution-step__title {
  font-size: 1.125rem;
  color: var(--color-text-on-dark);
  margin: 0 0 0.5rem;
}

.solution__pricing {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.solution__pricing-icon {
  color: var(--v3-yellow);
}

/* —— Examples —— */
.examples {
  background: var(--v3-gray-50);
}

.examples__intro,
.examples__closing,
.how__intro {
  color: var(--v3-gray-500);
  max-width: 52ch;
}

.examples__blocks {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0;
}

@media (min-width: 900px) {
  .examples__blocks {
    grid-template-columns: repeat(3, 1fr);
  }
}

.examples-block {
  padding: 1.5rem;
}

.examples-block__badge,
.examples-block__badge--emerald,
.examples-block__badge--primary,
.examples-block__badge--violet {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--v3-charcoal) !important;
  background: var(--v3-gray-100) !important;
  border: none !important;
  border-radius: var(--radius-pill);
}

.examples-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.examples-block__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-text-soft);
}

.examples-block__check {
  flex-shrink: 0;
  color: var(--v3-charcoal);
  margin-top: 0.15rem;
}

.examples__footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--v3-gray-100);
}

.how__cta {
  margin-top: 1.5rem;
}

/* —— Story —— */
.story__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .story__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.story-photo {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.story-photo__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.92);
}

.story__services-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0 0 1.5rem;
  max-width: 28ch;
}

.story__services {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .story__services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-service {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
}

.story-service__icon {
  width: 40px;
  height: 40px;
  color: var(--v3-charcoal);
}

.story-service__icon svg {
  width: 100%;
  height: 100%;
}

.story-service__title {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.story__contact {
  margin-top: 2rem;
}

/* —— Pricing —— */
.pricing-card {
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 720px;
  margin: 0 auto;
}

.pricing__amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--v3-charcoal);
}

.pricing__badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--v3-charcoal);
  background: var(--v3-gray-100);
  border-radius: var(--radius-pill);
}

.pricing__includes {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.pricing__includes li {
  display: flex;
  gap: 0.65rem;
  padding: 0.4rem 0;
  color: var(--color-text-soft);
}

.pricing__check {
  color: var(--v3-charcoal);
}

.pricing-card--compact .pricing-card__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--v3-gray-100);
}

.pricing-card--compact .pricing__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  margin: 0;
}

.pricing-card--compact .pricing__amount-row {
  display: inline-flex;
  align-items: baseline;
}

.pricing-card--compact .pricing__from,
.pricing-card--compact .pricing__period {
  font-size: 0.875rem;
  color: var(--v3-gray-500);
}

.pricing-card--compact .pricing__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.pricing-card--compact .pricing__microcopy {
  text-align: right;
}

@media (max-width: 519px) {
  .pricing-card--compact .pricing-card__action {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-card--compact .pricing__cta {
    align-items: stretch;
  }

  .pricing-card--compact .pricing__cta .btn-primary {
    width: 100%;
  }

  .pricing-card--compact .pricing__microcopy {
    text-align: center;
  }
}

/* —— FAQ —— */
.faq__inner {
  max-width: 720px;
}

.faq-item {
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--v3-charcoal);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--v3-charcoal);
  border-radius: 1px;
  transition: transform var(--transition);
}

.faq-item__icon::before {
  inset: 9px 4px;
  height: 2px;
}

.faq-item__icon::after {
  inset: 4px 9px;
  width: 2px;
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon::after {
  transform: scaleY(0);
}

.faq-item__panel-inner {
  padding: 0 1.25rem 1.15rem;
}

.faq-item__panel-inner p {
  font-size: 0.9375rem;
  color: var(--v3-gray-500);
}

/* —— CTA final —— */
.cta-final {
  padding: var(--section-y-lg) 1.5rem;
  text-align: center;
}

.cta-final__inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-final__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-final__body {
  color: var(--color-text-soft-on-dark);
  margin-bottom: 2rem;
}

/* —— Newsletter —— */
.newsletter {
  background: var(--v3-gray-50);
}

.newsletter-card {
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter__title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0 0 0.75rem;
}

.newsletter-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  text-align: left;
}

.newsletter-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter-form__input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--v3-charcoal);
  background: #fff;
  border: 1px solid var(--v3-gray-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-form__input:focus {
  outline: none;
  border-color: var(--v3-charcoal);
  box-shadow: 0 0 0 3px var(--v3-yellow-muted);
}

.newsletter-form__submit {
  width: 100%;
}

/* —— Sticky CTA —— */
.sticky-cta {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  z-index: 90;
  transform: translateX(-50%) translateY(120%);
  transition: transform 0.5s var(--ease-out);
}

.sticky-cta:not([hidden]) {
  transform: translateX(-50%) translateY(0);
}

.sticky-cta .btn {
  box-shadow: 0 12px 40px var(--v3-yellow-muted), var(--shadow-soft);
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--v3-gray-100);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--v3-gray-400);
  text-align: center;
}

/* —— Animations —— */
html.js-animations-ready [data-animate="fade-up"]:not(.is-visible),
html.js-animations-ready [data-animate="stagger"] > *:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}

[data-animate="fade-up"].is-visible,
[data-animate="stagger"] > *.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html.js-animations-ready [data-animate="fade-up"]:not(.is-visible),
  html.js-animations-ready [data-animate="stagger"] > *:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .conv-band__track,
  .hero-orbit__ring,
  .hero-orbit__icon {
    animation: none !important;
  }
}

#problema,
#solucion,
#ejemplos,
#historia-servicios,
#precio,
#faq,
#newsletter,
#cta-final {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

/* ==========================================================================
   SaaS minimal — bloques flotantes, UI snippets, layout asimétrico
   ========================================================================== */

.float-block {
  background: #ffffff;
  border: 1px solid var(--v3-gray-100);
  border-radius: var(--radius-ui);
  box-shadow: var(--shadow-soft);
  padding: clamp(2.5rem, 6vw, 4rem);
}

.float-block--dark,
.section--contrast {
  background: var(--v3-charcoal) !important;
  color: var(--color-text-on-dark);
}

.problem__inner.float-block {
  background: #ffffff;
}

.layout-asymmetric {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .layout-asymmetric {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .layout-asymmetric--reverse {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .layout-asymmetric--reverse .layout-asymmetric__aside {
    order: -1;
  }

  .hero .layout-asymmetric {
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(3rem, 8vw, 6rem);
  }
}

/* UI Snippet — recorte SaaS */
.ui-snippet {
  margin: 0;
  border-radius: var(--radius-ui);
  background: #ffffff;
  border: 1px solid var(--v3-gray-100);
  box-shadow:
    0 1px 0 rgba(28, 28, 30, 0.04),
    0 28px 80px rgba(28, 28, 30, 0.08);
  overflow: hidden;
}

.ui-snippet__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.85rem 1.1rem;
  background: var(--v3-gray-50);
  border-bottom: 1px solid var(--v3-gray-100);
}

.ui-snippet__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v3-gray-200);
}

.ui-snippet__viewport {
  overflow: hidden;
  background: var(--v3-off-white);
}

.ui-snippet__viewport img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.ui-snippet--hero {
  transform: translateY(8px);
}

.ui-snippet--portrait .ui-snippet__viewport img {
  max-height: 520px;
  object-position: center top;
}

/* Composición abstracta — flujo / automatización */
.ui-abstract {
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius-ui);
  border: 1px solid var(--v3-gray-100);
  background: linear-gradient(165deg, #ffffff 0%, var(--v3-gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.ui-abstract--flow::before,
.ui-abstract--flow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--v3-gray-200);
}

.ui-abstract--flow::before {
  width: 120px;
  height: 120px;
  top: 18%;
  right: 12%;
  background: rgba(255, 255, 255, 0.8);
}

.ui-abstract--flow::after {
  width: 200px;
  height: 200px;
  bottom: -40px;
  left: -30px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--v3-gray-100);
}

/* Hero refinado */
.hero {
  padding: calc(var(--nav-height) + 3rem) 1.75rem var(--section-y-lg);
  background: var(--v3-off-white);
}

.hero__title {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 800;
  line-height: var(--leading-tight);
  max-width: 11ch;
  margin-bottom: 1.5rem;
}

.hero__title-line--muted {
  display: none;
}

.hero__subtitle {
  max-width: 40ch;
  color: var(--v3-gray-500);
  margin-bottom: 2.25rem;
}

.hero__trust-item strong {
  font-weight: 800;
  color: var(--v3-charcoal);
}

/* Sin decoración legacy */
.hero__bg,
.hero__orb,
.hero__badge,
.hero-orbit,
.conv-band,
.problem__noise,
.examples__grid,
.faq__grid,
.story__texture,
.solution__bg,
.solution__orb,
.cta-final__bg,
.cta-final__orb {
  display: none !important;
}

/* Secciones */
.problem,
.examples,
.story,
.pricing,
.faq,
.newsletter {
  padding: var(--section-y) 1.75rem;
}

.problem__title,
.examples__title,
.story__title,
.pricing__title,
.faq__title,
.solution__title,
.cta-final__title {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: var(--leading-tight);
  max-width: 18ch;
  margin-bottom: 1.75rem;
}

.problem__body p,
.story__body p,
.pricing__body p,
.solution__intro p {
  line-height: var(--leading-body);
  color: var(--v3-gray-500);
}

.problem__highlight,
.story__highlight {
  color: var(--v3-charcoal);
  font-weight: 500;
}

/* Ejemplos — rejilla asimétrica */
.examples__blocks {
  margin-top: 3rem;
}

@media (min-width: 900px) {
  .examples__blocks {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .examples__blocks .examples-block:nth-child(2) {
    transform: translateY(2.5rem);
  }

  .examples__blocks .examples-block:nth-child(3) {
    transform: translateY(4.5rem);
  }
}

.examples-block {
  background: #ffffff;
  border: 1px solid var(--v3-gray-100);
  border-radius: var(--radius-ui);
  box-shadow: var(--shadow-card);
}

.examples-block__badge,
.examples-block__badge--emerald,
.examples-block__badge--violet,
.examples-block__badge--primary {
  background: var(--v3-gray-50) !important;
  color: var(--v3-charcoal) !important;
}

.examples-block__check {
  color: var(--v3-charcoal) !important;
}

/* Solución */
.solution {
  padding: var(--section-y-lg) 1.75rem;
}

.solution-step__number {
  color: var(--v3-gray-400) !important;
  font-weight: 600;
}

.solution-step__title {
  color: var(--color-text-on-dark);
  font-weight: 500;
}

.solution-step {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-ui);
}

.solution__pricing-icon {
  color: var(--v3-gray-400) !important;
}

/* Servicios */
.story-service {
  border-radius: var(--radius-ui);
  background: #ffffff;
  border: 1px solid var(--v3-gray-100);
  box-shadow: var(--shadow-card);
}

.story-service__icon {
  color: var(--v3-charcoal);
}

/* Pricing */
.pricing-card {
  border-radius: var(--radius-ui);
  background: #ffffff;
  border: 1px solid var(--v3-gray-100);
}

/* FAQ */
.faq-item {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--v3-gray-100);
}

.faq-item + .faq-item {
  margin-top: 0.65rem;
}

/* CTA + Newsletter */
.cta-final,
.newsletter {
  text-align: center;
}

.cta-final__inner,
.newsletter-card {
  max-width: 640px;
  margin: 0 auto;
}

.newsletter-card {
  border-radius: var(--radius-ui);
  background: #ffffff;
  border: 1px solid var(--v3-gray-100);
}

.newsletter-form__input:focus {
  border-color: var(--v3-charcoal);
  box-shadow: 0 0 0 3px var(--v3-yellow-muted);
}

/* Amarillo solo en conversión */
.btn-primary,
.sticky-cta .btn-primary {
  background: var(--v3-yellow);
  color: var(--v3-charcoal);
  border-color: var(--v3-yellow);
}

.faq-item.glass-dark,
.examples-block.glass-dark,
.newsletter-card.glass-dark {
  background: #ffffff !important;
  border: 1px solid var(--v3-gray-100) !important;
}

/* editorial-luxury.css */
/* ==========================================================================
   Editorial luxury — revista / agencia. Lexend como arquitectura.
   Amarillo #FFDD1A solo como firma, no relleno de botón.
   ========================================================================== */

body.design-editorial {
  --editorial-bg: #fafaf8;
  --editorial-ink: #141416;
  --editorial-muted: #6b6b6f;
  --editorial-line: rgba(20, 20, 22, 0.1);
  --editorial-accent: #ffdd1a;
  --editorial-measure: min(32rem, 92vw);
  --editorial-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --editorial-ease: cubic-bezier(0.19, 1, 0.22, 1);
  background: var(--editorial-bg);
  color: var(--editorial-ink);
  font-size: 0.875rem;
  line-height: 1.7;
  overflow-x: clip;
}

/* —— Tipografía impresa —— */
body.design-editorial h1,
body.design-editorial h2,
body.design-editorial h3,
body.design-editorial .display {
  font-family: "Lexend", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--editorial-ink);
}

body.design-editorial .display--hero {
  font-size: clamp(2.75rem, 10vw, 7.25rem);
  max-width: none;
  margin: 0 0 1.5rem;
}

body.design-editorial .display--hero .display__line {
  display: block;
}

body.design-editorial .display--section {
  font-size: clamp(2rem, 8vw, 4.5rem);
  margin: 0 0 1.25rem;
  max-width: 9ch;
}

body.design-editorial .text-subtitle,
body.design-editorial .story__services-title,
body.design-editorial .newsletter__title {
  font-weight: 500;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

body.design-editorial .section-eyebrow,
body.design-editorial .eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--editorial-muted);
  margin: 0 0 1rem;
}

body.design-editorial .section-index {
  display: block;
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  margin-bottom: 0.35rem;
  /* Relleno = fondo de sección: el trazo solo se ve en el contorno exterior */
  color: var(--editorial-bg);
  -webkit-text-fill-color: var(--editorial-bg);
  -webkit-text-stroke: 1.25px rgba(20, 20, 22, 0.11);
  paint-order: stroke fill;
}

body.design-editorial .section-editorial__head--on-dark .section-index {
  color: var(--editorial-ink);
  -webkit-text-fill-color: var(--editorial-ink);
  -webkit-text-stroke: 1.25px rgba(255, 255, 255, 0.14);
}

body.design-editorial .prose,
body.design-editorial .prose p,
body.design-editorial .problem__body p,
body.design-editorial .story__body p {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--editorial-muted);
  max-width: var(--editorial-measure);
}

body.design-editorial .prose--narrow {
  max-width: 28rem;
}

/* —— CTA firma (sin botón amarillo) —— */
body.design-editorial .btn-primary,
body.design-editorial .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  font-family: "Lexend", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--editorial-ink);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  position: relative;
}

body.design-editorial .btn-primary::after,
body.design-editorial .btn-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--editorial-accent) 18%,
    var(--editorial-accent) 82%,
    transparent 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--editorial-ease);
}

body.design-editorial .btn-primary:hover,
body.design-editorial .btn-cta:hover {
  transform: none;
  color: var(--editorial-ink);
}

body.design-editorial .btn-primary:hover::after,
body.design-editorial .btn-cta:hover::after,
body.design-editorial .btn-cta:focus-visible::after {
  transform: scaleX(1);
}

body.design-editorial .btn-secondary {
  padding: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--editorial-muted);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
}

body.design-editorial .btn-secondary:hover {
  color: var(--editorial-ink);
  border-bottom-color: var(--editorial-ink);
}

body.design-editorial .btn-lg {
  font-size: 0.875rem;
}

body.design-editorial .sticky-cta {
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  padding: 0 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  transform: translateY(110%);
}

body.design-editorial .sticky-cta:not([hidden]) {
  transform: translateY(0);
}

body.design-editorial .sticky-cta .btn-primary,
body.design-editorial .sticky-cta .btn-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  padding: 0.75rem 1.15rem;
  background: var(--editorial-ink) !important;
  color: #fff !important;
  border-radius: 0;
  letter-spacing: 0.02em;
  text-align: center;
  text-indent: 0;
  gap: 0;
  box-sizing: border-box;
}

body.design-editorial .sticky-cta .btn-primary::after,
body.design-editorial .sticky-cta .btn-cta::after {
  display: none;
}

body.design-editorial .sticky-cta .btn-primary:hover,
body.design-editorial .sticky-cta .btn-cta:hover {
  background: #000 !important;
}

/* —— Nav editorial —— */
body.design-editorial .site-nav {
  mix-blend-mode: normal;
}

body.design-editorial .site-nav__inner {
  max-width: none;
  padding-inline: var(--editorial-gutter);
}

body.design-editorial .site-nav__logo {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.design-editorial .site-nav__cta {
  font: inherit;
  cursor: pointer;
}

body.design-editorial .site-nav.is-scrolled {
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--editorial-line);
}

/* —— Hero revista (solo texto) —— */
body.design-editorial .hero--cover {
  position: relative;
  min-height: auto;
  padding: calc(var(--nav-height) + 3rem) var(--editorial-gutter) clamp(4rem, 12vw, 7rem);
  overflow: hidden;
}

body.design-editorial .hero__spread--solo {
  display: block;
  max-width: min(72rem, 100%);
  margin: 0 auto;
}

body.design-editorial .hero__spread--solo .hero__copy {
  max-width: 100%;
}

body.design-editorial .hero__spread--solo .display--hero .display__line {
  max-width: none;
}

body.design-editorial .hero__subtitle {
  max-width: min(48rem, 100%);
  font-size: 0.9375rem;
}

@media (min-width: 960px) {
  body.design-editorial .hero__spread--solo {
    max-width: min(80rem, 100%);
  }

  body.design-editorial .hero__spread--solo .display--hero {
    font-size: clamp(3.25rem, 7.5vw, 8rem);
  }

  body.design-editorial .hero__subtitle {
    max-width: min(56rem, 92%);
    font-size: 1rem;
  }
}

body.design-editorial .hero__microcopy,
body.design-editorial .how__microcopy,
body.design-editorial .pricing__microcopy {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--editorial-muted);
  margin-top: 0.85rem;
}

body.design-editorial .cta-final__microcopy {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.85rem;
}

body.design-editorial .hero__trust {
  display: none;
}

/* Módulo imagen — sombra editorial */
body.design-editorial .module-frame {
  margin: 0;
  background: #fff;
  border: 1px solid var(--editorial-line);
  box-shadow:
    24px 32px 64px rgba(20, 20, 22, 0.07),
    -12px -12px 0 rgba(255, 221, 26, 0.35);
  overflow: hidden;
}

body.design-editorial .module-frame--overlap {
  transform: rotate(-1.2deg);
}

body.design-editorial .module-frame__chrome {
  display: flex;
  gap: 5px;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--editorial-line);
  background: var(--editorial-bg);
}

body.design-editorial .module-frame__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--editorial-line);
}

body.design-editorial .module-frame__viewport img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.03) saturate(0.95);
}

body.design-editorial .story__photo {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  transform: none;
  max-width: 22rem;
  margin-left: auto;
}

body.design-editorial .story__photo .story-photo__img {
  display: block;
  width: 100%;
  height: auto;
  transform: none;
  filter: none;
  border: none;
  box-shadow: none;
  background: transparent;
}

body.design-editorial .pricing__check {
  display: none;
}

body.design-editorial .pricing__includes li {
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--editorial-line);
  color: var(--editorial-muted);
}

body.design-editorial .pricing {
  padding: clamp(4rem, 10vw, 7rem) var(--editorial-gutter) clamp(2rem, 5vw, 3.5rem);
}

body.design-editorial .pricing__inner {
  max-width: 1400px;
  margin: 0 auto;
}

body.design-editorial .faq {
  padding: clamp(1.25rem, 3vw, 2rem) var(--editorial-gutter) clamp(3rem, 8vw, 5rem);
}

body.design-editorial .faq__title {
  line-height: 1.18;
}

body.design-editorial .problem.section-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  body.design-editorial .problem.section-editorial {
    grid-template-columns: minmax(5rem, 10vw) 1fr minmax(0, 42%);
    gap: 0 3rem;
  }

  body.design-editorial .problem .section-editorial__head {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  body.design-editorial .problem__title {
    grid-column: 2;
    max-width: 14ch;
  }

  body.design-editorial .problem__body {
    grid-column: 3;
    margin-top: 4rem;
  }
}

/* Línea de acento vertical sitio */
body.design-editorial .page-editorial::before {
  content: "";
  position: fixed;
  top: 0;
  left: clamp(0.75rem, 2vw, 2rem);
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--editorial-accent) 0%,
    var(--editorial-accent) 12%,
    transparent 45%
  );
  opacity: 0.85;
  z-index: 50;
  pointer-events: none;
}

/* —— Secciones revista —— */
body.design-editorial .section-editorial {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(4rem, 10vw, 7rem) var(--editorial-gutter);
}

body.design-editorial .examples.section-editorial {
  background: var(--editorial-bg);
  padding-inline: 0;
}

body.design-editorial .examples__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: var(--editorial-gutter);
}

body.design-editorial .section-editorial__head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 2rem;
}

body.design-editorial .problem__title,
body.design-editorial .examples__title,
body.design-editorial .story__title {
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin: 0 0 2rem;
}

body.design-editorial .display__line--accent {
  position: relative;
  display: inline-block;
}

body.design-editorial .display__line--accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.12em;
  background: var(--editorial-accent);
  z-index: -1;
  opacity: 0.9;
}

body.design-editorial .problem__highlight,
body.design-editorial .story__highlight {
  color: var(--editorial-ink);
  font-weight: 500;
}

/* Solución — bloque oscuro sin tarjetas */
body.design-editorial .solution.section--contrast {
  background: var(--editorial-ink);
  color: #f4f4f5;
  max-width: none;
  margin: 0;
  padding: clamp(4rem, 10vw, 7rem) var(--editorial-gutter);
}

body.design-editorial .solution__inner {
  max-width: 1400px;
  margin: 0 auto;
}

body.design-editorial .solution__title {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #f4f4f5;
  max-width: 16ch;
  margin: 0 0 2rem;
}

body.design-editorial .solution__intro p,
body.design-editorial .solution-step__text,
body.design-editorial .solution__pricing-text {
  color: rgba(244, 244, 245, 0.72);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.75;
}

/* Timeline vertical */
body.design-editorial .timeline {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 36rem;
}

body.design-editorial .timeline__item {
  position: relative;
  padding: 0 0 3.5rem 2rem;
}

body.design-editorial .timeline__item:last-child {
  padding-bottom: 0;
}

body.design-editorial .timeline__item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--editorial-accent);
  transform: translateX(-50%);
  box-shadow: 0 0 0 6px rgba(255, 221, 26, 0.2);
}

body.design-editorial .timeline__marker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.5rem;
}

body.design-editorial .timeline__title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.65rem;
}

body.design-editorial .timeline__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: rgba(244, 244, 245, 0.65);
}

body.design-editorial .solution__steps {
  display: block;
}

body.design-editorial .solution-step {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}

body.design-editorial .solution__pricing {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: none !important;
  max-width: 36rem;
}

body.design-editorial .solution__pricing-icon {
  display: none;
}

/* Manifiesto — progresión 01 → 02 → 03 */
body.design-editorial .manifest--progression {
  list-style: none;
  margin: 3rem 0 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--editorial-line);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

body.design-editorial .manifest--progression::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 2.5rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--editorial-accent) 0%,
    var(--editorial-line) 12%,
    var(--editorial-line) 88%,
    transparent 100%
  );
}

body.design-editorial .manifest__chapter {
  position: relative;
  padding: 0 0 2.5rem 2.75rem;
}

body.design-editorial .manifest__chapter:last-child {
  padding-bottom: 0;
}

body.design-editorial .manifest__chapter::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--editorial-accent);
  box-shadow: 0 0 0 5px rgba(255, 221, 26, 0.22);
  z-index: 1;
}

body.design-editorial .manifest__head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

body.design-editorial .manifest__index {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--editorial-muted);
}

body.design-editorial .manifest__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--editorial-ink);
  padding: 0;
}

@media (min-width: 900px) {
  body.design-editorial .manifest--progression {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding-top: 3rem;
  }

  body.design-editorial .manifest--progression::before {
    left: 6%;
    right: 6%;
    top: 0.55rem;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--editorial-accent) 8%,
      var(--editorial-line) 18%,
      var(--editorial-line) 82%,
      transparent 100%
    );
  }

  body.design-editorial .manifest__chapter {
    padding: 2.25rem 0 0;
    border-left: 1px solid var(--editorial-line);
    padding-left: clamp(1rem, 2vw, 1.75rem);
  }

  body.design-editorial .manifest__chapter:first-child {
    border-left: none;
    padding-left: 0;
  }

  body.design-editorial .manifest__chapter::before {
    left: 0;
    top: -1.65rem;
  }

  body.design-editorial .manifest__chapter:not(:first-child)::before {
    left: clamp(1rem, 2vw, 1.75rem);
  }
}

body.design-editorial .manifest__list {
  list-style: none;
  margin: 0;
  padding: 0 0 1.5rem;
}

body.design-editorial .manifest__list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--editorial-muted);
  border-bottom: 1px solid rgba(20, 20, 22, 0.06);
}

body.design-editorial .manifest__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--editorial-ink);
  opacity: 0.35;
}

body.design-editorial .examples-block,
body.design-editorial .examples-rail__item {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}

body.design-editorial .examples-block__check,
body.design-editorial .examples-block__badge {
  display: none;
}

/* Historia — foto sticky solo en el bloque de texto */
body.design-editorial .story__spread--sticky-photo {
  margin-top: 2rem;
}

body.design-editorial .story__spread--sticky-photo .story__media {
  margin: 2.5rem auto 0;
  max-width: 22rem;
}

@media (min-width: 900px) {
  body.design-editorial .story__spread--sticky-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 22rem);
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  body.design-editorial .story__spread--sticky-photo .story__content {
    grid-column: 1;
    padding-top: 0.5rem;
  }

  body.design-editorial .story__spread--sticky-photo .story__media {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--nav-height, 48px) + 2rem);
    align-self: start;
    margin: 0;
    max-width: 100%;
  }
}

/* Servicios — bloque protagonista (fondo a ancho completo) */
body.design-editorial .story__services-showcase {
  width: 100vw;
  max-width: 100vw;
  margin-top: clamp(4rem, 10vw, 6rem);
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(3.5rem, 9vw, 5.5rem) var(--editorial-gutter);
  background: var(--editorial-ink);
  position: relative;
  box-sizing: border-box;
}

body.design-editorial .story__services-head,
body.design-editorial .story__services-panel {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

body.design-editorial .story__services-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--editorial-accent) 0%,
    var(--editorial-accent) 22%,
    transparent 70%
  );
}

body.design-editorial .story__services-head {
  max-width: min(40rem, 100%);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

body.design-editorial .story__services-showcase .story__services-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  max-width: 18ch;
}

body.design-editorial .story__services-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.03);
}

body.design-editorial .story__services {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

@media (min-width: 768px) {
  body.design-editorial .story__services {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.75rem);
  }
}

body.design-editorial .story-service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.5rem !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  transition: border-color 0.35s var(--editorial-ease), background 0.35s var(--editorial-ease);
}

body.design-editorial .story-service:hover {
  border-color: rgba(255, 221, 26, 0.45) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

body.design-editorial .story-service__index {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--editorial-accent);
}

body.design-editorial .story-service__icon {
  display: block;
  width: auto;
  height: auto;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

body.design-editorial .story-service__icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

body.design-editorial .story-service__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

body.design-editorial .story-service__text {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

body.design-editorial .story__contact {
  margin-top: clamp(2rem, 4vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

/* CTA de contacto: botón legible en bloque oscuro (no enlace subrayado) */
body.design-editorial .story__contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1.6rem;
  font-family: "Lexend", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--editorial-ink) !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition:
    background 0.35s var(--editorial-ease),
    color 0.35s var(--editorial-ease),
    border-color 0.35s var(--editorial-ease),
    transform 0.25s var(--editorial-ease);
}

body.design-editorial .story__contact-cta::after {
  display: none !important;
}

body.design-editorial .story__contact-cta:hover,
body.design-editorial .story__contact-cta:focus-visible {
  color: var(--editorial-ink) !important;
  background: var(--editorial-accent) !important;
  border-color: var(--editorial-accent) !important;
  transform: translateY(-1px);
}

body.design-editorial .story__contact-note {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Pricing — tipografía, sin card */
body.design-editorial .pricing-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  max-width: 40rem;
}

body.design-editorial .pricing-card__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--editorial-line);
  border-left: 3px solid var(--editorial-accent);
  background: rgba(20, 20, 22, 0.02);
}

body.design-editorial .pricing-offer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

body.design-editorial .pricing-offer__brand {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--editorial-ink);
}

body.design-editorial .pricing-offer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.45rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.2;
}

body.design-editorial .pricing-offer__from {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--editorial-muted);
  text-transform: lowercase;
}

body.design-editorial .pricing-card__action .pricing__amount {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--editorial-ink);
}

body.design-editorial .pricing-card__action .pricing__period {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--editorial-muted);
}

body.design-editorial .pricing-offer__sep {
  color: var(--editorial-muted);
  opacity: 0.45;
}

body.design-editorial .pricing-offer__trial {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--editorial-muted);
}

body.design-editorial .pricing-offer__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 540px) {
  body.design-editorial .pricing-card__action {
    flex-direction: column;
    align-items: stretch;
  }

  body.design-editorial .pricing-offer__cta {
    align-self: flex-start;
  }
}

/* FAQ — lista editorial */
body.design-editorial .faq__inner {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

body.design-editorial .faq-item {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--editorial-line) !important;
  margin: 0;
}

body.design-editorial .faq-item__trigger {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 1.1rem 0;
}

body.design-editorial .faq-item__panel-inner p {
  font-size: 0.8125rem;
  padding-bottom: 1.25rem;
}

/* CTA final */
body.design-editorial .cta-final {
  text-align: left;
  background: var(--editorial-ink);
  max-width: none;
  padding: clamp(4rem, 10vw, 6rem) var(--editorial-gutter);
}

body.design-editorial .cta-final__inner {
  max-width: 40rem;
  margin: 0;
}

body.design-editorial .cta-final__title {
  color: #fff;
  font-size: clamp(2rem, 7vw, 3.75rem);
}

body.design-editorial .cta-final__body {
  color: rgba(255, 255, 255, 0.7);
}

body.design-editorial .section--contrast .btn-cta,
body.design-editorial .section--contrast .btn-primary,
body.design-editorial .cta-final .btn-cta,
body.design-editorial .cta-final .btn-primary {
  color: #fff;
}

body.design-editorial .section--contrast .btn-cta:hover,
body.design-editorial .section--contrast .btn-primary:hover,
body.design-editorial .cta-final .btn-cta:hover,
body.design-editorial .cta-final .btn-primary:hover,
body.design-editorial .section--contrast .btn-cta:focus-visible,
body.design-editorial .cta-final .btn-cta:focus-visible {
  color: #fff;
}

body.design-editorial .section--contrast .btn-cta::after,
body.design-editorial .section--contrast .btn-primary::after,
body.design-editorial .cta-final .btn-cta::after,
body.design-editorial .cta-final .btn-primary::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--editorial-accent) 12%,
    var(--editorial-accent) 88%,
    transparent 100%
  );
}

/* Newsletter — bloque de captación */
body.design-editorial .newsletter--capture {
  position: relative;
  background: var(--editorial-ink);
  padding: clamp(4.5rem, 11vw, 7.5rem) var(--editorial-gutter);
  margin: 0;
}

body.design-editorial .newsletter--capture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--editorial-accent) 0%,
    var(--editorial-accent) 28%,
    transparent 72%
  );
}

body.design-editorial .newsletter__inner {
  width: 100%;
  max-width: min(90rem, 100%);
  margin: 0 auto;
}

body.design-editorial .newsletter__panel {
  display: grid;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 900px) {
  body.design-editorial .newsletter__panel {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: stretch;
  }
}

body.design-editorial .newsletter__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

body.design-editorial .newsletter__copy .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6875rem;
  line-height: 1.55;
  max-width: 36rem;
}

body.design-editorial .newsletter__title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 1rem;
  max-width: 22ch;
}

body.design-editorial .newsletter__body {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: none;
  margin: 0 0 1.5rem;
}

body.design-editorial .newsletter-marquee {
  margin: clamp(2rem, 4vw, 2.75rem) calc(-1 * var(--editorial-gutter)) 0;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

body.design-editorial .newsletter-marquee__track {
  display: flex;
  width: max-content;
  animation: newsletter-marquee 38s linear infinite;
}

body.design-editorial .newsletter__benefits--marquee {
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  display: flex;
  flex-shrink: 0;
  gap: clamp(2rem, 5vw, 3.5rem);
}

body.design-editorial .newsletter__benefits--marquee li {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body.design-editorial .newsletter__benefits--marquee li::before {
  content: "— ";
  color: var(--editorial-accent);
}

@keyframes newsletter-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.design-editorial .newsletter-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.75rem 2rem;
  }

  body.design-editorial .newsletter-marquee {
    mask-image: none;
  }

  body.design-editorial .newsletter__benefits--marquee:nth-child(2) {
    display: none;
  }

  body.design-editorial .newsletter__benefits--marquee {
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
}

body.design-editorial .newsletter__action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-self: stretch;
}

body.design-editorial .newsletter-form {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  margin: 0;
  width: 100%;
}

body.design-editorial .newsletter-form__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.65rem;
}

body.design-editorial .newsletter-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  width: 100%;
}

body.design-editorial .newsletter-form__input {
  width: 100%;
  padding: 1rem 1.15rem;
  font-family: "Lexend", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  transition: border-color 0.35s var(--editorial-ease), box-shadow 0.35s var(--editorial-ease);
}

body.design-editorial .newsletter-form__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.design-editorial .newsletter-form__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 -3px 0 var(--editorial-accent);
}

body.design-editorial .btn-newsletter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-family: "Lexend", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--editorial-ink);
  background: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.35s var(--editorial-ease), color 0.35s var(--editorial-ease);
}

body.design-editorial .btn-newsletter:hover,
body.design-editorial .btn-newsletter:focus-visible {
  background: var(--editorial-accent);
  color: var(--editorial-ink);
  transform: none;
}

body.design-editorial .btn-newsletter:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.design-editorial .newsletter-form__submit {
  width: 100%;
  min-width: 0;
}

body.design-editorial .newsletter-form__microcopy {
  margin: 0.85rem 0 0;
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

body.design-editorial .newsletter-form__message {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
}

body.design-editorial .newsletter-form__message--success {
  color: #b8f0c8;
}

body.design-editorial .newsletter-form__message--error {
  color: #ffb4b4;
}

body.design-editorial .newsletter-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.design-editorial .newsletter-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Ocultar ruido template */
body.design-editorial .float-block,
body.design-editorial .glass,
body.design-editorial .glass-dark,
body.design-editorial .hero-orbit,
body.design-editorial .conv-band,
body.design-editorial .ui-abstract,
body.design-editorial .hero__bg,
body.design-editorial .hero__orb,
body.design-editorial .examples__grid,
body.design-editorial .faq__grid,
body.design-editorial .story__texture,
body.design-editorial .solution__bg,
body.design-editorial .solution__orb,
body.design-editorial .cta-final__bg,
body.design-editorial .cta-final__orb,
body.design-editorial .problem__noise {
  display: none !important;
}

/* Animación sobria */
body.design-editorial [data-animate="fade-up"],
body.design-editorial [data-animate="stagger"] > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 1.1s var(--editorial-ease),
    transform 1.1s var(--editorial-ease);
}

body.design-editorial.html.js-animations-ready [data-animate="fade-up"]:not(.is-visible),
body.design-editorial.html.js-animations-ready [data-animate="stagger"] > *:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}

body.design-editorial [data-animate="fade-up"].is-visible,
body.design-editorial [data-animate="stagger"] > *.is-visible,
body.design-editorial [data-animate="stagger"].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

body.design-editorial .site-footer {
  border-top: 1px solid var(--editorial-line);
  padding: 2rem var(--editorial-gutter);
}

body.design-editorial .site-footer__copy {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  max-width: 1400px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  body.design-editorial [data-animate="fade-up"],
  body.design-editorial [data-animate="stagger"] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Modal contacto (popup formulario)
   -------------------------------------------------------------------------- */
body.design-editorial .story__contact-cta {
  font: inherit;
}

body.design-editorial .contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  pointer-events: none;
}

body.design-editorial .contact-modal:not([hidden]) {
  pointer-events: auto;
}

body.design-editorial .contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.55s var(--editorial-ease);
}

body.design-editorial .contact-modal.is-open .contact-modal__backdrop {
  opacity: 1;
}

body.design-editorial .contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  max-height: min(92vh, 52rem);
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--editorial-paper, #f6f4ef);
  color: var(--editorial-ink, #0a0a0a);
  border: 1px solid var(--editorial-line, rgba(0, 0, 0, 0.12));
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  opacity: 0;
  transform: perspective(1200px) rotateX(10deg) translateY(36px) scale(0.9);
  transform-origin: 50% 40%;
  transition:
    opacity 0.65s var(--editorial-ease),
    transform 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

body.design-editorial .contact-modal.is-open .contact-modal__dialog {
  opacity: 1;
  transform: none;
}

body.design-editorial .contact-modal__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--editorial-accent, #ffdd1a);
  transition: width 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.15s;
}

body.design-editorial .contact-modal.is-open .contact-modal__accent {
  width: 100%;
}

body.design-editorial .contact-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--editorial-ink);
  background: transparent;
  border: 1px solid var(--editorial-line);
  cursor: pointer;
  transition:
    border-color 0.3s var(--editorial-ease),
    background 0.3s var(--editorial-ease);
}

body.design-editorial .contact-modal__close:hover,
body.design-editorial .contact-modal__close:focus-visible {
  background: var(--editorial-ink);
  color: var(--editorial-paper);
  border-color: var(--editorial-ink);
  outline: none;
}

body.design-editorial .contact-modal__eyebrow {
  margin: 0 0 0.5rem;
}

body.design-editorial .contact-modal__title {
  margin: 0 0 0.5rem;
  font-family: "Lexend", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

body.design-editorial .contact-modal__lead {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.62);
}

body.design-editorial .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.design-editorial .contact-form__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

body.design-editorial .contact-form__optional {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(10, 10, 10, 0.45);
}

body.design-editorial .contact-form__input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: "Lexend", sans-serif;
  font-size: 1rem;
  color: var(--editorial-ink);
  background: #fff;
  border: 1px solid var(--editorial-line);
  border-radius: 0;
  transition:
    border-color 0.35s var(--editorial-ease),
    box-shadow 0.35s var(--editorial-ease);
}

body.design-editorial .contact-form__input::placeholder {
  color: rgba(10, 10, 10, 0.38);
}

body.design-editorial .contact-form__input:focus {
  outline: none;
  border-color: var(--editorial-ink);
  box-shadow: inset 0 -3px 0 var(--editorial-accent);
}

body.design-editorial .contact-form__textarea {
  resize: vertical;
  min-height: 6.5rem;
}

body.design-editorial .contact-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

body.design-editorial .contact-form__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.design-editorial .contact-form__message {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

body.design-editorial .contact-form__message--success {
  color: #1a6b3a;
}

body.design-editorial .contact-form__message--error {
  color: #a31818;
}

body.design-editorial .contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.design-editorial.contact-modal-open {
  overflow: hidden;
}

/* —— Móvil: nav simple, ritmo compacto, títulos más aireados —— */
@media (max-width: 767px) {
  body.design-editorial .site-nav__toggle,
  body.design-editorial .site-nav__panel {
    display: none !important;
  }

  body.design-editorial .site-nav__cta {
    display: inline-flex;
  }

  body.design-editorial .hero--cover {
    padding: calc(var(--nav-height) + 1.25rem) var(--editorial-gutter)
      clamp(1.75rem, 5vw, 2.5rem);
  }

  body.design-editorial .hero__subtitle {
    margin-bottom: 0.5rem;
  }

  body.design-editorial .hero__microcopy {
    margin-top: 0.65rem;
  }

  body.design-editorial h1,
  body.design-editorial h2,
  body.design-editorial h3,
  body.design-editorial .display {
    line-height: 1.08;
  }

  body.design-editorial .display--hero {
    line-height: 1.06;
    margin-bottom: 1rem;
  }

  body.design-editorial .section-index {
    line-height: 0.95;
  }

  body.design-editorial .section-editorial,
  body.design-editorial .solution.section--contrast,
  body.design-editorial .cta-final {
    padding-block: clamp(2.25rem, 6vw, 3.25rem);
  }

  body.design-editorial .problem,
  body.design-editorial .examples,
  body.design-editorial .story,
  body.design-editorial .pricing,
  body.design-editorial .faq,
  body.design-editorial .newsletter {
    padding-block: clamp(2.25rem, 6vw, 3.25rem);
  }

  body.design-editorial .section-editorial__head {
    margin-bottom: 1.25rem;
  }

  body.design-editorial .problem__title,
  body.design-editorial .examples__title,
  body.design-editorial .story__title,
  body.design-editorial .solution__title,
  body.design-editorial .faq__title,
  body.design-editorial .pricing__title,
  body.design-editorial .cta-final__title,
  body.design-editorial .newsletter__title {
    line-height: 1.14;
    margin-bottom: 1.25rem;
  }

  body.design-editorial .story__services-showcase {
    margin-top: clamp(2.5rem, 6vw, 3.5rem);
    padding-block: clamp(2.5rem, 7vw, 3.5rem);
  }

  body.design-editorial .newsletter__panel {
    padding: 1.15rem;
  }
}

@media (min-width: 768px) {
  body.design-editorial .site-nav__cta {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.design-editorial .contact-modal__backdrop,
  body.design-editorial .contact-modal__dialog,
  body.design-editorial .contact-modal__accent {
    transition: none;
  }

  body.design-editorial .contact-modal__dialog {
    transform: none;
  }

  body.design-editorial .contact-modal.is-open .contact-modal__dialog,
  body.design-editorial .contact-modal.is-open .contact-modal__backdrop {
    opacity: 1;
  }

  body.design-editorial .contact-modal.is-open .contact-modal__accent {
    width: 100%;
  }
}
