/*
Theme Name: Harsh Hospitals
Theme URI: https://harshhospitals.com
Author: Harsh Hospitals
Description: Premium gynecology, maternity & laparoscopy hospital theme for Harsh Hospitals, Himatnagar. Mobile-optimized, conversion-focused. Warm magenta & cream aesthetic matched to the hospital logo, with Fraunces + Hanken Grotesk typography.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: harsh-hospitals
Tags: healthcare, hospital, gynecology, maternity, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS
   Palette derived from the Harsh Hospitals logo: magenta/plum primary,
   coral accent, mint support. The instructions' --hh-* variable names are
   kept, so any pasted page HTML that references them renders correctly.
   ========================================================================== */
:root {
  /* Brand — magenta/plum from the logo */
  --hh-primary:        #692956;  /* Magenta/plum — buttons, headings, dark sections */
  --hh-primary-dark:   #531F42;  /* Hover states */
  --hh-primary-light:  #9E4C82;  /* Highlights / soft magenta */
  --hh-primary-wash:   #F7E6EF;  /* Tinted backgrounds (icon chips) */

  /* Secondary / accent — coral from the logo */
  --hh-secondary:      #F8C9C9;  /* Soft coral — backgrounds, cards */
  --hh-secondary-wash: #FDECEC;
  --hh-accent:         #F06060;  /* Coral — warm accent, icons, eyebrows */
  --hh-accent-soft:    #F8C9C9;

  /* Support — mint/teal from the logo */
  --hh-sky:            #2E9E86;
  --hh-sky-soft:       #9BD9C9;
  --hh-sky-wash:       #E4F4EF;

  /* Neutrals */
  --hh-cream:          #FAF7F2;  /* Page background */
  --hh-white:          #FFFFFF;
  --hh-ink:            #2A1320;  /* Body copy (deep plum-ink) */
  --hh-text-dark:      #2A1320;
  --hh-text-mute:      #7A5C68;  /* Sub-text (muted plum) */

  /* Utility */
  --hh-gold:           #D4A574;  /* Premium accent (use sparingly) */
  --hh-success:        #2C8B6B;
  --hh-whatsapp:       #25D366;  /* WhatsApp brand green — kept intentionally */

  /* Effects */
  --hh-shadow:         rgba(42, 19, 32, 0.12);
  --hh-shadow-soft:    0 2px 4px -2px rgba(42,19,32,.08), 0 12px 32px -8px rgba(42,19,32,.10);
  --hh-shadow-lift:    0 8px 16px -6px rgba(42,19,32,.12), 0 24px 60px -12px rgba(42,19,32,.18);
  --hh-shadow-glow:    0 18px 60px -12px rgba(105,41,86,.35);

  /* Geometry */
  --hh-radius:         1.25rem;
  --hh-radius-lg:      2rem;
  --hh-radius-xl:      2.75rem;
  --hh-radius-pill:    50px;

  /* Layout */
  --hh-container:      1200px;
  --hh-container-wide: 1320px;

  /* Type */
  --hh-font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --hh-font-body:    'Hanken Grotesk', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--hh-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--hh-ink);
  background: var(--hh-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;          /* No horizontal scroll, ever */
}

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

a { color: var(--hh-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hh-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hh-font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--hh-ink);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
li { margin-bottom: .5rem; }

strong, b { font-weight: 700; }

:focus-visible { outline: 3px solid var(--hh-primary); outline-offset: 2px; border-radius: 6px; }

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.hh-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--hh-primary); color: #fff;
  padding: 12px 20px; border-radius: 0 0 10px 0; font-weight: 600;
}
.hh-skip-link:focus { left: 0; color:#fff; }

/* ==========================================================================
   3. TYPOGRAPHY SCALE (mobile-first; desktop sizes in responsive.css)
   ========================================================================== */
h1 { font-size: 1.9rem; }   /* 28px-ish mobile */
h2 { font-size: 1.55rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

.hh-eyebrow {
  display: inline-block;
  font-family: var(--hh-font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hh-accent);
  margin-bottom: .6rem;
}

.hh-lead {
  font-size: 1.12rem;
  color: var(--hh-text-mute);
  line-height: 1.6;
}

/* ==========================================================================
   4. BUTTONS / CTAs
   ========================================================================== */
.hh-btn {
  padding: 14px 30px;
  border-radius: var(--hh-radius-pill);
  font-weight: 600;
  font-family: var(--hh-font-body);
  font-size: .98rem;
  letter-spacing: .2px;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
  min-height: 48px;              /* touch target */
  text-align: center;
}

.hh-btn-primary       { background: var(--hh-primary); color: #fff; box-shadow: var(--hh-shadow-soft); }
.hh-btn-primary:hover { background: var(--hh-primary-dark); color:#fff; transform: translateY(-2px); box-shadow: var(--hh-shadow-glow); }

.hh-btn-accent        { background: var(--hh-accent); color: #fff; box-shadow: var(--hh-shadow-soft); }
.hh-btn-accent:hover  { background: #c5705f; color:#fff; transform: translateY(-2px); }

.hh-btn-outline       { background: transparent; color: var(--hh-primary); border-color: var(--hh-primary); }
.hh-btn-outline:hover { background: var(--hh-primary); color: #fff; transform: translateY(-2px); }

.hh-btn-whatsapp      { background: var(--hh-whatsapp); color: #fff; }
.hh-btn-whatsapp:hover{ background: #1da851; color:#fff; transform: translateY(-2px); }

.hh-btn-white         { background: #fff; color: var(--hh-primary); box-shadow: var(--hh-shadow-soft); }
.hh-btn-white:hover   { background: var(--hh-cream); color: var(--hh-primary-dark); transform: translateY(-2px); }

.hh-btn-outline-white       { background: transparent; color:#fff; border-color: rgba(255,255,255,.6); }
.hh-btn-outline-white:hover { background: rgba(255,255,255,.12); color:#fff; }

.hh-btn-sm { padding: 10px 20px; font-size: .85rem; min-height: 40px; }
.hh-btn-block { width: 100%; }

.hh-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.5rem; }
.hh-cta-row.hh-cta-center { justify-content: center; }

/* ==========================================================================
   5. LAYOUT HELPERS for pasted page content (hh-row / hh-col-*)
   ========================================================================== */
.hh-row { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.hh-col-7, .hh-col-5, .hh-col-6, .hh-col-8, .hh-col-4 { min-width: 0; }

.hh-section { padding: 48px 0; }
.hh-section > .hh-section-title:first-child { margin-top: 0; }

.hh-section-title {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 2rem;
  position: relative;
}
.hh-section-title::after {
  content: ""; display: block; width: 56px; height: 3px;
  background: var(--hh-accent); border-radius: 3px;
  margin: .8rem auto 0;
}
.hh-section-title.hh-left { text-align: left; }
.hh-section-title.hh-left::after { margin-left: 0; }

/* Section backgrounds — full-bleed tint inside the constrained article column */
.hh-bg-cream { background: var(--hh-cream); border-radius: var(--hh-radius-lg); padding: 40px 28px; }
.hh-bg-pink  { background: linear-gradient(135deg, var(--hh-secondary-wash), var(--hh-primary-wash)); border-radius: var(--hh-radius-lg); padding: 40px 28px; }
.hh-bg-teal  { background: var(--hh-primary); color: #fff; border-radius: var(--hh-radius-lg); padding: 40px 28px; }
.hh-bg-teal h1, .hh-bg-teal h2, .hh-bg-teal h3, .hh-bg-teal h4 { color: #fff; }

.hh-rounded-img {
  border-radius: var(--hh-radius-lg);
  box-shadow: var(--hh-shadow-lift);
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   6. CARDS / GRIDS (pasted "What We Cure" etc.)
   ========================================================================== */
.hh-card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.hh-grid-2 { grid-template-columns: 1fr; }
.hh-grid-3 { grid-template-columns: 1fr; }
.hh-grid-4 { grid-template-columns: repeat(2, 1fr); }

.hh-card {
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 26px 24px;
  box-shadow: var(--hh-shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(42,19,32,.04);
}
.hh-card:hover { transform: translateY(-4px); box-shadow: var(--hh-shadow-lift); }
.hh-card h4 { margin: .2rem 0 .5rem; font-size: 1.12rem; }
.hh-card p { margin: 0; color: var(--hh-text-mute); font-size: .95rem; }

.hh-card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--hh-primary-wash);
  color: var(--hh-primary);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.hh-card:nth-child(3n+2) .hh-card-icon { background: var(--hh-secondary-wash); color: var(--hh-accent); }
.hh-card:nth-child(3n+3) .hh-card-icon { background: var(--hh-sky-wash); color: var(--hh-sky); }

/* Trust numbers */
.hh-mini-feature {
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--hh-shadow-soft);
}
.hh-mini-feature .hh-num {
  display: block;
  font-family: var(--hh-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--hh-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.hh-mini-feature p { margin: 0; font-size: .9rem; color: var(--hh-text-mute); }

/* ==========================================================================
   7. PROCESS LIST ("Our Approach")
   ========================================================================== */
.hh-process-list {
  list-style: none;
  counter-reset: hh-step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.hh-process-list li {
  counter-increment: hh-step;
  position: relative;
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 20px 22px 20px 70px;
  box-shadow: var(--hh-shadow-soft);
  margin: 0;
}
.hh-process-list li::before {
  content: counter(hh-step);
  position: absolute;
  left: 18px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--hh-primary);
  color: #fff;
  border-radius: 12px;
  font-family: var(--hh-font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.hh-process-list li strong { color: var(--hh-ink); }

/* ==========================================================================
   8. FAQ (native <details>)
   ========================================================================== */
.hh-faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.hh-faq details {
  background: #fff;
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(42,19,32,.05);
}
.hh-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-family: var(--hh-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  color: var(--hh-ink);
}
.hh-faq summary::-webkit-details-marker { display: none; }
.hh-faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; line-height: 28px; text-align: center;
  background: var(--hh-primary-wash); color: var(--hh-primary);
  border-radius: 50%; font-size: 1.25rem; font-family: var(--hh-font-body);
  transition: transform .25s ease;
}
.hh-faq details[open] summary::after { content: "\2212"; transform: translateY(-50%) rotate(180deg); }
.hh-faq details p { padding: 0 22px 20px; margin: 0; color: var(--hh-text-mute); }

/* ==========================================================================
   9. CTA BANNER (end of every page)
   ========================================================================== */
.hh-cta-banner {
  position: relative;
  background: var(--hh-primary);
  color: #fff;
  border-radius: var(--hh-radius-xl);
  padding: 44px 28px;
  text-align: center;
  margin: 48px 0 8px;
  overflow: hidden;
  box-shadow: var(--hh-shadow-glow);
}
.hh-cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(240,96,96,.30), transparent 60%),
    radial-gradient(55% 55% at 90% 90%, rgba(46,158,134,.28), transparent 60%);
}
.hh-cta-banner > * { position: relative; z-index: 1; }
.hh-cta-banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.hh-cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 1.3rem; }

/* ==========================================================================
   10. TABLE SCROLL WRAP (mobile)
   ========================================================================== */
.hh-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.2rem; border-radius: 12px; }
.hh-table-scroll table { width: 100%; border-collapse: collapse; min-width: 520px; }
.hh-table-scroll th, .hh-table-scroll td { padding: 12px 14px; border-bottom: 1px solid rgba(42,19,32,.08); text-align: left; }
.hh-table-scroll th { background: var(--hh-primary-wash); color: var(--hh-primary-dark); font-weight: 600; }

/* "What to expect" helper list */
.hh-check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.hh-check-list li { position: relative; padding-left: 30px; margin: 0; color: var(--hh-text-mute); }
.hh-check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--hh-primary-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23692956' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ==========================================================================
   11. THEME CHROME — Announcement bar, header, nav
   ========================================================================== */
.hh-announce {
  background: var(--hh-primary-dark);
  color: var(--hh-cream);
  font-size: .82rem;
  text-align: center;
}
.hh-announce .container { padding-block: 9px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hh-announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.hh-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250,247,242,.92);
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
  padding-block: 14px;
}
.hh-header.scrolled {
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(42,19,32,.06), 0 10px 30px -18px rgba(42,19,32,.25);
  padding-block: 8px;
}
.hh-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.hh-logo { display: inline-flex; align-items: center; gap: 12px; }
.hh-logo img { height: 50px; width: auto; }
.hh-logo .custom-logo { height: 50px; width: auto; }
.hh-logo-fallback {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--hh-font-display); font-weight: 700; font-size: 1.25rem; color: var(--hh-primary);
}
.hh-logo-fallback .mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--hh-primary); color: #fff;
}

/* Primary nav */
.hh-nav { display: none; align-items: center; gap: 26px; }
.hh-nav ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.hh-nav li { margin: 0; position: relative; }
.hh-nav a { color: rgba(22,48,46,.82); font-weight: 500; font-size: .96rem; position: relative; padding-block: 6px; }
.hh-nav a:hover, .hh-nav .current-menu-item > a, .hh-nav a[aria-current="page"] { color: var(--hh-primary); }
.hh-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--hh-primary); transition: width .3s ease;
}
.hh-nav > ul > li > a:hover::after,
.hh-nav > ul > li.current-menu-item > a::after { width: 100%; }

/* Dropdown / mega submenu */
.hh-nav ul ul,
.hh-nav .sub-menu {
  position: absolute; top: calc(100% + 14px); left: 0;
  min-width: 250px; background: #fff; border-radius: var(--hh-radius);
  padding: 8px; box-shadow: var(--hh-shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease; z-index: 60; display: block;
}
.hh-nav li:hover > ul,
.hh-nav li:focus-within > ul,
.hh-nav .menu-item-has-children:hover > .sub-menu,
.hh-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hh-nav .sub-menu li a, .hh-nav ul ul li a {
  display: block; padding: 10px 14px; border-radius: 12px; font-size: .92rem;
}
.hh-nav .sub-menu li a:hover, .hh-nav ul ul li a:hover { background: var(--hh-primary-wash); color: var(--hh-primary); }
.hh-nav .menu-item-has-children > a::before { /* caret */
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6;
}

/* Mega menu (2-col) for Treatments */
.hh-nav .hh-mega > .sub-menu { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.hh-header-actions { display: flex; align-items: center; gap: 10px; }
.hh-header-call { display: none; align-items: center; gap: 7px; font-weight: 600; color: var(--hh-primary); font-size: .92rem; }
.hh-header-call svg { width: 18px; height: 18px; }

.hh-menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: #fff; box-shadow: var(--hh-shadow-soft);
  border: none; cursor: pointer; color: var(--hh-ink);
}
.hh-menu-toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.hh-drawer-overlay {
  position: fixed; inset: 0; background: rgba(42,19,32,.5);
  opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 950;
}
.hh-drawer-overlay.open { opacity: 1; visibility: visible; }
.hh-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--hh-cream); z-index: 960; padding: 20px;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; box-shadow: -10px 0 40px -10px rgba(42,19,32,.3);
}
.hh-drawer.open { transform: translateX(0); }
.hh-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hh-drawer-close { background: #fff; border: none; width: 42px; height: 42px; border-radius: 12px; font-size: 1.4rem; cursor: pointer; box-shadow: var(--hh-shadow-soft); color: var(--hh-ink); }
.hh-drawer nav ul { list-style: none; padding: 0; margin: 0; }
.hh-drawer nav li { margin: 0; border-bottom: 1px solid rgba(42,19,32,.07); }
.hh-drawer nav a { display: block; padding: 13px 8px; font-weight: 500; color: var(--hh-ink); }
.hh-drawer nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 6px 12px; }
.hh-drawer nav .sub-menu a { font-size: .9rem; color: var(--hh-text-mute); padding: 9px 8px; }
.hh-drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

/* ==========================================================================
   12. PAGE BANNER + CONTENT GRID (page.php)
   ========================================================================== */
.hh-page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--hh-primary) 0%, var(--hh-primary-dark) 100%);
  color: #fff;
  padding: 54px 0 48px;
  overflow: hidden;
}
.hh-page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 12% 10%, rgba(240,96,96,.30), transparent 60%),
    radial-gradient(55% 60% at 92% 90%, rgba(46,158,134,.28), transparent 60%);
}
.hh-page-banner .container { position: relative; z-index: 1; }
.hh-page-banner h1 { color: #fff; font-size: 2rem; margin-bottom: .4rem; }
.hh-breadcrumb { font-size: .9rem; color: rgba(255,255,255,.78); }
.hh-breadcrumb a { color: #fff; text-decoration: none; }
.hh-breadcrumb a:hover { text-decoration: underline; }

.hh-page-content { padding: 44px 0 8px; }
.hh-page-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.hh-page-main { min-width: 0; }
.hh-page-main > section:first-child { margin-top: 0; }

/* Sidebar */
.hh-page-sidebar { display: grid; gap: 22px; align-content: start; }
.hh-widget {
  background: #fff; border-radius: var(--hh-radius-lg);
  padding: 24px; box-shadow: var(--hh-shadow-soft);
}
.hh-widget h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.hh-widget-treatments ul { list-style: none; padding: 0; margin: 0; }
.hh-widget-treatments li { margin: 0; border-bottom: 1px solid rgba(42,19,32,.07); }
.hh-widget-treatments li:last-child { border-bottom: none; }
.hh-widget-treatments a { display: flex; align-items: center; gap: 8px; padding: 11px 4px; color: var(--hh-ink); font-size: .94rem; font-weight: 500; }
.hh-widget-treatments a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hh-accent); flex: none; }
.hh-widget-treatments a:hover { color: var(--hh-primary); padding-left: 8px; }

.hh-widget-contact { background: var(--hh-primary); color: #fff; }
.hh-widget-contact h3 { color: #fff; }
.hh-widget-contact .hh-contact-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: .92rem; color: rgba(255,255,255,.9); }
.hh-widget-contact .hh-contact-row a { color: #fff; }
.hh-widget-contact svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--hh-accent-soft); }

.hh-mini-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--hh-ink); }
.hh-mini-form input, .hh-mini-form select, .hh-mini-form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 12px;
  border: 1px solid rgba(42,19,32,.14); border-radius: 12px;
  background: var(--hh-cream); font-family: inherit; font-size: .95rem; color: var(--hh-ink);
}
.hh-mini-form input:focus, .hh-mini-form select:focus, .hh-mini-form textarea:focus {
  outline: none; border-color: var(--hh-primary); background: #fff;
}
.hh-sticky-sidebar { position: sticky; top: 96px; }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.hh-newsletter {
  background: var(--hh-primary);
  color: #fff;
  padding: 40px 0;
}
.hh-newsletter .container { display: grid; gap: 18px; align-items: center; }
.hh-newsletter h3 { color: #fff; margin: 0; font-size: 1.4rem; }
.hh-newsletter p { color: rgba(255,255,255,.8); margin: .3rem 0 0; }
.hh-newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.hh-newsletter input[type=email] {
  flex: 1 1 220px; padding: 14px 18px; border-radius: var(--hh-radius-pill);
  border: none; font-family: inherit; font-size: .95rem;
}

.hh-footer { background: var(--hh-ink); color: rgba(250,247,242,.72); }
.hh-footer-main { padding: 56px 0 40px; display: grid; gap: 36px; grid-template-columns: 1fr; }
.hh-footer h4 { color: #fff; font-family: var(--hh-font-body); font-size: 1rem; font-weight: 600; margin-bottom: 16px; letter-spacing: .02em; }
.hh-footer ul { list-style: none; padding: 0; margin: 0; }
.hh-footer li { margin-bottom: 10px; }
.hh-footer a { color: rgba(250,247,242,.66); font-size: .92rem; }
.hh-footer a:hover { color: #fff; }
.hh-footer-about p { font-size: .92rem; color: rgba(250,247,242,.6); max-width: 32ch; }
.hh-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--hh-font-display); font-size: 1.25rem; font-weight: 700; color: #fff; }
.hh-footer-brand .mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--hh-primary); color: #fff; }
.hh-social { display: flex; gap: 10px; margin-top: 18px; }
.hh-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .25s ease; }
.hh-social a:hover { background: var(--hh-primary); }
.hh-social svg { width: 19px; height: 19px; }
.hh-footer-contact .hh-contact-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .9rem; }
.hh-footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--hh-primary-light); }
.hh-footer-map { margin-top: 14px; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; background: rgba(255,255,255,.06); }
.hh-footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.hh-footer-bottom { background: var(--hh-primary-dark); }
.hh-footer-bottom .container { padding-block: 18px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; font-size: .85rem; color: rgba(250,247,242,.7); }
.hh-footer-bottom a { color: rgba(250,247,242,.8); }
.hh-footer-bottom nav { display: flex; gap: 18px; }

/* ==========================================================================
   14. FLOATING ACTIONS + MOBILE CTA BAR
   ========================================================================== */
.hh-floats { position: fixed; right: 16px; bottom: 84px; z-index: 800; display: flex; flex-direction: column; gap: 12px; }
.hh-float {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  color: #fff; box-shadow: var(--hh-shadow-lift); transition: transform .2s ease;
}
.hh-float:hover { transform: scale(1.07); color:#fff; }
.hh-float svg { width: 26px; height: 26px; }
.hh-float-wa { background: var(--hh-whatsapp); }
.hh-float-call { background: var(--hh-primary); }

.hh-to-top {
  position: fixed; right: 16px; bottom: 150px; z-index: 790;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--hh-primary); box-shadow: var(--hh-shadow-lift);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease;
}
.hh-to-top.show { opacity: 1; visibility: visible; transform: none; }
.hh-to-top svg { width: 20px; height: 20px; }

.hh-mobile-cta-bar { display: none; }
.hh-mobile-cta-bar a { text-decoration: none; }

/* ==========================================================================
   15. HOMEPAGE (front-page.php) SECTIONS
   ========================================================================== */
.hh-hero {
  position: relative; overflow: hidden;
  background: var(--hh-cream);
}
.hh-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 8%, rgba(46,158,134,.22) 0%, transparent 60%),
    radial-gradient(55% 50% at 92% 18%, rgba(240,96,96,.20) 0%, transparent 62%),
    radial-gradient(70% 60% at 78% 95%, rgba(105,41,86,.16) 0%, transparent 60%);
  animation: hh-drift 16s ease-in-out infinite alternate;
}
.hh-hero .container { position: relative; z-index: 1; padding-block: 44px; }
.hh-hero-grid { display: grid; gap: 36px; align-items: center; }
.hh-hero .hh-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.75); backdrop-filter: blur(6px);
  padding: 7px 16px; border-radius: var(--hh-radius-pill);
  font-size: .85rem; font-weight: 600; color: var(--hh-primary); box-shadow: var(--hh-shadow-soft);
}
.hh-hero .hh-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hh-accent); }
.hh-hero h1 { font-size: 2.4rem; margin: 18px 0 14px; }
.hh-hero h1 em { font-style: italic; color: var(--hh-primary); }
.hh-hero p { font-size: 1.1rem; color: var(--hh-text-mute); max-width: 34ch; }
.hh-hero-media { position: relative; }
.hh-hero-media .img-wrap { aspect-ratio: 4/5; border-radius: var(--hh-radius-xl); overflow: hidden; box-shadow: var(--hh-shadow-lift); background: var(--hh-primary-wash); }
.hh-hero-media .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hh-hero-badge-float {
  position: absolute; bottom: -18px; left: 10px;
  background: #fff; border-radius: var(--hh-radius-lg); padding: 16px 20px;
  box-shadow: var(--hh-shadow-lift); width: 200px;
  animation: hh-floaty 5s ease-in-out infinite;
}
.hh-hero-badge-float .big { font-family: var(--hh-font-display); font-size: 1.7rem; font-weight: 700; color: var(--hh-primary); }
.hh-hero-badge-float p { font-size: .85rem; margin: 4px 0 0; }

/* Hero slider */
.hh-slides { position: relative; }
.hh-slide { display: none; }
.hh-slide.active { display: block; animation: hh-fade .6s ease; }
.hh-slider-dots { display: flex; gap: 8px; margin-top: 22px; }
.hh-slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(42,19,32,.2); cursor: pointer; padding: 0; }
.hh-slider-dots button.active { background: var(--hh-primary); width: 26px; border-radius: 6px; }

/* Stat strip */
.hh-stats { background: rgba(255,255,255,.6); border-block: 1px solid rgba(42,19,32,.06); }
.hh-stats .container { padding-block: 36px; display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; text-align: center; }
.hh-stat .statnum { font-family: var(--hh-font-display); font-size: 2.1rem; font-weight: 700; color: var(--hh-primary); display: block; }
.hh-stat p { margin: 4px 0 0; font-size: .88rem; color: var(--hh-text-mute); }

.hh-home-section { padding: 56px 0; }
.hh-home-section .hh-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.hh-home-section .hh-head.hh-left { text-align: left; margin-inline: 0; }
.hh-home-section h2 { font-size: 1.85rem; }

.hh-conditions-grid, .hh-why-grid, .hh-cats-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

.hh-cond-card {
  background: #fff; border-radius: var(--hh-radius-lg); padding: 28px 24px;
  box-shadow: var(--hh-shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
  display: block; color: inherit;
}
.hh-cond-card:hover { transform: translateY(-5px); box-shadow: var(--hh-shadow-lift); color: inherit; }
.hh-cond-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--hh-primary-wash); color: var(--hh-primary); margin-bottom: 16px; }
.hh-cond-icon svg { width: 28px; height: 28px; }
.hh-cond-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.hh-cond-card p { color: var(--hh-text-mute); font-size: .94rem; margin-bottom: .8rem; }
.hh-cond-card .more { font-weight: 600; font-size: .9rem; color: var(--hh-primary); display: inline-flex; align-items: center; gap: 5px; }

.hh-cats-grid { grid-template-columns: repeat(2,1fr); }
.hh-cat {
  background: #fff; border-radius: var(--hh-radius); padding: 20px 16px; text-align: center;
  box-shadow: var(--hh-shadow-soft); color: var(--hh-ink); font-weight: 600; font-size: .92rem;
  transition: all .25s ease;
}
.hh-cat:hover { background: var(--hh-primary); color: #fff; transform: translateY(-3px); }
.hh-cat .ic { font-size: 1.8rem; display: block; margin-bottom: 8px; }

.hh-why { background: var(--hh-primary); color: #fff; position: relative; overflow: hidden; }
.hh-why h2 { color: #fff; }
.hh-why .hh-head p { color: rgba(255,255,255,.8); }
.hh-why-grid { grid-template-columns: 1fr; }
.hh-usp { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--hh-radius-lg); padding: 26px 22px; }
.hh-usp .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.12); color: #fff; margin-bottom: 14px; }
.hh-usp .ic svg { width: 26px; height: 26px; }
.hh-usp h3 { color: #fff; font-size: 1.15rem; }
.hh-usp p { color: rgba(255,255,255,.78); font-size: .93rem; margin: 0; }

/* Doctor card */
.hh-doctor { display: grid; gap: 30px; align-items: center; grid-template-columns: 1fr; }
.hh-doctor-media { border-radius: var(--hh-radius-xl); overflow: hidden; box-shadow: var(--hh-shadow-lift); aspect-ratio: 3/4; background: var(--hh-primary-wash); }
.hh-doctor-media img { width: 100%; height: 100%; object-fit: cover; }
.hh-doctor-body .creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.hh-doctor-body .creds span { background: var(--hh-primary-wash); color: var(--hh-primary-dark); font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: var(--hh-radius-pill); }

/* Testimonials */
.hh-testi-track { display: grid; gap: 20px; grid-template-columns: 1fr; }
.hh-testi {
  background: #fff; border-radius: var(--hh-radius-lg); padding: 28px 26px; box-shadow: var(--hh-shadow-soft);
}
.hh-testi .stars { color: var(--hh-accent); margin-bottom: 12px; letter-spacing: 2px; }
.hh-testi blockquote { font-family: var(--hh-font-display); font-size: 1.05rem; line-height: 1.6; color: var(--hh-ink); margin: 0 0 18px; }
.hh-testi .who { display: flex; align-items: center; gap: 12px; }
.hh-testi .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--hh-secondary); flex: none; }
.hh-testi .who b { display: block; font-size: .95rem; }
.hh-testi .who span { font-size: .82rem; color: var(--hh-text-mute); }

/* Blog cards */
.hh-blog-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.hh-post-card { background: #fff; border-radius: var(--hh-radius-lg); overflow: hidden; box-shadow: var(--hh-shadow-soft); transition: box-shadow .25s ease; }
.hh-post-card:hover { box-shadow: var(--hh-shadow-lift); }
.hh-post-thumb { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--hh-primary-wash), var(--hh-sky-wash)); }
.hh-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hh-post-body { padding: 20px 22px; }
.hh-post-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; margin-bottom: 8px; }
.hh-post-meta .cat { background: var(--hh-primary-wash); color: var(--hh-primary); padding: 3px 10px; border-radius: var(--hh-radius-pill); font-weight: 600; }
.hh-post-meta .date { color: var(--hh-text-mute); }
.hh-post-body h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.hh-post-body p { font-size: .92rem; color: var(--hh-text-mute); margin: 0; }

/* Home appointment + map */
.hh-appoint { background: var(--hh-cream); }
.hh-appoint-grid { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: stretch; }
.hh-appoint-media { border-radius: var(--hh-radius-xl); overflow: hidden; min-height: 280px; background: var(--hh-primary-wash); }
.hh-appoint-media img { width: 100%; height: 100%; object-fit: cover; }
.hh-appoint-form { background: #fff; border-radius: var(--hh-radius-xl); padding: 30px; box-shadow: var(--hh-shadow-soft); }
.hh-form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.hh-form-grid label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }
.hh-form-grid input, .hh-form-grid select, .hh-form-grid textarea {
  width: 100%; padding: 13px 15px; border: 1px solid rgba(42,19,32,.14);
  border-radius: 14px; background: var(--hh-cream); font-family: inherit; font-size: .95rem; color: var(--hh-ink);
}
.hh-form-grid input:focus, .hh-form-grid select:focus, .hh-form-grid textarea:focus { outline: none; border-color: var(--hh-primary); background: #fff; }
.hh-form-grid .full { grid-column: 1 / -1; }
.hh-form-note { font-size: .82rem; color: var(--hh-text-mute); margin-top: 6px; }

/* Invalid field state (set by form-validation.js) */
.hh-field-error { border-color: #d6534a !important; background: #fdf3f2 !important; }

/* ==========================================================================
   16. BLOG / ARCHIVE / SINGLE / 404 / SEARCH
   ========================================================================== */
.hh-content-area { padding: 44px 0; }
.hh-post { background: #fff; border-radius: var(--hh-radius-lg); overflow: hidden; box-shadow: var(--hh-shadow-soft); margin-bottom: 26px; }
.hh-post .hh-post-inner { padding: 26px; }
.hh-single article { background: #fff; border-radius: var(--hh-radius-lg); padding: 32px; box-shadow: var(--hh-shadow-soft); }
.hh-single .entry-content h2 { margin-top: 1.6rem; }
.hh-single .entry-content img { border-radius: var(--hh-radius); margin: 1.2rem 0; }
.hh-pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.hh-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: #fff; box-shadow: var(--hh-shadow-soft); color: var(--hh-ink); font-weight: 600; }
.hh-pagination .page-numbers.current, .hh-pagination .page-numbers:hover { background: var(--hh-primary); color: #fff; }

.hh-searchform { display: flex; gap: 8px; }
.hh-searchform input[type=search] { flex: 1; padding: 12px 16px; border-radius: var(--hh-radius-pill); border: 1px solid rgba(42,19,32,.14); font-family: inherit; }
.hh-searchform button { border: none; cursor: pointer; }

.hh-404 { text-align: center; padding: 70px 0; }
.hh-404 .big { font-family: var(--hh-font-display); font-size: 5rem; color: var(--hh-primary); line-height: 1; }

/* WordPress core alignment + caption helpers */
.alignleft { float: left; margin: 0 1.4rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.4rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { font-size: .82rem; color: var(--hh-text-mute); text-align: center; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
.wp-block-button__link { border-radius: var(--hh-radius-pill); }

/* ==========================================================================
   17. ANIMATIONS (keyframes; reveal classes live in animations.css)
   ========================================================================== */
@keyframes hh-drift { 0% { transform: translate3d(0,0,0) scale(1);} 100% { transform: translate3d(0,-14px,0) scale(1.05);} }
@keyframes hh-floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }
@keyframes hh-fade { from { opacity: 0;} to { opacity: 1;} }

/* ==========================================================================
   18. ACCESSIBLE MENUS (nav walker) + SECURE FORM ELEMENTS
   ========================================================================== */

/* Menu item description (optional, set in Appearance → Menus). */
.hh-menu-desc { display: block; font-size: .76rem; font-weight: 400; color: var(--hh-text-mute); margin-top: 2px; }
.hh-nav .sub-menu .hh-menu-desc { color: var(--hh-text-mute); }

/* Submenu toggle button + caret (built by HH_Nav_Walker). */
.hh-submenu-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; color: inherit; }
.hh-caret { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; opacity: .7; }
.hh-submenu-toggle[aria-expanded="true"] .hh-caret { transform: rotate(-135deg); }

/* Desktop: hover/focus opens submenus, toggle button stays hidden. */
@media (min-width: 1024px) {
	.hh-nav .hh-submenu-toggle { display: none; }
}

/* Mobile drawer: collapsible submenus driven by the toggle button. */
.hh-drawer nav .menu-item-has-children { position: relative; }
.hh-drawer nav .menu-item-has-children > a { padding-right: 50px; }
.hh-drawer nav .sub-menu { display: none; }
.hh-drawer nav .menu-item-has-children.is-open > .sub-menu { display: block; }
.hh-drawer .hh-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; position: absolute; top: 4px; right: 0; width: 44px; height: 44px; border-radius: 10px; }
.hh-drawer .hh-submenu-toggle:hover { background: rgba(42,19,32,.06); }

/* Honeypot — visually + assistively hidden, still in the DOM for bots. */
.hh-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Form success / error notices. */
.hh-notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-size: .92rem; line-height: 1.5; }
.hh-notice-ok { background: #e6f4ee; color: #1d6b4f; border: 1px solid #bfe3d2; }
.hh-notice-err { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
