:root {
  --navy: #003f7f;
  --navy-dark: #001e52;
  --accent: #0070f3;
  --accent-lt: #00a3ff;
  --accent-rgb: 0, 112, 243;
  --red: var(--accent);
  --red-lt: var(--accent-lt);
  --charcoal: #1e2328;
  --gray-mid: #6b7280;
  --gray-lt: #f5f4f0;
  --border: #e8e7e2;
  --white: #ffffff;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", -apple-system, sans-serif;
  --tr: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.11);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.7;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--gray-lt);
}

/* Typo */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-mid);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  white-space: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.logo-wrapper:hover {
  transform: translateY(-1px);
}

.logo-wrapper img {
  height: 40px;
  width: 157px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 1;
}

.nav a {
  color: var(--gray-mid);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.42rem 0.7rem;
  border-radius: 4px;
  transition: var(--tr);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--navy);
  background: rgba(0, 63, 127, 0.06);
}

.nav .nav-cta {
  background: var(--red);
  color: #fff;
  padding: 0.42rem 1.1rem;
  border-radius: 4px;
  margin-left: 0.6rem;
  font-size: 0.82rem;
}

.nav .nav-cta:hover {
  background: var(--red-lt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1003;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--tr);
}

.header-tel:hover {
  color: var(--navy);
}

.header-tel i {
  color: var(--red);
  font-size: 0.78rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: var(--tr);
}

.nav-burger:hover {
  background: rgba(0, 63, 127, 0.06);
}

.nav-burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--tr);
  transform-origin: center;
}

.nav-burger.is-open .nav-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-open .nav-burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger.is-open .nav-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: url("assets/hero.png") center/cover no-repeat;
  padding: 2rem 0;
}

/* REMPLACER PAR photo de chantier ZV Entreprise */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 20, 65, 0.9) 0%,
    rgba(0, 63, 127, 0.72) 60%,
    rgba(0, 20, 65, 0.6) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 2.5rem 0 2rem;
}

.hero .eyebrow {
  color: var(--red-lt);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.trust-item i {
  font-size: 1.3rem;
  color: var(--red);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-item span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-img-wrap {
  position: relative;
  border-radius: 4px;
  position: sticky;
  top: 6rem;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* REMPLACER PAR photo équipe ou chantier ZV Entreprise */
.about-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.75rem;
  background: var(--red);
  color: #fff;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.badge-year {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.badge-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-top: 0.3rem;
}

.about-content .section-title {
  text-align: left;
}

.about-txt {
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-stats {
  display: flex;
  gap: 0;
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-stats > div {
  flex: 1;
  padding: 1.5rem 0;
  text-align: center;
  border-right: 1px solid var(--border);
}

.about-stats > div:last-child {
  border-right: none;
}

.about-stats > div:first-child {
  text-align: left;
  padding-left: 0;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-num sup {
  font-size: 1.4rem;
}

.stat-label {
  display: block;
  font-size: 0.73rem;
  color: var(--gray-mid);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.tags-label {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}

.tags-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.tag {
  background: rgba(0, 63, 127, 0.05);
  color: var(--navy);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(0, 63, 127, 0.1);
  display: inline-flex;
  align-items: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.tag i {
  color: var(--accent);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.tag:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.25);
  color: #fff;
}

.tag:hover i {
  color: #fff;
  transform: scale(1.1);
}

/* ATOUTS */
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.atout-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--tr);
}

.atout-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* .atout-icon merged above */

.atout-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.atout-text {
  color: var(--gray-mid);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ATOUTS GALLERY */
.atouts-gallery {
  margin-top: 3rem;
}

.atouts-gallery-label {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.atouts-gallery-label::before,
.atouts-gallery-label::after {
  content: "";
  height: 1px;
  width: 40px;
  background: var(--border);
}

.atouts-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.realisations-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-top: 2.5rem;
}

.atouts-gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  transition: var(--tr);
  flex: 0 1 calc(33.333% - 0.84rem);
  min-width: 280px;
}

.atouts-gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

.atouts-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.atouts-gallery-item:hover img {
  transform: scale(1.05);
}

.atouts-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(transparent, rgba(0, 20, 65, 0.75));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.svc-card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.svc-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 0.4s ease;
}

.svc-card:hover::after {
  width: 100%;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* .svc-icon merged into svg section above */

.svc-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.7rem;
}

.svc-text {
  color: var(--gray-mid);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.svc-link {
  color: var(--red);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--tr);
}

.svc-link:hover {
  gap: 0.75rem;
}

/* EXPERTISE BANNER */
.expertise-banner {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.expertise-banner .eyebrow {
  color: var(--red-lt);
}

.expertise-banner .section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.expertise-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.75;
}

.expertise-types {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.expertise-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.85rem;
}

/* REFERENCES */
.refs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  margin-bottom: 2rem;
}

.refs-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.refs-title::before,
.refs-title::after {
  content: "";
  height: 2px;
  width: 40px;
  background: var(--accent);
  border-radius: 2px;
}

.refs-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 3.5rem 0;
  width: 100%;
}

.ref-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 65px;
  flex-shrink: 0;
  transition: var(--tr);
  filter: grayscale(1);
  opacity: 0.6;
}

.ref-item.ref-lg {
  width: 230px;
  height: 95px;
}

.ref-item:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.ref-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 5px;
}

/* ===== AVANT/APRÈS SLIDER ===== */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.ba-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--tr);
}

.ba-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}

.ba-slider {
  position: relative;
  height: 260px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  background: #ddd;
}

/* Image AVANT — fond, toujours visible */
.ba-before {
  position: absolute;
  inset: 0;
}

.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image APRÈS — overlay clipé depuis la gauche */
.ba-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--split, 50%));
  transition: clip-path 0.05s linear;
}

.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Labels AVANT / APRÈS */
.ba-label-before,
.ba-label-after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

.ba-label-before {
  left: 0.85rem;
}

.ba-label-after {
  right: 0.85rem;
}

/* Ligne de séparation */
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  transform: translateX(-50%);
  width: 3px;
  background: #fff;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Bouton rond sur la ligne */
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  pointer-events: none;
}

.ba-handle-btn i {
  font-size: 0.65rem;
  color: var(--navy);
}

/* Input range invisible par-dessus tout */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  margin: 0;
}

/* Placeholders quand pas encore d'image */
.ba-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.ba-placeholder i {
  font-size: 2.2rem;
  opacity: 0.45;
}

.ba-placeholder span {
  opacity: 0.55;
  font-size: 0.8rem;
}

.ba-before .ba-placeholder {
  background: linear-gradient(135deg, #bfc5cc 0%, #9baab8 100%);
  color: var(--navy-dark);
}

.ba-after .ba-placeholder {
  background: linear-gradient(135deg, #e8e3dc 0%, #d4c9bb 100%);
  color: var(--navy);
}

/* Info card */
.ba-info {
  padding: 1.25rem 1.5rem;
}

.ba-project {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.ba-desc {
  font-size: 0.83rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.ba-client {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* TABLE RÉALISATIONS */
.real-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.real-table thead tr {
  background: var(--navy);
}

.real-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.real-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--gray-mid);
  font-size: 0.9rem;
}

.real-table tr:last-child td {
  border-bottom: none;
}

.real-table tr:hover td {
  background: var(--gray-lt);
  color: var(--charcoal);
}

.amount {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 4.5rem;
  margin-top: 2.5rem;
}

.contact-block-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-item i {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 16px;
}

.contact-item strong {
  display: block;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-mid);
  margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
  color: var(--charcoal);
  font-size: 0.93rem;
  text-decoration: none;
  transition: var(--tr);
}

.contact-item a:hover {
  color: var(--red);
}

.contact-map {
  margin-top: 1.75rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  border: 0;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.req {
  color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--tr);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.form-group textarea {
  resize: vertical;
}

#formMsg {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: none;
}

#formMsg.ok {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

/* FOOTER */
.footer {
  background: var(--navy-dark);
  color: rgb(255, 255, 255);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-text {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-lt);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-heading {
  font-family: var(--font-head);
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--tr);
}

.footer-links a:hover {
  color: var(--red);
  padding-left: 0.3rem;
}

.footer-addr {
  font-style: normal;
}

.footer-addr p {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}

.footer-addr i {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-addr a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: var(--tr);
}

.footer-addr a:hover {
  color: var(--red);
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
}

.footer-bottom strong {
  color: #fff;
}

.footer-bottom strong a {
  color: #fff;
  text-decoration: none;
}

.footer-legal {
  margin-top: 0.4rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.78rem;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav a {
    padding: 0.42rem 0.55rem;
    font-size: 0.78rem;
  }

  .header-tel span {
    display: none;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .atouts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-img-wrap {
    position: relative;
    top: auto;
    max-height: 350px;
    overflow: hidden;
    border-radius: 6px;
  }

  .about-img-wrap img {
    object-fit: cover;
    height: 100%;
  }

  .about-badge {
    bottom: 1rem;
    right: 1rem;
  }

  .refs-title {
    font-size: 1.3rem;
  }

  .atouts-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .atouts-gallery-item {
    flex: 0 1 calc(33.333% - 0.67rem);
    min-width: 260px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    background-position: 25% center;
    padding: 1.5rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-img-wrap {
    position: relative;
    top: auto;
    max-height: 280px;
    overflow: hidden;
    border-radius: 6px;
  }

  .about-img-wrap img {
    object-fit: cover;
    height: 100%;
  }

  .about-badge {
    right: 1rem;
    bottom: 1rem;
    padding: 0.7rem 0.9rem;
  }

  .badge-year {
    font-size: 1.6rem;
  }

  .badge-label {
    font-size: 0.58rem;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
  }

  .about-stats > div {
    flex: 1;
    padding: 1.2rem 0.5rem;
    text-align: center;
  }

  .about-stats > div:first-child {
    text-align: center;
    padding-left: 0.5rem;
  }

  .atouts-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .atouts-gallery-item {
    flex: 0 1 calc(50% - 0.38rem);
    min-width: 240px;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }

  .tags-label {
    font-size: 1rem;
    margin-top: 1.25rem;
  }

  .tags {
    gap: 0.4rem;
  }

  .tag {
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
  }

  .services-grid,
  .ba-grid {
    grid-template-columns: 1fr;
  }

  .atouts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .atout-card {
    padding: 1.5rem 1.25rem;
  }

  .refs-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .refs-title::before,
  .refs-title::after {
    width: 25px;
  }

  .refs-divider {
    margin: 2.5rem 0;
  }

  .refs-row {
    gap: 1.5rem 2rem;
  }

  .ref-item {
    width: 110px;
    height: 50px;
  }

  .expertise-types {
    gap: 0.6rem;
  }

  .expertise-tag {
    font-size: 0.78rem;
    padding: 0.4rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-burger {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .nav {
    order: 3;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    border-top: 0 solid var(--border);
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding 0.35s ease,
      border-top-width 0.2s ease;
  }

  .nav.is-open {
    max-height: 28rem;
    opacity: 1;
    padding: 0.35rem 0 1rem;
    border-top-width: 1px;
  }

  .nav a {
    padding: 0.85rem 0.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav .nav-cta {
    margin: 0.75rem 0 0;
    text-align: center;
    border-bottom: none;
    border-radius: 4px;
  }

  .real-table {
    font-size: 0.82rem;
  }

  .real-table th,
  .real-table td {
    padding: 0.7rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero {
    padding: 1rem 0;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-sub {
    font-size: 0.88rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-stats > div {
    padding: 1rem 0.25rem;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.03em;
  }

  .tags {
    gap: 0.35rem;
  }

  .tag {
    padding: 0.3rem 0.6rem;
    font-size: 0.73rem;
    border-radius: 3px;
  }

  .refs-title {
    font-size: 1.05rem;
    gap: 0.6rem;
  }

  .refs-title::before,
  .refs-title::after {
    width: 18px;
  }

  .ref-item {
    width: 90px;
    height: 42px;
  }

  .ba-slider {
    height: 200px;
  }

  .svc-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-block-title {
    font-size: 1.2rem;
  }

  .footer-logo-text {
    font-size: 1.4rem;
  }

  .atouts-gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .atouts-gallery-item {
    aspect-ratio: 16/9;
  }

  .atouts-gallery-item:last-child {
    grid-column: auto;
  }

  .atouts-gallery-label {
    font-size: 0.9rem;
  }
}

/* SVG icons inside svc-icon and atout-icon */
.svc-svg,
.atout-svg {
  width: 26px;
  height: 26px;
  color: var(--red);
  transition: var(--tr);
  flex-shrink: 0;
}

.svc-card:hover .svc-svg,
.svc-card:hover .atout-svg {
  color: var(--white);
}

.atout-icon .atout-svg {
  color: var(--red);
}

/* Bigger icon boxes */
.svc-icon {
  width: 58px;
  height: 58px;
  border-radius: 4px;
  background: rgba(var(--accent-rgb), 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--tr);
}

.svc-card:hover .svc-icon {
  background: var(--red);
}

.svc-icon i,
.svc-icon .svc-svg {
  font-size: 1.45rem;
  color: var(--red);
  transition: var(--tr);
}

.svc-card:hover .svc-icon i,
.svc-card:hover .svc-icon .svc-svg {
  color: #fff;
}

.atout-icon {
  width: 52px;
  height: 52px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.atout-icon i {
  font-size: 1.35rem;
  color: var(--red);
}
