/* ========== Tokens ========== */
:root {
  --blue: #0a46ff;
  --blue-dark: #0036d6;
  --blue-soft: #eef3ff;
  --ink: #0b0d14;
  --text: #1d2133;
  --muted: #4f5672;
  --line: #e3e6ef;
  --line-strong: #c9cedd;
  --bg: #ffffff;
  --radius: 10px;
  --shadow: 0 18px 40px -18px rgba(18, 26, 60, .28);
  --shadow-sm: 0 6px 18px -8px rgba(18, 26, 60, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1180px;
  --gutter: 32px;
  --header-h: 76px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffac00; outline-offset: 3px; border-radius: 4px; }
p { color: var(--muted); }

h1 { font-size: clamp(40px, 4.7vw, 66px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; background: #fff; padding: 12px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid transparent; border-radius: 6px;
  padding: 13px 22px; font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(10, 70, 255, .7); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(10, 70, 255, .75); }
.btn-outline { background: #fff; color: var(--text); border-color: #5f6888; font-size: 15px; font-weight: 400; padding: 11px 18px; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--ink); font-weight: 600; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .35); }
.btn-block { width: 100%; }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-link {
  text-decoration: none;
  background: none; border: 0; padding: 2px 0; color: var(--text); font-size: 16px;
  background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.btn-link:hover { color: var(--blue); background-size: 0 1px; background-position: 100% 100%; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: #eef0f5; box-shadow: 0 6px 20px -16px rgba(18, 26, 60, .35); }
.header-inner { max-width: calc(var(--container) + var(--gutter) * 2); margin: auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 40px; margin: 0 auto; font-size: 15px; }
.main-nav a:not(.btn) { text-decoration: none; color: var(--text); position: relative; padding: 6px 0; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.main-nav a:not(.btn):hover { color: var(--blue); }
.main-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-quote { display: none; }
.menu-toggle { display: none; }

/* ========== Hero ========== */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 32px; padding-top: 36px; padding-bottom: 16px; }
.hero h1 .line { display: block; white-space: nowrap; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero-fade { animation: view-in .9s var(--d, 0s) var(--ease) both; }
.lead { font-size: clamp(18px, 1.7vw, 22px); font-weight: 400; margin-top: 22px; letter-spacing: -.01em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 38px; }
.actions .btn-primary { padding: 15px 24px; font-size: 17px; }

.hero-art { position: relative; aspect-ratio: 1 / .74; perspective: 1400px; }
.hero-aurea, .hero-valentina { position: absolute; will-change: transform; }
.hero-aurea { left: 0; top: 0; width: 76%; animation: art-in 1.1s .2s var(--ease) both; }
.hero-valentina { right: 0; top: 18%; width: 48%; animation: art-in-up 1.1s .45s var(--ease) both; box-shadow: 0 30px 60px -24px rgba(18, 26, 60, .4); }
.hero-art.ready .hero-aurea { animation: float 7s ease-in-out infinite; }
.hero-art.ready .hero-valentina { animation: float 7s -3.5s ease-in-out infinite; }
.hero-art .tilt { transition: transform .6s var(--ease); }

/* ========== Mini site mock (hero) ========== */
.site {
  container-type: inline-size;
  background: #f8f6f1; color: #111; border-radius: 6px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(15, 20, 40, .06);
}
.site-white { background: #fff; }
.site-nav { display: flex; align-items: center; gap: 4cqi; padding: 4.2cqi 5cqi; font-size: 3.6cqi; }
.site-nav b { font-weight: 600; letter-spacing: -.02em; }
.site-nav .links { display: flex; gap: 3.2cqi; margin-left: auto; font-size: 1.7cqi; opacity: .75; }
.site-nav .links i { font-style: normal; }
.site-nav .burger { width: 2.6cqi; height: 1.6cqi; border-block: 1.5px solid currentColor; position: relative; }
.site-nav .burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
.site-body { display: grid; grid-template-columns: 1fr 1.05fr; align-items: stretch; }
.site-text { padding: 6cqi 3cqi 6cqi 5cqi; display: flex; flex-direction: column; align-items: flex-start; }
.site-text h3 { font-size: 7.2cqi; font-weight: 600; line-height: 1.06; letter-spacing: -.03em; }
.site-text h3.serif, .serif { font-family: "Newsreader", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; }
.site-text p { font-size: 2.1cqi; line-height: 1.5; color: inherit; opacity: .78; margin-top: 4cqi; max-width: 30ch; }
.site-btn { margin-top: 5cqi; background: #0b0b0b; color: #fff; font-size: 1.9cqi; padding: 1.8cqi 2.8cqi; border-radius: 3px; white-space: nowrap; }
.pager { margin-top: auto; padding-top: 6cqi; display: flex; gap: 4cqi; font-size: 1.5cqi; }
.pager i { font-style: normal; position: relative; padding-bottom: 1.2cqi; }
.pager i.on::after { content: ""; position: absolute; left: 0; bottom: 0; width: 6cqi; height: 1px; background: currentColor; }
.site-img { position: relative; overflow: hidden; min-height: 100%; }
.site-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

/* Hero Valentina */
.hero-valentina .site-nav { font-size: 5cqi; padding: 6cqi 6cqi 3cqi; }
.hero-valentina .site-nav .links { font-size: 2.4cqi; gap: 4cqi; }
.hero-valentina .site-body { grid-template-columns: 1fr 1fr; padding: 0 5cqi; gap: 4cqi; }
.hero-valentina .site-text { padding: 5cqi 0; }
.hero-valentina .site-text h3 { font-size: 9.5cqi; font-weight: 500; }
.hero-valentina .site-text p { font-size: 2.8cqi; }
.hero-valentina .site-btn { font-size: 2.6cqi; padding: 2.4cqi 3.6cqi; }
.site-img.art { aspect-ratio: 1 / 1.1; border-radius: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqi; padding: 5cqi 5cqi 6cqi; }
.thumbs figure { font-size: 2.2cqi; line-height: 1.2; }
.thumbs img, .thumbs .shape, .thumbs .glow { aspect-ratio: 1.25; width: 100%; object-fit: cover; border-radius: 2px; display: block; }
.thumbs .shape { background: radial-gradient(70% 60% at 70% 30%, #fff 0 30%, transparent 31%), linear-gradient(135deg, #e9e3da, #b9a58e 55%, #6d5b4b); }
.thumbs .glow { background: radial-gradient(80% 70% at 30% 80%, #ffb347, transparent 60%), linear-gradient(120deg, #1a0b2e 10%, #a3195b 55%, #ff7b1c 95%); }
.thumbs figcaption { margin-top: 2cqi; color: #333; }

/* ========== Sections ========== */
section { position: relative; }
.process { padding-top: 16px; padding-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 34px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: start; position: relative; }
.step-icon { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid #3c4155; display: grid; place-items: center; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.step-icon svg { width: 26px; height: 26px; fill: none; stroke: #111; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; transition: stroke .3s; }
.steps li:hover .step-icon { background: var(--blue); border-color: var(--blue); transform: rotate(-8deg) scale(1.05); }
.steps li:hover .step-icon svg { stroke: #fff; }
.step-num { color: var(--blue); font-size: 22px; font-weight: 600; line-height: 1; padding-top: 8px; }
.steps h3 { font-size: 17px; font-weight: 600; padding-top: 5px; }
.steps p { margin-top: 6px; font-size: 15px; font-weight: 400; line-height: 1.45; max-width: 24ch; }

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #3f465f; margin-bottom: 10px; }



/* Plans */
.pricing { padding-top: 20px; padding-bottom: 28px; }
.center { text-align: center; }
.center p { margin-top: 10px; font-size: 16px; font-weight: 400; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; border: 0; padding: 0; min-width: 0; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; background: #fff;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background-color .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.featured { border-color: var(--blue); }
.plan h3 { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.price { font-size: 21px; font-weight: 400; color: #3f465f; margin-top: 2px; letter-spacing: -.02em; }
.price strong { color: var(--blue); font-weight: 600; }
.plan ul { margin: 22px 0 26px; display: grid; gap: 7px; color: var(--muted); font-weight: 400; }
.plan li, .checklist li { display: flex; align-items: center; gap: 12px; }
.plan li::before, .checklist li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4L14.5 3' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4L14.5 3' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan .btn { margin-top: auto; width: 100%; }
.plan .btn-outline { border-color: #4a5170; color: var(--ink); font-weight: 500; font-size: 16px; padding: 12px 18px; }
.plan .btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 500; border-radius: 99px; padding: 4px 14px; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(10, 70, 255, .8); }
.aside-note { text-align: center; font-size: 13.5px; margin-top: 14px; }

/* Closing banner */
.closing {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px;
  background: var(--blue); color: #fff; border-radius: 12px; padding: 30px 40px 30px 120px; margin: 8px 0 26px;
  isolation: isolate;
}
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 200px at var(--mx, 30%) -20%, rgba(255, 255, 255, .22), transparent 70%); transition: background .3s; }
.closing > div { flex: 1; }
.closing h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; font-weight: 600; }
.closing p { color: rgba(255, 255, 255, .92); margin-top: 6px; }
.burst { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.burst-left { position: absolute; left: 50px; top: 50%; translate: 0 -50%; }
.burst path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.closing.in .burst path { animation: draw .8s .4s var(--ease) forwards; }

/* Footer */
.site-footer { border-top: 1px solid #f0f1f5; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; padding-bottom: 26px; }
.site-footer .brand img { height: 24px; }
.footer-meta { display: flex; align-items: center; gap: 22px; font-size: 13.5px; }
.footer-meta p + p { border-left: 1px solid var(--line); padding-left: 22px; }
.custom-only { display: none; }
body.is-custom .custom-only { display: block; }

/* ========== Customize view ========== */
.view.entering { animation: view-in .55s var(--ease) both; }
.back { display: inline-flex; align-items: center; gap: 12px; margin: 30px 0 18px; text-decoration: none; color: #3f465f; font-size: 15px; }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.back:hover { color: var(--blue); }
.back:hover svg { transform: translateX(-4px); }
.custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px 40px; align-items: start; padding-bottom: 48px; }
.custom-main h1 { font-size: clamp(36px, 4.4vw, 54px); }
.intro { font-size: clamp(17px, 1.6vw, 21px); font-weight: 400; margin-top: 10px; }
.step-block { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.step-block:first-of-type { border-top: 0; margin-top: 18px; padding-top: 18px; }
.number-heading { display: flex; gap: 22px; align-items: baseline; font-size: 23px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 22px; }
.number-heading span { color: var(--blue); font-weight: 500; }

/* Plan picker */
.plans-pick { margin-top: 0; gap: 12px; }
.plans-pick .plan { cursor: pointer; padding: 22px 20px; }
.plans-pick .plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #b9c4e6; }
.plans-pick .plan h3 { font-size: 22px; }
.plans-pick .price { font-size: 18px; }
.plans-pick .plan ul { margin: 14px 0 0; gap: 4px; font-size: 14.5px; }
.plans-pick .plan input { position: absolute; opacity: 0; pointer-events: none; }
.plans-pick .plan .radio { position: absolute; right: 18px; top: 22px; }
.plans-pick .plan:has(input:checked) { border-color: var(--blue); background: #f5f8ff; box-shadow: 0 0 0 3px rgba(10, 70, 255, .08); }
.plans-pick .plan:has(input:focus-visible) { outline: 3px solid #ffac00; outline-offset: 3px; }

.radio { width: 21px; height: 21px; border-radius: 50%; border: 1.5px solid #5d6582; display: inline-grid; place-items: center; flex-shrink: 0; background: #fff; transition: border-color .2s; }
.radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .3s var(--ease); }
input:checked + .radio, input:checked ~ .radio { border-color: var(--blue); }
input:checked + .radio::after, input:checked ~ .radio::after { transform: scale(1); }

/* Pages segmented control */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-weight: 500; }
.pages-row { display: block; }
.pages-row legend { font-size: 17px; margin-bottom: 12px; }
.segmented { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); width: min(580px, 100%); border: 1px solid var(--line-strong); border-radius: 7px; padding: 0; overflow: hidden; isolation: isolate; }
.segmented label { position: relative; cursor: pointer; }
.segmented label + label { border-left: 1px solid var(--line); }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; height: 44px; font-size: 15px; white-space: nowrap; padding: 0 4px; transition: color .3s, background-color .3s; }
.segmented input:checked + span { color: #fff; font-weight: 600; }
.segmented input:focus-visible + span { outline: 3px solid #ffac00; outline-offset: -3px; border-radius: 6px; }
.seg-pill { position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: calc(100% / 7); background: var(--blue); border-radius: 6px; transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .45s var(--ease); }


.extras { margin-top: 28px; }
.extras legend { font-size: 17px; margin-bottom: 14px; }
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.design-block { margin-top: 28px; padding: 22px; border-radius: 10px; background: #f7f9ff; border: 1px dashed #c9d5f7; }
.design-block legend { float: left; width: 100%; font-size: 17px; }
.design-block > .muted { clear: both; margin: 4px 0 16px; }
.design-block.entering { animation: view-in .55s var(--ease) both; }
.design-block.entering .extra { animation: line-in .5s var(--ease) both; }
.design-block.entering .extra:nth-child(2) { animation-delay: .06s; }
.design-block.entering .extra:nth-child(3) { animation-delay: .12s; }
.design-block.entering .extra:nth-child(4) { animation-delay: .18s; }
.design-block.entering .extra:nth-child(5) { animation-delay: .24s; }
.design-block .extra { background: #fff; }
.design-block .extra-text small { margin-top: 4px; font-size: 13px; }
.extra { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 7px; padding: 16px 14px; cursor: pointer; font-size: 15px; line-height: 1.3; transition: border-color .25s, background-color .25s, transform .3s var(--ease); }
.extra:hover { border-color: #b9c4e6; transform: translateY(-2px); }
.extra input { position: absolute; opacity: 0; }
.extra:has(input:checked) { border-color: var(--blue); background: #f5f8ff; }
.extra:has(input:focus-visible) { outline: 3px solid #ffac00; outline-offset: 2px; }
.extra:has(input:disabled) { cursor: default; }
.extra:has(input:disabled):hover { transform: none; }
.check { width: 21px; height: 21px; border-radius: 4px; border: 1.5px solid #5d6582; flex-shrink: 0; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check::after { content: ""; width: 12px; height: 12px; background: #fff; transform: scale(0); transition: transform .3s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4L14.5 3' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4L14.5 3' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.extra input:checked + .check { background: var(--blue); border-color: var(--blue); }
.extra input:checked + .check::after { transform: scale(1); }
.extra-text strong, .extra-text small { display: block; margin-top: 8px; font-size: 15px; }
.extra-text small + strong { margin-top: 6px; }
.extra-text strong { color: var(--blue); font-weight: 600; }
.extra-text small { color: #9aa0b6; }
.muted { font-size: 14px; color: var(--muted); margin-top: 12px; font-weight: 300; }

.idea-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.idea label[for], .content-ready legend { display: block; font-size: 16px; font-weight: 500; margin-bottom: 10px; }
textarea, input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%; padding: 13px 16px; border: 1.5px solid #c3c9d9; border-radius: 6px; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 82px; }
textarea::placeholder { color: #6c7390; }
textarea:focus, input:not([type="radio"]):not([type="checkbox"]):focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 70, 255, .12); }
.radios { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-top: 10px; }
.radios label { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 17px; }
.radios input { position: absolute; opacity: 0; }
.radios input:focus-visible + .radio { outline: 3px solid #ffac00; outline-offset: 2px; }

/* Summary */
.summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  border: 1px solid #eceef4; border-radius: 12px; padding: 28px; background: #fff;
  box-shadow: 0 24px 50px -30px rgba(18, 26, 60, .35);
  animation: view-in .7s .15s var(--ease) both;
}
.summary-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.summary h2 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.badge { font-size: 13px; color: var(--blue); background: var(--blue-soft); border-radius: 99px; padding: 7px 14px; white-space: nowrap; }
.summary-lines { display: grid; gap: 14px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; color: var(--text); animation: line-in .45s var(--ease) both; }
.summary-line span:last-child { white-space: nowrap; font-weight: 500; }
.tag-note { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: #fff4dc; color: #8a5a00; font-size: 11.5px; font-style: normal; font-weight: 600; white-space: nowrap; vertical-align: 1px; }
.total { border-block: 1px solid var(--line); padding: 24px 0; margin: 24px 0; }
.total > p:first-child { color: var(--ink); font-size: 19px; font-weight: 500; }
.total strong { display: block; font-size: clamp(32px, 3.4vw, 40px); font-weight: 700; color: var(--blue); letter-spacing: -.035em; line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.total strong.bump { animation: bump .45s var(--ease); }
#required { font-size: 13.5px; margin-top: 10px; }
.checklist { display: grid; gap: 8px; color: #2f3550; font-weight: 400; }
.summary-notes { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.review { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 400; }
.review svg { width: 26px; height: 26px; fill: none; stroke: #4a5170; stroke-width: 1.4; stroke-linecap: round; flex-shrink: 0; }
.center-text { text-align: center; }
.pay-note { margin-top: 12px; font-size: 14px; text-align: center; }
.pay-note strong { color: var(--ink); font-weight: 600; }
.summary .btn { margin-top: 22px; padding: 16px; font-size: 17px; }
.summary > small { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.mobile-bar { display: none; }

/* ========== Proyectos reales ========== */
.projects { padding-top: 24px; padding-bottom: 64px; }
.project { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.project-copy h2 { font-size: clamp(34px, 4vw, 48px); }
.project-summary { margin-top: 14px; font-size: 17px; font-weight: 300; max-width: 46ch; }
.project-did { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; font-size: 13px; color: var(--blue); background: var(--blue-soft); border-radius: 99px; padding: 6px 12px; white-space: nowrap; }
.project .actions { margin-top: 30px; }

.project-preview { position: relative; perspective: 1600px; padding: 0 0 40px; }
.browser-frame {
  border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid #e6e8f0; box-shadow: 0 40px 80px -40px rgba(18, 26, 60, .45);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.js .project-preview[data-reveal] { transform: translateY(40px) rotateX(8deg); transform-origin: 50% 100%; }
.js .project-preview[data-reveal].in { transform: none; }
.project-preview:hover .browser-frame { transform: translateY(-6px); box-shadow: 0 50px 90px -40px rgba(18, 26, 60, .5); }
.browser-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: #f4f5f9; border-bottom: 1px solid #e6e8f0; }
.win-dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }
.browser-bar .url { flex: 1; max-width: 360px; margin: 0 auto; text-align: center; font-size: 12.5px; color: #525a78; background: #fff; border: 1px solid #e3e6ef; border-radius: 6px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(110deg, #f4f5f9 30%, #fbfbfd 50%, #f4f5f9 70%) 0 0 / 200% 100%; animation: shimmer 1.6s linear infinite; }
.live iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; transition: opacity .6s ease; }
.live.loaded { animation: none; }
.phone-frame {
  position: absolute; right: -18px; bottom: 0; width: 26%; min-width: 120px;
  border: 7px solid #111; border-radius: 26px; overflow: hidden; background: #111;
  box-shadow: 0 30px 50px -20px rgba(18, 26, 60, .55);
  transition: transform .7s var(--ease);
}
.phone-frame .live { aspect-ratio: 9 / 19; border-radius: 19px; }
.project-preview:hover .phone-frame { transform: translateY(-14px); }
@keyframes shimmer { to { background-position: -200% 0; } }


/* ========== Visor ========== */
.device-toggle { display: inline-flex; background: #e9ecf3; border-radius: 8px; padding: 3px; }
.device-toggle button { border: 0; background: transparent; padding: 6px 12px; border-radius: 6px; font-size: 13px; color: #4a5170; transition: background-color .2s, color .2s; }
.device-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #dfe4f2; border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== Revisión: proyecto ========== */
.project-facts { display: grid; gap: 18px; margin-top: 20px; }
.project-facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 4px; }
.project-facts dd { margin: 0; color: var(--text); font-size: 16px; max-width: 48ch; }
.project-facts .checklist { margin-top: 2px; }
.live { overscroll-behavior: none; }

/* ========== Para quién es ========== */
.audience { padding-bottom: 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.section-head p { max-width: 46ch; font-size: 16.5px; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.audience-card { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c9d6ff; }
.audience-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 18px; transition: background-color .3s, transform .4s var(--ease); }
.audience-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.audience-card:hover .audience-icon { background: var(--blue); transform: rotate(-6deg); }
.audience-card:hover .audience-icon svg { stroke: #fff; }
.audience-card h3 { font-size: 18px; }
.audience-who { font-size: 14px; margin-top: 4px; }
.audience-need { font-size: 15px; color: var(--text); margin: 14px 0 22px; }
.audience-need strong { font-weight: 600; }
.audience-card .btn { margin-top: auto; width: 100%; font-size: 14.5px; padding: 10px 14px; }
.audience-more { text-align: center; margin-top: 26px; font-size: 15.5px; color: var(--text); }
.audience-more a { color: var(--blue); font-weight: 600; text-decoration: none; }
.audience-more a:hover { text-decoration: underline; }
.aside-note a { color: var(--blue); font-weight: 500; }

/* ========== Preguntas frecuentes ========== */
.faq-section { padding-top: 40px; padding-bottom: 48px; }
.faq { display: grid; gap: 10px; max-width: 820px; margin: 26px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #c9d6ff; box-shadow: 0 10px 30px -22px rgba(18, 26, 60, .4); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 22px; font-weight: 400; line-height: 1; color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; font-size: 15.5px; animation: view-in .35s var(--ease) both; }
.faq details p strong { color: var(--ink); }

/* ========== Revisión: configurador ========== */
.suggest { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 14px 16px; border: 1.5px solid #c9d6ff; background: #f5f8ff; border-radius: 10px; animation: view-in .4s var(--ease) both; }
.suggest p { color: var(--text); font-size: 15px; }
.suggest .btn { flex-shrink: 0; padding: 9px 14px; font-size: 14px; }
.sub-option { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; cursor: pointer; animation: view-in .35s var(--ease) both; }
.sub-option input { position: absolute; opacity: 0; }
.sub-option input:checked + .check { background: var(--blue); border-color: var(--blue); }
.sub-option input:checked + .check::after { transform: scale(1); }
.sub-option input:focus-visible + .check { outline: 3px solid #ffac00; outline-offset: 2px; }
.sub-option em { color: var(--muted); font-style: normal; }
.content-ready { display: grid; gap: 18px; }
.content-ready fieldset legend { display: block; font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.help-block { margin-top: 18px; }
.help-block.entering { animation: view-in .5s var(--ease) both; }
.confirm { margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: #fff7e6; border: 1px solid #f3d38a; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.confirm p { color: #5b4407; font-size: 14.5px; }
.confirm div { display: flex; gap: 8px; }
.confirm .btn { padding: 8px 14px; font-size: 14px; }
.design-block { background: #fafbfe; border-style: solid; border-color: var(--line); }
.pay-note { margin: -8px 0 20px; font-size: 14px; color: var(--muted); }
.pay-note strong { color: var(--ink); }
.total strong.bump { animation: bump .2s ease; }

/* ========== Revisión: modal ========== */
.request-summary { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: #f6f7fb; border: 1px solid var(--line); }
.request-summary dl { margin: 0; display: grid; gap: 6px; }
.request-summary div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.request-summary dt { color: var(--muted); }
.request-summary dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }
.field-error { color: #b42318; font-size: 13.5px; margin-top: 6px; }
[aria-invalid="true"] { border-color: #d92d20 !important; }
.privacy { font-size: 13px; margin-top: 12px; color: var(--muted); }

/* ========== Dialog ========== */
dialog { width: min(540px, calc(100% - 32px)); padding: 36px; border: 0; border-radius: 16px; max-height: 90vh; overflow: auto; box-shadow: 0 40px 80px -30px rgba(10, 20, 60, .45); }
dialog[open] { animation: dialog-in .45s var(--ease); }
dialog::backdrop { background: rgba(15, 22, 50, .45); backdrop-filter: blur(5px); animation: fade .3s ease; }
dialog h2 { font-size: 30px; padding-right: 20px; }
dialog p { margin-top: 8px; }
dialog form { margin-top: 18px; }
dialog label { display: block; margin: 16px 0 8px; font-weight: 500; }
.close { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f2f4f8; font-size: 24px; line-height: 1; transition: background-color .2s, transform .3s var(--ease); }
.close:hover { background: #e6e9f1; transform: rotate(90deg); }
.notice { background: var(--blue-soft); border: 1px solid #dbe4ff; border-radius: 8px; padding: 14px 16px; font-size: 14px; color: #3f465f; margin: 20px 0; }
#form-status { font-size: 14px; margin-top: 12px; }
.dialog-actions { display: grid; gap: 10px; }
.wa-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ========== Reveal animations ========== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .plans [data-reveal] { transition-property: opacity, transform, box-shadow, border-color, background-color; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes art-in { from { opacity: 0; transform: translate3d(40px, 20px, 0) rotateY(-10deg); } to { opacity: 1; transform: none; } }
@keyframes art-in-up { from { opacity: 0; transform: translate3d(0, 70px, 0); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes view-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes line-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes bump { 40% { transform: scale(1.05); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

/* ========== Responsive ========== */
@media (max-width: 1180px) {
  .custom-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; }
  .summary { padding: 24px; }
  .summary h2 { font-size: 24px; }
  .total strong { font-size: 30px; }
  .plans-pick .plan { padding: 18px 14px; }
  .plans-pick .plan h3 { font-size: 20px; }
  .plans-pick .price { font-size: 16px; }
  .plans-pick .plan ul { font-size: 13.5px; }
  .plans-pick .plan li { gap: 8px; }
  .plans-pick .plan .radio { right: 14px; top: 18px; }
}

@media (max-width: 1100px) {
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
  .design-block { padding: 18px; }
  .pages-row { gap: 28px; }
}

@media (max-width: 960px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 1fr; gap: 40px; }
  .project-preview { max-width: 680px; width: 100%; margin-inline: auto; }
  :root { --gutter: 24px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .hero-art { max-width: 640px; width: 100%; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps p { max-width: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 26px; }
  .plans-pick { max-width: none; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .aside-note { text-align: center; }
  .closing { padding: 30px; flex-direction: column; align-items: flex-start; }
  .burst { display: none; }
  .custom-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  body.is-custom .mobile-bar { display: flex; }
  .mobile-bar { align-items: center; justify-content: space-between; gap: 16px;
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px;
    padding: 12px 12px 12px 18px; border-radius: 12px; background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line); box-shadow: 0 16px 40px -14px rgba(18, 26, 60, .35);
    transform: translateY(0); transition: transform .45s var(--ease), opacity .3s;
  }
  .mobile-bar.hide { transform: translateY(140%); opacity: 0; }
  .mobile-bar span { display: block; font-size: 12.5px; color: var(--muted); }
  .mobile-bar strong { font-size: 21px; color: var(--blue); letter-spacing: -.02em; }
  .mobile-bar .btn { padding: 11px 16px; font-size: 15px; }
  body.is-custom .site-footer { padding-bottom: 84px; }
}

@media (max-width: 760px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience { padding-bottom: 48px; }
  .projects { padding-bottom: 56px; }
  .project-preview { padding-bottom: 30px; }
  .phone-frame { right: -6px; width: 30%; border-width: 5px; border-radius: 20px; }
    .device-toggle { display: none; }
            :root { --gutter: 20px; --header-h: 64px; }
  .brand img { height: 26px; }
  .header-quote { display: none; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.9px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.9px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(18, 26, 60, .4);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s .45s;
  }
  .menu-open .main-nav { clip-path: inset(0 0 -40px 0); visibility: visible; transition: clip-path .45s var(--ease); }
  .main-nav a:not(.btn) { padding: 14px 0; font-size: 18px; border-bottom: 1px solid #f0f1f5; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-quote { display: inline-flex; margin-top: 16px; padding: 14px; font-size: 16px; }

  .hero { padding-top: 28px; gap: 40px; }
  .actions { margin-top: 30px; }
  .hero-art { aspect-ratio: 1 / .82; }
  .hero-aurea { width: 84%; }
  .hero-valentina { width: 56%; top: 26%; }
  .process { padding-bottom: 56px; }
  .plans-pick { grid-template-columns: 1fr; }
  .plans-pick .plan ul { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .pages-row { flex-direction: column; align-items: stretch; gap: 0; }
  .pages-row legend { float: none; margin-bottom: 12px; }
  .segmented { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .segmented label:nth-child(6) { border-left: 0; }
  .segmented label:nth-child(n+6) { border-top: 1px solid var(--line); }
  .segmented label:last-child { grid-column: span 2; }
  .segmented .seg-pill { display: none; }
  .segmented input:checked + span { background: var(--blue); }
  .suggest { flex-direction: column; align-items: flex-start; }
  .idea-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-meta p + p { border: 0; padding: 0; }
  dialog { padding: 30px 22px; }
}

@media (max-width: 420px) {
  .extras-grid { grid-template-columns: 1fr; }
  .plans-pick .plan ul { grid-template-columns: 1fr; }
  .actions .btn-primary { width: 100%; }
  .actions { justify-content: center; }
  .summary { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.footer-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

#main:focus { outline: none; }
