/* Base styles for the service pages (online couples therapy, online anxiety and depression therapy).
   Values are lifted from the home page's inline <style> so the pages match it. Loaded together with
   shared.css. The home page does not load this file. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --sage: #7a9e9f; --sage-light: #b2cece; --sage-dark: #4a6e6f;
  --cream: #f7f4ef; --warm-white: #fdfcfa;
  --text-dark: #2c3e3e; --text-mid: #4a5e5e; --text-light: #7a9090;
  --accent: #c9a96e;
}
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--warm-white); font-size: 16px; line-height: 1.7; }

/* ---------- Nav ---------- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 4rem; background: rgba(253,252,250,0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(122,158,159,0.15); -webkit-transform: translateZ(0); transform: translateZ(0); }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--text-dark); text-decoration: none; letter-spacing: 0.02em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-mid); font-size: 0.85rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--sage-dark); }
.nav-cta { background: var(--sage-dark); color: white !important; padding: 0.6rem 1.4rem; border-radius: 2rem; font-size: 0.82rem !important; transition: background 0.2s; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--sage) !important; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--text-dark); cursor: pointer; line-height: 1; padding: 0.2rem; }

.crumbs { padding: 5.2rem 4rem 0.8rem; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-light); background: var(--warm-white); border-bottom: 1px solid rgba(122,158,159,0.12); }
.crumbs a { color: var(--sage-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Hero (the home page hero gradient, shorter) ---------- */
#hero { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2c4a4e 0%, #4a7a7e 40%, #7aacac 70%, #b2cece 100%); position: relative; overflow: hidden; text-align: center; padding: 4.5rem 2rem 4.5rem; min-height: 540px; }
#hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(201,169,110,0.12) 0%, transparent 60%); }
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 1.5rem; font-weight: 400; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 300; color: #fff; line-height: 1.2; margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--sage-light); }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2rem; font-weight: 300; line-height: 1.8; }
.hero-badges { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero-badge { font-size: 0.78rem; color: rgba(255,255,255,0.7); letter-spacing: 0.06em; display: flex; align-items: center; gap: 0.4rem; }
.hero-badge::before { content: '\2726'; color: var(--accent); font-size: 0.6rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: #fff; padding: 0.9rem 2.2rem; border-radius: 3rem; text-decoration: none; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; transition: all 0.25s; display: inline-block; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.btn-primary:hover { background: #b8924a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-secondary { border: 1px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); padding: 0.9rem 2.2rem; border-radius: 3rem; text-decoration: none; font-size: 0.88rem; font-weight: 400; letter-spacing: 0.04em; transition: all 0.25s; display: inline-block; }
.btn-secondary:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
.btn-primary:focus-visible, .btn-secondary:focus-visible, .btn-book:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Sections ---------- */
section { padding: 3.5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.8rem; font-weight: 500; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--text-dark); line-height: 1.25; margin-bottom: 1.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 2rem; }
.two-col.photo-left { grid-template-columns: minmax(0, 360px) 1fr; gap: 4rem; }
.text p { color: var(--text-mid); margin-bottom: 1.2rem; font-size: 1.02rem; }
.issues-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.approach-tags { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.approach-tag { background: var(--cream); border: 1px solid var(--sage-light); color: var(--sage-dark); font-size: 0.8rem; padding: 0.35rem 0.9rem; border-radius: 2rem; letter-spacing: 0.04em; display: inline-block; }
.quote-panel { border-radius: 2px; min-height: 320px; background: linear-gradient(135deg, #2c4a4e 0%, #4a7a7e 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.quote-panel .q { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-style: italic; font-weight: 300; line-height: 1.5; color: #fff; }
.quote-panel .a { margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* Roy's photo in "My approach" */
.approach-photo { margin: 0; }
.approach-photo img { width: 100%; height: auto; display: block; border-radius: 2px; }
.approach-photo figcaption { padding: 1rem 0 0; }
.approach-photo .name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--text-dark); }
.approach-photo .title { color: var(--text-light); font-size: 0.78rem; letter-spacing: 0.08em; margin-top: 0.2rem; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.step { text-align: center; padding: 2rem 1.5rem; background: var(--cream); border-radius: 2px; }
.step-number { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: var(--sage-light); line-height: 1; margin-bottom: 1rem; }
.step h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--text-dark); margin-bottom: 0.8rem; }
.step p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ---------- Fees ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.service-card { border: 1px solid rgba(122,158,159,0.2); padding: 2rem 1.75rem; border-radius: 2px; transition: all 0.25s; display: flex; flex-direction: column; background: var(--warm-white); }
.service-card:hover { border-color: var(--sage); box-shadow: 0 8px 32px rgba(74,110,111,0.08); }
.service-card.featured { background: var(--sage-dark); border-color: var(--sage-dark); }
.service-card.featured .service-name,
.service-card.featured .service-duration,
.service-card.featured .service-features li { color: white !important; }
.service-card.featured .service-price { color: var(--accent) !important; }
.service-card.featured .service-features li { border-bottom-color: rgba(255,255,255,0.1) !important; }
.service-card.featured .service-features li::before { color: var(--sage-light) !important; }
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: var(--text-dark); margin-bottom: 0.5rem; }
.service-price { font-size: 1.5rem; font-weight: 300; color: var(--accent); margin-bottom: 0.3rem; }
.service-duration { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.5rem; }
.service-features { list-style: none; margin-bottom: 2rem; flex: 1; }
.service-features li { font-size: 0.88rem; color: var(--text-mid); padding: 0.4rem 0; border-bottom: 1px solid rgba(122,158,159,0.1); display: flex; align-items: center; gap: 0.5rem; }
.service-features li::before { content: '\2713'; color: var(--sage); font-size: 0.75rem; }
.btn-book { display: block; text-align: center; padding: 0.8rem; border: 1px solid var(--sage); color: var(--sage-dark); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.06em; border-radius: 2rem; transition: all 0.2s; cursor: pointer; background: none; width: 100%; font-family: 'Inter', sans-serif; }
.btn-book:hover { background: var(--sage-dark); color: white; border-color: var(--sage-dark); }
.service-card.featured .btn-book { background: var(--accent); border-color: var(--accent); color: white; }
.service-card.featured .btn-book:hover { background: #b8924a; border-color: #b8924a; }
.fees-note { text-align: center; margin-top: 1.5rem; font-size: 0.82rem; color: var(--text-light); }

/* ---------- Further reading ---------- */
.read-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.read-card { border: 1px solid rgba(122,158,159,0.2); background: var(--warm-white); border-radius: 2px; display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.read-card:hover { border-color: var(--sage); box-shadow: 0 8px 32px rgba(74,110,111,0.08); }
.read-card:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 2px; }
.read-card-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.read-card.has-image { grid-column: 1 / -1; flex-direction: row; }
.read-card.has-image img { width: 45%; min-height: 260px; object-fit: cover; display: block; flex-shrink: 0; }
.read-card.has-image .read-card-body { justify-content: center; padding: 2.25rem; }
.read-card.has-image .read-title { font-size: 1.7rem; }
.read-cat { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); }
.read-title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; line-height: 1.35; color: var(--text-dark); }
.read-more { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--sage-dark); font-weight: 500; margin-top: auto; }

/* ---------- Book ---------- */
#book { background: var(--cream); text-align: center; }
.book-inner { max-width: 720px; margin: 0 auto; }
.book-inner > p { color: var(--text-mid); margin-bottom: 2rem; font-size: 1.05rem; }
.booking-details { display: flex; justify-content: center; gap: 1.2rem 2rem; margin: 2rem 0; flex-wrap: wrap; }
.booking-detail { text-align: center; }
.booking-detail-value { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--text-dark); }
.booking-detail-label { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; }
.also { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; justify-content: center; margin-top: 2.5rem; font-size: 0.9rem; color: var(--text-mid); }
.also a { color: var(--sage-dark); font-weight: 500; text-decoration: none; }
.also a:hover { text-decoration: underline; }
.support-note { margin-top: 1.5rem; font-size: 0.82rem; color: var(--text-light); }
.support-note a { color: var(--sage-dark); }

/* ---------- Footer (markup injected from /footer.html) ---------- */
footer { background: var(--text-dark); color: rgba(255,255,255,0.6); padding: 3rem 2rem; text-align: center; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; color: white; margin-bottom: 0.8rem; }
.footer-tagline { font-size: 0.82rem; font-style: italic; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; }
.footer-bacp { margin: 1.5rem auto; }
.footer-bacp img { max-height: 70px; width: auto; background: white; padding: 0.6rem 1rem; border-radius: 4px; }
.footer-links { display: flex; justify-content: center; gap: 2rem; list-style: none; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.06em; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-legal { font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.8; }

/* ---------- Booking modal ---------- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(20,40,40,0.75); z-index: 1000; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.active { display: flex; }
.modal-box { background: #fff; border-radius: 6px; width: 100%; max-width: 860px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; background: var(--sage-dark); color: #fff; flex-shrink: 0; }
.modal-header h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1.2rem; margin: 0; color: #fff; }
.modal-close { background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 0 0.25rem; opacity: 0.85; transition: opacity 0.2s; }
.modal-close:hover { opacity: 1; }
.modal-body { flex: 1; overflow-y: auto; padding: 0; }
.modal-body iframe { display: block; width: 100%; height: 780px; border: none; }
body.modal-open { overflow: hidden; }

/* ---------- Cookie banner (markup injected from /footer.html) ---------- */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--text-dark); color: rgba(255,255,255,0.85); padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; z-index: 2000; font-size: 0.85rem; flex-wrap: wrap; box-shadow: 0 -4px 20px rgba(0,0,0,0.2); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; line-height: 1.5; }
#cookie-banner a { color: var(--sage-light); }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept { background: var(--sage-dark); color: #fff; border: none; padding: 0.55rem 1.25rem; border-radius: 3px; cursor: pointer; font-size: 0.85rem; font-family: 'Inter', sans-serif; font-weight: 500; transition: opacity 0.2s; }
.cookie-accept:hover { opacity: 0.85; }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.3); padding: 0.55rem 1.25rem; border-radius: 3px; cursor: pointer; font-size: 0.85rem; font-family: 'Inter', sans-serif; transition: opacity 0.2s; }
.cookie-decline:hover { opacity: 0.75; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  nav { padding: 1.2rem 2rem; }
  .crumbs { padding-left: 2rem; padding-right: 2rem; }
  .nav-links { gap: 1.4rem; }
}
@media (max-width: 1180px) {
  nav { padding: 1rem 1.5rem; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); will-change: transform; }
  .menu-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; padding: 1.5rem 0; gap: 1.5rem; text-align: center; background: rgba(253,252,250,0.98); position: fixed; top: 57px; left: 0; right: 0; border-bottom: 1px solid rgba(122,158,159,0.15); box-shadow: 0 10px 20px rgba(0,0,0,0.05); z-index: 99; max-height: calc(100vh - 57px); overflow-y: auto; }
  .nav-links.active { display: flex; }
  .crumbs { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 768px) {
  .crumbs { padding-top: 4.6rem; }
  .two-col, .two-col.photo-left { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid, .services-grid { grid-template-columns: 1fr; }
  .read-grid { grid-template-columns: 1fr; }
  .read-card.has-image { flex-direction: column; }
  .read-card.has-image img { width: 100%; min-height: 0; height: 200px; }
  .read-card.has-image .read-card-body { padding: 1.75rem; }
  .faq-inner { padding: 0 1.5rem; }
  .approach-photo { max-width: 320px; }
}
