/* Manrope (SIL Open Font License), self-hosted for speed */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}
/* Fallback sized to match Manrope so text doesn't jump when the font arrives */
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 102%; descent-override: 29%; line-gap-override: 0%; }

/* Huenique Electrical — site styles
   Brand: the logo's electric blue on near-black. */

:root {
  --ink: #06090d;          /* logo background */
  --ink-2: #0d141c;
  --ink-3: #15202b;
  --blue: #2bb8ef;         /* logo blue — use on dark backgrounds */
  --blue-deep: #086a98;    /* accessible blue for text on white */
  --blue-soft: #e6f6fd;
  --paper: #ffffff;
  --paper-2: #f4f7f9;
  --text: #16202a;
  --muted: #566573;
  --line: #e1e7ec;
  --on-dark: #e9f0f5;
  --on-dark-muted: #9fb0bf;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(6, 9, 13, .06), 0 8px 24px rgba(6, 9, 13, .08);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);

  --font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--ink); }
.btn-primary:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- top bar & header */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar p { margin: 0; }
.topbar-contact { display: flex; gap: 20px; }
.topbar a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--blue); }
@media (max-width: 860px) { .topbar-areas { display: none; } .topbar-inner { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand-logo { width: 190px; height: auto; mix-blend-mode: lighten; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 12px; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); }
.sub-toggle { background: none; border: 0; color: var(--on-dark-muted); padding: 6px; margin-left: -8px; cursor: pointer; display: flex; }
.sub-toggle svg { width: 12px; height: 8px; }
.sub-nav {
  position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: 10px;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.sub-nav a { display: block; padding: 9px 12px; color: var(--on-dark); text-decoration: none; border-radius: 8px; font-size: .93rem; font-weight: 500; }
.sub-nav a:hover { background: rgba(43,184,239,.12); color: var(--blue); }
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav, .has-sub.open .sub-nav { opacity: 1; visibility: visible; transform: none; }
.nav-cta { padding: .7em 1.25em; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; content: ""; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -7px; left: 0; right: 0; }
.nav-toggle-bars::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .brand-logo { width: 160px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--ink); padding: 12px var(--gutter) 24px; border-bottom: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - 76px); overflow-y: auto; display: none;
  }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-link { flex: 1; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .sub-toggle { margin: 0; padding: 12px; }
  .sub-nav { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: transparent; border: 0; padding: 4px 0 8px 12px; }
  .has-sub:hover .sub-nav { display: none; }
  .has-sub.open .sub-nav { display: block; }
}

/* ---------- sections */
.section { padding: var(--section) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 12px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-dark .lead { color: var(--on-dark-muted); }

/* ---------- hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,9,13,.94) 0%, rgba(6,9,13,.78) 45%, rgba(6,9,13,.2) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(72px, 12vw, 150px); padding-bottom: clamp(72px, 12vw, 150px); max-width: 760px; margin-left: 0; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--blue); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #c9d6e0; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: #dbe6ee; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
@media (max-width: 720px) { .hero::after { background: linear-gradient(180deg, rgba(6,9,13,.75), rgba(6,9,13,.92)); } }

/* page hero (inner pages) */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero .hero-media img { opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,9,13,.95), rgba(6,9,13,.55)); }
.page-hero-inner { position: relative; z-index: 1; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); max-width: 800px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero p { color: #c9d6e0; font-size: 1.12rem; max-width: 640px; }
.breadcrumbs { font-size: .85rem; margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }

/* ---------- trust strip */
.trust { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid rgba(255,255,255,.06); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.07); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item svg { width: 30px; height: 30px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; color: #fff; font-size: .98rem; }
.trust-item span { font-size: .87rem; color: var(--on-dark-muted); line-height: 1.45; display: block; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(3) { border-left: 0; padding-left: 0; } .trust-item { border-top: 1px solid rgba(255,255,255,.07); } .trust-item:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } .trust-item { border-left: 0; padding-left: 0; } .trust-item:nth-child(2) { border-top: 1px solid rgba(255,255,255,.07); } }

/* ---------- service cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.service-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.service-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); position: relative; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-media.graphic { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #17435a, var(--ink) 70%); }
.service-card-media.graphic svg { width: 38%; height: auto; color: var(--blue); }
.service-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.service-card .price-tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--blue-deep); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start; }
.more { font-weight: 700; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 6px; }
.more::after { content: "→"; transition: transform .2s; }
.service-card:hover .more::after { transform: translateX(4px); }

/* ---------- split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split-media .badge {
  position: absolute; right: -14px; bottom: 28px; background: var(--blue); color: var(--ink); padding: 16px 20px; border-radius: var(--radius-sm);
  font-weight: 800; line-height: 1.2; box-shadow: var(--shadow); max-width: 220px;
}
.split-media .badge small { display: block; font-weight: 600; font-size: .8rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } .split-media .badge { right: 12px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 560px) { .ticks.two { grid-template-columns: 1fr; } }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23086a98' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section-dark .ticks li::before { background-color: rgba(43,184,239,.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232bb8ef' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.section-dark .ticks li { color: var(--on-dark); }

/* ---------- prices */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 28px; }
.price-card h3 { font-size: 1.05rem; color: var(--on-dark); font-weight: 600; margin-bottom: 10px; }
.price-card .amount { font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.price-card .amount small { font-size: .95rem; color: var(--on-dark-muted); font-weight: 600; letter-spacing: 0; }
.price-card p { font-size: .92rem; margin: 12px 0 16px; }
.price-card a { color: var(--blue); font-weight: 700; text-decoration: none; }
.price-note { margin-top: 20px; font-size: .88rem; }

/* ---------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--ink-3); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; font-size: .84rem; font-weight: 600; color: #fff; line-height: 1.35;
  background: linear-gradient(transparent, rgba(6,9,13,.88));
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; } .gallery figure.wide { grid-column: span 2; } }

/* ---------- founder */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.founder img { border-radius: var(--radius); width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.founder blockquote { margin: 0 0 1.2em; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; font-weight: 600; color: var(--ink); border-left: 4px solid var(--blue); padding-left: 22px; }
.founder cite { display: block; font-style: normal; font-weight: 700; color: var(--ink); }
.founder cite span { display: block; color: var(--muted); font-weight: 500; font-size: .92rem; }
.quals { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0; }
.quals li { font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 380px; } }

/* ---------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.steps li::before { content: "0" counter(step); display: block; font-weight: 800; font-size: 1.6rem; color: var(--blue-deep); margin-bottom: 10px; letter-spacing: -0.02em; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; }
.section-dark .areas li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: var(--on-dark); }

/* ---------- FAQ accordion */
.faq-list { display: grid; gap: 12px; }
details.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative; font-size: 1.02rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600;
}
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding: 0 22px 20px; color: var(--muted); }
details.faq > div > :last-child { margin-bottom: 0; }

/* ---------- CTA band + form */
.cta-band { background: linear-gradient(120deg, var(--ink) 0%, #0b2433 100%); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3d1dc; }
.contact-methods { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-methods a, .contact-methods div { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.08rem; }
.contact-methods small { display: block; font-weight: 500; font-size: .82rem; color: var(--on-dark-muted); }
.contact-methods .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(43,184,239,.14); display: grid; place-items: center; flex-shrink: 0; }
.contact-methods svg { width: 22px; height: 22px; color: var(--blue); }

.form-card { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.form-card h3 { margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-deep); background: #fff; box-shadow: 0 0 0 3px rgba(43,184,239,.2); }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-card .btn { width: 100%; padding: 1em; }
.form-small { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- article (service pages) */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr; } }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #2c3a47; }
.prose img { border-radius: var(--radius); margin: 1.8em 0; }
.prose .callout { background: var(--blue-soft); border-left: 4px solid var(--blue-deep); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.6em 0; }
.prose .callout p:last-child { margin: 0; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.2em 0 1.6em; }
@media (max-width: 560px) { .codes { grid-template-columns: 1fr; } }
.codes div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.codes strong { display: block; color: var(--ink); }
.codes span { font-size: .93rem; color: var(--muted); }
.codes .c1 { border-top: 4px solid #d93a3a; } .codes .c2 { border-top: 4px solid #e8862a; } .codes .c3 { border-top: 4px solid #3a8fd9; } .codes .fi { border-top: 4px solid #7c5cd6; }

.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.side-card.dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.side-card.dark h3 { color: #fff; }
.side-card.dark p { color: var(--on-dark-muted); font-size: .95rem; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.side-card li:last-child a { border-bottom: 0; }
.side-card li a:hover, .side-card li a[aria-current="page"] { color: var(--blue-deep); }
.side-price { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; margin: 6px 0 4px; }
.side-price small { font-size: .9rem; color: var(--on-dark-muted); font-weight: 600; }
@media (max-width: 980px) { .sidebar { position: static; } }

/* ---------- partner (our network) */
.partner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } }

/* ---------- footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: 64px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-logo { width: 210px; margin-bottom: 16px; }
.footer-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links, .footer-social { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-weight: 700; }
.footer-nap { line-height: 1.8; }
.footer-nap strong { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; padding-bottom: 28px; font-size: .82rem; }
.footer-legal p { margin: 0; }

/* ---------- mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(6,9,13,.97); border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-cta .btn { padding: .8em .6em; font-size: .92rem; }
  body { padding-bottom: 72px; }
}

/* ---------- utilities */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.muted { color: var(--muted); }
[id] { scroll-margin-top: 96px; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }

/* ---------- reviews */
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews-head h2 { margin: 0; }
.rating-summary { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; text-decoration: none; color: var(--text); }
.rating-summary .rating-score { font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
.rating-summary div span:last-child { display: block; font-size: .88rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
a.rating-summary:hover { border-color: var(--blue-deep); color: var(--text); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review-card blockquote { margin: 0; flex: 1; color: var(--text); font-size: 1rem; line-height: 1.6; }
.review-card figcaption strong { display: block; color: var(--ink); }
.review-card figcaption span { font-size: .82rem; color: var(--muted); }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.hero-rating:hover { background: rgba(255,255,255,.14); color: #fff; }
.side-rating { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.side-rating strong { font-size: 2rem; color: var(--ink); line-height: 1; }
.side-rating span:last-child { display: block; font-size: .85rem; color: var(--muted); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review-job { font-size: .75rem; font-weight: 700; color: var(--blue-deep); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; }
.review-masonry { columns: 3 300px; column-gap: 20px; }
.review-masonry .review-card { break-inside: avoid; margin-bottom: 20px; }
.page-hero .btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }

/* ---------- app page */
.app-hero { background: radial-gradient(circle at 80% 30%, #12324a 0%, var(--ink) 60%); }
.app-hero::after { display: none; }
.app-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.app-hero .hero-inner { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
@media (max-width: 900px) { .app-hero-grid { grid-template-columns: 1fr; } .app-hero .hero-inner { padding-bottom: 0; } }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.store-badges li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 700; line-height: 1.15; }
.store-badges svg { width: 26px; height: 26px; }
.store-badges small { display: block; font-size: .7rem; font-weight: 500; color: var(--on-dark-muted); }
.phone { width: 240px; aspect-ratio: 390 / 760; border-radius: 34px; background: #0b0f14; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #2a3440; flex-shrink: 0; }
.phone-screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #eef1f6; }
.phone-screen img { width: 100%; height: auto; }
.phone-screen.trim img { margin-top: -24.9%; } /* hides the 'development build' banner + header on those screenshots */
.phone-stack { position: relative; height: 520px; }
.phone-stack .phone-front { position: absolute; right: 70px; top: 20px; z-index: 2; }
.phone-stack .phone-back { position: absolute; right: 0; top: 70px; transform: rotate(6deg); opacity: .55; }
@media (max-width: 900px) { .phone-stack { height: 500px; margin: 24px auto 0; width: 300px; } .phone-stack .phone-front { right: 50px; } }
@media (max-width: 400px) { .phone-stack .phone-back { display: none; } .phone-stack .phone-front { right: 20px; } }
.phone-row { display: flex; gap: 24px; justify-content: center; }
.phone-row .phone:last-child { margin-top: 48px; }
@media (max-width: 560px) { .phone-row .phone { width: 46%; border-radius: 24px; padding: 6px; } .phone-row .phone-screen { border-radius: 19px; } }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature h3 { margin: 10px 0 6px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature-icon { font-size: 1.6rem; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); }
.feature.roadmap { border-style: dashed; }
.soon { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a5a00; background: #fff3d6; padding: 4px 10px; border-radius: 999px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .plan-grid { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.plan .ticks { flex: 1; }
.plan-pro { border: 2px solid var(--blue-deep); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 32px; background: var(--blue); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan-price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.plan-price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .app-page .mobile-cta { display: none; } body.app-page { padding-bottom: 0; } }
