/* MileHighEcoFusion LLC — Spirit of Endeavour inspired */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --purple: #6c5dd3;
  --purple-dark: #5a4bc4;
  --purple-light: rgba(108, 93, 211, 0.08);
  --yellow: #f5d000;
  --yellow-bright: #ffe566;
  --gray-bar: #f8f8f8;
  --gray-bg: #f7f7f7;
  --gray-text: #808191;
  --text: #555555;
  --text-dark: #333333;
  --white: #ffffff;
  --border: #e8e8e8;
  --font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1080px;
  --wide: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}

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

a { color: var(--purple); text-decoration: none; transition: color 0.2s, background 0.2s; }

a:hover { color: var(--purple-dark); }

/* ── Utility bar ── */
.utility-bar {
  background: var(--gray-bar);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}

.utility-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.utility-items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.utility-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.utility-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.utility-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.utility-item p,
.utility-item a,
.utility-item span {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.4;
}

.utility-item a:hover { color: var(--purple); }

.utility-cta {
  display: inline-block;
  background: var(--purple);
  color: var(--white) !important;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.utility-cta:hover {
  background: var(--purple-dark);
  color: var(--white) !important;
}

/* ── Main header ── */
.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

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

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 84px;
  width: auto;
  display: block;
  max-width: 420px;
  object-fit: contain;
}

.footer-logo-img {
  height: 76px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  max-width: 380px;
}

.main-menu { flex: 1; display: flex; justify-content: flex-end; }

.menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.menu-list > li { position: relative; }

.menu-list > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text);
  border-radius: 3px;
}

.menu-list > li > a:hover,
.menu-list > li > a.active { color: var(--purple); }

.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s;
  z-index: 100;
}

.has-submenu:hover .menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text);
}

.menu-dropdown li a:hover {
  background: var(--purple-light);
  color: var(--purple);
}

.mobile-toggle {
  display: none;
  background: var(--gray-bar);
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  color: var(--text-dark);
}

/* ── Announce strip ── */
.announce-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--text);
}

.announce-strip a { font-weight: 700; }

/* ── Hero banner ── */
.hero-banner {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 900px;
}

.hero-overlay h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-overlay h3 {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--yellow-bright);
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ── Page title banner (inner pages) ── */
.page-banner {
  background: var(--purple);
  padding: 48px 24px;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--yellow); }

/* ── Content sections ── */
.content-section {
  padding: 64px 24px;
}

.content-section.gray { background: var(--gray-bg); }

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

.section-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section-wrap.wide { max-width: var(--wide); }

.section-wrap h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.section-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 10px;
}

.section-wrap p {
  margin-bottom: 16px;
  color: var(--text);
}

.section-wrap ul,
.section-wrap ol {
  margin: 0 0 18px 22px;
  color: var(--text);
}

.section-wrap li { margin-bottom: 8px; }

/* ── Image + text blocks (Divi style) ── */
.media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 0;
}

.media-block.reverse .media-image { order: 2; }
.media-block.reverse .media-text { order: 1; }

.media-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.media-caption {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 10px;
  font-style: italic;
}

/* ── Service cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  transition: box-shadow 0.25s;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(108, 93, 211, 0.12);
}

.service-card .icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 14px;
}

.service-card a {
  font-size: 14px;
  font-weight: 700;
}

/* ── CTA button ── */
.btn-purple {
  display: inline-block;
  background: var(--purple);
  color: var(--white) !important;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.btn-purple:hover {
  background: var(--purple-dark);
  color: var(--white) !important;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--purple);
  color: var(--purple) !important;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  background: transparent;
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white) !important;
}

/* ── Info notice ── */
.notice-box {
  background: var(--purple-light);
  border-left: 4px solid var(--purple);
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 15px;
  color: var(--text);
  border-radius: 0 4px 4px 0;
}

/* ── Data table ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  border: 1px solid var(--border);
}

.data-table th,
.data-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--gray-bar);
  color: var(--text-dark);
  font-weight: 700;
  width: 200px;
}

/* ── Sidebar layout ── */
.sidebar-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
}

.side-nav { position: sticky; top: 100px; align-self: start; }

.side-nav h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-text);
  margin-bottom: 10px;
}

.side-nav ul { list-style: none; }

.side-nav li a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text);
  border-bottom: 1px solid var(--border);
}

.side-nav li a:hover,
.side-nav li a.active { color: var(--purple); }

/* ── Insights grid ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.insight-item {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.insight-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.insight-body { padding: 22px; }

.insight-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}

.insight-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.insight-body p { font-size: 14px; color: var(--text); }

/* ── Contact form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* ── Process steps ── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.step-box {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.step-box .num {
  width: 44px;
  height: 44px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin: 0 auto 14px;
}

.step-box h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.step-box p { font-size: 13px; color: var(--text); }

/* ── Footer ── */
.site-footer {
  background: var(--gray-bar);
  border-top: 1px solid var(--border);
  padding: 56px 24px 0;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
}

.footer-newsletter {
  text-align: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.footer-newsletter h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.footer-newsletter p {
  color: var(--gray-text);
  margin-bottom: 24px;
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}


.footer-brand p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  font-size: 14px;
  color: var(--gray-text);
  font-weight: 600;
}

.footer-col a:hover { color: var(--purple); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-text);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .media-block, .contact-layout { grid-template-columns: 1fr; }
  .media-block.reverse .media-image,
  .media-block.reverse .media-text { order: unset; }
  .services-grid, .insights-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
}

@media (max-width: 768px) {
  .logo-img { height: 64px; max-width: 300px; }
  .header-inner { height: 88px; }
  .utility-items { gap: 20px; }
  .utility-cta { width: 100%; text-align: center; }
  .menu-list { display: none; }
  .menu-list.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .mobile-toggle { display: block; }
  .services-grid, .insights-grid, .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-banner { min-height: 360px; background-attachment: scroll; }
}
