/*
 * Design system for Nicole Drewett Counselling and Psychotherapy.
 *
 * Ocean Deep palette:
 *   #0c2340  -- deep navy
 *   #1a4a6e  -- marine blue
 *   #2d8a9e  -- teal
 *   #5cbdb9  -- seafoam
 *
 * Typography: Outfit (headings), Figtree (body).
 */

:root {
  --ocean-deep: #0c2340;
  --ocean-marine: #1a4a6e;
  --ocean-teal: #2d8a9e;
  --ocean-seafoam: #5cbdb9;
  --cream: #fbf8f3;
  --sand: #ede4d3;

  --background: var(--cream);
  --foreground: var(--ocean-deep);
  --card: #ffffff;
  --card-foreground: var(--ocean-deep);
  --primary: var(--ocean-marine);
  --primary-foreground: var(--cream);
  --secondary: #eaf2f2;
  --muted-foreground: #5b6b82;
  --border: rgba(26, 74, 110, 0.14);
  --destructive: #b3402f;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  --font-heading: "Outfit", sans-serif;
  --font-body: "Figtree", sans-serif;

  --max-width: 80rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

/* Layout */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 6rem;
  }
}

.section-dark {
  background-color: var(--ocean-deep);
  color: var(--cream);
}

.section-alt {
  background-color: var(--secondary);
  border-top: 1px solid var(--border);
}

.section-border {
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ocean-teal);
}

.section-dark .eyebrow {
  color: var(--ocean-seafoam);
}

.section-title {
  margin-top: 0.75rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
}

.section-dark .section-title {
  color: var(--cream);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(251, 248, 243, 0.85);
  backdrop-filter: blur(8px);
}

.nav-bar {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .nav-bar {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-bar {
    padding-inline: 2rem;
  }
}

.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--foreground);
  max-width: 60%;
}

@media (min-width: 640px) {
  .brand {
    font-size: 1.15rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

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

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 4rem;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(12, 35, 64, 0.08);
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-panel a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mobile-nav-panel {
    display: none !important;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: var(--background);
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-cream {
  background-color: var(--cream);
  color: var(--ocean-deep);
}

.btn-cream:hover {
  opacity: 0.9;
}

.btn-block {
  width: 100%;
  padding-block: 0.9rem;
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4rem);
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
  }
}

.hero-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .hero-text {
    padding-inline: 1.5rem;
  }
}

.hero-text-inner {
  max-width: 34rem;
}

.hero-text-inner h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero-text-inner h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-text-inner h1 {
    font-size: 3.5rem;
  }
}

.hero-text-inner .lede {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.hero-stats .stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.hero-stats .divider {
  width: 1px;
  height: 2.5rem;
  background-color: var(--border);
}

.hero-image {
  position: relative;
  flex: 1;
  min-height: 24rem;
}

@media (min-width: 1024px) {
  .hero-image {
    min-height: 0;
  }
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Prose blocks */

.prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.prose p {
  margin: 0;
}

.prose ul {
  list-style: disc;
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Cards / grids */

.grid {
  display: grid;
  gap: 1rem;
}

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

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

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.list-item-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  font-weight: 500;
}

.dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: var(--ocean-teal);
}

.quote-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.quote-card svg {
  color: rgba(45, 138, 158, 0.6);
}

.quote-card .quote {
  margin-top: 1rem;
  flex: 1;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.quote-card .author {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.stat-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-card .stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Steps list */

.steps {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
}

.step-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.step p {
  color: var(--muted-foreground);
}

.fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
}

.fee-row .fee-name {
  font-weight: 500;
}

.fee-row .fee-price {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
}

/* Forms */

.form-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
}

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

.form-error {
  font-size: 0.9rem;
  color: var(--destructive);
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand p:first-child {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-brand p:last-child {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.footer-nav a:hover {
  color: var(--foreground);
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Utility */

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.max-w-prose {
  max-width: 42rem;
}

.max-w-content {
  max-width: 64rem;
}

.contact-details {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .contact-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-details .label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.contact-details .value {
  margin-top: 0.25rem;
}

.contact-details a.value:hover {
  color: var(--ocean-marine);
}
