:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #5b6068;
  --line: #dfe3e7;
  --paper: #f7f8f6;
  --white: #ffffff;
  --steel: #5f7481;
  --signal: #b33826;
  --signal-dark: #812719;
  --deep: #20292e;
  --shadow: 0 18px 50px rgba(21, 30, 35, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 248, 246, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid currentColor;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  font-size: 0.72rem;
  opacity: 0.75;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-nav a {
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 15, 16, 0.86), rgba(12, 15, 16, 0.5) 44%, rgba(12, 15, 16, 0.16)),
    linear-gradient(0deg, rgba(12, 15, 16, 0.72), rgba(12, 15, 16, 0.05) 55%);
}

.hero-content {
  width: min(780px, calc(100% - 36px));
  margin: 0 0 clamp(112px, 18vh, 170px) clamp(18px, 7vw, 88px);
}

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

.hero .eyebrow {
  color: #f0c2b9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  font-size: 1.3rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--signal-dark);
}

.button.secondary {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(620px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(16, 22, 25, 0.72);
  backdrop-filter: blur(12px);
}

.hero-panel span {
  padding: 18px;
  font-weight: 800;
  text-align: center;
}

.hero-panel span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.lead-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading {
  width: min(880px, 100%);
  margin-bottom: 36px;
}

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

.service-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(10, 20, 26, 0.06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card h3,
.service-card p,
.service-card ul {
  margin-left: 20px;
  margin-right: 20px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p {
  margin-top: 10px;
  color: var(--muted);
}

.service-card ul {
  padding-left: 20px;
  color: var(--muted);
}

.featured-service {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  align-items: stretch;
}

.featured-service img {
  height: 100%;
  aspect-ratio: auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 64px);
  background: var(--deep);
  color: var(--white);
}

.split-copy p:not(.eyebrow) {
  color: #d7dde0;
  font-size: 1.08rem;
}

.split-section img {
  width: 100%;
  max-height: 560px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery button {
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #d9dee1;
  cursor: pointer;
}

.gallery button:nth-child(1),
.gallery button:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery button:nth-child(2),
.gallery button:nth-child(3),
.gallery button:nth-child(5),
.gallery button:nth-child(6) {
  grid-column: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery button:hover img {
  transform: scale(1.04);
}

.testimonials {
  background: var(--white);
}

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

figure {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

blockquote {
  margin: 0;
  color: var(--deep);
  font-size: 1.05rem;
}

figcaption {
  margin-top: 20px;
  font-weight: 800;
}

figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 520px);
  gap: clamp(28px, 7vw, 92px);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 64px);
  background: #e7ebea;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-copy .button.secondary {
  background: transparent;
}

.contact-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-bottom: 22px;
}

dl,
dd {
  margin: 0;
}

.contact-card div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.88rem;
}

dd {
  font-weight: 700;
}

dd a {
  color: var(--signal-dark);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 10, 12, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox img {
  width: min(1100px, 100%);
  max-height: 86vh;
  border-radius: var(--radius);
  object-fit: contain;
}

@media (max-width: 980px) {
  .service-grid,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-service {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .featured-service img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .intro,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .gallery button,
  .gallery button:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(247, 248, 246, 0.98);
    color: var(--ink);
    box-shadow: 0 24px 32px rgba(0, 0, 0, 0.08);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    margin: 0 18px 188px;
    width: auto;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.3rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .hero-panel span {
    padding: 12px;
  }

  .hero-panel span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .section,
  .split-section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .service-grid,
  .quote-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery button {
    min-height: 240px;
  }

  .contact-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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


.logo-brand {
  padding: 4px 0;
}

.brand-logo {
  width: clamp(76px, 9vw, 112px);
  height: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switch a {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
}

.language-switch a.is-active {
  background: currentColor;
  color: var(--paper);
}

.certificate-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 64px);
  background: var(--white);
}

.certificate-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.certificate-copy .button {
  margin-top: 20px;
}

.certificate-frame {
  overflow: hidden;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f0f3f5;
  box-shadow: var(--shadow);
}

.certificate-frame iframe {
  width: 100%;
  height: 720px;
  border: 0;
  background: var(--white);
}

@media (max-width: 980px) {
  .certificate-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .language-switch {
    margin-left: 0;
    order: 2;
  }

  .nav-toggle {
    order: 3;
  }

  .certificate-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .certificate-frame {
    min-height: 520px;
  }

  .certificate-frame iframe {
    height: 620px;
  }
}

.language-switch {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(10, 14, 16, 0.72);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.language-switch a {
  color: #ffffff;
}

.language-switch a.is-active {
  background: #ffffff;
  color: #141414;
}

.site-header.is-scrolled .language-switch,
.site-header.is-open .language-switch {
  border-color: rgba(20, 20, 20, 0.22);
  background: #ffffff;
  color: #141414;
}

.site-header.is-scrolled .language-switch a,
.site-header.is-open .language-switch a {
  color: #141414;
}

.site-header.is-scrolled .language-switch a.is-active,
.site-header.is-open .language-switch a.is-active {
  background: #b33826;
  color: #ffffff;
}
