@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;1,500&family=Syne:wght@600;700;800&display=swap");

:root {
  --bg-deep: #0b1220;
  --bg-panel: #111b2e;
  --bg-card: #162236;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --line: rgba(245, 158, 11, 0.35);
  --header-h: 76px;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Syne", system-ui, sans-serif;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

a {
  color: var(--amber);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(5%, env(safe-area-inset-left)) 0 max(5%, env(safe-area-inset-right));
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-phone {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--amber);
  white-space: nowrap;
}

.header-phone:hover {
  color: #fde68a;
  text-decoration: underline;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 800;
  color: #fff;
}
.brand span {
  color: var(--amber);
}

.header-pill {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bg-deep);
  background: var(--amber);
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  transform: skewX(-6deg);
}

.hero {
  position: relative;
  padding: 0;
  background: var(--bg-panel);
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    195deg,
    transparent 58%,
    rgba(245, 158, 11, 0.07) 82%,
    rgba(245, 158, 11, 0.14) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: max(5%, env(safe-area-inset-left));
  right: max(5%, env(safe-area-inset-right));
  bottom: 36px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 158, 11, 0.2) 35%,
    rgba(253, 230, 138, 0.55) 50%,
    rgba(245, 158, 11, 0.2) 65%,
    transparent 100%
  );
  opacity: 0.85;
}

.hero__wrap {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem max(5%, env(safe-area-inset-left)) 4.25rem
    max(5%, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  min-height: 280px;
  background: #000 center / cover no-repeat url("../assets/service-hero.png");
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    rgba(245, 158, 11, 0.15) 0%,
    transparent 45%,
    rgba(11, 18, 32, 0.65) 100%
  );
}

.hero__content h1 {
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  margin-bottom: 0.65rem;
}

.hero__content h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 2px;
}

.hero__subtitle {
  font-size: clamp(0.98rem, 2vw, 1.2rem);
  color: var(--muted);
  font-weight: 500;
  max-width: 42ch;
}

.promo-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.promo-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--amber);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem max(5%, env(safe-area-inset-left)) 3.5rem
    max(5%, env(safe-area-inset-right));
}

.section--tight-top {
  padding-top: 1.25rem;
}

.section--stripe {
  background: repeating-linear-gradient(
    -8deg,
    var(--bg-deep),
    var(--bg-deep) 12px,
    rgba(245, 158, 11, 0.04) 12px,
    rgba(245, 158, 11, 0.04) 24px
  );
}

.section__title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.section__lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 1.75rem;
  white-space: pre-line;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--amber);
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(auto, 380px);
  gap: 2.5rem;
  align-items: start;
}

.list-check {
  list-style: none;
  margin-top: 1rem;
}

.list-check li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.list-check li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.tagline-strong {
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 1.12rem;
  color: #fff;
}

.contact-form {
  border-radius: 20px;
  padding: 1.75rem;
  display: grid;
  gap: 0.95rem;
  background: linear-gradient(160deg, #1a2740, #0f172a);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -35px rgba(0, 0, 0, 0.85);
  width: 100%;
  max-width: 400px;
  justify-self: end;
}

.contact-form h2 {
  font-size: 1.3rem;
}

.form-desc {
  font-size: 0.86rem;
  color: var(--muted);
}

.input-wrap {
  display: grid;
  gap: 0.28rem;
}

.contact-form input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 0 1rem;
  font-size: 16px;
  font-family: inherit;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  outline: none;
}

.contact-form input::placeholder {
  color: #64748b;
}

.contact-form input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.contact-form input.invalid {
  border-color: #f87171;
}

.err-msg {
  color: #fca5a5;
  font-size: 0.8rem;
}

.submit-btn {
  appearance: none;
  border: 2px solid var(--amber);
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--bg-deep);
  background: var(--amber);
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease, color 0.2s ease;
}

.submit-btn:hover {
  background: #fde68a;
  border-color: #fde68a;
  color: #0f172a;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  display: none;
  padding: 0.6rem;
  border-radius: 10px;
  font-size: 0.85rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  top: max(1rem, env(safe-area-inset-top));
  width: auto;
  height: auto;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--amber);
  color: var(--bg-deep);
  font-weight: 700;
  border-radius: 8px;
  overflow: visible;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.hero__cta-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-call,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-call {
  background: var(--amber);
  color: var(--bg-deep);
  border: 2px solid var(--amber);
}

.btn-call:hover {
  background: #fde68a;
  border-color: #fde68a;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  text-decoration: none;
}

.section--panel {
  background: var(--bg-panel);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hero + .section.section--panel {
  margin-top: -26px;
  padding-top: 3.25rem;
  border-top: none;
  position: relative;
  z-index: 1;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.intro-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  max-width: 58ch;
}

.intro-copy p strong {
  color: #fff;
}

.inline-highlights {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inline-highlights li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--amber);
}

.detail-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.detail-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.detail-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--amber);
}

.detail-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.steps {
  list-style: none;
  counter-reset: step;
  max-width: 52rem;
}

.steps li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3.5rem;
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--amber);
  color: var(--bg-deep);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  color: #fff;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}

.trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.trust-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.trust-item p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.trust-item strong {
  color: #fff;
}

.section__lead--tight {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.faq {
  max-width: 48rem;
}

.faq-item {
  margin-bottom: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #fff;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-weight: 800;
  color: var(--amber);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer {
  margin-top: auto;
  padding: 2rem max(5%, env(safe-area-inset-right)) 2rem
    max(5%, env(safe-area-inset-left));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: var(--bg-panel);
}

.site-footer--wide {
  text-align: left;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.footer-tag {
  color: var(--amber);
  font-weight: 600;
  margin-top: 0.25rem;
}

.footer-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.site-footer .footer-phone {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.site-footer .footer-phone a {
  color: var(--amber);
}

.footer-copy {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.78rem;
  color: #64748b;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
  }

  .hero::after {
    bottom: 22px;
    left: max(4%, env(safe-area-inset-left));
    right: max(4%, env(safe-area-inset-right));
    opacity: 0.7;
  }

  .hero + .section.section--panel {
    margin-top: -14px;
    padding-top: 2.85rem;
  }

  .hero__wrap {
    grid-template-columns: 1fr;
    padding: 2.25rem max(4%, env(safe-area-inset-left)) 2.5rem
      max(4%, env(safe-area-inset-right));
  }

  .hero__visual {
    min-height: 200px;
    max-height: 280px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .contact-form {
    justify-self: stretch;
    max-width: none;
  }

  .section {
    padding: 2.5rem max(4%, env(safe-area-inset-left)) 2.75rem
      max(4%, env(safe-area-inset-right));
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .header-pill {
    display: none;
  }

  .header-phone {
    font-size: 0.82rem;
  }

  .brand {
    font-size: 1rem;
    line-height: 1.2;
    max-width: 52%;
  }

  .hero__wrap {
    padding-top: 1.5rem;
    padding-bottom: 2.75rem;
  }

  .hero::after {
    bottom: 18px;
  }

  .hero__content h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .btn-call,
  .btn-ghost {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .promo-chip {
    font-size: 0.74rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .detail-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    padding-left: max(4%, env(safe-area-inset-left));
    padding-right: max(4%, env(safe-area-inset-right));
  }

  .submit-btn {
    min-height: 48px;
    font-size: 1.05rem;
  }

  .contact-form input {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    clip-path: none;
  }

  .hero::before,
  .hero::after {
    opacity: 0.35;
  }

  .hero + .section.section--panel {
    margin-top: 0;
    padding-top: 3.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
  }
}
