/* EasyStreet Smart Homes — accessibility-first static site */
:root {
  --navy: #143f66;
  --navy-deep: #0c2d4a;
  --navy-soft: #eaf1f6;
  --gold: #ffb000;
  --gold-dark: #8a5a00;
  --gray: #77717a;
  --gray-dark: #4f4a51;
  --ink: #1e2833;
  --muted: #5d6670;
  --white: #ffffff;
  --surface: #f6f8fa;
  --border: #d8e0e6;
  --focus: #ffb000;
  --shadow: 0 14px 35px rgba(12, 45, 74, 0.10);
  --radius: 18px;
  --content: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-deep);
  line-height: 1.13;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.45rem, 7vw, 4.85rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.55rem;
}

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 185px;
  max-height: 70px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li + li {
  margin-top: 0;
}

.nav-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(20, 63, 102, 0.15);
}

.button:hover {
  color: var(--white);
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.button-small {
  min-height: 44px;
  padding: 0.65rem 1rem;
  white-space: nowrap;
}

.button-secondary {
  color: var(--navy-deep);
  background: var(--white);
  border-color: var(--navy);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--navy);
}

.button-gold {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: none;
}

.button-gold:hover {
  color: var(--white);
  background: var(--navy-deep);
  border-color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 176, 0, 0.18), transparent 22rem),
    linear-gradient(145deg, #ffffff 0%, #f4f8fb 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -11rem;
  bottom: -13rem;
  width: 34rem;
  height: 34rem;
  border: 4rem solid rgba(20, 63, 102, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--gold-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ffd169;
}

.hero-lead {
  max-width: 64ch;
  color: var(--gray-dark);
  font-size: clamp(1.12rem, 2vw, 1.3rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 1.7rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin: 0;
  padding: 0;
  color: var(--gray-dark);
  font-weight: 700;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 1.35rem;
}

.trust-list li + li {
  margin-top: 0;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 50%;
}

.hero-panel {
  padding: clamp(1.5rem, 4vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 7px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: 1.7rem;
}

.check-list {
  margin-bottom: 1.4rem;
}

.check-list li::marker {
  color: var(--navy);
}

.panel-note {
  margin: 0;
  padding: 1rem;
  color: var(--navy-deep);
  background: var(--navy-soft);
  border-radius: 12px;
  font-weight: 700;
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section-tinted {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.6rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.12rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  min-height: 100%;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.5rem;
}

.service-card > p {
  color: var(--muted);
}

.service-card ul {
  margin-bottom: 0;
}

.featured-card {
  border: 3px solid var(--navy);
  box-shadow: var(--shadow);
}

.card-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.65rem;
  color: var(--navy-deep) !important;
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.consultation-card {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.consultation-card h3,
.consultation-card p {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 900;
}

.consultation-card .text-link {
  color: #ffe09a;
}

.consultation-card .text-link:hover {
  color: var(--white);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.audience-grid article {
  padding: 1.5rem;
  background: var(--white);
  border-left: 6px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.audience-grid p {
  margin-bottom: 0;
  color: var(--muted);
}


.lighting-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  margin-top: 1.4rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  color: var(--navy-deep);
  background: #fff7df;
  border: 2px solid #e5b441;
  border-radius: var(--radius);
}

.lighting-callout h3 {
  margin-bottom: 0.45rem;
  font-size: 1.55rem;
}

.lighting-callout p {
  margin: 0;
  color: var(--gray-dark);
}

.lighting-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 900;
}


.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin: 0;
  padding: 1.5rem 0;
  border-top: 2px solid var(--border);
}

.step-number {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-section {
  color: var(--white);
  background: var(--navy-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.about-section h2,
.about-section p {
  color: var(--white);
}

.about-copy {
  font-size: 1.12rem;
}

blockquote {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border-left: 6px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

blockquote p {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}


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

.reviews-heading {
  margin-bottom: 2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.review-card {
  min-height: 100%;
  padding: clamp(1.4rem, 4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-stars {
  margin-bottom: 0.9rem;
  color: var(--gold-dark);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.review-card blockquote {
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.review-card blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.7;
}

.reviewer-name {
  margin: 0;
  color: var(--navy-deep);
  font-weight: 900;
}

.review-source {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}


.service-area {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.area-note {
  max-width: 28rem;
  margin: 0;
  padding: 1.1rem 1.25rem;
  color: var(--navy-deep);
  background: var(--navy-soft);
  border-radius: 12px;
  font-weight: 700;
}

.contact-section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(12, 45, 74, 0.96), rgba(20, 63, 102, 0.96)),
    var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.contact-section h2,
.contact-section p {
  color: var(--white);
}

.contact-actions {
  display: grid;
  gap: 0.85rem;
}

.contact-link {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem 1rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.contact-link span {
  color: #d9e7f2;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 3.2rem 0 1.5rem;
  color: #dce7ef;
  background: #071d30;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 2rem;
}

.footer-logo {
  width: 220px;
  padding: 0.6rem;
  background: var(--white);
  border-radius: 10px;
}

.footer-heading {
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.site-footer a {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.legal-page {
  min-height: calc(100vh - 86px);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--surface);
}

.legal-content {
  max-width: 820px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  max-width: none;
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.65rem;
}

.legal-updated {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }

  .brand img {
    width: 160px;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .nav-list {
    justify-content: flex-start;
    border-top: 1px solid var(--border);
  }

  .hero-grid,
  .contact-grid,
  .about-grid,
  .service-area {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    padding-block: 1.1rem;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .header-inner {
    min-height: 72px;
    align-items: center;
  }

  .brand img {
    width: 145px;
  }

  .button-small {
    padding-inline: 0.8rem;
    font-size: 0.93rem;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 0.15rem;
    overflow-x: auto;
  }

  .nav-list a {
    padding: 0 0.55rem;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .card-grid,
  .audience-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lighting-callout {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.35rem;
  }

  .footer-logo {
    width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .button-row,
  .contact-section,
  .site-footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .hero {
    padding: 1rem 0;
    background: #fff;
  }
}
