:root {
  --ink: #0c1116;
  --panel: #121b20;
  --muted: #64727d;
  --line: #d8e0e4;
  --paper: #f5f7f7;
  --white: #ffffff;
  --teal: #08b5a7;
  --teal-deep: #08796f;
  --amber: #f0a13a;
  --steel: #25333b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(12, 17, 22, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.card-top,
.section-head,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  gap: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.nav a:hover,
.text-link:hover {
  color: var(--teal);
}

.header-action {
  justify-self: end;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  opacity: 0.72;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 17, 22, 0.98) 0%, rgba(12, 17, 22, 0.78) 42%, rgba(12, 17, 22, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 17, 22, 0.92) 0%, rgba(12, 17, 22, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: 150px clamp(18px, 5vw, 72px) 180px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 23px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: var(--ink);
  background: var(--teal);
}

.btn.secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.metric-strip {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  width: min(720px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 17, 22, 0.66);
  backdrop-filter: blur(16px);
}

.metric-strip div {
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-strip div:first-child {
  border-left: 0;
}

.metric-strip strong,
.product-card strong,
.package-card strong {
  display: block;
  font-size: 26px;
}

.metric-strip span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  background: var(--white);
}

.intro p:last-child,
.section-head .small-note,
.service-card p,
.product-card p,
.package-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.text-link {
  color: var(--teal-deep);
  font-weight: 800;
}

.service-grid,
.product-grid,
.package-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.product-card,
.package-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 340px;
  padding: 24px;
  overflow: hidden;
}

.card-top {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.card-image,
.product-image {
  width: calc(100% + 48px);
  height: 150px;
  margin: -24px -24px 22px;
  object-fit: cover;
  display: block;
  background: #dfe7e8;
}

.service-index,
.product-card span {
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-top strong {
  color: var(--amber);
  text-align: right;
}

ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 9px 0 9px 18px;
  color: var(--steel);
  border-top: 1px solid #edf1f2;
}

li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.product-band {
  color: var(--white);
  background: var(--panel);
}

.product-band .section-head .small-note,
.product-band .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  min-height: 260px;
  padding: 24px;
  color: var(--white);
  background: #18242a;
  border-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.product-card p {
  color: rgba(255, 255, 255, 0.66);
}

.product-card strong {
  margin-top: 28px;
  color: var(--amber);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.product-meta span:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card {
  padding: 28px;
}

.package-card.featured {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-10px);
}

.package-card.featured p,
.package-card.featured li {
  color: rgba(255, 255, 255, 0.72);
}

.package-card .btn {
  width: 100%;
  margin-top: 26px;
}

.package-card:not(.featured) .btn.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.process {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.steps div {
  min-height: 170px;
  padding: 24px;
  background: var(--white);
}

.steps strong {
  display: block;
  margin-bottom: 44px;
  color: var(--teal-deep);
}

.steps span {
  font-size: 22px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 90px);
  color: var(--white);
  background: var(--ink);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-deep);
  font-weight: 700;
}

.footer {
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: #070a0d;
}

.footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

.admin-body {
  min-height: 100vh;
  background: #eef3f4;
}

.login-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: var(--ink);
}

.login-bg,
.login-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.login-bg {
  object-fit: cover;
  opacity: 0.58;
}

.login-overlay {
  background:
    linear-gradient(90deg, rgba(7, 10, 13, 0.86), rgba(7, 10, 13, 0.54)),
    linear-gradient(0deg, rgba(7, 10, 13, 0.76), rgba(7, 10, 13, 0.18));
}

.login-page-brand {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: clamp(20px, 4vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
}

.login-page-brand img {
  width: 30px;
  height: 30px;
}

.admin-login {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 20px;
}

.clean-login {
  width: min(390px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(10, 18, 22, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.admin-login h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.1;
}

.login-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.admin-login label {
  gap: 10px;
}

.admin-login input {
  min-height: 52px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.admin-login input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.admin-login label {
  color: rgba(255, 255, 255, 0.8);
}

.admin-error {
  margin: -4px 0 0;
  padding: 12px 14px;
  border: 1px solid #f0b8b2;
  border-radius: 8px;
  color: #b42318;
  background: #fff4f2;
  font-weight: 800;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.admin-sidebar-brand img {
  width: 32px;
  height: 32px;
}

.admin-side-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-side-nav button,
.admin-logout {
  width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.admin-side-nav button.active,
.admin-side-nav button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-logout {
  color: #ffcbc4;
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-main {
  padding: 32px clamp(18px, 4vw, 48px) 72px;
}

.admin-section {
  display: none;
  gap: 18px;
}

.admin-section.active {
  display: grid;
}

.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.admin-title h1 {
  margin: 0;
  font-size: 34px;
}

.admin-title span {
  color: var(--muted);
  font-weight: 800;
}

.admin-kicker {
  margin: 0 0 7px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-add {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-add > summary,
.admin-row-card > summary {
  min-height: 58px;
  display: grid;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.admin-add > summary {
  padding: 0 18px;
  color: var(--teal-deep);
  font-weight: 900;
}

.admin-add > summary::-webkit-details-marker,
.admin-row-card > summary::-webkit-details-marker {
  display: none;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form.compact {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  align-items: start;
  margin-top: 0;
  padding: 16px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: var(--white);
}

.admin-form.compact textarea {
  min-height: 48px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-row-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.admin-row-card > summary {
  grid-template-columns: minmax(0, 1fr) 180px 110px;
  gap: 14px;
  padding: 0 18px;
}

.admin-row-card > summary span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.admin-row-card > summary strong {
  color: var(--steel);
}

.admin-row-card > summary em {
  justify-self: end;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.admin-row-card .admin-form,
.admin-row-card form:not(.admin-form) {
  margin: 0 16px 16px;
}

.admin-row-card .admin-form {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.admin-delete {
  width: 100%;
  min-height: 40px;
  border: 1px solid #f0b8b2;
  border-radius: 8px;
  color: #b42318;
  background: #fff4f2;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.check-label input {
  width: 18px;
  height: 18px;
}

.lead-table {
  display: grid;
  gap: 10px;
}

.lead-table article {
  display: grid;
  grid-template-columns: 1fr 160px 180px 1.5fr 210px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lead-table p {
  margin: 0;
  color: var(--muted);
}

.lead-table time {
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 1080px) {
  .service-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 960px;
  }

  .hero-content {
    padding-bottom: 360px;
  }

  .metric-strip {
    right: 18px;
    left: 18px;
    width: auto;
  }

  .intro,
  .contact,
  .package-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }

  .admin-layout,
  .admin-form.compact,
  .admin-row-card > summary,
  .lead-table article {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-side-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-action {
    padding: 9px 12px;
  }

  .hero {
    min-height: 1040px;
  }

  .hero-content {
    padding: 128px 18px 400px;
  }

  .service-grid,
  .product-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .metric-strip div:first-child {
    border-top: 0;
  }

  .section {
    padding: 64px 18px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
