/* solarhottub.com - site.css */

:root {
  --ink: #16201d;
  --muted: #5e6b66;
  --soft: #f5efe4;
  --cream: #fffaf1;
  --sand: #e9dac4;
  --solar: #f6a623;
  --solar-dark: #b86f00;
  --water: #0d8aa0;
  --water-dark: #075c6b;
  --leaf: #2f6f4e;
  --charcoal: #111815;
  --white: #ffffff;
  --line: rgba(22, 32, 29, 0.14);
  --shadow: 0 28px 70px rgba(17, 24, 21, 0.18);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(246, 166, 35, 0.14), transparent 34rem),
    linear-gradient(180deg, #fffaf1 0%, #f5efe4 42%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

strong {
  color: var(--charcoal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--charcoal);
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff8e8;
  background:
    radial-gradient(circle at 35% 30%, #ffd470 0 15%, transparent 16%),
    linear-gradient(135deg, var(--solar), var(--water-dark));
  box-shadow: 0 12px 26px rgba(13, 138, 160, 0.22);
}

.brand-text {
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 22px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  display: block;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

body.menu-open .nav-toggle span {
  background: transparent;
}

body.menu-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
  background: var(--ink);
}

body.menu-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--ink);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  padding: 0.62rem 0.78rem;
  border-radius: 999px;
}

.primary-nav a:hover,
.primary-nav a:focus {
  background: rgba(13, 138, 160, 0.1);
  color: var(--water-dark);
}

.nav-cta {
  background: var(--charcoal) !important;
  color: var(--white) !important;
  box-shadow: 0 12px 24px rgba(17, 24, 21, 0.15);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 12, 0.9) 0%, rgba(10, 14, 12, 0.68) 38%, rgba(10, 14, 12, 0.22) 100%),
    var(--hero-image, linear-gradient(135deg, #1e3d3e, #f6a623));
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(17, 24, 21, 0.92), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 7.5rem 1.2rem 5rem;
  display: grid;
  align-content: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffe3a7;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.eyebrow.dark {
  color: var(--solar-dark);
  background: rgba(246, 166, 35, 0.14);
  border-color: rgba(246, 166, 35, 0.3);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
  font-weight: 950;
}

.hero-lede,
.page-lede {
  max-width: 740px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.button.primary {
  color: var(--charcoal);
  background: linear-gradient(135deg, #ffcc65, var(--solar));
  box-shadow: 0 18px 36px rgba(246, 166, 35, 0.26);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.button.dark {
  color: var(--white);
  background: var(--charcoal);
}

.button.light {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--line);
}

.hero-card {
  position: absolute;
  right: max(1.2rem, calc((100vw - var(--max)) / 2));
  bottom: 3rem;
  z-index: 3;
  width: min(390px, calc(100vw - 2.4rem));
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.hero-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  padding: 5.5rem 1.2rem;
}

.section.tight {
  padding: 3.5rem 1.2rem;
}

.section.dark {
  background:
    radial-gradient(circle at top right, rgba(246, 166, 35, 0.16), transparent 35rem),
    linear-gradient(135deg, #111815, #0d252b);
  color: var(--white);
}

.section.dark p,
.section.dark .section-lede {
  color: rgba(255, 255, 255, 0.76);
}

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

.section-kicker {
  color: var(--solar-dark);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.section.dark .section-kicker {
  color: #ffd470;
}

.section-title {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.section-lede {
  max-width: 760px;
  margin-top: 1rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.1rem;
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(17, 24, 21, 0.08);
}

.card.pad {
  padding: 1.45rem;
}

.card.feature {
  min-height: 360px;
  display: grid;
  align-content: end;
  color: var(--white);
  background: var(--charcoal);
}

.card.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-image, linear-gradient(135deg, #0d8aa0, #f6a623));
  background-size: cover;
  background-position: center;
  opacity: 0.86;
  transition: transform 0.35s ease;
}

.card.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 21, 0.88), rgba(17, 24, 21, 0.18));
}

.card.feature:hover::before {
  transform: scale(1.05);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 1.4rem;
}

.card h2,
.card h3 {
  margin: 0 0 0.55rem;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.card h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.card h3 {
  font-size: 1.45rem;
}

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

.card.feature p {
  color: rgba(255, 255, 255, 0.82);
}

.card-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 900;
  color: var(--water-dark);
  text-decoration: none;
}

.card.feature .card-link {
  color: #ffd470;
}

.method-number {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(246, 166, 35, 0.16);
  color: var(--solar-dark);
  font-weight: 950;
  margin-bottom: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.9fr 1fr;
}

.image-panel {
  min-height: 520px;
  border-radius: calc(var(--radius) + 10px);
  background: var(--panel-image, linear-gradient(135deg, var(--water), var(--solar)));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 21, 0.35), transparent 55%);
}

.callout {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at top right, rgba(246, 166, 35, 0.22), transparent 28rem),
    linear-gradient(135deg, #fffaf1, #ffffff);
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(17, 24, 21, 0.08);
}

.callout.hot {
  background:
    radial-gradient(circle at top left, rgba(246, 166, 35, 0.32), transparent 26rem),
    linear-gradient(135deg, #fff1d5, #ffffff 72%);
}

.callout.water {
  background:
    radial-gradient(circle at top right, rgba(13, 138, 160, 0.2), transparent 26rem),
    linear-gradient(135deg, #ecfbff, #ffffff 72%);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  padding: 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--water-dark);
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.list li {
  padding: 0.78rem 0.9rem;
  border-radius: 16px;
  background: rgba(13, 138, 160, 0.08);
  border: 1px solid rgba(13, 138, 160, 0.14);
}

.checklist li {
  position: relative;
  padding-left: 2.35rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0.9rem;
  top: 0.76rem;
  color: var(--leaf);
  font-weight: 950;
}

.page-hero {
  padding: 6.5rem 1.2rem 4.5rem;
  background:
    linear-gradient(135deg, rgba(17, 24, 21, 0.86), rgba(8, 42, 48, 0.72)),
    var(--page-hero-image, linear-gradient(135deg, #0d8aa0, #f6a623));
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero .container {
  max-width: var(--max);
}

.breadcrumb {
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a {
  color: #ffd470;
  text-decoration: none;
}

.article {
  max-width: 880px;
  margin: 0 auto;
  padding: 4.5rem 1.2rem;
}

.article h2 {
  margin: 2.4rem 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.article h3 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.article p,
.article li {
  font-size: 1.06rem;
}

.article a {
  color: var(--water-dark);
  font-weight: 850;
}

.article blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 6px solid var(--solar);
  border-radius: 18px;
  background: rgba(246, 166, 35, 0.11);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.42;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(17, 24, 21, 0.06);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: #fff3dc;
  color: var(--charcoal);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem 1.15rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.faq details p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.cta-band {
  margin: 0 1.2rem 5rem;
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.8rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 14px);
  background:
    linear-gradient(135deg, rgba(17, 24, 21, 0.88), rgba(8, 42, 48, 0.72)),
    var(--cta-image, linear-gradient(135deg, #111815, #0d8aa0));
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.1rem, 5vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.cta-inner p {
  max-width: 720px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 1.2rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-logo img {
  width: 180px;
  height: auto;
  background: var(--white);
  padding: 0.5rem;
  border-radius: 14px;
}

.footer-brand {
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-col h3 {
  margin: 0 0 0.8rem;
  color: var(--white);
  font-size: 1rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  margin: 0.38rem 0;
}

.footer-col a:hover {
  color: #ffd470;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
}

.utility-page {
  min-height: 70vh;
}

.notice {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(246, 166, 35, 0.13);
  border: 1px solid rgba(246, 166, 35, 0.28);
  color: var(--charcoal);
}

.sitemap-list {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.2rem;
}

.sitemap-list li {
  margin: 0.35rem 0;
  break-inside: avoid;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 74px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 250, 241, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    max-height: calc(100vh - 92px);
    overflow: auto;
  }

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

  .primary-nav a {
    border-radius: 14px;
    padding: 0.9rem 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 6rem 1.2rem 12rem;
  }

  .hero-card {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    width: auto;
  }

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

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    padding: 0.7rem 0.9rem;
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 14, 12, 0.78) 0%, rgba(10, 14, 12, 0.74) 52%, rgba(10, 14, 12, 0.84) 100%),
      var(--hero-image, linear-gradient(135deg, #1e3d3e, #f6a623));
    background-size: cover;
    background-position: center;
  }

  .hero-inner {
    padding: 5rem 1rem 13rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.75rem, 17vw, 4.6rem);
    letter-spacing: -0.08em;
  }

  .hero-lede,
  .page-lede {
    font-size: 1.05rem;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .article {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .card.feature {
    min-height: 300px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 320px;
  }

  .page-hero {
    padding: 5rem 1rem 3.5rem;
  }

  .cta-band {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .sitemap-list {
    columns: 1;
  }
}

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

@media (max-width: 1100px) {
  .grid.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .grid.five {
    grid-template-columns: 1fr;
  }
}
