/* =========================================================================
   Scottys Websites — core stylesheet
   Palette: indigo ink / brand blue / violet / cool paper / lilac
   Type: Bricolage Grotesque (display) · Public Sans (body) · IBM Plex Mono (data)
   ========================================================================= */

:root {
  /* Color */
  --ink:        #0B0E2A;
  --ink-2:      #141833;
  --blue:       #171DCF;
  --blue-600:   #1219a8;
  --violet:     #5F4FD8;
  --paper:      #F7F8FC;
  --lilac:      #EEEBFA;
  --line:       #E2E4F0;
  --text:       #1C2030;
  --muted:      #5B6079;
  --muted-2:    #8488A8;
  --on-dark:    #EAECFA;
  --on-dark-mut:#A9AED4;
  --white:      #FFFFFF;
  --grad:       linear-gradient(120deg, var(--blue) 0%, var(--violet) 100%);
  --grad-soft:  linear-gradient(120deg, rgba(23,29,207,.10), rgba(95,79,216,.10));

  /* Type */
  --display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --body:    "Public Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --container: 1180px;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(11,14,42,.04), 0 12px 32px rgba(11,14,42,.08);
  --shadow-lg: 0 24px 64px rgba(11,14,42,.16);
  --ring:      0 0 0 3px rgba(95,79,216,.45);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; }
h1,h2,h3,h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0 0 1rem; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h1,.section--ink h2,.section--ink h3 { color: var(--white); }
.section--paper { background: var(--paper); }
.eyebrow {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--violet); opacity: .6; }
.section--ink .eyebrow { color: #B9AEFB; }
.section--ink .eyebrow::before { background: #B9AEFB; }

.h-xl { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 56ch; }
.section--ink .lead { color: var(--on-dark-mut); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.measure { max-width: 640px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(23,29,207,.30); }
.btn-primary:hover { box-shadow: 0 16px 30px rgba(23,29,207,.40); color:#fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.section--ink .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.section--ink .btn-ghost:hover { border-color: #fff; color:#fff; }
.btn-arrow svg { width: 18px; height: 18px; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 600; font-size: .97rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* ----- Hero ----- */
.hero { background:
    radial-gradient(900px 500px at 88% -10%, rgba(95,79,216,.16), transparent 60%),
    radial-gradient(700px 460px at -5% 0%, rgba(23,29,207,.10), transparent 55%),
    var(--white);
  padding: 72px 0 84px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; color: var(--muted); font-size: .9rem; }
.trust-strip .ti { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { width: 18px; height: 18px; color: var(--violet); }

/* ----- Build console (signature element) ----- */
.console {
  background: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08); overflow: hidden; font-family: var(--mono);
  position: relative;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.console-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.console-bar .title { margin-left: 10px; color: var(--on-dark-mut); font-size: .78rem; }
.console-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 318px; }
.console-code { padding: 18px 18px; font-size: .82rem; line-height: 1.85; color: #C8CBF0; border-right: 1px solid rgba(255,255,255,.08); }
.console-code .ln { white-space: pre-wrap; }
.console-code .k { color: #8E8BFF; }
.console-code .s { color: #6FE0B0; }
.console-code .c { color: #6B7099; }
.console-code .cursor { display:inline-block; width:8px; height:1.05em; background:#B9AEFB; vertical-align:-2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console-preview { padding: 16px; background: #0f1430; display: flex; flex-direction: column; gap: 10px; }
.cp-bar { height: 9px; border-radius: 4px; background: rgba(255,255,255,.10); }
.cp-hero { height: 64px; border-radius: 8px; background: var(--grad); opacity:0; transform: translateY(8px); }
.cp-row { display: flex; gap: 10px; }
.cp-card { flex:1; height: 46px; border-radius: 8px; background: rgba(255,255,255,.08); opacity:0; transform: translateY(8px); }
.cp-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); opacity:0; }
.cp-line.short { width: 56%; }
.reveal-in { animation: rise .5s ease forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ----- Logo / proof bar ----- */
.proofbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proofbar .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; padding: 22px 0; }
.proofbar .label { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); width: 100%; text-align: center; }
.proofbar .item { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--muted); opacity: .8; }

/* ----- Cards / grids ----- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d4d7ec; }
.card .num { font-family: var(--mono); font-size: .8rem; color: var(--violet); letter-spacing: .1em; }
.card h3 { font-size: 1.22rem; margin: 12px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-badge svg { width: 24px; height: 24px; color: var(--blue); }

/* ----- Steps ----- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step .num { display:inline-flex; font-family: var(--mono); color: var(--violet); font-size:.82rem; letter-spacing:.12em; }

/* ----- Pricing ----- */
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan.featured { border: 2px solid transparent; background:
    linear-gradient(var(--white),var(--white)) padding-box,
    var(--grad) border-box; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan .tier { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.06em; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan .price { font-family: var(--display); font-size: 2.5rem; color: var(--ink); margin: 12px 0 2px; line-height:1; }
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 600; font-family: var(--body); }
.plan .plan-desc { color: var(--muted); font-size: .92rem; min-height: 42px; margin: 6px 0 16px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .92rem; color: var(--text); align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--violet); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; justify-content: center; }

.addon { display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap;
  background: var(--lilac); border:1px solid #ddd6f7; border-radius: var(--radius); padding: 22px 26px; margin-top: 22px; }
.addon .price { font-family: var(--display); font-size:1.5rem; color: var(--ink); }

/* ----- Samples ----- */
.sample-card { border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; background:#fff; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.sample-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.sample-thumb { aspect-ratio: 16/10; position: relative; display:flex; align-items:flex-end; padding: 16px; }
.sample-thumb .tag { font-family: var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; background: rgba(255,255,255,.92); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.sample-body { padding: 20px 22px; }
.sample-body h3 { font-size: 1.12rem; }
.sample-body p { color: var(--muted); font-size: .93rem; margin: 6px 0 0; }

/* ----- Testimonials ----- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display:flex; flex-direction:column; gap:16px; }
.quote .stars { color:#F5A623; letter-spacing:2px; font-size: .95rem; }
.quote blockquote { margin:0; font-size: 1.05rem; color: var(--text); line-height:1.55; }
.quote .who { display:flex; align-items:center; gap:12px; }
.quote .avatar { width:40px; height:40px; border-radius:50%; background: var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--display); }
.quote .who b { display:block; font-size:.95rem; color:var(--ink); }
.quote .who span { font-size:.82rem; color: var(--muted); }

/* ----- Stats ----- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat .n { font-family: var(--display); font-size: clamp(2rem,4vw,2.8rem); background: var(--grad); -webkit-background-clip:text; background-clip:text; color: transparent; line-height:1; }
.stat .l { color: var(--on-dark-mut); font-size:.92rem; margin-top: 8px; }

/* ----- FAQ ----- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 4px; font-family: var(--display); font-weight:700; font-size: 1.1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .plus { flex:none; width:26px; height:26px; border-radius:50%; border:1.5px solid var(--line); position:relative; transition:.2s; }
.faq summary .plus::before,.faq summary .plus::after { content:""; position:absolute; background: var(--violet); inset:0; margin:auto; }
.faq summary .plus::before { width:11px; height:2px; }
.faq summary .plus::after { width:2px; height:11px; transition:.2s; }
.faq details[open] summary .plus { border-color: var(--violet); }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity:0; }
.faq .answer { padding: 0 4px 22px; color: var(--muted); }
.faq .answer p { margin:0; }

/* ----- CTA band ----- */
.cta-band { background: var(--grad); border-radius: 24px; padding: 56px 48px; color:#fff; text-align:center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color:#fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 auto 26px; }
.cta-band .btn-primary { background:#fff; color: var(--blue); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.cta-band .btn-ghost { color:#fff; border-color: rgba(255,255,255,.5); }

/* ----- Forms ----- */
.form-wrap { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:700; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(95,79,216,.15); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: 4px; }
.form-msg { display:none; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form-msg.ok { display:block; background:#e7f8ee; color:#157347; border:1px solid #b6e6c9; }
.form-msg.err { display:block; background:#fdecec; color:#b42318; border:1px solid #f5c2c0; }

/* contact split */
.contact-grid { display:grid; grid-template-columns: 1fr 1.3fr; gap: 44px; align-items:start; }
.contact-info .ci { display:flex; gap:14px; align-items:flex-start; margin-bottom: 22px; }
.contact-info .ci .icon-badge { margin:0; flex:none; }
.contact-info .ci b { display:block; color: var(--ink); }
.contact-info .ci a, .contact-info .ci span { color: var(--muted); }

/* ----- Footer ----- */
.site-footer { background: var(--ink); color: var(--on-dark-mut); padding: 60px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color:#fff; font-family: var(--body); font-size: .82rem; letter-spacing:.14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: var(--on-dark-mut); display:block; padding: 5px 0; font-size: .95rem; }
.site-footer a:hover { color:#fff; text-decoration:none; }
.site-footer .brand { color:#fff; margin-bottom: 14px; }
.site-footer .brand b { -webkit-text-fill-color: transparent; }
.footer-about p { font-size:.93rem; color: var(--on-dark-mut); max-width: 34ch; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.85rem; }

/* ----- Page hero (interior) ----- */
.page-hero { padding: 64px 0 40px; background:
    radial-gradient(700px 380px at 85% -20%, rgba(95,79,216,.14), transparent 60%), var(--white); }
.page-hero h1 { margin-bottom: 14px; }
.breadcrumbs { font-family: var(--mono); font-size:.78rem; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--violet); }

/* ----- Utilities ----- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:10px 16px; border-radius:0 0 10px 0; z-index:100; }
.skip-link:focus { left:0; }

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .plan.featured { transform: none; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background:#fff; border-bottom:1px solid var(--line); padding: 16px 24px; gap: 6px; box-shadow: var(--shadow); }
  .site-header.open .nav-links a { padding: 10px 0; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .console-body { grid-template-columns: 1fr; }
  .console-code { border-right:none; border-bottom:1px solid rgba(255,255,255,.08); }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cp-hero, .cp-card, .cp-line { opacity: 1 !important; transform: none !important; }
  .cursor { display: none; }
}

/* =========================================================================
   EXPANSION: dropdown nav, services, brief form, tables, extras
   ========================================================================= */

/* ----- Dropdown nav ----- */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; background: none; border: none; font: inherit; color: var(--text); font-weight: 600; font-size: .97rem; padding: 0; }
.dropdown-toggle:hover { color: var(--blue); }
.dropdown-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 290px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 60;
}
.has-dropdown:hover .dropdown-menu, .has-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 13px; border-radius: 10px; color: var(--text); }
.dropdown-menu a:hover { background: var(--lilac); text-decoration: none; }
.dropdown-menu a .di { width: 34px; height: 34px; border-radius: 9px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.dropdown-menu a .di svg { width: 18px; height: 18px; color: var(--blue); }
.dropdown-menu a b { display: block; font-size: .92rem; color: var(--ink); font-family: var(--body); }
.dropdown-menu a span { display: block; font-size: .8rem; color: var(--muted); }

/* ----- Services overview cards (larger) ----- */
.svc-card { display: flex; flex-direction: column; height: 100%; }
.svc-card .icon-badge { width: 54px; height: 54px; }
.svc-card .icon-badge svg { width: 28px; height: 28px; }
.svc-card ul { list-style: none; margin: 14px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.svc-card li { display: flex; gap: 9px; font-size: .92rem; color: var(--muted); align-items: flex-start; }
.svc-card li svg { width: 16px; height: 16px; color: var(--violet); flex: none; margin-top: 3px; }
.svc-card .card-link { margin-top: auto; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.svc-card .card-link svg { width: 16px; height: 16px; }

/* ----- Alternating feature rows (service pages) ----- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .fr-media { order: 2; }
.fr-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.fr-text h3 { font-size: clamp(1.4rem,2.4vw,1.9rem); margin-bottom: 12px; }
.fr-text ul { list-style: none; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.fr-text li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.fr-text li svg { width: 18px; height: 18px; color: var(--violet); flex: none; margin-top: 4px; }
@media(max-width:860px){ .feature-row { grid-template-columns: 1fr; gap: 28px; } .feature-row.reverse .fr-media { order: 0; } }

/* ----- Comparison table ----- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: .94rem; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
table.cmp thead th { font-family: var(--display); font-size: 1.05rem; color: var(--ink); background: var(--paper); }
table.cmp thead th.feat { background: var(--grad); color: #fff; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp .y { color: var(--violet); font-weight: 700; }
table.cmp .n { color: var(--muted-2); }
table.cmp .price-row td { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }

/* ----- Brief form (Geekworks-style multi-fieldset) ----- */
.brief { max-width: 820px; margin: 0 auto; }
.brief .fs { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 10px; margin-bottom: 22px; background: #fff; box-shadow: var(--shadow); }
.brief legend { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); padding: 0 10px; display: inline-flex; align-items: center; gap: 10px; }
.brief legend .num { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--body); font-size: .82rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.brief .field.full { grid-column: 1 / -1; }
.brief .field { margin-bottom: 18px; }
.brief .hint { display: block; font-size: .82rem; color: var(--muted-2); margin: -2px 0 7px; }
.brief .req { color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: .9rem; cursor: pointer; transition: .15s; user-select: none; }
.chips label:hover { border-color: var(--violet); }
.chips input { accent-color: var(--blue); width: 16px; height: 16px; }
.chips input:checked + span, .chips label:has(input:checked) { color: var(--blue); }
.chips label:has(input:checked) { border-color: var(--blue); background: var(--lilac); }
.color-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.color-row input[type=color] { width: 100%; height: 46px; padding: 4px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.submit-row { text-align: center; margin-top: 6px; }
.consent { font-size: .84rem; color: var(--muted-2); margin: 14px 0 0; }
.fs-success { display: none; background: #e7f8ee; color: #157347; border: 1px solid #b6e6c9; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 18px; font-weight: 600; }
.fs-form-error { display: none; background: #fdecec; color: #b42318; border: 1px solid #f5c2c0; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 18px; font-weight: 600; }
.fs-err { display: block; color: #b42318; font-size: .82rem; margin-top: 5px; min-height: 1px; }
[aria-invalid="true"] { border-color: #e0796f !important; box-shadow: 0 0 0 3px rgba(224,121,111,.15) !important; }

/* ----- Stat band (light) ----- */
.statlight { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; text-align: center; }
.statlight .n { font-family: var(--display); font-size: clamp(1.8rem,3.4vw,2.6rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statlight .l { color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media(max-width:720px){ .statlight { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ----- Pill list / badges ----- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--lilac); color: var(--blue-600); border: 1px solid #ddd6f7; border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 600; }

/* ----- Area/keyword link cloud (SEO internal links) ----- */
.linkcloud { display: flex; flex-wrap: wrap; gap: 10px; }
.linkcloud a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; color: var(--text); }
.linkcloud a:hover { border-color: var(--violet); color: var(--violet); text-decoration: none; }

/* ----- Two-col prose ----- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem,2.6vw,2rem); margin: 36px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 26px 0 10px; }
.prose p { color: var(--text); }
.prose ul { margin: 0 0 18px 22px; list-style: disc; }
.prose li { margin-bottom: 8px; }

/* ----- Mobile dropdown ----- */
@media (max-width: 720px) {
  .has-dropdown .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 0 0 0 14px; min-width: 0; display: none; }
  .has-dropdown.open .dropdown-menu { display: block; }
  .has-dropdown:hover .dropdown-menu { transform: none; }
  .dropdown-menu a { padding: 8px 0; }
  .dropdown-menu a .di { display: none; }
  .fgrid, .color-row { grid-template-columns: 1fr; }
}
