:root {
  --primary: #1e88e5;   /* C&T blue */
  --secondary: #0d47a1; /* deep blue */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --text: #fff;
  --muted: #cfd8dc;
  --shadow: rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* gradient ambience (drives the backdrop, tweaked by JS on scroll) */
  --h: 210;
  --sat: 60%;
  --d1: 9%;
  --d2: 11%;
  --d3: 14%;
}

/* Base */
* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: transparent;
  overflow-x: hidden;
}

/* Ambient gradient backdrop */
body::before {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 10% -10%, hsl(var(--h) var(--sat) 16% / 0.22), transparent 60%),
    radial-gradient(1200px 800px at 110% 10%, hsl(calc(var(--h) + 20) var(--sat) 18% / 0.18), transparent 50%),
    linear-gradient(180deg,
      hsl(var(--h) var(--sat) var(--d1)),
      hsl(calc(var(--h) + 25) var(--sat) var(--d2)) 50%,
      hsl(calc(var(--h) + 50) var(--sat) var(--d3))
    );
  filter: saturate(1.02);
}

img { max-width: 100%; height: auto; display: block }
a { color: var(--primary); text-decoration: none }
.container { width: min(1100px, 92vw); margin: 0 auto; }
.section { padding: 64px 0 }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.2 }
h1 { font-size: clamp(2rem, 3.4vw + 1rem, 3rem) }
h2 { font-size: clamp(1.4rem, 2.2vw + 1rem, 2rem) }
h3 { font-size: 1.1rem; letter-spacing: 0.2px }
.fine { color: var(--muted); font-size: 0.92rem }
.scroll-indicator { text-align: center; color: var(--muted) }

/* Accessibility */
.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:12px; top:12px; width:auto; height:auto; padding:8px 10px; background:#fff; color:#000; border-radius:8px
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 15, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; color: #fff;
  text-decoration: none;
}
.brand img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--primary);
}
.brand span { font-weight: 800; font-size: 1.15rem; white-space: nowrap }

.nav-toggle { display: none; font-size: 26px; background: none; border: none; color: #fff; cursor: pointer }
.nav-menu { display: flex; gap: 18px; align-items: center; list-style: none; margin: 0; padding: 0 }
.nav-menu a { color: #fff }
.btn-small {
  padding: 9px 12px; border-radius: 12px;
  background: linear-gradient(90deg, var(--primary), #42a5f5); color: #001019; font-weight: 800
}
.btn-small:hover { filter: brightness(1.05) }

/* Mobile overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.nav-overlay.active { opacity: 1; pointer-events: auto }

/* Hero */
.hero { padding: 64px 0 24px }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center }
.sub { color: var(--muted) }
.cta-row { display: flex; gap: 12px; margin: 16px 0 8px }
.btn {
  display: inline-block; padding: 12px 16px; border-radius: 12px;
  background: linear-gradient(90deg, var(--primary), #42a5f5);
  color: #001019; font-weight: 800; border: none; cursor: pointer; text-align: center;
}
.btn:hover { filter: brightness(1.05) }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.18) }
.glass { background: var(--glass-bg); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius) }
.shadow { box-shadow: 0 10px 30px var(--shadow), 0 2px 8px rgba(0,0,0,0.25) }
.hero-card { overflow: hidden }
.accent { background: linear-gradient(90deg, var(--primary), #90caf9); -webkit-background-clip: text; background-clip: text; color: transparent }
.badges { list-style: none; display: flex; gap: 12px; padding: 0; margin: 10px 0 0; color: var(--muted); flex-wrap: wrap }
.hero-img { width: 100%; height: auto }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 16px
}
.card.hi { background: linear-gradient(180deg, rgba(30,136,229,0.09), rgba(13,71,161,0.08)) }
.features { margin: 10px 0; padding-left: 18px }

/* Pricing */
.pricing-wrap { margin-top: 16px }
.pricing-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 12px }
.pricing-table th, .pricing-table td { padding: 12px; border: 1px solid rgba(255,255,255,0.18) }
.pricing-table thead th { background: rgba(255,255,255,0.08); text-align: left }

/* Areas + Map */
.map-embed iframe { width: 100%; height: 380px; border: 0; border-radius: 12px; display: block }
.areas-grid {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px
}
.areas-grid a {
  display: block; padding: 10px 12px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; color: #fff
}
.areas-grid a:hover { background: rgba(255,255,255,0.12) }

/* Reviews */
.reviews-wrap { padding: 12px }
.reviews-frame { width: 100%; height: 420px; border: 0; border-radius: 12px; display: block }

/* Contact */
.contact-card { padding: 16px }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.14); background: rgba(0,0,0,0.25) }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.brand-mini { display: flex; align-items: center; gap: 10px }
.brand-mini img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary) }
.legal { color: var(--muted); font-size: 0.95rem }

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: block }
  .nav-menu {
    display: none; position: absolute; right: 12px; top: 68px; background: rgba(10,14,22,0.96);
    border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 12px;
    width: min(88vw, 280px); flex-direction: column; gap: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    opacity: 0; transform: translateY(-10px); transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-menu.show { display: flex; opacity: 1; transform: translateY(0) }

  .hero-inner { grid-template-columns: 1fr }
  .cards { grid-template-columns: 1fr }
}
