:root {
  --bg: #0e0f11;
  --bg-soft: #17191d;
  --surface: #20242b;
  --line: #313840;
  --text: #f5f7fa;
  --muted: #b9c0cc;
  --primary: #c5884f;
  --primary-dark: #9f6838;
  --success: #42c590;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  --container: min(1140px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top right, #232831 0%, var(--bg) 42%, #0a0b0d 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section h2 {
  margin-top: 0.2rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
}

.section-lead {
  margin: 0;
  max-width: 65ch;
  color: var(--muted);
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--primary);
  color: #111;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1400;
  backdrop-filter: blur(10px);
  background: rgba(8, 8, 10, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  font-size: 0.96rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0.7rem;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
}

.hero {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 2.7vw, 2.25rem);
  align-items: start;
}

.hero-copy h1 {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.hero-text {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.hero-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.78rem 1.15rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #161616;
  box-shadow: 0 8px 24px rgba(197, 136, 79, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.trust-list {
  margin-top: 1.15rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.trust-list li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 0.8rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.trust-list strong {
  color: var(--text);
}

.quote-card {
  background: linear-gradient(170deg, #2a3038, #1b2026);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.5vw, 1.45rem);
}

.quote-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
}

.quote-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.stack-form {
  display: grid;
  gap: 0.7rem;
}

.stack-form label,
.lead-form label {
  display: grid;
  gap: 0.34rem;
  font-size: 0.9rem;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #121519;
  color: var(--text);
  padding: 0.76rem 0.8rem;
  font-family: inherit;
}

select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  border-color: var(--primary);
  outline: 1px solid var(--primary);
  outline-offset: 1px;
}

.estimate-result {
  margin: 0.3rem 0 0;
  min-height: 1.45rem;
  color: var(--success);
  font-weight: 600;
}

.stats {
  padding-top: 1rem;
}

.stats-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
}

.about {
  background: rgba(255, 255, 255, 0.015);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.about-copy p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 65ch;
}

.about-highlights {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 1rem;
}

.about-highlights h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.about-highlights ul {
  margin: 0 0 0.95rem;
  padding-left: 1.15rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.about-copy .highlight-item {
  color: var(--primary);
  padding: 0.5rem 0.75rem;
  background: rgba(197, 136, 79, 0.12);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
  margin: 0.85rem 0;
}

.stat p {
  margin: 0;
  color: var(--muted);
}

.stat-number {
  margin: 0 0 0.2rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
}

.cards-grid {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 1rem;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.04rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.process {
  background: rgba(255, 255, 255, 0.015);
}

.process-grid {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #15191f;
  padding: 1rem;
}

.process-step span {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.86rem;
}

.process-step h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card figcaption {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 0.75rem;
}

.testimonials {
  background: rgba(255, 255, 255, 0.015);
}

.testimonial-slider {
  margin-top: 1.15rem;
  position: relative;
  min-height: 210px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #171b22;
  padding: 1.1rem;
}

.testimonial.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.testimonial p {
  margin: 0 0 0.85rem;
  color: #dce2eb;
}

.testimonial h3 {
  margin: 0;
  font-size: 1rem;
}

.testimonial small {
  color: var(--muted);
}

.slider-controls {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.6rem;
}

.slider-controls button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.52rem 0.8rem;
  cursor: pointer;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: #171b21;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 650;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 140px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  padding: 0 1rem 0.95rem;
}

.contact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.contact-copy p {
  color: var(--muted);
}

.contact-channels {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.channel-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 0.86rem;
  transition: border-color 0.2s ease;
}

.channel-card:hover,
.channel-card:focus-visible {
  border-color: var(--primary);
}

.channel-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.96rem;
}

.channel-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
}

.lead-form {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: #1a1f26;
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.72rem;
}

.lead-form h3 {
  margin: 0 0 0.1rem;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.55rem;
}

.consent input {
  margin-top: 0.15rem;
}

.form-info {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  font-weight: 650;
  color: var(--success);
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(120%);
  transition: transform 0.24s ease;
  background: rgba(13, 14, 17, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem 0.75rem;
  display: flex;
  gap: 0.5rem;
  z-index: 1300;
  width: fit-content;
  max-width: calc(100vw - 1.5rem);
  min-width: 0;
  box-sizing: border-box;
}

.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.2rem;
  background: #0a0b0d;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-grid h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.96rem;
}

.footer-grid p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--primary);
}

.source-note {
  width: var(--container);
  margin: 1rem auto 0;
  color: #8f98a7;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-copy {
    text-align: center;
    display: grid;
    justify-items: center;
  }

  .hero-copy .hero-text {
    max-width: 34ch;
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
    width: 100%;
  }

  .hero-cta .btn {
    min-width: min(100%, 240px);
  }

  .site-nav {
    position: absolute;
    inset: 78px 0 auto 0;
    display: grid;
    gap: 0.15rem;
    padding: 0.55rem 1rem 0.85rem;
    background: rgba(8, 9, 12, 0.97);
    border-bottom: 1px solid var(--line);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.55rem 0.2rem;
    color: var(--text);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .trust-list,
  .cards-grid,
  .gallery-grid,
  .contact-channels,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-list {
    justify-items: center;
    width: 100%;
  }

  .trust-list li {
    width: min(100%, 360px);
    text-align: left;
  }

  .testimonial-slider {
    min-height: 250px;
  }

  .sticky-cta {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-width: none;
    transform: translateY(120%);
    justify-content: center;
  }

  .sticky-cta.is-visible {
    transform: translateY(0);
  }

  .sticky-cta .btn {
    font-size: 0.88rem;
    padding: 0.6rem 0.9rem;
  }
}

@media (max-width: 480px) {
  .sticky-cta {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .sticky-cta .btn {
    flex: 1;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
