:root {
  --black: #090a0c;
  --black-2: #111317;
  --dark: #1b2027;
  --gray: #68717d;
  --line: #dde3ea;
  --soft: #f5f6f8;
  --white: #ffffff;
  --yellow: #f2b824;
  --yellow-2: #ffd45c;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(9, 10, 12, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px clamp(18px, 4vw, 64px);
  color: var(--white);
  background: rgba(9, 10, 12, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--black);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  border-radius: var(--radius);
  font-size: 1.35rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.92rem;
  font-weight: 800;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--yellow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(80px, 12vw, 150px) clamp(18px, 6vw, 84px);
  color: var(--white);
  background: var(--black);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center top;
  opacity: 1;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0.9), rgba(9, 10, 12, 0.6) 38%, rgba(9, 10, 12, 0.08) 72%, rgba(9, 10, 12, 0.02)),
    linear-gradient(0deg, rgba(9, 10, 12, 0.72), rgba(9, 10, 12, 0.04) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 12px;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.hero-lead {
  max-width: 820px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 800;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  box-shadow: 0 18px 40px rgba(242, 184, 36, 0.28);
}

.btn-secondary {
  color: var(--dark);
  background: #eef2f6;
  border: 1px solid #cbd3dc;
}

.btn-full {
  width: 100%;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--white);
  background: var(--black-2);
}

.quick-strip div {
  padding: 22px clamp(18px, 3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  color: var(--yellow);
  font-size: 1.22rem;
}

.quick-strip span {
  color: rgba(255, 255, 255, 0.68);
}

.business-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 52px) clamp(18px, 5vw, 76px);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 0%, rgba(242, 184, 36, 0.22), transparent 30%),
    linear-gradient(135deg, #0d0f13, #1f242c);
  border-top: 1px solid rgba(242, 184, 36, 0.18);
  border-bottom: 1px solid rgba(242, 184, 36, 0.18);
}

.business-card h2 {
  max-width: 900px;
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 3rem);
}

.business-card p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(18px, 5vw, 76px);
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-head {
  max-width: 860px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-head.centered {
  max-width: none;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  max-width: 680px;
  color: var(--gray);
  font-size: 1.08rem;
}

.section-dark .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.problem-grid button {
  min-height: 84px;
  padding: 17px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(9, 10, 12, 0.06);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.problem-grid button:hover {
  transform: translateY(-4px);
  background: #fff9e7;
  border-color: rgba(242, 184, 36, 0.78);
}

.problem-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 10, 12, 0.72);
  backdrop-filter: blur(8px);
}

.problem-modal.is-open {
  display: flex;
}

.problem-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  color: var(--dark);
  background: var(--white);
  border: 1px solid rgba(242, 184, 36, 0.34);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.problem-dialog h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.selected-problem {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 12px;
  color: var(--black);
  background: #fff1bd;
  border: 1px solid rgba(242, 184, 36, 0.5);
  border-radius: var(--radius);
  font-weight: 900;
}

.quote-form.compact {
  padding: 0;
  box-shadow: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(9, 10, 12, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--black);
}

.service-card div {
  padding: 20px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--gray);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.diagnostic-grid article {
  overflow: hidden;
  background: var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.diagnostic-grid img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.diagnostic-grid span {
  display: block;
  padding: 16px;
  color: var(--white);
  font-weight: 900;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.work-gallery figure {
  position: relative;
  min-height: clamp(320px, 38vw, 560px);
  margin: 0;
  overflow: hidden;
  background: #14171c;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.work-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
  font-weight: 900;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 570px);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 184, 36, 0.18), transparent 32%),
    linear-gradient(135deg, #090a0c, #242a33);
}

.quote-copy {
  position: sticky;
  top: 105px;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.quote-copy strong {
  display: inline-flex;
  padding: 10px 12px;
  color: var(--black);
  background: var(--yellow);
  border-radius: var(--radius);
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--dark);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.location-box {
  display: grid;
  gap: 8px;
}

.location-status {
  margin: 0;
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 700;
}

.location-status.is-ok {
  color: #0f8f43;
}

.location-status.is-error {
  color: #b42318;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd3dc;
  border-radius: var(--radius);
  padding: 13px 12px;
  color: var(--dark);
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--yellow);
  outline: 3px solid rgba(242, 184, 36, 0.25);
}

.form-note {
  margin: 0;
  color: var(--gray);
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px 13px 16px;
  color: var(--white);
  background: linear-gradient(135deg, #18b957, #0f8f43);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(17, 148, 71, 0.45);
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow: 0 22px 54px rgba(17, 148, 71, 0.56);
}

.floating-whatsapp::before {
  content: "";
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.7 12.7 0 0 0 5.06 22.3L3.2 29l6.86-1.8A12.69 12.69 0 1 0 16.02 3.2Zm0 2.28a10.4 10.4 0 0 1 8.82 15.94 10.4 10.4 0 0 1-13.98 3.54l-.49-.29-4.08 1.07 1.09-3.98-.32-.52A10.4 10.4 0 0 1 16.02 5.48Zm-4.6 5.45c-.25 0-.65.1-.99.47-.34.37-1.3 1.27-1.3 3.1 0 1.83 1.33 3.6 1.51 3.85.19.25 2.57 4.12 6.36 5.61 3.15 1.24 3.8.99 4.48.93.69-.06 2.22-.91 2.53-1.79.31-.88.31-1.63.22-1.79-.09-.16-.34-.25-.72-.44-.37-.19-2.22-1.1-2.57-1.22-.34-.12-.59-.19-.84.19-.25.37-.97 1.22-1.19 1.47-.22.25-.44.28-.81.09-.37-.19-1.58-.58-3.01-1.86-1.11-.99-1.86-2.21-2.08-2.58-.22-.37-.02-.57.16-.76.17-.17.37-.44.56-.65.19-.22.25-.37.37-.62.12-.25.06-.47-.03-.65-.09-.19-.84-2.02-1.15-2.77-.3-.72-.61-.62-.84-.63h-.72Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.7 12.7 0 0 0 5.06 22.3L3.2 29l6.86-1.8A12.69 12.69 0 1 0 16.02 3.2Zm0 2.28a10.4 10.4 0 0 1 8.82 15.94 10.4 10.4 0 0 1-13.98 3.54l-.49-.29-4.08 1.07 1.09-3.98-.32-.52A10.4 10.4 0 0 1 16.02 5.48Zm-4.6 5.45c-.25 0-.65.1-.99.47-.34.37-1.3 1.27-1.3 3.1 0 1.83 1.33 3.6 1.51 3.85.19.25 2.57 4.12 6.36 5.61 3.15 1.24 3.8.99 4.48.93.69-.06 2.22-.91 2.53-1.79.31-.88.31-1.63.22-1.79-.09-.16-.34-.25-.72-.44-.37-.19-2.22-1.1-2.57-1.22-.34-.12-.59-.19-.84.19-.25.37-.97 1.22-1.19 1.47-.22.25-.44.28-.81.09-.37-.19-1.58-.58-3.01-1.86-1.11-.99-1.86-2.21-2.08-2.58-.22-.37-.02-.57.16-.76.17-.17.37-.44.56-.65.19-.22.25-.37.37-.62.12-.25.06-.47-.03-.65-.09-.19-.84-2.02-1.15-2.77-.3-.72-.61-.62-.84-.63h-.72Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.72);
  background: #060708;
}

.site-footer strong {
  color: var(--white);
}

@media (max-width: 1100px) {
  .problem-grid,
  .service-grid,
  .diagnostic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: var(--black-2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .quick-strip,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .business-card {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand strong {
    font-size: 0.84rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 680px;
    padding-top: 78px;
  }

  .hero-image {
    object-fit: cover;
    object-position: center top;
    opacity: 1;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9, 10, 12, 0.86), rgba(9, 10, 12, 0.18)),
      linear-gradient(90deg, rgba(9, 10, 12, 0.78), rgba(9, 10, 12, 0.16));
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.55rem);
  }

  .btn,
  .problem-grid,
  .service-grid,
  .diagnostic-grid {
    width: 100%;
  }

  .problem-grid,
  .service-grid,
  .diagnostic-grid,
  .address-grid,
  .work-gallery {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
  }
}
