/* ==========================================================================
   Easy Home Services LLC — JustEasyHomeServices.com
   Single stylesheet. Mobile-first, no framework.
   ========================================================================== */

:root {
  --navy-900: #0e2a44;
  --navy-800: #123a5c;
  --navy-700: #1b4b73;
  --navy-100: #e8eef4;
  --accent: #c05621;
  --accent-dark: #9c4419;
  --accent-light: #fdf3ec;
  --ink: #1f2933;
  --ink-soft: #4a5568;
  --ink-faint: #6b7280;
  --line: #dde3ea;
  --line-soft: #eef2f6;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --green: #276749;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 68, 0.06), 0 1px 3px rgba(15, 42, 68, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 42, 68, 0.08);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: 0.45em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }

.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--tight { padding: 40px 0; }

.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy-900);
  flex-shrink: 0;
}
.brand:hover { color: var(--navy-900); }
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--navy-800);
  display: grid;
  place-items: center;
  color: #fff;
}
.brand-mark svg { width: 21px; height: 21px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-tag { font-size: 0.7rem; color: var(--ink-faint); letter-spacing: 0.04em; text-transform: uppercase; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: 11px 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .nav-cta { margin-top: 12px; }
.site-nav .nav-cta a {
  border: 0;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 18px;
}
.site-nav .nav-cta a:hover { background: var(--accent-dark); color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 4px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 12px; border-radius: var(--radius); font-size: 0.95rem; }
  .site-nav a[aria-current="page"] { background: var(--navy-100); color: var(--navy-800); }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta a { padding: 11px 18px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--secondary { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--navy-700); color: var(--navy-800); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 auto; min-width: 210px; }
@media (min-width: 600px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(14, 42, 68, 0.94) 0%, rgba(14, 42, 68, 0.82) 48%, rgba(14, 42, 68, 0.62) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 60px 0 64px; max-width: 700px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.05rem, 6.2vw, 3.2rem);
  margin-bottom: 18px;
}
.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
  max-width: 600px;
}
.hero .eyebrow { color: #f3b083; }
.hero-note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 42, 68, 0.95) 0%, rgba(14, 42, 68, 0.78) 100%);
}
.page-hero-inner { position: relative; z-index: 2; padding: 48px 0 52px; max-width: 720px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 5vw, 2.5rem); }
.page-hero p { color: rgba(255, 255, 255, 0.9); font-size: 1.06rem; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 26px; }

.page-header-plain {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.page-header-plain h1 { margin-bottom: 8px; }
.page-header-plain p { color: var(--ink-soft); margin-bottom: 0; max-width: 680px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0; }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 24px; height: 24px; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split--reverse .split-media { order: 2; }
}
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-body h2 { margin-bottom: 14px; }
.split-body p { color: var(--ink-soft); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c05621' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 13px;
}
.steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ---------- Trades list ---------- */
.trades {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 560px) { .trades { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .trades { grid-template-columns: repeat(3, 1fr); } }
.trades li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-900);
}
.trades svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

.note {
  background: var(--navy-100);
  border-left: 4px solid var(--navy-700);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin-top: 26px;
}
.note strong { color: var(--navy-900); }

.callout {
  background: var(--accent-light);
  border: 1px solid #f0d6c2;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 26px 0;
}
.callout p { margin-bottom: 0; font-size: 0.97rem; color: #6b4324; }
.callout h3 { margin-bottom: 8px; font-size: 1.05rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-800);
  color: #fff;
  padding: 52px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Forms ---------- */
.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .form-wrap { padding: 36px 34px; } }

fieldset {
  border: 0;
  border-top: 1px solid var(--line-soft);
  padding: 26px 0 4px;
  margin: 0;
}
fieldset:first-of-type { border-top: 0; padding-top: 0; }
legend {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.1rem;
  padding: 0;
  margin-bottom: 4px;
}
.fieldset-hint { color: var(--ink-faint); font-size: 0.92rem; margin: 0 0 18px; }

.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .field-row--3 { grid-template-columns: repeat(3, 1fr); } }

label { display: block; font-weight: 600; font-size: 0.94rem; margin-bottom: 6px; color: var(--navy-900); }
.optional { font-weight: 400; color: var(--ink-faint); font-size: 0.86rem; }
.hint { display: block; font-weight: 400; color: var(--ink-faint); font-size: 0.86rem; margin-top: 5px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 13px;
  border: 1px solid #c8d2dd;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy-700);
  outline: 2px solid rgba(27, 75, 115, 0.25);
  outline-offset: 0;
}
input::placeholder, textarea::placeholder { color: #9aa5b1; }

.checkbox-grid { display: grid; gap: 10px; }
@media (min-width: 560px) { .checkbox-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .checkbox-grid { grid-template-columns: repeat(3, 1fr); } }

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--ink);
}
.choice:hover { border-color: var(--navy-700); }
.choice input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--accent); }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row .choice { flex: 1 1 130px; }

.form-legal {
  border-top: 1px solid var(--line-soft);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 0.89rem;
  color: var(--ink-faint);
}
.form-legal p { margin-bottom: 0.8em; }
.form-legal p:last-child { margin-bottom: 0; }

.hidden-field { display: none; }

/* ---------- Contact details ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-list .label { display: block; font-weight: 700; color: var(--navy-900); font-size: 0.95rem; }
.contact-list .value { color: var(--ink-soft); font-size: 0.97rem; }

.placeholder-tag {
  display: inline-block;
  background: #fff7e6;
  border: 1px dashed #d6b571;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 0.88rem;
  color: #7a5a17;
  font-weight: 600;
}

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 64px; }
.legal h2 { font-size: 1.32rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.06rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated {
  color: var(--ink-faint);
  font-size: 0.93rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 28px 0 8px;
}
.toc h2 { margin: 0 0 10px; font-size: 1rem; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 4px; font-size: 0.95rem; }

/* ---------- Confirmation page ---------- */
.confirm { text-align: center; padding: 70px 0 80px; }
.confirm-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e6f4ea;
  color: var(--green);
  display: grid;
  place-items: center;
}
.confirm-mark svg { width: 32px; height: 32px; }
.confirm p { color: var(--ink-soft); max-width: 560px; margin-left: auto; margin-right: auto; }
.confirm .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 46px 0 26px;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; } }
.site-footer h2 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-mark { background: rgba(255, 255, 255, 0.14); }
.site-footer .brand-tag { color: rgba(255, 255, 255, 0.6); }
.site-footer p { color: rgba(255, 255, 255, 0.72); max-width: 420px; font-size: 0.93rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.62); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.footer-legal li { margin: 0; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Legal links live in the mobile drawer and in the footer on every viewport */
@media (min-width: 900px) {
  .site-nav .nav-legal { display: none; }
}
