/* Websites New England */
:root {
  --navy: #14213d;
  --navy-deep: #0e1830;
  --orange: #e4741a;
  --orange-dark: #c45f0d;
  --ink: #1f2933;
  --body: #3d4852;
  --muted: #6b7680;
  --line: #d9d4c8;
  --line-soft: #e8e4da;
  --paper: #fbfaf6;
  --paper-alt: #f2eee5;
  --white: #fff;
  --green: #2f7d4f;
  --red: #b4322a;
  --promo-bg: #fdf1e3;
  --promo-ink: #8a4a12;
  --r: 4px;
  --head: "Barlow Condensed", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --text: "Source Sans 3", "Source Sans Pro", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Georgia, serif;
  --wrap: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--text); font-size: 18px; line-height: 1.55; color: var(--body); background: var(--paper); }
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
figure { margin: 0; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2 { font-family: var(--head); text-transform: uppercase; line-height: .98; letter-spacing: .005em; color: var(--ink); margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--orange); margin-top: .45em; }
h3 { font-family: var(--text); font-weight: 700; font-size: 1.35rem; color: var(--ink); margin: 0 0 .4em; line-height: 1.25; }
h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.container { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.container.narrow { max-width: 800px; }
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--navy-deep); color: #e6e9ef; }
.section-dark h2 { color: #fff; }
.section-title { max-width: 720px; margin-bottom: 2.4rem; }
.section-title p { font-size: 1.12rem; }
.section-dark .section-title p { color: #b9c2d0; }
.kicker { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: .95rem; color: var(--orange-dark); margin-bottom: .6rem; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.4rem; min-height: 46px; border: 2px solid transparent; border-radius: var(--r); font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.hero .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.15rem; }
.btn-sm { padding: .5rem 1rem; min-height: 38px; font-size: .95rem; }
.btn-block { width: 100%; }
.text-link { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.text-link:hover { color: var(--orange-dark); }
.text-link-light { color: #cfd6e2; }

/* promo bar + header */
.promo-bar { background: var(--navy-deep); color: #e6e9ef; font-size: .95rem; text-align: center; padding: .5rem 0; }
.promo-bar strong { color: #f3a15a; }
.promo-bar a { color: #fff; margin-left: .4rem; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,250,246,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { flex-shrink: 0; }
.brand-text { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; line-height: .95; letter-spacing: .04em; color: var(--ink); }
.brand-text span { color: var(--orange-dark); }
.main-nav { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.main-nav a:not(.btn):hover { color: var(--orange-dark); }
.nav-phone { font-family: var(--head); font-size: 1.15rem; letter-spacing: .03em; }
.lang { display: inline-flex; background: var(--navy-deep); border-radius: 999px; padding: 3px; gap: 2px; margin-left: auto; flex-shrink: 0; }
.main-nav + .lang { margin-left: 0; }
.lang button { border: 0; background: transparent; color: #c9d0da; font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .06em; padding: .3rem .65rem; border-radius: 999px; min-height: 30px; line-height: 1; }
.lang button:hover { color: #fff; }
.lang button.is-active { background: var(--orange); color: #fff; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3, html[lang="zh-CN"] .btn, html[lang="zh-CN"] .kicker, html[lang="zh-CN"] .brand-text { letter-spacing: 0; }
html[lang="zh-CN"] h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.15; }
html[lang="zh-CN"] h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; padding: 8px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 3px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* frames */
.frame-browser { background: #fff; border: 1px solid #c9ccd2; box-shadow: 0 18px 40px rgba(14,24,48,.25); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #e9ebef; border-bottom: 1px solid #d5d8de; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c2c6cd; }
.frame-bar span { margin-left: 8px; font-size: 11px; color: #6b7680; background: #fff; padding: 2px 10px; border-radius: 3px; flex: 1; font-family: ui-monospace, Menlo, monospace; }
.frame-browser img { width: 100%; aspect-ratio: 1440/1000; object-fit: cover; object-position: top; }
.frame-browser button, .frame-phone button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.frame-phone { background: #1c2230; border-radius: 22px; padding: 7px; box-shadow: 0 18px 40px rgba(14,24,48,.35); }
.frame-phone img { border-radius: 16px; width: 100%; aspect-ratio: 430/820; object-fit: cover; object-position: top; }

/* hero */
.hero { background: var(--navy); color: #e6e9ef; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); border-bottom: 6px solid var(--orange); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .kicker { color: #f3a15a; }
.lead { font-size: 1.2rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 1.2rem; }
.hero-contact { font-size: 1rem; color: #b9c2d0; }
.hero-contact a { color: #fff; }
.hero-media { position: relative; padding: 0 0 3rem 0; }
.hero-media .frame-browser { width: 88%; margin-left: auto; }
.hero-media .frame-phone { position: absolute; left: 0; bottom: 3rem; width: 28%; max-width: 150px; }
.hero-caption { font-size: .9rem; color: #b9c2d0; margin: .9rem 0 0 34%; text-align: right; }

/* split layouts */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: start; }
.split-wide { grid-template-columns: 1fr 1fr; }
.split-text p { max-width: 36em; }
.split-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--line); }
.split-photo figcaption { font-size: .92rem; color: var(--muted); margin-top: .6rem; font-style: italic; }
.plain-list { display: grid; gap: .8rem; margin-top: 1.4rem; }
.plain-list li { padding-left: 1.2rem; border-left: 3px solid var(--orange); max-width: 36em; }
.plain-list strong { color: var(--ink); }

/* cases */
.case { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: .5rem; }
.case-flip .case-media { order: 2; }
.case-media { position: relative; padding: 0 1.2rem 2rem 0; }
.case-media .frame-phone { position: absolute; right: 0; bottom: 0; width: 29%; max-width: 160px; }
.case-body h3 { font-family: var(--head); text-transform: uppercase; font-size: 2rem; font-weight: 700; }
.case-body p { max-width: 36em; }
.thumbs-label { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--muted); margin: 1.2rem 0 .5rem; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-bottom: 1.3rem; }
.thumb { border: 1px solid var(--line); padding: 0; background: #fff; cursor: zoom-in; display: grid; }
.thumb:hover { border-color: var(--navy); }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.thumb span { font-size: .78rem; padding: .3rem .2rem; text-align: center; color: var(--muted); }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }

/* included */
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 3rem; }
.included div { border-top: 2px solid var(--ink); padding-top: .8rem; }
.included dt { font-family: var(--head); text-transform: uppercase; font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.included dd { margin: 0; }
.aside { margin-top: 2rem; padding: 1rem 1.2rem; background: var(--paper-alt); border-left: 4px solid var(--orange); max-width: 46em; }

/* timeline + prep */
.timeline { display: grid; gap: 0; margin-top: 1.5rem; }
.timeline li { position: relative; padding: 0 0 1.8rem 2.2rem; border-left: 2px solid var(--line); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 3px solid var(--paper-alt); }
.tl-day { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-dark); font-weight: 700; font-size: .95rem; }
.timeline h3 { margin: .1rem 0 .3rem; }
.timeline p { margin: 0; max-width: 32em; }
.prep { background: #fff; border: 1px solid var(--line); padding: 1.8rem; }
.prep > p { color: var(--muted); }
.prep-list { display: grid; gap: .5rem; }
.prep-list li { position: relative; }
.prep-list input { position: absolute; left: .9rem; top: .95rem; width: 20px; height: 20px; accent-color: var(--green); margin: 0; }
.prep-list label { display: grid; padding: .75rem .9rem .75rem 2.8rem; border: 1px solid var(--line-soft); cursor: pointer; }
.prep-list label:hover { border-color: var(--line); }
.prep-list input:checked + label { background: #eef6f0; border-color: #bcd9c6; }
.prep-list input:checked + label strong { text-decoration: line-through; color: var(--muted); }
.prep-list strong { color: var(--ink); }
.prep-list span { font-size: .9rem; color: var(--muted); }

/* builder */
.builder { display: grid; grid-template-columns: 350px 1fr; gap: 2rem; align-items: start; }
.builder-form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); padding: 1.4rem; }
.field { margin-bottom: 1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.optional { font-weight: 400; color: var(--muted); }
.req { color: var(--orange-dark); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: .65rem .8rem; border-radius: var(--r); border: 1px solid #b8b3a8; background: #fff; color: var(--ink); min-height: 46px; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(228,116,26,.25); }
.builder-form input, .builder-form select { border-color: transparent; }
.more-options { margin: .4rem 0 .8rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: .8rem; }
.more-options summary { cursor: pointer; font-weight: 600; color: #cfd6e2; margin-bottom: 1rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; padding: 0; position: relative; }
.swatch.is-active { border-color: #fff; box-shadow: 0 0 0 2px var(--c); }
.swatch-custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); display: grid; place-items: center; overflow: hidden; }
.swatch-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.swatch-custom span { color: #fff; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.6); pointer-events: none; }
.seg { display: inline-flex; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); overflow: hidden; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: .45rem .9rem; font-weight: 600; font-size: .92rem; cursor: pointer; }
.seg input:checked + span { background: var(--orange); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid #fff; outline-offset: -3px; }
.upload { margin-top: .7rem; }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-label { display: block; border: 1px dashed rgba(255,255,255,.4); padding: .8rem; text-align: center; cursor: pointer; font-weight: 600; }
.upload-label:hover { border-color: var(--orange); }
.upload-hint { font-size: .85rem; color: #b9c2d0; margin: .4rem 0 0; }
.builder-actions { display: grid; gap: .8rem; margin-top: 1rem; justify-items: start; }
.builder-actions .btn { width: 100%; }
.builder-preview { min-width: 0; }
.preview-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .8rem; }
.preview-hint { font-size: .9rem; color: #b9c2d0; }
.device { margin: 0 auto; background: #0b1220; border: 1px solid rgba(255,255,255,.15); overflow: hidden; transition: max-width .3s; }
.device-desktop { max-width: 100%; }
.device-mobile { max-width: 390px; border-radius: 26px; }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #1b2436; }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4660; }
.device-bar span { margin-left: 8px; font-size: 11px; color: #9fb0c8; background: #0e1830; padding: 2px 10px; border-radius: 3px; flex: 1; font-family: ui-monospace, Menlo, monospace; }
.device-screen { background: #fff; color: #1f2933; height: 600px; overflow-y: auto; overscroll-behavior: contain; container-type: inline-size; }
.device-mobile .device-screen { height: 660px; }

/* mock site */
.ms { --brand: #e4741a; --dark: #14213d; --light: #f4f2ec; font-family: var(--text); font-size: 14px; }
.ms.style-dark { --light: #1b2633; color: #fff; background: #0f1720; }
.ms.style-clean { --dark: #ffffff; }
.ms * { box-sizing: border-box; }
.ms-nav { display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 2; }
.style-clean .ms-nav { color: #1f2933; border-bottom: 1px solid #e3e7ed; }
.ms-logo { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: .03em; }
.ms-logo b { color: var(--brand); }
.ms-links { display: flex; gap: 14px; margin-left: auto; font-size: 12px; opacity: .85; }
.ms-btn { background: var(--brand); color: #fff; padding: 7px 14px; border-radius: 3px; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: 13px; display: inline-block; white-space: nowrap; }
.ms-hero { padding: 56px 24px; color: #fff; position: relative; overflow: hidden; background-size: cover; background-position: center; min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.ms-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,26,.9) 0%, rgba(10,16,26,.6) 60%, rgba(10,16,26,.25) 100%); }
.style-clean .ms-hero::before { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 55%, rgba(255,255,255,.35) 100%); }
.style-clean .ms-hero { color: #1f2933; }
.ms-hero > * { position: relative; z-index: 1; }
.ms-kicker { font-family: var(--head); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); font-weight: 700; margin: 0 0 8px; }
.ms-hero h1 { font-family: var(--head); text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0 0 10px; max-width: 520px; color: inherit; }
.ms-hero p { margin: 0 0 16px; opacity: .92; max-width: 460px; font-size: 14px; }
.ms-hero-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ms-btn-outline { border: 2px solid currentColor; padding: 6px 14px; border-radius: 3px; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: 13px; display: inline-block; white-space: nowrap; }
.ms-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 11px; opacity: .9; }
.ms-section { padding: 28px 24px; }
.ms-section h2 { font-family: var(--head); text-transform: uppercase; font-size: 24px; margin: 0 0 14px; color: inherit; }
.ms-section h2::after { display: none; }
.ms-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ms-service { background: var(--light); padding: 14px; border-top: 3px solid var(--brand); }
.style-dark .ms-service { background: #1b2633; }
.ms-service strong { display: block; font-size: 13px; margin-bottom: 4px; }
.ms-service span { font-size: 12px; opacity: .75; }
.ms-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ms-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ms-about { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; background: var(--light); }
.style-dark .ms-about { background: #1b2633; }
.ms-about p { font-size: 13px; opacity: .85; margin: 0; }
.ms-about img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ms-stat { display: flex; gap: 18px; margin-top: 10px; }
.ms-stat b { display: block; font-family: var(--head); font-size: 24px; color: var(--brand); line-height: 1; }
.ms-stat span { font-size: 11px; opacity: .7; }
.ms-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ms-review { background: var(--light); padding: 12px; font-size: 12px; }
.style-dark .ms-review { background: #1b2633; }
.ms-review b { color: var(--brand); display: block; margin-bottom: 4px; letter-spacing: .1em; }
.ms-cta { background: var(--brand); color: #fff; text-align: center; padding: 28px 24px; }
.ms-cta h2 { margin-bottom: 6px; }
.ms-cta p { margin: 0 0 12px; opacity: .92; }
.ms-cta .ms-btn { background: #fff; color: var(--brand); }
.ms-footer { padding: 18px 24px; background: var(--dark); color: #fff; font-size: 11px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.style-clean .ms-footer { color: #1f2933; border-top: 1px solid #e3e7ed; }
@container (max-width: 640px) {
  .ms-links { display: none; }
  .ms-nav { padding: 10px 14px; gap: 10px; justify-content: space-between; }
  .ms-logo { font-size: 16px; line-height: 1.1; }
  .ms-nav .ms-btn { font-size: 11px; padding: 6px 10px; }
  .ms-hero h1 { font-size: 28px; }
  .ms-about, .ms-reviews { grid-template-columns: 1fr; }
  .ms-gallery { grid-template-columns: repeat(2, 1fr); }
  .ms-section, .ms-hero { padding-inline: 16px; }
  .ms-hero { padding-block: 40px; }
}
@container (max-width: 400px) { .ms-logo { font-size: 14px; } .ms-services { grid-template-columns: 1fr 1fr; } }

/* pricing */
.promo-callout { background: var(--promo-bg); border: 1px solid #f0cfa6; color: var(--promo-ink); padding: .9rem 1.2rem; margin-bottom: 1.4rem; max-width: 760px; }
.billing-toggle { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.6rem; font-weight: 600; }
.seg-pricing { border-color: var(--line); }
.seg-pricing span { color: var(--ink); background: #fff; }
.seg-pricing input:checked + span { background: var(--navy); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); padding: 1.8rem; display: flex; flex-direction: column; position: relative; }
.plan-featured { border: 2px solid var(--navy); }
.plan-flag { position: absolute; top: -.8rem; left: 1.4rem; background: var(--navy); color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; padding: .2rem .7rem; margin: 0; }
.plan h3 { font-family: var(--head); text-transform: uppercase; font-size: 1.9rem; margin-bottom: .1rem; }
.plan-for { color: var(--muted); font-size: 1rem; min-height: 2.6em; }
.price { display: grid; gap: .1rem; margin: .4rem 0 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.price-was { color: var(--muted); font-size: .95rem; }
.price-was s { text-decoration-color: var(--red); }
.price-now { font-family: var(--head); font-size: 2.8rem; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.period { font-family: var(--text); font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-save { color: var(--green); font-weight: 600; font-size: .95rem; }
.promo-off .price-was, .promo-off .price-save, .promo-off .promo-callout, .promo-off .promo-bar, .promo-off .promo-note { display: none !important; }
.plan-features { flex: 1; margin-bottom: 1.4rem; display: grid; gap: .45rem; }
.plan-features li { padding-left: 1.3rem; position: relative; }
.plan-features li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--orange); }
.pricing-note { margin-top: 1.8rem; max-width: 720px; color: var(--muted); }
.compare { margin-top: 1.5rem; background: #fff; border: 1px solid var(--line); }
.compare summary { cursor: pointer; padding: 1rem 1.3rem; font-weight: 600; list-style: none; position: relative; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange-dark); }
.compare[open] summary::after { content: "−"; }
.table-wrap { overflow-x: auto; padding: 0 1rem 1rem; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.compare-table th, .compare-table td { padding: .6rem .9rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare-table th { font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: 1.1rem; color: var(--ink); }
.compare-table th:not(:first-child), .compare-table td:not(:first-child) { text-align: center; }
.compare-table td:first-child { font-weight: 600; color: var(--ink); }

/* owner note */
.signature { font-family: var(--head); font-size: 1.7rem; text-transform: uppercase; color: var(--ink); margin-top: 1.5rem; line-height: 1.1; }
.signature span { font-family: var(--text); font-size: .95rem; text-transform: none; color: var(--muted); font-weight: 400; }
.promises { background: #fff; border: 1px solid var(--line); padding: 1.8rem; }
.promises ol { counter-reset: p; display: grid; gap: 1rem; }
.promises li { counter-increment: p; padding-left: 2.4rem; position: relative; }
.promises li::before { content: counter(p); position: absolute; left: 0; top: .05em; font-family: var(--head); font-size: 1.6rem; font-weight: 700; color: var(--orange-dark); line-height: 1; }
.promises strong { color: var(--ink); }

/* states */
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; }
.states li { border-top: 2px solid var(--ink); padding-top: .6rem; display: grid; gap: .1rem; }
.states strong { font-family: var(--head); text-transform: uppercase; font-size: 1.4rem; color: var(--ink); }
.states span { font-size: .95rem; color: var(--muted); }

/* faq */
.faq { background: #fff; border: 1px solid var(--line); margin-bottom: .5rem; }
.faq summary { padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange-dark); font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 1.2rem 1.1rem; margin: 0; max-width: 40em; }

/* quote */
.section-quote { background: #fff; border-top: 1px solid var(--line); }
.quote-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.promo-note { background: var(--promo-bg); border: 1px solid #f0cfa6; color: var(--promo-ink); padding: .8rem 1rem; margin-bottom: 1.2rem; font-size: .95rem; }
.quote-alt { font-size: 1rem; }
.mockup-attached { margin-top: 1.2rem; background: #eef6f0; border: 1px solid #bcd9c6; padding: .9rem 1rem; display: grid; gap: .2rem; font-size: .95rem; }
.mockup-attached strong { color: var(--green); }
.mockup-attached span { color: var(--muted); }
.quote-form { background: var(--paper); border: 1px solid var(--line); padding: 1.8rem; }
.stepper { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; font-size: .92rem; font-weight: 600; color: var(--muted); }
.stepper li { display: flex; align-items: center; gap: .4rem; }
.stepper li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: .8rem; }
.stepper li.is-active { color: var(--ink); }
.stepper li.is-active span { background: var(--orange); color: #fff; }
.stepper li.is-done span { background: var(--green); color: #fff; }
.progress { height: 4px; background: var(--line-soft); margin-bottom: 1.4rem; }
.progress-bar { height: 100%; width: 33%; background: var(--orange); transition: width .3s; }
.qstep { display: none; border: 0; padding: 0; margin: 0; }
.qstep.is-active { display: block; }
.qstep legend { font-family: var(--head); font-size: 1.6rem; text-transform: uppercase; color: var(--ink); margin-bottom: .8rem; }
.field-help { color: var(--muted); font-size: .95rem; }
.field-help.small { font-size: .85rem; margin: 1rem 0 0; }
.error { display: block; color: var(--red); font-size: .88rem; min-height: 1.2em; margin-top: .2rem; }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.check { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); background: #fff; padding: .6rem .8rem; cursor: pointer; min-height: 46px; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); margin: 0; flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--orange); background: #fff8f0; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.qsuccess h3 { font-family: var(--head); text-transform: uppercase; font-size: 1.8rem; }
.summary { background: #fff; border: 1px solid var(--line); padding: 1rem 1.1rem; margin: 1rem 0; font-size: .88rem; white-space: pre-wrap; font-family: ui-monospace, Menlo, monospace; line-height: 1.5; overflow-x: auto; }
.success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }

/* footer */
.site-footer { background: var(--navy-deep); color: #b9c2d0; padding: 3rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 1.8rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer h4 { color: #fff; }
.site-footer a { color: #e6e9ef; text-decoration: none; display: block; padding: .15rem 0; }
.site-footer a:hover { color: #f3a15a; }
.footer-brand .brand-text { color: #fff; display: block; margin-bottom: .7rem; font-size: 1.3rem; }
.footer-brand p { max-width: 30em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.2rem; font-size: .88rem; color: #8b98ab; }
.footer-bottom p { margin: 0; }

/* utilities */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); padding: .6rem .8rem; gap: .6rem; }
.mobile-cta .btn { flex: 1; }
.back-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; width: 44px; height: 44px; border: 0; background: var(--navy); color: #fff; font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .2s; }
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.toast { position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .7rem 1.2rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 400; max-width: calc(100% - 2rem); text-align: center; }
.toast.is-visible { opacity: 1; }
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14,24,48,.85); }
.modal-panel { position: relative; background: #fff; width: min(1100px, 100%); height: min(85vh, 820px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 1.15rem; }
.modal-tools { display: flex; align-items: center; gap: .6rem; }
.modal-close { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; font-size: 1rem; }
.modal-body { flex: 1; position: relative; background: #f1f3f6; }
.modal-body iframe { width: 100%; height: 100%; border: 0; display: block; position: relative; }
.modal-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.modal-note { margin: 0; padding: .6rem 1.1rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.lightbox-panel { position: relative; width: min(1200px, 100%); max-height: 92vh; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; }
.lightbox-panel figure { min-width: 0; text-align: center; }
.lightbox-panel img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lightbox-panel figcaption { color: #fff; margin-top: .8rem; }
.lightbox-nav { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 2rem; line-height: 1; }
.lightbox-nav:hover { background: rgba(255,255,255,.15); }
.lightbox-close { position: absolute; top: -8px; right: 0; }

/* responsive */
@media (max-width: 1300px) {
  .nav-phone { display: none; }
  .header-inner { gap: 1.2rem; }
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .builder { grid-template-columns: 1fr; }
  .builder-form { max-width: 620px; }
  .case { grid-template-columns: 1fr; gap: 2rem; }
  .case-flip .case-media { order: 0; }
  .case-media { max-width: 720px; }
  .split, .split-wide { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-photo { max-width: 480px; }
  .nav-phone { display: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { display: none; }
  .included { grid-template-columns: 1fr; }
  .quote-layout { grid-template-columns: 1fr; gap: 2rem; }
  .main-nav { position: fixed; inset: 74px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.15); opacity: 0; pointer-events: none; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .main-nav a.nav-cta { margin-top: .8rem; border: 0; }
  .main-nav .nav-phone { display: block; }
  .nav-toggle { display: flex; margin-left: 0; }
  .lang { margin-left: auto; }
  .lang button { padding: .3rem .5rem; font-size: .85rem; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .back-top { bottom: 5rem; }
  .toast { bottom: 6rem; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .checks, .footer-grid, .field-row, .states { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .quote-form { padding: 1.3rem; }
  .qnav { flex-direction: column-reverse; }
  .qnav .btn { width: 100%; }
  .stepper { font-size: .8rem; }
  .device-screen { height: 500px; }
  .modal-panel { height: 92vh; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .case-media .frame-phone { width: 34%; }
  .lightbox-panel { grid-template-columns: 1fr; }
  .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
  .lightbox-prev { left: 4px; } .lightbox-next { right: 4px; }
  .case-actions { flex-direction: column; align-items: flex-start; }
}
