:root {
  --bg: #0f0f10;
  --bg-soft: #1b1b1d;
  --text: #ffffff;
  --muted: #d5d5d8;
  --primary: #d61f2c;
  --primary-dark: #b61622;
  --light: #f5f5f7;
  --card: #222226;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: var(--bg);
}

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

.section-title {
  margin: 0 0 1.8rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.2;
}

.section-intro {
  margin: -0.5rem 0 1.8rem;
  max-width: 760px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(14, 14, 15, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.is-sticky {
  box-shadow: var(--shadow);
  background: rgba(8, 8, 9, 0.98);
}

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

.brand {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1.15rem;
}

.brand span {
  color: var(--primary);
}

.nav {
  position: fixed;
  inset: 74px 0 auto 0;
  background: #101013;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 1rem 1.2rem;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.nav a {
  padding: 0.55rem 0.45rem;
  border-radius: 10px;
  color: #fff;
}

.nav a:hover {
  background: rgba(214, 31, 44, 0.16);
}

.nav-phone {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 8, 9, 0.42), rgba(8, 8, 9, 0.28));
  z-index: 0;
}

.hero-home .hero-bg {
  background:
    linear-gradient(100deg, rgba(8, 8, 9, 0.42), rgba(8, 8, 9, 0.28)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
}

.hero-subpage .hero-bg {
  background:
    linear-gradient(100deg, rgba(8, 8, 9, 0.44), rgba(8, 8, 9, 0.3)),
    url("https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-grid-wide {
  grid-template-columns: 1fr;
}

.eyebrow {
  color: #f1a4aa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  font-weight: 700;
  font-size: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin: 0;
  max-width: 18ch;
}

.lead {
  color: var(--muted);
  margin: 0.9rem 0 1.4rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.82rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-light {
  background: #fff;
  color: #7e1118;
}

.btn-light:hover {
  background: #f2f2f2;
}

.hero-phone {
  margin: 0;
  font-size: 1.04rem;
}

.hero-phone a {
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.services-grid,
.reasons-grid,
.gallery-grid,
.process-steps {
  display: grid;
  gap: 1rem;
}

.card,
.reason,
.step {
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.section-light .card {
  background: #fff;
}

.section-dark .reason,
.section-dark .step {
  background: var(--bg-soft);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(214, 31, 44, 0.08);
  display: grid;
  place-content: center;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.focus-section {
  padding-top: 3.2rem;
}

.focus-grid {
  display: grid;
  gap: 0.8rem;
}

.focus-item {
  background: linear-gradient(180deg, #ffffff, #f5f5f7);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #e7e7ec;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.focus-item:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 31, 44, 0.35);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.focus-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-grid;
  place-content: center;
  background: rgba(214, 31, 44, 0.12);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.focus-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.focus-item p {
  margin: 0;
  color: #4f5058;
  font-size: 0.95rem;
  line-height: 1.45;
}

.card h3,
.reason h3,
.step h3 {
  margin: 0.6rem 0 0.5rem;
}

.card p,
.reason p,
.step p {
  margin: 0;
}

.gallery-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.cta-band {
  background: linear-gradient(115deg, #cf1f2b, #8f0f18);
  text-align: center;
}

.cta-band h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  gap: 1.6rem;
}

.contact-intro {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  color: #50515b;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff, #f4f4f7);
  border: 1px solid #e6e6eb;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #ececf0;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-label {
  font-weight: 700;
  color: #6c6d76;
}

.contact-value {
  font-weight: 700;
  color: #17171a;
  text-align: right;
}

.contact-link {
  color: #22232a;
  border-bottom: 1px solid rgba(34, 35, 42, 0.35);
}

.contact-row-phone {
  background: rgba(214, 31, 44, 0.08);
}

.contact-link-strong {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.contact-form h3 {
  margin-top: 0;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 0.7rem;
  margin-bottom: 0.3rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(214, 31, 44, 0.2);
}

.error {
  color: #bf1420;
  min-height: 1rem;
  display: block;
  margin-bottom: 0.65rem;
}

.form-note {
  margin-bottom: 0;
  font-weight: 700;
}

.footer {
  background: radial-gradient(circle at 10% 10%, #17171a, #0b0b0c 45%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.2rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-brand p {
  margin: 0.25rem 0;
  color: #cbccd4;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.footer-badges span {
  font-size: 0.8rem;
  color: #ebebef;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.5rem;
}

.footer-logo-text {
  font-size: 1.08rem;
  font-weight: 700;
  color: #f4f4f6;
}

.footer-logo-text strong {
  color: #ff5c68;
}

.footer-contact a {
  color: #fff;
  font-weight: 700;
}

.footer-contact h4,
.footer-links h4 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #f2f2f5;
}

.footer a {
  display: block;
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #d7d8de;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-top: 0.9rem;
}

.footer-bottom-wrap p,
.footer-bottom-wrap a {
  margin: 0;
  color: #b9bac4;
  font-size: 0.9rem;
}

.footer-bottom-wrap a {
  color: #e7e7ec;
  font-weight: 700;
}

.subpage-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.subpage-overview p {
  margin: 0 auto 1rem;
  max-width: 78ch;
  color: #444650;
}

.subpage-overview p:last-child {
  margin-bottom: 0;
}

.subpage-services-grid {
  margin-top: 0.8rem;
}

.subpage-extra .reason {
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.subpage-extra .reason:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 31, 44, 0.55);
}

.mobile-call {
  position: fixed;
  bottom: 16px;
  right: 14px;
  z-index: 990;
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.mobile-call:hover {
  background: var(--primary-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 700px) {
  .services-grid,
  .reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-grid,
  .hero-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border-top: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
  }

  .nav a {
    color: #fff;
    padding: 0.45rem 0.6rem;
  }

  .nav-phone {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    background: var(--primary);
    padding: 0.58rem 0.9rem;
    border-radius: 10px;
  }

  .nav-phone:hover {
    background: var(--primary-dark);
  }

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

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

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

  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }

  .contact-row {
    padding: 0.92rem 1.1rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .mobile-call {
    display: none;
  }
}
