:root {
  --ink: #062f45;
  --ink-2: #17475a;
  --green: #8cc500;
  --green-soft: #ecf6e4;
  --blue: #159ee5;
  --orange: #ff7f22;
  --muted: #5d7280;
  --card: rgba(255,255,255,.9);
  --shadow: 0 24px 80px rgba(6,47,69,.14);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(140,197,0,.18), transparent 28rem),
    radial-gradient(circle at 95% 5%, rgba(21,158,229,.14), transparent 30rem),
    linear-gradient(180deg, #f7faf5 0%, #fff 46%, #f7faf5 100%);
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(90vw, 1280px);
  margin: 12px auto 0;
  padding: 5px 18px;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(6,47,69,.08);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(6,47,69,.09);
  backdrop-filter: blur(18px);
}
.brand { justify-self: start; }
.brand img {
  width: 98px;
  height: auto;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 10px 22px rgba(6,47,69,.10));
}
.nav { display: flex; justify-content: center; gap: clamp(18px, 1.8vw, 30px); font-weight: 750; font-size: 14.5px; letter-spacing: .01em; }
.nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a.active, .nav a:hover { color: var(--blue); border-color: var(--green); }
.header-actions { display: flex; align-items: center; justify-self: end; justify-content: flex-end; gap: 12px; font-weight: 800; }
.phone, .quote, .burger-button { border-radius: 999px; padding: 10px 16px; }
.phone { background: var(--green-soft); }
.quote { color: var(--blue); }
.burger-button {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  align-content: center;
  justify-items: end;
  box-shadow: none;
}
.burger-button span {
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: #062f45;
  transform-origin: center;
  transition: width .18s ease, transform .2s ease, opacity .2s ease, background .18s ease;
}
.burger-button span:nth-child(2) { width: 30px; }
.burger-button span + span { margin-top: 6px; }
.burger-button:hover span { background: var(--blue); }
.burger-button[aria-expanded="true"] span { width: 30px; }
.burger-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 29;
  background: rgba(6,47,69,.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  width: min(82vw, 360px);
  height: 100dvh;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(6,47,69,.16);
  border-right: 0;
  border-radius: 20px 0 0 20px;
  box-shadow: -14px 0 38px rgba(6,47,69,.14);
  transform: translateX(104%);
  transition: transform .25s ease;
  pointer-events: none;
}
.mobile-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}
.drawer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.drawer-top img {
  width: 102px;
  filter: drop-shadow(0 10px 18px rgba(6,47,69,.12));
}
.drawer-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: #f2f7f0;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.drawer-nav {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.drawer-nav a {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid rgba(6,47,69,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 10px 24px rgba(6,47,69,.05);
}
.drawer-nav a.active {
  background: var(--green-soft);
  border-color: rgba(140,197,0,.55);
  color: var(--ink);
}
.drawer-actions {
  margin-top: auto;
  display: grid;
  gap: 12px;
}
.drawer-actions .btn {
  width: 100%;
}
.drawer-actions .secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(6,47,69,.28);
}
main { width: min(1440px, 94vw); margin: 0 auto; }
.hero {
  margin: 32px auto 40px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #0a3f53 0%, #0d5262 45%, #213f2e 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.26);
}
.hero-copy { min-height: 680px; padding: clamp(34px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; color: white; }
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  margin-bottom: 22px;
  color: #f8ffe8;
  background: rgba(140,197,0,.18);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; }
h1, h2 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
}
h1 { font-size: clamp(48px, 4.8vw, 72px); max-width: 840px; }
h2 { font-size: clamp(36px, 4vw, 62px); }
h3 { font-size: 25px; letter-spacing: -.025em; line-height: 1.08; font-weight: 800; }
.lead { margin: 28px 0 0; max-width: 650px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: rgba(255,255,255,.9); }
.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 30px 0;
  max-width: 620px;
}
.trust-row span {
  position: relative;
  padding-left: 20px;
  border-radius: 0;
  font-weight: 750;
  color: rgba(255,255,255,.9);
  background: transparent;
  border: 0;
  line-height: 1.25;
}
.trust-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(140,197,0,.13);
}
.hero-actions, .closing-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.primary { background: var(--orange); color: white; box-shadow: 0 16px 36px rgba(255,127,34,.26); }
.secondary { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.24); }
.hero-media { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 14px; padding: 28px 28px 28px 0; height: clamp(600px, 48vw, 700px); min-height: 0; }
.hero-main, .hero-gallery img { width: 100%; height: 100%; object-fit: cover; }
.hero-main { border-radius: 26px 0 0 26px; }
.hero-gallery { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; min-height: 0; height: 100%; overflow: hidden; }
.hero-gallery.gallery-count-4 { grid-template-rows: repeat(4, minmax(0, 1fr)); }
.hero-gallery img { min-height: 0; border-radius: 20px; }
.section { margin: 48px auto; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: var(--card); border: 1px solid rgba(6,47,69,.08); box-shadow: 0 18px 70px rgba(6,47,69,.08); }
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.intro p, .section-head p, .contact-info p, .closing p { color: var(--muted); font-size: 18px; line-height: 1.75; margin: 18px 0 0; }
.intro .eyebrow, .section .eyebrow, .closing .eyebrow { color: var(--ink); background: var(--green-soft); border-color: rgba(140,197,0,.22); }
.section-head { max-width: 920px; margin-bottom: 28px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card { min-height: 370px; overflow: hidden; display: flex; flex-direction: column; border-radius: 24px; background: white; border: 1px solid rgba(6,47,69,.08); box-shadow: 0 16px 42px rgba(6,47,69,.07); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 22px 60px rgba(6,47,69,.14); }
.service-card img { height: 210px; width: 100%; object-fit: cover; }
.service-card div { padding: 22px; }
.service-card p { color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.agencies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; background: transparent; padding: 0; border: 0; box-shadow: none; }
.agency-card { padding: 26px; border-radius: 24px; background: white; border: 1px solid rgba(6,47,69,.08); box-shadow: 0 18px 50px rgba(6,47,69,.07); transition: transform .2s ease, box-shadow .2s ease; }
.agency-card[href]:hover { transform: translateY(-4px); box-shadow: 0 22px 58px rgba(6,47,69,.13); }
.agency-card strong { font-size: 22px; display: block; margin-bottom: 10px; }
.agency-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.agency-card.highlight { background: var(--ink); color: white; }
.agency-card.highlight p { color: rgba(255,255,255,.8); }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { position: relative; display: block; padding: 28px; border-radius: 24px; color: white; background: linear-gradient(135deg, var(--ink), #123f2d); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 22px 58px rgba(6,47,69,.18); background: linear-gradient(135deg, #07364d, #155037); }
.review-card span { color: #c8ff72; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.review-card strong { display: block; margin: 14px 0 8px; font-size: 36px; letter-spacing: -.04em; }
.review-card .rating-line { display: flex; align-items: center; gap: 10px; }
.review-card .rating-line span { color: white; letter-spacing: -.04em; text-transform: none; }
.rating-star { width: 31px; height: 31px; flex: 0 0 31px; color: #ffc83d; background: currentColor; filter: drop-shadow(0 6px 14px rgba(255,200,61,.22)); -webkit-mask: url('/assets/icons/star.svg') center / contain no-repeat; mask: url('/assets/icons/star.svg') center / contain no-repeat; }
.review-card em { display: inline-flex; width: fit-content; margin-top: 18px; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-style: normal; font-weight: 800; }
#devis { scroll-margin-top: 132px; }
.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-info { max-width: none; margin: 0; text-align: left; }
.contact-info .eyebrow { margin-left: 0; margin-right: 0; }
.contact-lines { display: grid; gap: 14px; margin-top: 28px; font-weight: 750; }
.contact-info .contact-lines { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.contact-lines a, .contact-lines span { padding: 18px; border-radius: 18px; background: var(--green-soft); overflow-wrap: anywhere; }
.contact-form { width: 100%; justify-self: stretch; margin-top: 96px; padding: 28px; border-radius: 26px; background: white; border: 1px solid rgba(6,47,69,.08); box-shadow: 0 20px 60px rgba(6,47,69,.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 750; }
input, textarea { width: 100%; border: 1px solid rgba(6,47,69,.14); border-radius: 16px; padding: 16px; color: var(--ink); background: #fbfdf8; outline: none; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,158,229,.12); }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }
.form-error { color: #b42318; font-weight: 750; }
.form-success { color: #0f7a35; font-weight: 750; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline article { padding: 28px; border-radius: 24px; background: white; border: 1px solid rgba(6,47,69,.08); }
.timeline span { font-weight: 950; color: var(--orange); }
.timeline p { color: var(--muted); line-height: 1.65; }
.closing { width: min(1440px, 94vw); margin: 64px auto; padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; border-radius: 32px; color: white; background: linear-gradient(135deg, var(--ink), #183f2b); box-shadow: var(--shadow); }
.closing p { color: rgba(255,255,255,.82); max-width: 760px; }
.footer { width: min(1440px, 94vw); margin: 48px auto 32px; padding: 34px; border-radius: 32px; color: white; background: linear-gradient(135deg, #073246, #0d3a2f); box-shadow: var(--shadow); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr .8fr; gap: 36px; }
.footer-grid-simple { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 28px; }
.footer-brand-block p { max-width: 460px; }
.footer-agencies { margin-top: 22px; }
.footer h3 { display: inline-block; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid rgba(140,197,0,.9); }
.footer-contact-block { padding-top: 0; }
.footer-contact-block .socials { margin-top: 18px; }
.footer-logo {
  width: 140px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.75)) drop-shadow(0 12px 24px rgba(0,0,0,.22));
}
.footer p { color: rgba(255,255,255,.78); line-height: 1.65; }
.footer a { display: block; margin: 10px 0; font-weight: 750; }
.footer-address { color: rgba(255,255,255,.78); line-height: 1.55; width: fit-content; }
.footer-address:hover { color: white; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.12); margin: 0; transition: transform .2s ease, background .2s ease; }
.socials a:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); }
.socials img { width: 19px; height: 19px; object-fit: contain; }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 18px; font-weight: 750; }
@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .header-actions { grid-column: 3; justify-self: end; margin-left: auto; }
  .burger-button { display: grid; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 0; }
  .hero-media { height: auto; padding: 0 24px 24px; grid-template-columns: 1fr; }
  .hero-main { border-radius: 24px; max-height: 460px; }
  .hero-gallery { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .hero-gallery img { height: 170px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 108px; }
  .site-header { top: 8px; width: calc(100% - 22px); min-height: 66px; padding: 6px 14px; gap: 10px; grid-template-columns: auto 1fr auto; border-radius: 20px; }
  .brand img { width: 86px; height: auto; max-width: none; padding: 0; }
  .header-actions { grid-column: 3; justify-self: end; justify-content: end; margin-left: auto; }
  .burger-button { width: 36px; height: 36px; padding: 0; }
  .mobile-drawer { width: min(80vw, 340px); padding: 20px 18px; border-radius: 20px 0 0 20px; }
  .drawer-top img { width: 94px; }
  .drawer-nav a { font-size: 18px; padding: 13px 14px; }
  .phone, .quote { display: none; }
  main, .closing, .footer { width: calc(100% - 18px); }
  .hero { margin-top: 28px; border-radius: 24px; }
  .hero-copy { padding: 38px 24px 24px; }
  h1 { font-size: clamp(38px, 12vw, 52px); }
  h2 { font-size: clamp(34px, 11vw, 46px); }
  .lead { font-size: 18px; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; margin: 26px 0; }
  .trust-row span { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-media { padding: 0 24px 24px; gap: 12px; }
  .hero-main { height: 250px; max-height: none; border-radius: 22px; }
  .hero-gallery,
  .hero-gallery.gallery-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 12px;
    height: auto;
    overflow: visible;
  }
  .hero-gallery img { height: 112px; border-radius: 18px; }
  .hero-gallery img:last-child:nth-child(odd) { grid-column: 1 / -1; height: 124px; }
  .intro, .contact-panel, .closing { grid-template-columns: 1fr; }
  .cards-grid, .agencies, .review-grid, .timeline, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .contact-form { margin-top: 0; }
  .footer-grid-simple { gap: 4px; }
  .footer-agencies { margin-top: 20px; }
  .footer-contact-block { margin-top: -6px; }
  .footer-logo { width: 136px; }
  .section { padding: 24px; margin: 28px auto; }
  .service-card { min-height: 0; }
  .footer-bottom { flex-direction: column; }
}
