/* ===========================================================
   Clear Horizon Hypnotherapy — Shared Stylesheet
   =========================================================== */

:root {
  --navy: #163a5f;
  --navy-dark: #0f2942;
  --blue: #3f7cb0;
  --blue-light: #6fa8d8;
  --sky: #eef6fc;
  --sky-mid: #dcecf7;
  --gold: #f2a53c;
  --gold-dark: #d98c1f;
  --white: #ffffff;
  --ink: #263241;
  --ink-soft: #55636f;
  --border: #e1e8ee;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 58, 95, 0.08);
  --shadow-lg: 0 20px 50px rgba(22, 58, 95, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

section {
  padding: 88px 0;
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.section-sky { background: var(--sky); }
.section-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy p { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.section-navy .eyebrow { color: var(--gold); }

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

.section-head p { font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(242, 165, 60, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(242, 165, 60, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.section-navy .btn-outline,
.cta-band .btn-outline,
.hero .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.section-navy .btn-outline:hover,
.cta-band .btn-outline:hover,
.hero .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-block { width: 100%; }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 46px;
  width: auto;
}

.brand-text {
  font-family: var(--font-head);
  line-height: 1.1;
}
.brand-text .line1 {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand-text .line2 {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--blue);
  font-family: var(--font-body);
  font-weight: 600;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-cta .btn { padding: 11px 24px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 84vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 65%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11,31,51,0.96) 0%, rgba(15,41,66,0.9) 30%, rgba(22,58,95,0.62) 65%, rgba(22,58,95,0.4) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-content { max-width: 640px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero .tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero p.lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
  margin-bottom: 34px;
}

.page-hero {
  position: relative;
  padding: 150px 0 70px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,165,60,0.28) 0%, rgba(242,165,60,0) 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; font-size: 1.08rem; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--sky);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
}
.trust-item .mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sky-mid);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Service block (image + text alternating) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-media { order: 2; }
.service-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.service-text ul {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
}
.service-text ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.service-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--sky-mid);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.note-box {
  background: var(--sky);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 30px; padding: 44px 0; }
  .service-block.reverse .service-media { order: 0; }
}

/* ---------- List sections (About page) ---------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
}
.check-list li strong { color: var(--navy); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px; top: 9px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--navy-dark);
  border-bottom: 2px solid var(--navy-dark);
  transform: rotate(45deg);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
}
.pill {
  background: var(--sky-mid);
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.92rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 34px; }
}
.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sky-mid);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--navy-dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 26px 24px;
  color: var(--ink-soft);
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ---------- Booking page ---------- */
.session-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .session-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .session-grid { grid-template-columns: 1fr; }
}
.session-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.session-card .num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sky-mid);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
}
.session-card h3 { font-size: 1.05rem; margin-bottom: 0; }

.booking-embed {
  background: var(--sky);
  border: 2px dashed var(--blue-light);
  border-radius: var(--radius);
  padding: 70px 30px;
  text-align: center;
  color: var(--navy);
}
.booking-embed h3 { margin-bottom: 10px; }
.booking-embed p { max-width: 480px; margin: 0 auto 22px; }

.before-book {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.before-book li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}
.before-book li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-detail {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--sky-mid);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail h4 { margin: 0 0 4px; color: var(--navy); font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-detail p { margin: 0; color: var(--ink); }
.contact-detail a:hover { color: var(--blue); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
@media (max-width: 560px) {
  .form-card { padding: 26px; }
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63, 124, 176, 0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.two-field {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 560px) {
  .two-field { grid-template-columns: 1fr; gap: 0; }
}
.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 14px;
}
.form-success {
  display: none;
  background: var(--sky);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 20px;
  font-size: 0.92rem;
  color: var(--navy);
}
.form-success.show { display: block; }

/* ---------- Closing CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: -180px;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,165,60,0.25) 0%, rgba(242,165,60,0) 70%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 34px; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}
.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
}

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.center-btn { display: flex; justify-content: center; }
