/* 28dialer website styles */
:root {
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --brand: #2563EB;
  --brand-dark: #1D4ED8;
  --brand-soft: #EFF4FF;
  --navy: #0F1F45;
  --navy-2: #17306B;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 31, 69, 0.08);
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 16px; color: var(--muted); }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.lead { font-size: 1.125rem; max-width: 620px; }
.section-head { max-width: 720px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); text-decoration: none; }
.nav .btn { color: #fff; padding: 10px 18px; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-card {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px rgba(15, 31, 69, 0.25);
}
.hero-chip {
  display: flex; gap: 14px; align-items: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 20px; color: #fff;
}
.hero-chip strong { display: block; font-family: var(--font-head); }
.hero-chip span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.2); flex: none; }
.hero-panel { background: #fff; border-radius: 16px; padding: 20px; }
.hero-panel .label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.hero-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.hero-item:first-of-type { border-top: 0; }
.hero-item .ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.hero-item strong { display: block; font-family: var(--font-head); color: var(--ink); }
.hero-item span { font-size: 0.88rem; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Feature rows */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  padding: 44px 0; border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
.feature-row .eyebrow::before { display: none; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.97rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; margin-bottom: 18px;
}

/* Pricing */
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 16px 40px rgba(37, 99, 235, 0.18); }
.plan .tag { align-self: flex-start; background: var(--brand-soft); color: var(--brand); font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan .price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--ink); margin: 6px 0 18px; }
.plan .checklist { margin-bottom: 24px; flex: 1; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; }
.faq details p { margin: 12px 0 0; }

/* CTA band */
.cta-band { background: linear-gradient(160deg, var(--navy-2), var(--navy)); border-radius: 24px; padding: 56px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin: 0; max-width: 520px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
form .field { margin-bottom: 18px; }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; margin-top: 88px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 16px; }
.site-footer p { color: rgba(255, 255, 255, 0.72); max-width: 340px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer h4 { color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.93rem; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.85rem; }

/* Photos and video */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media {
  border-radius: 20px; overflow: hidden; background: var(--navy);
  box-shadow: 0 24px 50px rgba(15, 31, 69, 0.18); aspect-ratio: 3 / 2;
}
.media.wide { aspect-ratio: 16 / 9; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.photo-grid .media { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.link-arrow { display: inline-block; font-family: var(--font-head); font-weight: 600; margin-top: 4px; }
.link-arrow::after { content: " \2192"; }
.nav { gap: 18px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .photo-grid { grid-template-columns: 1fr; }
}

/* Contact dialog */
.contact-dialog {
  border: 0; border-radius: 20px; padding: 32px; width: calc(100% - 32px); max-width: 460px;
  color: var(--ink); box-shadow: 0 30px 80px rgba(15, 31, 69, 0.35);
}
.contact-dialog::backdrop { background: rgba(15, 31, 69, 0.55); }
.contact-dialog { max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; }
.contact-dialog h3 { margin-right: 28px; }
.contact-dialog textarea { min-height: 96px; }
.contact-dialog form .field { margin-bottom: 14px; }
.contact-status {
  background: rgba(214, 69, 69, 0.10); color: #B42318; border: 1px solid rgba(214, 69, 69, 0.25);
  border-radius: 8px; padding: 10px 12px; font-size: 0.9rem;
}
.contact-alt { font-size: 0.88rem; margin: 14px 0 0; }
.contact-done { color: var(--ink); font-size: 1.05rem; }
.contact-close {
  position: absolute; top: 12px; right: 14px; border: 0; background: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--muted);
}
.contact-close:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 36px 28px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  form .two { grid-template-columns: 1fr; }
  .brand img { height: 34px; }
}
