:root {
  --red: #b32025;
  --red-dark: #8e181c;
  --charcoal: #101010;
  --charcoal-soft: #181818;
  --sand: #f5f1ea;
  --stone: #e5ddd0;
  --text: #1f1f1f;
  --muted: #666;
  --white: #fff;
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.1);
  --radius: 22px;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

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

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title,
.success-title {
  margin: 0 0 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.section-copy,
.success-copy {
  margin: 0;
  max-width: 720px;
  font-size: 17px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(179, 32, 37, 0.24);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 16, 16, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  color: var(--white);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.phone-link:hover {
  color: var(--white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 74px);
  padding: 72px 0 52px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 30px;
}

.hero-title {
  margin: 0 0 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 8vw, 122px);
  line-height: 0.88;
}

.hero-title em {
  font-style: normal;
  color: #ffb2a8;
}

.hero-text {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pill.dark {
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  justify-self: end;
  width: min(100%, 360px);
  padding: 24px;
  border-radius: 24px;
  background: rgba(16, 16, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-card .small {
  margin-bottom: 10px;
  color: #ffb2a8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.05;
}

.hero-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.trust-bar {
  background: var(--sand);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 20px 0;
}

.trust-item {
  padding: 14px 12px;
  border: 1px solid var(--stone);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-grid,
.projects-grid,
.process-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-card,
.project-card,
.step-card,
.form-card,
.success-card {
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 24px;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fde8e8;
  color: var(--red);
  font-size: 22px;
}

.service-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service-card p,
.step-card p,
.project-info span,
.gallery-note,
.form-note,
.footer-links,
.success-copy {
  color: var(--muted);
}

.service-card p,
.step-card p,
.project-info span,
.gallery-note {
  margin: 0;
  font-size: 15px;
}

.gallery-section {
  background: linear-gradient(180deg, #faf7f2, #f3ede5);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.gallery-note {
  max-width: 460px;
}

.project-card,
.step-card {
  overflow: hidden;
}

.project-card img,
.step-card img {
  width: 100%;
  object-fit: cover;
  background: #ddd;
}

.project-card img {
  aspect-ratio: 4 / 3;
}

.step-card img {
  height: 220px;
}

.project-info,
.step-body {
  padding: 16px 18px 18px;
}

.project-info strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.estimate-section {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
    linear-gradient(135deg, #251616, #111111);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.estimate-copy {
  color: rgba(255, 255, 255, 0.76);
}

.estimate-pills {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.estimate-pills .pill {
  width: max-content;
}

.form-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.field label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.field select option {
  color: var(--text);
}

.submit-btn {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.form-note a {
  color: var(--white);
  text-decoration: underline;
}

.footer {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
  padding: 30px 0;
}

.footer-logo {
  margin-bottom: 8px;
}

.footer h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-bottom {
  padding: 14px 0 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: none;
  gap: 10px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  background: rgba(17, 17, 17, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.mobile-bar .btn {
  flex: 1;
  min-height: 50px;
  padding: 0 12px;
  font-size: 13px;
}

.success-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
  background: linear-gradient(180deg, #faf7f2, #f1ebe2);
}

.success-card {
  width: min(720px, calc(100% - 32px));
  padding: 36px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .hero-content,
  .estimate-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-card {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .desktop-btn {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding: 48px 0 36px;
  }

  .trust-grid,
  .services-grid,
  .projects-grid,
  .process-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-head {
    flex-direction: column;
    align-items: start;
  }

  .mobile-bar {
    display: flex;
  }

  .footer-bottom {
    padding-bottom: 96px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 70px 0;
  }

  .hero-actions,
  .success-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-text,
  .section-copy,
  .success-copy {
    font-size: 16px;
  }
}
