/* Compliance Care Consulting LLC
   Brand: Poppins, #002727, #008281, #47B4B3, #F2F2F2 */

:root {
  --ink: #002727;
  --teal: #008281;
  --teal-bright: #47b4b3;
  --mist: #f2f2f2;
  --white: #ffffff;
  --muted: rgba(0, 39, 39, 0.72);
  --line: rgba(0, 39, 39, 0.12);
  --shadow: 0 16px 40px rgba(0, 39, 39, 0.06);
  --radius: 16px;
  --wrap: 1120px;
  --header: 84px;
  --font: "Poppins", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

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

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.45rem);
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  z-index: 100;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: var(--teal);
  flex: 0 0 auto;
}

.lede {
  font-size: 1.125rem;
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-label .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--teal);
}

/* Hero */

.hero {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(71, 180, 179, 0.22), transparent 60%),
    var(--mist);
  padding: 4.75rem 0 4.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 3rem;
  align-items: end;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.proof {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.4rem 1.35rem;
  box-shadow: var(--shadow);
}

.proof li {
  list-style: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.proof li:last-child {
  border-bottom: 0;
}

.proof ul {
  margin: 0;
  padding: 0;
}

.proof strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.proof span {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  background: var(--mist);
  padding: 3.5rem 0 3rem;
}

.page-hero p {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: 1.125rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--teal);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0, 39, 39, 0.28);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-mist {
  background: var(--mist);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.industry-card,
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.industry-card div,
.service-card {
  padding: 1.35rem 1.35rem 1.45rem;
}

.service-card {
  border-top: 3px solid var(--teal);
}

.service-card p:last-child,
.industry-card p:last-child {
  margin-bottom: 0;
}

.section-action {
  margin-top: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* About */

.bio {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

.role {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

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

.detail-list li {
  background: var(--mist);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.detail-list strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.detail-list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.detail-list a:hover {
  color: var(--teal);
}

.location {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(0, 39, 39, 0.18);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 400;
  color: var(--muted);
  margin: 0.25rem 0 1.1rem;
}

.consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.form .btn {
  width: 100%;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.notice p {
  margin: 0;
  color: inherit;
}

.notice-ok {
  background: #e5f4f4;
  color: var(--ink);
}

.notice-bad {
  background: #f8ecec;
  color: #4a1c1c;
}

.fine-print {
  margin-top: 0.9rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.footer-brand img {
  width: 46px;
  height: auto;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  letter-spacing: -0.02em;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.site-footer h2 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

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

.legal {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .services-grid,
  .contact-layout,
  .footer-grid,
  .bio {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.25rem 0;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 760px) {
  .brand img {
    height: 36px;
    max-width: calc(100vw - 7.5rem);
    object-fit: contain;
    object-position: left center;
  }

  .nav-toggle-label {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    padding: 0.25rem 0 1rem;
  }

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

  .nav-toggle:focus-visible + .nav-toggle-label {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
  }

  .header-bar {
    flex-wrap: wrap;
    padding: 0.7rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
