/* Modus Dialer — site styles. Brand: red #DD0000, near-black #111212, maroon gradients, Playfair Display + Archivo. */
:root {
  --red: #DD0000;
  --red-dark: #B00000;
  --red-soft: #FBEAEC;
  --red-on-dark: #F2939D;
  --ink: #111212;
  --ink-2: #3A4754;
  --muted: #4A5866;
  --line: #D5DCE3;
  --line-2: #CDD5DD;
  --ground: #F5F4F4;
  --white: #FFFFFF;
  --live: #14895B;
  --dark-text: #D9C9CB;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grad-hero: linear-gradient(160deg, #111212 0%, #2B0A0E 55%, #5A0F17 100%);
  --grad-band: linear-gradient(135deg, #3D0B10 0%, #111212 70%);
  --grad-bar: linear-gradient(100deg, #111212 0%, #2B0A0E 70%, #5A0F17 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ground); line-height: 1.5; font-size: 16px; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
.serif { font-family: var(--serif); font-weight: 700; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { border-color: #fff; color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1e6e7; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* Header */
.site-header { background: var(--ink); border-bottom: 1px solid #2E1B1E; }
.site-header.grad { background: var(--grad-bar); border-bottom: none; }
.site-header nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 26px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; flex: 1 1 auto; }
.nav-links a { color: var(--dark-text); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: #fff; }
.nav-login { color: #fff; font-weight: 600; text-decoration: none; }
.nav-login:hover { color: #fff; text-decoration: underline; }
.header-note { color: var(--dark-text); font-size: 15px; margin-left: auto; }
.header-note a { color: #fff; }

/* Hero */
.hero { background: var(--grad-hero); color: #fff; }
.hero-inner { padding-top: 80px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 6vw, 68px); line-height: 1.05; }
.hero p.lead { margin: 0; font-size: 20px; color: #E8DCDD; max-width: 34em; }
.hero .small { margin: 0; font-size: 15px; color: #CDB9BB; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Dialer illustration */
.mock-wrap { flex: 1 1 440px; min-width: 0; max-width: 560px; }
.mock { background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); }
.mock-band { background: var(--live); color: #fff; display: flex; justify-content: space-between; padding: 10px 24px; font-weight: 700; font-size: 15px; }
.mock-body { padding: 24px 24px 8px; }
.mock-biz { margin: 0; font-stretch: 66%; font-weight: 800; font-size: clamp(32px, 4vw, 46px); line-height: 1; }
.mock-body p { margin: 6px 0 0; }
.mock-phone { font-size: 26px; font-weight: 600; }
.mock-btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px; }
.mock-btns span { border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; font-weight: 600; }
.mock-btns .hang { background: #C93A2F; color: #fff; border: none; border-radius: 999px; padding: 12px 24px; font-weight: 700; }
.mock-dispo { border-top: 1px solid #E1E6EB; padding: 16px 24px 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 14px; font-weight: 600; }
.mock-dispo span { border: 1px solid var(--line-2); border-radius: 6px; padding: 9px 10px; }
.mock-dispo .set { background: var(--live); color: #fff; border-color: var(--live); }

/* Sections */
.section { padding-top: 80px; padding-bottom: 80px; }
.section h2, .band h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.08; }
.band { background: var(--grad-band); color: #fff; }
.band-inner { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--red); padding-top: 18px; }
.steps .n { font-weight: 800; font-size: 20px; color: var(--red-on-dark); }
.steps .t { font-weight: 700; font-size: 21px; }
.steps .d { color: var(--dark-text); }

.features { display: flex; flex-wrap: wrap; gap: 56px; }
.features-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.features-intro p { margin: 0; font-size: 18px; color: var(--ink-2); }
.features-list { flex: 2 1 560px; min-width: 0; }
.feat { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feat b { font-size: 19px; display: block; }
.feat span.d { color: var(--muted); }
.key { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 44px; padding: 0 12px; border: 1.5px solid var(--ink); border-bottom-width: 4px; border-radius: 8px; font-weight: 700; color: var(--ink); background: #fff; white-space: nowrap; flex-shrink: 0; }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 32px; padding-top: 28px; color: var(--ink-2); }
.extras b { color: var(--ink); }

.pricing { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.pricing-head p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 30em; }
.packs { border-top: 2px solid var(--ink); }
.pack { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pack-name { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; }
.pack-name b { font-size: 24px; }
.pack-name span { color: var(--muted); }
.pack-bar { flex: 2 1 260px; height: 14px; background: #EEE7E8; border-radius: 999px; overflow: hidden; }
.pack-bar i { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.pack-price { font-family: var(--serif); font-weight: 700; font-size: 44px; min-width: 150px; text-align: right; line-height: 1; }
.pack-price small { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--muted); }
.pack .btn { min-width: 190px; }
.pricing-notes { display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--ink-2); font-size: 15px; margin-top: 36px; }

.faq { max-width: 860px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--ink-2); line-height: 1.6; }

.cta { background: var(--red); color: #fff; }
.cta-inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 44px); }

.site-footer { padding-top: 32px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 15px; }
.site-footer div { display: flex; gap: 20px; flex-wrap: wrap; }

/* Forms & app pages */
.page { padding-top: 48px; padding-bottom: 80px; }
.page h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 5vw, 54px); line-height: 1.05; }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 12px; min-height: 48px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(221,0,0,.15); }
.field .hint { font-weight: 400; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.error { color: var(--red-dark); font-weight: 600; margin: 0; min-height: 1.5em; }
.ok-msg { color: var(--live); font-weight: 600; margin: 0; }
.opt { font: inherit; color: var(--ink); text-align: left; cursor: pointer; width: 100%; border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; background: #fff; border: 1.5px solid var(--line-2); }
.opt:hover { border-color: var(--muted); }
.opt[aria-pressed="true"] { background: var(--red-soft); border: 2px solid var(--red); }
.opt .sub { color: var(--muted); font-size: 14px; }
.opt .tag { font-size: 14px; color: var(--muted); }
.opt[aria-pressed="true"] .tag { color: var(--red); font-weight: 700; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-pack { flex-direction: column; align-items: flex-start; gap: 2px; }
.opt-pack b { font-size: 20px; }
.opt-pack .p { font-family: var(--serif); font-weight: 700; font-size: 30px; }
.opt-pack .p small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 600; }

.checkout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.checkout-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.checkout-main section { display: flex; flex-direction: column; gap: 16px; }
.checkout-main h2 { font-size: 22px; }
.summary { flex: 1 1 340px; min-width: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
.summary h2 { font-size: 20px; }
.line { display: flex; justify-content: space-between; gap: 12px; }
.line .sub { color: var(--muted); font-size: 14px; display: block; }
.total { border-top: 1px solid #E1E6EB; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.total b:last-child { font-family: var(--serif); font-size: 38px; }
#payment { min-height: 120px; }
.spinner { width: 28px; height: 28px; border: 3px solid #E6D9DA; border-top-color: var(--red); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.narrow { max-width: 460px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 18px; }

.meter { height: 12px; background: #EEE7E8; border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--red); }
.big-num { font-family: var(--serif); font-weight: 700; font-size: 48px; line-height: 1; }
.dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cols > * { flex: 1 1 340px; min-width: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #EEE7E8; color: var(--ink); }
.badge.active { background: #DDF2E8; color: #0E6B47; }
.badge.past_due, .badge.suspended { background: var(--red-soft); color: var(--red-dark); }
.badge.cancelled { background: #E6E9EC; color: var(--muted); }
.notice { border-left: 4px solid var(--red); background: var(--red-soft); padding: 14px 16px; border-radius: 6px; }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.table-box { overflow-x: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; }

.legal { max-width: 780px; }
.legal h2 { font-family: var(--serif); font-size: 26px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }

@media (max-width: 720px) {
  .grid2, .opts, .opts.three { grid-template-columns: 1fr; }
  .pack-price { text-align: left; min-width: 0; }
  .hero-inner { padding-top: 48px; }
  .summary { position: static; }
}
