/* CVC Services — Encoche V3 — 2026-09-24. Variables de marque, pas un kit UI complet. */
:root {
  --cvc-anthracite: #152126;
  --cvc-cyan: #55D5E7;
  --cvc-ivoire: #F4F1EA;
  --cvc-blanc: #FFFFFF;
  --cvc-gris-secondaire: #64757B;

  --cvc-color-text: var(--cvc-anthracite);
  --cvc-color-background: var(--cvc-ivoire);
  --cvc-color-accent: var(--cvc-cyan);
  --cvc-font-family: "DejaVu Sans", Arial, sans-serif;
}

/* Vérifier les contrastes des composants avant publication, notamment le cyan. */

/* CVC Services — Signal / Encoche V3, charte du 24 septembre 2026. */
:root {
  --anthracite: var(--cvc-anthracite);
  --cyan: var(--cvc-cyan);
  --ivory: var(--cvc-ivoire);
  --white: var(--cvc-blanc);
  --secondary: var(--cvc-gris-secondaire);
  --text: #405258;
  --muted: #52646a;
  --line: #d8ddd9;
  --dark-line: #35474e;
  --font: var(--cvc-font-family);
  color: var(--anthracite);
  font-family: var(--font);
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.6;
  background: var(--ivory);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
}
h1,
h2 {
  letter-spacing: -0.045em;
}
h3 {
  letter-spacing: -0.025em;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: not-allowed;
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
}
svg {
  flex-shrink: 0;
}
button,
a {
  text-underline-offset: 5px;
}
::selection {
  color: var(--anthracite);
  background: var(--cyan);
}
:focus-visible {
  outline: 3px solid #117889;
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
.container {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.section {
  padding: 104px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 24px;
}
.small-line {
  width: 26px;
  height: 3px;
  background: #168293;
}
.signal-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}
.button {
  min-height: 50px;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.button:hover {
  transform: translateY(-1px);
}
.button-dark {
  background: var(--anthracite);
  color: var(--white);
}
.button-dark:hover {
  background: #2c424a;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  padding: 4px 0;
  text-align: left;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link svg {
  transition: transform 0.18s;
}
.text-link:hover svg {
  transform: translate(2px, -2px);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 14px 22px;
  background: var(--white);
  border: 1px solid var(--anthracite);
}
.skip-link:focus {
  top: 16px;
}
/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 98px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo-link {
  display: block;
  flex-shrink: 0;
}
.brand-logo {
  width: 246px;
  height: auto;
}
.desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.desktop-nav a:hover {
  text-decoration: underline;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.client-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  white-space: nowrap;
}
.header-cta {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 12px;
}
.mobile-actions,
.mobile-nav {
  display: none;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
/* Accueil */
.hero {
  padding-top: 66px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-copy {
  padding: 8px 0 18px;
}
.hero h1 {
  font-size: clamp(42px, 4.1vw, 56px);
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.08;
  max-width: 660px;
}
.hero h1 span {
  display: inline;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 4px;
  text-underline-offset: 10px;
  text-decoration-skip-ink: none;
}
.hero-intro {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
}
.hero-description {
  margin-top: 14px;
  max-width: 510px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-audience {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  margin-top: 40px;
  font-size: 12px;
  color: var(--muted);
}
.hero-audience > span {
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding-top: 4px;
}
.hero-audience p {
  line-height: 1.85;
}
.technical-panel {
  color: var(--ivory);
  background: var(--anthracite);
  padding: 28px 30px 24px;
  border-radius: 6px;
}
.panel-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dark-line);
}
.panel-index {
  margin-left: auto;
  color: #9bafb5;
  font-size: 9px;
}
.diagram-title {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin-top: 24px;
}
.installation-diagram {
  display: block;
  width: 100%;
  margin: 8px 0 0;
}
.diagram-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #b5c4c8;
  font-size: 9px;
  border-bottom: 1px solid var(--dark-line);
  padding: 0 0 12px;
}
.tiny-cross {
  color: var(--cyan);
  font-size: 20px;
}
.measure-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.measure-tags span {
  font-size: 10px;
  border: 1px solid #53686f;
  padding: 5px 9px;
  border-radius: 3px;
}
.panel-note {
  font-size: 11px;
  line-height: 1.7;
  color: #b5c4c8;
  margin-top: 12px;
  max-width: 320px;
}
.expertise-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid #cad2ce;
  margin-top: 62px;
  padding: 25px 0;
  font-size: 11px;
  color: var(--muted);
}
.expertise-strip p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--anthracite);
  font-weight: 700;
}
.expertise-strip .signal-dot {
  background: #168293;
}
.expertise-strip > span {
  letter-spacing: 0.04em;
}
/* Prestations */
.services-section {
  background: var(--white);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
  margin-bottom: 42px;
}
.section-heading h2,
h2 {
  font-size: clamp(32px, 3.2vw, 43px);
  font-weight: 700;
  line-height: 1.16;
}
.section-heading > p {
  max-width: 330px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  padding-bottom: 3px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.service-card {
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.service-card + .service-card {
  border-left: 1px solid var(--line);
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.service-top > svg {
  color: #27646c;
}
.service-top > span {
  font-size: 11px;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.service-card h3 {
  font-size: 21px;
  line-height: 1.3;
}
.service-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.service-description {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text);
  margin-top: 21px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: grid;
  gap: 13px;
  font-size: 12px;
  color: var(--text);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-list svg {
  margin-top: 2px;
  color: #168293;
}
.service-actions {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  min-height: 83px;
}
.service-actions .text-link {
  width: 100%;
  justify-content: space-between;
  font-size: 12px;
}
.secondary-service-link {
  display: block;
  padding: 5px 0;
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
}
.installation-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--ivory);
  margin-top: 22px;
  padding: 24px 30px;
  border-radius: 4px;
}
.banner-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfcac7;
  border-radius: 50%;
  flex-shrink: 0;
}
.installation-banner h3 {
  font-size: 15px;
}
.installation-banner p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 6px;
  color: var(--text);
}
.installation-banner > .text-link {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
}
/* Méthode */
.method-section {
  background: var(--anthracite);
  color: var(--ivory);
}
.method-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 110px;
}
.method-intro > .eyebrow {
  color: var(--cyan);
}
.method-intro > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: #bdcacc;
  max-width: 410px;
  margin-top: 24px;
}
.light-link {
  color: var(--ivory);
}
.method-intro > .text-link {
  margin-top: 22px;
}
.method-note {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--dark-line);
  font-size: 12px;
  line-height: 1.7;
  color: #bdcacc;
}
.method-note svg {
  color: var(--cyan);
}
.method-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 36px;
}
.method-steps article {
  border-top: 1px solid #486068;
  padding-top: 18px;
}
.step-number {
  font-size: 11px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.method-steps h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-top: 23px;
  max-width: 240px;
}
.method-steps p {
  font-size: 12px;
  line-height: 1.9;
  color: #bdcacc;
  margin-top: 13px;
}
/* Zone et suivi */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 130px;
}
.section-copy {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin-top: 25px;
  max-width: 430px;
}
.area-grid > div > .text-link {
  margin-top: 26px;
}
.area-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #b8c4c3;
  padding-bottom: 21px;
}
.department {
  margin-left: auto;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.area-list svg {
  color: var(--secondary);
}
.area-footnote {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 17px;
}
.portal-card {
  display: flex;
  align-items: center;
  gap: 17px;
  background: var(--white);
  padding: 24px;
  margin-top: 28px;
  border-radius: 4px;
}
.portal-card > span {
  display: grid;
  gap: 5px;
}
.portal-card strong {
  font-size: 13px;
}
.portal-card span span {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.portal-card > svg:last-child {
  margin-left: auto;
}
.portal-card:hover {
  outline: 1px solid #a8bab9;
}
.additional-services {
  margin-top: 68px;
  border-top: 1px solid #b8c4c3;
  border-bottom: 1px solid #b8c4c3;
}
.additional-services summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 25px 0;
  list-style: none;
}
.additional-services summary::-webkit-details-marker {
  display: none;
}
.additional-services .eyebrow {
  font-size: 9px;
  margin-bottom: 6px;
  color: var(--muted);
}
.additional-services summary strong {
  font-size: 14px;
}
.details-plus {
  font-size: 28px;
  font-weight: 400;
}
.additional-services[open] .details-plus {
  transform: rotate(45deg);
}
.additional-services > div {
  max-width: 680px;
  padding-bottom: 28px;
}
.additional-services > div > p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
/* Contact et formulaires */
.contact-section {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  align-items: start;
}
.contact-intro {
  padding-top: 14px;
}
.contact-channels {
  margin-top: 30px;
  display: grid;
  max-width: 390px;
}
.contact-channels > a {
  display: flex;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.contact-channels > a > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.contact-channels small {
  font-size: 10px;
  color: var(--muted);
}
.contact-channels strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.contact-channels > a > svg:last-child {
  margin-left: auto;
}
.contact-channels > a:hover strong {
  text-decoration: underline;
}
.qr-trigger {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 400;
}
.contact-hint {
  margin-top: 38px;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 340px;
  border-left: 2px solid var(--cyan);
  padding-left: 16px;
}
.contact-form-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.form-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 23px;
}
.form-heading h3 {
  font-size: 17px;
}
.form-heading .signal-dot {
  background: #168293;
}
.contact-form {
  display: grid;
  gap: 19px;
  font-size: 12px;
}
.contact-form > p:first-child {
  font-size: 10px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.form-field label,
.form-challenge label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}
.form-field input,
.form-field select,
.form-field textarea,
.form-challenge input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #7d9094;
  border-radius: 3px;
  background: #fff;
  color: var(--anthracite);
  min-height: 44px;
  font-size: 13px;
}
.form-field textarea {
  resize: vertical;
  line-height: 1.7;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 14px;
  background: var(--anthracite);
  border: 1px solid var(--anthracite);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.form-submit:hover:not(:disabled) {
  background: #2c424a;
}
.form-submit:disabled {
  opacity: 0.55;
}
.form-challenge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  background: var(--ivory);
  padding: 16px;
  border-radius: 3px;
}
.form-challenge label {
  flex: 1;
  min-width: 155px;
}
.form-challenge input {
  width: 64px;
}
.form-challenge button {
  min-height: 35px;
  text-decoration: underline;
  font-size: 10px;
  padding: 0;
}
.form-privacy {
  font-size: 10px;
  line-height: 1.85;
  color: var(--muted);
}
.form-privacy a {
  text-decoration: underline;
}
.form-error,
.form-success {
  font-size: 12px;
  line-height: 1.8;
  padding: 17px;
  margin-bottom: 20px;
  border-radius: 3px;
}
.form-error {
  background: #fff0ed;
  color: #8d3026;
  border: 1px solid #ebc2ba;
}
.form-success {
  background: #e9f4ed;
  color: #205b35;
  border: 1px solid #bdd9c6;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(630px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  padding: 28px;
  border: 1px solid #7d9094;
  border-radius: 6px;
  background: var(--white);
  color: var(--anthracite);
  box-shadow: 0 20px 80px #0005;
}
.contact-dialog::backdrop {
  background: #152126bd;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
}
.dialog-header h2 {
  font-size: 23px;
  line-height: 1.3;
}
.dialog-header button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 25px;
  flex-shrink: 0;
}
.qr-dialog-content {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}
.qr-dialog-content > p {
  font-size: 13px;
}
/* Pied de page et pages publiques */
.site-footer {
  background: var(--anthracite);
  color: var(--ivory);
  padding: 62px 0 25px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
}
.footer-main .brand-logo {
  width: 265px;
}
.footer-main p {
  color: #bdcacc;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 18px;
}
.footer-main nav {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 12px;
  padding-top: 10px;
}
.footer-main nav a:hover {
  text-decoration: underline;
}
.footer-contact {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 12px;
  padding-top: 10px;
}
.footer-contact > a:first-child {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.footer-contact > .text-link {
  font-size: 11px;
  color: var(--cyan);
  margin-top: 6px;
}
.footer-bottom {
  margin-top: 45px;
  padding-top: 23px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #bdcacc;
  font-size: 10px;
}
.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-bottom button,
.footer-bottom a[aria-label] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 32px;
  padding: 0;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.legal-page {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 80px;
  font-size: 15px;
  line-height: 1.9;
}
.legal-page .legal-logo {
  display: block;
  width: 270px;
  margin-bottom: 32px;
}
.legal-page h1 {
  font-size: 36px;
  margin: 32px 0;
}
.legal-page h2 {
  font-size: 22px;
  margin: 30px 0 12px;
}
.legal-page a:not(.legal-logo) {
  text-decoration: underline;
}
.legal-page p {
  margin: 14px 0;
  color: var(--text);
}
@media (min-width: 1440px) {
  .hero-grid {
    gap: 88px;
  }
  .hero h1 {
    font-size: 56px;
  }
}
@media (max-width: 1279px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner {
    height: 88px;
    gap: 22px;
  }
  .brand-logo {
    width: 226px;
  }
  .desktop-nav,
  .header-actions {
    display: none;
  }
  .mobile-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
    padding-bottom: 24px;
  }
  .mobile-nav > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }
  .mobile-nav .button {
    margin-top: 12px;
  }
  .hero-grid {
    gap: 40px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .technical-panel {
    padding: 24px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .button {
    font-size: 12px;
  }
  .service-card {
    padding: 26px 23px;
  }
  .method-grid {
    gap: 64px;
  }
  .area-grid {
    gap: 70px;
  }
  .contact-grid {
    gap: 55px;
  }
  .installation-banner > .text-link {
    white-space: normal;
    min-width: 155px;
  }
  .expertise-strip {
    gap: 16px;
  }
  .expertise-strip p {
    font-size: 11px;
  }
}
@media (max-width: 959px) {
  .section {
    padding: 78px 0;
  }
  .hero {
    padding-top: 46px;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-intro {
    font-size: 15px;
    margin-top: 28px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-audience {
    margin-top: 26px;
    gap: 16px;
    font-size: 10px;
  }
  .hero-audience > span {
    font-size: 8px;
  }
  .technical-panel {
    padding: 20px;
  }
  .diagram-title {
    font-size: 21px;
  }
  .panel-index {
    display: none;
  }
  .panel-heading {
    font-size: 9px;
  }
  .measure-tags {
    gap: 5px;
  }
  .measure-tags span {
    font-size: 8px;
    padding: 5px 6px;
  }
  .expertise-strip {
    margin-top: 42px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 28px;
  }
  .expertise-strip p {
    flex-basis: 100%;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading > p {
    max-width: 270px;
    font-size: 12px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
  }
  .service-card + .service-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .service-top {
    grid-column: 1/-1;
    margin-bottom: 20px;
  }
  .service-card h3,
  .service-subtitle,
  .service-description {
    grid-column: 1;
  }
  .service-description {
    grid-row: 4;
    margin-top: 16px;
  }
  .check-list {
    grid-column: 2;
    grid-row: 2/5;
    margin-top: 0;
    align-content: start;
    gap: 17px;
  }
  .service-actions {
    grid-column: 1/-1;
    margin-top: 24px;
    min-height: 0;
  }
  .service-actions .text-link {
    width: auto;
    gap: 20px;
  }
  .secondary-service-link {
    display: inline-block;
    margin-left: 22px;
  }
  .installation-banner {
    flex-wrap: wrap;
    padding: 24px;
  }
  .installation-banner > div:nth-child(2) {
    flex: 1;
  }
  .installation-banner > .text-link {
    margin-left: 62px;
  }
  .method-grid {
    gap: 50px;
    grid-template-columns: 1fr;
  }
  .method-intro > p:not(.eyebrow) {
    max-width: 620px;
  }
  .method-note {
    max-width: 400px;
  }
  .method-steps {
    gap: 35px 50px;
  }
  .area-grid {
    gap: 40px;
  }
  .contact-grid {
    gap: 34px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .contact-form-panel {
    padding: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-intro h2 {
    font-size: 31px;
  }
  .contact-channels strong {
    font-size: 12px;
  }
  .contact-channels > a {
    gap: 12px;
  }
  .footer-main {
    gap: 30px;
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
  .footer-main .brand-logo {
    width: 225px;
  }
  .footer-contact > a:first-child {
    font-size: 16px;
  }
}
@media (max-width: 699px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding: 62px 0;
  }
  .header-inner {
    height: 76px;
  }
  .brand-logo {
    width: 210px;
  }
  .mobile-actions {
    gap: 6px;
  }
  .icon-button {
    width: 40px;
    height: 40px;
  }
  .hero {
    padding-top: 37px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: clamp(38px, 8.5vw, 54px);
    max-width: 530px;
  }
  .hero h1 span {
    text-decoration-thickness: 3px;
    text-underline-offset: 7px;
  }
  .hero-intro {
    font-size: 14px;
    margin-top: 28px;
  }
  .hero-description {
    font-size: 13px;
    margin-top: 12px;
    max-width: 490px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 24px;
    flex-direction: row;
    align-items: center;
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 13px 17px;
    gap: 12px;
  }
  .hero-audience {
    margin-top: 26px;
    font-size: 11px;
    gap: 24px;
  }
  .hero-audience > span {
    font-size: 8px;
  }
  .hero-audience br {
    display: none;
  }
  .technical-panel {
    padding: 24px;
    max-width: 100%;
  }
  .panel-heading {
    font-size: 10px;
  }
  .panel-index {
    display: block;
  }
  .diagram-title {
    font-size: 24px;
  }
  .installation-diagram {
    max-height: 230px;
    margin-top: 10px;
  }
  .measure-tags span {
    font-size: 10px;
    padding: 5px 9px;
  }
  .panel-note {
    font-size: 11px;
  }
  .expertise-strip {
    margin-top: 30px;
    padding: 22px 0;
    gap: 12px 20px;
    font-size: 10px;
  }
  .expertise-strip p {
    font-size: 11px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 19px;
  }
  .section-heading h2,
  h2 {
    font-size: 32px;
  }
  .section-heading > p {
    font-size: 13px;
    margin-top: 22px;
    max-width: 470px;
  }
  .service-card {
    display: flex;
    padding: 27px 24px;
  }
  .service-top {
    margin-bottom: 24px;
  }
  .service-card h3 {
    font-size: 23px;
  }
  .service-subtitle {
    font-size: 11px;
  }
  .service-description {
    font-size: 13px;
  }
  .check-list {
    margin: 23px 0 0;
    gap: 12px;
  }
  .service-actions {
    margin-top: 25px;
    display: grid;
    gap: 7px;
  }
  .service-actions .text-link {
    width: 100%;
    font-size: 12px;
  }
  .secondary-service-link {
    margin-left: 0;
    text-align: left;
    width: fit-content;
    padding-block: 6px;
  }
  .installation-banner {
    gap: 16px;
    padding: 24px;
  }
  .installation-banner h3 {
    font-size: 14px;
    line-height: 1.5;
  }
  .installation-banner p {
    font-size: 11px;
  }
  .installation-banner > .text-link {
    margin-left: 0;
    flex-basis: 100%;
    font-size: 11px;
  }
  .banner-icon {
    width: 36px;
    height: 36px;
  }
  .method-grid {
    gap: 42px;
  }
  .method-intro > p:not(.eyebrow) {
    font-size: 13px;
  }
  .method-steps {
    gap: 30px 24px;
  }
  .method-steps h3 {
    font-size: 16px;
    margin-top: 18px;
  }
  .method-steps p {
    font-size: 11px;
  }
  .method-note {
    margin-top: 26px;
    padding-top: 24px;
  }
  .area-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .section-copy {
    font-size: 13px;
    margin-top: 21px;
  }
  .area-title {
    font-size: 11px;
  }
  .area-list li {
    font-size: 12px;
  }
  .additional-services {
    margin-top: 38px;
  }
  .additional-services summary strong {
    font-size: 12px;
  }
  .additional-services .eyebrow {
    font-size: 8px;
  }
  .additional-services > div > p {
    font-size: 12px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .contact-intro {
    padding-top: 0;
  }
  .contact-intro h2 {
    font-size: 32px;
  }
  .contact-channels {
    max-width: 100%;
    margin-top: 22px;
  }
  .contact-channels strong {
    font-size: 14px;
  }
  .contact-hint {
    margin-top: 25px;
    max-width: 100%;
  }
  .contact-form-panel {
    padding: 24px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 17px 12px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }
  .form-challenge label {
    font-size: 10px;
    min-width: 140px;
  }
  .form-field label {
    font-size: 10px;
  }
  .form-privacy {
    font-size: 10px;
  }
  .contact-dialog {
    padding: 22px 18px;
    max-height: 92dvh;
  }
  .dialog-header h2 {
    font-size: 21px;
  }
  .contact-dialog .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 33px 25px;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
  .footer-main .brand-logo {
    width: 260px;
  }
  .footer-main p {
    font-size: 11px;
  }
  .footer-main nav,
  .footer-contact {
    font-size: 11px;
    padding-top: 0;
    gap: 13px;
  }
  .footer-contact > a:first-child {
    font-size: 15px;
  }
  .footer-contact > a:nth-child(2) {
    overflow-wrap: anywhere;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 9px;
    margin-top: 35px;
  }
  .footer-bottom > div {
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-bottom a[aria-label] {
    margin-left: auto;
  }
  .site-footer {
    padding-top: 44px;
  }
  .legal-page h1 {
    font-size: 29px;
  }
  .legal-page {
    font-size: 14px;
  }
  .legal-page .legal-logo {
    width: 250px;
  }
}
@media (max-width: 379px) {
  .container {
    width: calc(100% - 32px);
  }
  .brand-logo {
    width: 181px;
  }
  .mobile-actions .icon-button:first-child {
    display: none;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .button {
    width: 100%;
    font-size: 11px;
  }
  .hero-audience {
    gap: 18px;
  }
  .hero-audience p {
    font-size: 10px;
  }
  .technical-panel {
    padding: 21px 18px;
  }
  .panel-heading {
    font-size: 9px;
  }
  .panel-index {
    font-size: 8px;
  }
  .diagram-title {
    font-size: 22px;
  }
  .measure-tags span {
    font-size: 9px;
  }
  .method-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .method-steps h3 {
    margin-top: 12px;
  }
  .method-steps p {
    font-size: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    padding: 22px 17px;
  }
  .footer-main {
    gap: 28px 18px;
  }
  .footer-contact > a:first-child {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Final reading sizes and narrow-screen title fitting. */
.hero-audience p {
  max-width: 290px;
}
.service-description {
  font-size: 14px;
}
.service-subtitle,
.check-list {
  font-size: 12px;
}
.form-field label,
.form-challenge label {
  font-size: 12px;
}
.form-privacy {
  font-size: 11px;
}
@media (max-width: 699px) {
  .hero-description,
  .section-copy,
  .section-heading > p,
  .method-intro > p:not(.eyebrow) {
    font-size: 14px;
  }
  .method-steps p,
  .additional-services > div > p {
    font-size: 13px;
  }
  .contact-form > p:first-child,
  .contact-hint {
    font-size: 12px;
  }
}
@media (max-width: 379px) {
  .section-heading h2,
  h2,
  .contact-intro h2 {
    font-size: 28px;
  }
}
