:root {
  --ink: #1b1530;
  --ink-soft: #4a4360;
  --paper: #fbf7f1;
  --card: #ffffff;
  --line: #e8e1d6;
  --jac: #6a4cc2;
  --jac-dark: #4d3596;
  --jac-tint: #efe9fb;
  --sun: #f5b83d;
  --sun-tint: #fff3d6;
  --green: #128c4a;
  --wa: #1fa855;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27, 21, 48, .06), 0 8px 24px rgba(27, 21, 48, .07);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 76px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jac-dark); }
a:hover { color: var(--jac); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--jac-dark); background: var(--jac-tint); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.25rem; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--jac); color: #fff; box-shadow: 0 6px 18px rgba(106, 76, 194, .3); }
.btn-primary:hover { background: var(--jac-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #eaa71f; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 241, .92);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--jac); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .8rem .25rem; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav .btn { margin-top: 1rem; width: 100%; border-bottom: 0; color: #fff; }

/* Hero */
.hero { padding: 2.5rem 0 3rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(106, 76, 194, .28), rgba(106, 76, 194, 0) 65%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
.hero h1 em { font-style: normal; color: var(--jac); background: linear-gradient(transparent 62%, var(--sun-tint) 62%); }
.trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; color: var(--ink-soft); font-size: .98rem; }
.trust li { display: flex; gap: .55rem; align-items: flex-start; }
.trust svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }

/* Phone mock-up */
.phone {
  width: min(300px, 82vw); margin-inline: auto; background: var(--ink); border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 60px rgba(27, 21, 48, .25); transform: rotate(2deg);
}
.phone-screen { background: #fff; border-radius: 28px; overflow: hidden; }
.mock-top { background: linear-gradient(160deg, var(--jac) 0%, var(--jac-dark) 100%); color: #fff; padding: 22px 18px 20px; }
.mock-top small { opacity: .8; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.mock-top strong { display: block; font-size: 1.25rem; line-height: 1.2; margin: .3rem 0 .9rem; }
.mock-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-btn { border-radius: 10px; padding: 9px 6px; text-align: center; font-size: .78rem; font-weight: 700; }
.mock-call { background: var(--sun); color: var(--ink); }
.mock-wa { background: var(--wa); color: #fff; }
.mock-body { padding: 16px 18px 20px; display: grid; gap: 10px; }
.mock-line { height: 9px; border-radius: 6px; background: #eee9f7; }
.mock-line.short { width: 60%; }
.mock-form { border: 1.5px dashed #d8cff0; border-radius: 12px; padding: 12px; display: grid; gap: 7px; }
.mock-form span { font-size: .72rem; font-weight: 700; color: var(--jac-dark); }
.mock-input { height: 22px; border-radius: 6px; background: #f6f3fc; }
.mock-send { height: 28px; border-radius: 8px; background: var(--jac); }

/* Sections */
section { padding: 3.5rem 0; }
.section-head { margin-bottom: 2rem; }
.alt { background: #fff; border-block: 1px solid var(--line); }
.grid { display: grid; gap: 1.1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.alt .card { background: var(--paper); box-shadow: none; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--jac-tint); color: var(--jac-dark); margin-bottom: 1rem; }
.icon svg { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }

.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.includes li { display: flex; gap: .7rem; align-items: flex-start; }
.includes svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 2px; }
.includes-box { margin-top: 2rem; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.75rem; }
.includes-box h3 { color: var(--sun); }
.includes-box .includes svg { color: var(--sun); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4.4rem; }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 1.2rem; top: 1.2rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); font-weight: 800;
}
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.guarantee {
  margin-top: 2rem;
  background: var(--sun-tint);
  border: 2px solid #f1d9a0;
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.guarantee h3 { margin-bottom: .9rem; }

/* Pricing */
.price-grid { display: grid; gap: 1.1rem; }
.price-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: relative; }
.price-card.featured { border: 2px solid var(--jac); }
.tag { position: absolute; top: -13px; left: 1.4rem; background: var(--jac); color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.price-card h3 { margin-bottom: .2rem; }
.price-card .for { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: .35rem; }
.price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.price-note { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.price-card .includes { margin-bottom: 1.4rem; font-size: .98rem; }
.price-card .btn { margin-top: auto; }
.price-card.fix { background: var(--sun-tint); border-color: #f1d9a0; }

.subhead { margin: 3rem 0 1rem; font-size: 1.4rem; }
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 700; }
.price-table th span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .92rem; margin-top: .15rem; }
.price-table td { text-align: right; white-space: nowrap; font-weight: 800; }
.monthly { display: grid; gap: 1.1rem; }
.pay-box { margin-top: 2rem; display: grid; gap: 1rem; background: var(--jac-tint); border-radius: var(--radius); padding: 1.5rem; }
.pay-box p { margin: 0; }
.small { font-size: .92rem; color: var(--ink-soft); }

/* Example */
.example { display: grid; gap: 2rem; align-items: center; }
.example figure { margin: 0; }
.example-frame { width: min(290px, 80vw); margin-inline: auto; background: var(--ink); padding: 10px; border-radius: 34px; box-shadow: 0 24px 50px rgba(27, 21, 48, .22); }
.example-frame img { border-radius: 25px; }
.example figcaption { text-align: center; font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }
.label-example { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .8rem; padding: .2rem .6rem; border-radius: 6px; margin-bottom: .75rem; letter-spacing: .03em; text-transform: uppercase; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.25rem; }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .85rem; font-size: 1.5rem; color: var(--jac); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; gap: 2rem; }
.contact-cards { display: grid; gap: .9rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); }
.contact-card:hover { border-color: var(--jac); color: var(--ink); }
.contact-card .icon { margin: 0; flex: none; }
.contact-card.wa .icon { background: #e3f6ea; color: var(--wa); }
.contact-card.call .icon { background: var(--sun-tint); color: #a86b00; }
.contact-card strong { display: block; }
.contact-card span { color: var(--ink-soft); font-size: .95rem; word-break: break-word; }

form.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; width: 100%; padding: .8rem .9rem; border: 1.5px solid #d6cec2; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--jac); box-shadow: 0 0 0 3px rgba(106, 76, 194, .2); }
.two { display: grid; gap: 1rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.choice { display: flex; flex-wrap: wrap; gap: .75rem; }
.choice label {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 48px; padding: .4rem 1rem; border: 1.5px solid #d6cec2;
  border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer;
}
.choice input { width: 20px; height: 20px; min-height: 0; accent-color: var(--jac); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--jac); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink); color: #d9d3ea; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.75rem; }
.site-footer h2 { font-size: 1rem; color: var(--sun); margin-bottom: .6rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.25rem; font-size: .88rem; color: #aaa2c2; }
.footer-email { font-size: .85em; color: #aaa2c2; }

/* Sticky mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(27, 21, 48, .96); box-shadow: 0 -6px 20px rgba(0, 0, 0, .15);
}
.action-bar a { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: .95rem; }
.action-bar svg { width: 20px; height: 20px; }
.action-bar .call { background: var(--sun); color: var(--ink); }
.action-bar .wa { background: var(--wa); color: #fff; }
.action-bar .quote { background: var(--jac); color: #fff; }

/* Legal pages */
.legal { padding: 2.5rem 0 4rem; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }

@media (min-width: 620px) {
  .two { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .monthly { grid-template-columns: 1fr 1fr; }
  .pay-box { grid-template-columns: 1fr auto; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 1.4rem; }
  .site-nav a { border: 0; padding: .4rem 0; font-size: .97rem; }
  .site-nav .btn { margin: 0; width: auto; padding: .55rem 1rem; min-height: 42px; }
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.25fr .75fr; }
  section { padding: 5rem 0; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { padding: 4rem 1.2rem 1.3rem; }
  .price-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
  .example { grid-template-columns: .8fr 1.2fr; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
  .phone { transform: none; }
}
