:root {
  --navy: #083766;
  --deep-navy: #052744;
  --blue: #0b477c;
  --gold: #caa13b;
  --gold-soft: #e6c76f;
  --cream: #f8f4ea;
  --paper: #ffffff;
  --ink: #102033;
  --muted: #647084;
  --line: rgba(8, 55, 102, 0.12);
  --shadow: 0 24px 70px rgba(5, 39, 68, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

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

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

.wrapper {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 36px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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


.brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  color: var(--deep-navy);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.brand-text small {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}


html[lang="fr"] .nav-links {
  gap: 20px;
  font-size: 0.82rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.22s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.header-call,
.header-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-call {
  background: var(--navy);
  color: white;
  box-shadow: 0 12px 30px rgba(8, 55, 102, 0.22);
}

.header-quote {
  background: white;
  color: var(--navy);
  border: 2px solid var(--gold);
  box-shadow: 0 10px 24px rgba(8, 55, 102, 0.1);
}

.header-call:hover,
.header-quote:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
  cursor: pointer;
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(202, 161, 59, 0.24), transparent 32%), linear-gradient(135deg, #ffffff 0%, #f5efe2 100%);
}

.hero-bg {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(52vw, 820px);
  height: 100%;
  background: linear-gradient(90deg, rgba(248, 244, 234, 0), rgba(248, 244, 234, 0.6)), url("assets/payer-hero.jpg") center/cover;
  opacity: 0.12;
  filter: saturate(0.8);
}

.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  right: -220px;
  top: 120px;
  background: rgba(8, 55, 102, 0.08);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 58px;
  padding: 92px 0 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 950;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--deep-navy);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  color: var(--deep-navy);
  font-size: clamp(2.05rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  color: var(--deep-navy);
  line-height: 1.1;
}

.hero-text {
  max-width: 610px;
  margin-top: 2px;
  margin-bottom: 30px;
  color: #34445a;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 16px 36px rgba(8, 55, 102, 0.24);
}

.btn.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn.full {
  width: 100%;
}

.hero-points {
  margin-top: 34px;
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-card {
  position: relative;
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
  padding: 12px;
  transform: rotate(0.75deg);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 24px -16px -16px 24px;
  z-index: -1;
  border-radius: 34px;
  background: var(--gold);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 24px;
}

.hero-card-note {
  position: absolute;
  left: 24px;
  right: auto;
  bottom: 24px;
  display: grid;
  gap: 3px;
  width: min(430px, calc(100% - 48px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(5, 39, 68, 0.92);
  color: white;
  backdrop-filter: blur(12px);
}

.hero-card-note strong {
  font-size: 1rem;
}

.hero-card-note span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
}

.trust-strip {
  background: var(--deep-navy);
  color: white;
  border-top: 4px solid var(--gold);
}

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

.trust-grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 92px;
  padding: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-grid div:first-child {
  border-left: 0;
}

.trust-grid p {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(202, 161, 59, 0.18);
  color: var(--gold-soft);
  font-weight: 950;
}

.section {
  padding: 110px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

#services .services-intro {
  max-width: 1060px;
}

#services .services-intro h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.02;
}

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

.service-card {
  min-height: 270px;
  padding: 30px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(5, 39, 68, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(202, 161, 59, 0.44);
  box-shadow: var(--shadow);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: rgba(202, 161, 59, 0.15);
  color: var(--navy);
  font-weight: 950;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.service-card p,
.process-step p,
.project-content p,
.feature-copy p,
.contact-copy p,
.mini-card p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-section {
  position: relative;
  padding: 130px 0;
  color: white;
  overflow: hidden;
}

.feature-background {
  background:
    linear-gradient(90deg, rgba(5, 39, 68, 0.92) 0%, rgba(5, 39, 68, 0.84) 32%, rgba(5, 39, 68, 0.68) 52%, rgba(5, 39, 68, 0.55) 100%),
    url("assets/renovation-feature.png") center center / cover no-repeat;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.feature-copy h2,
.feature-copy h3 {
  color: white;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

#work .feature-copy h2 {
  max-width: none;
  margin-bottom: 26px;
  font-size: clamp(2.6rem, 3.8vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.feature-panel {
  max-width: 980px;
  padding: 40px 42px;
  border-radius: 34px;
  background: rgba(5, 39, 68, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--gold-soft);
  font-weight: 950;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  min-height: 240px;
  padding: 30px 26px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--line);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 950;
}

.process-step h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.areas {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--deep-navy), var(--navy));
  color: white;
}

.areas-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 36px;
}

.areas h2 {
  color: white;
  margin-bottom: 0;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.area-pills span {
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  font-weight: 950;
}

.testimonial-section {
  display: block;
}

.quote-card,
.mini-card {
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(5, 39, 68, 0.07);
}

.quote-card {
  padding: 48px;
  max-width: 980px;
  margin: 0 auto;
}

.quote-card p {
  margin-bottom: 22px;
  color: var(--deep-navy);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.quote-card span {
  color: var(--gold);
  font-weight: 950;
}

.mini-cards {
  display: grid;
  gap: 18px;
}

.mini-card {
  padding: 30px;
}

.mini-card h3 {
  margin-bottom: 10px;
}

.contact {
  padding: 110px 0;
  background:
    linear-gradient(90deg, rgba(5, 39, 68, 0.92), rgba(5, 39, 68, 0.82)),
    url("assets/payer-hero.jpg") center/cover;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 60px;
  align-items: center;
}

.contact h2 {
  color: white;
}

#contact .contact-copy h2 {
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  white-space: nowrap;
}


.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.75;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.contact-line {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: #f4f7fa;
  border: 1px solid var(--line);
}

.contact-line span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 950;
}

.contact-line strong {
  color: var(--navy);
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.contact-line.muted strong {
  font-size: 1rem;
}

.social-block small {
  color: var(--muted);
  line-height: 1.5;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 900;
}

.social-link:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.site-footer {
  padding: 24px 0;
  background: #031c32;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
}

.footer-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: white;
  font-weight: 800;
}

.built-by {
  margin-left: clamp(38px, 4vw, 84px);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.built-by:hover {
  color: rgba(255, 255, 255, 0.82);
}

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

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

.delay {
  transition-delay: 0.12s;
}

@media (max-width: 1180px) {

  #contact .contact-copy h2 {
    white-space: normal;
  }

  #work .feature-copy h2 {
    white-space: normal;
  }

  .feature-panel {
    max-width: 100%;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand-text strong {
    font-size: 1.35rem;
  }

  .brand-text small {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .nav-links.open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.open a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f5f7fa;
  }

  .hero-content,
  .feature-grid,
  .areas-inner,
  .testimonial-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 72px;
  }

  .area-pills {
    justify-content: flex-start;
  }

  .contact-grid {
    gap: 34px;
  }
}

@media (max-width: 860px) {
  .feature-section {
    padding: 88px 0;
  }

  .hero {
    min-height: unset;
  }

  .hero-content {
    gap: 34px;
  }

  .hero-card {
    transform: none;
  }

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

  .trust-grid div:nth-child(odd) {
    border-left: 0;
  }

  .section,
  .feature-section,
  .contact {
    padding: 78px 0;
  }
}

@media (max-width: 620px) {
  .feature-panel {
    padding: 28px 24px;
  }

  #work .feature-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  #services .services-intro h2 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }
  .wrapper {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .brand-text small {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hero-content {
    padding: 54px 0 58px;
  }

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

  .hero-card-note {
    position: static;
    margin-top: 12px;
    border-radius: 20px;
  }

  .trust-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div {
    justify-content: flex-start;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .trust-grid div:first-child {
    border-top: 0;
  }

  .service-card,
  .quote-card,
  .mini-card,
  .contact-card {
    padding: 24px;
  }

  .project-image {
    min-height: 340px;
  }

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

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .built-by {
    margin-left: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}


/* Language switcher */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  white-space: nowrap;
}

.lang-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
}

.lang-btn.active {
  color: var(--navy);
}

.mobile-language-switch {
  display: none;
}

html[lang="fr"] #work .feature-copy h2,
html[lang="fr"] #contact .contact-copy h2 {
  white-space: normal;
}

@media (max-width: 1060px) {
  .header-actions .language-switch {
    display: none;
  }

  .mobile-language-switch {
    display: inline-flex;
    justify-self: start;
    margin: 4px 14px 8px;
  }
}

/* Prevent the bilingual desktop header from becoming crowded. */
@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand {
    width: auto;
    min-width: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .nav-links.open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.open a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f5f7fa;
  }

  .mobile-language-switch {
    display: inline-flex;
    justify-self: start;
    margin: 4px 14px 8px;
  }
}
