/* ============================================================
   IMPLICIA — reproduction statique du site implicia.ch
   Palette extraite du site original :
   --color1 (bleu primaire) : #076ec9
   --color2 (bleu foncé)     : #036394
   accent clair              : #4EBDF5
   vert/teal foncé           : #114c50
   navy logo                 : #1d3344
   Polices : Rubik (titres + corps), Encode Sans (certains blocs)
   ============================================================ */

:root {
  --color1: #076ec9;
  --color1-125: #055397;
  --color2: #036394;
  --color2-125: #024a6f;
  --accent: #4EBDF5;
  --green: #114c50;
  --navy: #1d3344;
  --ink: #000000;
  --body: rgba(0, 0, 0, 0.6);
  --light-bg: #EEEFF5;
  --font1: "Rubik", sans-serif;
  --font2: "Encode Sans", "Rubik", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font1);
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font1);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

a { color: var(--color1); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

section { padding: 0; }

/* ----------------------- HEADER ----------------------- */
.site-header {
  background: #fff;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.logo-holder img { height: 50px; width: auto; display: block; }

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 0;
}
.main-nav li a {
  display: inline-block;
  font-size: 16px;
  color: #000;
  padding: 5px 0;
  margin: 0 20px 0 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s all;
}
.main-nav li a:hover,
.main-nav li.active a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
}
.main-nav li.active a { border-bottom-color: var(--color1); }
.nav-search { color: #000; font-size: 16px; }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: #000;
  cursor: pointer;
}

/* ----------------------- BUTTONS ----------------------- */
.btn {
  display: inline-block;
  font-family: var(--font1);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s all;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color1); border-color: var(--color1); color: #fff; }
.btn-primary:hover { background: var(--color1-125); border-color: var(--color1-125); color: #fff; }
.btn-color1 { background: var(--color1); color: #fff; }
.btn-color1:hover { background: var(--color1-125); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 18px; }
.btn-outline-primary { color: var(--color1); border-color: var(--color1); background: #fff; }
.btn-outline-primary:hover { background: var(--color1); color: #fff; }
.btn-linkedin { background: #0a66c2; color: #fff; }
.btn-linkedin:hover { background: #084e95; color: #fff; }
.btn i { margin-right: 8px; }

/* ----------------------- HERO ----------------------- */
/* aplat vert canard, sans image de fond.
   L'ancienne photo faisait tomber la mention legale a 2,06:1 dans la bande
   du couchant ; ici le pire cas mesure 4,99:1. */
.hero {
  position: relative;
  background: linear-gradient(168deg, var(--green) 0%, #0f4448 55%, #0c3538 100%);
  color: #d3e0df;
  padding: 90px 0;
  overflow: hidden;
}
/* halo tres discret : evite l'aplat totalement plat sans nuire au contraste */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 85% at 82% 12%, rgba(255,255,255,0.05), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 900px; }
.hero h1 {
  font-size: 60px;
  color: #fff;
  font-weight: 700;
  margin: 0 0 25px;
  line-height: 1.1;
}
.hero p { color: #d3e0df; font-size: 20px; margin: 0 0 18px; }
.hero p strong { color: #fff; }
.hero .hero-note { color: #b9cbca; font-size: 15px; }
.hero a.text-link { color: #d3e0df; text-decoration: underline; }
/* sur fond vert, un bouton bleu se noie : bouton blanc, texte vert canard */
.hero .btn-primary { background: #fff; border-color: #fff; color: var(--green); margin: 10px 0; }
.hero .btn-primary:hover { background: #e8efee; border-color: #e8efee; color: var(--green); }

/* ----------------------- GENERIC SECTION BLOCKS ----------------------- */
.section-pad { padding: 50px 0; }
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.col {
  padding: 0 15px;
  flex: 1 1 0;
  min-width: 0;
}
.col-3 { flex: 0 0 33.3333%; max-width: 33.3333%; padding: 0 15px; }
.col-2 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.text-center { text-align: center; }

.block-text h2 { margin-top: 0; }
.block-text ul { padding-left: 1.2em; }
.block-text li { margin-bottom: 6px; }
.green-title { color: var(--green); }
.font-encode { font-family: var(--font2); }

/* logo cards row (CHECK / ROADMAP / SECURE) */
.logo-cards { padding: 30px 0 10px; }
.logo-cards-head { text-align: center; margin-bottom: 30px; }
.logo-cards-head .eyebrow-pre { color: var(--green); font-size: 14px; }
.logo-cards-head h2 { font-size: 38px; color: var(--green); margin: 0; }
.logo-cards .row { align-items: stretch; }
.logo-card-img {
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.logo-card-img img { max-height: 170px; width: auto; }

/* service columns */
.services { padding: 30px 0; }
.service-col h3, .service-col .big { font-family: var(--font2); }
.service-col .eyebrow { font-size: 21px; font-weight: 700; color: #000; display:block; margin-bottom: 4px; }
.service-col .big { font-size: 30px; font-weight: 700; color: var(--green); display: block; }
.service-col p { font-family: var(--font2); }
.service-col ul { font-family: var(--font2); padding-left: 1.2em; }
.service-col .usecase { font-style: normal; color: var(--body); margin-top: 10px; }

/* vignettes de graphiques (extraits de livrable) */
/* colonnes en flex + marge auto : les 3 vignettes s'alignent quelle que soit
   la longueur du texte au-dessus */
.services .row { align-items: stretch; }
.service-col { display: flex; flex-direction: column; }
.viz { margin: 22px 0 0; padding-top: 4px; }
.viz-wrap { margin-top: auto; }
.viz-thumb {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--beige, #e5e2dd);
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
  position: relative;
  transition: border-color .15s, box-shadow .15s;
}
.viz-thumb:hover, .viz-thumb:focus-visible {
  border-color: var(--green);
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  outline: none;
}
/* meme boite pour les 3 : les SVG ont des hauteurs natives differentes
   (456 / 290 / 502), object-fit les centre sans les deformer */
.viz-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 470;
  object-fit: contain;
}
.viz-zoom {
  position: absolute; right: 14px; bottom: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  opacity: 0; transition: opacity .15s;
}
.viz-thumb:hover .viz-zoom, .viz-thumb:focus-visible .viz-zoom { opacity: 1; }
.viz figcaption {
  margin-top: 8px;
  font-family: var(--font2);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--body);
  /* hauteur reservee identique : sans cela une legende de 2 lignes au lieu
     de 3 remonte sa vignette et casse l'alignement des 3 graphiques */
  min-height: calc(2 * 1.45em);
}
.viz-cap-ref { display: block; margin-top: 4px; color: var(--green); font-weight: 700; }
.viz-demo { color: #8a8a85; font-style: italic; }

/* lightbox */
.viz-lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(24,52,68,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.viz-lightbox[hidden] { display: none; }
.viz-lightbox-inner {
  position: relative;
  background: #fff; border-radius: 10px;
  padding: 18px;
  max-width: 1000px; width: 100%;
  max-height: 92vh; overflow: auto;
}
.viz-lightbox-inner .viz-full { display: block; width: 100%; height: auto; }
.viz-cap { margin: 12px 0 0; font-family: var(--font2); font-size: 13px; color: var(--body); }
/* a l'interieur du cadre : overflow:auto sur .viz-lightbox-inner
   rognerait un bouton positionne en negatif */
.viz-close {
  position: sticky; float: right;
  top: 0; margin: -6px -6px 0 0;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid #fff; background: var(--green); color: #fff;
  font-size: 16px; cursor: pointer; z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.viz-close:hover, .viz-close:focus-visible { background: #0d3a3d; outline: none; }
@media (max-width: 767px) {
  .viz-zoom { opacity: 1; }
}

/* selecteur des 6 cas d'usage */
.cas-choix { padding: 0 0 10px; }
.cas-choix-intro {
  font-family: var(--font2);
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 18px;
}
.cas-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cas-grid a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 18px 20px;
  border: 1px solid #e5e2dd;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  background: #fff;
  color: var(--body);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cas-grid a:hover, .cas-grid a:focus-visible {
  border-color: var(--green);
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
  transform: translateY(-2px);
  text-decoration: none;
  outline: none;
}
.cas-ico {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; margin-bottom: 12px;
}
.cas-lib {
  font-family: var(--font2);
  font-size: 17px; font-weight: 700; color: #000;
  line-height: 1.25;
}
.cas-sub {
  font-family: var(--font2);
  font-size: 13.5px; line-height: 1.4;
  color: var(--body);
  margin-top: 6px;
}
/* les 6 cas, en pleine largeur et empiles */
.cas-liste { display: flex; flex-direction: column; gap: 14px; }
.cas-bloc {
  scroll-margin-top: 110px;   /* l'en-tete est sticky : sinon l'ancre passe dessous */
  border: 1px solid #e5e2dd;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  background: #fff;
}
/* accordeon : le repli tient au <details> natif, sans JavaScript */
.cas-bloc { padding: 0; overflow: hidden; }
.cas-head {
  display: flex; align-items: center; gap: 14px;
  margin: 0; padding: 18px 22px;
  cursor: pointer;
  list-style: none;                 /* retire la fleche par defaut */
  transition: background .15s;
}
.cas-head::-webkit-details-marker { display: none; }
.cas-head:hover { background: #f7f6f4; }
.cas-bloc:focus-within > .cas-head { background: #f7f6f4; }
.cas-head-txt { flex: 1 1 auto; min-width: 0; }
.cas-head-sub {
  display: block; margin-top: 3px;
  font-family: var(--font2); font-size: 13.5px; color: var(--body);
}
.cas-chevron {
  flex: 0 0 auto; color: var(--green); font-size: 14px;
  transition: transform .2s;
}
.cas-bloc[open] > .cas-head .cas-chevron { transform: rotate(180deg); }
.cas-bloc[open] > .cas-head { border-bottom: 1px solid #e5e2dd; }
.cas-head-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.cas-head h3 {
  margin: 0;
  font-family: var(--font2);
  font-size: 21px; line-height: 1.25; color: #000;
}
/* deux colonnes : le texte garde une longueur de ligne lisible,
   la recommandation et le bouton sont toujours au meme endroit */
.cas-corps { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; padding: 22px; }
.cas-texte > *:first-child { margin-top: 0; }
.cas-texte p, .cas-texte ul { font-family: var(--font2); }
.cas-texte ul { padding-left: 1.2em; }
.cas-aside {
  background: #f7f6f4;
  border-radius: 6px;
  padding: 18px;
}
.cas-aside p { font-family: var(--font2); font-size: 14px; line-height: 1.5; margin: 0; }
.cas-flyer { margin-top: 16px !important; }
.cas-flyer .btn { width: 100%; text-align: center; }
@media (max-width: 767px) {
  .cas-corps { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .cas-head { padding: 16px 18px; }
  /* sur mobile les en-tetes d'accordeon font deja office de selecteur */
  .cas-choix { display: none; }
}
/* signale brievement le bloc atteint, puis s'efface */
@keyframes cas-flash {
  0%, 35% { background: #f2f6f5; box-shadow: -3px 0 0 var(--green); }
  100%    { background: transparent; box-shadow: -3px 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .cas-grid a { transition: none; }
}
@media (max-width: 991px) { .cas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .cas-grid { grid-template-columns: 1fr; } }

/* pricing row */
.pricing { padding: 30px 0; }
.pricing .row { align-items: stretch; }
/* carte en flex : la note se cale en bas, donc les 3 notes s'alignent
   meme si la colonne SECURE porte deux lignes de prix */
.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 20px;
  border-top: 2px solid var(--green);
}
.price-label {
  display: block;
  font-family: var(--font2);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #8a8a85;
}
.price-main {
  font-family: var(--font2);
  font-size: 29px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.25;
  margin: 6px 0 0;
  font-variant-numeric: tabular-nums;
}
.price-unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  white-space: nowrap;
}
.price-note {
  margin: 0;
  padding-top: 16px;
  margin-top: auto;
  font-family: var(--font2);
  font-size: 13px;
  color: #8a8a85;
}
.price-note::before { content: "* "; }
.pricing p { font-family: var(--font2); }

/* contact bar */
.contact-bar {
  padding: 45px 0;
  color: #fff;
  text-align: center;
}
.contact-bar.gradient { background: linear-gradient(to bottom, transparent, var(--green)); }
.contact-bar.solid { background: var(--green); }
.contact-bar .row {
  justify-content: center;
  align-items: center;
  gap: 10px 50px;
  margin: 0;
}
.contact-bar.with-lead .row { gap: 16px 30px; }
/* bandeau colle en bas de l'ecran (page Cas d'usage) : sticky et non fixed,
   il reste donc dans le flux et ne masque jamais le pied de page */
.contact-bar.contact-fixe {
  position: sticky;
  bottom: 0;
  z-index: 90;
  padding: 18px 0;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
}
/* compact : il doit tenir sur une ligne, sinon il ampute trop la fenetre */
.contact-bar.contact-fixe .row { gap: 10px 22px; }
.contact-bar.contact-fixe .contact-lead { font-size: 15px; max-width: 310px; line-height: 1.3; }
.contact-bar.contact-fixe .contact-item { gap: 10px; }
.contact-bar.contact-fixe .contact-item .icon { width: 34px; height: 34px; font-size: 13px; }
.contact-bar.contact-fixe .contact-item a { font-size: 15px; }
@media (max-width: 991px) {
  .contact-bar.contact-fixe { padding: 12px 0; }
  .contact-bar.contact-fixe .contact-lead { display: none; }
  .contact-bar.contact-fixe .row { flex-direction: row; gap: 10px 22px; justify-content: center; }
  .contact-bar.contact-fixe .contact-item a { font-size: 14px; }
}
/* ecrans etroits : on ne garde que les pictogrammes, le bandeau reste discret */
@media (max-width: 575px) {
  .contact-bar.contact-fixe .contact-item a { display: none; }
  .contact-bar.contact-fixe .row { gap: 26px; }
}
.contact-lead {
  flex: 0 0 auto;
  max-width: 240px;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
/* sous 1100px les 4 blocs ne tiennent plus : le libellé passe en tête, centré */
@media (max-width: 1099px) {
  .contact-lead { flex: 0 0 100%; max-width: none; text-align: center; }
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.contact-item .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
}
.contact-item a, .contact-item span.txt { color: #fff; font-size: 22px; font-weight: 700; }
.contact-item a:hover { color: #fff; text-decoration: underline; }

/* CTA card */
.cta-section { background: var(--light-bg); padding: 40px 0; }
.cta-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.cta-card .cta-text { flex: 1 1 55%; padding: 50px 40px; }
.cta-card .cta-img { flex: 1 1 40%; align-self: flex-end; }
.cta-card .cta-img img { display: block; width: 100%; }
.eyebrow-pre {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--color1);
  font-weight: 700;
  margin-bottom: 10px;
}

/* generic page intro */
.page-section { padding: 50px 0; }
.page-section h2 { margin-bottom: 25px; }
.page-section.alt { background: #fff; }

/* about cards */
.about-card {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.about-card .ac-img { flex: 1 1 50%; min-height: 320px; position: relative; }
.about-card .ac-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-card .ac-text { flex: 1 1 50%; padding: 40px; }
.about-card.reverse { flex-direction: row-reverse; }
.about-card .ac-img.left { border-radius: 25px 0 0 25px; }
.about-card .ac-img.left img { border-radius: 25px 0 0 25px; }
.about-card .ac-img.right { border-radius: 0 25px 25px 0; }
.about-card .ac-img.right img { border-radius: 0 25px 25px 0; }

.separator {
  width: 100px; height: 4px;
  background: var(--color1);
  margin: 14px 0 20px;
}

/* method / sources rows */
.src-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 30px 0; }
.src-row .src-img { flex: 1 1 30%; min-width: 220px; }
.src-row .src-img img { border-radius: 6px; }
.src-row .src-text { flex: 1 1 60%; min-width: 280px; }
.src-text p { margin: 8px 0; }

/* legal page */
.legal-content p, .legal-content li { color: var(--body); }
.legal-content h2 { font-size: 24px; margin-top: 30px; }
.legal-figure { float: left; margin: 0 25px 15px 0; max-width: 240px; text-align: center; }
.legal-figure figcaption { font-size: 13px; color: var(--body); margin-top: 6px; }

/* map */
.map-frame iframe { width: 100%; height: 400px; border: 0; display: block; filter: grayscale(100%); }

/* ----------------------- FOOTER ----------------------- */
.site-footer {
  background: #fff;
  color: var(--body);
  padding: 50px 0 0;
  border-top: 1px solid #eee;
}
.footer-top .row { gap: 30px 0; }
.footer-logo { max-height: 55px; width: auto; margin-bottom: 18px; }
.footer-company p { margin: 4px 0; }
.footer-menus { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-menus h5 { color: #000; margin-bottom: 12px; font-size: 16px; }
.footer-menus ul { list-style: none; padding: 0; margin: 0; }
.footer-menus li { margin-bottom: 8px; }
.footer-menus a { color: var(--body); }
.footer-bottom {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding: 20px 0;
}
.footer-bottom .row { align-items: center; justify-content: space-between; }
/* discret : plus clair que le copyright, sans passer sous le seuil de lisibilite */
.footer-maj { color: #8a8a85; white-space: nowrap; }
.sources-maj { margin: -6px 0 0; font-family: var(--font2); font-size: 13px; color: #8a8a85; }
@media (max-width: 480px) {
  .footer-maj { display: block; white-space: normal; }
  .footer-maj::before { content: ""; }
}
.footer-social a {
  color: var(--body);
  font-size: 22px;
  margin-left: 14px;
}
.footer-social a:hover { color: var(--color1); }

/* scroll to top */
#scrollTop {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color1);
  color: #fff;
  display: none;
  align-items: center; justify-content: center;
  font-size: 18px;
  z-index: 90;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
#scrollTop.show { display: flex; }

/* cookie banner */
.cookie-consent {
  position: fixed;
  left: 15px; right: 15px; bottom: 15px;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0,0,0,0.18);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 200;
  font-size: 14px;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.05rem; }

/* ----------------------- RESPONSIVE ----------------------- */
@media (max-width: 991px) {
  .col-3 { flex: 0 0 100%; max-width: 100%; margin-bottom: 25px; }
  .col-2 { flex: 0 0 100%; max-width: 100%; margin-bottom: 25px; }
  .hero h1 { font-size: 40px; }
  .cta-card .cta-text, .cta-card .cta-img { flex: 1 1 100%; }
  .about-card .ac-img, .about-card .ac-text { flex: 1 1 100%; }
  .about-card .ac-img { min-height: 260px; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .main-nav {
    flex-basis: 100%;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; }
  .main-nav li a { margin: 0; padding: 10px 0; }
  .hero h1 { font-size: 32px; }
  .hero h1 br { display: none; }
  .contact-bar .row { flex-direction: column; gap: 20px; }
  .contact-lead { max-width: none; text-align: center; }
}
