@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  --bg: #08090d;
  --bg-soft: #0d0f16;
  --surface: rgba(18, 20, 30, 0.86);
  --surface-strong: rgba(34, 37, 50, 0.88);
  --surface-glow: rgba(45, 48, 62, 0.78);
  --card-gradient: linear-gradient(155deg, rgba(48, 51, 65, 0.92), rgba(16, 18, 27, 0.96) 54%, rgba(29, 8, 13, 0.92));
  --text: #f6f7fb;
  --muted: #b5bac7;
  --subtle: #777f91;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #ec1d24;
  --brand-strong: #ff343b;
  --brand-soft: rgba(236, 29, 36, 0.16);
  --accent: #d3d7df;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --header-bg: rgba(8, 9, 13, 0.78);
  --logo-bg: rgba(255, 255, 255, 0.92);
  --logo-line: rgba(255, 255, 255, 0.28);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-strong: #f1f3f7;
  --surface-glow: #ffffff;
  --card-gradient: linear-gradient(155deg, #ffffff, #f7f8fb);
  --text: #111318;
  --muted: #515967;
  --subtle: #717989;
  --line: rgba(16, 19, 24, 0.12);
  --brand: #df141b;
  --brand-strong: #bd0f15;
  --brand-soft: rgba(223, 20, 27, 0.1);
  --accent: #20242d;
  --shadow: 0 24px 60px rgba(26, 30, 39, 0.12);
  --header-bg: rgba(255, 255, 255, 0.86);
  --logo-bg: rgba(255, 255, 255, 0.98);
  --logo-line: rgba(16, 19, 24, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(236, 29, 36, 0.065), transparent 21rem),
    radial-gradient(circle at 8% 0%, rgba(236, 29, 36, 0.23), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.09), transparent 30rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(22px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: 140px;
  max-height: 48px;
  object-fit: contain;
}

.brand,
.footer-brand img,
.mobile-panel-top img {
  padding: 5px 7px;
  border-radius: 8px;
  background: var(--logo-bg);
  border: 1px solid var(--logo-line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(236, 29, 36, 0.08);
}

.desktop-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 7px;
  transition: 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text);
  background: linear-gradient(135deg, var(--surface-strong), rgba(236, 29, 36, 0.08));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.88rem;
}

.button,
.icon-button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button {
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 16px 38px rgba(236, 29, 36, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.86rem;
}

.button-secondary {
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: none;
  border: 1px solid var(--line);
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--line);
}

[data-theme-toggle] {
  position: relative;
  width: 58px;
  height: 34px;
  overflow: hidden;
  border-radius: 999px;
  color: transparent;
  background: linear-gradient(145deg, #dce2ee, #f6f8fc);
  border: 1px solid rgba(125, 136, 158, 0.28);
  box-shadow:
    inset 0 2px 6px rgba(113, 124, 145, 0.2),
    0 8px 18px rgba(0, 0, 0, 0.12);
}

[data-theme-toggle]::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(61, 72, 94, 0.22);
  transition: transform 0.22s ease;
}

[data-theme-toggle]::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f4b642;
  pointer-events: none;
  box-shadow:
    0 -5px 0 -3px #f4b642,
    0 5px 0 -3px #f4b642,
    5px 0 0 -3px #f4b642,
    -5px 0 0 -3px #f4b642,
    3.5px 3.5px 0 -3px #f4b642,
    -3.5px -3.5px 0 -3px #f4b642,
    3.5px -3.5px 0 -3px #f4b642,
    -3.5px 3.5px 0 -3px #f4b642;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

:root[data-theme="dark"] [data-theme-toggle] {
  background: linear-gradient(145deg, #2d2b45, #dfe0ef);
  border-color: rgba(255, 255, 255, 0.34);
}

:root[data-theme="dark"] [data-theme-toggle]::before {
  transform: translateX(24px);
}

:root[data-theme="dark"] [data-theme-toggle]::after {
  transform: translateX(24px);
  background: #f2c46d;
  box-shadow: inset -4px 1px 0 #ffffff;
}

.mobile-trigger,
.mobile-panel {
  display: none;
}

.section,
.page-hero {
  padding: 96px 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(236, 29, 36, 0.12), transparent 38%),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 18%;
  width: 34rem;
  height: 34rem;
  pointer-events: none;
  background: radial-gradient(circle, rgba(236, 29, 36, 0.18), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}

.section-muted {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-soft) 92%, transparent), color-mix(in srgb, var(--bg) 86%, transparent)),
    radial-gradient(circle at 82% 10%, rgba(236, 29, 36, 0.09), transparent 26rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
  gap: 70px;
  align-items: center;
}

.page-hero.compact {
  padding: 74px 0 86px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.2vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.13rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy p {
  max-width: 690px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-media {
  position: relative;
  min-height: 540px;
  border-radius: 8px;
  overflow: visible;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--surface-glow), var(--surface)),
    var(--bg-soft);
  box-shadow: var(--shadow), 0 0 0 1px rgba(236, 29, 36, 0.08);
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(236, 29, 36, 0.48), transparent 34%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.16), transparent 44%);
  opacity: 0.65;
}

.hero-media img {
  width: 100%;
  height: calc(100% - 138px);
  min-height: 350px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  filter: saturate(0.98) contrast(1.06);
}

.page-hero.compact .hero-media {
  min-height: 430px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0 0 138px 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.58));
}

.media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  width: min(260px, calc(100% - 44px));
  padding: 18px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.media-badge strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.5rem;
}

.media-badge span {
  color: var(--text);
}

.stat-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

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

.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), transparent);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.stat span {
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.align-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p {
  font-size: 1.03rem;
}

.three-grid,
.industry-grid,
.values-grid,
.process-grid,
.commitment-grid,
.contact-intro-grid {
  display: grid;
  gap: 18px;
}

.three-grid {
  grid-template-columns: repeat(3, 1fr);
}

.industry-grid,
.values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.icon-card,
.feature-card,
.process-step,
.service-row,
.contact-path,
.contact-sidebar,
.editorial-grid article,
.legal-notice > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-gradient);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.icon-card:hover,
.feature-card:hover,
.process-step:hover,
.service-row:hover,
.contact-path:hover,
.editorial-grid article:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
}

.icon-card,
.feature-card,
.process-step,
.contact-path,
.editorial-grid article,
.legal-notice > div {
  padding: 26px;
}

.icon-card p,
.feature-card p,
.process-step p,
.contact-path p {
  margin-bottom: 0;
}

.card-icon,
.feature-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--brand-strong);
  background:
    linear-gradient(135deg, var(--brand-soft), rgba(255, 255, 255, 0.055));
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
}

.feature-number svg {
  width: 23px;
  height: 23px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--brand-strong);
  font-weight: 900;
}

.split-feature {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 58px;
  align-items: center;
}

.split-feature.reverse {
  grid-template-columns: 1fr 0.9fr;
}

.split-feature.reverse .split-image {
  order: 2;
}

.split-image {
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px rgba(236, 29, 36, 0.08);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li,
.commitment-item,
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.check-list svg,
.commitment-item svg,
.contact-method svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--brand-strong);
}

.process-grid {
  grid-template-columns: repeat(5, 1fr);
}

.process-step span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--brand-strong);
  font-weight: 900;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 46px;
  border-radius: 8px;
  border: 1px solid rgba(236, 29, 36, 0.3);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.16), transparent 16rem),
    linear-gradient(135deg, rgba(236, 29, 36, 0.24), transparent 54%),
    var(--surface);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.cta-panel .button {
  flex: 0 0 auto;
  min-width: max-content;
}

.two-column-text {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.two-column-text p {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text);
}

.section-mission {
  padding: 60px 0;
}

.mission-panel-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mission-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong), rgba(236, 29, 36, 0.4));
  z-index: 1;
}

.mission-content {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(236, 29, 36, 0.08), transparent 25rem),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.04), transparent 28rem),
    var(--surface-strong);
  backdrop-filter: blur(8px);
}

.mission-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.mission-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
  max-width: 900px;
  color: var(--text);
}

.mission-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 900px;
  margin: 0 0 20px 0;
}

.mission-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(236, 29, 36, 0.15), rgba(236, 29, 36, 0.08));
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent);
  transition: all 0.3s ease;
}

.badge:hover {
  background: linear-gradient(135deg, rgba(236, 29, 36, 0.25), rgba(236, 29, 36, 0.15));
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
}

/* Light theme adjustments */
:root[data-theme="light"] .mission-content {
  background:
    radial-gradient(circle at 0% 0%, rgba(223, 20, 27, 0.06), transparent 25rem),
    radial-gradient(circle at 100% 100%, rgba(16, 19, 24, 0.03), transparent 28rem),
    var(--surface-strong);
}

.service-list,
.timeline {
  display: grid;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 26px;
}

.service-row p {
  margin-bottom: 10px;
}

.service-row span {
  color: var(--subtle);
  line-height: 1.65;
}

.timeline {
  position: relative;
  grid-template-columns: repeat(5, 1fr);
}

.timeline-item {
  padding: 0 18px 0 0;
}

.timeline-item h3 {
  padding-top: 22px;
  border-top: 3px solid var(--brand);
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.role-tags span {
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
}

.editorial-grid,
.legal-notice,
.contact-grid {
  display: grid;
  gap: 22px;
}

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

.commitment-grid {
  grid-template-columns: repeat(3, 1fr);
}

.commitment-item {
  min-height: 88px;
  padding: 20px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
}

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

.contact-path > svg {
  margin-bottom: 20px;
  color: var(--brand-strong);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.92fr);
  align-items: stretch;
  gap: 28px;
}

.contact-form-panel {
  padding: 20px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-gradient);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.contact-form-panel .section-heading {
  margin-bottom: 14px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--bg-soft) 70%, var(--surface));
  color: var(--text);
  padding: 12px 15px;
  outline: 0;
  font-weight: 500;
}

textarea {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--bg-soft) 70%, var(--surface));
  color: var(--text);
  padding: 12px 15px;
  outline: 0;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.upload-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed color-mix(in srgb, var(--brand) 55%, var(--line));
  background:
    linear-gradient(135deg, var(--brand-soft), transparent),
    color-mix(in srgb, var(--bg-soft) 74%, var(--surface));
}

.upload-box > span {
  display: grid;
  gap: 4px;
}

.upload-box input {
  padding: 0;
  border: 0;
  background: transparent;
}

.upload-title {
  font-weight: 900;
}

.upload-hint {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.consent-line {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, #31b46b 38%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 180, 107, 0.14), rgba(49, 180, 107, 0.045)),
    color-mix(in srgb, var(--surface-strong) 72%, transparent);
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.consent-line input {
  appearance: none;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, #31b46b 58%, var(--line));
  border-radius: 5px;
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
  cursor: pointer;
  box-shadow: none;
}

.consent-line input::before {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.consent-line input:checked {
  border-color: #31b46b;
  background: linear-gradient(135deg, #31b46b, #16894d);
}

.consent-line input:checked::before {
  opacity: 1;
}

.consent-line span {
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.contact-sidebar {
  position: sticky;
  top: 110px;
  padding: 34px 32px 30px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 8%, rgba(236, 29, 36, 0.08), transparent 18rem),
    var(--surface-strong);
}

.contact-sidebar h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-bottom: 20px;
}

.contact-method {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.hours-box {
  margin-top: 22px;
  padding: 20px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--brand-soft), rgba(255, 255, 255, 0.045)),
    var(--surface-strong);
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
}

.hours-box strong,
.hours-box span {
  display: block;
}

.map-card {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
  filter: saturate(0.9) contrast(1.05);
}

.hours-box span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  padding: 70px 0 28px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(236, 29, 36, 0.035)),
    var(--bg-soft);
}

.footer-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 42px;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 20px;
}

.footer-grid h3 {
  margin-bottom: 18px;
}

.footer-grid ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-grid a,
.footer-grid li {
  color: var(--muted);
  line-height: 1.5;
}

.footer-grid a:hover {
  color: var(--brand-strong);
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 42px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 28%, transparent);
  color: var(--subtle);
  font-size: 0.85rem;
  flex-wrap: nowrap;
}

.footer-bottom span {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.footer-bottom span:not(:last-child)::after {
  display: none;
}

.footer-bottom a {
  color: var(--text);
  font-weight: 700;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-bottom a:hover {
  color: var(--text);
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.footer-row span::after {
  display: none;
}

.supported-by {
  white-space: nowrap;
}

.supported-by a {
  color: var(--brand-strong);
}

@media (max-width: 780px) {
  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 9px 10px;
    padding: 15px 14px;
    font-size: 0.74rem;
    line-height: 1.2;
    text-align: center;
  }

  .footer-bottom .copyright {
    order: 1;
  }

  .footer-bottom .footer-row {
    display: contents;
  }

  .footer-row span {
    order: 2;
  }

  .footer-row a {
    order: 4;
    line-height: 1.2;
  }

  .footer-bottom .supported-by {
    order: 5;
    margin-left: 0;
  }

  .footer-bottom::before {
    content: "";
    flex-basis: 100%;
    width: 0;
    height: 0;
    order: 3;
  }
}

@media (max-width: 1100px) {
  [data-theme-toggle] {
    width: 58px;
    height: 34px;
  }

  .desktop-nav,
  .header-phone,
  .header-actions .button {
    display: none;
  }

  .mobile-trigger {
    display: inline-flex;
  }

  .mobile-panel {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 390px;
    max-height: calc(100vh - 100px);
    min-height: auto;
    margin: 0 auto;
    overflow: auto;
    padding: 12px;
    display: block;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg-soft) 96%, transparent), var(--bg-soft)),
      radial-gradient(circle at 95% 0%, rgba(236, 29, 36, 0.14), transparent 18rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(0.985);
    transform-origin: top center;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    touch-action: pan-y;
  }

  .mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-panel-top {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    pointer-events: none;
  }

  .mobile-panel-top .icon-button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface);
    box-shadow: none;
    pointer-events: auto;
  }

  .mobile-panel-top img {
    display: none;
  }

  .mobile-nav {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 11px;
    border: 1px solid transparent;
    font-size: 0.88rem;
  }

  .mobile-nav a:first-child {
    width: calc(100% - 48px);
    padding-right: 11px;
  }

  .mobile-nav a.active {
    border-color: var(--line);
  }

  .hero-grid,
  .split-feature,
  .split-feature.reverse,
  .two-column-text,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse .split-image {
    order: initial;
  }

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

  .timeline {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    position: static;
  }

  .mobile-panel > .button {
    width: auto;
    min-height: 39px;
    padding: 0 14px;
    font-size: 0.88rem;
    border-radius: 7px;
  }
}

@media (max-width: 780px) {
  .header-inner,
  .section-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    min-height: 56px;
  }

  .section,
  .page-hero {
    padding: 64px 0;
  }

  .page-hero.compact {
    padding: 52px 0 64px;
  }

  .brand img {
    width: 104px;
    max-height: 38px;
  }

  .brand {
    padding: 3px 5px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .icon-button[data-theme-toggle] {
    width: 58px;
    height: 34px;
  }

  .mobile-panel {
    top: 64px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .hero-media,
  .page-hero.compact .hero-media,
  .split-image {
    min-height: 340px;
  }

  .hero-media img {
    min-height: 235px;
    height: calc(100% - 118px);
  }

  .hero-media::after {
    inset: 0 0 118px 0;
  }

  .media-badge {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .contact-form-panel,
  .contact-sidebar {
    padding: 22px;
  }

  .contact-form-panel .section-heading h2,
  .contact-sidebar h2 {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
  }

  .upload-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .upload-box input {
    grid-row: auto;
    max-width: 100%;
    font-size: 0.88rem;
  }

  .upload-hint {
    font-size: 0.82rem;
  }

  .consent-line {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .consent-line span {
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .map-card iframe {
    height: 220px;
  }

  .stats-grid,
  .three-grid,
  .industry-grid,
  .values-grid,
  .process-grid,
  .editorial-grid,
  .legal-notice,
  .commitment-grid,
  .contact-intro-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .cta-panel {
    display: grid;
    padding: 28px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    display: grid;
    grid-template-columns: 102px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
  }

  .footer-brand img {
    width: 92px;
    min-height: 58px;
    margin-bottom: 0;
    object-fit: contain;
  }

  .footer-brand p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.38;
  }
}

@media (max-width: 420px) {
  .footer-bottom {
    gap: 8px 7px;
    padding: 13px 8px;
    font-size: 0.67rem;
  }
}

@media (max-width: 360px) {
  .footer-bottom {
    gap: 7px 5px;
    padding: 12px 7px;
    font-size: 0.6rem;
  }
}

/* Loader + Toast + Button spinner (Contact + global UX) */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(236, 29, 36, 0.12), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 32%),
    var(--bg);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  width: min(340px, calc(100% - 40px));
  padding: 18px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
}


.page-loader-logo {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
  background: var(--logo-bg);
  border: 1px solid var(--logo-line);
  border-radius: 10px;
  padding: 10px;
}


.page-loader-spinner {
  width: 27px;
  height: 27px;
  border-radius: 50%;

  border: 2px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-top-color: var(--brand);
  animation: ignite-spin 0.9s linear infinite;
}

@keyframes ignite-spin {
  to {
    transform: rotate(360deg);
  }
}

.toast-host {
  position: fixed;
  right: 18px;
  top: 92px;
  z-index: 10000;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast-host.is-showing {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-card {
  width: min(420px, calc(100vw - 36px));
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
  padding: 14px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.toast-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(49, 180, 107, 0.14);
  border: 1px solid rgba(49, 180, 107, 0.35);
  color: #8bf1b0;
  font-weight: 900;
}

.toast-host[data-type='success'] .toast-icon {
  background: rgba(49, 180, 107, 0.14);
  border: 1px solid rgba(49, 180, 107, 0.35);
  color: #8bf1b0;
}

.toast-host[data-type='error'] .toast-icon {
  background: rgba(236, 29, 36, 0.14);
  border: 1px solid rgba(236, 29, 36, 0.35);
  color: #ff7b82;
}

.toast-host[data-type='success'] .toast-card {
  background: color-mix(in srgb, rgba(49, 180, 107, 0.18) 75%, transparent);
  border-color: rgba(49, 180, 107, 0.35);
}

.toast-host[data-type='error'] .toast-card {
  background: color-mix(in srgb, rgba(236, 29, 36, 0.18) 75%, transparent);
  border-color: rgba(236, 29, 36, 0.35);
}



.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}

.toast-message {
  color: var(--muted);
  line-height: 1.35;
  font-weight: 600;
}

/* Button inline spinner */
.btn-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  animation: ignite-spin 0.9s linear infinite;
}

button[disabled].is-submitting {
  cursor: not-allowed;
  transform: none;
  opacity: 0.95;
}

