:root {
  color-scheme: light;
  --blue: #0539b7;
  --blue-hot: #1267ff;
  --blue-deep: #06266f;
  --ink: #071733;
  --aqua: #8ff2ea;
  --foam: #dffcff;
  --mist: #eef7fb;
  --white: #ffffff;
  --line: rgba(7, 23, 51, 0.14);
  --shadow: 0 22px 60px rgba(2, 19, 65, 0.22);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--mist);
  color: var(--ink);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 18, 60, 0.8) 0%, rgba(5, 57, 183, 0.58) 42%, rgba(2, 18, 60, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 18, 60, 0.24), rgba(2, 18, 60, 0.58)),
    url("pressure-washing-background.png") center / cover no-repeat;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-shell::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.2), transparent 22rem),
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 18px);
  opacity: 0.42;
}

.site-shell::after {
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background:
    radial-gradient(70px 28px at 12% 72%, var(--mist) 98%, transparent 100%),
    radial-gradient(110px 46px at 34% 78%, var(--mist) 98%, transparent 100%),
    radial-gradient(95px 38px at 58% 74%, var(--mist) 98%, transparent 100%),
    radial-gradient(120px 50px at 84% 76%, var(--mist) 98%, transparent 100%),
    linear-gradient(180deg, transparent 0 48%, var(--mist) 49%);
}

.topbar {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 18px;
  color: var(--white);
}

.landing-topbar {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: start;
  padding-top: clamp(28px, 5vw, 56px);
}

.admin-link {
  grid-column: 3;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.admin-logo {
  width: 32px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.admin-link:hover,
.admin-link:focus-visible {
  background: rgba(143, 242, 234, 0.22);
}

.topbar > *,
.hero > *,
.page-grid > *,
.gallery-wrap > * {
  min-width: 0;
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark,
.burst-button {
  width: 70px;
  height: 42px;
  border: 0;
  color: var(--white);
  background: transparent;
  padding: 0;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.brand-mark img,
.burst-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.burst-button {
  border-radius: 50%;
}

.burst-button:focus-visible,
.nav-link:focus-visible,
.admin-link:focus-visible,
.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

.nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  min-height: 44px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  color: var(--white);
}

.nav-link .logo-icon {
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
}

.icon-nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: start;
  gap: clamp(16px, 5vw, 48px);
}

.icon-link {
  position: relative;
  width: clamp(150px, 18vw, 190px);
  min-height: 118px;
  padding: 12px;
  display: grid;
  grid-template-rows: minmax(66px, 1fr) auto;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(2, 18, 60, 0.28);
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(0.86rem, 1.3vw, 1.08rem);
  overflow: visible;
}

.icon-link img {
  width: min(132px, 100%);
  height: 66px;
  transform-origin: center;
  overflow: visible;
  opacity: 0.95;
  object-fit: contain;
}

.icon-link span {
  display: block;
  width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(5, 57, 183, 0.66);
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 12px rgba(6, 38, 111, 0.55);
  pointer-events: none;
  line-height: 1.1;
}

.icon-link:hover img,
.icon-link:focus-visible img {
  opacity: 0.9;
}

.hero,
.page-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 30px 0 70px;
  color: var(--white);
}

.hero-simple {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 170px);
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding-top: clamp(40px, 8vw, 106px);
  gap: clamp(24px, 4vw, 42px);
}

.hero-centered {
  width: min(900px, 100%);
  display: grid;
  justify-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(2, 18, 60, 0.52), rgba(5, 57, 183, 0.18));
  box-shadow: 0 26px 70px rgba(2, 18, 60, 0.24);
  backdrop-filter: blur(5px);
}

.hero-copy h1,
.page-title h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
}

.stacked-name {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 3vw, 32px);
  align-items: center;
}

.vertical-letters {
  display: grid;
  gap: 12px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.78;
  font-weight: 900;
}

.amp-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.amp {
  font-size: clamp(3.8rem, 9vw, 8rem);
  line-height: 0.7;
  font-weight: 800;
}

.headline {
  display: grid;
  gap: clamp(10px, 1.6vw, 18px);
  font-weight: 900;
}

.hero-copy p,
.page-title p {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.hero-copy .service-line {
  margin-top: 24px;
  color: var(--aqua);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy .hero-subcopy {
  max-width: 620px;
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.bright-button {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: 0 16px 36px rgba(2, 19, 65, 0.22);
}

.glass-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(10px);
}


.service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 34px 0 0;
  color: var(--aqua);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
}

.service-row span::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 12px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.08em;
}

.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.quick-panel {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.schedule-card .quick-panel {
  padding: clamp(24px, 4vw, 34px);
}

.schedule-card .quick-panel > .burst-button {
  width: 76px;
  height: 76px;
  color: var(--blue);
}

.quick-panel h2,
.form-panel h2,
.gallery-section h2 {
  margin: 0;
  font-size: 1.35rem;
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(5, 57, 183, 0.18);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 14px 30px rgba(5, 57, 183, 0.26);
}

.button .logo-icon {
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.button.secondary {
  background: var(--aqua);
  color: var(--blue-deep);
}

.button.danger {
  background: #b91c1c;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.18);
}

.button.danger:hover,
.button.danger:focus-visible {
  box-shadow: 0 14px 30px rgba(185, 28, 28, 0.26);
}

.button.bright-button {
  background: var(--white);
  color: var(--blue-deep);
}

.button.glass-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 18, 60, 0.76) 0 360px, rgba(238, 247, 251, 0.9) 360px),
    linear-gradient(90deg, rgba(5, 57, 183, 0.44), rgba(2, 18, 60, 0.12)),
    url("pressure-washing-background.png") center top / cover fixed no-repeat;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: 360px;
  border-radius: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(143, 242, 234, 0.28) 0 7rem, transparent 7.1rem),
    repeating-linear-gradient(103deg, rgba(255, 255, 255, 0.16) 0 3px, transparent 3px 16px);
  opacity: 0.8;
  pointer-events: none;
}

.page-title {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 34px;
  color: var(--white);
}

.page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: min(240px, 58vw);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), rgba(255, 255, 255, 0.82), transparent);
  box-shadow: 0 0 28px rgba(143, 242, 234, 0.56);
}

.page-title h1 {
  font-size: clamp(2.7rem, 7vw, 6rem);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.42fr);
  gap: 24px;
  padding: 0 0 64px;
}

.form-panel,
.info-panel,
.gallery-section {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(5, 57, 183, 0.1);
  backdrop-filter: blur(6px);
}

.form-panel::before,
.info-panel::before,
.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--aqua), var(--blue-hot), var(--aqua));
}

.form-panel {
  padding: clamp(20px, 4vw, 34px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #526173;
  font-weight: 800;
}

.check-field input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}

.honeypot {
  display: none;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(5, 57, 183, 0.32);
  background: var(--white);
}

textarea {
  min-height: 116px;
  resize: vertical;
}

.service-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.service-pick {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fcff;
  color: var(--blue-deep);
  font-weight: 800;
  cursor: pointer;
}

.info-panel {
  padding: 24px;
  align-self: start;
}

.info-list {
  display: grid;
  gap: 18px;
  margin: 22px 0;
}

.info-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(7, 23, 51, 0.08);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(143, 242, 234, 0.14), rgba(255, 255, 255, 0.78));
}

.info-item .burst-button {
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.info-item p {
  margin: 3px 0 0;
  color: #526173;
  line-height: 1.45;
}

.gallery-wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
}

.gallery-section {
  padding: clamp(18px, 3vw, 30px);
}

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

.section-note {
  margin: 6px 0 0;
  color: #526173;
  line-height: 1.45;
}

.compact-button {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.work-card {
  position: relative;
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fcff;
  box-shadow: 0 12px 28px rgba(5, 57, 183, 0.08);
}

.work-card:hover {
  box-shadow: 0 18px 38px rgba(5, 57, 183, 0.15);
}

.work-card img,
.work-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.72) 0 1.8rem, transparent 1.9rem),
    repeating-linear-gradient(102deg, rgba(255, 255, 255, 0.38) 0 3px, transparent 3px 16px),
    linear-gradient(135deg, rgba(143, 242, 234, 0.5), rgba(5, 57, 183, 0.18)),
    #eff8fb;
  color: var(--blue);
}

.work-placeholder .burst-button {
  color: var(--blue);
}

.work-card h3 {
  margin: 14px 14px 4px;
  font-size: 1.05rem;
}

.work-card p {
  margin: 0 14px 16px;
  color: #526173;
  line-height: 1.45;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.admin-grid {
  align-items: start;
}

.single-column {
  grid-template-columns: 1fr;
}

.form-success,
.form-error {
  margin: 14px 0 0;
  padding: 11px 12px;
  border-radius: 6px;
  font-weight: 800;
}

.form-success {
  background: rgba(143, 242, 234, 0.4);
  color: var(--blue-deep);
}

.form-error {
  background: #fff0f0;
  color: #8f1111;
}

.photo-edit-form {
  display: grid;
  gap: 12px;
  margin: 14px 14px 12px;
}

.photo-edit-form textarea {
  min-height: 88px;
}

.photo-edit-form .button {
  width: 100%;
}

.delete-photo-form {
  margin: 0 14px 16px;
}

.delete-photo-form .button {
  width: 100%;
}

.empty-card {
  min-height: 0;
}

.quote-form {
  display: grid;
  gap: 24px;
}

.quote-items {
  display: grid;
  gap: 14px;
}

.quote-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(70px, 0.32fr) minmax(90px, 0.48fr) minmax(120px, 0.58fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(7, 23, 51, 0.1);
  border-radius: 8px;
  background: #f8fcff;
}

.quote-item-remove {
  width: 46px;
  height: 46px;
  align-self: end;
  justify-self: center;
  border: 1px solid rgba(185, 28, 28, 0.22);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #fff0f0;
  color: #8f1111;
  cursor: pointer;
  font-size: 1.2rem;
}

.quote-item-remove:hover,
.quote-item-remove:focus-visible {
  background: #b91c1c;
  color: var(--white);
}

.quote-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--blue-deep);
  color: var(--white);
  font-size: 1.18rem;
}

.quote-list-panel {
  display: grid;
  gap: 24px;
}

.quote-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.quote-list-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(7, 23, 51, 0.1);
  border-radius: 8px;
  background: #f8fcff;
  text-decoration: none;
}

.quote-list-item span {
  color: #526173;
}

.quote-user-block {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.quote-page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.quote-document,
.quote-response-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(5, 57, 183, 0.1);
}

.quote-document {
  padding: clamp(20px, 4vw, 36px);
}

.quote-response-panel {
  padding: 24px;
}

.quote-document::before,
.quote-response-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--aqua), var(--blue-hot), var(--aqua));
}

.quote-document-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.quote-eyebrow {
  display: block;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-document-header h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.quote-document-header p,
.quote-meta-grid p,
.quote-table p,
.quote-notes p,
.quote-response-panel p {
  margin: 0;
  color: #526173;
  line-height: 1.45;
}

.quote-status {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(5, 57, 183, 0.12);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.quote-status-accepted {
  background: rgba(20, 160, 92, 0.16);
  color: #116b43;
}

.quote-status-declined {
  background: rgba(185, 28, 28, 0.14);
  color: #8f1111;
}

.quote-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.quote-meta-grid > div {
  padding: 14px;
  border: 1px solid rgba(7, 23, 51, 0.1);
  border-radius: 8px;
  background: #f8fcff;
}

.quote-table-wrap {
  overflow-x: auto;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
}

.quote-table th,
.quote-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.quote-table th:not(:first-child),
.quote-table td:not(:first-child) {
  text-align: right;
}

.quote-summary {
  width: min(360px, 100%);
  margin: 24px 0 0 auto;
  display: grid;
  gap: 10px;
}

.quote-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.quote-summary-total {
  padding-top: 12px;
  border-top: 2px solid var(--blue);
  color: var(--blue-deep);
  font-size: 1.28rem;
}

.quote-notes {
  margin-top: 26px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(143, 242, 234, 0.18);
}

.quote-notes h3,
.quote-response-panel h2 {
  margin: 0 0 12px;
}

.quote-response-panel form {
  display: grid;
  gap: 14px;
}

.quote-response-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.quote-contact-card {
  margin-top: 22px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fcff;
}

.quote-response-comment {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(143, 242, 234, 0.18);
}

.customer-form {
  align-self: start;
}

.customer-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.customer-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(7, 23, 51, 0.1);
  border-radius: 8px;
  background: #f8fcff;
}

.customer-card p {
  margin: 0;
  color: #526173;
  line-height: 1.45;
}

.customer-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.customer-card-head span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(5, 57, 183, 0.1);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.customer-note {
  padding: 10px;
  border-radius: 6px;
  background: rgba(143, 242, 234, 0.16);
}

.customer-events {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #526173;
  line-height: 1.4;
}

.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  background:
    linear-gradient(180deg, rgba(2, 18, 60, 0.82) 0 300px, rgba(238, 247, 251, 0.96) 300px),
    url("pressure-washing-background.png") center top / cover fixed no-repeat;
}

.app-topbar,
.app-main {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
}

.app-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--white);
}

.app-main {
  padding: 28px 0 56px;
}

.app-title-block {
  color: var(--white);
  margin-bottom: 22px;
}

.app-title-block h1 {
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 4.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.app-title-block p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.45;
}

.app-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 22px;
  align-items: start;
}

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

.app-action,
.install-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(5, 57, 183, 0.1);
}

.app-action {
  min-height: 160px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.app-action::before,
.install-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--aqua), var(--blue-hot), var(--aqua));
}

.app-action span {
  font-size: 1.15rem;
  font-weight: 900;
}

.app-action strong {
  font-size: clamp(2rem, 8vw, 3.8rem);
  color: var(--blue-deep);
  line-height: 1;
}

.app-action em {
  color: #526173;
  font-style: normal;
  line-height: 1.35;
}

.install-panel {
  margin-top: 18px;
  padding: 22px;
}

.install-panel h2 {
  margin: 0 0 10px;
}

.install-panel p,
.install-panel li {
  color: #526173;
  line-height: 1.45;
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: start;
  }

  .landing-topbar {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .admin-link {
    grid-column: 2;
    grid-row: 1;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: flex-start;
  }

  .landing-topbar .icon-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: stretch;
    gap: 10px;
  }

  .icon-link {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    min-height: 104px;
  }

  .icon-link img {
    width: min(118px, 100%);
    height: 58px;
  }

  .hero,
  .page-grid,
  .quote-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

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

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

  .quote-item-row,
  .quote-meta-grid {
    grid-template-columns: 1fr;
  }

  .app-login,
  .app-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    width: min(100% - 32px, 358px);
  }

  .hero,
  .page-title,
  .page-grid,
  .gallery-wrap,
  .quote-page {
    width: min(100% - 48px, 342px);
  }

  .brand {
    max-width: 100%;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nav-link {
    justify-content: center;
    padding-inline: 8px;
    font-size: 0.95rem;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }

  .nav-link .logo-icon {
    width: 34px;
    height: 20px;
    flex: 0 0 auto;
  }

  .admin-link {
    width: 40px;
    height: 40px;
  }

  .admin-logo {
    width: 30px;
    height: 20px;
  }

  .brand-mark,
  .burst-button {
    width: 58px;
    height: 36px;
  }

  .stacked-name {
    grid-template-columns: 1fr;
  }

  .vertical-letters {
    grid-template-columns: repeat(3, max-content);
    gap: 8px;
  }

  .form-grid,
  .service-buttons,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .quote-document-header,
  .quote-response-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-title h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .hero-copy .service-line,
  .hero-copy .hero-subcopy {
    max-width: 280px;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions .button {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    min-height: 0;
    padding: 14px 16px;
    text-align: center;
    white-space: normal;
    line-height: 1.12;
  }

  .hero-actions .button .logo-icon {
    width: min(190px, 100%);
    height: 76px;
    max-width: 100%;
    object-fit: contain;
  }

  .page-title p {
    max-width: 270px;
  }
}
