/* ============================================
   ETCBC — Design System
   Vert sauge · Beige · Vert foncé · Bois
   ============================================ */

:root {
  --sage: #879B7A;
  --sage-light: #A3B596;
  --sage-dark: #6B7D62;
  --green-dark: #3D4F38;
  --green-darker: #2C3A28;
  --beige: #E8DFD0;
  --beige-light: #F4EFE6;
  --beige-dark: #D4C9B5;
  --wood: #6B4F3A;
  --wood-dark: #4A3528;
  --wood-light: #8B6B52;
  --primary: var(--wood);
  --primary-dark: var(--wood-dark);
  --primary-light: var(--wood-light);
  --secondary: var(--sage);
  --secondary-dark: var(--sage-dark);
  --secondary-light: var(--sage-light);
  --secondary-bg: rgba(135, 155, 122, 0.12);
  --bg: var(--beige-light);
  --white: #ffffff;
  --text: var(--green-darker);
  --text-muted: #4A5544;
  --text-light: #6B7565;
  --border: var(--beige-dark);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --topbar-height: 80px;
  --header-pad-x: clamp(1rem, 2.5vw, 2.25rem);
  --header-pad-left: clamp(1.1rem, 2.2vw, 1.75rem);
  --header-bg: var(--beige-light);
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 120px);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-dark);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

.section-title .accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--wood), var(--sage));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 79, 58, 0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(135, 155, 122, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Site Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--beige-dark);
  transition: box-shadow 0.35s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(44, 58, 40, 0.06);
}

.header-layout {
  display: grid;
  grid-template-columns: clamp(210px, 19vw, 260px) 1fr;
  grid-template-rows: minmax(58px, auto) minmax(58px, auto);
  width: min(100%, 1480px);
  margin-inline: auto;
  background: var(--header-bg);
}

.site-logo {
  grid-row: 1 / -1;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.25rem;
  background: var(--header-bg);
  border-right: 1px solid rgba(107, 125, 98, 0.14);
  line-height: 0;
  transition: padding 0.35s ease;
}

.site-logo img {
  width: 100%;
  max-width: 228px;
  height: auto;
  max-height: clamp(175px, 20vw, 235px);
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(44, 58, 40, 0.08));
  transition: max-height 0.35s ease;
}

.site-logo:hover img {
  filter: drop-shadow(0 8px 20px rgba(44, 58, 40, 0.12));
}

.site-header.scrolled .site-logo {
  padding: 0.85rem 1.1rem;
}

.site-header.scrolled .site-logo img {
  max-height: clamp(145px, 16vw, 175px);
}

.header-aside {
  grid-row: 1 / -1;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--header-pad-x) 0 var(--header-pad-left);
  min-width: 0;
  overflow: hidden;
}

.header-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 62px;
  padding: 0 clamp(0.2rem, 0.5vw, 0.4rem) 0 clamp(0.45rem, 1vw, 0.75rem);
  width: 100%;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 0.75rem;
  min-height: 62px;
  padding: 0 clamp(0.2rem, 0.5vw, 0.4rem) 0 clamp(0.45rem, 1vw, 0.75rem);
  width: 100%;
  border-top: 1px solid rgba(107, 125, 98, 0.12);
  overflow: hidden;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.15vw, 1rem);
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 0.15rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  padding: 0 clamp(0.25rem, 0.6vw, 0.55rem);
  font-size: clamp(0.84rem, 1.08vw, 1rem);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
  max-width: 100%;
}

.nav-links a:hover {
  color: var(--green-dark);
  background: rgba(135, 155, 122, 0.14);
}

.nav-links a.active {
  color: var(--green-dark);
  background: rgba(135, 155, 122, 0.22);
  font-weight: 600;
  box-shadow: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 44px;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.header-phone:hover {
  color: var(--sage-dark);
}

.header-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--sage-dark);
}

.header-cta {
  height: 44px;
  padding: 0 1.65rem;
  display: inline-flex;
  align-items: center;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(107, 125, 98, 0.18);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: auto;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  background: var(--white);
  border-color: rgba(107, 125, 98, 0.28);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--green-dark);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none;
}

/* ---- Domaines d'activité ---- */
.domains {
  padding: 6rem 0;
  background: var(--bg);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.domain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.domain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}

.domain-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.domain-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.domain-card:hover .domain-card-image img {
  transform: scale(1.06);
}

.domain-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--green-dark);
  color: var(--beige-light);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.domain-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.domain-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.domain-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.domain-skills {
  margin-bottom: 1.5rem;
  flex: 1;
}

.domain-skills li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.domain-skills li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(244, 239, 230, 0.97) 0%,
    rgba(232, 223, 208, 0.9) 35%,
    rgba(135, 155, 122, 0.25) 65%,
    rgba(61, 79, 56, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary-bg);
  color: var(--secondary-dark);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease both;
}

.hero h1 {
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--sage-light) 40%, var(--beige-light) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: repeating-linear-gradient(
    45deg,
    var(--green-dark),
    var(--green-dark) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
}

.page-hero h1 { margin-bottom: 1rem; }

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover { color: var(--primary); }

/* ---- About Section ---- */
.about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-text p strong { color: var(--primary); }

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--green-dark);
  color: var(--beige-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge .label {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* ---- Services ---- */
.services {
  padding: 6rem 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  margin-bottom: 0.75rem;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card-body .btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
}

/* ---- Strengths ---- */
.strengths {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.strengths::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('https://local-fr-public.s3.eu-west-3.amazonaws.com/prod/webtool/userfiles/137031/modif%2012.12.24/nos-point-fort1.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.strength-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: all var(--transition);
}

.strength-item:hover {
  background: var(--secondary-bg);
  transform: translateY(-4px);
}

.strength-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
}

.strength-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.strength-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* ---- Partners ---- */
.partners {
  padding: 4rem 0;
  background: var(--bg);
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partners-grid img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all var(--transition);
}

.partners-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* ---- Reviews ---- */
.reviews {
  padding: 6rem 0;
  background: var(--white);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-score .stars {
  color: #f5a623;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.reviews-score .score {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
}

.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  min-width: 100%;
  padding: 0 0.5rem;
}

.review-card-inner {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.review-card-inner::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.review-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  white-space: pre-line;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author-info .name {
  font-weight: 700;
  color: var(--text);
}

.review-author-info .source {
  font-size: 0.85rem;
  color: var(--text-light);
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.reviews-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--primary);
  font-size: 1.1rem;
}

.reviews-nav button:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.reviews-dots {
  display: flex;
  gap: 0.5rem;
}

.reviews-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.reviews-dots button.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ---- Zone ---- */
.zone {
  padding: 6rem 0;
  background: var(--bg);
}

.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.zone-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.zone-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.zone-cities span {
  background: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.zone-cities span:hover {
  border-color: var(--secondary);
  color: var(--primary);
  background: var(--secondary-bg);
}

.zone-contact {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.zone-contact p {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.zone-contact a {
  color: var(--primary);
  font-weight: 600;
}

.zone-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.zone-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Service Detail Page ---- */
.service-detail {
  padding: 4rem 0 6rem;
}

.service-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.service-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  background: var(--white);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-banner {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-darker) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-inline: auto;
}

.cta-banner .btn-secondary {
  background: var(--white);
  color: var(--primary);
}

.cta-banner .btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ---- Realisations Gallery ---- */
.gallery {
  padding: 4rem 0 6rem;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gallery-filters button {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filters button:hover,
.gallery-filters button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 79, 56, 0.88) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

/* ---- Contact ---- */
.contact-section {
  padding: 4rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-card h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--primary);
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form h3 { margin-bottom: 1.5rem; }

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--green-darker);
  color: rgba(232, 223, 208, 0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 80px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--secondary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a:hover { color: var(--secondary-light); }

/* ---- Floating CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-cta a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.floating-cta a:hover { transform: scale(1.1); }

.floating-cta .phone-btn {
  background: var(--wood);
  color: var(--beige-light);
  font-size: 1.3rem;
}

.floating-cta .top-btn {
  background: var(--white);
  color: var(--primary);
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.floating-cta .top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .header-layout {
    grid-template-columns: clamp(168px, 26vw, 210px) 1fr;
    grid-template-rows: auto;
    align-items: center;
    width: 100%;
  }

  .site-logo {
    grid-row: 1;
    align-self: center;
    padding: 0.65rem 0.85rem;
  }

  .site-logo img {
    max-height: clamp(100px, 18vw, 128px);
  }

  .header-aside {
    grid-row: 1;
    padding: 0.65rem 1rem 0.65rem 0.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header-top {
    justify-content: flex-end;
    gap: 0.65rem;
    min-height: auto;
    padding: 0;
  }

  .header-nav {
    min-height: auto;
    padding: 0;
    border-top: none;
    justify-content: flex-end;
  }

  .header-phone span {
    display: none;
  }

  .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.5rem 2rem;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 1002;
    overflow-y: auto;
    flex: none;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    flex: none;
    justify-content: flex-start;
    height: auto;
    padding: 0.95rem 0.5rem;
    font-size: 1rem;
    border-radius: 8px;
    border-bottom: 1px solid var(--border);
    background: transparent;
    box-shadow: none;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a.active {
    background: var(--beige-light);
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(44, 58, 40, 0.35);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 1024px) {
  .about-grid,
  .zone-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-layout {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    align-items: center;
  }

  .header-aside {
    grid-row: 1;
    grid-column: 2;
    padding: 0.65rem 0.75rem 0.65rem 0;
    overflow: visible;
  }

  .site-logo {
    grid-row: 1;
    grid-column: 1;
    justify-content: flex-start;
    align-self: center;
    padding: 0.65rem 0.5rem 0.65rem 0.75rem;
    border-right: none;
  }

  .site-logo img {
    max-width: clamp(108px, 32vw, 132px);
    max-height: clamp(92px, 26vw, 112px);
  }

  .site-header.scrolled .site-logo img {
    max-height: clamp(85px, 24vw, 100px);
  }

  .header-content {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
  }

  .header-top {
    min-height: auto;
    width: auto;
    padding: 0;
  }

  .header-nav {
    min-height: auto;
    border-top: none;
    width: auto;
    padding: 0;
    overflow: visible;
  }

  .header-phone {
    width: 40px;
    height: 40px;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(107, 125, 98, 0.16);
  }

  .header-cta {
    display: none;
  }

  .hero { min-height: 70vh; }
  .hero-content { max-width: 100%; }

  .strengths-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .about-badge {
    position: static;
    margin-top: 1rem;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .site-logo {
    padding-left: 0.65rem;
  }

  .site-logo img {
    max-width: 96px;
    max-height: 86px;
  }

  .header-aside {
    padding-right: 0.65rem;
  }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
