/* Somatherapy LLC — Calm, therapeutic-first styling */
:root{
  --bg: #f6f2ea;
  --surface: #ffffff;
  --text: #2f2f2f;
  --muted: #5e5e5e;
  --line: #e6ded2;
  --accent: #6b6a67;
  --max: 980px;
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

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

header{
  background: rgba(255,255,255,0.6);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;

  /* =========================
   Header Logo
   ========================= */

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

.logo {
  height: 56px;        /* desktop size */
  width: auto;
  max-width: 220px;    /* prevents overflow */
}

/* Slightly smaller on mobile */
@media (max-width: 820px) {
  .logo {
    height: 44px;
  }
}

  backdrop-filter: blur(8px);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand{
  font-weight: 600;
  letter-spacing: 0.2px;
}
.navlinks{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cta{
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--surface);
}
.cta:hover{ text-decoration: none; }

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.hero{
  padding: 38px 0 22px;
}
.hero h1{
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 650;
}
.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.col-7{ grid-column: span 7; }
.col-5{ grid-column: span 5; }
@media (max-width: 860px){
  .col-7, .col-5{ grid-column: span 12; }
}

h2{
  margin: 0 0 10px;
  font-size: 20px;
}
p{ margin: 0 0 12px; color: var(--text); }
.small{ color: var(--muted); font-size: 14px; }

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.section{
  margin: 16px 0;
}
footer{
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 18px 0 30px;
  color: var(--muted);
  font-size: 14px;
}
.kicker{
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
hr{
  border: none;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
/* =========================
   Mobile Burger Navigation
   ========================= */

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

/* Burger button (hidden on desktop) */
.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Burger icon */
.menu-toggle .burger {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle .burger::before,
.menu-toggle .burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.menu-toggle .burger::before {
  top: -7px;
}

.menu-toggle .burger::after {
  top: 7px;
}

/* =========================
   Mobile behavior
   ========================= */

@media (max-width: 820px) {
  /* Show burger */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide nav links by default */
  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;

    flex-direction: column;
    gap: 10px;

    background: #f6f3ed; /* your cream tone */
    padding: 14px;
    min-width: 220px;

    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
  }

  /* Open state */
  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
  }

  .navlinks .cta {
    text-align: center;
    width: 100%;
  }

  /* Ensure header container can anchor dropdown */
  header .nav {
    position: relative;
  }
}

header {
  min-height: 72px;
}

