/**
 * Chambafluir marketing site — polish pass 2
 * Logo: approved script (logo-script-primary.jpg / proof 5.jpg)
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--cf-font);
  font-size: var(--cf-body);
  line-height: 1.65;
  color: var(--cf-ink);
  /* Soft base — scroll with page (fixed bg is a known scroll/paint tax) */
  background-color: #faf5ff;
  background-image: var(--cf-gradient-soft);
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  position: relative;
  overflow-x: hidden;
}

main {
  background: transparent;
}

/* Full-page brand ribbon — fixed inline SVG (static). Mobile: CSS mesh only (cheaper scroll). */
.page-flow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
  isolation: isolate;
}

@media (max-width: 900px) {
  .page-flow {
    display: none;
  }
  body {
    background-image: var(--cf-gradient-mesh), var(--cf-gradient-soft);
  }
}

.page-flow-svg {
  width: 100%;
  height: 100%;
  display: block;
  /* Always static — continuous scale drift cost scroll/composite jank */
  transform: scale(1.06);
  transform-origin: 50% 40%;
  will-change: auto;
  animation: none;
}

/* Calmer ribbon — brand presence without competing with sections */
.flow-wash {
  opacity: 0.045;
}

.flow-ribbon--shadow {
  opacity: 0.055;
}

.flow-ribbon--main {
  opacity: 0.11;
}

.flow-ribbon--edge {
  opacity: 0.16;
}

.flow-ribbon--mid {
  opacity: 0.06;
}

.flow-ribbon--signal {
  opacity: 0.18;
}

.flow-ribbon--base {
  opacity: 0.05;
}

/* Demo E2E chrome — quiet, not a second brand header */
.demo-e2e-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  padding: 0.4rem 1rem;
  font: 600 0.75rem/1.35 var(--cf-font);
  color: var(--cf-ink-soft);
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--cf-line);
  backdrop-filter: blur(10px);
}
.demo-e2e-bar a {
  color: var(--cf-purple-700);
  font-weight: 750;
  text-decoration: none;
}
.demo-e2e-bar a:hover {
  text-decoration: underline;
}
.demo-e2e-sep {
  opacity: 0.4;
}

@keyframes cf-flow-drift {
  from {
    transform: scale(1.08) translate3d(-1.2%, -0.6%, 0);
  }
  to {
    transform: scale(1.12) translate3d(1.4%, 0.8%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-flow-svg {
    animation: none;
    will-change: auto;
    transform: scale(1.06);
  }
}

/* Content sits above the ribbon */
.site-header,
main,
.site-footer,
.wa-dock,
.skip-link {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 50;
}

.wa-dock {
  z-index: 70;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cf-purple-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cf-magenta-500);
}

/* —— Layout —— */
.wrap {
  width: min(
    calc(100% - var(--cf-pad-safe-l) - var(--cf-pad-safe-r)),
    var(--cf-max)
  );
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: 0;
}

.section {
  padding-block: var(--cf-section);
  /* Let the page ribbon show through — no solid section slabs */
  background: transparent;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.25rem;
}

.section-head .lead {
  margin-top: 0.75rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--cf-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cf-purple-700);
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--cf-radius-full);
  background: rgb(243 232 255 / 70%);
  border: 1px solid rgb(233 213 255 / 80%);
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.038em;
  margin: 0 0 0.85rem;
  color: var(--cf-ink);
}

h1 {
  font-size: var(--cf-display);
  font-weight: 800;
}

h2 {
  font-size: var(--cf-h2);
  font-weight: 700;
}

h3 {
  font-size: var(--cf-h3);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--cf-ink-muted);
  margin: 0;
  line-height: 1.65;
}

.muted {
  color: var(--cf-ink-muted);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--cf-header-h);
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* Real gutters + iOS safe areas so Empezar never hugs the edge */
  padding-inline: var(--cf-pad-safe-l) var(--cf-pad-safe-r);
  /* Near-solid chrome — skip backdrop blur (blur of fixed SVG ribbon is expensive while scrolling) */
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--cf-ease), border-color var(--cf-ease), background var(--cf-ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgb(226 232 240 / 85%);
  box-shadow: var(--cf-shadow-header);
  background: rgb(255 255 255 / 98%);
}

.site-header .wrap {
  /* Header already owns horizontal pad — fill remaining width up to max */
  width: min(100%, var(--cf-max));
  max-width: 100%;
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  width: 100%;
  height: var(--cf-header-h);
  min-width: 0;
}

.site-nav {
  min-width: 0;
  flex: 0 1 auto;
  display: flex;
  justify-content: flex-end;
}

/* Transparent script logo (PNG, cropped — no white box) */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.brand:focus-visible {
  outline: 2px solid var(--cf-purple-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.brand img.logo-script {
  height: 52px;
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 960px) {
  .brand img.logo-script {
    height: 58px;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .brand img.logo-script {
    height: 42px;
    max-width: min(200px, 52vw);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.1rem 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}

.nav-links .nav-cta {
  flex-shrink: 0;
  /* Keep Empezar inset from the nav’s right edge on tight viewports */
  margin-inline-start: 0.35rem;
}

.nav-links .btn {
  margin-inline-end: 0;
  flex-shrink: 0;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--cf-ink-soft);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--cf-radius-full);
  transition: color var(--cf-ease), background var(--cf-ease);
}

.nav-links a:not(.btn):hover {
  color: var(--cf-purple-700);
  background: var(--cf-lavender-50);
}

.nav-links .btn {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
}

@media (max-width: 900px) {
  .nav-links .hide-sm {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-links .btn {
    min-height: 42px;
    padding: 0.55rem 1.05rem;
    font-size: 0.9rem;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--cf-radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--cf-ease),
    box-shadow var(--cf-ease),
    background var(--cf-ease),
    border-color var(--cf-ease),
    color var(--cf-ease);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--cf-pink-100), 0 0 0 5px var(--cf-purple-500);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--cf-gradient-brand);
  color: #fff;
  box-shadow: var(--cf-shadow-btn);
}

.btn-primary:hover {
  color: #fff;
  background: var(--cf-gradient-brand-hover);
}

/* Secondary = quiet brand outline (not a second primary, not blue) */
.btn-secondary {
  background: var(--cf-surface);
  color: var(--cf-purple-800);
  border-color: #e9d5ff;
  box-shadow: var(--cf-shadow-sm);
}

.btn-secondary:hover {
  color: var(--cf-purple-900);
  border-color: #d8b4fe;
  background: var(--cf-lavender-50);
  box-shadow: var(--cf-shadow-md);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.btn-block {
  width: 100%;
}

/* —— Hero —— */
.hero {
  padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

/* Soft local glow only — page-flow SVG carries the ribbon */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 55% at 85% 35%, rgb(236 72 153 / 10%), transparent 60%),
    radial-gradient(ellipse 40% 45% at 10% 50%, rgb(124 58 237 / 8%), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-copy {
  max-width: 36rem;
}

/* Hero body copy: darker than muted grey so it reads clearly on the ribbon */
.hero-copy .lead {
  color: var(--cf-ink-soft);
  font-weight: 500;
}

.hero-copy .lead strong {
  color: var(--cf-ink);
  font-weight: 700;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--cf-radius-full);
  background: rgb(255 255 255 / 85%);
  border: 1px solid rgb(251 207 232 / 90%);
  color: var(--cf-purple-900);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
  box-shadow: var(--cf-shadow-sm);
}

.hero-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cf-gradient-brand);
  box-shadow: 0 0 0 3px rgb(236 72 153 / 20%);
}

.hero h1 {
  max-width: 13.5ch;
  margin-bottom: 1.1rem;
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: none;
  }
}

.hero h1 .grad {
  background: var(--cf-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-meta {
  margin-top: 1.35rem;
  font-size: var(--cf-small);
  color: var(--cf-ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 550;
  color: var(--cf-ink-soft);
}

.hero-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cf-ink-muted);
  opacity: 0.55;
  flex-shrink: 0;
}

/* Single formal cue → points to blue zone (not a second chip festival) */
.hero-formal-cue {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1rem 0 0;
  max-width: 34rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--cf-radius-md);
  background: var(--cf-blue-50);
  border: 1px solid rgb(191 219 254 / 90%);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--cf-ink-soft);
}

.hero-formal-cue strong {
  color: var(--cf-blue-900);
  font-weight: 700;
}

.hero-formal-ico {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--cf-gradient-trust);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 14%);
}

.hero-art-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-art-wrap::before {
  content: "";
  position: absolute;
  inset: -6% -4% 18% -2%;
  background: radial-gradient(circle at 60% 35%, rgb(192 38 211 / 16%), transparent 62%);
  z-index: 0;
  pointer-events: none;
}

.hero-art {
  position: relative;
  z-index: 1;
  border-radius: var(--cf-radius-xl);
  overflow: hidden;
  box-shadow:
    var(--cf-shadow-lg),
    0 0 0 1px rgb(233 213 255 / 70%);
  background: #2a1840;
  isolation: isolate;
}

/* Billboard-style SMB photo */
.hero-art .hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
  opacity: 1;
  display: block;
}

@media (min-width: 901px) {
  .hero-art .hero-photo {
    aspect-ratio: 5 / 4;
    max-height: 460px;
    width: 100%;
    object-fit: cover;
  }
}

/* —— Callout cluster: speech + circular tech icons (near her head) —— */
.hero-callout {
  position: absolute;
  /* Callout group near her head */
  top: 3.5%;
  left: 14%;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(82%, 20rem);
}

/* Circular icon ring — nudged further left (bubble handled separately) */
.hero-icon-cluster {
  position: relative;
  flex-shrink: 0;
  width: 8.1rem;
  height: 8.1rem;
  transform: translate(-1.15rem, 0.85rem);
}

.cluster-glow {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgb(255 255 255 / 48%) 0%, transparent 68%),
    radial-gradient(circle at 40% 40%, rgb(236 72 153 / 14%) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cluster-ring {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgb(255 255 255 / 55%);
  box-shadow:
    inset 0 0 0 1px rgb(109 40 217 / 6%),
    0 0 14px rgb(255 255 255 / 22%);
  z-index: 1;
  pointer-events: none;
}

/* Cheap white dust (one element + box-shadows) */
.cluster-dust {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.9);
  z-index: 1;
  box-shadow:
    10px -12px 0 0 rgb(255 255 255 / 0.7),
    -9px -14px 0 0 rgb(255 255 255 / 0.65),
    14px 5px 0 0 rgb(255 255 255 / 0.55),
    -13px 7px 0 0 rgb(255 255 255 / 0.5),
    5px 14px 0 0 rgb(255 255 255 / 0.45),
    -5px 16px 0 0 rgb(255 255 255 / 0.35),
    18px -7px 0 0 rgb(255 255 255 / 0.4),
    -16px -5px 0 0 rgb(255 255 255 / 0.3);
  opacity: 0.8;
}

/* dust stays static — infinite opacity anim was free jank for little gain */

.cluster-node {
  position: absolute;
  z-index: 2;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 96%);
  border: 1px solid rgb(233 213 255 / 95%);
  box-shadow:
    0 2px 8px rgb(15 23 42 / 12%),
    0 0 0 2px rgb(255 255 255 / 45%),
    0 0 10px rgb(255 255 255 / 50%);
}

.cluster-node img {
  width: 58%;
  height: 58%;
  display: block;
}

/* Hub centered; 5 satellites evenly around the circle */
.cluster-node--hub {
  width: 2.4rem;
  height: 2.4rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow:
    0 3px 10px rgb(109 40 217 / 18%),
    0 0 0 2px rgb(255 255 255 / 50%),
    0 0 12px rgb(192 38 211 / 20%);
}

/* Angles: 0° top, then every 72° */
.cluster-node--1 {
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
}
.cluster-node--2 {
  right: 4%;
  top: 28%;
}
.cluster-node--3 {
  right: 12%;
  bottom: 8%;
}
.cluster-node--4 {
  left: 12%;
  bottom: 8%;
}
.cluster-node--5 {
  left: 4%;
  top: 28%;
}

.hero-speech {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  /* Bubble alone: left a bit, further up; icons stay put */
  transform: translate(-0.55rem, -1.15rem);
  padding: 0.5rem 0.8rem 0.5rem 0.7rem;
  border-radius: 1.05rem 1.05rem 1.05rem 0.35rem;
  background: rgb(255 255 255 / 96%);
  border: 1px solid rgb(233 213 255 / 95%);
  box-shadow:
    0 10px 22px rgb(15 23 42 / 16%),
    0 0 16px rgb(255 255 255 / 40%);
}

.hero-speech-text {
  display: block;
  font-size: clamp(0.66rem, 1.45vw, 0.76rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--cf-ink);
  white-space: nowrap;
}

/* Tail pointing down toward her face */
.hero-speech::after {
  content: "";
  position: absolute;
  left: 28%;
  bottom: -0.42rem;
  width: 0.68rem;
  height: 0.68rem;
  background: rgb(255 255 255 / 96%);
  border-right: 1px solid rgb(233 213 255 / 95%);
  border-bottom: 1px solid rgb(233 213 255 / 95%);
  transform: rotate(45deg);
  box-shadow: 2px 2px 6px rgb(15 23 42 / 8%);
}

/* —— Highlights under the photo —— */
.hero-highlights {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.7rem 0.65rem;
  border-radius: var(--cf-radius-md);
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(233 213 255 / 80%);
  box-shadow: 0 4px 14px rgb(109 40 217 / 6%);
}

.hi-icon {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fff 0%, #f3e8ff 100%);
  border: 1px solid rgb(233 213 255 / 90%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 90%);
}



.hi-icon img {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.hi-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.hi-copy strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--cf-ink);
  line-height: 1.25;
}

.hi-copy span {
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--cf-ink-muted);
}

@media (max-width: 900px) {
  .hero-art-wrap {
    max-width: 36rem;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hero-callout {
    top: 1.5%;
    left: 4%;
    max-width: min(92%, 17rem);
    gap: 0.35rem;
  }
  .hero-icon-cluster {
    width: 6.75rem;
    height: 6.75rem;
    transform: translate(-0.85rem, 0.65rem);
  }
  .hero-speech {
    transform: translate(-0.4rem, -0.95rem);
  }
  .cluster-node {
    width: 1.8rem;
    height: 1.8rem;
  }
  .cluster-node--hub {
    width: 2rem;
    height: 2rem;
  }
  .hero-speech {
    padding: 0.42rem 0.65rem;
  }
  .hero-speech-text {
    font-size: 0.62rem;
    white-space: normal;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .hero-highlights li {
    align-items: center;
    padding: 0.65rem 0.75rem;
  }
  .hi-copy span {
    font-size: 0.72rem;
  }
  .hi-copy strong {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cluster-dust {
    animation: none !important;
    opacity: 0.7;
  }
}

/* —— Formal zone: ONE blue chapter (balanced) —— */
.formal-zone {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.formal-panel {
  border-radius: var(--cf-radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: linear-gradient(165deg, #f8fbff 0%, var(--cf-blue-50) 48%, #fff 100%);
  border: 1px solid rgb(191 219 254 / 95%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 90%) inset,
    0 12px 36px rgb(30 64 175 / 6%);
  position: relative;
  overflow: hidden;
}

.formal-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--cf-gradient-trust);
}

.formal-panel-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.formal-eyebrow {
  display: inline-block;
  font-size: var(--cf-eyebrow);
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cf-blue-800);
  margin-bottom: 0.65rem;
}

.formal-panel-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--cf-blue-900);
  line-height: 1.25;
}

.formal-panel-head p {
  margin: 0;
  font-size: var(--cf-small);
  color: var(--cf-ink-soft);
  line-height: 1.55;
}

.formal-panel-head strong {
  color: var(--cf-blue-900);
  font-weight: 700;
}

.formal-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 800px) {
  .formal-grid {
    grid-template-columns: 1fr;
  }
}

.formal-grid li {
  background: #fff;
  border: 1px solid rgb(219 234 254 / 95%);
  border-radius: var(--cf-radius-lg);
  padding: 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 2px 8px rgb(15 23 42 / 3%);
}

.formal-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.45rem;
  background: var(--cf-blue-50);
  border: 1px solid rgb(191 219 254 / 90%);
}

.formal-ico img {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.formal-grid strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cf-blue-900);
  letter-spacing: -0.02em;
}

.formal-grid li > span:last-child {
  font-size: var(--cf-small);
  color: var(--cf-ink-muted);
  line-height: 1.45;
}

/* —— Features —— */
.features {
  background: transparent;
  border-block: 1px solid rgb(233 213 255 / 40%);
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  /* Opaque cards — no backdrop-filter (blur tax under fixed ribbon) */
  background: rgb(255 255 255 / 94%);
  border: 1px solid var(--cf-lavender-100);
  border-radius: var(--cf-radius-lg);
  padding: 1.75rem 1.55rem;
  transition: box-shadow var(--cf-ease), transform var(--cf-ease), border-color var(--cf-ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cf-gradient-brand);
  opacity: 0;
  transition: opacity var(--cf-ease);
}

.feature-card:hover {
  box-shadow: var(--cf-shadow-md);
  transform: translateY(-2px);
  border-color: #e9d5ff;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--cf-lavender-100);
  box-shadow: var(--cf-shadow-sm);
  margin-bottom: 1.2rem;
}

.feature-icon {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  margin-bottom: 0.45rem;
}

.feature-card p {
  margin: 0;
  color: var(--cf-ink-muted);
  font-size: var(--cf-small);
  line-height: 1.6;
}

/* —— How it works —— */
.how {
  position: relative;
  background: transparent;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  counter-reset: step;
  position: relative;
}

@media (min-width: 801px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 2.4rem;
    left: 12%;
    right: 12%;
    height: 2px;
    /* Brand purple/pink ends + cyan mid for “flow” support */
    background: linear-gradient(90deg, transparent, #e9d5ff 20%, #fbcfe8 50%, #e9d5ff 80%, transparent);
    z-index: 0;
  }
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  z-index: 1;
  padding: 1.85rem 1.6rem;
  background: rgb(255 255 255 / 94%);
  border-radius: var(--cf-radius-lg);
  border: 1px solid var(--cf-line);
  box-shadow: var(--cf-shadow-sm);
  height: 100%;
  transition: box-shadow var(--cf-ease), transform var(--cf-ease);
}

.step:hover {
  box-shadow: var(--cf-shadow-md);
  transform: translateY(-2px);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--cf-radius-full);
  background: var(--cf-gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--cf-shadow-btn);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  margin: 0;
  line-height: 1.6;
}

/* —— Pricing —— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
  align-items: stretch;
}

@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.price-card {
  background: rgb(255 255 255 / 96%);
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius-xl);
  padding: 2.1rem 1.85rem;
  box-shadow: var(--cf-shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--cf-ease), box-shadow var(--cf-ease);
}

.price-card:hover {
  box-shadow: var(--cf-shadow-md);
}

.price-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(rgb(255 255 255 / 92%), rgb(255 255 255 / 92%)) padding-box,
    var(--cf-gradient-brand) border-box;
  box-shadow: var(--cf-shadow-lg);
}

@media (min-width: 701px) {
  .price-card.featured {
    transform: scale(1.03);
  }
  .price-card.featured:hover {
    transform: scale(1.04);
  }
}

.price-card .pill {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--cf-radius-full);
  background: var(--cf-gradient-brand);
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: var(--cf-shadow-btn);
}

.price-card .plan-name {
  margin-bottom: 0.2rem;
}

.price {
  font-size: clamp(2.35rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0.85rem 0 0.2rem;
  color: var(--cf-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
}

.price-card.featured .price {
  background: var(--cf-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price .price-unit {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--cf-ink-muted);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--cf-ink-muted);
}

.price .currency {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-card.featured .price .price-unit,
.price-card.featured .price .currency {
  color: var(--cf-ink-muted);
  -webkit-text-fill-color: var(--cf-ink-muted);
}

.price-card ul {
  margin: 1.4rem 0 1.85rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.65rem;
  color: var(--cf-ink-soft);
  font-size: var(--cf-small);
  border-bottom: 1px solid var(--cf-line-soft);
}

.price-card li:last-child {
  border-bottom: none;
}

/* Formal plan lines (domain, mail, HTTPS) use trust check — not brand magenta */
.price-card li.li-trust {
  color: var(--cf-blue-900);
  font-weight: 600;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--cf-gradient-brand);
  opacity: 0.95;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5 3 8l1.2-1.2 2.3 2.3 5.3-5.3L13 5.2z'/%3E%3C/svg%3E")
    center / 70% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5 3 8l1.2-1.2 2.3 2.3 5.3-5.3L13 5.2z'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}

.price-card li.li-trust::before {
  background: var(--cf-gradient-trust);
}

/* —— Factory example teaser (no client assets on homepage) —— */
.example-section {
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.example-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: 40rem;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  border-radius: var(--cf-radius-lg);
  background: #fff;
  border: 1px solid var(--cf-line);
  box-shadow: var(--cf-shadow-sm, 0 4px 14px rgb(15 23 42 / 6%));
  text-decoration: none;
  color: inherit;
  transition: border-color var(--cf-ease), box-shadow var(--cf-ease);
}

.example-teaser:hover {
  border-color: color-mix(in srgb, var(--cf-purple-500, #8b5cf6) 45%, var(--cf-line));
  box-shadow: 0 10px 28px rgb(109 40 217 / 10%);
}

.example-teaser-text .eyebrow {
  color: var(--cf-purple-700);
  margin: 0;
}

.example-teaser-text h2 {
  margin: 0.3rem 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--cf-ink);
}

.example-teaser-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--cf-ink-muted);
  line-height: 1.45;
  max-width: 28rem;
}

.example-teaser-cta {
  flex-shrink: 0;
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--cf-purple-700);
}

/* Hub page for demo (still no iframe / no client CSS) */
.page-ejemplo .ejemplo-main {
  padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
}

.ejemplo-hub {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius-xl);
  box-shadow: var(--cf-shadow-md);
}

.ejemplo-hub h1 {
  margin: 0.4rem 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
}

.ejemplo-hub .lead {
  margin: 0 0 1rem;
  color: var(--cf-ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.ejemplo-hub-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--cf-ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.ejemplo-hub-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--cf-ink-muted);
  line-height: 1.4;
}

/* —— Contacto page —— */
.page-contacto .contacto-main {
  padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
}

.contacto-card {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius-xl);
  box-shadow: var(--cf-shadow-md);
}

.contacto-card h1 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.contacto-card > .lead {
  margin: 0 0 1.35rem;
  color: var(--cf-ink-soft);
  line-height: 1.55;
}

.contacto-channels {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .contacto-channels {
    grid-template-columns: 1fr 1fr;
  }
}

.contacto-channel {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1.5px solid var(--cf-line);
  text-decoration: none;
  color: var(--cf-ink);
  transition: border-color var(--cf-ease), box-shadow var(--cf-ease), transform var(--cf-ease);
}

.contacto-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(15 23 42 / 8%);
}

.contacto-channel--primary {
  border-color: color-mix(in srgb, var(--cf-whatsapp, #25d366) 55%, var(--cf-line));
  background: linear-gradient(165deg, #ecfdf5 0%, #fff 55%);
}

.contacto-channel--secondary {
  background: #faf5ff;
  border-color: color-mix(in srgb, var(--cf-purple-500, #8b5cf6) 35%, var(--cf-line));
}

.contacto-channel-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cf-ink-muted);
}

.contacto-channel strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.contacto-email {
  font-weight: 750;
  color: var(--cf-purple-700, #6d28d9);
  font-size: 0.95rem;
  word-break: break-all;
}

.contacto-channel > span:not(.contacto-channel-label):not(.contacto-channel-cta):not(.contacto-email) {
  font-size: 0.88rem;
  color: var(--cf-ink-muted);
  line-height: 1.4;
}

.contacto-channel-cta {
  margin-top: 0.45rem;
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--cf-purple-700, #6d28d9);
}

.contacto-channel--primary .contacto-channel-cta {
  color: var(--cf-whatsapp-dark, #128c7e);
}

.contacto-also {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--cf-line);
}

.contacto-also h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.contacto-also p {
  margin: 0 0 0.85rem;
  color: var(--cf-ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contacto-note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--cf-ink-muted);
  line-height: 1.45;
}

.contacto-note a {
  color: var(--cf-purple-700);
  font-weight: 650;
}

/* —— Domain checker (.com.mx) —— */
.domain-section {
  padding-block: clamp(2rem, 5vw, 3.25rem);
}

.domain-checker {
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.15rem);
  border-radius: var(--cf-radius-xl);
  background: #fff;
  border: 1px solid rgb(191 219 254 / 85%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 90%) inset,
    0 16px 40px rgb(30 64 175 / 7%);
  position: relative;
  overflow: hidden;
}

.domain-checker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--cf-gradient-trust);
}

.domain-checker-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.domain-eyebrow {
  color: var(--cf-blue-800);
}

.domain-checker-head h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: var(--cf-blue-900);
  letter-spacing: -0.03em;
}

.domain-lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: var(--cf-small);
  color: var(--cf-ink-soft);
}

.domain-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cf-ink-soft);
  margin-bottom: 0.4rem;
}

.domain-input-row {
  display: flex;
  align-items: stretch;
  border: 1px solid rgb(147 197 253 / 80%);
  border-radius: var(--cf-radius-md);
  overflow: hidden;
  background: var(--cf-blue-50);
  box-shadow: var(--cf-shadow-sm);
}

.domain-input-row:focus-within {
  border-color: var(--cf-blue-600);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 14%);
}

.domain-input-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: #fff;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--cf-ink);
  outline: none;
}

.domain-suffix {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-weight: 750;
  font-size: 0.95rem;
  color: var(--cf-blue-800);
  background: var(--cf-blue-50);
  border-left: 1px solid rgb(191 219 254 / 90%);
  white-space: nowrap;
}

.domain-live-preview {
  margin: 0.65rem 0 1rem;
  font-size: 0.85rem;
  color: var(--cf-ink-muted);
}

.domain-live-preview strong {
  color: var(--cf-blue-900);
  font-weight: 750;
}

.domain-live-preview strong.is-empty {
  color: var(--cf-ink-muted);
  font-weight: 600;
}

.domain-check-btn {
  width: 100%;
}

.domain-result {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border-radius: var(--cf-radius-md);
  border: 1px solid var(--cf-line);
  background: var(--cf-surface-2);
}

.domain-result[data-state="available"] {
  background: linear-gradient(145deg, #ecfdf5 0%, #f0fdf4 100%);
  border-color: rgb(167 243 208 / 90%);
}

.domain-result[data-state="taken"] {
  background: #fff7ed;
  border-color: rgb(254 215 170 / 95%);
}

.domain-result[data-state="loading"] {
  background: var(--cf-blue-50);
  border-color: rgb(191 219 254 / 90%);
}

.domain-result-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--cf-ink);
}

.domain-result-title--ok {
  color: #047857;
}

.domain-result-title--no {
  color: #c2410c;
}

.domain-result-msg {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--cf-ink-soft);
}

.domain-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.domain-actions .btn,
.domain-actions .btn-whatsapp-inline {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.domain-disclaimer {
  margin: 1.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--cf-ink-muted);
  text-align: center;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: var(--cf-small);
  color: var(--cf-ink-muted);
  max-width: 34rem;
  margin-inline: auto;
  line-height: 1.55;
}

/* —— FAQ —— */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius-lg);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--cf-shadow-sm);
  background: rgb(255 255 255 / 96%);
}

/* Banco / trámites FAQ: trust framing so formalidad is scannable */
.faq-item--trust {
  border-color: rgb(147 197 253 / 80%);
  background: linear-gradient(145deg, rgb(255 255 255 / 92%) 0%, var(--cf-blue-50) 100%);
  box-shadow: 0 8px 24px rgb(37 99 235 / 8%);
}

.faq-item--trust summary {
  color: var(--cf-blue-900);
}

.faq-item--trust summary::after {
  color: var(--cf-blue-600);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--cf-ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cf-purple-500);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.85rem 0 0;
  color: var(--cf-ink-muted);
  font-size: var(--cf-small);
  line-height: 1.6;
}

/* —— CTA band —— */
.cta-band {
  background: var(--cf-gradient-dark);
  color: #fff;
  border-radius: var(--cf-radius-xl);
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  box-shadow: var(--cf-shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgb(255 255 255 / 7%);
  pointer-events: none;
}

.cta-band::before {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -80px;
}

.cta-band::after {
  width: 200px;
  height: 200px;
  bottom: -80px;
  left: -40px;
}

.cta-band h2,
.cta-band p,
.cta-band .btn {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgb(255 255 255 / 84%);
  max-width: 34rem;
  margin: 0 auto 1.65rem;
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--cf-purple-900);
  box-shadow: 0 10px 28px rgb(0 0 0 / 2%);
}

.cta-band .btn-primary:hover {
  color: var(--cf-magenta-500);
  background: #fff;
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid rgb(226 232 240 / 90%);
  background: transparent;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--cf-small);
  color: var(--cf-ink-muted);
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-logo {
  line-height: 0;
}

.footer-logo img {
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
}

.footer-domains {
  font-weight: 500;
  color: var(--cf-ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--cf-ink-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--cf-purple-700);
}

/* —— Skip link —— */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--cf-ink);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--cf-radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
}

/* —— Utilities —— */
.text-center {
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .feature-card,
  .step,
  .price-card,
  .site-header {
    transition: none;
  }
  .btn:hover,
  .feature-card:hover,
  .step:hover,
  .price-card.featured:hover {
    transform: none;
  }
  .page-flow-svg {
    animation: none;
    will-change: auto;
  }
}

/* —— WhatsApp dock (all support/onboarding → WhatsApp) —— */
.wa-dock {
  position: fixed;
  right: var(--cf-pad-safe-r);
  bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  max-width: min(22rem, calc(100vw - var(--cf-pad-safe-l) - var(--cf-pad-safe-r)));
  font-family: var(--cf-font);
}

.wa-card {
  width: 100%;
  background: var(--cf-surface);
  border-radius: 18px;
  border: 1px solid var(--cf-line-soft);
  box-shadow: 0 16px 48px rgb(15 23 42 / 16%);
  overflow: hidden;
  transform-origin: bottom right;
  animation: wa-pop 0.28s var(--cf-ease) both;
}

.wa-card[hidden] {
  display: none !important;
}

@keyframes wa-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wa-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, var(--cf-whatsapp-dark), var(--cf-whatsapp));
  color: #fff;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgb(255 255 255 / 20%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wa-avatar svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.wa-card-head strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.wa-card-head span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
}

.wa-card-close {
  margin-left: auto;
  border: 0;
  background: rgb(255 255 255 / 18%);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.wa-card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.wa-card-body p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--cf-ink-soft);
  line-height: 1.5;
}

.wa-card-body ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--cf-ink-muted);
}

.wa-card-body li {
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
}

.wa-card-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cf-whatsapp-dark);
  font-weight: 700;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--cf-radius-full);
  background: var(--cf-whatsapp);
  color: var(--cf-whatsapp-ink) !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  border: 0;
  box-shadow: 0 8px 20px rgb(37 211 102 / 35%);
  transition: transform var(--cf-ease), background var(--cf-ease), box-shadow var(--cf-ease);
}

.btn-whatsapp:hover {
  background: var(--cf-whatsapp-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
}

.wa-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--cf-whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgb(37 211 102 / 45%);
  transition: transform var(--cf-ease), background var(--cf-ease);
}

.wa-fab:hover {
  background: var(--cf-whatsapp-dark);
  transform: scale(1.05);
}

.wa-fab:focus-visible {
  outline: 3px solid rgb(37 211 102 / 45%);
  outline-offset: 3px;
}

.wa-fab svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.wa-fab-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Desktop: show short label next to FAB when panel closed */
@media (min-width: 768px) {
  .wa-dock {
    bottom: 1.35rem;
    right: 1.35rem;
  }
}

/* In-page WhatsApp CTAs */
.btn-whatsapp-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--cf-radius-full);
  background: var(--cf-whatsapp);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgb(37 211 102 / 30%);
}

.btn-whatsapp-inline:hover {
  background: var(--cf-whatsapp-dark);
  color: #fff !important;
}

.btn-whatsapp-inline svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 0;
}

.cta-band .btn-whatsapp-inline {
  box-shadow: 0 10px 28px rgb(0 0 0 / 18%);
}

/* —— Web craft motion (WEB-CRAFT-STANDARD)
   transform + opacity only; progressive enhancement via .is-in
   Short travel + no will-change (layer promotion hurt scroll more than it helped)
—— */
.craft-enter {
  animation: craft-enter-up 0.35s var(--cf-ease-out) both;
}

.craft-enter-delay-1 {
  animation-delay: 40ms;
}

.craft-enter-delay-2 {
  animation-delay: 80ms;
}

@keyframes craft-enter-up {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.craft-reveal,
.craft-reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.32s var(--cf-ease-out),
    transform 0.32s var(--cf-ease-out);
}

.craft-reveal.is-in,
.craft-reveal-stagger.is-in > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.craft-reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.craft-reveal-stagger.is-in > *:nth-child(2) { transition-delay: 30ms; }
.craft-reveal-stagger.is-in > *:nth-child(3) { transition-delay: 60ms; }
.craft-reveal-stagger.is-in > *:nth-child(4) { transition-delay: 90ms; }
.craft-reveal-stagger.is-in > *:nth-child(5) { transition-delay: 120ms; }
.craft-reveal-stagger.is-in > *:nth-child(6) { transition-delay: 150ms; }

/* Skip paint for off-screen sections (below hero) */
.section {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
.hero {
  content-visibility: visible;
}

/* Domain success: soft spring (still transform/opacity) */
.domain-result[data-state="available"] {
  animation: craft-pop var(--cf-ease-spring) both;
}

@keyframes craft-pop {
  from {
    opacity: 0;
    transform: scale(0.98) translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

/* Buttons: slightly smoother press (pointer devices) */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-1px);
  }
  .btn-primary:active {
    transform: translateY(0);
  }
  .feature-card {
    transition:
      box-shadow var(--cf-ease),
      transform var(--cf-ease),
      border-color var(--cf-ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-card {
    animation: none;
  }
  .wa-fab:hover,
  .btn-whatsapp:hover {
    transform: none;
  }

  .craft-enter,
  .craft-enter-delay-1,
  .craft-enter-delay-2,
  .domain-result[data-state="available"] {
    animation: none !important;
  }

  .craft-reveal,
  .craft-reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .btn-primary:hover,
  .btn-primary:active {
    transform: none !important;
  }

  .page-flow-svg {
    animation: none;
    will-change: auto;
  }
}

/* —— Order / alta form (#pedido) —— */
.order-section {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.order-form {
  max-width: 42rem;
  margin: 0 auto;
  background: rgb(255 255 255 / 92%);
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius-xl, 24px);
  box-shadow: var(--cf-shadow-lg, 0 24px 48px rgb(15 23 42 / 10%));
  padding: clamp(1.25rem, 3vw, 1.85rem);
}

.order-fieldset {
  border: 0;
  margin: 0 0 1.5rem;
  padding: 0;
}

.order-fieldset legend {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cf-purple-700, #6d28d9);
  margin-bottom: 0.85rem;
  padding: 0;
}

.order-plan-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .order-plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.order-plan-card {
  display: block;
  cursor: pointer;
  border-radius: 16px;
  border: 1.5px solid var(--cf-line);
  background: #fff;
  transition: border-color var(--cf-ease), box-shadow var(--cf-ease);
}

.order-plan-card:has(input:checked) {
  border-color: var(--cf-purple-600, #7c3aed);
  box-shadow: 0 0 0 3px rgb(124 58 237 / 15%);
}

.order-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.order-plan-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
}

.order-plan-card-body strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.order-plan-card-body span {
  font-size: 0.82rem;
  color: var(--cf-ink-muted);
  line-height: 1.35;
}

.order-grid {
  display: grid;
  gap: 0.85rem 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .order-grid {
    grid-template-columns: 1fr 1fr;
  }

  .order-field--full {
    grid-column: 1 / -1;
  }
}

.order-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--cf-ink);
}

.order-field abbr {
  text-decoration: none;
  color: var(--cf-pink-600, #db2777);
}

.order-field input,
.order-field select,
.order-field textarea {
  font: inherit;
  font-weight: 500;
  color: var(--cf-ink);
  border: 1.5px solid var(--cf-line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  min-height: 2.85rem;
  background: #fff;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.order-field textarea {
  min-height: 5rem;
  resize: vertical;
  line-height: 1.45;
}

.order-field input:focus,
.order-field select:focus,
.order-field textarea:focus {
  outline: 2px solid var(--cf-purple-500, #8b5cf6);
  outline-offset: 1px;
  border-color: transparent;
}

.order-hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cf-ink-muted);
  line-height: 1.4;
}

.order-domain-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.order-domain-row input {
  border-radius: 12px 0 0 12px;
  flex: 1;
}

.order-domain-tld {
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  background: var(--cf-lavender-50, #faf5ff);
  border: 1.5px solid var(--cf-line);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  font-weight: 750;
  font-size: 0.88rem;
  color: var(--cf-purple-800, #5b21b6);
  white-space: nowrap;
}

.order-upload-lead {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--cf-ink-soft);
  line-height: 1.5;
  font-weight: 500;
}

.order-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 2px dashed color-mix(in srgb, var(--cf-purple-500, #8b5cf6) 45%, var(--cf-line));
  border-radius: 16px;
  background: linear-gradient(165deg, #faf5ff 0%, #fff 60%);
  cursor: pointer;
  transition: border-color var(--cf-ease), background var(--cf-ease), box-shadow var(--cf-ease);
  min-height: 8.5rem;
}

.order-dropzone:hover,
.order-dropzone:focus-visible {
  border-color: var(--cf-purple-600, #7c3aed);
  box-shadow: 0 8px 24px rgb(124 58 237 / 10%);
  outline: none;
}

.order-dropzone.is-drag {
  border-color: var(--cf-whatsapp, #25d366);
  background: #f0fdf4;
}

.order-dropzone strong {
  font-size: 0.98rem;
  color: var(--cf-ink);
}

.order-dropzone > span:last-child {
  font-size: 0.78rem;
  color: var(--cf-ink-muted);
  max-width: 28ch;
  line-height: 1.35;
}

.order-dropzone-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cf-gradient-brand, linear-gradient(135deg, #6d28d9, #ec4899));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.order-files-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.order-file-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.order-file-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border: 1px solid var(--cf-line);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.order-file-meta {
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--cf-ink-muted);
}

.order-file-remove {
  border: 0;
  background: rgb(15 23 42 / 6%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--cf-ink);
}

.order-actions {
  margin-top: 0.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--cf-line);
}

.order-channel-note {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--cf-ink-soft);
  line-height: 1.45;
}

.order-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.order-actions-row .btn-whatsapp-inline {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.order-actions-row .btn {
  cursor: pointer;
  font: inherit;
}

@media (max-width: 639px) {
  .order-actions-row {
    flex-direction: column;
  }

  .order-actions-row > * {
    width: 100%;
    justify-content: center;
  }
}

.order-status {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  background: var(--cf-lavender-50, #faf5ff);
  color: var(--cf-ink);
}

.order-status[data-kind="ok"] {
  background: #ecfdf5;
  color: #065f46;
}

.order-status[data-kind="error"] {
  background: #fef2f2;
  color: #991b1b;
}

.order-legal-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--cf-ink-muted);
  line-height: 1.4;
}

.order-legal-note a {
  color: var(--cf-purple-700);
  font-weight: 650;
}

@media (max-width: 639px) {
  .order-field input,
  .order-field select,
  .order-field textarea {
    font-size: 16px; /* no iOS zoom */
  }
}

/* —— Dedicated pedido.html steps —— */
.page-pedido .site-header { margin-bottom: 0; }

/* Steps use [hidden]; force hide (some browsers + CSS still paint otherwise) */
.order-step[hidden] {
  display: none !important;
}

.order-step {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

/* Form on pedido page must never stay invisible (no craft.js on this page) */
.page-pedido .order-form {
  opacity: 1;
  transform: none;
}
.order-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}
.order-step-hint { font-size: 0.88rem; margin: 0.85rem 0 0; color: var(--cf-ink-muted); }
.order-channel-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .order-channel-grid { grid-template-columns: 1fr 1fr; }
}
.order-channel-card {
  text-align: left;
  border: 1.5px solid var(--cf-line);
  border-radius: 18px;
  background: #fff;
  padding: 1.15rem 1.2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font: inherit;
  color: var(--cf-ink);
  transition: border-color var(--cf-ease), box-shadow var(--cf-ease), transform var(--cf-ease);
}
.order-channel-card:hover {
  border-color: var(--cf-purple-500, #8b5cf6);
  box-shadow: 0 12px 28px rgb(109 40 217 / 12%);
  transform: translateY(-2px);
}
.order-channel-card strong { font-size: 1.08rem; }
.order-channel-card > span:last-child {
  font-size: 0.88rem;
  color: var(--cf-ink-muted);
  line-height: 1.4;
  font-weight: 500;
}
.order-channel-ico {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.order-plan-grid--pick {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .order-plan-grid--pick { grid-template-columns: 1fr 1fr; }
}
.order-plan-pick {
  border: 1.5px solid var(--cf-line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem 1.1rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--cf-ink);
}
.order-plan-pick.is-selected,
.order-plan-pick:hover {
  border-color: var(--cf-purple-600, #7c3aed);
  box-shadow: 0 0 0 3px rgb(124 58 237 / 14%);
}
.order-plan-pick strong { font-size: 1.05rem; }
.order-plan-pick span { font-size: 0.85rem; color: var(--cf-ink-muted); }
.order-web-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--cf-ink-soft);
}
.order-cta-section { padding-top: 0.5rem; }
