/* ============================================================
   Strength Over Speed (SOS) — Modern Website Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --purple-deep:   #4A2080;
  --purple-mid:    #7B4BBF;
  --purple-light:  #E8DEFF;
  --purple-pale:   #F5F0FF;
  --teal:          #1A9E9E;
  --teal-dark:     #147070;
  --terracotta:    #C04535;
  --pink:          #D4358E;
  --text-dark:     #1A1A2E;
  --text-mid:      #4A4A6A;
  --text-light:    #767698;
  --bg:            #FAFAF8;
  --white:         #FFFFFF;
  --border:        #E0D8F0;
  --nav-bg:        #3D1A6F;
  --footer-bg:     #240F50;
  --shadow-sm:     0 2px 8px rgba(74, 32, 128, 0.08);
  --shadow-md:     0 4px 20px rgba(74, 32, 128, 0.12);
  --shadow-lg:     0 8px 40px rgba(74, 32, 128, 0.18);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    all 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--purple-mid); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--purple-deep);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}
.section--alt {
  background: var(--white);
}
.section--tinted {
  background: var(--purple-pale);
}

/* --- Navigation --- */
.nav {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.nav__logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}
.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
}

.nav__links a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active {
  background: rgba(255,255,255,0.15);
  color: #FFFFFF;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  background: var(--terracotta);
  color: white;
  padding: 7rem 1.5rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
  position: relative;
}
.hero__title em {
  font-style: normal;
  color: #A8EDEA;
}
.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
  position: relative;
}
.hero__tagline strong {
  color: #FDE8D0;
}
.hero__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(26,158,158,0.4);
}
.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,158,158,0.5);
  color: #FFFFFF;
}
.btn--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: #FFFFFF;
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}
.btn--purple {
  background: var(--purple-deep);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn--purple:hover {
  background: var(--purple-mid);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow-wrap: break-word;
  min-width: 0;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card__icon {
  width: 52px;
  height: 52px;
  background: var(--purple-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--purple-deep);
  margin-bottom: 0.6rem;
}
.card__body {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Grid Layouts --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.section-header__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-header__title {
  margin-bottom: 1rem;
}
.section-header__desc {
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--purple-deep) 0%, #7B4BBF 100%);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  color: white;
}
.page-hero__title {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}
.page-hero__desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Quote Block --- */
.quote-block {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  color: white;
  padding: 2.75rem 2rem;
  text-align: center;
  position: relative;
}
.quote-block__text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  line-height: 1.55;
  max-width: 780px;
  margin: 0 auto 1rem;
  color: #FFFFFF;
}
.quote-block__attr {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Meetings Table --- */
.meetings-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.meetings-table thead {
  background: var(--purple-deep);
  color: white;
}
.meetings-table thead th {
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.meetings-table tbody tr {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.meetings-table tbody tr:last-child { border-bottom: none; }
.meetings-table tbody tr:hover { background: var(--purple-pale); }
.meetings-table td {
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  vertical-align: middle;
}
.meetings-table td:first-child {
  font-weight: 600;
  color: var(--purple-deep);
}
.meetings-table--compact thead th {
  padding: 0.6rem 1.25rem;
}
.meetings-table--compact td {
  padding: 0.6rem 1.25rem;
}
.loc-map {
  display: none;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.loc-map:hover { text-decoration: underline; }
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--online {
  background: #D0F7F0;
  color: var(--teal-dark);
}
.badge--inperson {
  background: var(--purple-light);
  color: var(--purple-deep);
}

/* --- Resource Cards --- */
.resource-section__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.resource-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.resource-list li:last-child { border-bottom: none; }
.resource-list .resource-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.resource-list .resource-phone {
  font-size: 0.85rem;
  color: var(--teal-dark);
}
.resource-list .resource-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
}
.resource-list .resource-email {
  font-size: 0.85rem;
  color: var(--text-mid);
}
.resource-list .resource-contact-note {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
}
.resource-list a {
  font-size: 0.82rem;
  color: var(--purple-mid);
}

/* --- Callout Box --- */
.callout {
  background: var(--purple-pale);
  border-left: 4px solid var(--purple-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout--teal {
  background: #E8F8F5;
  border-left-color: var(--teal);
}
.callout p { color: var(--text-mid); font-size: 0.95rem; }
.callout strong { color: var(--text-dark); }

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 1.5rem 1.5rem;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer__brand .nav__logo-main {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}
.footer__heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__links li { margin-bottom: 0.55rem; }
.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer__links a:hover { color: #FFFFFF; }

.footer__bottom {
  max-width: 1200px;
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: #FFFFFF; }

/* --- Contact Form --- */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(123, 75, 191, 0.12);
}
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

.pill {
  display: inline-block;
  background: var(--purple-pale);
  color: var(--purple-mid);
  border: 1px solid var(--purple-light);
  border-radius: 50px;
  padding: 0.25rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    gap: 0.15rem;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 0.65rem 1rem; font-size: 0.9rem; }
  .nav__toggle { display: flex; }
  .section { padding: 2.5rem 0; }
  .hero { padding: 3.5rem 1.5rem 2.75rem; }
  .meetings-table { font-size: 0.88rem; }
  .meetings-table thead th,
  .meetings-table td { padding: 0.75rem 1rem; }
  .loc-full { display: none; }
  .loc-map { display: inline; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero__cta-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
}
