:root {
  --shell-green: #0b6e5f;
  --shell-green-dark: #075247;
  --shell-orange: #c9630d;
  --shell-ink: #15251f;
  --shell-muted: #627069;
  --shell-surface: #fffdf8;
  --shell-line: #dfdbcf;
  --shell-cream: #f8f5ec;
  --shell-width: 1240px;
}

.customer-shell {
  width: min(var(--shell-width), calc(100% - 48px));
  margin-inline: auto;
}

.customer-header {
  position: sticky;
  z-index: 15;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--shell-green) 18%, var(--shell-line));
  background: color-mix(in srgb, var(--shell-surface) 94%, transparent);
  color: var(--shell-ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.customer-header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 20px;
}

.customer-brand {
  display: flex;
  min-width: 206px;
  align-items: center;
  gap: 11px;
  color: var(--shell-ink);
  text-decoration: none;
}

.customer-brand-logo {
  width: 52px;
  height: 48px;
  flex: 0 0 52px;
  object-fit: contain;
}

.customer-brand-copy { display: grid; gap: 1px; }
.customer-brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.customer-brand-tagline { color: var(--shell-muted); font-size: 12px; line-height: 1.25; }

.customer-nav {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.customer-nav-link,
.customer-account,
.customer-nav-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.customer-nav-link {
  padding: 0 11px;
  border-radius: 10px;
  background: transparent;
  color: var(--shell-ink);
}

.customer-nav-link:hover,
.customer-nav-link.active,
.customer-nav-link[aria-current="page"] {
  background: color-mix(in srgb, var(--shell-green) 10%, transparent);
  color: var(--shell-green-dark);
}

.customer-account {
  margin-left: 6px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--shell-green);
  color: #fff;
}

.customer-account:hover { background: var(--shell-green-dark); }
.customer-nav-link:active,
.customer-account:active,
.customer-nav-toggle:active { opacity: .78; }

.customer-nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  padding: 0;
  border: 1px solid var(--shell-line);
  border-radius: 10px;
  background: var(--shell-surface);
  color: var(--shell-green-dark);
}

.customer-nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.customer-nav-toggle[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--shell-green) 42%, var(--shell-line));
  background: color-mix(in srgb, var(--shell-green) 10%, var(--shell-surface));
}

.customer-footer {
  border-top: 1px solid color-mix(in srgb, var(--shell-green) 18%, var(--shell-line));
  background: var(--shell-green-dark);
  color: #eef8f5;
}

.customer-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) minmax(150px, .65fr) minmax(220px, .8fr);
  gap: clamp(32px, 6vw, 84px);
  padding-block: 52px 38px;
}

.customer-footer .customer-brand { min-width: 0; color: #fff; }
.customer-footer .customer-brand-logo { border-radius: 12px; background: #fff; }
.customer-footer .customer-brand-tagline { color: #cfe2dc; }
.customer-footer-summary { max-width: 42ch; margin: 18px 0 0; color: #cfe2dc; line-height: 1.65; }
.customer-footer h2 { margin: 0 0 14px; color: #fff; font-size: 15px; }
.customer-footer-links { display: grid; gap: 9px; }
.customer-footer a:not(.customer-brand) { color: #e7f4f0; text-decoration: none; }
.customer-footer a:not(.customer-brand):hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.customer-contact-line { margin: 0 0 10px; color: #cfe2dc; line-height: 1.5; }
.customer-social-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
}
.customer-social-link img { width: 20px; height: 20px; }
.customer-footer-bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #cfe2dc;
  font-size: 13px;
}

@media (max-width: 1050px) {
  .customer-brand { min-width: 188px; }
  .customer-nav-link { padding-inline: 8px; font-size: 13px; }
}

@media (max-width: 900px) {
  .customer-shell { width: min(calc(100% - 28px), var(--shell-width)); }
  .customer-header-inner { position: relative; min-height: 66px; flex-wrap: wrap; gap: 0; }
  .customer-brand { min-width: 0; flex: 1; }
  .customer-brand-tagline { display: none; }
  .customer-nav-toggle { display: inline-flex; }
  .customer-nav {
    display: none;
    width: 100%;
    flex: 1 0 100%;
    align-items: stretch;
    padding: 8px 0 14px;
    border-top: 1px solid var(--shell-line);
  }
  .customer-nav.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .customer-nav-link { justify-content: flex-start; padding-inline: 13px; }
  .customer-account { margin: 0; border-radius: 10px; }
  .customer-footer-grid { grid-template-columns: 1fr 1fr; }
  .customer-footer-about { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .customer-brand-logo { width: 47px; height: 43px; flex-basis: 47px; }
  .customer-brand-name { font-size: 17px; }
  .customer-nav.open { grid-template-columns: 1fr; }
  .customer-footer-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 42px 32px; }
  .customer-footer-about { grid-column: auto; }
  .customer-footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .customer-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
