/* ClearCut Mobile Auto — base styles */

:root {
  --dark: #0b1329;
  --dark-card: #111c3a;
  --blue: #1e40af;
  --electric: #2563eb;
  --electric-hover: #3b82f6;

  --bg: var(--dark);
  --bg-card: var(--dark-card);
  --border: rgba(148, 163, 184, 0.15);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
  --max-width: 1200px;
}

:root[data-theme="light"] {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #94a3b8;
  --shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.15);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #475569;
    --text-faint: #94a3b8;
    --shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.15);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--electric);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
}

@media (min-width: 1024px) {
  .navbar-inner {
    padding: 1.1rem 2rem;
  }
}

.logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--electric);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a:hover {
  color: var(--electric);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--electric);
}

@media (min-width: 640px) {
  .nav-phone {
    display: inline-flex;
  }
}

.icon-btn {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text);
}

.icon-btn:hover {
  opacity: 0.85;
}

/* Layout */

main {
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  main {
    padding: 4rem 0;
  }
}

section {
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  section {
    margin-bottom: 6rem;
  }
}

.section-heading {
  margin-bottom: 1.25rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .section-heading {
    text-align: left;
  }
}

.section-heading h2 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
}

@media (min-width: 1024px) {
  .section-heading h2 {
    font-size: 1.75rem;
  }
}

.section-heading p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Hero */

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-top: 1rem;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric);
  background: color-mix(in srgb, var(--electric) 12%, transparent);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.hero p.lead {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 30rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 1024px) {
  .hero p.lead {
    margin: 0 0 1.5rem;
    font-size: 1rem;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-ctas {
    justify-content: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--electric);
  color: #fff;
  box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--electric) 60%, transparent);
}

.btn-primary:hover {
  background: var(--electric-hover);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  opacity: 0.85;
}

.btn-dark {
  background: var(--text);
  color: var(--bg);
}

.btn-block {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-block {
    width: auto;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-stats {
    justify-content: flex-start;
  }
}

.hero-stats .stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-stats .stat strong .accent {
  color: var(--electric);
}

.hero-stats .stat span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.hero-stats .divider {
  width: 1px;
  background: var(--border);
}

.hero-visual {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

.hero-visual-card {
  position: relative;
  height: 24rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom right, var(--bg-card), var(--bg));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card svg {
  width: 9rem;
  height: 9rem;
  color: var(--electric);
  opacity: 0.9;
}

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floating-badge.bottom-left {
  bottom: -1.25rem;
  left: -1.25rem;
}

.floating-badge.top-right {
  top: -1.25rem;
  right: -1.25rem;
}

/* Cards / grids */

.grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 1024px) {
  .card {
    padding: 1.5rem;
  }
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.service-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--electric) 12%, transparent);
  color: var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.step-card {
  text-align: center;
}

@media (min-width: 640px) {
  .step-card {
    text-align: left;
  }
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--electric);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

@media (min-width: 640px) {
  .step-number {
    margin: 0 0 0.75rem;
  }
}

/* Coverage */

.coverage-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .coverage-layout {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.map-wrap {
  position: relative;
  width: 100%;
  padding-top: 65%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (min-width: 1024px) {
  .map-wrap {
    padding-top: 75%;
  }
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.coverage-intro {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.town-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.town-list li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.coverage-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Guarantee */

.guarantee {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom right, var(--bg-card), var(--bg));
  border: 1px solid color-mix(in srgb, var(--electric) 20%, var(--border));
}

@media (min-width: 1024px) {
  .guarantee {
    padding: 2.25rem;
  }
}

.guarantee h2 {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

@media (min-width: 1024px) {
  .guarantee h2 {
    justify-content: flex-start;
    font-size: 1.3rem;
  }
}

.guarantee-list {
  display: grid;
  gap: 1rem;
  font-size: 0.8rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .guarantee-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guarantee-list li {
  list-style: none;
  display: flex;
  gap: 0.6rem;
}

.guarantee-list .check {
  color: var(--electric);
  font-weight: 700;
  flex-shrink: 0;
}

/* Reviews */

.stars {
  color: var(--electric);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.review-card p.quote {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.review-card .author {
  font-size: 0.8rem;
  font-weight: 700;
}

/* Form */

.form-wrap {
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .form-wrap {
    margin: 0;
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

input,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--electric) 25%, transparent);
}

input.vrn {
  text-transform: uppercase;
  font-family: ui-monospace, "SFMono-Regular", monospace;
  letter-spacing: 0.05em;
}

input.vrn::placeholder {
  text-transform: none;
  font-family: inherit;
  letter-spacing: normal;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.form-success.visible {
  display: flex;
}

/* Footer */

footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 60%, transparent);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-grid h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin: 0 0 0.6rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-grid ul a:hover {
  color: var(--electric);
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.4rem 0 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* Mobile sticky CTA */

.sticky-cta {
  display: flex;
  gap: 0.5rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 25px -15px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

.sticky-cta .btn {
  flex: 1;
}

.sticky-cta .btn-quote {
  flex: 2;
}
