/* Echo CartWorks LLC — brand stylesheet
   Palette pulled from the logo: deep navy line-art + teal "echo wave" gradient. */

:root {
  --navy: #0B2545;
  --navy-dark: #071A33;
  --navy-soft: #1C3A61;
  --teal: #0E7C8C;
  --teal-dark: #0A6270;
  --teal-green: #14907E;
  --ink: #1E2A38;
  --muted: #5C6B7A;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FA;
  --bg-soft-2: #ECF3F5;
  --border: #DFE7EC;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 37, 69, 0.14);
  --max-width: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--ink); }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--bg-soft-2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
}
.header-phone .label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.header-phone .number {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}

.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 {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 55%, #0a3547 100%);
  color: var(--white);
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,140,0.35) 0%, rgba(14,124,140,0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero .lede { color: #C9D8E3; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}
.hero-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #DCE8EF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.hero-panel h3 { color: var(--white); margin-bottom: 12px; }
.hero-panel ul { margin: 0; padding-left: 20px; color: #D6E3EB; }
.hero-panel li { margin-bottom: 8px; }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2 { color: var(--white); }
.section-navy p { color: #C9D8E3; }

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

/* Cards / grids */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bg-soft-2);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-card .band {
  height: 6px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--teal-green));
}
.service-card-body { padding: 24px; }
.service-card h3 { margin-bottom: 12px; }
.service-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.service-card li:first-child { border-top: none; }
.service-card li span:first-child { color: var(--ink); }
.service-card li span:last-child { color: var(--teal-dark); font-weight: 700; white-space: nowrap; }

/* Rate table */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.rate-table th, .rate-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.rate-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.rate-table tr:last-child td { border-bottom: none; }
.rate-table td:last-child { text-align: right; font-weight: 700; color: var(--teal-dark); white-space: nowrap; }

.note-box {
  background: var(--bg-soft-2);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 20px;
  color: var(--ink);
  font-size: 0.95rem;
}
.note-box p:last-child { margin-bottom: 0; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal-green));
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { margin-bottom: 0; opacity: 0.92; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #B9C7D3;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid img { height: 46px; margin-bottom: 14px; }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #B9C7D3; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #8CA0AF;
}

/* Placeholder tag for unfilled contact info */
.placeholder {
  border-bottom: 1px dashed currentColor;
  cursor: help;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.breadcrumb a { color: var(--muted); }

/* List with check icons */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.tag {
  background: var(--bg-soft-2);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 999px;
}

.map-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}
.map-visual svg { width: 100%; height: auto; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-soft-2);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}
.contact-card .value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%);
    transition: transform 0.2s ease;
    gap: 16px;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .cta-band { flex-direction: column; text-align: center; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
