/* ============================================================
   Lyons Solutions visual direction
   Editorial Phoenix property buying, calm, local, and conversion-led.
   This layer intentionally overrides the original design system
   without changing the tested form or tracking behavior.
   ============================================================ */

:root {
  --navy: #102a43;
  --navy-2: #173b55;
  --navy-deep: #071a2b;
  --ivory: #f6f1e8;
  --ivory-2: #ece4d7;
  --white: #ffffff;
  --text: #172b3b;
  --text-2: #5b6973;
  --green: #155c4b;
  --green-2: #0d4538;
  --green-soft: #edf5f1;
  --copper: #c8793f;
  --copper-2: #a95e2d;
  --border: #d9dedc;
  --border-2: #e7e6e1;
  --r-lg: 24px;
  --r-md: 14px;
  --shadow-sm: 0 1px 1px rgba(9, 28, 43, .04), 0 8px 24px rgba(9, 28, 43, .05);
  --shadow-md: 0 4px 14px rgba(9, 28, 43, .08), 0 24px 50px rgba(9, 28, 43, .08);
  --shadow-lg: 0 10px 30px rgba(7, 26, 43, .12), 0 34px 80px rgba(7, 26, 43, .15);
  --maxw: 1220px;
}

body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fcfbf8;
}

.container {
  padding-inline: 24px;
}

.site-header {
  background: rgba(252, 251, 248, .94);
  border-bottom: 1px solid rgba(16, 42, 67, .08);
  box-shadow: 0 8px 26px rgba(9, 28, 43, .035);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
}

.brand {
  gap: 13px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #e1a25f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), transparent 45%),
    var(--navy);
  box-shadow: 0 8px 20px rgba(16, 42, 67, .16);
}

.brand-logo {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #000;
  border: 1px solid rgba(16, 42, 67, .12);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header .brand-logo img {
  position: absolute;
  left: 50%;
  top: 84%;
  width: 194%;
  height: 194%;
  max-width: none;
  transform: translate(-50%, -50%);
}

.brand-name {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.035em;
}

.brand-tag {
  color: #68717c;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -.005em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  background: var(--green);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(21, 92, 75, .16);
}

.header-offer-btn:hover {
  color: #fff;
  background: var(--green-2);
}

.header-assurance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #53636d;
  font-size: 13px;
  font-weight: 650;
}

.assurance-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d8d6f;
  box-shadow: 0 0 0 4px rgba(45, 141, 111, .12);
}

.header-call {
  border-radius: 12px;
  padding: 10px 16px;
  background: var(--green);
}

/* ============================ HERO ============================ */

.hero {
  position: relative;
  padding: 62px 0 58px;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 15%, rgba(200, 121, 63, .11), transparent 25%),
    radial-gradient(circle at 88% 8%, rgba(21, 92, 75, .08), transparent 23%),
    linear-gradient(180deg, #f8f4ed 0%, #f3ede3 100%);
  border-bottom: 1px solid rgba(16, 42, 67, .08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 58%, var(--copper) 58%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -260px;
  top: 80px;
  border-radius: 50%;
  border: 1px solid rgba(16, 42, 67, .075);
  box-shadow:
    0 0 0 70px rgba(16, 42, 67, .018),
    0 0 0 140px rgba(16, 42, 67, .012);
  pointer-events: none;
}

.hero-grid {
  gap: 22px;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    grid-template-areas:
      "intro form"
      "benefits form"
      "cards cards";
    column-gap: 64px;
    row-gap: 24px;
    align-items: start;
  }

  .hero-intro { grid-area: intro; padding-top: 20px; }
  .hero-form { grid-area: form; }
  .hero-benefits { grid-area: benefits; }
  .clarity-cards { grid-area: cards; }
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 11px;
  vertical-align: middle;
  background: var(--copper);
}

.hero h1,
.section-head h2,
.split h2,
.final-cta h2,
.ty-hero h1,
.legal-hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-weight: 600;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(45px, 5.05vw, 68px);
  line-height: .99;
  letter-spacing: -.047em;
  text-wrap: pretty;
}

.hero-sub {
  max-width: 54ch;
  margin-bottom: 20px;
  color: #4c5e69;
  font-size: 17.5px;
  line-height: 1.65;
}

.hero-cost {
  padding: 10px 16px 10px 12px;
  color: var(--navy);
  font-size: 14px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(21, 92, 75, .22);
  box-shadow: 0 8px 22px rgba(9, 28, 43, .055);
}

.hero-cost .ico {
  width: 20px;
  height: 20px;
  padding: 3px;
  color: white;
  background: var(--green);
  border-radius: 50%;
}

.hero-photo {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, .82);
  border-radius: 22px;
  box-shadow: 0 20px 46px rgba(9, 28, 43, .13);
  isolation: isolate;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 23, 36, .78));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: 55% 58%;
}

.hero-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 17px;
  display: grid;
  color: white;
  line-height: 1.35;
}

.hero-photo figcaption strong {
  font-size: 17px;
}

.hero-photo figcaption > span:last-child {
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
}

.photo-kicker {
  margin-bottom: 2px;
  color: #efb06d;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-benefits {
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  color: #334d5c;
  font-size: 14px;
  line-height: 1.45;
}

.hero-benefits li {
  gap: 8px;
}

.hero-benefits .ico {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 3px;
  color: white;
  background: var(--green);
  border-radius: 50%;
}

.clarity-cards {
  gap: 14px;
  margin-top: 10px;
}

.clarity-card {
  min-height: 118px;
  padding: 22px 22px 20px 66px;
  color: var(--text);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(16, 42, 67, .10);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.clarity-card .ico {
  position: absolute;
  left: 22px;
  top: 24px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 6px;
  color: var(--copper);
  background: rgba(200, 121, 63, .11);
  border-radius: 9px;
}

.clarity-card h2 {
  margin-bottom: 5px;
  color: #72808a;
  font-size: 9.5px;
}

.clarity-card p {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
}

/* ============================ FORM ============================ */

.form-card {
  overflow: hidden;
  border: 1px solid rgba(16, 42, 67, .13);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.form-next {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 15px 17px;
  color: #53636d;
  font-size: 12.5px;
  line-height: 1.5;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(16, 42, 67, .1);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.form-next strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.form-next-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 10px;
}

/* ============================ VIDEOS ============================ */

.video-section {
  overflow: hidden;
  padding-block: 28px;
  color: white;
  background:
    radial-gradient(circle at 16% 18%, rgba(200, 121, 63, .18), transparent 28%),
    linear-gradient(145deg, var(--navy), var(--navy-deep));
}

.video-section-head {
  max-width: 720px;
  margin-inline: auto;
}

.video-section .eyebrow-dark {
  color: #9ed7c2;
}

.video-section .eyebrow-dark::before {
  background: #68b69a;
}

.video-section h2,
.video-section .section-head p {
  color: white;
}

.video-section .section-head p {
  color: rgba(255, 255, 255, .72);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 48px;
  margin-top: 0;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 19px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .25);
}

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #050b10;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card p {
  margin: 0;
  padding: 13px 14px 15px;
  color: rgba(255, 255, 255, .86);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

#offer-form-card {
  scroll-margin-top: 96px;
}

.form-head {
  position: relative;
  padding: 26px 28px 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 0, rgba(200, 121, 63, .12), transparent 42%),
    #fbfaf7;
  border-bottom: 1px solid var(--border-2);
}

.form-head::before {
  content: "LOCAL PHOENIX REVIEW";
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .17em;
}

.form-head h2 {
  color: var(--navy);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -.035em;
}

.form-head p {
  margin-top: 5px;
  color: #64727b;
  font-size: 13.5px;
}

.form-facts {
  gap: 0;
  margin-top: 18px;
  padding-top: 15px;
  border-top-color: rgba(16, 42, 67, .10);
}

.form-facts li {
  padding-right: 12px;
}

.form-facts li + li {
  padding-left: 14px;
  border-left: 1px solid rgba(16, 42, 67, .10);
}

.form-facts span {
  color: #7a858b;
  font-size: 8.5px;
}

.form-facts strong {
  color: var(--navy);
  font-size: 12.5px;
}

.form-body {
  padding: 28px;
}

.progress {
  gap: 7px;
  margin-bottom: 14px;
}

.progress span {
  height: 3px;
  background: #e4e6e4;
}

.progress span.active {
  background: linear-gradient(90deg, var(--green), #2b8069);
}

.step-label {
  margin-bottom: 15px;
  color: #78858d;
  font-size: 9.5px;
  letter-spacing: .15em;
}

.form-step h3 {
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.2;
}

.form-step .step-sub {
  margin-bottom: 20px;
  font-size: 14px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  margin-bottom: 7px;
  color: #263c4a;
  font-size: 13px;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  min-height: 56px;
  padding: 14px 15px;
  color: var(--navy);
  font-size: 16px;
  background: #fdfdfc;
  border: 1px solid #cfd6d4;
  border-radius: 12px;
  box-shadow: inset 0 1px 1px rgba(7, 26, 43, .025);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 92, 75, .11);
}

.btn {
  min-height: 57px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent),
    var(--green);
  box-shadow: 0 10px 24px rgba(21, 92, 75, .2);
}

.btn:hover {
  background: var(--green-2);
}

.form-micro {
  color: #7b858b;
  font-size: 11.5px;
}

.choice-card {
  border-radius: 12px;
}

.confirm-card {
  border-radius: 12px;
}

.consent {
  font-size: 11.5px;
}

/* ============================ CONTENT ============================ */

section {
  padding: 76px 0;
}

.band-ivory {
  background:
    linear-gradient(90deg, rgba(200, 121, 63, .035) 1px, transparent 1px),
    linear-gradient(rgba(200, 121, 63, .035) 1px, transparent 1px),
    var(--ivory);
  background-size: 48px 48px;
}

.section-head {
  max-width: 790px;
  margin-bottom: 42px;
}

.section-head.center {
  max-width: 820px;
}

.section-head h2,
.split h2 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.section-head p {
  color: #5d6a72;
  font-size: 16px;
}

.cards-3,
.steps {
  gap: 18px;
}

.info-card,
.step-card,
.situation-card {
  border-color: rgba(16, 42, 67, .10);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.info-card {
  min-height: 235px;
  padding: 30px 27px;
}

.info-card .stat {
  margin-bottom: 18px;
  color: var(--copper);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 46px;
  font-weight: 600;
}

.info-card h3,
.step-card h3,
.situation-card h3 {
  color: var(--navy);
  font-size: 18px;
}

.step-card {
  min-height: 275px;
  padding: 30px 27px;
}

.step-num {
  width: auto;
  height: auto;
  margin-bottom: 40px;
  color: var(--copper);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  background: none;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 81px;
  left: 27px;
  width: 42px;
  height: 2px;
  background: var(--green);
}

.band-navy {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 16%, rgba(200, 121, 63, .17), transparent 25%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.band-navy::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -190px;
  bottom: -240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .02);
}

.band-navy .container {
  position: relative;
  z-index: 1;
}

.band-navy h2 {
  color: white;
}

.band-navy p {
  color: #c5d0d7;
}

.split {
  gap: 48px;
}

.split > div {
  min-width: 0;
}

.plain-list {
  gap: 14px;
}

.situation-grid {
  gap: 16px;
}

.situation-card {
  min-height: 230px;
  padding: 28px 25px;
}

.situation-card .ico {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--copper);
  background: rgba(200, 121, 63, .1);
}

.compare-wrap {
  border: 1px solid rgba(16, 42, 67, .1);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

table.compare th,
table.compare td {
  padding: 16px 22px;
}

table.compare thead th:first-child {
  background: var(--green);
}

table.compare thead th:last-child {
  background: #e9e2d6;
}

.compare-note {
  padding: 16px 20px;
  border-left-color: var(--copper);
}

.faq-list {
  max-width: 900px;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: none;
}

.faq-item summary {
  padding: 20px 22px;
  font-size: 15.5px;
}

.faq-item[open] {
  border-color: rgba(21, 92, 75, .34);
  box-shadow: var(--shadow-sm);
}

.faq-item .faq-body {
  padding: 0 22px 21px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 43, .95), rgba(7, 26, 43, .76)),
    url("./assets/phoenix-home-hero.png") center 58% / cover;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(42px, 5vw, 62px);
}

.final-cta .btn-copper {
  color: white;
  background: var(--copper);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.site-footer {
  padding: 56px 0 38px;
  background: #061521;
}

.site-footer .brand-mark {
  box-shadow: none;
}

/* Supporting pages */

.ty-hero,
.legal-hero {
  background:
    radial-gradient(circle at 82% 15%, rgba(200, 121, 63, .17), transparent 27%),
    linear-gradient(145deg, var(--navy), var(--navy-deep));
}

.ty-card {
  border: 1px solid rgba(16, 42, 67, .1);
  border-radius: 22px;
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 959px) {
  .hero {
    padding: 42px 0 50px;
  }

  .hero-grid {
    grid-template-areas: none;
  }

  .hero-intro,
  .hero-form,
  .hero-benefits,
  .clarity-cards {
    grid-area: auto;
  }

  .hero-intro { order: 1; }
  .hero-form { order: 2; }
  .hero-benefits { order: 3; }
  .clarity-cards { order: 4; }

  .hero h1 {
    max-width: 12ch;
  }

}

@media (max-width: 700px) {
  .container {
    padding-inline: 18px;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 17.5px;
  }

  .brand-tag {
    max-width: 170px;
    font-size: 9.5px;
  }

  .header-assurance {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-offer-btn {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 12.5px;
  }

  .hero {
    padding-top: 36px;
  }

  .eyebrow {
    margin-bottom: 13px;
    font-size: 9.5px;
  }

  .eyebrow::before {
    width: 20px;
    margin-right: 8px;
  }

  .hero h1 {
    margin-bottom: 17px;
    font-size: clamp(40px, 11vw, 49px);
    line-height: 1.01;
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-cost {
    width: 100%;
    justify-content: center;
    font-size: 13px;
  }

  .hero-form {
    margin-top: 8px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
  }

  .video-card {
    border-radius: 15px;
  }

  .video-card p {
    min-height: 58px;
    padding: 10px 8px 12px;
    font-size: 11px;
  }

  .form-card {
    border-radius: 20px;
  }

  .form-head {
    padding: 21px 19px 18px;
  }

  .form-head h2 {
    font-size: 28px;
  }

  .form-head p {
    font-size: 12.5px;
  }

  .form-facts {
    margin-top: 14px;
    padding-top: 13px;
  }

  .form-facts li {
    padding-right: 7px;
  }

  .form-facts li + li {
    padding-left: 9px;
  }

  .form-facts span {
    font-size: 7.5px;
  }

  .form-facts strong {
    font-size: 11px;
  }

  .form-body {
    padding: 22px 19px;
  }

  .form-step h3 {
    font-size: 21px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    padding: 6px 2px;
  }

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

  .clarity-card {
    display: block;
    min-height: 0;
    padding: 18px 18px 18px 62px;
  }

  .clarity-card .ico {
    left: 18px;
    top: 19px;
  }

  section {
    padding: 62px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2,
  .split h2 {
    font-size: 37px;
    line-height: 1.07;
  }

  .info-card,
  .step-card,
  .situation-card {
    min-height: 0;
  }

  .step-num {
    margin-bottom: 30px;
  }

  .final-cta {
    padding: 78px 0;
  }

  .final-cta::before {
    inset: 10px;
  }

  .final-cta h2 {
    font-size: 42px;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 15px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-offer-btn {
    padding-inline: 10px;
    font-size: 11.5px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .form-facts {
    grid-template-columns: 1fr 1fr 1.15fr;
  }
}
