:root {
  --graphite: #111417;
  --black: #080a0c;
  --gold: #c8a96a;
  --ivory: #f6f1e8;
  --glass: #dde4e4;
  --sage: #7f8c86;
  --copper: #8a5f3d;
  --white: #fffaf1;
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--graphite);
  background: var(--ivory);
  font-family: var(--font-body);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container-xl {
  max-width: 1220px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 82px;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
  border-bottom: 1px solid rgba(246, 241, 232, 0.08);
}

.site-header.scrolled {
  background: rgba(8, 10, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(200, 169, 106, 0.2);
}

.navbar,
.header-inner {
  height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 88px;
}

.brand-mark {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--gold);
  font-size: 37px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 10px 30px rgba(200, 169, 106, 0.18);
}

.nav-link {
  color: rgba(246, 241, 232, 0.86);
  font-size: 13px;
  font-weight: 600;
  margin: 0 9px;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone,
.mobile-phone {
  color: var(--ivory);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone i,
.mobile-phone i,
.phone-inline i {
  color: var(--gold);
  margin-right: 7px;
}

.mobile-phone {
  display: none;
  margin-left: auto;
  margin-right: 18px;
}

.navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(200, 169, 106, 0.35);
  border-radius: 0;
  display: none;
  place-items: center;
  gap: 6px;
}

.navbar-toggler span {
  width: 18px;
  height: 1px;
  display: block;
  background: var(--ivory);
}

.btn {
  border-radius: 0;
  padding: 15px 25px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.btn-small {
  padding: 12px 17px;
  font-size: 11px;
}

.btn-gold {
  color: var(--black);
  background: linear-gradient(135deg, #dabb78, var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(200, 169, 106, 0.22);
}

.btn-outline-light {
  color: var(--ivory);
  border: 1px solid rgba(246, 241, 232, 0.52);
  background: rgba(8, 10, 12, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(200, 169, 106, 0.27);
}

.hero {
  min-height: 860px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg,
.final-bg {
  position: absolute;
  inset: -4%;
  background: url("images/hero.jpg") center / cover no-repeat;
  z-index: -3;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(8, 10, 12, 0.94) 0%,
      rgba(8, 10, 12, 0.78) 39%,
      rgba(8, 10, 12, 0.2) 67%,
      rgba(8, 10, 12, 0.58) 100%
    ),
    radial-gradient(
      circle at 78% 30%,
      rgba(200, 169, 106, 0.18),
      transparent 34%
    );
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(280px, 44%);
  align-items: center;
  gap: 30px;
  min-height: 860px;
  padding-top: 82px;
}

.hero-copy {
  max-width: 640px;
  color: var(--ivory);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 15px;
}

h1,
h2 {
  font-family: var(--font-title);
  letter-spacing: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.98;
  max-width: 650px;
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 22px;
}

.hero-lead {
  max-width: 590px;
  color: rgba(246, 241, 232, 0.86);
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-proof {
  margin: 34px 0 0;
  color: rgba(246, 241, 232, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.hero-floating {
  display: grid;
  gap: 18px;
  justify-self: end;
  width: min(280px, 100%);
}

.float-card {
  min-height: 122px;
  padding: 24px;
  color: var(--ivory);
  background: rgba(17, 20, 23, 0.56);
  border: 1px solid rgba(200, 169, 106, 0.38);
  backdrop-filter: blur(14px);
}

.float-card strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}

.float-card span {
  color: rgba(246, 241, 232, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.assurance {
  min-height: 280px;
  display: flex;
  align-items: center;
  background: var(--ivory);
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(200, 169, 106, 0.45);
  border-bottom: 1px solid rgba(200, 169, 106, 0.45);
}

.assurance article {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border-right: 1px solid rgba(200, 169, 106, 0.35);
}

.assurance article:last-child {
  border-right: 0;
}

.assurance i {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  height: 50px;
  color: var(--gold);
  font-size: 25px;
  border: 1px solid rgba(200, 169, 106, 0.5);
}

.assurance h3,
.service-list h3,
.timeline h3,
.footer h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.assurance p,
.service-list p,
.timeline p {
  margin: 0;
  color: rgba(17, 20, 23, 0.66);
  font-size: 13px;
  line-height: 1.55;
}

.section-dark {
  color: var(--ivory);
  background: var(--graphite);
}

.services {
  min-height: 880px;
  padding: 86px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 5% 80%,
      rgba(127, 140, 134, 0.28),
      transparent 25%
    ),
    linear-gradient(90deg, #081012 0%, var(--graphite) 100%);
}

.services-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 64px;
  align-items: center;
}

.services-media {
  position: relative;
  min-height: 660px;
}

.services-media img:first-child {
  width: 82%;
  height: 650px;
  object-fit: cover;
}

.services-media img:last-child {
  position: absolute;
  right: 0;
  bottom: 46px;
  width: 48%;
  height: 250px;
  object-fit: cover;
  border: 10px solid var(--graphite);
}

.services-content h2 {
  max-width: 610px;
}

.service-list {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.service-list article {
  min-height: 104px;
  display: grid;
  grid-template-columns: 72px 42px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 30px;
  color: var(--ivory);
  background: linear-gradient(
    90deg,
    rgba(221, 228, 228, 0.14),
    rgba(127, 140, 134, 0.16)
  );
  border-left: 2px solid var(--gold);
  clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%);
}

.service-list article:nth-child(even) {
  transform: translateX(34px);
}

.service-list span {
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 35px;
  line-height: 1;
}

.service-list i {
  color: var(--gold);
  font-size: 27px;
}

.service-list p {
  color: rgba(246, 241, 232, 0.78);
  max-width: 500px;
}

.service-list strong {
  display: block;
  color: rgba(246, 241, 232, 0.9);
  font-size: 12px;
  margin-top: 6px;
}

.about,
.section-ivory {
  background: var(--ivory);
}

.about {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px;
  align-items: center;
}

.about-copy p {
  color: rgba(17, 20, 23, 0.74);
  font-size: 16px;
  line-height: 1.8;
  max-width: 560px;
}

blockquote {
  position: relative;
  margin: 34px 0 0;
  padding: 26px 30px;
  color: var(--graphite);
  border: 1px solid var(--gold);
  font-family: var(--font-title);
  font-size: 23px;
  line-height: 1.35;
}

.about-media {
  height: 570px;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
}

.stats {
  min-height: 220px;
  display: flex;
  align-items: center;
  color: var(--ivory);
  background: var(--black);
  border-top: 1px solid rgba(200, 169, 106, 0.25);
  border-bottom: 1px solid rgba(200, 169, 106, 0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(200, 169, 106, 0.45);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats strong {
  color: var(--gold);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  font-weight: 800;
}

.stats span {
  max-width: 190px;
  color: rgba(246, 241, 232, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.process {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 78px 0;
  background: #edf1ef;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 54px;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 42px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.timeline article {
  position: relative;
  padding-top: 88px;
}

.timeline span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 106, 0.5);
  color: var(--gold);
  background: #f7f3ea;
  font-family: var(--font-title);
  font-size: 24px;
}

.timeline i {
  color: var(--sage);
  font-size: 22px;
  margin-bottom: 16px;
  display: block;
}

.timeline article:nth-child(even) {
  transform: translateY(34px);
}

.timeline small {
  color: var(--copper);
  font-weight: 800;
  font-size: 12px;
}

.gallery {
  min-height: 900px;
  padding: 84px 0;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.35fr;
  grid-auto-rows: 220px;
  gap: 18px;
  margin-top: 32px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
}

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

.gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 10, 12, 0.68));
  opacity: 0.82;
  transition: background 0.35s ease;
}

.gallery-item span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: var(--ivory);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.03);
}

.gallery-item:hover:after {
  background: linear-gradient(
    180deg,
    rgba(200, 169, 106, 0.08),
    rgba(8, 10, 12, 0.74)
  );
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 1;
}

.mid-cta {
  min-height: 260px;
  display: flex;
  align-items: center;
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.95), rgba(17, 20, 23, 0.84)),
    url("images/service-3.jpg") center / cover;
  border-top: 1px solid rgba(200, 169, 106, 0.28);
  border-bottom: 1px solid rgba(200, 169, 106, 0.28);
}

.mid-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
}

.mid-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.phone-inline {
  color: var(--ivory);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.testimonials {
  min-height: 560px;
  padding: 82px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 44px;
  align-items: center;
}

.testimonial-grid article {
  min-height: 260px;
  padding: 34px;
  background: rgba(221, 228, 228, 0.08);
  border: 1px solid rgba(200, 169, 106, 0.34);
  color: var(--ivory);
}

.testimonial-grid article.lifted {
  min-height: 300px;
  background: rgba(246, 241, 232, 0.93);
  color: var(--graphite);
}

.stars {
  color: var(--gold);
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial-grid p {
  font-family: var(--font-title);
  font-size: 21px;
  line-height: 1.45;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
  font-size: 13px;
}

.testimonial-grid span {
  color: var(--sage);
  margin-top: 4px;
}

.faq {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
}

.accordion-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  align-content: start;
}

.faq-item {
  min-height: 62px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.38);
  border: 0;
  border-bottom: 1px solid rgba(17, 20, 23, 0.16);
  text-align: left;
  font-weight: 800;
  font-size: 14px;
}

.faq-item i {
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq-item.active i {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(255, 255, 255, 0.3);
}

.faq-panel p {
  padding: 0 20px 18px;
  margin: 0;
  color: rgba(17, 20, 23, 0.7);
  font-size: 14px;
  line-height: 1.65;
}

.final-cta {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--ivory);
  background: var(--black);
}

.final-bg {
  background-image: url("images/cta-final.jpg");
}

.final-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(8, 10, 12, 0.94),
    rgba(8, 10, 12, 0.64) 43%,
    rgba(8, 10, 12, 0.16)
  );
}

.final-inner {
  max-width: 1220px;
}

.final-inner h2,
.final-inner p {
  max-width: 680px;
}

.final-inner p:not(.eyebrow) {
  color: rgba(246, 241, 232, 0.86);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ivory);
  margin-top: 26px;
  font-weight: 700;
}

.mail-link i {
  color: var(--gold);
}

.footer {
  min-height: 500px;
  color: rgba(246, 241, 232, 0.76);
  background: var(--black);
  padding: 76px 0 28px;
  border-top: 1px solid rgba(200, 169, 106, 0.34);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.2fr;
  gap: 56px;
}

.footer-brand {
  margin-bottom: 22px;
}

.footer p {
  font-size: 14px;
  line-height: 1.7;
}

.footer h3 {
  color: var(--gold);
  margin-bottom: 22px;
}

.footer a {
  display: block;
  color: rgba(246, 241, 232, 0.76);
  font-size: 14px;
  line-height: 1.9;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: var(--gold);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 169, 106, 0.3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
}

.skywebis-signature {
  margin: 0;
}

.skywebis-signature a {
  display: inline;
  color: var(--gold);
  font-weight: 800;
}

.motion-ready [data-aos] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--motion-delay, 0ms);
}

.motion-ready [data-aos="fade-left"] {
  transform: translateX(34px);
}

.motion-ready [data-aos="fade-right"] {
  transform: translateX(-34px);
}

.motion-ready [data-aos="zoom-in"] {
  transform: scale(0.96);
}

.motion-ready [data-aos].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (max-width: 991px) {
  .site-header,
  .navbar,
  .header-inner {
    height: 74px;
  }

  .navbar-toggler {
    display: grid;
  }

  .mobile-phone {
    display: inline-flex;
    align-items: center;
  }

  .navbar-collapse {
    position: absolute;
    top: 74px;
    left: 12px;
    right: 12px;
    padding: 24px;
    background: rgba(8, 10, 12, 0.96);
    border: 1px solid rgba(200, 169, 106, 0.24);
  }

  .navbar-nav {
    margin-bottom: 20px;
  }

  .nav-link {
    margin: 4px 0;
    font-size: 15px;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-phone {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-floating {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    justify-self: stretch;
  }

  .float-card {
    min-height: 94px;
    padding: 18px;
  }

  .assurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .assurance article:nth-child(2) {
    border-right: 0;
  }

  .services-layout,
  .about-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .services-media {
    min-height: 460px;
  }

  .services-media img:first-child {
    width: 100%;
    height: 430px;
  }

  .services-media img:last-child {
    width: 38%;
    height: 190px;
  }

  .stats-grid,
  .timeline,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline:before {
    display: none;
  }

  .timeline article:nth-child(even) {
    transform: none;
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .mid-cta-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .accordion-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container-xl {
    padding-left: 22px;
    padding-right: 22px;
  }

  .brand-mark {
    font-size: 31px;
  }

  .mobile-phone {
    font-size: 12px;
    margin-right: 10px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(8, 10, 12, 0.92) 0%,
      rgba(8, 10, 12, 0.76) 56%,
      rgba(8, 10, 12, 0.68) 100%
    );
  }

  h1 {
    font-size: clamp(40px, 11vw, 46px);
  }

  h2 {
    font-size: 36px;
  }

  .hero-lead,
  .final-inner p:not(.eyebrow) {
    font-size: 15px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-floating {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .float-card {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .float-card strong {
    margin: 0;
    font-size: 23px;
  }

  .assurance-grid,
  .stats-grid,
  .timeline,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .assurance article,
  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(200, 169, 106, 0.28);
  }

  .services,
  .about,
  .gallery,
  .testimonials,
  .faq {
    padding: 64px 0;
  }

  .services-layout {
    gap: 42px;
  }

  .services-media {
    min-height: 360px;
  }

  .services-media img:first-child {
    height: 340px;
  }

  .services-media img:last-child {
    display: none;
  }

  .service-list article,
  .service-list article:nth-child(even) {
    grid-template-columns: 54px 34px 1fr;
    gap: 14px;
    padding: 18px;
    transform: none;
    clip-path: none;
  }

  .service-list span {
    font-size: 28px;
  }

  .about-media {
    height: 380px;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .mid-cta {
    min-height: 300px;
  }

  .phone-inline {
    font-size: 18px;
  }

  .final-cta {
    min-height: 620px;
  }

  .final-bg {
    background-position: 62% center;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Corrections BFP : logo premium + galerie tabs */
.brand-logo {
  min-width: 210px;
  width: 210px;
}

.brand-logo img {
  width: 210px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
}

.footer .brand-logo {
  width: 250px;
  min-width: 250px;
}

.footer .brand-logo img {
  width: 250px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 30px;
}

.gallery-tabs li {
  list-style: none;
}

.gallery-tabs button {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(17, 20, 23, 0.14);
  background: rgba(255, 255, 255, 0.56);
  color: var(--graphite);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.28s ease;
}

.gallery-tabs button:hover,
.gallery-tabs button.active {
  color: var(--black);
  border-color: rgba(200, 169, 106, 0.8);
  background: linear-gradient(135deg, #e0bf74, var(--gold));
  box-shadow: 0 15px 34px rgba(200, 169, 106, 0.22);
  transform: translateY(-2px);
}

.gallery-tab-content {
  margin-top: 24px;
}

.premium-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.premium-gallery a {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: block;
  background: var(--graphite);
  border: 1px solid rgba(200, 169, 106, 0.25);
}

.premium-gallery img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.premium-gallery a:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 10, 12, 0.78));
}

.premium-gallery span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: var(--ivory);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.premium-gallery a:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.nav-link.active {
  color: var(--gold) !important;
  border-bottom: 2px solid var(--gold);
}

@media (max-width: 991px) {
  .brand-logo,
  .brand-logo img {
    width: 170px;
    min-width: 170px;
  }

  .premium-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-logo,
  .brand-logo img {
    width: 136px;
    min-width: 136px;
  }

  .premium-gallery {
    grid-template-columns: 1fr;
  }

  .premium-gallery a,
  .premium-gallery img {
    min-height: 280px;
  }

  .gallery-tabs button {
    width: 100%;
  }

  .gallery-tabs li {
    flex: 1 1 100%;
  }
}

/* Categories awaiting a matching photograph. */
.gallery-empty { padding: 48px 24px; text-align: center; background: rgba(255,255,255,.56); border: 1px solid rgba(200,169,106,.35); color: var(--graphite); }
.gallery-empty .gallery-empty-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.gallery-empty p:last-child { margin-bottom: 0; }

.gallery-note { max-width: 780px; line-height: 1.7; margin-top: 18px; color: var(--graphite); }
.gallery-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.premium-gallery .gallery-illustration { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 6px 10px; background: rgba(8,10,12,.78); color: #fff; font-size: 11px; border: 1px solid rgba(255,255,255,.3); }

/* Public certificate: visible preview and direct access on every screen size. */
.certification { padding: 88px 0; scroll-margin-top: 100px; }
.certification-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 64px; }
.certification-copy > p:not(.eyebrow) { line-height: 1.8; margin: 24px 0; }
.certification-details { margin: 28px 0; }
.certification-details div { padding: 14px 0; border-bottom: 1px solid rgba(17,20,23,.12); }
.certification-details dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.certification-details dd { margin: 0; line-height: 1.6; }
.certification-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.certification-actions .btn { display: inline-flex; align-items: center; gap: 10px; }
.certification-download { color: var(--graphite); text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.certification-preview { display: block; padding: 12px; background: #fff; border: 1px solid rgba(200,169,106,.4); box-shadow: 0 18px 50px rgba(17,20,23,.1); color: var(--graphite); text-decoration: none; }
.certification-preview img { display: block; width: 100%; height: auto; }
.certification-preview span { display: block; padding: 16px 8px 8px; text-align: center; font-size: 13px; }
.hero-certificate-link { display: inline-block; margin-top: 10px; color: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
@media(max-width: 767px) { .certification { padding: 56px 0; } .certification-grid { grid-template-columns: 1fr; gap: 32px; } .certification-actions { align-items: flex-start; flex-direction: column; } .certification-preview { max-width: 440px; width: 100%; margin: auto; } }

/* Identité BFP : vert du document de référence, navigation blanche et lisible. */
:root { --brand-green: #44682e; --brand-green-dark: #2d4820; --gold: #44682e; --ivory: #f5f7f2; --white: #fff; --sage: #788672; }
html { scroll-padding-top: 112px; }
.site-header, .site-header.scrolled { height: 92px; background: #fff; border-bottom: 3px solid var(--brand-green); box-shadow: 0 6px 30px rgba(28,46,20,.09); backdrop-filter: none; }
.navbar, .header-inner { height: 89px; }
.site-header .header-inner { gap: 20px; }
.site-header .brand-logo { width: 182px; min-width: 182px; flex: 0 0 182px; }
.site-header .brand-logo img { width: 182px; min-width: 0; height: 64px; object-fit: contain; filter: none; }
.site-header .navbar-collapse { gap: 12px; }
.site-header .navbar-nav { gap: 2px; }
.site-header .nav-link { color: #31402c; margin: 0; padding: 12px 9px; font-size: 12px; font-weight: 700; border-radius: 7px; white-space: nowrap; border: 0; }
.site-header .nav-link:hover, .site-header .nav-link:focus-visible, .site-header .nav-link.active { color: var(--brand-green) !important; background: #eef3e9; border: 0; }
.site-header .header-actions { gap: 14px; }
.site-header .header-phone, .site-header .mobile-phone { color: #31402c; font-size: 12px; }
.site-header .header-phone i, .site-header .mobile-phone i { color: var(--brand-green); }
.site-header .btn-small { padding: 13px 15px; white-space: nowrap; font-size: 10px; }
.btn { border-radius: 6px; }
.btn-gold { color: #fff; background: var(--brand-green); border: 1px solid var(--brand-green); box-shadow: 0 8px 20px rgba(68,104,46,.18); }
.btn-gold:hover, .btn-gold:focus-visible { color: #fff; background: var(--brand-green-dark); border-color: var(--brand-green-dark); box-shadow: 0 10px 24px rgba(68,104,46,.22); }
.btn:hover { box-shadow: 0 10px 24px rgba(68,104,46,.2); }
a:focus-visible, button:focus-visible { outline: 3px solid #83a66a; outline-offset: 4px; }
.hero-inner { padding-top: 145px; }
.hero .eyebrow { color: #d4e5c7; }
.hero .float-card strong { color: #d4e5c7; }
.hero .hero-certificate-link { color: #fff; }
.float-card { border-color: rgba(210,231,194,.3); }
.gallery-tabs button { border-radius: 6px; }
.gallery-tabs button:hover, .gallery-tabs button.active { color: #fff; border-color: var(--brand-green); background: var(--brand-green); box-shadow: 0 8px 20px rgba(68,104,46,.16); }
.premium-gallery a { border-color: rgba(68,104,46,.25); border-radius: 8px; }
.certification-preview { border-color: #d6dfcf; border-radius: 10px; }
.certification-download, .gallery-note a { color: var(--brand-green-dark); }
.footer .brand-logo { width: 226px; min-width: 0; padding: 12px; border-radius: 8px; background: #fff; }
.footer .brand-logo img { width: 202px; min-width: 0; height: auto; filter: none; }
@media (min-width: 992px) and (max-width: 1199px) {
 .site-header .header-inner { gap: 10px; }
 .site-header .brand-logo { width: 160px; min-width: 160px; flex-basis: 160px; }
 .site-header .brand-logo img { width: 160px; }
 .site-header .nav-link { padding: 12px 7px; font-size: 11px; }
 .site-header .header-phone { display: none; }
}
@media (max-width: 991px) {
 html { scroll-padding-top: 90px; }
 .site-header, .site-header.scrolled { height: 80px; }
 .navbar, .header-inner { height: 77px; }
 .site-header .header-inner { gap: 12px; }
 .site-header .brand-logo { width: 158px; min-width: 158px; flex-basis: 158px; }
 .site-header .brand-logo img { width: 158px; height: 56px; }
 .site-header .navbar-toggler { display: grid; border: 1px solid #d4dfcc; border-radius: 8px; background: #f3f6f0; box-shadow: none; }
 .site-header .navbar-toggler span { background: var(--brand-green-dark); height: 2px; }
 .site-header .mobile-phone { margin-left: auto; margin-right: 0; }
 .site-header .navbar-collapse { top: 80px; background: #fff; border: 1px solid #d4dfcc; border-radius: 0 0 12px 12px; box-shadow: 0 20px 35px rgba(28,46,20,.12); padding: 18px; max-height: calc(100dvh - 96px); overflow-y: auto; }
 .site-header .navbar-nav { margin-bottom: 14px; }
 .site-header .nav-link { padding: 13px 14px; margin: 2px 0; font-size: 14px; }
 .site-header .header-actions .btn { width: 100%; text-align: center; }
 .site-header .header-actions { align-items: stretch; }
 .hero-inner { padding-top: 120px; }
}
@media (max-width: 420px) {
 .site-header .header-inner { gap: 8px; }
 .site-header .brand-logo { width: 132px; min-width: 132px; flex-basis: 132px; }
 .site-header .brand-logo img { width: 132px; height: 50px; }
 .site-header .mobile-phone { font-size: 10px; }
 .site-header .mobile-phone i { margin-right: 4px; }
 .site-header .navbar-toggler { width: 38px; height: 40px; flex-shrink: 0; }
}

/* Le certificat PDF s’ouvre uniquement depuis son lien. */
.certification .certification-grid { display: block; }
.certification .certification-copy { max-width: 860px; margin: 0 auto; }

.certification-link-only { padding: 36px 0; text-align: center; }

/* Logo d’origine conservé : seule sa teinte bleue devient verte. */
.site-header .brand-logo { position: relative; overflow: hidden; width: 150px; min-width: 150px; flex: 0 0 150px; height: 80px; border-radius: 6px; background: #52544d; }
.site-header .brand-logo img { position: absolute; width: 195px; max-width: none; min-width: 0; height: 130px; left: -22px; top: -21px; object-fit: fill; filter: none; }
.footer .brand-logo { position: relative; overflow: hidden; padding: 0; width: 226px; min-width: 0; height: 136px; background: #52544d; }
.footer .brand-logo img { position: absolute; width: 310px; max-width: none; min-width: 0; height: 207px; left: -42px; top: -34px; object-fit: fill; filter: none; }
@media(max-width:991px) {
 .site-header .brand-logo { width: 126px; min-width: 126px; flex-basis: 126px; height: 67px; }
 .site-header .brand-logo img { width: 164px; height: 109px; left: -19px; top: -18px; }
}
@media(max-width:420px) {
 .site-header .brand-logo { width: 112px; min-width: 112px; flex-basis: 112px; height: 64px; }
 .site-header .brand-logo img { width: 153px; height: 102px; left: -20px; top: -16px; }
}

/* Barre mobile : logo, appel et menu sur une seule ligne stable. */
.site-header .header-inner { display: flex; width: 100%; justify-content: space-between; }
@media(max-width:991px) {
 .site-header .header-inner { display: grid; grid-template-columns: minmax(0,1fr) 44px 44px; align-items: center; gap: 10px; padding-left: 14px; padding-right: 14px; position: static; }
 .site-header .brand-logo { width: 126px; min-width: 0; height: 67px; justify-self: start; }
 .site-header .brand-logo img { width: 164px; height: 109px; left: -19px; top: -18px; }
 .site-header .mobile-phone { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin: 0; border: 1px solid #d4dfcc; border-radius: 8px; background: #f3f6f0; }
 .site-header .mobile-phone i { margin: 0; font-size: 18px; }
 .site-header .mobile-phone-number { display: none; }
 .site-header .navbar-toggler { display: flex; width: 44px; height: 44px; padding: 11px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin: 0; }
 .site-header .navbar-toggler span { width: 20px; height: 2px; flex: 0 0 2px; transition: transform .2s, opacity .2s; }
 .site-header .navbar-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
 .site-header .navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
 .site-header .navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 .site-header .navbar-collapse { display: none; position: fixed; top: 80px; left: 12px; right: 12px; width: auto; max-height: calc(100dvh - 96px); z-index: 1001; }
 .site-header .navbar-collapse.show { display: flex; flex-direction: column; align-items: stretch; }
 .site-header .navbar-nav { display: flex; flex-direction: column; width: 100%; padding-left: 0; list-style: none; margin: 0 0 12px !important; }
 .site-header .header-actions { display: flex; flex-direction: column; width: 100%; gap: 12px; }
 .site-header .header-actions .header-phone { display: inline-flex; align-items: center; font-size: 15px; padding: 10px 14px; }
}
@media(max-width:359px) {
 .site-header .header-inner { gap: 8px; padding-left: 10px; padding-right: 10px; }
 .site-header .brand-logo { width: 112px; height: 64px; }
 .site-header .brand-logo img { width: 153px; height: 102px; left: -20px; top: -16px; }
}

/* Logo transparent sur une surface blanche, sans fond gris. */
.site-header .brand-logo, .footer .brand-logo { background: #fff; }

/* Le logo transparent reste entièrement visible, sans recadrage. */
.site-header .brand-logo img, .footer .brand-logo img { position: static; width: 100%; max-width: 100%; height: 100%; object-fit: contain; object-position: center; }

.certification-link-only { padding: 56px 0; }
.certification-link-only h2 { max-width: 850px; margin-left: auto; margin-right: auto; }
.rge-link-description { max-width: 760px; margin: 20px auto 26px; line-height: 1.8; }
