:root {
  --navy: #0e1a3a;
  --navy-2: #172a55;
  --navy-3: #1e346a;
  --gold: #e8b948;
  --gold-2: #f1c862;
  --cream: #f6f1e7;
  --bg: #fbf8f2;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #5b6478;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 2px rgba(14, 26, 58, 0.06),
    0 2px 8px rgba(14, 26, 58, 0.04);
  --shadow: 0 10px 30px -12px rgba(14, 26, 58, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(14, 26, 58, 0.28);
  --radius: 18px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}
p {
  margin: 0 0 1em;
  color: var(--muted);
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(232, 185, 72, 0.18);
  padding: 8px 14px;
  border-radius: 999px;
}
.eyebrow.dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px -8px rgba(232, 185, 72, 0.7);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--gold-2);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(14, 26, 58, 0.18);
}
.btn-ghost:hover {
  background: rgba(14, 26, 58, 0.04);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(251, 248, 242, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.15rem;
}
.brand-mark {
    width: 110px;
    height: auto;
    border-radius: 0;
    background: var(--navy);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--navy);
}
.nav-links a {
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 1;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0e1a3a 0%, #14245a 100%);
  color: #fff;
  padding: 90px 0 110px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.hero::before {
  width: 520px;
  height: 520px;
  background: #3a5cb8;
  top: -180px;
  left: -120px;
}
.hero::after {
  width: 420px;
  height: 420px;
  background: var(--gold);
  bottom: -160px;
  right: -100px;
  opacity: 0.22;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  font-family: var(--serif);
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-row {
  display: flex;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-row svg {
  color: var(--gold);
}
.hero-image-wrap {
  position: relative;
}
.hero-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: #cbd5e1;
  background-image: url("https://thepolisheddoor.com/images/warmcozyhome2.png");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-card {
  position: absolute;
  left: -30px;
  bottom: -30px;
  background: #fff;
  color: var(--text);
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}
.hero-card .avatars {
  display: flex;
}
.hero-card .avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #dfe7f4;
  margin-left: -8px;
}
.hero-card .avatars span:first-child {
  margin-left: 0;
  background: #f1d9a8;
}
.hero-card .avatars span:nth-child(2) {
  background: #cdd7ea;
}
.hero-card .avatars span:nth-child(3) {
  background: #e8c8c0;
}
.hero-card small {
  color: var(--muted);
  font-size: 0.78rem;
  display: block;
}
.hero-card strong {
  font-family: var(--serif);
  color: var(--navy);
}
@media (max-width: 860px) {
  .hero {
    padding: 60px 0 90px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image {
    aspect-ratio: 4/3;
  }
  .hero-card {
    left: 16px;
    bottom: -24px;
  }
}

/* Sections */
section {
  padding: 96px 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  font-size: 1.05rem;
}

/* Problem */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(232, 185, 72, 0.18);
  color: var(--navy);
  margin-bottom: 18px;
}
@media (max-width: 860px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* Services */
.services {
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card h3 {
  margin-top: 14px;
}
@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonials {
  background: var(--bg);
}
.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 14px;
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.t-card blockquote {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.5;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-author .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfe7f4, #f1d9a8);
}
.t-author small {
  color: var(--muted);
  display: block;
}
.badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  opacity: 0.9;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}
@media (max-width: 860px) {
  .t-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA Form */
.cta-form {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-form::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 185, 72, 0.22),
    transparent 60%
  );
  top: -200px;
  right: -200px;
}
.cta-form h2 {
  color: #fff;
}
.cta-form p {
  color: rgba(255, 255, 255, 0.75);
}

#formMessage{
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--navy);
}


.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.reassurance li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}
.reassurance .icon-circle {
  background: rgba(232, 185, 72, 0.18);
  color: var(--gold);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  margin: 0;
}
.form-card {
  background: #fff;
  color: var(--text);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.form-card p {
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: #fafaf7;
  transition: border 0.2s, background 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.form-card .btn-primary {
  width: 100%;
  padding: 16px;
}
@media (max-width: 860px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* How it works */
.steps {
  background: var(--cream);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
@media (max-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
}
details.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
details.faq[open] {
  box-shadow: var(--shadow);
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
details.faq summary::-webkit-details-marker {
  display: none;
}
details.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 400;
  transition: transform 0.25s;
}
details.faq[open] summary::after {
  transform: rotate(45deg);
}
details.faq .a {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #0e1a3a 0%, #1d3a82 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top,
    rgba(232, 185, 72, 0.18),
    transparent 60%
  );
}
.final-cta .container {
  position: relative;
}
.final-cta h2 {
  color: #fff;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 55ch;
  margin: 0 auto 32px;
}

/* Footer */
footer {
  background: #0a142e;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 30px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
footer a:hover {
  color: var(--gold);
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li {
  margin-bottom: 10px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
}
.mobile-cta .btn {
  width: 100%;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 680px) {
  .mobile-cta {
    display: block;
  }
  .nav .btn {
    display: none;
  }
  section {
    padding: 72px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  body {
    padding-bottom: 80px;
  }
}
