/* ==========================================================================
   Lenix Home Services — stylesheet
   ========================================================================== */

:root {
  --navy: #14213d;
  --navy-light: #1f3157;
  --navy-soft: #2a3f6b;
  --gold: #c89b3c;
  --gold-dark: #a97f27;
  --cream: #faf7f1;
  --white: #ffffff;
  --ink: #1c1c1c;
  --gray: #5b6472;
  --gray-light: #8890a0;
  --border: #e6e0d3;
  --success: #2e7d4f;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(20, 33, 61, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 33, 61, 0.1);
  --shadow-lg: 0 20px 60px rgba(20, 33, 61, 0.16);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--gray); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section--alt { background: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: var(--gold-dark); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-light); }

.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--navy);
}
.brand svg { flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; display: block; }
.brand span.sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray-light);
  text-transform: uppercase;
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.75;
}
.main-nav a:hover { opacity: 1; }

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

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
}
.phone-pill svg { color: var(--gold-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-soft) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 110px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(200,155,60,0.16), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(200,155,60,0.12), transparent 45%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.82); font-size: 1.12rem; max-width: 480px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 14px;
  border-radius: 100px;
}
.hero-badge svg { color: var(--gold); flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.hero-card h3 { margin-bottom: 4px; }
.hero-card .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.stat { border-top: 3px solid var(--gold); padding-top: 10px; }
.stat .num { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); font-weight: 600; display: block; }
.stat .label { font-size: 0.82rem; color: var(--gray); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--navy), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--gray);
}
.service-card li {
  padding: 5px 0 5px 20px;
  position: relative;
  border-top: 1px solid var(--border);
}
.service-card li:first-child { border-top: none; }
.service-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.why-item { display: flex; gap: 16px; }
.why-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-item p { font-size: 0.92rem; margin: 0; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.process-item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px 26px;
  border: 1px solid var(--border);
}
.process-item .step-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

/* ---------- Service area ---------- */
.area-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}
.area-tag {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
}
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
}
.faq-q .icon { flex-shrink: 0; transition: transform 0.2s ease; color: var(--gold-dark); }
.faq-item[open] .faq-q .icon { transform: rotate(45deg); }
.faq-a { padding: 0 4px 22px; margin: 0; }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  align-items: flex-start;
}
.contact-info-card .row:first-of-type { border-top: none; }
.contact-info-card .row svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-card .row strong { display: block; color: var(--white); font-size: 0.95rem; }
.contact-info-card .row span, .contact-info-card .row a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.15s ease;
}
.social-row a:hover { background: var(--gold); color: var(--navy); }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-note { font-size: 0.8rem; color: var(--gray-light); margin-top: 10px; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { color: var(--navy); margin-bottom: 10px; }
.cta-band .btn--navy:hover { background: #0d1730; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1830;
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand .brand { color: var(--white); margin-bottom: 12px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Utility page (thank you / privacy) ---------- */
.simple-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px;
}
.simple-page .check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.policy-page { padding: 70px 0 100px; }
.policy-page .container { max-width: 820px; }
.policy-page h2 { margin-top: 2em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .area-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .phone-pill span.text { display: none; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  body.nav-open .mobile-nav { display: flex; }

  .site-header .container { height: 64px; }
  .brand { font-size: 1rem; gap: 8px; white-space: nowrap; }
  .brand svg { width: 28px; height: 28px; }
  .brand span.sub { display: none; }
  .brand-logo { height: 44px; }
  .header-actions { gap: 10px; }
  .phone-pill { padding: 8px; border-radius: 50%; background: var(--cream); }
  .header-actions .btn--gold { padding: 10px 16px; font-size: 0.85rem; }
}

@media (max-width: 400px) {
  .header-actions .btn--gold { display: none; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-nav a {
  padding: 12px 0;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
