/* Carolina Adjusters — site stylesheet (2026 rebuild)
   Old theme.css is unused by these pages and can remain on the server. */

:root {
  --navy: #15202b;
  --navy-2: #1c2d3c;
  --charcoal: #2c333c;
  --red: #9b1616;
  --red-dark: #7a1010;
  --red-soft: #f8ecec;
  --gold: #c4a35a;
  --text: #22262b;
  --muted: #5b616a;
  --line: #d6dbe2;
  --bg: #f4f2ef;
  --paper: #ffffff;
  --max: 1100px;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(21, 32, 43, 0.06), 0 8px 24px rgba(21, 32, 43, 0.06);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

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

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 0 0 6px 6px;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* Header and brand */
.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--red);
}

.brand {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem 0.5rem;
  text-align: center;
}

.brand a {
  display: inline-block;
  max-width: 100%;
}

.brand img {
  display: block;
  width: min(800px, 100%);
  height: auto;
  margin: 0 auto;
}

/* Nav */
.nav-bar {
  background: var(--navy);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

#nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  margin: 0.55rem 0.35rem;
  padding: 0.45rem 0.7rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  align-items: center;
  gap: 0.45rem;
}

.nav-toggle-bars {
  display: inline-block;
  width: 1.15rem;
  height: 0.8rem;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 6px; }
.nav-toggle-bars::after { bottom: 0; }

.site-nav {
  width: 100%;
}

.nav-list,
.sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

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

.nav-list > li > a {
  display: block;
  color: #f3f5f7;
  text-decoration: none;
  padding: 0.8rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.nav-list > li > a:hover,
.nav-list > li:focus-within > a {
  color: #fff;
  background: var(--navy-2);
  border-bottom-color: var(--gold);
}

.nav-list > li > a[aria-current="page"] {
  border-bottom-color: var(--red);
  color: #fff;
}

.sub-list {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 16.5rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  z-index: 50;
}

.has-sub:hover > .sub-list,
.has-sub:focus-within > .sub-list {
  display: block;
}

.sub-list a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}

.sub-list a:hover,
.sub-list a:focus {
  background: var(--red-soft);
  color: var(--red-dark);
}

.sub-list a[aria-current="page"] {
  font-weight: 700;
  color: var(--red);
}

.sub-list li:last-child a {
  border-bottom: 0;
}

/* Main */
.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 2.5rem;
}

.page {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.7rem 2rem;
}

.page-with-aside {
  display: grid;
  grid-template-columns: 1fr 16.5rem;
  gap: 1.6rem;
  align-items: start;
}

.page-with-aside .page {
  min-width: 0;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  padding-bottom: 0.65rem;
  border-bottom: 3px solid var(--red);
  margin-bottom: 1.15rem;
}

h2 {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

p {
  margin: 0 0 1rem;
}

.content img.float-right,
.content img.float-left {
  display: block;
  border-radius: 4px;
  margin: 0 0 1rem;
}

@media (min-width: 700px) {
  .content img.float-right {
    float: right;
    margin: 0 0 1rem 1.2rem;
    max-width: 42%;
  }
  .content img.float-left {
    float: left;
    margin: 0 1.2rem 1rem 0;
    max-width: 42%;
  }
  .content img.float-right.img-lg,
  .content img.float-left.img-lg {
    max-width: 48%;
  }
}

.content::after {
  content: "";
  display: table;
  clear: both;
}

.office-links,
.link-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.office-links li,
.link-list li {
  margin: 0 0 0.3rem;
}

.office-block {
  overflow: hidden;
  margin: 0 0 1.25rem;
}

.callout {
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  padding: 0.75rem 1rem;
  margin: 0 0 1.15rem;
}

.callout.strong {
  font-weight: 700;
}

/* Coverage lists */
.coverage {
  margin: 1.5rem 0 0;
  padding: 1rem 1rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafbfc;
}

.coverage h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.coverage-list {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.coverage-list.cities {
  columns: 2;
}

@media (min-width: 800px) {
  .coverage-list.cities {
    columns: 3;
  }
}

@media (max-width: 560px) {
  .coverage-list,
  .coverage-list.cities {
    columns: 1;
  }
}

.coverage-list li {
  break-inside: avoid;
  padding: 0.12rem 0;
  font-size: 0.95rem;
  color: var(--charcoal);
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 1rem;
}

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

.price-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.price-table tbody tr:nth-child(even) {
  background: #f7f8fa;
}

.price-table tbody tr:hover {
  background: var(--red-soft);
}

.price-table td:last-child {
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
}

.storage-note {
  background: #f7f4ea;
  border-left: 4px solid var(--gold);
  padding: 0.8rem 1rem;
  margin: 0 0 1rem;
}

hr.section-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.4rem 0;
}

/* Partner / news */
.news-card,
.partner {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.15rem 1.2rem;
}

.news-card h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.news-card time,
.news-date {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.partner-row {
  overflow: hidden;
  margin: 0 0 1.15rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.partner-row:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.partner-row img {
  float: right;
  margin: 0 0 0.6rem 1rem;
}

/* Site map groups */
.sitemap-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem 2rem;
}

.sitemap-groups h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d5dbe2;
  margin-top: auto;
  padding: 1.4rem 1.25rem 1.7rem;
  text-align: center;
  font-size: 0.92rem;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem 1.4rem;
  flex-wrap: wrap;
}

/* Mobile nav */
@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-2);
    z-index: 60;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 4rem);
    overflow: auto;
  }

  #nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list > li > a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
  }

  .nav-list > li > a[aria-current="page"] {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: var(--red-dark);
  }

  .sub-list,
  .has-sub:hover > .sub-list,
  .has-sub:focus-within > .sub-list {
    display: block;
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
  }

  .sub-list a {
    color: #e8edf2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 1.6rem;
  }

  .sub-list a:hover,
  .sub-list a:focus,
  .sub-list a[aria-current="page"] {
    background: rgba(155, 22, 22, 0.45);
    color: #fff;
  }

  .page-with-aside {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 1.15rem 1.05rem 1.5rem;
  }
}

/* Phone number graphic (kept as an image so bots can't scrape it) */
.phone-strip { max-width: var(--max); margin: 18px auto 0; padding: 0 20px; text-align: right; }
.phone-strip img { display: inline-block; height: 25px; width: auto; background: #fff; padding: 8px 14px; box-sizing: content-box; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
@media (max-width: 700px) { .phone-strip { text-align: center; } }
