/* ===========================================
   Components
   =========================================== */

/* ===== TOPBAR (contact strip) ===== */
.topbar {
  background: var(--brand-primary-darker);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: var(--white); }
.topbar-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.topbar-meta span,
.topbar-meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar-meta svg { flex-shrink: 0; opacity: 0.85; }
.topbar-247 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-left: auto;
}
@media (max-width: 720px) {
  .topbar-meta .hide-sm { display: none; }
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 3px 7px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
  line-height: 1;
  margin-left: 0.5rem;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
}
.lang-toggle svg {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

/* ===== HEADER / NAVBAR ===== */
.sticky-top-bar {
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header {
  position: relative;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  transition: box-shadow var(--tr-mid);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-left: -1rem; /* nudge left by a fixed amount */
}
.brand img {
  height: 56px;
  width: auto;
  filter: invert(1);
}
@media (max-width: 480px) {
  .brand img { height: 44px; }
}

.main-nav { display: flex; align-items: center; }
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  align-items: center;
}
.main-nav li a {
  display: block;
  padding: 0.85rem 0.95rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-700);
  position: relative;
}
.main-nav li a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.55rem;
  height: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr-fast);
}
.main-nav li a:hover { color: var(--brand-primary); }
.main-nav li a:hover::after,
.main-nav li a.active::after { transform: scaleX(1); }
.main-nav li a.active { color: var(--brand-primary); }

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.65rem 1.1rem;
  background: var(--brand-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
}
.nav-cta:hover { background: var(--brand-primary-dark); color: var(--white); transform: translateY(-1px); }
.main-nav li a.nav-cta { color: var(--white); }
.main-nav li a.nav-cta:hover { color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 12px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--grey-800);
  margin: 5px 0;
  transition: all var(--tr-fast);
  border-radius: 2px;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--grey-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--tr-mid), transform var(--tr-mid), visibility 0s linear var(--tr-mid);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity var(--tr-mid), transform var(--tr-mid), visibility 0s linear 0s;
  }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav li {
    border-bottom: 1px solid var(--grey-100);
  }
  .main-nav li a {
    padding: 1.1rem 0.5rem;
    min-height: 48px;
  }
  .main-nav li a::after { display: none; }
  .nav-cta {
    margin: 1rem 0 0;
    padding: 0.95rem 1.25rem;
    text-align: center;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: clamp(520px, 75vh, 720px);
  display: flex;
  align-items: center;
  /* 1. Deepened the base gradient so the white text pops instantly */
  background: linear-gradient(135deg, var(--brand-primary-darker) 0%, var(--brand-primary-dark) 50%, var(--brand-primary) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 2. Drastically reduced the opacity of the radial glows (from 0.45 to 0.15) */
  background:
    radial-gradient(circle at 20% 30%, rgba(74, 115, 179, 0.15), transparent 60%),
    radial-gradient(circle at 85% 70%, rgba(0, 57, 124, 0.25), transparent 60%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 3. Halved the grid line opacity (from 0.04 to 0.02) */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  /* 4. Doubled the grid size (from 60px to 120px) */
  background-size: 120px 120px;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 strong { color: var(--white); font-weight: 700; }
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero .eyebrow { color: var(--white); }
.hero .eyebrow::before { background: var(--white); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-primary {
  background: var(--white);
  color: var(--brand-primary);
  box-shadow: none;
}
.hero .btn-primary:hover {
  background: #ebf2fc;
  color: var(--brand-primary-dark);
  box-shadow: none;
}
.hero .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}

.hero-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 4/3;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.95);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,27,62,0.4), transparent 60%);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.4rem;
  display: block;
}

/* ===== PAGE HEADER (sub-pages) ===== */

.page-header .eyebrow {
  color: #b8d4ff; 
}

.page-header .eyebrow::before {
  background: #b8d4ff;
}
.page-header {
  background: linear-gradient(135deg, #001b3e 0%, #00397c 100%);
  color: var(--white);
  padding: clamp(4rem, 10vw, 6.5rem) 0 clamp(3rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-header .container { position: relative; }
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 720px; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* ===== SERVICE GRID ===== */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-top: 3px solid var(--brand-primary);
  padding: 2rem 1.5rem;
  transition: all var(--tr-mid);
  display: flex;
  flex-direction: column;
  position: relative;
}
.section-grey .service-card { background: var(--white); }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--brand-primary-light);
}
.service-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: var(--white);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.service-card p {
  color: var(--grey-500);
  font-size: 0.95rem;
  flex-grow: 1;
}
.service-card .link-more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
}
.service-card .link-more::after { content: "→"; transition: transform var(--tr-fast); }
.service-card:hover .link-more::after { transform: translateX(4px); }

/* ===== TWO COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.flip { direction: rtl; }
  .two-col.flip > * { direction: ltr; }
}
.two-col img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--grey-100);
  color: var(--grey-700);
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 4px;
  background: var(--brand-primary);
  clip-path: polygon(40% 76%, 14% 50%, 0 64%, 40% 100%, 100% 24%, 86% 10%);
}
.section-dark .feature-list li {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.1);
}
.section-dark .feature-list li::before { background: #9ec0ed; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(0, 27, 62, 0.92), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform var(--tr-mid);
}
.gallery-item:hover .caption { transform: translateY(0); }
.gallery-item { cursor: pointer; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0s linear 0.25s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s, visibility 0s linear 0s;
}
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(45vw, 600px);
}
.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  display: block;
}
.lightbox-caption-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 1rem;
  padding: 0 1rem;
}
.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1001;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1001;
}
.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-arrow.lb-prev { left: 1.25rem; }
.lightbox-arrow.lb-next { right: 1.25rem; }
@media (max-width: 600px) {
  .lightbox-arrow.lb-prev { left: 0.5rem; }
  .lightbox-arrow.lb-next { right: 0.5rem; }
  .lightbox-arrow { width: 40px; height: 40px; }
}

/* ===== MACHINE LIST (specs) ===== */
.machine-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) { .machine-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .machine-list { grid-template-columns: repeat(3, 1fr); } }

.machine-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  padding: 1.5rem;
  border-left: 4px solid var(--brand-primary);
  transition: all var(--tr-fast);
}
.section-grey .machine-card { background: var(--white); }
.machine-card:hover { box-shadow: var(--shadow-md); }
.machine-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  color: var(--brand-primary);
}
.machine-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  font-size: 0.92rem;
}
.machine-card dt {
  font-weight: 600;
  color: var(--grey-600);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.machine-card dd { margin: 0; color: var(--grey-700); }

/* ===== QUOTE ===== */
.quote-block {
  background: var(--white);
  border-left: 4px solid var(--brand-primary);
  padding: 1.5rem 1.75rem;
  font-style: italic;
  color: var(--grey-700);
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.quote-block .attribution {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }

.contact-form {
  display: grid;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .form-row.split { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--grey-800);
  transition: all var(--tr-fast);
  min-height: 48px;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 57, 124, 0.15);
}

.contact-info {
  background: var(--brand-primary);
  color: var(--white);
  padding: 2.5rem 2rem;
}
.contact-info h3 {
  color: var(--white);
  margin-top: 0;
  font-size: 1.4rem;
}
.contact-info .info-block { margin-bottom: 1.5rem; }
.contact-info .info-block:last-child { margin-bottom: 0; }
.contact-info .label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.3rem;
}
.contact-info a { color: var(--white); }
.contact-info a:hover { color: #cfe0fa; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--grey-800);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.92rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.5fr; } }

.footer-brand img { height: 64px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 320px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-map {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: var(--radius-sm);
  filter: grayscale(0.4) contrast(0.95);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--tr-mid);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--brand-primary-dark); }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--brand-primary);
  background-image: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.04) 75%);
  background-size: 24px 24px;
  opacity: 0.5;
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-strip p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-primary {
  background: var(--white);
  color: var(--brand-primary);
}
.cta-strip .btn-primary:hover { background: #ebf2fc; color: var(--brand-primary-dark); }

/* ===== RICH TEXT (legal pages) ===== */
.rich-text { max-width: 880px; margin: 0 auto; }
.rich-text h2 { font-size: 1.5rem; margin-top: 2.5rem; color: var(--brand-primary); }
.rich-text h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.rich-text p { color: var(--grey-600); }


/* ===== Form Validation Styles ===== */
.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.error-message {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  display: none;
}

.error-message.is-visible {
  display: block;
  animation: fadeIn 0.3s ease;
}