/* ==========================================================================
   Olivier Terrassement
   ========================================================================== */

:root {
  --earth: #b5541f;
  --earth-dark: #8f3f14;
  --earth-light: #f0a875;
  --green: #56704a;
  --stone: #4a4842;
  --stone-dark: #2e2c28;
  --stone-darker: #1f1d1a;
  --cream: #f7f4ee;
  --cream-dark: #eee8dc;
  --white: #ffffff;
  --text: #322f2a;
  --text-muted: #6b675f;
  --text-on-dark: #d9d4ca;
  --star: #e8b04a;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 12px;
  --shadow-sm: 0 4px 14px rgba(31, 29, 26, 0.08);
  --shadow-lg: 0 18px 40px rgba(31, 29, 26, 0.16);
  --ease: 0.25s ease;
  --header-height: 84px;
}


/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(181, 84, 31, 0.5); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--stone-dark);
}
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }

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

.section { padding: 96px 0; }
.section-alt { background: var(--cream-dark); }
.section-dark { background: var(--stone-dark); color: var(--white); }
.section-dark h2 { color: var(--white); }

.text-muted { color: var(--text-muted); }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--stone-dark);
  color: var(--white);
}
.skip-link:focus { top: 16px; }


/* ---------- Icons ---------- */

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(181, 84, 31, 0.1);
  color: var(--earth);
}

.stars { color: var(--star); letter-spacing: 2px; }


/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--earth); color: var(--white); box-shadow: 0 8px 20px rgba(181, 84, 31, 0.35); }
.btn-primary:hover { background: var(--earth-dark); }

.btn-dark { background: var(--stone-dark); color: var(--white); }
.btn-dark:hover { background: var(--stone-darker); }

.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }

.btn-block { width: 100%; }


/* ---------- Section heading ---------- */

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(181, 84, 31, 0.1);
  color: var(--earth);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-dark .eyebrow,
.banner .eyebrow { background: rgba(240, 168, 117, 0.15); color: var(--earth-light); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-dark .section-head p { color: var(--text-on-dark); }


/* ---------- Top bar ---------- */

.topbar { background: var(--stone-darker); color: var(--text-on-dark); font-size: 0.85rem; }
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar-group { display: flex; flex-wrap: wrap; gap: 24px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; transition: color var(--ease); }
.topbar-item .icon { color: var(--earth-light); }
a.topbar-item:hover { color: var(--white); }


/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.logo { font-family: var(--font-heading); line-height: 1.2; }
.logo-name { display: block; font-size: 1.3rem; font-weight: 700; color: var(--stone-dark); }
.logo-tagline {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--earth);
}

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  position: relative;
  padding: 6px 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--stone);
  transition: color var(--ease);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--earth); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--earth);
}

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--stone-dark);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 160;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--stone-dark);
  transition: transform var(--ease), opacity var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------- Banner (home hero + page headers) ---------- */

.banner {
  position: relative;
  overflow: hidden;
  background: var(--stone-darker);
  color: var(--white);
}

.banner-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
}

.banner::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  background: linear-gradient(90deg, var(--stone-darker) 0%, rgba(31, 29, 26, 0.35) 30%, rgba(31, 29, 26, 0) 65%);
}

.banner-content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 64px;
}
.banner-text { max-width: 560px; }

.banner h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.banner-intro { margin-top: 12px; color: var(--text-on-dark); }

.breadcrumb { display: flex; gap: 8px; margin-bottom: 14px; font-size: 0.88rem; color: var(--text-on-dark); }
.breadcrumb a:hover { color: var(--earth-light); }

.hero .banner-content { padding-top: 120px; padding-bottom: 120px; }
.hero h1 { margin-bottom: 20px; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.hero h1 em { font-style: normal; color: var(--earth-light); }
.hero .banner-intro { margin: 0 0 34px; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-rating { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--text-on-dark); }
.hero-rating strong { color: var(--white); }


/* ---------- Trust bar ---------- */

.trust-bar { background: var(--white); border-bottom: 1px solid var(--cream-dark); }
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .icon-badge { width: 48px; height: 48px; font-size: 1.2rem; }
.trust-item strong { display: block; font-family: var(--font-heading); line-height: 1.3; color: var(--stone-dark); }
.trust-item small { display: block; font-size: 0.85rem; color: var(--text-muted); }


/* ---------- Service cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.service-card .icon-badge { width: 58px; height: 58px; margin-bottom: 20px; border-radius: 14px; font-size: 1.5rem; }
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { flex-grow: 1; margin-bottom: 18px; font-size: 0.95rem; color: var(--text-muted); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--earth); }
.link-arrow .icon { transition: transform var(--ease); }
.service-card:hover .link-arrow .icon { transform: translateX(4px); }


/* ---------- Photos ---------- */

.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }


/* ---------- About ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 14px; }

.about-photo { min-height: 460px; }

.experience-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.experience-badge strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.1; color: var(--earth); }
.experience-badge span { font-size: 0.82rem; color: var(--text-muted); }

.check-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { margin-top: 4px; color: var(--green); }


/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  padding: 30px 24px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
}
.step-number {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(181, 84, 31, 0.22);
}
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); }


/* ---------- Service area ---------- */

.zone-list { display: flex; flex-wrap: wrap; gap: 12px; }
.zone-list li {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}


/* ---------- Reviews ---------- */

.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.rating-summary .stars { font-size: 1.15rem; }
.rating-summary strong { font-family: var(--font-heading); color: var(--stone-dark); }

.reviews-marquee {
  overflow: hidden;
  padding: 8px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track { display: flex; width: max-content; animation: scroll-reviews 60s linear infinite; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }

@keyframes scroll-reviews {
  to { transform: translateX(-50%); }
}

.review-card {
  display: flex;
  flex-direction: column;
  width: 320px;
  margin-right: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.review-card blockquote { flex-grow: 1; margin: 12px 0 20px; font-size: 0.95rem; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author strong { display: block; font-size: 0.92rem; }
.review-author small { font-size: 0.8rem; color: var(--text-muted); }

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--earth), var(--green));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}


/* ---------- Contact blocks (home + contact page) ---------- */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }

.contact-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--stone-dark);
  color: var(--text-on-dark);
}
.contact-card h2 { margin-bottom: 8px; font-size: 1.5rem; color: var(--white); }
.contact-card > p { margin-bottom: 26px; font-size: 0.95rem; }

.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list strong { display: block; color: var(--white); }
.contact-list a { overflow-wrap: anywhere; transition: color var(--ease); }
.contact-list a:hover { color: var(--earth-light); }
.contact-card .icon-badge,
.site-footer .icon-badge { background: rgba(255, 255, 255, 0.08); color: var(--earth-light); }

.hours-title { margin-top: 30px; font-size: 1rem; color: var(--white); }
.hours { width: 100%; margin-top: 8px; border-collapse: collapse; }
.hours td { padding: 6px 0; font-size: 0.92rem; }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--white); }

.form-card { padding: 40px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.form-card h2 { margin-bottom: 6px; font-size: 1.5rem; }
.form-card > p { margin-bottom: 24px; color: var(--text-muted); }

.map { margin-top: 24px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }


/* ---------- Forms ---------- */

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--stone); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd7c9;
  border-radius: 8px;
  background: var(--cream);
  font-size: 1rem;
  transition: border-color var(--ease), background var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--earth); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }

.form-note { font-size: 0.8rem; color: var(--text-muted); }
.form-note a { color: var(--earth); text-decoration: underline; }
.form-status {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(86, 112, 74, 0.12);
  color: #3f5236;
  font-size: 0.9rem;
}


/* ---------- Call-to-action banner ---------- */

.cta-banner { padding: 60px 0; background: linear-gradient(120deg, var(--earth), var(--earth-dark)); color: var(--white); }
.cta-banner .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-banner h2 { margin-bottom: 6px; font-size: 1.9rem; color: var(--white); }
.cta-banner p { color: #fbe4d3; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }


/* ---------- Service details (prestations page) ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--cream-dark);
  scroll-margin-top: var(--header-height);
}
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { padding-bottom: 0; border-bottom: 0; }
.service-detail:nth-child(even) .service-photo { order: 2; }

.service-photo { min-height: 340px; }
.service-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; line-height: 1; color: rgba(181, 84, 31, 0.2); }
.service-detail h2 { margin: 10px 0 14px; font-size: 1.6rem; }
.service-detail p { color: var(--text-muted); }


/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--cream-dark); border-radius: var(--radius); background: var(--white); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--earth); transition: transform var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; font-size: 0.95rem; color: var(--text-muted); }


/* ---------- Gallery ---------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 10px 20px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 30px;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.filter-btn:hover,
.filter-btn[aria-pressed="true"] { border-color: var(--earth); background: var(--earth); color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  text-align: left;
  cursor: zoom-in;
}
.gallery-item img { transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 29, 26, 0) 45%, rgba(31, 29, 26, 0.8) 100%);
}
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px; color: var(--white); }
.gallery-caption small { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #f0d9c8; }
.gallery-caption strong { font-family: var(--font-heading); font-size: 1.05rem; }

.note {
  margin-top: 40px;
  padding: 18px 22px;
  border: 1px dashed var(--green);
  border-radius: var(--radius);
  background: rgba(86, 112, 74, 0.08);
  font-size: 0.92rem;
  color: #3f5236;
}
.note a { text-decoration: underline; }

.lightbox {
  max-width: min(92vw, 1100px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(15, 14, 12, 0.9); }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: var(--radius); }
.lightbox-caption { margin-top: 14px; text-align: center; font-family: var(--font-heading); color: var(--white); }
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}


/* ---------- Legal pages ---------- */

.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin: 40px 0 14px; font-size: 1.3rem; }
.legal-content p,
.legal-content li { margin-bottom: 12px; font-size: 0.96rem; color: var(--text-muted); }
.legal-content ul { margin-bottom: 14px; }
.legal-content li { position: relative; padding-left: 20px; }
.legal-content li::before { content: "—"; position: absolute; left: 0; color: var(--earth); }
.legal-content a { color: var(--earth); text-decoration: underline; }
.legal-updated { margin-bottom: 36px; font-size: 0.85rem; }
.todo {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(181, 84, 31, 0.1);
  color: var(--earth-dark);
  font-size: 0.85em;
  font-weight: 600;
}


/* ---------- Footer ---------- */

.site-footer { padding-top: 72px; background: var(--stone-darker); color: var(--text-on-dark); font-size: 0.92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-brand + p { margin-top: 14px; line-height: 1.7; }
.footer-title { margin-bottom: 18px; font-size: 1rem; color: var(--white); }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover,
.footer-bottom a:hover { color: var(--earth-light); }
.site-footer .contact-list { gap: 14px; }
.site-footer .icon-badge { width: 36px; height: 36px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 0.82rem;
}


/* ---------- Floating call button (mobile) ---------- */

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--earth);
  color: var(--white);
  font-size: 1.4rem;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(181, 84, 31, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(181, 84, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(181, 84, 31, 0); }
}


/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .reviews-track { animation: none; }
  .reviews-marquee { overflow-x: auto; }
  .reviews-track [aria-hidden="true"] { display: none; }
  .floating-call { animation: none; }
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .card-grid,
  .gallery-grid,
  .steps,
  .trust-list,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .split,
  .contact-grid,
  .service-detail { grid-template-columns: 1fr; gap: 32px; }

  .service-detail:nth-child(even) .service-photo { order: 0; }
  .about-photo { min-height: 380px; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }

  .banner-image,
  .banner::before { width: 100%; }
  .banner::before { background: rgba(31, 29, 26, 0.72); }
  .hero .banner-content { padding-top: 88px; padding-bottom: 88px; }

  .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .floating-call { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 150;
    width: min(80vw, 320px);
    height: 100vh;
    height: 100dvh;
    padding: 96px 28px 28px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav a { font-size: 1.1rem; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .topbar { display: none; }

  .card-grid,
  .gallery-grid,
  .steps,
  .footer-grid,
  .form-row { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; }
  .cta-banner .container { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-actions .btn { flex: 1; }

  .form-card,
  .contact-card { padding: 28px 22px; }

  .about-photo { min-height: 300px; }
  .service-photo { min-height: 240px; }
  .service-detail { padding: 40px 0; }
  .review-card { width: 280px; }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .trust-list { grid-template-columns: 1fr; }
  .review-card { width: 82vw; }
  .btn { padding: 14px 20px; }
  .logo-name { font-size: 1.15rem; }
}
