.intent-section { background: #fff; }
.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.intent-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
  color: var(--black);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.intent-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #171717);
  content: "";
}
.intent-card:hover { transform: translateY(-4px); border-color: rgba(181,18,27,.32); box-shadow: 0 18px 45px rgba(20,20,20,.1); }
.intent-card strong { display: block; font-size: 23px; line-height: 1.12; }
.intent-card span { color: var(--muted); }
.intent-card em { color: var(--red); font-style: normal; font-weight: 900; }
.intent-card.featured {
  color: #fff;
  background: linear-gradient(135deg, var(--black), var(--red-dark));
  border-color: rgba(255,255,255,.18);
}
.intent-card.featured span { color: rgba(255,255,255,.78); }
.intent-card.featured em { color: #ffd8dc; }

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 5vw, 46px);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 26%),
    linear-gradient(135deg, #171717, #2b0c10 62%, #6f0810);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-panel p { color: rgba(255,255,255,.78); }
.trust-panel .eyebrow { color: #ffccd0; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.proof-card {
  min-height: 145px;
  padding: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
}
.proof-card strong { display: block; margin-bottom: 8px; font-size: 20px; line-height: 1.18; }
.proof-card span { color: rgba(255,255,255,.74); }

.search-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.search-cloud a {
  padding: 10px 13px;
  color: var(--red-dark);
  background: var(--red-soft);
  border: 1px solid rgba(181,18,27,.14);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.search-cloud a:hover { background: #fff; border-color: rgba(181,18,27,.32); }

.faq-mini { margin-top: 34px; }
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--black), var(--red-dark));
  border-radius: var(--radius);
}
.inline-cta p { margin-bottom: 0; color: rgba(255,255,255,.78); }

/* Visual polish for the first screen and conversion blocks. */
.hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.2), transparent 24%),
    radial-gradient(circle at 12% 88%, rgba(181,18,27,.72), transparent 32%),
    linear-gradient(135deg, #101010 0%, #231013 42%, #8f0d15 100%);
}
.hero-content h1 {
  text-wrap: balance;
  text-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.hero-card-photo {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 34px 90px rgba(0,0,0,.32), 0 0 0 10px rgba(255,255,255,.08);
  transform: rotate(.8deg);
}
.hero-card-photo::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,0) 48%, rgba(181,18,27,.28));
  border-radius: 16px;
  content: "";
}
.portrait-frame { border-radius: var(--radius) var(--radius) 0 0; }
.portrait-frame img {
  filter: saturate(1.03) contrast(1.03);
  object-position: center top;
}
.hero-card-body { background: linear-gradient(180deg, #fff, #fff7f7); }
.rate-board {
  color: var(--black);
  border-color: rgba(181,18,27,.2);
  background: #fff;
}
.scenario-card, .card, .price-item, .notice, .calc-card { box-shadow: 0 18px 55px rgba(20,20,20,.06); }
.scenario-card:hover, .card:hover, .price-item:hover {
  transform: translateY(-3px);
  border-color: rgba(181,18,27,.24);
  box-shadow: 0 24px 70px rgba(20,20,20,.1);
}
.card, .price-item, .scenario-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.text-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(181,18,27,.35);
  text-underline-offset: 5px;
}
.text-button:hover { color: var(--red); }
.notice {
  position: relative;
  overflow: hidden;
  border-color: rgba(181,18,27,.2);
}
.notice::after {
  position: absolute;
  right: -48px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(181,18,27,.16);
  border-radius: 50%;
  content: "";
}
.cta-section {
  background:
    radial-gradient(circle at 78% 30%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, #151515, #2b0c10 58%, #8f0d15);
}
.cta-section .btn-secondary { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); }

.sticky-contacts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(232,233,238,.9);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(20,20,20,.18);
  backdrop-filter: blur(14px);
}
.sticky-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: var(--black);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.sticky-call { color: #fff; background: var(--red); border-color: var(--red); }
.sticky-action:hover { transform: translateY(-1px); }

.site-footer {
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 64px);
  padding-top: clamp(42px, 6vw, 70px);
  padding-bottom: 30px;
  background:
    radial-gradient(circle at 90% 0, rgba(181,18,27,.28), transparent 28%),
    linear-gradient(135deg, #121212, #1c0b0d);
}
.footer-brand p { max-width: 320px; margin: 10px 0 18px; }
.footer-phone {
  display: inline-flex;
  padding: 11px 14px;
  color: #fff;
  background: var(--red);
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  gap: 22px;
}
.footer-col { display: grid; align-content: start; gap: 8px; }
.footer-col strong { margin-bottom: 6px; font-size: 15px; }
.footer-col a {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }

.breadcrumbs {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 28px) 0;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.breadcrumbs li + li::before {
  margin-right: 8px;
  color: rgba(181,18,27,.55);
  content: "/";
}
.breadcrumbs a {
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs [aria-current="page"] {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1120px) and (min-width: 761px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
}

@media (max-width: 1040px) {
  .intent-grid, .trust-panel { grid-template-columns: 1fr; }
  .hero-card-photo { width: min(100%, 520px); margin-inline: auto; }
  .site-footer, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  body {
    min-width: 0;
    overflow-x: hidden;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  main { min-width: 0; }
  .site-header {
    gap: 10px;
    padding: 10px 14px;
    padding-top: calc(10px + env(safe-area-inset-top));
  }
  .brand { min-width: 0; gap: 9px; }
  .brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
  .brand > span:last-child { min-width: 0; }
  .brand strong {
    max-width: 190px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand small { font-size: 12px; line-height: 1.2; }
  .nav-toggle { min-height: 42px; flex: 0 0 auto; padding: 8px 11px; }
  .main-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 10px;
    left: 10px;
    max-height: calc(100svh - 92px - env(safe-area-inset-top));
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 2px;
    padding: 10px;
  }
  .main-nav a { padding: 11px 10px; border-radius: 6px; }
  .main-nav a:active { background: var(--bg); }
  .nav-phone { margin-top: 4px; text-align: center; }

  .section { padding: 44px 16px; }
  .compact-section { padding-top: 24px; padding-bottom: 24px; }
  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 36px;
  }
  .hero::after { right: -210px; bottom: -220px; }
  .hero-content h1,
  .page-hero h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }
  h2 { font-size: clamp(27px, 8vw, 36px); }
  h3 { font-size: 20px; }
  .lead { font-size: 18px; line-height: 1.48; }
  .eyebrow { font-size: 12px; overflow-wrap: anywhere; }
  .page-hero { padding-top: 40px; padding-bottom: 38px; }
  .breadcrumbs {
    padding: 12px 16px 0;
    overflow-wrap: anywhere;
    font-size: 13px;
  }
  .breadcrumbs ol { gap: 6px; }
  .breadcrumbs [aria-current="page"] { white-space: normal; }

  .hero-actions, .cta-actions {
    width: 100%;
    gap: 10px;
    margin: 22px 0;
  }
  .btn { width: 100%; min-height: 50px; padding-inline: 16px; white-space: normal; text-align: center; }
  .trust-list { gap: 8px; }
  .trust-list li { width: 100%; border-radius: var(--radius); font-size: 14px; }
  .hero-stats { gap: 8px; }
  .hero-stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 13px; }
  .hero-stat strong { font-size: 22px; white-space: nowrap; }
  .hero-stat span { font-size: 12px; }

  .intent-grid, .proof-grid, .cards-4, .cards-3, .steps, .scenario-grid, .calc-grid { grid-template-columns: 1fr; }
  .intent-card, .card { min-height: 0; padding: 20px; }
  .proof-card { min-height: 0; }
  .search-cloud { gap: 8px; }
  .search-cloud a { max-width: 100%; padding: 9px 11px; overflow-wrap: anywhere; }
  .inline-cta { flex-direction: column; align-items: stretch; padding: 20px; }

  .hero-card-photo {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    transform: none;
    box-shadow: 0 18px 44px rgba(0,0,0,.22);
  }
  .hero-card-photo::before { display: none; }
  .portrait-frame img { max-height: none; aspect-ratio: 4 / 5; object-position: center top; }
  .portrait-frame figcaption { right: 16px; bottom: 15px; left: 16px; }
  .portrait-frame figcaption strong { font-size: 23px; }
  .hero-card-body { padding: 20px; }
  .hero-card-body h2 { font-size: 28px; }
  .mini-quote { padding: 14px; }
  .rate-board strong { font-size: 27px; overflow-wrap: anywhere; }

  .notice, .cta-section, .site-footer { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .notice, .trust-panel, .calc-card, .question-card, .price-item, .scenario-card { padding: 20px; }
  .notice .btn { position: relative; z-index: 1; }
  .cta-actions { align-items: stretch; }
  .price-item { grid-template-columns: 1fr; }
  .price-item strong { white-space: normal; }
  .calc-section { align-items: stretch; }
  .calc-card { min-width: 0; }
  .calc-field input { min-width: 0; font-size: 16px; }
  .calc-result { padding: 17px; }
  .calc-result strong { font-size: 31px; overflow-wrap: anywhere; }
  .content-layout { gap: 22px; }
  .content-main, .sidebar { min-width: 0; }

  .site-footer { gap: 30px; padding: 42px 16px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col { gap: 10px; }
  .footer-col a { display: inline-flex; min-height: 28px; align-items: center; }
  .disclaimer { overflow-wrap: anywhere; }

  .sticky-contacts {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, .7fr);
    gap: 6px;
    padding: 6px;
    border-radius: var(--radius);
  }
  .sticky-action {
    min-width: 0;
    min-height: 48px;
    padding: 8px 6px;
    overflow: hidden;
    border-radius: var(--radius);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .brand strong { max-width: 145px; }
  .brand small { display: none; }
  .hero-content h1, .page-hero h1 { font-size: 33px; }
  .section { padding-right: 14px; padding-left: 14px; }
  .sticky-action { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
