/* Freedom Counselling — shared stylesheet */

:root {
  --sage: #7c9885;
  --sage-dark: #5f7a68;
  --sage-light: #e7efe8;
  --terracotta: #c97b5f;
  --terracotta-dark: #a85f45;
  --cream: #faf6f0;
  --cream-2: #f2ece1;
  --charcoal: #3a3833;
  --charcoal-soft: #5c5952;
  --white: #ffffff;
  --border: #e3dccf;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(58, 56, 51, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--sage-dark);
  margin-bottom: 0.9em;
}

.section {
  padding: 72px 0;
}

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

.section--sage {
  background: var(--sage-light);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-secondary:hover {
  border-color: var(--sage-dark);
  color: var(--sage-dark);
}

.btn-ghost {
  background: var(--white);
  border-color: var(--border);
  color: var(--charcoal);
}
.btn-ghost:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo small {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* Nav */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.main-nav > ul > li > a,
.main-nav > ul > li > details > summary {
  display: inline-block;
  padding: 10px 11px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--charcoal);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.main-nav > ul > li > a::-webkit-details-marker,
.main-nav > ul > li > details > summary::-webkit-details-marker {
  display: none;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > details > summary:hover {
  background: var(--sage-light);
  color: var(--sage-dark);
}

.main-nav details {
  position: relative;
}

.main-nav details summary {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav details summary::after {
  content: "▾";
  font-size: 0.7em;
}

.dropdown {
  list-style: none;
  margin: 6px 0 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.dropdown li a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  white-space: nowrap;
}

.dropdown li a:hover {
  background: var(--sage-light);
  color: var(--sage-dark);
}

.nav-cta {
  margin-left: 10px;
}

.nav-cta .btn {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(160deg, var(--sage-light) 0%, var(--cream) 62%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p.lead {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  max-width: 52ch;
}

.hero-art {
  aspect-ratio: 4 / 3.2;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

.hero-art--logo {
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-art--logo img {
  width: 78%;
  height: auto;
}

/* Cards */
.grid {
  display: grid;
  gap: 26px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.card .icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: var(--sage-dark);
}

.card-alt {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}
.two-col.reverse .art { order: 2; }

.art {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cream-2), var(--sage-light));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.art svg { width: 68%; height: 68%; }

.prose {
  max-width: 68ch;
  margin: 0 auto;
}

.prose-mark {
  width: 200px;
  margin: 0 auto 28px;
}

.art--card {
  background: var(--cream);
  padding: 24px;
}

.art--photo {
  aspect-ratio: 3 / 4;
  max-width: 400px;
  margin: 0 auto;
  background: var(--cream-2);
}

.art--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.art--card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Lists */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-list li {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Pillars / approach */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  text-align: center;
  padding: 10px;
}

.pillar .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--sage);
  margin-bottom: 6px;
}

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--terracotta);
  box-shadow: var(--shadow);
}

.testimonial p {
  font-style: italic;
  color: var(--charcoal-soft);
}

.testimonial .who {
  font-weight: 700;
  font-style: normal;
  color: var(--charcoal);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-family: var(--serif);
  margin-bottom: 14px;
}

/* Pricing table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fee-table th, .fee-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.fee-table th {
  background: var(--sage-light);
  font-family: var(--serif);
  font-weight: 600;
}

.fee-table tr:last-child td {
  border-bottom: none;
}

/* CTA banner */
.cta-banner {
  background: var(--sage-dark);
  color: var(--white);
  border-radius: 22px;
  padding: 56px;
  text-align: center;
}

.cta-banner h2, .cta-banner p { color: var(--white); }

.cta-banner .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}
.cta-banner .btn-secondary:hover {
  background: var(--white);
  color: var(--sage-dark);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info .item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--terracotta);
  margin-top: 3px;
}

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 6px;
}

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

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--cream);
  color: var(--charcoal);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

.room-photo {
  max-width: 440px;
  margin: 0 auto;
}

.room-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.room-photo figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  margin-top: 12px;
}

/* Map placeholder */
.map-block {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: repeating-linear-gradient(45deg, var(--cream-2), var(--cream-2) 12px, var(--sage-light) 12px, var(--sage-light) 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 52px 0;
  background: var(--sage-light);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  margin-bottom: 12px;
}

.breadcrumb a { color: var(--sage-dark); font-weight: 700; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #e8e5df;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.site-footer .logo { color: var(--white); }
.site-footer .logo small { color: #b9d4c1; }

.site-footer p {
  color: #c8c4bb;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #c8c4bb;
}
.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #52504a;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #a6a29a;
}

.footer-bottom a { color: #a6a29a; text-decoration: underline; }

/* Utility */
.mt-40 { margin-top: 40px; }
.center { text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .two-col,
  .two-col.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .two-col.reverse .art { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle-label {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    gap: 4px;
  }
  .main-nav .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 14px;
  }
  .nav-cta { margin: 10px 0 0; }
  .nav-toggle:checked ~ .main-nav {
    max-height: 600px;
  }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .cta-banner { padding: 36px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
