/* Qualivision Services — homepage design prototype. Reference: original supplied mockup. */
/* Inter (variable, opsz + wght) split by unicode-range (Milestone 14; app/tests/m14/fonts_m14.py).
   Every page uses only the Latin file; the second file holds Inter's other glyphs and is downloaded
   only by a page containing one of them. The full InterVariable.woff2 remains for the admin area. */
@font-face {
  font-family:Inter;
  src:url('../fonts/InterVariable-latin.woff2') format('woff2');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000,U+0020-007E,U+00A0-00AC,U+00AE-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+2000-200B,U+2010-2027,U+202F-2055,U+2057,U+205F,U+20AC,U+2122,U+2190-2199,U+2212,U+2264-2265,U+2713,U+FEFF;
}
@font-face {
  font-family:Inter;
  src:url('../fonts/InterVariable-ext.woff2') format('woff2');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0100-0130,U+0132-0148,U+014A-0151,U+0154-01C3,U+01C5-0254,U+0256-027B,U+027E-0284,U+0286-0290,U+0292-02A4,U+02A6-02BA,U+02BD-02C5,U+02C7-02D9,U+02DB,U+02DD-0303,U+0306-0307,U+0309-030A,U+030C,U+030F,U+0313,U+0315,U+031B,U+0323,U+0326-0328,U+032C,U+0337-0338,U+0342-0343,U+0346-036F,U+0374-0376,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03D7,U+03DC-03DD,U+03F0-03F6,U+03F9-03FA,U+03FC-0479,U+0480-049D,U+04A0-04FF,U+052F,U+0E3F,U+1D00,U+1D0D,U+1D1B,U+1D43,U+1D47-1D49,U+1D4D,U+1D4F-1D50,U+1D52,U+1D56-1D58,U+1D5B,U+1D62-1D65,U+1D9C,U+1DA0,U+1DBB,U+1DBF-1DF5,U+1DFC-1E9B,U+1E9D-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2070-2071,U+2074-208E,U+2090-209C,U+20A0-20AB,U+20AD-20AF,U+20B1-20B5,U+20B8-20BA,U+20BC-20C0,U+20DB-20DE,U+20E8,U+20F0,U+2100-2101,U+2103,U+2105-2106,U+2109,U+2113,U+2116-2117,U+211E-2121,U+2126,U+212A-212B,U+212E,U+2132,U+213B,U+214D,U+2150-217F,U+2183-2186,U+2189,U+21A9-21AA,U+21B0-21B1,U+21B3-21B5,U+21BA-21BB,U+21D0,U+21D2,U+21D4,U+21DE-21DF,U+21E4-21E5,U+21E7,U+21EA,U+2202,U+2205-2206,U+220F,U+2211,U+221A,U+221E,U+222B,U+2236,U+2248,U+2260,U+2295-2298,U+2303-2305,U+2318,U+2325-2327,U+232B,U+2380,U+2387,U+238B,U+23CE-23CF,U+2423,U+2460-2468,U+24B6-24CF,U+24EA,U+25A0-25A2,U+25AA,U+25B2-25B3,U+25B6-25B7,U+25BA-25BD,U+25C0-25C1,U+25C4-25C7,U+25CA-25CB,U+25CF,U+25E6,U+25EF,U+2600,U+2605-2606,U+263C,U+2661,U+2665,U+266A-266B,U+26A0,U+2717,U+2756,U+2764,U+2780-2788,U+27EF,U+27F5-27FA,U+2913,U+2A38,U+2B06,U+2B12-2B13,U+2B1C,U+2B24,U+2C7C,U+2C7F,U+2DFF,U+2E18,U+A69F,U+A7FF,U+A92E,U+E000,U+E002-E05E,U+E06A-E0BD,U+E0C8-E0CC,U+E0DC-E0E6,U+E0F3-E0F5,U+E106,U+E109-E10A,U+E10C-E10F,U+E111-E113,U+E117-E118,U+E121-E122,U+E124,U+E12A-E15E,U+E163,U+E1C3,U+E1D2-E1DF,U+E1E1-E2DC,U+EE01-EE07,U+EE09-EE0A,U+EE0C-EE12,U+EE14,U+EE17,U+EE1D-EE45,U+EE47-EE84,U+EE87-EED6,U+EED8-EEE1,U+F6C3,U+1F12F-1F149,U+1F16A-1F16B,U+1F850,U+1F852;
}

:root {
  --navy:#06364c;
  --navy-dark:#002332;
  --teal:#00a9bd;
  /* M15 (WCAG 2.2 AA): same hue, deep enough for text, links, focus rings and white button text on light
     surfaces (#007987: 5.13:1 on white, 4.62:1 on the #e6f6f8 language badge; #008191: 4.60:1 under white).
     --teal stays for decoration, borders, icons and on dark sections, where it passes. */
  --teal-ink:#007987;
  --teal-ink-2:#008191;
  --focus:var(--teal-ink);
  --cyan:#09b8c8;
  --text:#08364c;
  --muted:#536e80;
  --surface:#f4f9fc;
  --border:#d9e7ed;
  --radius:8px;
  --shadow:0 8px 22px rgb(14 48 70 / 6%);

  /* Layout grid. --edge is the left/right content edge used by full-bleed split panels;
     --vw becomes 100cqw below so it excludes the scrollbar and matches .container exactly. */
  --container-max:1336px;
  --gutter:56px;
  --inner:18px;
  --vw:100vw;
  --edge:max(calc(var(--gutter) + var(--inner)), calc((var(--vw) - var(--container-max)) / 2 + var(--inner)));

  /* Vertical rhythm */
  --space-section:48px;
  --space-strip:36px;
  --space-cta:44px;

  /* Section titles, eyebrows, buttons */
  --h2:40px;
  --eyebrow-gap:12px;
  --btn-lg:60px;
  --btn-md:56px;
  --btn-sm:50px;
}

@supports (width:1cqw) {
  main {
    container-type:inline-size;
  }

  :root {
    --vw:100cqw;
  }
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
  font-size:18px;
  line-height:1.5;
  background:white;
}

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

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

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

h1,h2,h3 {
  line-height:1.12;
  letter-spacing:-.035em;
}

h2 {
  font-size:38px;
  font-weight:750;
}

h3 {
  font-size:21px;
  font-weight:750;
}

p {
  color:var(--muted);
}

.container {
  width:calc(100% - 2 * var(--gutter));
  max-width:var(--container-max);
  margin-inline:auto;
}

.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.icon {
  width:28px;
  height:28px;
  display:inline-block;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}

.eyebrow {
  color:var(--teal-ink);
  font-size:16px;
  line-height:1.3;
  font-weight:750;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:var(--eyebrow-gap);
}

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  min-height:var(--btn-md);
  padding:15px 30px;
  border:1px solid var(--teal);
  border-radius:10px;
  background:linear-gradient(105deg,var(--teal-ink),var(--teal-ink-2),var(--teal-ink));
  color:white;
  font-weight:650;
  font-size:17px;
  line-height:1.3;
  white-space:nowrap;
}

.button .icon {
  width:22px;
  height:22px;
  stroke-width:1.8;
}

.button-outline {
  background:transparent;
  border:2px solid var(--teal);
  padding-inline:29px;
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-weight:650;
  font-size:16px;
  color:var(--teal-ink);
}

.text-link .icon {
  width:20px;
  height:20px;
}

/* M15: on dark sections the focus ring uses the light cyan already used for their eyebrows (>= 8.7:1 on the navy). */
.hero, .service-hero, .services-hero, .sectors-hero, .about-hero, .legal-hero, .nf-hero, .project-cta,
.service-advantages, .contact-quote-banner, .site-footer {
  --focus:#83e5ed;
}

a:focus-visible {
  outline:3px solid var(--focus);
  outline-offset:5px;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  background:white;
  z-index:10;
  padding:12px;
}

.skip-link:focus {
  top:12px;
}

/* Header */
.site-header {
  height:108px;
  background:#fff;
}

.header-inner {
  height:100%;
  display:flex;
  align-items:center;
  gap:26px;
}

.brand {
  width:268px;
  flex-shrink:0;
  margin-left:-14px;
}

.brand img {
  width:100%;
  height:auto;
}

.main-nav {
  display:flex;
  align-items:center;
  gap:30px;
  margin-left:auto;
  height:100%;
  font-size:15px;
  font-weight:550;
  white-space:nowrap;
}

.main-nav a {
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
}

/* Invisible bold copy of the label: every link keeps its bold width, so the active
   state never shifts the menu (identical nav geometry on all pages). */
.main-nav a::before {
  content:attr(data-label);
  content:attr(data-label) / "";
  height:0;
  overflow:hidden;
  visibility:hidden;
  font-weight:750;
  pointer-events:none;
}

.main-nav .active {
  font-weight:750;
}

.main-nav .active::after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:3px;
  background:var(--teal);
}

.language {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:14px;
  font-weight:650;
  margin-left:13px;
}

.header-cta {
  font-size:14px;
  min-height:44px;
  padding:11px 18px;
  gap:15px;
  border-radius:8px;
}

.header-cta .icon {
  width:18px;
  height:18px;
}

/* Hero */
.hero {
  height:610px;
  background:linear-gradient(90deg,rgba(0,25,39,.5),rgba(0,25,39,.13) 49%,transparent 75%),url('../images/home/home-hero-quality-inspection.webp') center center/cover no-repeat;
  color:white;
}

.hero-inner {
  height:100%;
  position:relative;
  display:flex;
  align-items:center;
}

.hero-copy {
  padding-bottom:0;
}

.hero .eyebrow {
  color:#83e5ed;
  font-size:18px;
  margin-bottom:14px;
}

.hero h1 {
  font-size:62px;
  line-height:1;
  font-weight:760;
  letter-spacing:-.025em;
}

.hero-description {
  font-size:20px;
  line-height:1.48;
  color:#e1eaf0;
  max-width:600px;
  margin-top:27px;
}

.hero-actions {
  display:flex;
  gap:20px;
  margin-top:39px;
}

.hero-actions .button {
  min-height:var(--btn-lg);
}

.hero-keywords {
  position:absolute;
  right:0;
  bottom:52px;
  padding:23px 24px 20px;
  border:1px solid #258398;
  border-radius:8px;
  background:rgb(0 18 28 / 52%);
  font-size:20px;
  letter-spacing:.15em;
  line-height:1.55;
  min-width:234px;
  text-transform:uppercase;
}

.hero-keywords strong {
  font-weight:650;
  letter-spacing:.2em;
}

/* Four commitments */
.values {
  background:var(--surface);
  padding-block:var(--space-strip);
  border-bottom:1px solid var(--border);
}

/* Items stretch to one shared height and start at the top, so icons and titles share
   the same guide lines even when one description wraps to two lines. */
.value-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
}

.value {
  text-align:center;
  position:relative;
  padding:0 20px;
}

.value+.value::before {
  content:'';
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  border-left:1px solid #c6dce5;
}

.value>.icon {
  width:58px;
  height:58px;
  stroke-width:2.2;
  margin-bottom:17px;
}

.value h2 {
  font-size:20px;
  letter-spacing:-.025em;
  margin-bottom:12px;
}

.value p {
  font-size:17px;
  line-height:1.45;
}

/* Services */
.services {
  background:var(--surface);
  padding-block:var(--space-section);
}

.section-heading {
  text-align:center;
}

.section-heading h2 {
  font-size:var(--h2);
  line-height:1.14;
  letter-spacing:-.025em;
}

/* Centred eyebrows: compensate the trailing letter-spacing so the text is optically centred. */
.section-heading .eyebrow,
.trust .eyebrow {
  padding-left:.18em;
}

.section-heading>p:last-child:not(.eyebrow) {
  margin-top:16px;
  font-size:18px;
  line-height:1.5;
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
  margin-top:32px;
}

/* Cards are flex columns: the "En savoir plus" link is pushed to one shared bottom line. */
.service-card {
  display:flex;
  flex-direction:column;
  border:1px solid #e4edf2;
  border-radius:var(--radius);
  background:white;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.service-photo {
  width:100%;
  height:158px;
  object-fit:cover;
  flex-shrink:0;
}

.service-content {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  flex:1;
  padding:51px 32px 25px;
  position:relative;
}

.service-content .text-link {
  margin-top:auto;
}

.service-icon {
  position:absolute;
  left:32px;
  top:-35px;
  padding:13px;
  background:white;
  border-radius:5px 5px 0 0;
}

.service-icon .icon {
  width:39px;
  height:39px;
  display:block;
}

.service-content h3 {
  font-size:21px;
  white-space:nowrap;
  letter-spacing:-.03em;
}

.service-content p {
  font-size:16px;
  line-height:1.45;
  margin:12px 0 23px;
}

.service-content .text-link {
  font-size:16px;
}

/* Automotive split */
.sector {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:422px;
  border-block:1px solid var(--border);
}

.sector-visual {
  --defer-bg: url('../images/home/home-automotive-sector.webp');
  background:linear-gradient(90deg,rgba(0,24,39,.3),transparent 80%),var(--bg-img, none) center/cover;
  position:relative;
  min-height:422px;
}

.sector-visual>p {
  position:absolute;
  left:max(76px,calc((var(--vw) - 1288px)/2));
  bottom:79px;
  color:white;
  letter-spacing:.075em;
  text-transform:uppercase;
  font-size:29px;
  line-height:1.29;
  font-weight:400;
}

.sector-visual strong {
  font-weight:750;
  letter-spacing:.13em;
}

.sector-visual p>span {
  display:block;
  height:2px;
  background:linear-gradient(90deg,var(--teal) 25%,#07566b 25%);
  width:310px;
  margin-top:17px;
}

.sector-copy {
  background:var(--surface);
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  padding:45px 58px;
}

.sector-content {
  position:relative;
  z-index:1;
  max-width:590px;
}

.sector-copy h2 {
  font-size:var(--h2);
  line-height:1.14;
}

.sector-content>p:not(.eyebrow) {
  margin:23px 0 26px;
  font-size:18px;
  line-height:1.5;
  max-width:550px;
}

.sector-watermark {
  position:absolute;
  width:450px;
  height:500px;
  overflow:hidden;
  right:-165px;
  top:0;
  opacity:.08;
  transform:rotate(-9deg);
}

.sector-watermark img {
  width:1500px;
  max-width:none;
  transform:translate(-75px, -50px);
}

/* Statistics — client confirmation required */
.statistics {
  background:var(--navy-dark);
  color:white;
  padding-block:var(--space-strip);
}

/* Cells stretch to one row height and their content starts at the top, so icons, figures and
   labels stay on shared lines even when one label wraps. */
.statistics-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
}

/* Three fixed rows (icon / figure / label): the figure row has one shared height, so a
   two-line figure ("Partenaire de confiance") no longer shifts its icon and label. */
.stat {
  --stat-num:45px;
  text-align:center;
  position:relative;
  display:grid;
  grid-template-rows:auto minmax(calc(var(--stat-num) * 1.22), auto) auto;
  justify-items:center;
  align-items:center;
  align-content:start;
}

.stat+.stat::before {
  content:'';
  position:absolute;
  top:8px;
  bottom:8px;
  border-left:1px solid #146070;
  left:0;
}

.stat>.icon {
  width:53px;
  height:53px;
  color:#08aec0;
  margin-bottom:13px;
  stroke-width:2;
}

.stat:nth-child(3)>.icon {
  color:#7bb9c9;
}

.stat>strong {
  font-size:var(--stat-num);
  font-weight:750;
  line-height:1.1;
  letter-spacing:-.025em;
}

.stat p {
  font-size:16px;
  margin-top:14px;
  color:#d2e0e8;
}

.stat>strong.stat-partner {
  font-size:25px;
  line-height:1.04;
}

/* Why Qualivision */
.why {
  background:var(--surface);
  padding-block:var(--space-section);
}

.why-inner {
  display:grid;
  grid-template-columns:.94fr 1fr;
  gap:70px;
  padding-inline:39px;
}

.why-copy {
  padding-top:3px;
}

.why h2 {
  font-size:var(--h2);
  line-height:1.14;
}

.why-copy>p:not(.eyebrow) {
  font-size:18px;
  line-height:1.55;
  margin:20px 0 23px;
  max-width:550px;
}

.check-list {
  list-style:none;
  margin:0 0 22px;
  padding:0;
  font-size:17px;
  color:var(--muted);
  display:grid;
  gap:12px;
}

/* Check badge: drawn tick (the "✓" glyph is not in Inter and fell back to OS symbol fonts),
   centred on the first text line whatever the badge size. Pages only set --check / --check-bg. */
.check-list li {
  --check:23px;
  position:relative;
  padding-left:calc(var(--check) * 1.6);
}

.check-list li::before {
  content:'';
  position:absolute;
  left:0;
  top:calc(.75em - var(--check) / 2);
  width:var(--check);
  height:var(--check);
  border-radius:50%;
  background:var(--check-bg,var(--teal)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.4 3.3 3.3L17 9'/%3E%3C/svg%3E") center/100% no-repeat;
}



.why-visual {
  position:relative;
  padding-bottom:34px;
}

.expert-photo {
  width:100%;
  height:477px;
  border-radius:var(--radius);
  object-fit:cover;
}

.vision-card {
  position:absolute;
  right:-38px;
  bottom:0;
  width:380px;
  padding:29px 30px 43px 48px;
  border-radius:var(--radius);
  background:white;
  box-shadow:0 12px 28px rgb(5 43 64 / 12%);
}

.vision-card>.icon {
  width:18px;
  height:18px;
  color:var(--teal);
  position:absolute;
  top:29px;
  left:23px;
}

.vision-card p {
  font-size:18px;
  line-height:1.48;
}

.vision-card strong {
  color:var(--text);
  font-weight:750;
}

/* Method — shared 4-step process.
   Every step is one centred column: icon, number, title and text share the column axis.
   The arrows are placed from the same variables, exactly mid-gap and level with the numbers.
   Page variants only change the variables. */
.method {
  background:#fff;
  padding-block:var(--space-section);
}

.steps {
  --step-gap:26px;
  --step-icon:52px;
  --step-icon-gap:12px;
  --step-num:44px;
  --step-num-gap:14px;
  --step-text-gap:10px;
  --step-arrow:26px;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--step-gap);
  padding:0;
  margin:28px 0 0;
}

.steps li {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* Shared rows across the steps (icon / number + title / text): a title that wraps onto two
   lines (often in French) no longer pushes its description below the others. Each step spans
   three rows of the list grid; the gap between steps stays the list's own row gap. */
@supports (grid-template-rows:subgrid) {
  .steps li {
    display:grid;
    grid-row:span 3;
    grid-template-rows:subgrid;
    row-gap:0;
    justify-items:center;
    align-items:start;
    align-content:start;
  }
}

.step-icon {
  width:var(--step-icon);
  height:var(--step-icon);
  margin:0 0 var(--step-icon-gap);
  stroke-width:2;
}

.steps h3 {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:var(--step-num-gap);
  font-size:17px;
  line-height:1.25;
  letter-spacing:-.025em;
}

.steps h3 span {
  width:var(--step-num);
  height:var(--step-num);
  flex-shrink:0;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:21px;
  line-height:1;
  background:linear-gradient(110deg,var(--teal-ink),#03506a);
  color:white;
  font-weight:600;
}

.steps p {
  font-size:16px;
  line-height:1.45;
  margin-top:var(--step-text-gap);
}

.step-arrow {
  position:absolute;
  left:100%;
  top:calc(var(--step-icon) + var(--step-icon-gap) + var(--step-num) / 2);
  width:var(--step-arrow);
  height:var(--step-arrow);
  transform:translate(calc(var(--step-gap) / 2 - 50%),-50%);
  color:#03516b;
}

/* Road banner */
.project-cta {
  --defer-bg: url('../images/home/home-road-cta.webp');
  padding-block:var(--space-cta);
  background:linear-gradient(90deg,rgba(0,29,44,.93) 0%,rgba(0,30,44,.62) 50%,rgba(0,32,46,.38)),var(--bg-img, none) center 58%/cover;
  color:white;
  border-top:9px solid #e6f0f3;
  display:flex;
  align-items:center;
}

.cta-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
}

.project-cta h2 {
  font-size:var(--h2);
  line-height:1.14;
  letter-spacing:-.025em;
}

.project-cta p:not(.eyebrow) {
  font-size:18px;
  line-height:1.5;
  color:#e0ebf0;
  margin-top:12px;
}

.project-cta .eyebrow {
  color:#3fd0de;
}

.project-cta .button {
  min-width:280px;
  min-height:var(--btn-lg);
}

/* Replaceable client logo strip */
.trust {
  padding-block:var(--space-strip);
  display:flex;
  align-items:center;
  text-align:center;
  border-bottom:8px solid #edf4f7;
}

.trust .eyebrow {
  font-size:16px;
  margin:0 0 27px;
  color:var(--teal-ink);
}

.client-logos {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:35px;
  align-items:center;
}

.client-logos img {
  width:100%;
  height:65px;
  object-fit:contain;
}

/* Footer */
.site-footer {
  background:var(--navy-dark);
  color:#e7eff3;
}

.footer-main {
  position:relative;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:72px;
  min-height:366px;
  padding-block:49px;
}

.footer-logo {
  width:274px;
  display:block;
  border-radius:4px;
  background:#fff;
  margin-bottom:20px;
}

.footer-logo img {
  width:100%;
  height:auto;
}

.footer-brand>p {
  color:#d0e0e7;
  font-size:16px;
  line-height:1.55;
  max-width:365px;
}

.social-links {
  display:flex;
  gap:12px;
  margin-top:19px;
}

.social-links a {
  width:39px;
  height:39px;
  border:1px solid #b5cbd5;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:22px;
  line-height:1;
  font-weight:650;
}

.social-links svg {
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
}

.footer-column h2 {
  font-size:16px;
  letter-spacing:0;
  font-weight:650;
  margin:3px 0 21px;
}

.footer-column>a {
  display:block;
  font-size:16px;
  color:#d0e0e7;
  margin-bottom:9px;
}
.footer-column > .footer-whatsapp { display: inline-flex; color: #fff; margin-top: 4px; font-size: 14px; padding: 12px 16px; }

.contact p {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:16px;
  color:#d0e0e7;
  margin-bottom:13px;
  white-space:nowrap;
}

.contact .icon {
  width:19px;
  height:19px;
  color:#7bb8c9;
  stroke-width:1.8;
}

.back-top {
  position:absolute;
  right:0;
  bottom:22px;
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  background:var(--teal-ink);
  color:#fff;
  border-radius:50%;
  font-size:27px;
}

.footer-bottom {
  border-top:1px solid #175166;
}

.footer-bottom>.container {
  min-height:101px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.footer-bottom p {
  font-size:15px;
  color:#cbdde5;
}

/* Developer credit (external link, new tab): underlined so it reads as a link without relying on colour. */
.footer-credit {
  white-space:nowrap;
}

.footer-credit a {
  text-decoration:underline;
  text-decoration-color:rgb(203 221 229 / 55%);
  text-underline-offset:3px;
  transition:color .2s ease, text-decoration-color .2s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color:#fff;
  text-decoration-color:var(--cyan);
}

.footer-credit a:focus-visible {
  outline-offset:3px;
}

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

/* FAQ toggle (every FAQ on the site).
   The "+" / "−" is drawn with two bars instead of a text glyph: font glyphs sit on the text
   baseline and were optically off-centre inside the circle. Even sizes keep the bars pixel-crisp. */
.service-faq-item h3>span,
.services-faq-item h3>span {
  --faq-toggle:28px;
  --faq-bar:12px;
  position:relative;
  flex:0 0 var(--faq-toggle);
  width:var(--faq-toggle);
  height:var(--faq-toggle);
  border-radius:50%;
  background:#a2b4c2;
  color:#fff;
  font-size:0;
  line-height:0;
}

.service-faq-item h3>span::before,
.service-faq-item h3>span::after,
.services-faq-item h3>span::before,
.services-faq-item h3>span::after {
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  width:var(--faq-bar);
  height:2px;
  margin:-1px 0 0 calc(var(--faq-bar) / -2);
  border-radius:1px;
  background:currentColor;
}

.service-faq-item h3>span::after,
.services-faq-item h3>span::after {
  transform:rotate(90deg);
}

.services-faq-item.is-expanded h3>span {
  background:#08718a;
}

.services-faq-item.is-expanded h3>span::after {
  display:none;
}

/* Tablet and smaller desktops */
@media(min-width:1101px) and (max-width:1350px) {
  :root {
    --gutter:40px;
    --h2:36px;
  }

  .header-inner {
    gap:18px;
  }

  .brand {
    width:226px;
  }

  .main-nav {
    gap:20px;
    font-size:13px;
  }

  .language {
    margin-left:0;
  }

  .header-cta {
    font-size:12px;
    padding-inline:14px;
    gap:10px;
  }

  .hero h1 {
    font-size:54px;
  }

  .hero-description {
    max-width:560px;
  }

  .service-content {
    padding-inline:22px;
  }

  .service-icon {
    left:22px;
  }

  .service-content h3 {
    font-size:18px;
  }

  .service-content p {
    font-size:14px;
  }

  .sector-copy {
    padding-inline:44px;
  }

  .why-inner {
    gap:50px;
    padding-inline:20px;
  }

  .why .button {
    font-size:14px;
  }

  .footer-main {
    gap:42px;
  }

  .footer-logo {
    width:240px;
  }

  .contact p,.footer-column>a {
    font-size:14px;
  }

}

@media(max-width:1100px) {
  :root {
    --gutter:24px;
    --inner:0px;
    --h2:32px;
    --space-section:40px;
    --space-strip:32px;
    --space-cta:40px;
  }

  .site-header {
    height:auto;
  }

  .header-inner {
    min-height:98px;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:12px;
    padding-block:8px;
  }

  .brand {
    width:226px;
    margin-left:-10px;
  }

  .main-nav {
    order:4;
    flex-basis:100%;
    justify-content:center;
    gap:30px;
    font-size:14px;
    padding:10px 0 13px;
    margin:0;
  }

  .main-nav a {
    padding-bottom:8px;
  }

  .language {
    margin-left:auto;
  }

  .header-cta {
    margin-left:12px;
  }

  .hero {
    height:590px;
    background-position:58% center;
  }

  .hero h1 {
    font-size:48px;
  }

  .hero-description {
    max-width:510px;
    font-size:18px;
  }

  .hero .eyebrow {
    font-size:15px;
  }

  .hero-keywords {
    font-size:15px;
    min-width:190px;
    bottom:24px;
    padding:16px;
  }

  .hero-actions .button {
    font-size:15px;
    padding-inline:21px;
  }

  .value {
    padding-inline:12px;
  }

  .value h2 {
    font-size:17px;
  }

  .value p {
    font-size:14px;
  }

  .value>.icon {
    width:46px;
    height:46px;
  }

  .service-grid {
    grid-template-columns:repeat(2,1fr);
    gap:24px;
  }

  .service-photo {
    height:auto;
    aspect-ratio:2/1;
  }

  .service-content h3 {
    font-size:22px;
  }

  .sector-copy {
    padding:34px 26px;
  }

  .sector-content>p:not(.eyebrow) {
    font-size:16px;
  }

  .sector-visual>p {
    left:35px;
    bottom:65px;
    font-size:25px;
  }

  .sector-visual p>span {
    width:260px;
  }

  .sector .button {
    font-size:14px;
    gap:16px;
    padding-inline:20px;
  }

  .stat p {
    font-size:13px;
  }

  .stat {
    --stat-num:36px;
  }

  .stat>strong.stat-partner {
    font-size:21px;
  }

  .why-inner {
    padding-inline:0;
    gap:30px;
  }

  .why-copy>p:not(.eyebrow),.check-list {
    font-size:15px;
  }

  .why .eyebrow {
    font-size:13px;
  }

  .why .button {
    font-size:13px;
    padding-inline:17px;
    gap:12px;
  }

  .expert-photo {
    height:420px;
  }

  .vision-card {
    right:-5px;
    bottom:0;
    width:90%;
    padding:27px 17px 28px 38px;
  }

  .vision-card p {
    font-size:15px;
  }

  .vision-card>.icon {
    left:15px;
  }

  .steps {
    --step-gap:20px;
    --step-icon:46px;
    --step-num:36px;
    --step-num-gap:10px;
    --step-arrow:20px;
  }

  .steps h3 {
    font-size:14px;
  }

  .steps h3 span {
    font-size:17px;
  }

  .steps p {
    font-size:13.5px;
  }

  .cta-inner {
    gap:28px;
  }

  .project-cta p:not(.eyebrow) {
    font-size:15px;
  }

  .project-cta .button {
    font-size:14px;
    min-width:220px;
  }

  .footer-main {
    grid-template-columns:1.4fr 1fr;
    gap:40px 60px;
    padding-bottom:70px;
  }

  .footer-bottom p {
    font-size:12px;
  }

  .steps p br {
    display:none;
  }

}

/* Mobile: same section sequence, readable stacked content, no script-driven menu. */
@media(max-width:640px) {
  :root {
    --gutter:20px;
    --h2:28px;
    --space-section:36px;
    --space-strip:28px;
    --space-cta:34px;
  }

  body {
    font-size:16px;
  }

  .header-inner {
    gap:8px;
    padding-top:8px;
  }

  .brand {
    width:187px;
  }

  .language {
    font-size:12px;
    margin-left:auto;
  }

  .header-cta {
    font-size:11px;
    min-height:36px;
    padding:8px 9px;
    gap:5px;
    margin-left:0;
  }

  .header-cta .icon {
    width:14px;
  }

  .main-nav {
    gap:11px 19px;
    flex-wrap:wrap;
    justify-content:flex-start;
    font-size:12px;
    line-height:1.4;
    padding:4px 0 8px;
  }

  .main-nav a {
    padding-bottom:4px;
  }

  .hero {
    height:auto;
    min-height:610px;
    background-position:66% center;
    background-image:linear-gradient(90deg,rgba(0,23,37,.93),rgba(0,23,37,.58)),url('../images/home/home-hero-quality-inspection.webp');
  }

  .hero-inner {
    display:block;
    padding-top:55px;
    padding-bottom:155px;
  }

  .hero .eyebrow {
    font-size:11px;
    letter-spacing:.13em;
    margin-bottom:20px;
  }

  .hero h1 {
    font-size:clamp(31px,8.8vw,48px);
    line-height:1.13;
  }

  .hero-description {
    font-size:16px;
    line-height:1.6;
    max-width:440px;
    margin-top:24px;
  }

  .hero-actions {
    gap:12px;
    margin-top:25px;
    flex-wrap:wrap;
  }

  .hero-actions .button {
    min-height:48px;
    padding:12px 17px;
    font-size:13px;
    gap:15px;
  }

  .hero-keywords {
    right:0;
    bottom:24px;
    font-size:12px;
    min-width:164px;
    padding:12px 17px;
    line-height:1.55;
  }

  .value-grid {
    grid-template-columns:1fr 1fr;
    row-gap:29px;
  }

  .value {
    padding:0 10px;
  }

  .value>.icon {
    width:43px;
    height:43px;
    margin-bottom:12px;
  }

  .value h2 {
    font-size:16px;
  }

  .value p {
    font-size:13px;
  }

  .value+.value::before {
    top:6px;
    bottom:6px;
  }

  .value:nth-child(3)::before {
    display:none;
  }

  .eyebrow {
    font-size:12px;
  }

  .section-heading h2 {
    line-height:1.2;
  }

  .section-heading>p:last-child:not(.eyebrow) {
    font-size:15px;
  }

  .desktop-break {
    display:none;
  }

  .service-grid {
    gap:20px;
    grid-template-columns:1fr;
    margin-top:28px;
  }

  .service-photo {
    aspect-ratio:2.1/1;
  }

  .service-content {
    padding:43px 26px 23px;
  }

  .service-icon {
    left:26px;
    top:-29px;
    padding:10px;
  }

  .service-icon .icon {
    width:34px;
    height:34px;
  }

  .service-content h3 {
    font-size:22px;
  }

  .service-content p {
    font-size:16px;
    margin:12px 0 20px;
  }

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

  .sector-visual {
    min-height:315px;
  }

  .sector-visual>p {
    font-size:25px;
    left:30px;
    bottom:42px;
  }

  .sector-copy {
    padding:38px 25px;
  }

  .sector-content>p:not(.eyebrow) {
    font-size:16px;
  }

  .sector-watermark {
    width:330px;
    right:-130px;
  }

  .statistics-grid {
    grid-template-columns:1fr 1fr;
    gap:35px 0;
  }

  .stat {
    padding-inline:8px;
  }

  .stat+.stat::before {
    top:6px;
    bottom:6px;
  }

  .stat:nth-child(3)::before {
    display:none;
  }

  .stat>.icon {
    width:42px;
    height:42px;
  }

  .stat {
    --stat-num:35px;
  }

  .stat>strong.stat-partner {
    font-size:20px;
  }

  .stat p {
    font-size:12px;
    margin-top:10px;
  }

  .why-inner {
    grid-template-columns:1fr;
    gap:28px;
  }

  .why-copy>p:not(.eyebrow) {
    font-size:16px;
  }

  .check-list {
    font-size:14px;
    gap:13px;
  }

  .why .button {
    font-size:13px;
    white-space:normal;
    padding-inline:19px;
  }

  .why-visual {
    padding:0 15px 50px 0;
  }

  .expert-photo {
    height:auto;
    aspect-ratio:1.25;
    object-fit:cover;
  }

  .vision-card {
    width:77%;
    right:0;
    bottom:0;
    padding-bottom:25px;
  }

  .vision-card p {
    font-size:14px;
  }

  .steps {
    --step-gap:44px;
    --step-icon:46px;
    --step-num:38px;
    --step-arrow:20px;
    grid-template-columns:minmax(0,1fr);
    margin-top:28px;
  }

  .steps h3 {
    font-size:16px;
  }

  .steps p {
    font-size:15px;
  }

  .step-arrow {
    left:50%;
    top:100%;
    transform:translate(-50%,calc(var(--step-gap) / 2 - 50%)) rotate(90deg);
  }

  .project-cta {
    border-top-width:6px;
  }

  .cta-inner {
    align-items:flex-start;
    flex-direction:column;
    gap:22px;
  }

  .project-cta p:not(.eyebrow) {
    font-size:15px;
    line-height:1.6;
  }

  .project-cta .button {
    min-width:0;
    min-height:50px;
    font-size:14px;
  }

  .trust {
    border-bottom-width:5px;
  }

  .trust .eyebrow {
    font-size:11px;
    margin-bottom:15px;
  }

  .client-logos {
    grid-template-columns:repeat(3,1fr);
    gap:12px 22px;
  }

  .client-logos img {
    height:30px;
  }

  .footer-main {
    grid-template-columns:1fr 1fr;
    gap:35px 20px;
    padding-top:32px;
  }

  .footer-brand {
    grid-column:1/-1;
  }

  .footer-logo {
    width:238px;
    margin-bottom:17px;
  }

  .footer-brand>p {
    font-size:14px;
    max-width:370px;
  }

  .footer-column h2 {
    font-size:14px;
    margin-bottom:17px;
  }

  .footer-column>a {
    font-size:12px;
    margin-bottom:11px;
  }

  .contact {
    grid-column:1/-1;
  }

  .contact p {
    font-size:14px;
  }

  .back-top {
    bottom:23px;
    width:43px;
    height:43px;
  }

  .footer-bottom>.container {
    padding-block:22px;
    min-height:95px;
    flex-direction:column;
    gap:9px;
    align-items:flex-start;
  }

  .footer-bottom p {
    font-size:10px;
  }

  /* Inline padding does not move the text; it only grows the tap target to 24px. */
  .footer-credit a {
    padding-block:6px;
  }

}

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

}


/* Responsive header: explicit rows prevent accidental wrapping of controls. */
.mobile-menu {
  display: none;
}

@media (max-width: 1200px) {
  .site-header {
    height: auto;
  }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px 20px;
    padding-block: 10px;
    height: auto;
    min-height: 0;
  }
  .brand {
    width: min(240px, 100%);
    margin: 0;
  }
  .language, .header-cta {
    margin: 0;
  }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    height: auto;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    font-size: 14px;
  }
  .main-nav a {
    min-height: 44px;
    padding: 8px 0;
  }
}

@media (max-width: 640px) {
  .header-inner {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding-block: 6px 12px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    width: min(210px, 100%);
  }
  .language {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 44px;
    padding-inline: 10px;
    font-size: 14px;
  }
  .main-nav {
    display: none;
  }
  .header-cta {
    grid-column: 2;
    grid-row: 2;
    min-height: 44px;
    padding: 11px 12px;
    font-size: 12px;
    gap: 9px;
  }
  .mobile-menu {
    display: block;
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }
  .mobile-menu[open] summary {
    border-color: var(--teal);
    background: var(--surface);
  }
  .mobile-nav {
    position: absolute;
    z-index: 5;
    top: 100%;
    left: -20px;
    right: -20px;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 20px 20px;
    border-top: 1px solid var(--border);
    background: white;
    box-shadow: 0 12px 20px rgb(0 35 50 / 12%);
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
  }
  .mobile-nav a[aria-current] {
    background: var(--surface);
    color: var(--navy);
    font-weight: 750;
  }
}

/* Deferred decorative background photos (Milestone 14). A section marked data-defer-bg declares its
   photo in --defer-bg and paints it through var(--bg-img, none), so gradients show at once and the
   photo does not compete with the hero at page load. main.js adds .bg-ready shortly before the section
   scrolls into view; without JavaScript, nojs.css (in <noscript>) shows every photo immediately. */
[data-defer-bg]:not(.bg-ready) { --bg-img: none; }
.bg-ready { --bg-img: var(--defer-bg); }
