:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #172033;
  --muted: #5f6b7a;
  --primary: #2457d6;
  --primary-hover: #1d46ad;
  --primary-soft: #e8efff;
  --success: #16845b;
  --success-soft: #e8f7ef;
  --amber: #b7791f;
  --amber-soft: #fff3db;
  --cyan: #087990;
  --cyan-soft: #e5f8fb;
  --violet: #6d5bd0;
  --violet-soft: #f0edff;
  --border: #dce3ec;
  --border-strong: #c8d2df;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.06);
  --shadow-md: 0 10px 28px rgb(16 24 40 / 0.11);
  --shadow-lg: 0 22px 55px rgb(16 24 40 / 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgb(36 87 214 / 0.13), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgb(8 121 144 / 0.12), transparent 24rem),
    linear-gradient(135deg, #f8fbff 0%, #eef6f7 48%, #fffaf1 100%);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgb(246 248 251 / 0.7), rgb(246 248 251 / 0.96)),
    url("/assets/img/page-bg.webp") center / cover;
  opacity: 0.32;
  pointer-events: none;
}

::selection {
  background: #cfe0ff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main.container {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 0 auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.main-nav ul {
  display: flex;
  gap: 0.35rem;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a.active,
.main-nav a:hover {
  background: #e9f0ff;
  color: var(--primary);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #12a0b7);
  color: #ffffff;
  box-shadow: 0 8px 18px rgb(36 87 214 / 0.24);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-small {
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 2.5rem;
}

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

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-header h1,
.section-heading h2,
.documents-panel h2,
.final-cta h2 {
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 1.15rem;
  font-size: 3.25rem;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-trust span,
.quick-request-head span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.34rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.quick-request-card {
  display: grid;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.quick-request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.quick-request-head p {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.quick-request-head span {
  background: #eaf7f1;
  border-color: #cdeadd;
  color: var(--success);
  white-space: nowrap;
}

.quick-request-card label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.quick-request-card input,
.quick-request-card select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-request-card input:focus,
.quick-request-card select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(36 87 214 / 0.14);
}

.quick-request-note {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1rem 0 4rem;
}

.stat-card,
.workflow-card,
.direction-card,
.catalog-card,
.product-list li,
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-sm);
}

.stat-card {
  padding: 1.15rem;
}

.stat-card strong {
  display: block;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.stat-card:first-child strong::after {
  content: "+";
  color: var(--success);
}

.stat-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 600;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.documents-panel h2,
.final-cta h2 {
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.section-heading p:not(.eyebrow),
.documents-panel p,
.final-cta p {
  color: var(--muted);
}

.compact-heading {
  max-width: none;
}

.workflow-section,
.directions-section,
.documents-section,
.final-cta {
  margin: 0 0 4rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.workflow-card {
  min-height: 220px;
  padding: 1.1rem;
  cursor: default;
}

.direction-card:hover,
.catalog-card:hover,
.product-list li:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-soft), var(--cyan-soft));
  color: var(--primary);
  font-weight: 800;
}

.workflow-card h3,
.direction-card h3,
.card h3,
.catalog-card h3,
.product-list strong {
  color: var(--text);
}

.workflow-card h3,
.direction-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.workflow-card p,
.direction-card p,
.product-list p,
.card p {
  color: var(--muted);
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.directions-section {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.78);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgb(255 255 255 / 0.9), rgb(232 239 255 / 0.56));
  box-shadow: var(--shadow-md);
}

.direction-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 286px;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: rgb(255 255 255 / 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.direction-card:hover,
.direction-card:focus-visible,
.catalog-card:hover,
.catalog-card:focus-visible {
  text-decoration: none;
}

.direction-card:focus-visible,
.catalog-card:focus-visible {
  outline: 3px solid rgb(36 87 214 / 0.22);
  outline-offset: 3px;
}

.tile-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
}

.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.direction-card:hover .tile-image img,
.direction-card:focus-visible .tile-image img,
.catalog-card:hover .tile-image img,
.catalog-card:focus-visible .tile-image img {
  transform: scale(1.04);
}

.tile-content {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.1rem;
}

.section-action {
  margin-top: 1.25rem;
}

.documents-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 2rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgb(255 255 255 / 0.94) 0%, rgb(255 255 255 / 0.86) 50%, rgb(232 247 239 / 0.5) 100%),
    url("/assets/img/documents-bg.webp") center / cover;
  box-shadow: var(--shadow-md);
}

.documents-panel > * {
  position: relative;
  z-index: 1;
}

.document-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.document-list li {
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-weight: 700;
}

.final-cta {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  padding: 2rem;
  border: 1px solid rgb(36 87 214 / 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.96), rgb(232 239 255 / 0.82)),
    radial-gradient(circle at 90% 10%, rgb(8 121 144 / 0.18), transparent 18rem);
  box-shadow: var(--shadow-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.card {
  padding: 1.5rem;
}

.features h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.page-header {
  margin: 2.5rem 0 1.5rem;
  padding: 2rem;
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.88), rgb(232 239 255 / 0.74)),
    radial-gradient(circle at 12% 15%, rgb(22 132 91 / 0.14), transparent 18rem),
    radial-gradient(circle at 88% 10%, rgb(183 121 31 / 0.14), transparent 16rem);
  box-shadow: var(--shadow-md);
  text-align: center;
  backdrop-filter: blur(12px);
}

.page-header h1 {
  margin-bottom: 0.75rem;
  font-size: 2.35rem;
}

.page-header p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

.content-block {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.content-block h2 {
  margin-bottom: 1rem;
}

.content-block ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.catalog-tools {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.catalog-search {
  display: grid;
  gap: 0.45rem;
}

.catalog-search label {
  color: var(--muted);
  font-weight: 800;
}

.catalog-search input {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font: inherit;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-chip {
  min-height: 38px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--primary);
  background: #e9f0ff;
  color: var(--primary);
}

.catalog-overview {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  margin-top: 0;
}

.catalog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 314px;
  padding: 0;
  text-align: left;
  color: inherit;
  text-decoration: none;
  background: rgb(255 255 255 / 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-overview .catalog-card {
  grid-template-columns: 118px minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 0;
}

.catalog-overview .tile-image {
  height: 100%;
  min-height: 154px;
  aspect-ratio: auto;
  border-right: 1px solid var(--border);
}

.catalog-card-label {
  display: inline-flex;
  margin-bottom: 0.6rem;
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.catalog-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.catalog-card-action {
  justify-self: start;
  margin-top: 0.3rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem 0 3rem;
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.78);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgb(232 239 255 / 0.9), rgb(229 248 251 / 0.76));
  box-shadow: var(--shadow-md);
}

.catalog-summary h2 {
  margin-bottom: 0.5rem;
}

.catalog-summary p:not(.eyebrow) {
  color: var(--muted);
}

.product-category {
  margin: 0 0 2.5rem;
  scroll-margin-top: 92px;
}

.product-category-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-category-head h2 {
  margin-bottom: 0.35rem;
  font-size: 1.65rem;
  line-height: 1.15;
}

.product-category-head p {
  max-width: 760px;
  color: var(--muted);
}

.product-subcategory {
  margin: 1.25rem 0 1.8rem;
}

.subcategory-head {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
  padding-left: 0.9rem;
  border-left: 4px solid rgb(36 87 214 / 0.5);
}

.subcategory-head h3 {
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.2;
}

.subcategory-head p {
  max-width: 720px;
  color: var(--muted);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin: 0;
  list-style: none;
}

.product-list li {
  padding: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.74);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.94), rgb(248 251 255 / 0.92));
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:focus-visible {
  outline: 3px solid rgb(36 87 214 / 0.22);
  outline-offset: 3px;
}

.product-card:hover,
.product-card:focus-visible {
  text-decoration: none;
}

.product-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--primary-soft), var(--cyan-soft));
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.product-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgb(12 22 40 / 0.48) 100%);
  pointer-events: none;
}

.product-card-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  max-width: calc(100% - 1.5rem);
  padding: 0.32rem 0.58rem;
  border: 1px solid rgb(255 255 255 / 0.36);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.84);
  color: #17304f;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.15;
  box-shadow: 0 8px 22px rgb(16 24 40 / 0.14);
  backdrop-filter: blur(10px);
}

.product-card-body {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 1rem;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgb(36 87 214 / 0.28);
  box-shadow: var(--shadow-md);
}

.product-card:hover .product-card-media img,
.product-card:focus-visible .product-card-media img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-meta span {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.catalog-empty {
  margin: 2rem 0;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  text-align: center;
}

.catalog-empty p {
  margin: 0.5rem auto 1rem;
  max-width: 560px;
  color: var(--muted);
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  margin-top: 0.1rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgb(36 87 214 / 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.82), rgb(232 239 255 / 0.78));
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pdf-link:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.enhanced-contacts {
  align-items: start;
}

.contact-info {
  color: var(--muted);
}

.contact-info h2 {
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-info p {
  margin-bottom: 0.65rem;
}

.contact-panel {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.contact-lines {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.contact-lines p {
  display: grid;
  gap: 0.15rem;
  margin: 0;
}

.contact-lines span {
  color: var(--text);
  font-weight: 800;
}

.contact-process {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.contact-process h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-process ol {
  padding-left: 1.2rem;
}

.contact-process li {
  margin-bottom: 0.4rem;
}

.contact-form {
  position: sticky;
  top: 96px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.contact-form h2 {
  margin-bottom: 1rem;
}

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

.form-badge {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #e8f7ef;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  max-width: 100%;
  margin: 0.5rem 0 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: none;
}

.contact-form button {
  width: 100%;
}

.checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: start;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox input {
  width: auto;
  min-height: auto;
  margin-top: 0.3rem;
}

.legal-text {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: rgb(255 255 255 / 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  line-height: 1.8;
}

.legal-text section + section {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.legal-text h2 {
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.3;
}

.legal-text p {
  margin-bottom: 1rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  padding: 2rem 0;
  background:
    linear-gradient(135deg, #172033, #123a48 62%, #1c315e);
  color: #d7dde6;
  box-shadow: 0 -18px 40px rgb(16 24 40 / 0.12);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer a {
  color: #9ec1ff;
}

.site-footer .small {
  font-size: 0.8rem;
  opacity: 0.8;
}

#formMsg {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-weight: 700;
  text-align: center;
}

.error {
  color: #c73333;
}

.success {
  color: var(--success);
}

.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-enabled .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .dashboard-hero,
  .documents-panel {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

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

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

  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    position: static;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    min-height: 64px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dashboard-hero {
    padding: 3rem 0 2rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions .btn,
  .final-cta .btn {
    width: 100%;
  }

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

  .stats-strip,
  .workflow-grid,
  .directions-grid {
    grid-template-columns: 1fr;
  }

  .catalog-summary,
  .product-category-head,
  .form-head {
    align-items: stretch;
    flex-direction: column;
  }

  .workflow-card,
  .direction-card,
  .catalog-card {
    min-height: auto;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .catalog-overview .catalog-card {
    grid-template-columns: 1fr;
  }

  .catalog-overview .tile-image {
    min-height: 126px;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .final-cta {
    padding: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1,
  .page-header h1 {
    font-size: 1.95rem;
  }

  .section-heading h2,
  .documents-panel h2,
  .final-cta h2 {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
