/* =========================================================
   Hisparadise Therapy — Core Stylesheet
   Mobile-first. Breakpoints and overrides live in responsive.css.
   ========================================================= */

:root {
  --primary-color: #236555;
  --primary-dark: #184a3f;
  --primary-light: #e8f2ef;
  --button-color: #e87247;
  --button-color-dark: #d15f36;
  --text-color: #22302c;
  --text-muted: #5b6b66;
  --bg-color: #ffffff;
  --bg-alt: #f7faf9;
  --border-color: #e3ebe8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(20, 40, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 40, 34, 0.10);
  --max-width: 1180px;
  --header-height: 76px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; color: var(--text-color); }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 3px solid #ffb997; outline-offset: 2px; }

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

.btn-outline {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-outline:hover { background: var(--primary-light); color: var(--primary-color); }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 500;
  background: rgba(255, 255, 255, 0.99);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--text-color);
  min-width: 0;
  flex-shrink: 1;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 42px;
  width: auto;
  max-width: 46vw;
  display: block;
}
.brand-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
}
.primary-nav a:hover { color: var(--primary-color); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-color);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  padding: 10px 0;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-color); }
.crumb-sep { margin: 0 8px; color: var(--text-muted); }
.breadcrumbs [aria-current="page"] { color: var(--text-color); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--primary-light) 0%, #ffffff 65%);
  padding: 56px 0 48px;
}
.hero-inner { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 { font-size: 2.1rem; max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero-lead { font-size: 1.05rem; color: var(--text-muted); max-width: 56ch; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-media { width: 100%; max-width: 480px; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Page header (non-home pages) ---------- */
.page-hero {
  background: var(--bg-alt);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}
.page-hero h1 { margin-bottom: 10px; font-size: 1.8rem; }
.page-hero p { color: var(--text-muted); max-width: 65ch; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 60ch; margin: 0 auto 32px; }

/* ---------- Spotlight cards (Relationship/Marriage & Couples Support) ---------- */
.spotlight-section { position: relative; }
.spotlight-eyebrow { display: table; margin: 0 auto 16px; }
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 8px;
}
.spotlight-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border-top: 4px solid var(--primary-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.spotlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20, 40, 34, 0.14);
}
.spotlight-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.spotlight-card-alt { border-top-color: var(--button-color); }
.spotlight-card-alt::after {
  background: radial-gradient(circle, #fdeae0 0%, transparent 70%);
}
.spotlight-card > * { position: relative; z-index: 1; }
.spotlight-index {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-light);
  z-index: 0;
  line-height: 1;
}
.spotlight-card-alt .spotlight-index { color: #fdeae0; }
.spotlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 8px 20px rgba(35, 101, 85, 0.3);
  margin-bottom: 18px;
}
.spotlight-icon-alt {
  background: linear-gradient(135deg, var(--button-color), var(--button-color-dark));
  box-shadow: 0 8px 20px rgba(232, 114, 71, 0.3);
}
.spotlight-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.spotlight-card .check-list { margin: 18px 0 22px; }
.spotlight-link { font-weight: 700; }

@media (min-width: 1024px) {
  .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-card { padding: 44px 40px 36px; }
}

/* ---------- Listing (Relationship, Marriage & Couples Support) ---------- */
.listing {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.listing-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.15s ease;
}
.listing-item:last-child { border-bottom: none; }
.listing-item:hover { background: var(--bg-alt); }
.listing-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  background: var(--primary-light);
}
.listing-text h3 { margin-bottom: 4px; font-size: 1.05rem; }
.listing-text h3 a { color: var(--text-color); }
.listing-text h3 a:hover { color: var(--primary-color); text-decoration: none; }
.listing-text p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

@media (min-width: 640px) {
  .listing-item { padding: 26px 32px; }
}

/* ---------- Grids & Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card h3 { color: var(--primary-color); }
.card a.card-link { font-weight: 600; }

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- Lists with checks ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 800;
}

/* ---------- Steps (How it works) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 20px; }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 22px 22px 64px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}
.faq-icon { color: var(--primary-color); font-size: 1.3rem; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 4px;
}
.faq-answer p { color: var(--text-muted); padding-bottom: 16px; }
.faq-question[aria-expanded="true"] + .faq-answer { max-height: 600px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 20px;
}
.cta-band-inner { text-align: center; padding: 40px 20px; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.cta-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 0;
  margin-top: 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 32px;
}
.footer-logo { height: 40px; width: auto; max-width: 240px; display: block; margin-bottom: 10px; }
.footer-tagline { color: #cfe3dc; font-weight: 600; margin-bottom: 12px; }
.footer-positioning { color: rgba(255,255,255,0.75); max-width: 42ch; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 20px; }
.footer-contact li { margin-bottom: 6px; color: rgba(255,255,255,0.85); }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-col h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.footer-disclaimer-note a { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* ---------- WhatsApp floating button (every page) ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  color: #fff;
  text-decoration: none;
}
.whatsapp-float:focus-visible {
  outline: 3px solid #128c7e;
  outline-offset: 3px;
}
body.nav-open .whatsapp-float { display: none; }

/* ---------- WhatsApp contact form ---------- */
.whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}
.whatsapp-form label { font-weight: 600; font-size: 0.9rem; margin-top: 10px; }
.whatsapp-form label:first-child { margin-top: 0; }
.whatsapp-form input,
.whatsapp-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-color);
  resize: vertical;
}
.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.whatsapp-submit {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  border-color: #25d366;
}
.whatsapp-submit:hover { background: #1fb855; border-color: #1fb855; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tag-list li {
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.disclaimer-box {
  background: #fff7ed;
  border: 1px solid #f3d9bd;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.disclaimer-box p { margin: 0; color: #7a4a1e; }
.form-note { color: var(--text-muted); font-size: 0.9rem; }
.state-grid, .city-grid, .service-grid, .article-grid, .resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.stat-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin: 24px 0; }
.stat-item { text-align: center; }
.stat-number { font-size: 1.6rem; font-weight: 800; color: var(--primary-color); display: block; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; }
