:root {
  --bg: #070808;
  --bg-soft: #101315;
  --panel: #15191b;
  --panel-light: #f4efe4;
  --text: #f7f3ea;
  --muted: #c8c0b1;
  --muted-dark: #665f52;
  --gold: #d6a64a;
  --gold-bright: #f3d27a;
  --gold-deep: #8e6424;
  --line: rgba(214, 166, 74, 0.34);
  --white-line: rgba(255, 255, 255, 0.12);
  --green: #6f8a75;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  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(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 46px);
  border-bottom: 1px solid rgba(214, 166, 74, 0.22);
  background: rgba(7, 8, 8, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 72px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  color: var(--gold-bright);
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

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

.social-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-icon:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 210, 122, 0.68);
  background: rgba(214, 166, 74, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn-primary {
  color: #11100d;
  background: linear-gradient(180deg, #f6d987, #c89133);
  box-shadow: 0 14px 34px rgba(214, 166, 74, 0.22);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.btn-dark {
  color: var(--text);
  background: #111314;
  border-color: rgba(214, 166, 74, 0.42);
}

.icon-link,
.round-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.round-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(214, 166, 74, 0.08);
}

.hero {
  position: relative;
  min-height: clamp(590px, 78vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("hero-renobra.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.96) 0%, rgba(7, 8, 8, 0.88) 38%, rgba(7, 8, 8, 0.34) 67%, rgba(7, 8, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 8, 8, 0.96) 0%, rgba(7, 8, 8, 0) 42%);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0;
}

.hero-copy {
  width: min(650px, 100%);
}

.hero-logo {
  width: min(270px, 58vw);
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  content: "";
  background: var(--gold);
}

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

h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--text);
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  min-height: 96px;
  padding: 18px;
  background: rgba(14, 18, 20, 0.9);
}

.metric strong {
  display: block;
  color: var(--gold-bright);
  font-size: 1.35rem;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-ribbon {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #c69237, #f2d381 42%, #bd8730);
  color: #11100d;
}

.service-ribbon .section-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 14px 12px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.ribbon-item svg {
  flex: 0 0 auto;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section.alt {
  background: #0d0f10;
}

.section.light {
  color: #171513;
  background: var(--panel-light);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.light .section-head p,
.light .muted,
.light .feature-text p,
.light .value-card p {
  color: var(--muted-dark);
}

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

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

.card,
.service-card,
.value-card,
.contact-card,
.process-step,
.project-card {
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.service-card,
.value-card,
.contact-card,
.process-step {
  padding: 24px;
}

.service-card {
  min-height: 250px;
}

.service-card h3,
.value-card h3,
.contact-card h3,
.process-step h3,
.project-card h3 {
  margin: 18px 0 10px;
  font-size: 1.12rem;
}

.service-card p,
.value-card p,
.contact-card p,
.process-step p,
.project-card p,
.muted {
  color: var(--muted);
}

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

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--muted);
}

.check-list svg {
  color: var(--gold-bright);
  margin-top: 2px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.02fr);
}

.feature-image {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.feature-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 14px 16px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 8, 8, 0.82);
}

.feature-badge strong {
  display: block;
  color: var(--gold-bright);
}

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

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--white-line);
}

.feature-list-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.feature-list-item p {
  margin: 0;
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("hero-renobra.png");
  background-size: cover;
  background-position: center;
  opacity: 0.62;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.96), rgba(7, 8, 8, 0.74) 48%, rgba(7, 8, 8, 0.26)),
    linear-gradient(0deg, rgba(7, 8, 8, 1), rgba(7, 8, 8, 0) 70%);
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0 56px;
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 6rem);
}

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

.process {
  counter-reset: process;
}

.process-step {
  position: relative;
  min-height: 260px;
}

.process-step::before {
  counter-increment: process;
  content: "0" counter(process);
  display: block;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

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

.project-card {
  overflow: hidden;
  background: #111314;
}

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

.project-card .content {
  padding: 22px;
}

.project-card .tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: #15110a;
  border-radius: 6px;
  background: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cta-band {
  padding: clamp(48px, 7vw, 72px) 0;
  color: #14110c;
  background: linear-gradient(90deg, #c59135, #f1d486 45%, #bd8730);
}

.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  color: #14110c;
}

.cta-band p {
  max-width: 620px;
  margin: 12px 0 0;
  color: #2e2516;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: 28px;
  align-items: start;
}

.contact-card a {
  color: var(--gold-bright);
  font-weight: 800;
}

.contact-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-form h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  padding: 11px 12px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #090a0a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 42px 0;
}

.footer-logo {
  width: 180px;
  margin-bottom: 14px;
}

.footer-col h3 {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.footer-col p,
.footer-col a {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.legal-note {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.9rem;
}

.logo-frame {
  display: grid;
  place-items: center;
  background: #050505;
}

.logo-frame img {
  width: min(84%, 430px);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.light .value-card,
.light .process-step {
  border-color: rgba(20, 17, 12, 0.14);
  background: rgba(255, 255, 255, 0.38);
}

.light .check-list li {
  color: var(--muted-dark);
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(9, 10, 10, 0.98);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 8, 8, 0.97), rgba(7, 8, 8, 0.78) 60%, rgba(7, 8, 8, 0.52)),
      linear-gradient(0deg, rgba(7, 8, 8, 1), rgba(7, 8, 8, 0.08) 60%);
  }

  .service-ribbon .section-inner,
  .grid-3,
  .project-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split.reverse .feature-image {
    order: 2;
  }

  .split.reverse .feature-text {
    order: 1;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand img {
    width: 58px;
    height: 42px;
  }

  .brand span {
    font-size: 0.82rem;
  }

  .site-nav {
    inset: 68px 14px auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 50px 0 60px;
  }

  .hero-logo {
    width: min(220px, 82vw);
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-metrics,
  .service-ribbon .section-inner,
  .grid-3,
  .grid-2,
  .project-grid,
  .footer-inner,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 78px;
  }

  .section-head,
  .cta-band .section-inner,
  .footer-bottom .section-inner {
    align-items: start;
    flex-direction: column;
  }

  .feature-image,
  .feature-image img {
    min-height: 360px;
  }

  .page-hero {
    min-height: 320px;
  }

  .btn {
    width: 100%;
  }
}
