:root {
  --ink: #0b1d32;
  --ink-2: #112a46;
  --ink-3: #1d3d5e;
  --paper: #f5f8fb;
  --white: #ffffff;
  --slate: #56718b;
  --muted: #6f8397;
  --line: #d8e2eb;
  --electric: #ffcb45;
  --electric-dark: #e7ad12;
  --cyan: #38c4d9;
  --cyan-soft: #def8fb;
  --danger: #c73737;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --shadow-sm: 0 14px 36px rgba(11, 29, 50, .08);
  --shadow: 0 24px 70px rgba(11, 29, 50, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink-3); text-underline-offset: 3px; }
a:hover { color: #000; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  padding: .75rem 1rem;
  background: var(--electric);
  color: var(--ink);
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(7, 23, 40, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(18px);
}
.navbar { min-height: 84px; }
.navbar-brand { display: flex; align-items: center; margin-right: 2rem; }
.navbar-brand img { width: min(330px, 48vw); height: auto; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  font-weight: 700;
  padding: .7rem .72rem !important;
  border-radius: 10px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: #fff; background: rgba(255,255,255,.07); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.btn-link-light { color: rgba(255,255,255,.72); text-decoration: none; }
.btn-link-light:hover { color: #fff; }

.btn {
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  padding: .7rem 1.1rem;
}
.btn-lg { padding: .95rem 1.35rem; border-radius: 14px; }
.btn-electric {
  color: var(--ink);
  background: var(--electric);
  border-color: var(--electric);
  box-shadow: 0 8px 24px rgba(255, 203, 69, .2);
}
.btn-electric:hover,
.btn-electric:focus { color: var(--ink); background: #ffd76d; border-color: #ffd76d; transform: translateY(-1px); }
.btn-ink { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn-ink:hover { color: #fff; background: var(--ink-3); border-color: var(--ink-3); }
.btn-outline-ink { color: var(--ink); border-color: var(--ink); }
.btn-outline-ink:hover { color: #fff; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(56,196,217,.18), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(255,203,69,.13), transparent 30%),
    linear-gradient(135deg, #071728 0%, #0b1d32 54%, #12304f 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero .container { position: relative; z-index: 1; }
.hero-shell { min-height: 720px; display: grid; align-items: center; padding: 5.4rem 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--electric); }
.hero h1,
.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6.6vw, 6.7rem);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 900;
}
.hero h1 span { display: block; color: var(--electric); }
.hero-copy { max-width: 660px; margin: 1.6rem 0 0; color: #c6d3df; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2.35rem; color: #dbe5ee; font-weight: 700; font-size: .92rem; }
.hero-proof span { display: inline-flex; gap: .5rem; align-items: center; }
.hero-proof i { color: var(--electric); }
.hero-art { position: relative; min-height: 570px; }
.hero-image-wrap {
  position: absolute;
  inset: 0 0 0 2rem;
  overflow: hidden;
  border-radius: 44px 44px 44px 140px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
  transform: rotate(1.4deg);
  background: #172f48;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,18,30,.52), transparent 55%); }
.hero-badge {
  position: absolute;
  left: -1.5rem;
  bottom: 2.2rem;
  z-index: 2;
  max-width: 280px;
  padding: 1.1rem 1.25rem;
  color: var(--ink);
  background: var(--electric);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.hero-badge strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.hero-badge span { display: block; margin-top: .28rem; font-size: .82rem; font-weight: 700; }

.trust-strip { position: relative; z-index: 2; margin-top: -35px; }
.trust-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-item { padding: 1.5rem 1.7rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .86rem; }

.section-shell { padding: 6.3rem 0; }
.section-shell.compact { padding: 4.25rem 0; }
.section-white { background: #fff; }
.section-ink { color: #fff; background: var(--ink); }
.section-cyan { background: linear-gradient(135deg, #e8fbfd, #f6fdfe); }
.section-heading { max-width: 760px; margin-bottom: 2.6rem; }
.section-heading h2,
.split-copy h2,
.notice-card h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 900;
}
.section-heading p,
.split-copy > p { margin: 1rem 0 0; color: var(--muted); font-size: 1.12rem; }
.section-ink .section-heading p,
.section-ink .split-copy > p { color: #aec0d1; }
.section-kicker { color: var(--cyan); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  position: relative;
  min-height: 315px;
  padding: 2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: .22s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  color: var(--ink);
  background: var(--electric);
  border-radius: 18px;
  font-size: 1.55rem;
}
.service-card h3 { margin: 0 0 .75rem; font-size: 1.35rem; font-weight: 900; }
.service-card p { color: var(--muted); }
.service-card a { position: absolute; left: 2rem; bottom: 1.8rem; font-weight: 900; text-decoration: none; }
.service-card a i { transition: transform .2s; }
.service-card:hover a i { transform: translateX(4px); }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; min-height: 530px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-media .media-note {
  position: absolute;
  right: -1.5rem;
  bottom: 2rem;
  max-width: 270px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-weight: 800;
}
.feature-list { display: grid; gap: .95rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 36px 1fr; gap: .85rem; align-items: start; }
.feature-list i { width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink); background: var(--electric); border-radius: 50%; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); }
.section-ink .feature-list span { color: #aec0d1; }

.price-card {
  padding: 2rem;
  color: #fff;
  background: linear-gradient(145deg, #112c49, #071828);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.price-card .price { margin: .65rem 0; color: var(--electric); font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.price-card p { color: #b9c8d7; }
.price-card small { display: block; color: #8fa6bb; line-height: 1.5; }

.bob-section { overflow: hidden; }
.bob-card {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  background: #091a2c;
  border-radius: 44px;
  box-shadow: var(--shadow);
}
.bob-image { position: relative; min-height: 600px; overflow: hidden; }
.bob-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bob-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, #091a2c 100%); }
.bob-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(2.2rem, 6vw, 5rem); }
.bob-copy h2 { margin: 0; font-size: clamp(4rem, 9vw, 8rem); line-height: .85; letter-spacing: -.075em; font-weight: 950; }
.bob-copy .punchline { margin-top: 1.4rem; color: var(--electric); font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 900; }
.bob-copy p:not(.punchline) { max-width: 620px; color: #b9c8d7; font-size: 1.08rem; }

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4.3rem);
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #173e64);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.cta-panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.045em; font-weight: 900; }
.cta-panel p { margin: .9rem 0 0; color: #b9c8d7; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  color: #fff;
  background: linear-gradient(135deg, #071728 0%, #102d4b 100%);
}
.page-hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -170px; top: -230px; border-radius: 50%; background: rgba(56,196,217,.13); }
.page-hero h1 { max-width: 900px; font-size: clamp(3rem, 6vw, 6rem); }
.page-hero p { max-width: 760px; margin: 1.4rem 0 0; color: #c4d1dd; font-size: 1.2rem; }
.page-hero .container { position: relative; z-index: 1; }

.content-card,
.form-card,
.notice-card,
.metric-card,
.check-card,
.dashboard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.content-card { height: 100%; padding: 2rem; }
.content-card h2,
.content-card h3 { font-weight: 900; letter-spacing: -.025em; }
.content-card p,
.content-card li { color: var(--muted); }
.content-card ul { padding-left: 1.2rem; }
.content-card li + li { margin-top: .55rem; }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.plan-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.plan-card.featured { border: 2px solid var(--electric-dark); transform: translateY(-10px); }
.plan-tag { position: absolute; right: 1rem; top: 1rem; z-index: 2; padding: .35rem .65rem; background: var(--electric); border-radius: 999px; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.plan-image { height: 180px; display: grid; place-items: center; padding: 1rem; background: #edf3f7; }
.plan-image img { max-height: 155px; object-fit: contain; }
.plan-body { display: flex; flex: 1; flex-direction: column; padding: 1.6rem; }
.plan-body h3 { font-weight: 900; }
.plan-price { color: var(--ink); font-size: 1.8rem; font-weight: 900; }
.plan-body ul { flex: 1; margin: 1.2rem 0 1.6rem; padding-left: 1.1rem; color: var(--muted); }

.form-card { padding: clamp(1.5rem, 4vw, 2.4rem); }
.form-label { color: var(--ink); font-size: .84rem; font-weight: 850; }
.form-control,
.form-select {
  min-height: 50px;
  color: var(--ink);
  background-color: #fff;
  border-color: #c9d7e3;
  border-radius: 12px;
}
textarea.form-control { min-height: 140px; }
.form-control:focus,
.form-select:focus { border-color: var(--cyan); box-shadow: 0 0 0 .25rem rgba(56,196,217,.16); }
.form-text { color: var(--muted); }
.image-preview { width: 100%; max-height: 360px; object-fit: cover; margin-top: 1rem; border-radius: 16px; border: 1px solid var(--line); }

.auth-shell { min-height: calc(100vh - 84px); display: grid; place-items: center; padding: 4rem 0; background: linear-gradient(140deg, #eaf1f6, #f9fbfd); }
.auth-card { width: min(560px, calc(100% - 2rem)); padding: clamp(1.7rem, 4vw, 2.8rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: -.05em; }

.dashboard-shell { padding: 3.2rem 0 5rem; }
.dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.dashboard-head h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1; font-weight: 900; letter-spacing: -.055em; }
.dashboard-head p { margin: .7rem 0 0; color: var(--muted); }
.admin-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.8rem; }
.admin-tabs a { padding: .65rem .9rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 800; text-decoration: none; }
.admin-tabs a:hover,
.admin-tabs a.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.metric-card { padding: 1.4rem; }
.metric-card span { color: var(--muted); font-size: .8rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.metric-card strong { display: block; margin-top: .35rem; font-size: 2.2rem; line-height: 1; font-weight: 900; }
.metric-card i { float: right; width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--electric); border-radius: 13px; }
.dashboard-card { overflow: hidden; }
.dashboard-card-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line); }
.dashboard-card-header h2 { margin: 0; font-size: 1.18rem; font-weight: 900; }
.dashboard-card-body { padding: 1.4rem; }
.table { --bs-table-bg: transparent; margin: 0; }
.table thead th { color: var(--muted); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; border-bottom-color: var(--line); }
.table td { border-bottom-color: #e8eef3; vertical-align: middle; }
.table a { font-weight: 800; }

.status-pill { display: inline-flex; align-items: center; gap: .38rem; padding: .36rem .62rem; border-radius: 999px; font-size: .76rem; font-weight: 900; white-space: nowrap; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-light { color: #8b5c00; background: #fff1c7; }
.status-electrical { color: #a32727; background: #fde2e2; }
.status-sign { color: #075b6a; background: #dff7fb; }
.status-neutral { color: #52687c; background: #e9eff4; }

.check-list { display: grid; gap: 1rem; }
.check-card { display: grid; grid-template-columns: 210px 1fr; overflow: hidden; }
.check-image { min-height: 180px; background: #eaf0f5; }
.check-image img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.check-image-empty { height: 100%; min-height: 180px; display: grid; place-items: center; color: var(--muted); }
.check-body { padding: 1.25rem 1.4rem; }
.check-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-bottom: .75rem; }
.check-body h3 { margin: 0 0 .4rem; font-size: 1.12rem; font-weight: 900; }
.check-body p { margin: 0; color: var(--muted); white-space: pre-wrap; }
.check-byline { margin-top: .9rem; color: #8495a5; font-size: .78rem; }

.property-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.property-card { padding: 1.45rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.property-card h2 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.property-card p { color: var(--muted); }
.property-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.property-meta span { padding: .35rem .6rem; color: var(--ink-3); background: #edf3f7; border-radius: 999px; font-size: .76rem; font-weight: 800; }

.notice-card { padding: clamp(2rem, 5vw, 4rem); text-align: center; }
.notice-card p { color: var(--muted); }
.empty-state { padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.empty-state i { display: block; margin-bottom: 1rem; color: #a8b8c7; font-size: 3rem; }

.site-footer { padding: 4.5rem 0 1.5rem; color: #becbd7; background: #061421; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 3rem; }
.footer-logo { width: 300px; height: auto; }
.footer-copy { max-width: 470px; margin: 1.2rem 0 0; }
.footer-heading { margin: .3rem 0 1rem; color: #fff; font-size: .84rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a,
.site-footer span { display: block; margin-bottom: .55rem; color: #aebdca; text-decoration: none; }
.site-footer a:hover { color: var(--electric); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.3rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom span { margin: 0; }

@media (max-width: 1199.98px) {
  .navbar-collapse { padding: 1rem 0 1.2rem; }
  .nav-actions { padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.08); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shell { min-height: auto; }
  .hero-art { min-height: 520px; max-width: 720px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .trust-card { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-media { order: 2; }
  .bob-card { grid-template-columns: 1fr; }
  .bob-image { min-height: 460px; }
  .bob-image::after { background: linear-gradient(to bottom, transparent 45%, #091a2c 100%); }
  .bob-copy { margin-top: -80px; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
  .navbar-brand img { width: 245px; max-width: 72vw; }
  .hero-shell { padding: 4.2rem 0 5rem; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 5.2rem); }
  .hero-art { min-height: 430px; }
  .hero-image-wrap { inset: 0; border-radius: 30px 30px 30px 90px; }
  .hero-badge { left: .6rem; right: .6rem; bottom: .8rem; max-width: none; }
  .trust-strip { margin-top: -20px; }
  .service-grid,
  .plan-grid,
  .property-grid { grid-template-columns: 1fr; }
  .section-shell { padding: 4.4rem 0; }
  .split-media img { min-height: 390px; }
  .split-media .media-note { right: .75rem; left: .75rem; bottom: .75rem; max-width: none; }
  .bob-card { border-radius: 28px; }
  .bob-image { min-height: 390px; }
  .bob-copy { padding: 2rem; }
  .dashboard-head { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }
  .check-card { grid-template-columns: 1fr; }
  .check-image { max-height: 280px; }
  .check-image img { max-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .trust-card { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .hero-actions .btn { width: 100%; }
  .page-hero { padding: 4.5rem 0 4rem; }
  .page-hero h1 { font-size: 3.4rem; }
  .bob-copy h2 { font-size: 4.5rem; }
}
