/* ==========================================================================
   Nemeth Speech & Language — Warm, Inviting & Professional Design System
   Palette derived directly from the Nemeth Speech & Language logo:
   - Cerulean Teal: #2293B0 (Primary Brand)
   - Deep Navy:     #2B3D78 (Trust, Authority, Headings)
   - Warm Terracotta:#C24532 (Warmth, CTAs, Human Touch)
   - Soft Cream:    #FAF7F2 (Sensory-friendly, inviting canvas)
   ========================================================================== */

:root {
  /* Brand Colors */
  --teal: #2293b0;
  --teal-dark: #19748c;
  --teal-soft: #e7f4f8;
  --teal-muted: #cce7ef;

  --navy: #2b3d78;
  --navy-dark: #1d2a54;
  --navy-soft: #eef1f8;

  --terracotta: #c24532;
  --terracotta-dark: #a33524;
  --terracotta-soft: #fbeee9;

  /* Neutrals — Warm Linen & Slate */
  --cream: #faf7f2;
  --cream-alt: #f3ede4;
  --surface: #ffffff;
  --ink: #232a3b;
  --ink-muted: #525c70;
  --border: #e4ddd2;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(43, 61, 120, 0.06);
  --shadow-md: 0 10px 30px rgba(43, 61, 120, 0.08);
  --shadow-lg: 0 20px 48px rgba(43, 61, 120, 0.12);

  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* Eyebrow & Section Headers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.eyebrow--teal {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.section {
  padding: 5.5rem 0;
}

.section--alt {
  background-color: var(--cream-alt);
}

.section--surface {
  background-color: var(--surface);
}

.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--ink-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--terracotta);
  color: #fff;
  box-shadow: 0 6px 20px rgba(194, 69, 50, 0.25);
}

.btn--primary:hover {
  background-color: var(--terracotta-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(194, 69, 50, 0.32);
}

.btn--secondary {
  background-color: var(--surface);
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn--teal {
  background-color: var(--teal);
  color: #fff;
  box-shadow: 0 6px 20px rgba(34, 147, 176, 0.25);
}

.btn--teal:hover {
  background-color: var(--teal-dark);
  color: #fff;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

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

.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

.brand__sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-cta {
  padding: 0.625rem 1.35rem;
  font-size: 0.925rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--navy);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 88% 18%, rgba(34, 147, 176, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(194, 69, 50, 0.08) 0%, transparent 40%),
              var(--cream);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.hero__title span {
  color: var(--teal-dark);
}

.hero__lead {
  font-size: 1.1875rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.925rem;
  color: var(--ink-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.trust-dot--warm {
  background: var(--terracotta);
}

/* Hero Visual Card with New Logo */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: calc(var(--radius-lg) + 10px);
  border: 2px dashed rgba(34, 147, 176, 0.25);
  z-index: -1;
}

.hero-card__logo {
  width: 220px;
  height: 220px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(34, 147, 176, 0.22);
}

.hero-card__quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.hero-card__meta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* Philosophy / Values Strip */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  font-size: 1.4rem;
}

.value-icon--teal {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.value-icon--navy {
  background: var(--navy-soft);
  color: var(--navy);
}

.value-icon--warm {
  background: var(--terracotta-soft);
  color: var(--terracotta);
}

.value-card h3 {
  font-size: 1.3rem;
}

.value-card p {
  color: var(--ink-muted);
  margin-bottom: 0;
  font-size: 0.975rem;
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 4px solid var(--teal);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card--warm {
  border-top-color: var(--terracotta);
}

.service-card--navy {
  border-top-color: var(--navy);
}

.service-card--wide {
  grid-column: 1 / -1;
}

.service-card__tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
}

.service-card--warm .service-card__tag {
  color: var(--terracotta);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.service-card p {
  color: var(--ink-muted);
  margin-bottom: 0;
}

/* Speech & Teach Feature Banner */
.speech-teach-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #233368 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.speech-teach-banner h2 {
  color: #fff;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
}

.speech-teach-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.075rem;
  margin-bottom: 0;
}

.speech-teach-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.speech-teach-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: #fff;
}

.speech-teach-badge span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

/* About Team Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.team-card__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.team-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.team-avatar--teal {
  background: linear-gradient(135deg, var(--teal), var(--navy));
}

.team-avatar--warm {
  background: linear-gradient(135deg, var(--terracotta), #d96b52);
}

.team-card__role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.team-card p {
  color: var(--ink-muted);
}

.team-card p:last-child {
  margin-bottom: 0;
}

/* Private-Pay Callout */
.callout-box {
  background: var(--teal-soft);
  border: 1px solid var(--teal-muted);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}

.callout-box h3 {
  font-size: 1.75rem;
}

.callout-box p {
  color: var(--ink);
  margin-bottom: 0;
}

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

.callout-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--navy);
}

.callout-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-of-type {
  border-bottom: none;
}

.contact-detail strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-detail span,
.contact-detail a {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(34, 147, 176, 0.18);
  background: #fff;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  color: var(--navy);
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid,
  .speech-teach-banner,
  .callout-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }
}
