:root {
  color-scheme: light;
  --ink: #111827;
  --trust: #0f4c81;
  --warning: #f59e0b;
  --alert: #ef4444;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a,
button,
select,
input {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.45);
  outline-offset: 3px;
}

.nav-link {
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  background: var(--warning);
  transition: transform 180ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.85rem 1.2rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

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

.btn-alert {
  color: #fff;
  background: var(--alert);
  box-shadow: 0 18px 35px rgba(239, 68, 68, 0.28);
}

.btn-alert:hover {
  background: #dc2626;
}

.btn-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-secondary {
  color: #0f172a;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-pulse {
  animation: pulseCta 1.8s ease-in-out infinite;
}

.hero-section {
  background:
    linear-gradient(115deg, rgba(17, 24, 39, 0.88), rgba(15, 76, 129, 0.72)),
    url("https://images.unsplash.com/photo-1516715094483-75da7dee9758?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
}

.hero-service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1.45rem;
}

.hero-service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0.6rem 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.hero-service-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fbbf24;
  background: rgba(255, 255, 255, 0.12);
}

.hero-service-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-service-card strong {
  display: grid;
  min-height: 34px;
  place-items: center;
  padding-top: 0.45rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-service-list {
    gap: 0.7rem;
  }

  .hero-service-card strong {
    min-height: 38px;
    font-size: 0.78rem;
  }
}

.hero-card {
  overflow: hidden;
  border-radius: 8px;
}

.call-panel {
  padding: 1.5rem;
}

.phone-hero {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  border-radius: 6px;
  color: #fff;
  background: var(--alert);
  box-shadow: 0 18px 35px rgba(239, 68, 68, 0.28);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 950;
  line-height: 1;
}

.phone-hero:hover {
  transform: translateY(-1px);
  background: #dc2626;
}

.call-proof {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.8rem;
  align-items: start;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.8rem;
  background: #f8fafc;
}

.call-proof span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--trust);
  font-size: 0.85rem;
  font-weight: 950;
}

.call-proof p {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.callback-form {
  border-top: 1px solid #e2e8f0;
  padding: 1rem 1.5rem 1.5rem;
  background: #f8fafc;
}

.form-message {
  margin-top: 0.75rem;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-message.is-success {
  color: #047857;
  background: #ecfdf5;
}

.form-message.is-error {
  color: #b91c1c;
  background: #fef2f2;
}

.form-message.is-loading {
  color: #92400e;
  background: #fef3c7;
}

.field-label {
  display: grid;
  gap: 0.5rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
}

.field-input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.8rem 0.95rem;
  color: #0f172a;
  background: #fff;
  font-weight: 700;
}

.field-input:focus {
  border-color: var(--trust);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12);
}

.metric {
  border-left: 4px solid var(--warning);
  padding: 1rem 1.25rem;
  background: #f8fafc;
}

.metric span {
  display: block;
  color: var(--trust);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.metric p {
  margin-top: 0.55rem;
  color: #475569;
  font-weight: 700;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  text-align: center;
}

.section-heading p {
  color: var(--trust);
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-top: 0.75rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1.08;
}

.service-card,
.step-card,
.review-card,
.reason-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

.service-card {
  display: grid;
  align-content: start;
  text-align: center;
}

.service-photo-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 1.35rem;
}

.service-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
}

.service-photo-card img.service-home-photo {
  object-position: center 30%;
}

.service-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  justify-self: center;
  margin-top: -39px;
  border: 8px solid #fff;
  border-radius: 999px;
  color: var(--trust);
  background: #eff6ff;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.step-card h3,
.review-card h3 {
  color: #0f172a;
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.25;
}

.service-card h3 {
  margin: 0.85rem 1.1rem 0;
  font-size: 1.35rem;
}

.service-card p,
.step-card p,
.review-card p {
  color: #475569;
  line-height: 1.65;
}

.service-card p {
  margin: 0.65rem 1.2rem 0;
}

.service-mini-wrap {
  margin-top: 1.25rem;
}

.service-mini-wrap > p {
  color: #334155;
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-mini-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.service-mini-grid article {
  display: grid;
  gap: 0.35rem;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--warning);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.service-mini-grid span {
  color: #0f172a;
  font-weight: 950;
}

.service-mini-grid small {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}

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

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

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

.reason-card {
  padding: 1.2rem;
}

.reason-card span {
  display: block;
  color: #0f172a;
  font-weight: 950;
}

.reason-card p {
  margin-top: 0.55rem;
  color: #475569;
  line-height: 1.6;
}

.faq-item {
  border-top: 4px solid var(--warning);
  border-radius: 8px;
  padding: 1.35rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.faq-item h3 {
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.25;
}

.faq-item p {
  margin-top: 0.75rem;
  color: #475569;
  line-height: 1.65;
}

.step-card {
  padding: 1.35rem;
}

.step-card span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--trust);
  font-weight: 950;
}

.guarantee-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
}

.guarantee-card span {
  display: block;
  color: var(--warning);
  font-size: 1.45rem;
  font-weight: 950;
}

.guarantee-card p {
  margin-top: 0.7rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.review-card {
  padding: 1.35rem;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-head p {
  display: inline-flex;
  margin-top: 0.35rem;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: var(--trust);
  background: #eff6ff;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-row {
  display: block;
  border-left: 4px solid var(--warning);
  padding: 0.75rem 1rem;
  background: #fff;
  font-weight: 800;
}

.contact-panel {
  max-width: 760px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.35rem;
  background: #fff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.09);
}

.mobile-call-button {
  position: fixed;
  bottom: 1.15rem;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(450px, calc(100% - 2rem));
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 999px;
  padding: 0.65rem 1.35rem 0.65rem 0.8rem;
  transform: translateX(-50%);
  color: #fff;
  background: var(--alert);
  box-shadow: 0 18px 35px rgba(239, 68, 68, 0.34);
  font-weight: 950;
}

.mobile-call-button:hover {
  transform: translateX(-50%) translateY(-1px);
  background: #dc2626;
}

.mobile-call-icon {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  color: var(--alert);
  background: #fff;
}

.mobile-call-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.mobile-call-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.mobile-call-main {
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.mobile-call-phone {
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
}

@keyframes pulseCta {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.48);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
  }
}

@media (min-width: 640px) {
  .mobile-call-button {
    display: none;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero-card {
    margin-bottom: 1rem;
  }

  .btn {
    width: 100%;
    white-space: normal;
  }

}

@media (max-width: 360px) {
  .mobile-call-button {
    gap: 0.75rem;
    min-height: 70px;
    padding-right: 1rem;
  }

  .mobile-call-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .mobile-call-phone {
    font-size: 1.12rem;
  }
}
