/* ---- Topbar ------------------------------------------- */
.paint-topbar {
  background: #3b3b3b;
  padding: 0.45rem 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  z-index: 101;
}

.paint-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.paint-topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.paint-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.paint-topbar-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.paint-topbar-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.paint-topbar-link:hover {
  color: var(--brand-gold);
}

.paint-topbar-auth {
  display: flex;
  align-items: center;
}

.paint-topbar-user {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.paint-topbar-user-copy {
  display: grid;
  gap: 0.05rem;
  justify-items: end;
  min-width: 0;
}

.paint-topbar-user-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

.paint-topbar-user-name {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  color: #fff;
}

.paint-topbar-user-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.paint-topbar-account-btn,
.paint-topbar-logout-btn {
  appearance: none;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.paint-topbar-account-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
}

.paint-topbar-account-btn:hover,
.paint-topbar-account-btn:focus-visible {
  background: rgba(179, 145, 54, 0.22);
  border-color: rgba(179, 145, 54, 0.7);
  color: #f6d889;
  outline: none;
}

.paint-topbar-logout-btn {
  padding: 0.45rem 0.7rem;
  min-height: 36px;
}

.paint-topbar-logout-btn:hover,
.paint-topbar-logout-btn:focus-visible {
  color: #f6d889;
  outline: none;
}

.paint-topbar-account-btn:disabled,
.paint-topbar-logout-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Topbar sign-in link styled as a subtle pill button */
.paint-topbar-sign-in-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.paint-topbar-sign-in-btn:hover {
  background: rgba(179, 145, 54, 0.22);
  border-color: rgba(179, 145, 54, 0.7);
  color: #f6d889;
  text-decoration: none;
}

.paint-topbar-sign-in-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.paint-topbar-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.paint-topbar a {
  color: inherit;
  text-decoration: none;
}

.paint-topbar a:hover {
  color: var(--brand-gold);
}

@media (max-width: 768px) {
  .paint-topbar {
    padding: 0.6rem 0;
  }

  .paint-topbar-inner {
    align-items: flex-start;
  }

  .paint-topbar-left,
  .paint-topbar-right {
    width: 100%;
  }

  .paint-topbar-right {
    justify-content: flex-start;
    margin-left: 0;
  }

  .paint-topbar-addr {
    display: none;
  }
}

@media (max-width: 480px) {
  .paint-topbar-left,
  .paint-topbar-item,
  .paint-topbar-user,
  .paint-topbar-user-actions {
    width: 100%;
  }

  .paint-topbar-left,
  .paint-topbar-user,
  .paint-topbar-user-actions {
    gap: 0.65rem;
  }

  .paint-topbar-item,
  .paint-topbar-user {
    align-items: flex-start;
  }

  .paint-topbar-auth,
  .paint-topbar-sign-in-btn,
  .paint-topbar-account-btn,
  .paint-topbar-logout-btn {
    width: 100%;
    justify-content: center;
  }
}

.paint-navbar {
  background: rgba(5, 11, 20, 0.96);
}

.paint-navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
}

.paint-navbar-brand-text span {
  color: var(--brand-gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.paint-pill {
  background: var(--brand-gold);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.paint-hero {
  position: relative;
  min-height: 52vh;
  min-height: 52svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, #07172a 0%, #0d2f57 45%, #133f70 100%);
}

.paint-hero--media .paint-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paint-hero::before,
.paint-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.paint-hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(179, 145, 54, 0.22), transparent 70%);
}

.paint-hero::after {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
}

.paint-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.45), rgba(5, 11, 20, 0.82));
  z-index: 2;
}

.paint-hero-content {
  position: relative;
  z-index: 3;
  padding: 7rem 0 5rem;
  color: #fff;
}

.paint-hero-crest {
  display: block;
  height: clamp(96px, 12vw, 148px);
  width: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.55));
}

.paint-badge {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  background: rgba(179, 145, 54, 0.16);
  border: 1px solid rgba(179, 145, 54, 0.42);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 600;
  color: #f6d889;
  margin-bottom: 1rem;
}

.paint-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.75rem;
}

.paint-hero-sub {
  color: rgba(255, 255, 255, 0.86);
  max-width: 700px;
}

.paint-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .paint-hero-content {
    padding: 4.5rem 0 2.5rem;
  }

  .paint-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .paint-hero-actions > .btn-primary[data-quote-trigger],
  .paint-hero-actions > .btn-primary[href^='/request-a-quote'] {
    width: 100%;
    justify-content: center;
    min-height: 3.05rem;
  }
}

.paint-section {
  padding: 3rem 0;
}

.paint-section-alt {
  background: var(--color-light);
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.paint-section h2 {
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
}

.paint-section p {
  color: var(--color-gray-600);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.paint-section-layout {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.paint-section-layout-single {
  grid-template-columns: 1fr;
}

.paint-section-figure {
  margin: 0;
}

.paint-section-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .paint-section-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 2rem;
  }

  .paint-section-layout-single {
    grid-template-columns: 1fr;
  }
}

.paint-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .paint-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.paint-card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.paint-card h3 {
  color: var(--brand-blue-dark);
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.paint-card p {
  margin-bottom: 0;
  color: var(--color-gray-600);
  font-size: 0.93rem;
}

.paint-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-gold);
}

.paint-gallery-shell {
  position: relative;
  min-width: 0;
}

.paint-gallery-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: 2rem;
  min-width: 0;
}

.js-enabled .paint-gallery-track {
  display: flex;
  overflow-x: auto;
  max-width: 100%;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 0.15rem 0.1rem 0.75rem;
}

.js-enabled .paint-gallery-track::-webkit-scrollbar {
  height: 8px;
}

.js-enabled .paint-gallery-track::-webkit-scrollbar-thumb {
  background: rgba(13, 47, 87, 0.45);
  border-radius: 999px;
}

.paint-gallery-item {
  appearance: none;
  border: 0;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.js-enabled .paint-gallery-item {
  min-width: clamp(220px, 33vw, 320px);
  max-width: 340px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.paint-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.paint-gallery-item:hover,
.paint-gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.paint-gallery-item:focus-visible {
  outline: 3px solid rgba(179, 145, 54, 0.45);
  outline-offset: 2px;
}

.paint-gallery-caption {
  display: block;
  padding: 0.85rem 1rem 1rem;
  color: var(--color-gray-700);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.paint-gallery-nav {
  display: none;
}

.js-enabled .paint-gallery-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(13, 47, 87, 0.25);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-blue-dark);
  cursor: pointer;
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 4;
  box-shadow: var(--shadow-sm);
}

.js-enabled .paint-gallery-nav:hover,
.js-enabled .paint-gallery-nav:focus-visible {
  background: var(--brand-blue-dark);
  color: #fff;
}

.js-enabled .paint-gallery-nav-prev {
  left: -14px;
}

.js-enabled .paint-gallery-nav-next {
  right: -14px;
}

@media (max-width: 820px) {
  .js-enabled .paint-gallery-nav {
    display: none;
  }
}

.paint-contact-strip {
  background: var(--midnight);
  color: #fff;
  padding: 1.4rem 0;
}

.paint-contact-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr);
  font-size: 0.94rem;
}

.paint-contact-grid > div {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.paint-contact-grid i {
  flex-shrink: 0;
  margin: 0;
}

.paint-contact-grid a {
  color: #fff;
}

.paint-contact-grid a:hover {
  color: #f6d889;
}



@media (min-width: 900px) {
  .paint-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.paint-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.paint-lightbox[hidden] {
  display: none;
}

.paint-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 20, 0.92);
}

.paint-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.paint-lightbox-figure {
  margin: 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.paint-lightbox-image {
  display: block;
  width: 100%;
  max-height: 78vh;
  max-height: 78dvh;
  object-fit: contain;
  background: #0d0f14;
}

.paint-lightbox-caption {
  display: block;
  padding: 0.55rem 0.75rem 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.paint-lightbox-index {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
  margin: 0.15rem 0 0;
  font-size: 0.87rem;
}

.paint-lightbox-control,
.paint-lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 15, 26, 0.78);
  color: #fff;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.paint-lightbox-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 3;
}

.paint-lightbox-control:hover,
.paint-lightbox-control:focus-visible,
.paint-lightbox-close:hover,
.paint-lightbox-close:focus-visible {
  background: rgba(179, 145, 54, 0.9);
  border-color: rgba(179, 145, 54, 1);
  color: #fff;
}

.paint-lightbox-control:disabled {
  opacity: 0.45;
  cursor: default;
}

.paint-lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .paint-lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-bottom: 64px;
  }

  /* Anchor prev/next to the bottom edge so phones can navigate galleries.
     Hidden on desktop layout above is replaced by a bottom bar layout here. */
  .paint-lightbox-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    z-index: 3;
    width: 48px;
    height: 48px;
  }

  .paint-lightbox-prev {
    left: max(0.85rem, env(safe-area-inset-left));
  }

  .paint-lightbox-next {
    right: max(0.85rem, env(safe-area-inset-right));
  }

  .paint-lightbox-index {
    position: absolute;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.4rem 0.85rem;
    background: rgba(9, 15, 26, 0.55);
    border-radius: 999px;
  }

  .paint-lightbox-close {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .paint-card,
  .paint-gallery-item,
  .paint-lightbox-control,
  .paint-lightbox-close {
    transition: none;
  }

  .js-enabled .paint-gallery-track {
    scroll-behavior: auto;
  }
}


/* Home Page Enhancements */

.paint-hero-lead {
  max-width: 52rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.paint-hero-facts {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.paint-hero-fact {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.paint-hero-fact i {
  width: 1.1rem;
  height: 1.1rem;
  color: #f6d889;
  flex-shrink: 0;
}

.paint-section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.paint-section-heading-left {
  margin-bottom: 1rem;
}

.paint-customer-portal {
  background: #f6f8fb;
}

.paint-customer-portal [hidden] {
  display: none !important;
}

.paint-portal-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.paint-portal-panel {
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  height: 100%;
  align-content: start;
}

.paint-portal-eyebrow,
.paint-portal-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(179, 145, 54, 0.12);
  border: 1px solid rgba(179, 145, 54, 0.25);
  color: var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paint-portal-panel h3 {
  margin-bottom: 0;
  line-height: 1.15;
}

.paint-portal-copy {
  margin-bottom: 0;
}

.paint-portal-account-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.paint-portal-identity {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.paint-portal-identity h3,
.paint-portal-identity p {
  overflow-wrap: anywhere;
}

.paint-portal-account-state {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 47, 87, 0.08);
  color: var(--brand-blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paint-portal-account-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.paint-portal-meta-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background: var(--color-gray-50);
}

.paint-portal-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paint-portal-meta-value {
  color: var(--color-gray-900);
  font-weight: 600;
}

.paint-portal-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-gray-700);
  display: grid;
  gap: 0.5rem;
}

.paint-portal-status {
  margin: 0;
  font-weight: 600;
  color: var(--brand-blue-dark);
}

.paint-portal-status.is-error {
  color: #b42318;
}

.paint-portal-public {
  margin-bottom: 1.25rem;
}

.paint-portal-lead {
  max-width: 42rem;
  color: var(--color-gray-700);
}

.paint-portal-protected-wrap.is-loading .paint-portal-grid {
  opacity: 0.96;
}

.paint-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.paint-portal-actions-auth {
  margin-top: 0;
}

.paint-portal-actions-auth .btn {
  min-width: 10.5rem;
}

/* Logout button — visually secondary/destructive (not gold primary) */
.paint-portal-actions-auth .btn-logout {
  background: transparent;
  color: var(--color-danger);
  border-color: var(--color-danger);
  min-width: 9rem;
}

.paint-portal-actions-auth .btn-logout:hover {
  background: var(--color-danger);
  color: #fff;
}

.paint-portal-status-compact {
  font-size: 0.9rem;
  font-weight: 500;
}

.paint-billpay-form {
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
}

.paint-portal-panel-invoice {
  grid-column: 1 / -1;
}

.paint-billpay-label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-gray-800);
}

.paint-billpay-input {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 6px;
  font-size: 1rem;
  background: var(--color-gray-50);
}

.paint-billpay-input:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.paint-portal-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-gray-600);
}

.paint-portal-billpay-checklist {
  margin-top: 0;
}

.paint-portal-actions-billpay .btn {
  min-width: 11rem;
}

.paint-portal-invoice-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.paint-portal-badge-status {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(13, 47, 87, 0.08);
  color: var(--brand-blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paint-portal-badge-status.is-paid {
  background: rgba(3, 105, 81, 0.12);
  color: #047857;
}

.paint-portal-badge-status.is-closed {
  background: rgba(179, 145, 54, 0.12);
  color: var(--brand-gold);
}

.paint-portal-status-banner {
  padding: 0.8rem 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(13, 47, 87, 0.12);
  background: var(--color-gray-50);
}

.paint-portal-status-banner.is-success {
  background: rgba(3, 105, 81, 0.08);
  border-color: rgba(3, 105, 81, 0.16);
  color: #047857;
}

.paint-portal-status-banner.is-warning {
  background: rgba(179, 145, 54, 0.12);
  border-color: rgba(179, 145, 54, 0.2);
  color: #9a6700;
}

.paint-portal-invoice-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.paint-portal-invoice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.paint-portal-invoice-lines,
.paint-portal-invoice-total-card {
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background: var(--color-gray-50);
}

.paint-portal-invoice-lines {
  padding: 1rem 1.1rem;
}

.paint-portal-invoice-total-card {
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.paint-portal-invoice-section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.paint-portal-invoice-section-head h4 {
  margin: 0;
  font-size: 1rem;
}

.paint-portal-charge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.paint-portal-charge-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-gray-200);
  color: var(--color-gray-800);
}

.paint-portal-charge-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.paint-portal-charge-item span,
.paint-portal-charge-item strong {
  overflow-wrap: anywhere;
}

.paint-portal-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-gray-700);
}

.paint-portal-total-row strong {
  color: var(--color-gray-900);
}

.paint-portal-total-row-balance {
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-gray-200);
  font-size: 1.08rem;
  font-weight: 700;
}

@media (min-width: 900px) {
  .paint-portal-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

@media (max-width: 767px) {
  .paint-topbar-user-copy {
    display: none;
  }

  .paint-portal-account-header {
    flex-direction: column;
  }

  .paint-portal-account-meta {
    grid-template-columns: 1fr;
  }

  .paint-portal-invoice-head {
    flex-direction: column;
    align-items: start;
  }

  .paint-portal-invoice-meta {
    grid-template-columns: 1fr;
  }

  .paint-portal-invoice-layout {
    grid-template-columns: 1fr;
  }

  .paint-portal-actions-auth .btn {
    width: 100%;
  }

  .paint-portal-actions-auth .btn-logout {
    width: 100%;
  }

  .paint-portal-actions-billpay .btn {
    width: 100%;
  }
}

/* ---- Portal Avatar / Initials -------------------------------- */
.paint-portal-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, #1a4d85 100%);
  border: 2px solid rgba(179, 145, 54, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(13, 47, 87, 0.22);
  user-select: none;
}

.paint-portal-account-header-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
}

/* ---- Portal panel fade-in ------------------------------------ */
@keyframes portalPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.paint-portal-signed-in:not([hidden]) {
  animation: portalPanelIn 0.3s ease-out;
}

/* ---- Loading spinner ----------------------------------------- */
@keyframes portalSpin {
  to { transform: rotate(360deg); }
}

.paint-portal-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(13, 47, 87, 0.18);
  border-top-color: var(--brand-blue-dark);
  border-radius: 50%;
  animation: portalSpin 0.75s linear infinite;
  flex-shrink: 0;
}

.paint-portal-loading-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.paint-portal-loading-inner p {
  margin: 0;
}


.paint-kicker {
  margin: 0 0 0.35rem;
  color: var(--brand-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.paint-tabs {
  margin-top: 0.75rem;
}

.paint-tabs-nav {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-gray-200);
  margin-bottom: 1.5rem;
}

.paint-tab-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.95rem 0.15rem;
  color: var(--color-gray-600);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.paint-tab-btn i {
  width: 1rem;
  height: 1rem;
}

.paint-tab-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.paint-tab-btn:hover,
.paint-tab-btn:focus-visible,
.paint-tab-btn.active {
  color: var(--brand-blue-dark);
}

.paint-tab-btn.active::after {
  background: var(--brand-gold);
}

.paint-tab-btn:focus-visible {
  outline: 2px solid rgba(179, 145, 54, 0.4);
  outline-offset: 3px;
}

.paint-tab-pane {
  animation: fadeIn 0.28s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.paint-tab-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .paint-tab-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: stretch;
  }
}

.paint-tab-text h3 {
  color: var(--brand-blue-dark);
  margin-bottom: 0.9rem;
}

.paint-features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.paint-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--brand-blue-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.paint-features-list li i {
  width: 1rem;
  height: 1rem;
  color: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.paint-map-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-md);
}

.paint-map-card-chip {
  align-self: flex-start;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f9e7aa;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paint-map-card-body {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(8, 18, 33, 0.78);
  color: #fff;
}

.paint-map-card-body h4 {
  color: #fff;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.paint-map-card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.paint-map-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f6d889;
  font-weight: 700;
}

.paint-map-card-link i {
  width: 1rem;
  height: 1rem;
}

.paint-advantages-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 840px) {
  .paint-advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.paint-advantage-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 251, 0.96));
  border: 1px solid var(--color-gray-200);
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.paint-advantage-head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.paint-advantage-card h4 {
  margin: 0;
  color: var(--brand-blue-dark);
  font-size: 1.1rem;
}

.paint-advantage-icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.paint-advantage-card p {
  margin: 0;
}

.paint-steps {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .paint-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .paint-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.paint-step {
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 1.15rem;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.paint-step-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.paint-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--brand-blue-dark);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.paint-step-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(179, 145, 54, 0.14);
  color: var(--brand-gold);
}

.paint-step-icon i {
  width: 1.2rem;
  height: 1.2rem;
}

.paint-step h3 {
  margin: 0 0 0.65rem;
  color: var(--brand-blue-dark);
  font-size: 1.08rem;
}

.paint-step p {
  margin: 0;
  font-size: 0.95rem;
}

.paint-faq-promo-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 980px) {
  .paint-faq-promo-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 2rem;
  }
}

.paint-faq {
  display: grid;
  gap: 0.8rem;
}

.paint-faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.paint-faq-item h3 {
  margin: 0;
}

.paint-faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--brand-blue-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.paint-faq-question i {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.paint-faq-question:hover,
.paint-faq-question:focus-visible {
  background: var(--color-light);
}

.paint-faq-answer {
  padding: 0 1.1rem 1rem;
  color: var(--color-gray-600);
}

.paint-faq-answer p {
  margin: 0;
}

.paint-promo-card {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  background: linear-gradient(180deg, #08192d, #102947);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.paint-promo-media {
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
}

.paint-promo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.paint-promo-body {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
}

.paint-promo-body h3 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
}

.paint-promo-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.paint-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.paint-reviews-shell {
  position: relative;
}

.paint-reviews-track {
  display: grid;
  gap: 1rem;
}

.js-enabled .paint-reviews-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.2rem 0.1rem 0.75rem;
}

.paint-review-card {
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.js-enabled .paint-review-card {
  min-width: clamp(250px, 40vw, 360px);
  max-width: 380px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.paint-review-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.paint-review-meta h3 {
  margin: 0 0 0.2rem;
  color: var(--brand-blue-dark);
  font-size: 1rem;
}

.paint-review-meta p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

.paint-review-stars {
  display: inline-flex;
  gap: 0.2rem;
  color: var(--brand-gold);
}

.paint-review-stars i {
  width: 0.95rem;
  height: 0.95rem;
}

.paint-review-quote {
  margin: 0;
  color: var(--color-gray-600);
  line-height: 1.75;
  font-size: 0.95rem;
}

.paint-rail-nav {
  display: none;
}

.js-enabled .paint-rail-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(13, 47, 87, 0.25);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-blue-dark);
  cursor: pointer;
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 4;
  box-shadow: var(--shadow-sm);
}

.js-enabled .paint-rail-nav:hover,
.js-enabled .paint-rail-nav:focus-visible {
  background: var(--brand-blue-dark);
  color: #fff;
}

.js-enabled .paint-rail-nav-prev {
  left: -14px;
}

.js-enabled .paint-rail-nav-next {
  right: -14px;
}

@media (max-width: 820px) {
  .js-enabled .paint-rail-nav {
    display: none;
  }
}

.paint-brand-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paint-brand-logo {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: transform 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
}

@media (min-width: 700px) {
  .paint-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .paint-brand-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .paint-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Source-Faithful Home Page Overrides */

.paint-body-home {
  background: #f5f5f5;
}

.paint-body-home .paint-section {
  padding: 4.5rem 0;
}

.paint-body-home .paint-section h2,
.paint-body-home .paint-home-faq h2 {
  color: #313131;
}

.paint-body-home .paint-section p.text-muted {
  color: #555;
}

.paint-body-home .paint-section-heading {
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
  margin-bottom: 2.25rem;
}

.paint-body-home .paint-section-heading-left {
  justify-items: start;
  text-align: left;
}

.paint-body-home .paint-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 0;
}

.paint-body-home .paint-section-divider {
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, #177de4 0, #177de4 72%, rgba(23, 125, 228, 0.35) 72%, rgba(23, 125, 228, 0.35) 100%);
  border-radius: 999px;
}

.paint-body-home .paint-tabs {
  overflow: hidden;
}

.paint-body-home .paint-tabs-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 620px;
  margin: 0 auto 1rem;
  border-bottom: 0;
}

.paint-body-home .paint-tab-btn {
  min-height: 120px;
  padding: 1.25rem 1rem 1rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.6rem;
  color: #171717;
  background: transparent;
  border-radius: 0;
  position: relative;
}

.paint-body-home .paint-tab-btn:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 14px;
  width: 1px;
  background: #ddd;
}

.paint-body-home .paint-tab-btn::after {
  height: 3px;
  bottom: 0;
  background: transparent;
}

.paint-body-home .paint-tab-btn.active::after {
  background: #177de4;
}

.paint-body-home .paint-tab-btn span:last-child {
  font-size: 1.05rem;
  font-weight: 700;
}

.paint-body-home .paint-tab-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  color: #111;
}

.paint-body-home .paint-tab-btn.active .paint-tab-icon,
.paint-body-home .paint-tab-btn:hover .paint-tab-icon {
  color: #4aa1ff;
}

.paint-body-home .paint-tab-icon svg {
  width: 100%;
  height: 100%;
}

.paint-body-home .paint-tab-pane {
  animation-duration: 0.18s;
}

.paint-about-panel,
.paint-advantages-panel {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.paint-about-panel {
  display: grid;
  grid-template-columns: 1fr;
  background: #383838;
}

@media (min-width: 980px) {
  .paint-about-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.paint-about-copy {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  overflow: hidden;
}

.paint-about-copy h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 0 0 0.6rem;
}

.paint-panel-caption {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.paint-panel-divider {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 46px;
  height: 4px;
  background: #177de4;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.paint-ghost-word {
  position: absolute;
  left: 1.25rem;
  right: 0;
  bottom: -1.2rem;
  z-index: 0;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.05);
  font-weight: 800;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

/* Decorative watermark; on phones it overlaps real list/card content because
   the panels are too short to absorb its 5rem+ height. Hide it below 768px.
   !important wins over the more specific .paint-body-about .paint-ghost-word
   and .paint-service-detail-main .paint-ghost-word overrides. */
@media (max-width: 767px) {
  .paint-ghost-word {
    display: none !important;
  }
}

.paint-about-text,
.paint-about-text p,
.paint-about-copy .paint-feature-list {
  position: relative;
  z-index: 2;
}

.paint-about-text p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.72;
}

.paint-feature-list {
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.paint-feature-list li {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: #fff;
  font-weight: 700;
}

.paint-feature-list--dark li {
  color: var(--color-gray-700);
}

.paint-feature-list--dark .paint-feature-bullet {
  box-shadow: 0 0 0 4px rgba(18, 102, 196, 0.12);
}

.paint-feature-bullet {
  width: 0.8rem;
  height: 0.8rem;
  display: inline-flex;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #177de4;
  box-shadow: 0 0 0 3px rgba(23, 125, 228, 0.16);
  flex-shrink: 0;
}

.paint-about-media {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
  min-height: 320px;
  background: #202020;
}

.paint-about-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.paint-about-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  height: 5rem;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #177de4;
  color: #fff;
  box-shadow: 0 14px 28px rgba(23, 125, 228, 0.35);
  transition: transform 0.18s ease, background 0.18s ease;
}

.paint-about-play svg {
  width: 2rem;
  height: 2rem;
}

.paint-about-media:hover .paint-about-play,
.paint-about-media:focus-visible .paint-about-play {
  transform: translate(-50%, -50%) scale(1.05);
  background: #3192f3;
}

.paint-advantages-panel {
  padding: clamp(2rem, 5vw, 4rem);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.paint-advantages-panel .paint-ghost-word {
  color: rgba(255, 255, 255, 0.06);
  bottom: -0.75rem;
  left: 2rem;
}

.paint-advantages-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem 3rem;
}

@media (min-width: 900px) {
  .paint-advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.paint-advantage-item {
  display: grid;
  grid-template-columns: 2.9rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.paint-advantage-item h4 {
  color: #fff;
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
  line-height: 1.14;
}

.paint-advantage-item p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  line-height: 1.7;
}

.paint-advantage-mark {
  width: 2.4rem;
  height: 2.4rem;
  color: #2d93ff;
}

.paint-advantage-mark svg {
  width: 100%;
  height: 100%;
}

.paint-home-process {
  background: #f5f5f5;
}

.paint-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem 1rem;
  align-items: start;
}

@media (min-width: 700px) {
  .paint-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .paint-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.2rem;
  }
}

.paint-process-step {
  text-align: center;
}

.paint-process-step h3 {
  color: #313131;
  margin: 1rem 0 0;
  font-size: 1.3rem;
  line-height: 1.22;
}

.paint-process-art {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paint-process-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 214px;
  height: 214px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.035);
}

.paint-process-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.04);
  font-weight: 800;
  z-index: 0;
}

.paint-process-images {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.paint-process-image {
  position: absolute;
  object-fit: contain;
}

.paint-process-image-1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.paint-process-step:first-child .paint-process-image-1 {
  width: 105px;
  margin-left: -15px;
}

.paint-process-step:first-child .paint-process-image-2,
.paint-process-step:first-child .paint-process-image-3,
.paint-process-step:first-child .paint-process-image-4 {
  width: 18px;
  left: 164px;
}

.paint-process-step:first-child .paint-process-image-2 { top: 80px; }
.paint-process-step:first-child .paint-process-image-3 { top: 102px; }
.paint-process-step:first-child .paint-process-image-4 { top: 125px; }

.paint-process-step:nth-child(2) .paint-process-image-1 {
  width: 145px;
}

.paint-process-step:nth-child(2) .paint-process-image-2 {
  width: 36px;
  top: 142px;
  left: 160px;
}

.paint-process-step:nth-child(3) .paint-process-image-1 {
  width: 170px;
}

.paint-process-step:nth-child(4) .paint-process-image-1 {
  width: 145px;
}

.paint-home-faq {
  background: #ffffff;
}

.paint-body-home .paint-faq-promo-grid {
  align-items: start;
}

.paint-body-home .paint-faq {
  gap: 0.75rem;
}

.paint-body-home .paint-faq-item {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.paint-body-home .paint-faq-question {
  position: relative;
  padding: 1.15rem 1.15rem 1.15rem 1.35rem;
  background: #fff;
  color: #3c3c3c;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px #e9e9e9;
}

.paint-body-home .paint-faq-item.active .paint-faq-question::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #177de4;
}

.paint-body-home .paint-faq-answer {
  padding: 1rem 0 1rem 0;
}

.paint-body-home .paint-faq-answer p {
  color: #4e4e4e;
  line-height: 1.72;
}

.paint-faq-indicator {
  font-size: 1.5rem;
  color: #2f2f2f;
  line-height: 1;
}

.paint-promo-panel {
  position: relative;
  overflow: hidden;
  min-height: 530px;
}

.paint-promo-media,
.paint-promo-image {
  width: 100%;
  height: 100%;
}

.paint-promo-image {
  object-fit: cover;
  display: block;
}

.paint-promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 2rem 2rem 2.2rem;
  background: linear-gradient(180deg, rgba(11, 17, 27, 0.08), rgba(11, 17, 27, 0.72));
}

.paint-promo-copy {
  max-width: 320px;
  color: #fff;
}

.paint-promo-copy h3 {
  margin: 0 0 1.35rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.paint-promo-secondary {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.9rem;
  justify-items: start;
}

.paint-promo-secondary a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.paint-promo-secondary i {
  flex-shrink: 0;
  margin: 0;
}

.paint-google-reviews-section {
  padding-top: 1.8rem;
}

.paint-google-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.paint-google-shell > * {
  min-width: 0;
}

@media (min-width: 1100px) {
  .paint-google-shell {
    grid-template-columns: 245px minmax(0, 1fr);
  }
}

.paint-google-summary {
  text-align: center;
  padding-top: 2.8rem;
  max-width: 100%;
}

.paint-google-summary-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.paint-google-summary-link:hover,
.paint-google-summary-link:focus-visible,
.paint-google-summary-link:focus {
  cursor: pointer;
}

.paint-google-summary-title {
  display: block;
  font-size: 2.1rem;
  line-height: 1.1;
  color: #111;
  margin-bottom: 0.7rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.paint-google-summary-copy {
  margin: 0.75rem 0 0.55rem;
  color: #2e2e2e;
  font-weight: 500;
}

.paint-google-summary-logo img {
  width: 118px;
  height: auto;
}

.paint-rating-stars {
  display: inline-flex;
  gap: 0.08rem;
  align-items: center;
}

.paint-rating-stars img {
  width: 17px;
  height: 17px;
}

.paint-rating-stars-lg img {
  width: 30px;
  height: 30px;
}

.paint-google-rail {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.paint-google-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.35rem 0.25rem 0.75rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.paint-google-track::-webkit-scrollbar {
  display: none;
}

.paint-google-review-card {
  flex: 0 0 275px;
  min-height: 188px;
  background: #f4f4f4;
  border: 1px solid #f4f4f4;
  border-radius: 12px;
  padding: 1.15rem;
  position: relative;
}

.paint-google-review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.paint-google-platform {
  position: absolute;
  top: 0.1rem;
  right: 0;
}

.paint-google-platform img {
  width: 20px;
  height: 20px;
}

.paint-google-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.paint-google-profile {
  min-width: 0;
}

.paint-google-name {
  color: #111;
  font-size: 0.96rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.paint-google-date {
  color: #6f6f6f;
  font-size: 0.84rem;
}

.paint-google-review-card .paint-rating-stars {
  margin: 0.8rem 0 0.65rem;
}

.paint-google-review-text {
  color: #202020;
  line-height: 1.58;
  font-size: 0.95rem;
}

.paint-google-read-more {
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
  padding: 0.7rem 0 0;
  font-size: 0.9rem;
  cursor: pointer;
}

.paint-google-read-more:hover,
.paint-google-read-more:focus-visible {
  color: rgba(0, 0, 0, 0.85);
  text-decoration: underline;
}

.paint-google-read-more-static {
  display: inline-block;
  min-height: 1.5rem;
}

.paint-google-nav {
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.paint-google-nav.paint-rail-nav-prev {
  left: -14px;
}

.paint-google-nav.paint-rail-nav-next {
  right: -14px;
}

.paint-google-verified {
  text-align: right;
  margin-top: 0.65rem;
}

.paint-google-verified span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
  background: #157351;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.paint-body-home .paint-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid #e6e6e6;
  border-top: 1px solid #e6e6e6;
  background: #fff;
}

@media (min-width: 700px) {
  .paint-body-home .paint-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .paint-body-home .paint-brand-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.paint-brand-tile {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.paint-body-home .paint-brand-logo {
  max-width: 100%;
  max-height: 64px;
  filter: none;
  opacity: 1;
}

.paint-brand-tile:hover .paint-brand-logo {
  transform: none;
}

.paint-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.paint-quote-modal[hidden] {
  display: none;
}

.paint-quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 18, 0.68);
}

.paint-quote-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  background: #fff;
  box-shadow: 0 30px 80px rgba(11, 20, 40, 0.35);
  overflow: hidden;
}

.paint-quote-modal-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 280px;
  padding: 0 1.5rem 0 3.6rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #4692f4;
  color: #0f1724;
  font-weight: 700;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
}

.paint-quote-modal-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #10161f;
}

.paint-quote-modal-ribbon i {
  width: 1rem;
  height: 1rem;
}

.paint-quote-modal-close {
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #4692f4;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.paint-quote-modal-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.paint-quote-modal-main {
  padding: 1.85rem 2.6rem 2.3rem;
}

.paint-quote-modal-main h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: #20242a;
}

.paint-quote-modal-intro {
  margin: 1rem 0 1.2rem;
  max-width: 48rem;
  color: #4e5965;
  font-size: 1rem;
  line-height: 1.7;
}

.paint-quote-form-grid {
  display: grid;
  gap: 1.4rem;
}

.paint-quote-group h3,
.paint-quote-notes h3 {
  margin: 0 0 0.9rem;
  color: #171a20;
  font-size: 1rem;
  font-weight: 800;
}

.paint-quote-field-stack {
  display: grid;
  gap: 1rem;
}

.paint-quote-form input,
.paint-quote-form select,
.paint-quote-form textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid #f0f0f0;
  background: #f8f8f8;
  color: #1c2129;
  border-radius: 0;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.paint-quote-form input::placeholder,
.paint-quote-form textarea::placeholder {
  color: #98a0aa;
}

.paint-quote-form input:focus,
.paint-quote-form select:focus,
.paint-quote-form textarea:focus {
  outline: none;
  border-color: #4692f4;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(70, 146, 244, 0.12);
}

.paint-quote-form textarea {
  min-height: 14rem;
  resize: vertical;
}

.paint-quote-notes {
  margin-top: 1.5rem;
  max-width: 27rem;
  margin-left: auto;
}

.paint-quote-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.8rem;
}

.paint-quote-submit {
  min-width: 178px;
  min-height: 78px;
  justify-content: center;
}

.paint-quote-form .paint-quote-submit.btn-primary {
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(179, 145, 54, 0.35), 0 2px 8px rgba(0, 0, 0, 0.12);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.paint-quote-form .paint-quote-submit.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(156, 126, 46, 0.42), 0 3px 10px rgba(0, 0, 0, 0.14);
}

.paint-quote-disclaimer {
  margin: 0;
  color: #505863;
  font-size: 0.98rem;
  line-height: 1.65;
}

.paint-quote-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dbe7fb;
  background: #f5f9ff;
  color: #1f355f;
  font-weight: 600;
}

.paint-quote-status.is-ok {
  border-color: #bfd9c2;
  background: #edf9ef;
  color: #20572b;
}

.paint-quote-status.is-error {
  border-color: #efc3c3;
  background: #fff3f3;
  color: #8a2323;
}

.paint-quote-modal-art {
  display: none;
  background: #0d1727;
}

.paint-quote-modal-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
}

.paint-quote-modal-open {
  overflow: hidden;
}

.paint-hero-actions .btn,
.paint-service-question-actions .btn,
.paint-promo-copy .btn,
.paint-about-schedule-actions .btn,
.paint-services-offerings-intro .btn,
.paint-about-advantages-intro .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 920px) {
  .paint-quote-modal-shell {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .paint-quote-modal-art {
    display: block;
  }

  .paint-quote-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 919px) {
  .paint-quote-modal-main {
    padding: 1.6rem 1.25rem 1.8rem;
  }

  .paint-quote-modal-ribbon {
    position: static;
    clip-path: none;
    min-width: 0;
    justify-content: flex-start;
    padding: 0.85rem 1.25rem;
    height: auto;
  }

  .paint-quote-modal-close {
    top: 0.35rem;
  }

  .paint-quote-notes {
    max-width: none;
    margin-left: 0;
  }

  .paint-quote-submit {
    min-width: 0;
    min-height: 0;
    width: 100%;
  }
}

/* —— Full Request a Quote page (NOR-252) —— */
.paint-body-quote-page {
  background: #f3f5f8;
}

.paint-quote-page-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.paint-quote-page-hero > .container {
  width: 100%;
}

.paint-quote-page-hero-media {
  position: absolute;
  inset: 0;
}

.paint-quote-page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.paint-quote-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 18, 32, 0.88) 0%, rgba(10, 18, 32, 0.45) 55%, rgba(13, 47, 87, 0.35) 100%);
}

.paint-quote-page-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 4rem) 0;
  max-width: 42rem;
}

.paint-quote-page-hero-content h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.15rem, 4.5vw, 3.15rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.paint-quote-page-hero-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.65;
}

.paint-quote-page-shell {
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* Restore the floating-card overlap effect only when the hero is tall enough
   to absorb the negative margin without clipping the hero lead text. */
@media (min-width: 768px) {
  .paint-quote-page-shell {
    margin-top: -3rem;
  }
}

.paint-quote-page-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

@media (min-width: 1040px) {
  .paint-quote-page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 2rem;
  }
}

.paint-quote-page-card {
  background: #fff;
  box-shadow: 0 4px 40px rgba(15, 28, 52, 0.08);
  border: 1px solid rgba(15, 38, 72, 0.06);
}

.paint-quote-page-card-main {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem) clamp(2rem, 4vw, 2.75rem);
}

.paint-quote-page-aside {
  display: grid;
  gap: 1.25rem;
}

.paint-quote-aside-block {
  background: #fff;
  border: 1px solid rgba(15, 38, 72, 0.06);
  box-shadow: 0 4px 28px rgba(15, 28, 52, 0.06);
  overflow: hidden;
}

.paint-quote-aside-block figure {
  margin: 0;
}

.paint-quote-aside-block img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.paint-quote-aside-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.paint-quote-aside-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: #0d2f57;
}

.paint-quote-aside-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4e5965;
}

.paint-quote-trust-list {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.25rem 1.35rem;
}

.paint-quote-trust-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #2a3340;
  margin-bottom: 0.75rem;
}

.paint-quote-trust-list li:last-child {
  margin-bottom: 0;
}

.paint-quote-trust-list i,
.paint-quote-trust-list svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: #4692f4;
  margin-top: 0.12rem;
}

.paint-quote-page-card-main .paint-quote-page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: #131920;
}

.paint-quote-page-intro {
  margin: 0 0 1.75rem;
  color: #505863;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 40rem;
}

.paint-quote-page-form .paint-quote-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e8ecf1;
}

.paint-quote-page-form .paint-quote-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.paint-quote-page-form .paint-quote-section h2 {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d2f57;
}

.paint-quote-page-form .paint-quote-fields {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .paint-quote-page-form .paint-quote-fields--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .paint-quote-page-form .paint-quote-fields--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.paint-quote-page-form label.paint-quote-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2a3340;
  margin-bottom: 0.35rem;
}

.paint-quote-page-form input,
.paint-quote-page-form select,
.paint-quote-page-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e6eb;
  background: #fafbfc;
  color: #1c2129;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.paint-quote-page-form input::placeholder,
.paint-quote-page-form textarea::placeholder {
  color: #98a0aa;
}

.paint-quote-page-form input:focus,
.paint-quote-page-form select:focus,
.paint-quote-page-form textarea:focus {
  outline: none;
  border-color: #4692f4;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(70, 146, 244, 0.12);
}

.paint-quote-page-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.paint-quote-photo-drop {
  border: 2px dashed #c8d4e0;
  border-radius: 6px;
  padding: 1.25rem;
  background: #f8fafc;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.paint-quote-photo-drop:focus-within {
  border-color: #4692f4;
  background: #f5f9ff;
}

.paint-quote-photo-drop input[type='file'] {
  font-size: 0.92rem;
}

.paint-quote-photo-hint {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #5c6674;
}

.paint-quote-photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.paint-quote-photo-tile {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.paint-quote-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.paint-quote-photo-remove {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(10, 18, 32, 0.85);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Expand the touch target to 44x44 without changing the visual size. */
.paint-quote-photo-remove::before {
  content: "";
  position: absolute;
  inset: -6px;
}

.paint-quote-photo-remove:hover,
.paint-quote-photo-remove:focus-visible {
  background: rgba(180, 40, 40, 0.95);
  outline: none;
}

.paint-quote-page-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.paint-quote-page-submit {
  min-width: 200px;
  min-height: 52px;
  font-weight: 700;
}

.paint-quote-page-form .paint-quote-page-submit.btn-primary {
  box-shadow: 0 6px 22px rgba(179, 145, 54, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.paint-quote-page-form .paint-quote-page-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dbe7fb;
  background: #f5f9ff;
  color: #1f355f;
  font-weight: 600;
}

.paint-quote-page-form .paint-quote-page-status.is-ok {
  border-color: #bfd9c2;
  background: #edf9ef;
  color: #20572b;
}

.paint-quote-page-form .paint-quote-page-status.is-error {
  border-color: #efc3c3;
  background: #fff3f3;
  color: #8a2323;
}

.paint-quote-page-success {
  max-width: min(40rem, 100%);
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid #bfd9c2;
  box-shadow: 0 8px 36px rgba(32, 87, 43, 0.12);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: max(1rem, env(safe-area-inset-bottom));
  text-align: center;
}

.paint-quote-page-success[hidden] {
  display: none !important;
}

.paint-quote-success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: #2d8a44;
}

.paint-quote-page-success h2 {
  margin: 0 0 0.65rem;
  color: #1a4728;
  font-size: 1.45rem;
}

.paint-quote-page-success p {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: #3d4f42;
  line-height: 1.65;
}

.paint-quote-page-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.paint-media-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.paint-media-modal[hidden] {
  display: none;
}

.paint-media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 15, 0.82);
}

.paint-media-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  overflow: hidden;
  border-radius: 12px;
}

@media (min-width: 900px) {
  .paint-media-modal-dialog {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }
}

.paint-media-modal-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.paint-media-modal-body {
  padding: 2rem;
}

.paint-media-modal-body h3 {
  color: #202020;
  margin: 0 0 0.8rem;
  font-size: 2rem;
}

.paint-media-modal-body p {
  color: #555;
  line-height: 1.72;
}

.paint-media-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.paint-media-modal-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(9, 17, 27, 0.78);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.paint-media-modal-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .paint-google-nav {
    display: none;
  }

  .paint-body-home .paint-tab-btn {
    min-height: 102px;
  }

  .paint-body-home .paint-tab-btn span:last-child {
    font-size: 0.95rem;
  }

  .paint-process-number {
    font-size: 5.4rem;
  }
}

@media (max-width: 700px) {
  .paint-body-home .paint-section {
    padding: 3.5rem 0;
  }

  .paint-body-home .paint-tabs-nav {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .paint-body-home .paint-tab-btn {
    min-height: 0;
    padding: 1rem 1rem 1.05rem;
  }

  .paint-body-home .paint-tab-btn:not(:last-child)::before {
    top: auto;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .paint-about-panel,
  .paint-advantages-panel {
    min-height: 0;
  }

  .paint-google-summary {
    padding-top: 0;
  }

  .paint-google-track {
    padding-inline: 0;
  }

  .paint-google-review-card {
    flex-basis: min(84vw, 300px);
  }

  .paint-google-verified {
    text-align: left;
  }

  .paint-service-question-actions,
  .paint-about-schedule-actions,
  .paint-quote-page-form-footer,
  .paint-quote-page-success-actions,
  .paint-media-modal-actions,
  .paint-contact-form-actions {
    align-items: stretch;
  }

  .paint-advantage-item h4 {
    font-size: 1.35rem;
    line-height: 1.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .paint-about-play,
  .paint-google-read-more {
    transition: none;
  }
}

/* About Us Source-Faithful Layout */

.paint-accent-text {
  color: #4692f4;
}


.paint-body-about .paint-hero--compact {
  min-height: clamp(260px, 30vw, 340px);
}

.paint-body-about .paint-hero--compact::before,
.paint-body-about .paint-hero--compact::after {
  display: none;
}

.paint-body-about .paint-hero-overlay {
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.52), rgba(8, 12, 22, 0.78));
}

.paint-hero-content-compact {
  text-align: center;
  padding: 4.9rem 0 3.25rem;
}

.paint-body-about .paint-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.85rem;
}

.paint-body-about .paint-hero-content-compact h1 {
  margin-bottom: 0;
}

.paint-body-about .paint-hero-sub {
  margin: 0.75rem auto 0;
  max-width: 42rem;
}

.paint-body-about .paint-hero-actions {
  justify-content: center;
  margin-top: 1.2rem;
}

.paint-about-reputation {
  background: #fff;
}

.paint-about-story {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.paint-about-story-media {
  margin: 0;
}

.paint-about-story-collage {
  position: relative;
  max-width: 33rem;
  margin: 0 auto;
  min-height: 17rem;
}

.paint-about-story-backdrop,
.paint-about-story-foreground {
  display: block;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.paint-about-story-backdrop {
  width: 74%;
  filter: grayscale(1);
  opacity: 0.95;
  border-radius: 0;
}

.paint-about-story-foreground {
  position: absolute;
  inset: 2.2rem 0 0 auto;
  width: 72%;
  border-radius: 0;
  border: 6px solid #fff;
}

.paint-about-story-copy h2 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.02;
  color: #1f2328;
  max-width: 28rem;
}

.paint-about-story-copy .paint-section-divider {
  margin: 1.15rem 0 1.35rem;
}

.paint-about-story-text p:last-child {
  margin-bottom: 0;
}

.paint-about-pillars {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.paint-about-pillar h3 {
  font-size: 1.35rem;
  color: #20242a;
  margin-bottom: 0.95rem;
}

.paint-about-pillar p {
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.75;
}

.paint-about-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.paint-about-values li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--color-gray-700);
  font-size: 0.96rem;
  font-weight: 500;
}

.paint-about-values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-left: 2px solid #4d97f5;
  border-bottom: 2px solid #4d97f5;
  transform: rotate(-45deg);
}

.paint-about-advantages {
  background: linear-gradient(90deg, #22262d 0%, #343941 47%, #4b4f58 100%);
  color: #fff;
  overflow: hidden;
}

.paint-about-advantages-shell {
  position: relative;
  display: grid;
  background: linear-gradient(90deg, rgba(24, 27, 32, 0.88) 0%, rgba(42, 46, 54, 0.83) 100%);
}

.paint-body-about .paint-ghost-word {
  position: absolute;
  inset: auto auto 0 2rem;
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

.paint-about-advantages-intro,
.paint-about-adv-card {
  position: relative;
  z-index: 1;
}

.paint-about-advantages-intro {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.paint-about-advantages-label {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 0.5rem;
}

.paint-about-advantages .paint-about-advantages-title {
  color: #fff;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.04;
  max-width: 20rem;
}

.paint-about-advantages-intro .paint-section-divider {
  margin: 1rem 0 1.2rem;
}

.paint-about-advantages-intro p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 21rem;
}

.paint-about-advantages-intro .btn {
  margin-top: 0.55rem;
}

.paint-about-advantages-grid {
  display: grid;
}

.paint-about-adv-card {
  padding: 2rem 1.5rem;
  min-height: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.paint-about-adv-card h3 {
  color: #fff;
  font-size: 1.38rem;
  line-height: 1.18;
  margin: 1rem 0 0.8rem;
  max-width: 14rem;
}

.paint-about-adv-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.72;
}

.paint-about-adv-icon {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  color: #4d97f5;
}

.paint-about-adv-icon svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 1.9;
}

.paint-about-gallery .paint-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.paint-body-about .paint-about-gallery .paint-gallery-track {
  gap: 1rem;
}

.paint-body-about .paint-about-gallery .paint-gallery-item {
  border-radius: 0;
  box-shadow: none;
}

.paint-body-about .paint-about-gallery .paint-gallery-item img {
  filter: grayscale(1);
  aspect-ratio: 1 / 1;
}

.paint-body-about .paint-about-gallery .paint-gallery-caption {
  display: none;
}

.paint-about-schedule {
  background: #fff;
}

.paint-about-schedule-shell {
  position: relative;
  text-align: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 0 0.5rem;
}

.paint-about-schedule-shell .paint-ghost-word {
  left: 50%;
  bottom: 0.2rem;
  transform: translateX(-50%);
  color: rgba(28, 32, 39, 0.05);
}

.paint-about-schedule-title {
  color: #101419;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 0.7rem;
}

.paint-about-schedule-copy > p {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.3rem;
}

.paint-about-schedule-phone {
  display: inline-block;
  font-size: clamp(1.7rem, 2.3vw, 2.25rem);
  font-weight: 700;
  color: #151a20;
  margin-bottom: 1.1rem;
}

.paint-about-schedule-phone:hover {
  color: #4692f4;
}

.paint-about-schedule-actions {
  display: flex;
  justify-content: center;
}

.paint-about-schedule-actions .btn {
  min-width: 12rem;
}

@media (min-width: 960px) {
  .paint-about-story {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .paint-about-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .paint-about-advantages-shell {
    grid-template-columns: minmax(280px, 0.9fr) repeat(3, minmax(0, 1fr));
  }

  .paint-about-advantages-intro {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 100%;
    padding: 2.2rem 1.55rem;
  }

  .paint-about-adv-card {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 959px) {
  .paint-about-story-copy h2,
  .paint-about-advantages-title,
  .paint-about-schedule-title {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .paint-hero-content-compact {
    padding: 4.25rem 0 2.9rem;
  }

  .paint-body-about .paint-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .paint-about-story-collage {
    min-height: 14rem;
  }

  .paint-about-story-backdrop {
    width: 78%;
  }

  .paint-about-story-foreground {
    inset: 1.9rem 0 0 auto;
    width: 74%;
  }

  .paint-body-about .paint-ghost-word {
    left: 1rem;
    font-size: clamp(3rem, 18vw, 5.5rem);
  }

  .paint-about-schedule-shell .paint-ghost-word {
    left: 50%;
  }
}

/* Services Source-Faithful Layout */

.btn-outline-dark {
  background: transparent;
  color: #1a1f26;
  border: 1px solid #1a1f26;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: #1a1f26;
  color: #fff;
}

.paint-body-services .paint-hero--compact {
  min-height: clamp(250px, 30vw, 330px);
}

.paint-body-services .paint-hero--compact::before,
.paint-body-services .paint-hero--compact::after {
  display: none;
}

.paint-body-services .paint-hero-overlay {
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.52), rgba(8, 12, 22, 0.78));
}

.paint-body-services .paint-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.85rem;
}

.paint-body-services .paint-hero-content-compact h1 {
  margin-bottom: 0;
}

.paint-body-services .paint-hero-sub {
  margin: 0.75rem auto 0;
  max-width: 42rem;
}

.paint-body-services .paint-hero-actions {
  justify-content: center;
  margin-top: 1.2rem;
}

.paint-services-cards-section {
  background: #fff;
}

.paint-services-card-grid {
  display: grid;
  gap: 1.35rem;
  max-width: 56rem;
  margin: 0 auto;
}

.paint-services-card {
  display: block;
  text-decoration: none;
  background: #f3f3f3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paint-services-card:hover,
.paint-services-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.paint-services-card-media {
  margin: 0;
  overflow: hidden;
}

.paint-services-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.12 / 0.78;
  object-fit: cover;
}

.paint-services-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  text-align: center;
}

.paint-services-card-body h2 {
  color: #2c3137;
  font-size: clamp(1.5rem, 2.1vw, 2.15rem);
  line-height: 1.05;
  margin-bottom: 0.9rem;
}

.paint-services-card-body p {
  margin: 0;
  color: var(--color-gray-600);
  line-height: 1.7;
  font-size: 0.98rem;
}

.paint-services-offerings {
  background: #fff;
}

.paint-services-offerings-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.paint-services-label {
  font-size: 0.98rem;
  font-weight: 600;
  color: #21262d;
  margin-bottom: 0.4rem;
}

.paint-services-offerings-title {
  color: #2c3137;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  line-height: 0.98;
  max-width: 20rem;
}

.paint-services-offerings-intro .paint-section-divider {
  margin: 1.1rem 0 1.25rem;
}

.paint-services-offerings-intro > p:last-of-type {
  max-width: 22rem;
}

.paint-services-columns {
  display: grid;
  gap: 1.5rem;
}

.paint-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.78rem;
}

.paint-services-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #20252d;
  font-size: 0.99rem;
  font-weight: 600;
  line-height: 1.55;
}

.paint-services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-left: 2px solid #4d97f5;
  border-bottom: 2px solid #4d97f5;
  transform: rotate(-45deg);
}

@media (min-width: 900px) {
  .paint-services-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paint-services-offerings-grid {
    grid-template-columns: minmax(270px, 0.9fr) minmax(0, 1.5fr);
    gap: 2.5rem;
  }

  .paint-services-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
  }
}

@media (max-width: 700px) {
  .paint-body-services .paint-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .paint-services-offerings-title {
    max-width: none;
  }
}

.paint-body-service-detail .paint-hero--compact {
  min-height: 360px;
}

.paint-body-service-detail .paint-hero--compact::before,
.paint-body-service-detail .paint-hero--compact::after {
  background: transparent;
}

.paint-body-service-detail .paint-hero-overlay {
  background: linear-gradient(180deg, rgba(6, 18, 34, 0.18) 0%, rgba(6, 18, 34, 0.76) 100%);
}

.paint-body-service-detail .paint-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.12em;
}

.paint-body-service-detail .paint-hero-content-compact h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
}

.paint-body-service-detail .paint-hero-sub {
  color: rgba(255, 255, 255, 0.84);
  max-width: 36rem;
}

.paint-body-service-detail .paint-hero-actions {
  justify-content: flex-start;
}

.paint-service-detail-shell {
  background: #fff;
}

.paint-service-detail-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.paint-service-detail-sidebar {
  display: grid;
  gap: 1.25rem;
}

.paint-service-side-nav,
.paint-service-side-card {
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.paint-service-side-nav {
  overflow: hidden;
}

.paint-service-side-nav h2,
.paint-service-side-card h3 {
  margin: 0;
  color: var(--brand-blue-dark);
}

.paint-service-side-nav h2 {
  padding: 1.15rem 1.2rem 1rem;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--color-gray-200);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 32, 39, 0.03), transparent);
}

.paint-service-side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.paint-service-side-nav li + li {
  border-top: 1px solid var(--color-gray-200);
}

.paint-service-side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--color-gray-700);
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.paint-service-side-link::after {
  content: '›';
  color: var(--brand-blue);
  font-size: 1.05rem;
  line-height: 1;
}

.paint-service-side-link:hover,
.paint-service-side-link:focus-visible {
  background: rgba(18, 102, 196, 0.06);
  color: var(--brand-blue-dark);
  padding-left: 1.35rem;
}

.paint-service-side-link.active {
  background: linear-gradient(90deg, rgba(18, 102, 196, 0.12), rgba(18, 102, 196, 0.02));
  color: var(--brand-blue-dark);
  border-left: 4px solid var(--brand-blue);
  padding-left: calc(1.2rem - 4px);
}

.paint-service-side-card {
  padding: 1.6rem 1.4rem;
}

.paint-service-contact-items {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.paint-service-contact-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--color-gray-600);
  font-size: 0.95rem;
  line-height: 1.5;
}

.paint-service-contact-items i {
  color: var(--brand-blue);
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.paint-service-contact-items a {
  color: inherit;
  transition: color 0.15s ease;
}

.paint-service-contact-items a:hover,
.paint-service-contact-items a:focus-visible {
  color: var(--brand-blue);
}

.paint-service-question-card {
  background: linear-gradient(180deg, #0f2947 0%, #0b1f36 100%);
  border-color: rgba(11, 31, 54, 0.45);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 36px rgba(9, 31, 56, 0.18);
}

.paint-service-question-card h3 {
  color: inherit;
  margin: 0 0 0.65rem;
}

.paint-service-question-card p {
  color: inherit;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.paint-service-question-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.paint-service-question-actions .btn {
  width: 100%;
  justify-content: center;
}

.paint-service-detail-main {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.paint-service-detail-main .paint-ghost-word {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  bottom: auto;
  color: rgba(28, 32, 39, 0.04);
  font-size: clamp(4rem, 10vw, 8rem);
  z-index: -1;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .paint-service-detail-main .paint-ghost-word {
    top: -2.5rem;
    left: 2rem;
    transform: none;
  }
}

.paint-service-detail-figure {
  margin: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(9, 31, 56, 0.12);
  border: 1px solid rgba(16, 41, 71, 0.08);
}

.paint-service-detail-image {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
  display: block;
}

.paint-service-detail-copy {
  color: var(--color-gray-600);
}

.paint-service-detail-copy h2 {
  margin: 0 0 1rem;
  color: #202020;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.paint-service-detail-copy .paint-section-divider {
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, #177de4 0, #177de4 72%, rgba(23, 125, 228, 0.35) 72%, rgba(23, 125, 228, 0.35) 100%);
  border-radius: 999px;
  margin: 0.85rem 0 1.5rem;
}

.paint-service-detail-copy p {
  margin: 0 0 1rem;
  line-height: 1.82;
}

.paint-service-detail-checks {
  margin: 1.55rem 0 1.7rem;
  display: grid;
  gap: 0.9rem;
}

.paint-service-detail-checks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.paint-service-detail-checks li {
  position: relative;
  color: var(--color-gray-700);
  font-weight: 600;
}

.paint-service-detail-block {
  margin-top: 1.6rem;
}

.paint-service-detail-block h3 {
  margin: 0 0 0.95rem;
  color: var(--brand-blue-dark);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.14;
}

@media (min-width: 980px) {
  .paint-service-detail-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 2.25rem;
  }

  .paint-service-detail-sidebar {
    position: sticky;
    top: 1.5rem;
  }
}

@media (max-width: 979px) {
  .paint-body-service-detail .paint-hero-actions {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .paint-body-service-detail .paint-hero--compact {
    min-height: 330px;
  }

  .paint-service-side-card,
  .paint-service-side-nav h2 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .paint-service-side-link {
    padding: 0.95rem 1rem;
  }

  .paint-service-detail-image {
    aspect-ratio: 1.35 / 1;
  }

  .paint-service-detail-copy h2 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.paint-body-contacts {
  background: #f5f5f5;
}

.paint-body-contacts .paint-hero--compact {
  min-height: 280px;
}

.paint-body-contacts .paint-hero--compact::before,
.paint-body-contacts .paint-hero--compact::after {
  background: transparent;
}

.paint-body-contacts .paint-hero-overlay {
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.2) 0%, rgba(8, 18, 34, 0.72) 100%);
}

.paint-body-contacts .paint-hero-content-compact {
  text-align: center;
  align-items: center;
}

.paint-body-contacts .paint-hero-content-compact h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
}


.paint-contact-shell {
  background: #f5f5f5;
}

.paint-contact-grid-page {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.paint-contact-form-card {
  background: #fff;
  border-radius: 0;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.paint-body-contacts .paint-contact-form-card .paint-section-heading {
  justify-items: start;
  text-align: left;
  margin-bottom: 1.6rem;
}

.paint-body-contacts .paint-contact-form-card .paint-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  color: #2c3137;
}

.paint-contact-form {
  display: grid;
  gap: 1rem;
}

.paint-contact-form-row {
  display: grid;
  gap: 1rem;
}

.paint-contact-form input,
.paint-contact-form textarea {
  width: 100%;
  border: 1px solid #efefef;
  background: #f6f6f6;
  color: #51606f;
  padding: 1rem 1rem;
  font: inherit;
  border-radius: 0;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.paint-contact-form textarea {
  min-height: 230px;
  resize: vertical;
}

.paint-contact-form input::placeholder,
.paint-contact-form textarea::placeholder {
  color: #9aa4af;
}

.paint-contact-form input:focus,
.paint-contact-form textarea:focus {
  background: #fff;
  border-color: #5b9df0;
  box-shadow: 0 0 0 3px rgba(18, 102, 196, 0.12);
}

.paint-contact-status {
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dbe7fb;
  background: #f5f9ff;
  color: #1f355f;
  font-weight: 600;
}
.paint-contact-status.is-ok {
  border-color: #bfd9c2;
  background: #edf9ef;
  color: #20572b;
}
.paint-contact-status.is-error {
  border-color: #efc3c3;
  background: #fff3f3;
  color: #8a2323;
}

.paint-contact-form-actions {
  padding-top: 0.25rem;
}

.paint-contact-form-actions .btn {
  min-width: 162px;
  justify-content: center;
}

.paint-contact-form-note {
  margin: 0;
  color: var(--color-gray-600);
  font-size: 0.92rem;
}

.paint-contact-details-panel {
  position: relative;
  display: grid;
  gap: 1.8rem;
  align-content: start;
  padding: 1.3rem 0.5rem;
}

.paint-contact-details-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.08) 1px, transparent 1.4px),
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.04) 1px, transparent 1.4px);
  background-size: 9px 9px, 13px 13px;
  background-position: 0 0, 24px 28px;
  opacity: 0.5;
  mask-image: radial-gradient(circle at center, black 22%, transparent 74%);
  pointer-events: none;
}

.paint-contact-detail-item {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.paint-contact-detail-icon {
  width: 2rem;
  height: 2rem;
  color: #2d93ff;
}

.paint-contact-detail-icon svg {
  width: 100%;
  height: 100%;
}

.paint-contact-detail-item h3 {
  margin: 0;
  color: #2c3137;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.12;
}

.paint-contact-detail-copy {
  display: grid;
  gap: 0.2rem;
  color: #656f7b;
  font-size: 1.02rem;
  line-height: 1.65;
}

.paint-contact-detail-copy a {
  color: inherit;
}

.paint-contact-detail-copy a:hover {
  color: var(--brand-blue);
}

@media (min-width: 960px) {
  .paint-contact-grid-page {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 2.75rem;
  }

  .paint-contact-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .paint-body-contacts .paint-hero--compact {
    min-height: 240px;
  }

  .paint-contact-form-card {
    padding: 1.5rem;
  }

  .paint-contact-form textarea {
    min-height: 200px;
  }
}

/* Legal pages */
.paint-body-legal .paint-hero-sub {
  max-width: 52rem;
}

.paint-legal-shell {
  background:
    radial-gradient(circle at top right, rgba(179, 145, 54, 0.12), transparent 26rem),
    linear-gradient(180deg, #f5f7fb 0%, #eef2f6 100%);
}

.paint-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.paint-legal-toc {
  position: sticky;
  top: 7rem;
  padding: 1.4rem 1.25rem;
  border: 1px solid rgba(13, 47, 87, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 55px rgba(10, 23, 40, 0.08);
  backdrop-filter: blur(10px);
}

.paint-legal-toc-label {
  margin: 0 0 0.85rem;
  color: var(--brand-blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.paint-legal-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  counter-reset: legal-toc;
}

.paint-legal-toc-list li {
  counter-increment: legal-toc;
}

.paint-legal-toc-list a {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  color: var(--color-gray-700);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
}

.paint-legal-toc-list a::before {
  content: counter(legal-toc) ".";
  color: var(--brand-gold);
  font-weight: 700;
}

.paint-legal-toc-list a:hover {
  color: var(--brand-blue-dark);
}

.paint-legal-content {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(13, 47, 87, 0.12);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(10, 23, 40, 0.08);
}

.paint-legal-effective {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(179, 145, 54, 0.12);
  color: var(--brand-blue-dark);
  font-size: 0.86rem;
  font-weight: 600;
}

.paint-legal-effective svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--brand-gold);
}

.paint-legal-intro {
  margin: 0 0 2rem;
  color: var(--color-gray-700);
  font-size: 1rem;
  line-height: 1.8;
}

.paint-legal-section {
  margin-bottom: 2rem;
  scroll-margin-top: 6rem;
}

.paint-legal-section:last-child {
  margin-bottom: 0;
}

.paint-legal-section h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(13, 47, 87, 0.1);
  color: var(--brand-blue-dark);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.paint-legal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(13, 47, 87, 0.08);
  color: var(--brand-blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

.paint-legal-section p,
.paint-legal-section li {
  color: var(--color-gray-700);
  font-size: 0.98rem;
  line-height: 1.8;
}

.paint-legal-section p {
  margin: 0 0 1rem;
}

.paint-legal-section ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.paint-legal-section li + li {
  margin-top: 0.4rem;
}

.paint-legal-section a {
  color: var(--brand-blue);
  text-decoration: underline;
}

.paint-legal-section a:hover {
  color: var(--brand-gold);
}

.paint-legal-callout,
.paint-legal-contact-card {
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
}

.paint-legal-callout {
  margin: 1rem 0;
  border: 1px solid rgba(179, 145, 54, 0.35);
  background: linear-gradient(135deg, rgba(179, 145, 54, 0.12), rgba(255, 255, 255, 0.85));
}

.paint-legal-contact-card {
  border: 1px solid rgba(13, 47, 87, 0.12);
  background: rgba(13, 47, 87, 0.04);
}

.paint-legal-contact-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .paint-legal-layout {
    grid-template-columns: 1fr;
  }

  .paint-legal-toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .paint-legal-content {
    padding: 1.25rem;
    border-radius: 1.1rem;
  }

  .paint-legal-section h2 {
    align-items: flex-start;
  }
}
