/* bigfoot.cool public pages. Phone first; wider screens add columns. */
:root {
  --navy: #050994;
  --blue: #0445AF;
  --blue-2: #0a5ce0;
  --clay: #b8571f;
  --clay-dark: #8f3f12;
  --grass: #4f8f22;
  --cream: #fbf6ee;
  --sand: #f1e6d6;
  --ink: #1c1f2e;
  --muted: #5b6072;
  --line: #e4dccf;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(28, 31, 46, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; transition: background-color .2s, color .2s; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--cream); }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 6vw, 48px); font-weight: 900; letter-spacing: -.5px; }
h2 { font-size: clamp(24px, 4.5vw, 34px); font-weight: 850; }
h3 { font-size: 21px; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy); color: #dfe5ff; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; }
.topbar-note { display: none; }
.topbar-call { color: #fff; font-weight: 800; text-decoration: none; margin-left: auto; font-size: 16px; }
.topbar-call:hover { color: #fff; text-decoration: underline; }

/* One bar: Menu button + name + theme button on phones; the centered menu + theme button on computers. */
.site-header { background: var(--white); border-bottom: 4px solid var(--clay); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.nav-bar { position: relative; display: flex; align-items: center; gap: 12px; max-width: 1200px; margin: 0 auto; padding: 8px 14px; min-height: 58px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; font-size: 16px; color: #fff;
  background: var(--blue); border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; content: ""; }
.menu-icon::before { position: absolute; top: -6px; } .menu-icon::after { position: absolute; top: 6px; }
.mobile-name { flex: 1; text-align: center; font-weight: 900; color: var(--navy); text-decoration: none; text-transform: uppercase; letter-spacing: .4px; font-size: 15px; line-height: 1.2; }

.theme-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--cream); color: var(--navy); cursor: pointer; padding: 0; transition: background .15s, transform .15s; }
.theme-btn:hover { transform: rotate(-15deg); }
.theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }

.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--line);
  border-bottom: 4px solid var(--clay); box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 6px 18px 14px; }
.site-nav a { display: block; padding: 12px 6px; font-weight: 750; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--clay); }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-ai { color: var(--grass); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font: inherit; font-weight: 850; text-decoration: none; text-align: center; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; border: 0; border-radius: 12px;
  padding: 13px 22px; box-shadow: 0 5px 14px rgba(4, 69, 175, .30); transition: filter .15s, transform .1s; }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-big { font-size: 20px; padding: 16px 26px; }
.btn-block { display: block; width: 100%; }
.btn-clay { background: linear-gradient(135deg, #d0692c, var(--clay)); box-shadow: 0 5px 14px rgba(184, 87, 31, .30); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { color: var(--navy); background: rgba(5, 9, 148, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
.section { padding: 44px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: 34px 0 10px; }
.page-head p.lead { font-size: 20px; color: var(--muted); max-width: 760px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--grass); margin-bottom: 6px; }
.prose { max-width: 760px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 18px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--grass); font-weight: 900; }
.note { background: var(--sand); border-left: 5px solid var(--clay); border-radius: 8px; padding: 14px 16px; }

/* ---------- home hero ---------- */
.hero { background: radial-gradient(ellipse at 50% 0%, var(--white) 0%, var(--cream) 70%); padding: 18px 0 36px; text-align: center; }
.hero-logo { width: min(560px, 92%); margin: 0 auto 4px; display: block; }
.hero h1 { margin-top: 6px; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 22px; }
.hero .btn-row { justify-content: center; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.badges li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 700; color: var(--ink); }

.services .card h3 { color: var(--navy); }
.services .card p { margin: 0; color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 18px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review blockquote { margin: 10px 0 14px; font-size: 17px; flex: 1; }
.review figcaption { color: var(--muted); font-size: 15px; }
.review figcaption strong { color: var(--ink); }
.stars { color: #f2a91c; font-size: 20px; letter-spacing: 2px; }
.stars-off { color: #ddd; }

/* ---------- media ---------- */
.video-box { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-box video { display: block; width: 100%; height: auto; }
.embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.photo-grid figure { margin: 0; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid figcaption { padding: 8px 10px; font-size: 14px; color: var(--muted); }
.advice-pic { float: right; width: 110px; margin: 0 0 10px 14px; border-radius: 10px; }

/* ---------- contact form ---------- */
.cf { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(5, 9, 148, .16); border: 1px solid #d6dcf5; }
.cf-head { background: linear-gradient(135deg, var(--blue), var(--navy)); padding: 22px 18px; text-align: center; }
.cf-head h2 { color: #fff; margin: 0; font-size: 26px; }
.cf-head p { color: #dce6ff; margin: 6px 0 0; }
.cf-body { padding: 20px 16px; }
.cf-field { margin-bottom: 18px; }
.cf label { display: block; margin: 0 0 6px; font-weight: 800; font-size: 17px; }
.cf label small { font-weight: 400; color: var(--muted); }
.cf input[type=text], .cf input[type=email], .cf input[type=tel], .cf textarea {
  display: block; width: 100%; padding: 14px 16px; font: inherit; font-size: 18px; color: #111; background: #f7f9ff;
  border: 2px solid #c9d3f2; border-radius: 10px; outline: none; }
.cf textarea { min-height: 170px; resize: vertical; }
.cf input:focus, .cf textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(4, 69, 175, .15); }
.cf-trap { position: absolute; left: -9999px; }
.cf-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.cf-msg { padding: 16px 18px; border-radius: 10px; margin-bottom: 18px; }
.cf-ok { background: #e7f7ec; color: #14532d; border: 2px solid #9fdcb2; text-align: center; font-size: 20px; padding: 28px; }
.cf-err { background: #fdecee; color: #7f1d1d; border: 2px solid #f5b5bd; }

/* ---------- call band + footer ---------- */
.cta-band { background: linear-gradient(135deg, var(--clay-dark), var(--clay)); color: #fff; padding: 30px 0; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0 0 16px; color: #ffe9da; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

.site-footer { background: var(--navy); color: #cfd6ff; padding: 34px 0 90px; font-size: 16px; }
.site-footer a { color: #fff; }
.footer-in { display: grid; gap: 24px; }
.footer-name { font-weight: 800; color: #fff; font-size: 18px; }
.footer-name .sneaky { color: inherit; text-decoration: none; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer-links a { text-decoration: none; line-height: 2; }
.footer-links a:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; margin-bottom: 14px; }
.social img { display: block; width: 44px; height: 44px; object-fit: contain; }
.seal { max-width: 140px; }
.copyright { text-align: center; color: #9aa3d6; font-size: 14px; margin: 26px 0 0; padding: 0 18px; }

.call-fab { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: block; text-align: center; text-decoration: none;
  background: #4f8f22; color: #fff; font-weight: 900; font-size: 19px; padding: 14px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.call-fab:hover { color: #fff; filter: brightness(1.08); }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .grid-2, .reviews { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .cf-row { display: flex; gap: 18px; } .cf-row .cf-field { flex: 1; }
  .cf-body { padding: 28px; }
  .advice-pic { width: 140px; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .topbar-note { display: inline; }
  .menu-btn, .mobile-name { display: none; }
  /* menu centered on the page; equal room on both sides so the theme button never pushes it off center */
  .nav-bar { justify-content: center; padding: 4px 64px; }
  .theme-btn { position: absolute; right: 14px; top: 50%; margin-top: -21px; }
  .theme-btn:hover { transform: rotate(-15deg); }
  .site-nav { display: block; position: static; border: 0; box-shadow: none; background: transparent; }
  .site-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 0; }
  .site-nav a { border: 0; padding: 12px 12px; font-size: 16px; border-bottom: 3px solid transparent; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--clay); }
  .grid-3, .reviews { grid-template-columns: repeat(3, 1fr); }
  .footer-in { grid-template-columns: 1.3fr 1fr 1fr; }
  .cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .cta-band p { margin-bottom: 0; }
  .call-fab { display: none; }
  .site-footer { padding-bottom: 34px; }
  .section { padding: 60px 0; }
}

/* ---------- dark theme (sun/moon button) ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --cream: #10131f;      /* page background */
  --white: #191d2e;      /* cards, header */
  --sand: #24283b;
  --line: #2f3550;
  --ink: #e9ebf5;
  --muted: #a6acc6;
  --clay-dark: #f29a62;
  --grass: #7cc24a;
  --blue: #2f6fe0;
  --shadow: 0 6px 24px rgba(0, 0, 0, .45);
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3 { color: #f3f4fb; }
[data-theme="dark"] .services .card h3 { color: #f3f4fb; }
[data-theme="dark"] a { color: #8fb3ff; }
[data-theme="dark"] a:hover { color: #c3d4ff; }
[data-theme="dark"] .btn, [data-theme="dark"] .btn:hover, [data-theme="dark"] .call-fab, [data-theme="dark"] .topbar-call { color: #fff; }
[data-theme="dark"] .btn-ghost { color: #e9ebf5; box-shadow: inset 0 0 0 2px #8fa0d8; }
[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,.06); }
[data-theme="dark"] .site-nav a { color: var(--ink); }
[data-theme="dark"] .site-nav a[aria-current="page"] { color: var(--clay-dark); }
[data-theme="dark"] .site-nav a:hover { color: #8fb3ff; }
[data-theme="dark"] .site-nav .nav-ai { color: var(--grass); }
[data-theme="dark"] .theme-btn { color: #ffd34d; }
[data-theme="dark"] .topbar { background: #070a2e; }
[data-theme="dark"] .site-footer { background: #070a2e; }
[data-theme="dark"] .site-footer a { color: #fff; }
[data-theme="dark"] .cta-band { background: linear-gradient(135deg, #6e2f0c, #9a4718); }
[data-theme="dark"] .cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
[data-theme="dark"] .stars-off { color: #444a66; }
[data-theme="dark"] .cf { border-color: var(--line); box-shadow: var(--shadow); }
[data-theme="dark"] .cf input[type=text], [data-theme="dark"] .cf input[type=email], [data-theme="dark"] .cf input[type=tel], [data-theme="dark"] .cf textarea {
  background: #10131f; color: var(--ink); border-color: #3a4266; }
[data-theme="dark"] .cf input:focus, [data-theme="dark"] .cf textarea:focus { background: #141829; border-color: #5b8cff; box-shadow: 0 0 0 4px rgba(91, 140, 255, .2); }
[data-theme="dark"] .cf-ok { background: #12301e; color: #b8f0c9; border-color: #2f6b45; }
[data-theme="dark"] .cf-err { background: #3a1419; color: #ffc9cf; border-color: #7a2b35; }
[data-theme="dark"] .skip { background: var(--white); }
[data-theme="dark"] .hero-logo { filter: drop-shadow(0 8px 24px rgba(0,0,0,.55)); }
[data-theme="dark"] .mobile-name { color: #f3f4fb; }

/* Two videos side by side (Rheem page): headings, videos and notes each share a row,
   so a heading that wraps to two lines never pushes one video lower than the other. */
.video-pair h2 { font-size: 22px; }
.video-pair p { margin-bottom: 0; }
@media (min-width: 640px) {
  .video-pair { grid-template-rows: auto auto auto; row-gap: 0; column-gap: 24px; }
  .video-pair > div { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
  .video-pair h2 { align-self: end; }
}

/* Deal cards (Deals & Financing page; deals come from the back end) */
.deals { display: grid; gap: 18px; }
.deal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.deal-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); }
.deal-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.deal-body h3 { font-size: 22px; margin-bottom: 4px; }
.deal-body .btn { margin-top: auto; align-self: flex-start; }
.deal-ends { display: inline-block; align-self: flex-start; background: var(--sand); color: var(--clay-dark); font-weight: 800; font-size: 14px; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.deal-fine { font-size: 14px; color: var(--muted); }
@media (min-width: 640px) { .deals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .deals { grid-template-columns: repeat(3, 1fr); } }
