/* Landing page — Ads CRO layout (mobile-first) */

body.is-lp {
  padding-bottom: 0;
}

body.is-lp.has-sticky-cta {
  padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px));
}

/* Slim Ads header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.lp-header__inner {
  width: var(--container);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-nav a {
  text-decoration: none;
  color: var(--color-slate);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.lp-nav a:hover {
  color: var(--color-sky);
  background: var(--color-sky-soft);
}

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-header__phone {
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
}

.lp-header__phone:hover {
  color: var(--color-sky);
}

.lp-nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .lp-nav {
    display: none;
  }

  .lp-header__phone {
    font-size: 0.92rem;
  }

  .lp-header .btn--primary {
    display: none;
  }
}

/* Hero with optional form column */
.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-navy);
  color: #fff;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
}

.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.72) 42%, rgba(10, 22, 40, 0.45) 100%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.15), rgba(10, 22, 40, 0.7));
}

.lp-hero__grid {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.lp-hero h1 {
  color: #fff;
  max-width: 16ch;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.lp-hero .lede {
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

.lp-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-trust-points li {
  margin: 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.lp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lp-hero__ctas .btn--primary {
  min-width: 10rem;
}

.lp-form-card {
  background: #fff;
  color: var(--color-slate);
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.lp-form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.lp-form-card .form__hint {
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .lp-hero {
    min-height: 0;
    align-items: start;
  }

  .lp-hero__grid {
    grid-template-columns: 1fr;
    padding-block: 2.75rem 2rem;
  }

  .lp-hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .lp-form-card {
    margin-top: 0.25rem;
  }
}

/* Compact trust strip — only rendered items */
.lp-trust-strip {
  padding-block: 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
}

.lp-trust-strip__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  text-align: center;
}

.lp-trust-strip__item {
  min-width: 8rem;
  padding: 0.75rem 1rem;
}

.lp-trust-strip__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.lp-trust-strip__item span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.problem-card {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
}

.problem-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.problem-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

@media (max-width: 800px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 801px) and (max-width: 1000px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section-cta {
  margin-top: 1.75rem;
}

/* SEO introduction under trust strip */
.lp-intro {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.lp-intro__inner {
  max-width: 42rem;
}

.lp-intro h2 {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--color-navy);
}

.lp-intro p {
  margin: 0 0 var(--space-4);
  color: var(--color-slate);
  font-size: 1.02rem;
  line-height: 1.75;
}

.lp-intro p:last-child {
  margin-bottom: 0;
}

/* Projects */
.project-grid {
  display: grid;
  gap: 1.25rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
}

.project-card__shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: var(--color-surface);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  width: 100%;
}

.project-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__meta h3 {
  margin-bottom: 0.35rem;
}

.project-card__meta dl {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.project-card__meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.project-card__meta dd {
  margin: 0 0 0.5rem;
  color: var(--color-navy);
  font-weight: 600;
}

@media (max-width: 800px) {
  .project-card {
    grid-template-columns: 1fr 1fr;
  }

  .project-card__meta {
    grid-column: 1 / -1;
  }
}

/* Process */
.lp-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: lpstep;
}

.lp-process li {
  margin: 0;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
}

.lp-process li::before {
  counter-increment: lpstep;
  content: counter(lpstep);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--color-sky);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .lp-process {
    grid-template-columns: 1fr;
  }
}

/* Pricing factors */
.factor-factors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.price-factors li {
  margin: 0;
  padding-left: 1.1rem;
  position: relative;
  color: var(--color-slate);
}

.price-factors li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-sky);
}

@media (max-width: 560px) {
  .price-factors {
    grid-template-columns: 1fr;
  }
}

.quote-box {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.25rem;
  background: #fff;
}

.quote-box__steps {
  display: grid;
  gap: 0.85rem;
}

.quote-result {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--color-sky-soft);
  color: var(--color-navy);
  font-weight: 600;
}

/* Risk reducers */
.risk-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.risk-list li {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  color: var(--color-navy);
}

@media (max-width: 600px) {
  .risk-list {
    grid-template-columns: 1fr;
  }
}

/* Final CTA band */
.final-cta {
  background: linear-gradient(145deg, #0a1628, #143052);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.final-cta h2 {
  color: #fff;
}

.final-cta .lede {
  color: rgba(255, 255, 255, 0.88);
}

.final-cta .cta-group {
  margin-top: 1.5rem;
}

.final-cta__meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile sticky bar */
.lp-sticky {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 120;
  display: none;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-sticky .btn {
  flex: 1;
  min-height: 3rem;
}

.lp-sticky .btn--call {
  background: #fff;
  color: var(--color-navy);
}

.lp-sticky .btn--call:hover {
  background: #f1f5f9;
  color: var(--color-navy);
}

@media (max-width: 900px) {
  body.is-lp .lp-sticky {
    display: flex;
  }

  body.is-lp .lp-sticky.is-visible {
    transform: translateY(0);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(10, 22, 40, 0.88);
  padding: 1rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: #fff;
  color: var(--color-navy);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
}

/* LP footer compact */
.lp-footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}

.lp-footer a {
  color: #fff;
  text-decoration: none;
}

.lp-footer a:hover {
  color: #93c5fd;
}

.lp-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.lp-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .lp-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Loading button */
.btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.btn.is-loading::after {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  margin-left: 0.4rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.honeypot {
  position: absolute;
  left: -10000px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-success-panel {
  display: none;
  padding: 1rem;
  border-radius: 12px;
  background: #ecfdf5;
  color: var(--color-success);
  font-weight: 600;
}

.form-success-panel.is-visible {
  display: block;
}

.form.is-hidden {
  display: none;
}


