/* Solarinergy simple professional landing page */

:root {
  --navy: #06265d;
  --navy-dark: #031a40;
  --gold: #f2a400;
  --cream: #fffaf0;
  --text: #17223b;
  --muted: #5c6678;
  --line: #e3e7ee;
  --white: #ffffff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(3, 26, 64, 0.07);
}

.header-inner,
.content-wrap {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

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

.brand {
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.sun-dot {
  color: var(--gold);
  position: relative;
}

.sun-dot::before {
  content: "☀";
  position: absolute;
  left: 50%;
  top: -0.62em;
  transform: translateX(-50%);
  font-size: 0.42em;
  letter-spacing: 0;
}

.tagline {
  margin-top: 8px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  color: var(--navy-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 31px 0 26px;
  border-bottom: 3px solid transparent;
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.menu-button {
  display: none;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  border-radius: 7px;
  padding: 9px 13px;
  font-weight: 700;
}

.visual-page {
  background: #f7f8fb;
  overflow: hidden;
}

.visual-page img {
  width: 100%;
}

.content-section {
  padding: 78px 0;
  scroll-margin-top: 95px;
}

.alt-section {
  background: #f6f8fb;
}

.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ffd36b;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 28px;
}

h3 {
  font-size: 1.25rem;
}

.content-section p {
  color: var(--muted);
  font-size: 1.04rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(3, 26, 64, 0.06);
}

.contact-section {
  scroll-margin-top: 95px;
  padding: 62px 0;
  background: var(--navy);
  color: var(--white);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

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

.contact-section h2 {
  margin-bottom: 12px;
}

.contact-actions {
  min-width: 260px;
  text-align: center;
}

.phone-button {
  display: block;
  padding: 16px 22px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.12rem;
}

.phone-button:hover,
.phone-button:focus {
  filter: brightness(1.06);
}

.text-link {
  display: inline-block;
  color: var(--white);
  margin-top: 12px;
  font-weight: 700;
}

.site-footer {
  padding: 28px 0;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 74px;
    position: relative;
  }

  .brand-name {
    font-size: 2rem;
  }

  .tagline {
    font-size: 0.56rem;
  }

  .menu-button {
    display: inline-block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(3, 26, 64, 0.12);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
  }

  .two-column,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .two-column {
    gap: 28px;
  }

  .content-section {
    padding: 56px 0;
  }

  .contact-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .text-link {
    margin-left: 4px;
  }
}
