:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #15171a;
  /* --muted: #636b74; */
  --muted: #C9CED6;
  --line: rgba(21, 23, 26, 0.12);
  --brand: #d99a27;
  --brand-dark: #8d5f10;
  /* --dark: #111418; */
  --dark: #05080A;
  --dark-soft: #1b2026;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(17, 20, 24, 0.12);
  --container: min(1120px, calc(100vw - 32px));
  --dark: #05080A;
--header-dark: #1F1F1E;
--gold: #E2A11A;
--gold-hover: #F2B52B;
--green: #4CC24A;
--white: #FFFFFF;
--muted: #C9CED6;
}

* { 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;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

p { margin: 0 0 1rem; color: var(--muted); }

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.04em; }

/* h1 { font-size: clamp(2.7rem, 8vw, 6rem); } */
/* h2 { font-size: clamp(2rem, 4vw, 3.6rem); } */
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.align-center { align-items: center; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(0,0,0, 0.86);
  /* background: rgba(247, 246, 242, 0.86); */
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 112px; height: auto; }

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: var(--muted);
}
.primary-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(217, 154, 39, 0.14);
  color: var(--ink);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-link { font-weight: 800; white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 10px;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #111;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(217, 154, 39, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(217, 154, 39, 0.38); }
.btn-small { min-height: 42px; padding: 11px 17px; font-size: .9rem; }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: white;
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: none;
}
.btn-full { width: 100%; }
.text-link { font-weight: 900; color: var(--brand-dark); }
.text-link::after { content: " →"; }

.hero { min-height: 78vh; background: var(--dark); color: white; position: relative; }
.hero-slider { position: relative; min-height: 78vh; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-image { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,20,24,.86), rgba(17,20,24,.54) 45%, rgba(17,20,24,.18));
}
.hero-content {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 110px;
  max-width: 850px;
}
.hero-content p { color: rgba(255,255,255,.82); }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.55rem); max-width: 760px; margin-top: 24px; }
.hero-supporting { font-size: 1.08rem; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.center-actions { justify-content: center; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.slider-control.prev { left: 22px; }
.slider-control.next { right: 22px; }
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.slider-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  cursor: pointer;
}
.slider-dots button.is-active { background: var(--brand); }

.section { padding: clamp(64px, 8vw, 112px) 0; }
.light-section { background: #fffaf0; }
.dark-section { background: var(--dark); color: white; }
.dark-section p { color: rgba(255,255,255,.74); }

.trust-bar { padding: 28px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.three-stats { grid-template-columns: repeat(3, 1fr); }
.trust-grid div { padding: 22px; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; }
.trust-grid span { color: var(--muted); font-weight: 700; }

.split-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(32px, 6vw, 72px); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-heading { margin-bottom: 34px; }

.card-grid { display: grid; gap: 22px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(17, 20, 24, .06);
  overflow: hidden;
}
.card-link { display: block; padding: 28px; min-height: 100%; }
.service-icon-wrap {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 20px;
  background: rgba(217,154,39,.13);
}
.service-icon { width: 38px; height: 38px; object-fit: contain; }
.service-card h3 { margin-bottom: 14px; }
.service-card:hover,
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card,
.portfolio-card { transition: transform .2s ease, box-shadow .2s ease; }

.portfolio-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.portfolio-card-content { padding: 22px; }
.portfolio-card-content h3 { margin-bottom: 12px; }

.feature-list { display: grid; gap: 18px; }
.feature-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: var(--dark-soft);
}
.feature-list span { color: var(--brand); font-weight: 900; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.testimonial-card { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.testimonial-card blockquote { margin: 0 0 20px; color: var(--muted); }
.testimonial-card figcaption { display: grid; gap: 4px; }
.testimonial-card span { color: var(--muted); }

.faq-list { display: grid; gap: 14px; margin-top: 24px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
summary { cursor: pointer; font-weight: 900; }
details p { margin-top: 14px; }

.cta-section { padding-top: 0; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: calc(var(--radius) + 10px);
  background: var(--ink);
  color: white;
  overflow: hidden;
  position: relative;
}
.cta-card p { color: rgba(255,255,255,.72); }

.page-hero {
  padding: clamp(84px, 10vw, 140px) 0 clamp(58px, 8vw, 96px);
  background: var(--dark);
  color: white;
}
.page-hero p { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 780px; }
.compact-hero { text-align: center; }
.compact-hero .container { max-width: 860px; }
.service-hero,
.portfolio-detail-hero { text-align: left; }
.page-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}

.rich-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
}
.rich-content h2 { margin-bottom: 22px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.rich-content h2:not(:first-child) { margin-top: 36px; }
.about-content-section .rich-content p:last-child { margin-bottom: 0; }
.side-card {
  position: sticky;
  top: 106px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 36px rgba(17,20,24,.06);
}
.side-card h2 { font-size: 1.5rem; margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.check-list li { color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--brand-dark); font-weight: 900; margin-right: 10px; }

.category-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 900;
  color: var(--muted);
}
.filter-pill.is-active,
.filter-pill:hover { color: var(--ink); background: rgba(217,154,39,.14); border-color: rgba(217,154,39,.4); }

.project-meta { display: grid; gap: 12px; margin-top: 24px; }
.project-meta div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.project-meta dt { color: rgba(255,255,255,.56); font-weight: 800; }
.project-meta dd { margin: 0; color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

.contact-grid { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.contact-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}
.contact-panel h2 { font-size: 1.7rem; margin-bottom: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 4px; }
.contact-list strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-dark); }
.form-row { margin-bottom: 18px; }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { display: grid; gap: 8px; font-weight: 800; }
.form-control,
input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
.errorlist { color: #a51e1e; margin: 6px 0 0; padding-left: 18px; font-weight: 700; }
.messages { padding-top: 20px; }
.message { padding: 14px 18px; border-radius: 14px; background: #eaf7ef; color: #1f6b35; font-weight: 800; }

.site-footer { background: var(--dark); color: white; padding: 62px 0 28px; }
.site-footer p,
.site-footer li { color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 36px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-grid h2 { font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .92rem; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-toggle { display: block; }
  .primary-nav,
  .header-actions { display: none; }
  .primary-nav.is-open {
    display: grid;
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .hero-content { padding-right: 52px; }
  .trust-grid,
  .three-stats,
  .service-grid,
  .portfolio-grid,
  .testimonial-grid,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid,
  .content-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

@media (max-width: 640px) {
  :root { --container: min(100vw - 22px, 1120px); }
  .hero-slider,
  .hero-content { min-height: 720px; }
  .hero-content { padding-right: 0; }
  .slider-control { display: none; }
  .trust-grid,
  .three-stats,
  .service-grid,
  .portfolio-grid,
  .testimonial-grid,
  .gallery-grid,
  .two-cols { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid div:last-child { border-bottom: 0; }
  .section-heading-row,
  .cta-card,
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .project-meta div { grid-template-columns: 1fr; gap: 2px; }
}
