:root {
  --ink: #07111d;
  --muted: #5f6b7a;
  --line: #d9e4ed;
  --panel: #ffffff;
  --soft: #edf8fd;
  --blue: #35b7ee;
  --blue-dark: #0879b8;
  --green: #13b981;
  --shadow: 0 24px 70px rgba(7, 17, 29, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(248, 251, 253, .88);
  border-bottom: 1px solid rgba(217, 228, 237, .9);
  backdrop-filter: blur(18px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  display: block;
  width: 172px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #243447;
  font-size: .95rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--blue-dark);
}

.cart-button,
.deposit-button,
.deposit-link-button,
.primary-button,
.primary-link,
.secondary-link,
.product button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.deposit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--blue-dark);
  background: #eef9ff;
  border: 1px solid rgba(53, 183, 238, .45);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.deposit-link-button {
  min-height: 46px;
  color: var(--blue-dark);
  background: #eef9ff;
  border: 1px solid rgba(53, 183, 238, .45);
}

.cart-button strong {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: 42px;
  padding: clamp(54px, 9vw, 112px) clamp(18px, 5vw, 70px) 62px;
  background:
    linear-gradient(120deg, rgba(53, 183, 238, .18), transparent 38%),
    radial-gradient(circle at 78% 16%, rgba(19, 185, 129, .18), transparent 28%),
    #f8fbfd;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: .85;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.lead {
  max-width: 660px;
  color: #2b3b4e;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.primary-link,
.secondary-link,
.primary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
}

.primary-link,
.primary-button,
.product button {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 30px rgba(8, 121, 184, .22);
}

.secondary-link {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.status-panel {
  display: grid;
  gap: 14px;
  max-width: 390px;
  justify-self: end;
}

.status-panel div {
  padding: 24px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-panel span,
.cart-total span,
.fine-print {
  color: var(--muted);
  font-size: .9rem;
}

.status-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 70px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 42px;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article,
.product,
.steps li,
.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid article {
  min-height: 230px;
  padding: 22px;
}

.service-grid p,
.section-head p,
.product p,
.steps p,
.contact p {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.shop {
  background: var(--soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

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

.product {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 20px;
}

.product .tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 9px;
  color: var(--blue-dark);
  background: #e5f7ff;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 900;
}

.product .price {
  margin: auto 0 18px;
  font-size: 1.65rem;
  font-weight: 900;
}

.product button {
  width: 100%;
  min-height: 46px;
}

.process {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.steps li {
  padding: 24px;
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 36px;
  align-items: start;
  background: linear-gradient(135deg, #07111d, #11253b);
  color: #fff;
}

.contact .eyebrow,
.contact p {
  color: #99dcf8;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
  color: #27364a;
  font-size: .9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(53, 183, 238, .16);
}

.cart {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.cart.is-open {
  display: block;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 29, .48);
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-head h2 {
  font-size: 1.7rem;
}

.cart-head button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item strong {
  font-size: .98rem;
}

.cart-item button {
  grid-column: 2;
  color: #a12525;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.cart-empty {
  color: var(--muted);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-total strong {
  font-size: 1.2rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 70px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 132px;
}

.deposit-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 16px;
}

.deposit-modal.is-open {
  display: grid;
  place-items: center;
}

.deposit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 29, .58);
}

.deposit-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 24px 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.deposit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.deposit-head h2 {
  font-size: 1.55rem;
}

.deposit-head button {
  width: 38px;
  height: 38px;
  color: #6f7784;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.deposit-card,
.bank-card {
  border: 1px solid #dfe9f2;
  border-radius: 14px;
  background: #fbfdff;
}

.deposit-card {
  position: relative;
  min-height: 64px;
  display: grid;
  gap: 4px;
  padding: 12px 64px 12px 14px;
  margin-bottom: 10px;
}

.deposit-card span {
  color: #69788d;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deposit-card strong {
  color: #1d2a3d;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.deposit-card button {
  position: absolute;
  top: 50%;
  right: 10px;
  min-width: 48px;
  min-height: 36px;
  transform: translateY(-50%);
  color: #086fff;
  background: #fff;
  border: 1px solid #0d6efd;
  border-radius: 12px;
  cursor: pointer;
  font-size: .74rem;
  font-weight: 900;
}

.deposit-card button.copied {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.bank-card {
  padding: 14px;
  margin: 12px 0;
}

.bank-card h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  text-transform: uppercase;
}

.deposit-card.compact {
  background: #fff;
}

.deposit-card.note {
  margin-top: 16px;
  padding-right: 14px;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .intro,
  .section-head,
  .contact {
    grid-template-columns: 1fr;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    justify-content: end;
  }

  .status-panel {
    max-width: none;
    justify-self: stretch;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand img {
    width: 134px;
  }

  .cart-button span {
    display: none;
  }

  .deposit-button {
    min-height: 42px;
    padding: 9px 10px;
    font-size: .82rem;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 4.25rem;
  }

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

  .hero-actions a {
    width: 100%;
  }

  .deposit-panel {
    max-height: 92vh;
    padding: 22px 16px;
    border-radius: 16px;
  }
}
