/* Eastern Heating & Sheet Metal — design system
   Tier 2 polished. Mobile-first. No build step. */

:root {
  --navy: #0B2545;
  --navy-700: #143864;
  --navy-50: #EEF2F8;
  --copper: #C77D3E;
  --copper-700: #A0612D;
  --cream: #F8F4EE;
  --cream-deep: #F1EADE;
  --ink: #1A1F2C;
  --muted: #5B6678;
  --hairline: #E5DFD4;
  --success: #2F7D4F;
  --white: #FFFFFF;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11,37,69,0.06);
  --shadow: 0 8px 28px rgba(11,37,69,0.08);
  --shadow-lg: 0 20px 50px rgba(11,37,69,0.12);

  --max: 1180px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.625;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 160ms ease;
}
a:hover { color: var(--copper); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.5rem); letter-spacing: -0.018em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; color: var(--ink); }
p.lead { font-size: 1.15rem; color: var(--muted); }

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

.section {
  padding: 80px 0;
}
@media (min-width: 900px) {
  .section { padding: 112px 0; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  z-index: 50;
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  background: var(--navy);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--copper);
  font-weight: 800;
  font-size: 0.95rem;
}
.brand-name { line-height: 1.1; }
.brand-name span {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: background 160ms ease, transform 160ms ease;
}
.nav-cta:hover { background: var(--copper); color: var(--white) !important; transform: translateY(-1px); }
.nav-cta svg { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 80px 0 96px;
  background:
    radial-gradient(1100px 480px at 90% 0%, rgba(199,125,62,0.10), transparent 60%),
    radial-gradient(900px 480px at -10% 80%, rgba(11,37,69,0.06), transparent 60%),
    var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 120px 0 128px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 72px; }
}
.hero h1 span.accent {
  color: var(--copper);
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--navy);
  color: var(--white) !important;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--copper);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white) !important;
}
.btn-light {
  background: var(--white);
  color: var(--navy) !important;
}
.btn-light:hover {
  background: var(--copper);
  color: var(--white) !important;
}

/* ============ Hero visual ============ */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 6;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 70%, var(--copper) 130%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--white);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(199,125,62,0.45), transparent 55%);
}
.hero-badge {
  position: relative;
  text-align: center;
  padding: 32px;
}
.hero-badge .est {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.hero-badge .year {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 16px;
  color: var(--white);
}
.hero-badge .since {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 26ch;
  margin: 0 auto;
}
.hero-badge .copper-rule {
  width: 60px; height: 3px;
  background: var(--copper);
  margin: 24px auto;
  border-radius: 3px;
}

/* ============ Trust strip ============ */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  padding: 1px 0;
}
@media (min-width: 700px) {
  .trust-row { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  background: var(--white);
  padding: 28px 20px;
  text-align: center;
}
.trust-item .stat {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  display: block;
  line-height: 1.1;
}
.trust-item .label {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ============ Section headers ============ */
.section-head {
  max-width: 720px;
  margin: 0 0 56px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============ Services grid ============ */
.services {
  background: var(--white);
}
.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--copper);
}
.service-card h3 { margin-bottom: 10px; }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card p {
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.service-card .arrow {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 160ms ease, color 160ms ease;
}
.service-card:hover .arrow {
  gap: 10px;
  color: var(--copper);
}

/* ============ Why us ============ */
.why {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.why-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--hairline);
}
.why-card .num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}

/* ============ Process ============ */
.process {
  background: var(--white);
}
.process-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 700px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
  padding: 32px 24px;
  border-left: 3px solid var(--copper);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}
.process-step .step-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.process-step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.process-step p { color: var(--muted); margin: 0; }

/* ============ Service areas ============ */
.areas {
  background: var(--cream);
}
.areas-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .areas-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.areas-list li {
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.98rem;
}
.areas-list li a {
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.areas-list li:hover { border-color: var(--copper); }
.areas-list li a::after {
  content: "→";
  color: var(--copper);
  font-weight: 700;
}

/* ============ FAQ ============ */
.faq-section {
  background: var(--white);
}
.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
}
.faq-item h3 {
  font-size: 1.12rem;
  margin: 0 0 10px;
  color: var(--navy);
}
.faq-item p {
  color: var(--ink);
  margin: 0;
}

/* ============ Final CTA ============ */
.final-cta {
  background:
    radial-gradient(900px 400px at 80% 20%, rgba(199,125,62,0.30), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(255,255,255,0.05), transparent 60%),
    var(--navy);
  color: var(--white);
  text-align: center;
}
.final-cta h2 {
  color: var(--white);
  max-width: 22ch;
  margin: 0 auto 18px;
}
.final-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.12rem;
  max-width: 50ch;
  margin: 0 auto 36px;
}
.final-cta .btn-primary {
  background: var(--copper);
  color: var(--white) !important;
}
.final-cta .btn-primary:hover {
  background: var(--white);
  color: var(--navy) !important;
}
.final-cta .btn-secondary {
  border-color: rgba(255,255,255,0.5);
  color: var(--white) !important;
}
.final-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--navy) !important;
}

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
  font-size: 0.95rem;
}
.footer a { color: rgba(255,255,255,0.85); }
.footer a:hover { color: var(--copper); }
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 700;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer li { margin-bottom: 10px; }
.footer .brand-block .brand {
  color: var(--white);
  margin-bottom: 18px;
}
.footer .brand-block p {
  color: rgba(255,255,255,0.65);
  max-width: 36ch;
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ============ Inner-page hero ============ */
.page-hero {
  background:
    radial-gradient(900px 320px at 90% 0%, rgba(199,125,62,0.10), transparent 60%),
    var(--cream);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 900px) {
  .page-hero { padding: 96px 0 80px; }
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.page-hero h1 {
  max-width: 22ch;
  margin-bottom: 16px;
}
.page-hero .lead { max-width: 60ch; }

/* ============ Content blocks ============ */
.content {
  background: var(--white);
}
.content-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .content-grid { grid-template-columns: 2.5fr 1fr; }
}
.content article h2 {
  margin-top: 48px;
}
.content article h2:first-child { margin-top: 0; }
.content article h3 {
  margin-top: 28px;
  font-size: 1.15rem;
}
.content article ul,
.content article ol {
  padding-left: 22px;
  margin: 0 0 1.2em;
}
.content article li {
  margin-bottom: 10px;
}
.content aside {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-self: start;
  position: sticky;
  top: 100px;
  border: 1px solid var(--hairline);
}
.content aside h3 {
  font-size: 1rem;
  margin: 0 0 12px;
  color: var(--navy);
}
.content aside p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.content aside .btn { width: 100%; justify-content: center; }

/* ============ Comparison table ============ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 0.98rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}
.compare-table thead th {
  background: var(--cream);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: var(--success); font-weight: 700; }
.compare-table .no { color: var(--muted); }

/* ============ Last updated badge ============ */
.last-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

/* ============ Utility ============ */
.tel-link { white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-8 { margin-top: 32px; }

/* ============ Form ============ */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  max-width: 520px;
}
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 18px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,37,69,0.10);
}
.contact-form textarea { min-height: 110px; resize: vertical; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
