/*
Theme Name:   Paso a Paso Equestrian
Theme URI:    https://equineharmony.com
Description:  Child theme for an equestrian instructor – training, writings & digital shop. V13 — ACF client editing, Work CPT, bigger typography, hero animation, mobile nav polish.
Author:       Your Studio
Template:     kadence
Version:      13.0.0
Text Domain:  equine-harmony
License:      GNU General Public License v2 or later
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {

  /* ── Colours ──────────────────────────────────────────── */
  --c-primary:        #3a4437;   /* dark forest green – main brand */
  --c-primary-dark:   #515b4d;   /* hover / pressed state */
  --c-primary-light:  #dbe6d3;   /* tinted backgrounds, badges */
  --c-secondary:      #725a43;   /* warm brown – accents, prices, links */
  --c-secondary-light:#ffdcbf;   /* peach – decorative only */

  --c-surface:        #faf9f8;   /* page background */
  --c-surface-low:    #f4f3f2;   /* card / form backgrounds */
  --c-surface-mid:    #eeeeed;   /* dividers, subtle containers */
  --c-surface-high:   #e9e8e7;   /* footer, dark section backgrounds */
  --c-white:          #ffffff;

  --c-text:           #1a1c1c;   /* headings and high-emphasis text */
  --c-text-muted:     #434843;   /* body paragraphs */
  --c-outline:        #737872;   /* footer links, captions */
  --c-outline-light:  #c3c8c1;   /* borders, dividers */

  /* ── Fonts ────────────────────────────────────────────── */
  --font-serif:  'Noto Serif', Georgia, serif;
  --font-sans:   'Manrope', system-ui, sans-serif;

  /* ── Heading sizes (clamp: min / preferred / max) ──────── */
  --size-h1:  clamp(2.5rem, 6vw,  4.5rem);
  --size-h2:  clamp(2.1rem, 4.5vw, 3.5rem);
  --size-h3:  clamp(1.5rem, 3vw, 2.25rem);
  --size-h4:  1.45rem;

  /* ── Heading weights ────────────────────────────────────── */
  --weight-heading:  400;   /* serif headings — light elegance */
  --weight-subhead:  600;   /* section subtitles if needed */

  /* ── Body / paragraph ───────────────────────────────────── */
  --size-body:       1.1rem;
  --size-body-lg:    1.2rem;    /* lead paragraphs */
  --size-body-sm:    1rem;      /* captions, excerpts */
  --line-height-body: 1.7;
  --line-height-tight: 1.15;   /* headings */

  /* ── UI elements ────────────────────────────────────────── */
  --size-label:   0.8rem;   /* overline / uppercase labels */
  --size-btn:     0.85rem;  /* button text */
  --size-nav:     0.95rem;  /* nav link text */

  /* ── Spacing & shape ────────────────────────────────────── */
  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-full: 9999px;

  --shadow-soft: 0 10px 40px -10px rgba(63,74,60,0.08);
  --shadow-card: 0 4px 20px -4px rgba(63,74,60,0.06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--c-surface);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--c-secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  font-weight: var(--weight-heading);
  line-height: var(--line-height-tight);
  color: var(--c-text);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
h1 { font-size: var(--size-h1); letter-spacing: -0.025em; }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
h4 { font-size: var(--size-h4); }

p { margin: 0 0 1rem; color: var(--c-text-muted); font-size: var(--size-body); line-height: var(--line-height-body); }
/* max-width scoped to our templates only — prevents collapsing WC table cells */
.equine-harmony-page-template p,
.eh-hero p, .diptych p, .offerings-grid p, .shop-preview-grid p,
.eh-cta p { max-width: 65ch; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap     { max-width: 1440px; margin-inline: auto; padding-inline: 2rem; }
.wrap-md  { max-width: 1200px; margin-inline: auto; padding-inline: 2rem; }
.wrap-sm  { max-width: 860px;  margin-inline: auto; padding-inline: 2rem; }

.section      { padding-block: 6rem; }
.section-sm   { padding-block: 3rem; }
.section-lg   { padding-block: 10rem; }

@media (max-width: 768px) {
  .wrap, .wrap-md, .wrap-sm { padding-inline: 1.25rem; }
  .section    { padding-block: 4rem; }
  .section-lg { padding-block: 6rem; }
}

/* ============================================================
   NAV
   ============================================================ */
.eh-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,249,248,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.eh-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1440px;
  margin-inline: auto;
}
.eh-nav__logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--c-primary);
  text-decoration: none;
}
.eh-nav__logo img { height: 44px; width: auto; }

.eh-nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.eh-nav__links a {
  font-family: var(--font-serif);
  font-size: var(--size-nav);
  letter-spacing: .02em;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color .2s;
  padding-bottom: 2px;
}
.eh-nav__links a:hover,
.eh-nav__links a.active { color: var(--c-primary); }
.eh-nav__links a.active {
  font-weight: 600;
  border-bottom: 1px solid var(--c-primary);
}

.eh-nav__cta {
  background: var(--c-primary);
  color: #fff !important;
  border-radius: var(--radius-full);
  padding: .65rem 1.75rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.eh-nav__cta:hover { opacity: .88; transform: translateY(-1px); }

.eh-nav__lang {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--c-text-muted);
  text-decoration: none !important;
  padding: .35em .65em;
  border: 1.5px solid var(--c-outline-light);
  border-radius: var(--radius-full);
  line-height: 1;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.eh-nav__lang:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.eh-nav__mobile-lang {
  margin-bottom: 1.5rem;
}
.eh-nav__mobile-lang .eh-nav__lang {
  font-size: .72rem;
  padding: .45em .85em;
}

.eh-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.eh-nav__burger:hover,
.eh-nav__burger:focus {
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}
.eh-nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--c-primary);
  transition: transform .25s, opacity .2s;
}
.eh-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.eh-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.eh-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.eh-nav__mobile {
  background: var(--c-white);
  border-top: 1px solid rgba(195,200,193,.15);
  /* Slide-down animation — uses max-height trick */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-inline: 2rem;
  transition: max-height .38s ease, opacity .3s ease, padding .3s ease;
}
.eh-nav__mobile.is-open {
  max-height: 600px;
  opacity: 1;
  padding: 1.5rem 2rem 2rem;
}
/* Keep hidden attr working for JS fallback */
.eh-nav__mobile[hidden] { display: none !important; }
.eh-nav__mobile ul { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; list-style: none; }
.eh-nav__mobile a {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--c-text);
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .eh-nav__links { display: none; }
  .eh-nav__cta   { display: none; }
  .eh-nav__lang  { display: none; }
  .eh-nav__burger { display: flex; }
}

/* Mobile right group: cart icon + hamburger, flush right */
.eh-nav__mobile-right {
  display: none;
  align-items: center;
  gap: .75rem;
}
/* Desktop right group: cart + CTA */
.eh-nav__desktop-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 900px) {
  .eh-nav__mobile-right { display: flex; }
  .eh-nav__desktop-right { display: none !important; }
}

body { padding-top: 84px; }

/* ============================================================
   BUTTONS — primary and secondary only, used consistently
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: var(--radius-full);
  padding: .85rem 2.25rem;
  font-family: var(--font-sans);
  font-size: var(--size-btn);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s, transform .15s, background .2s, color .2s, border-color .2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff !important;
  border: 1.5px solid var(--c-primary);
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); color: #fff !important; }

.btn-secondary {
  background: transparent;
  color: var(--c-primary) !important;
  border: 1.5px solid rgba(58,68,55,.35);
}
.btn-secondary:hover {
  background: var(--c-primary);
  color: #fff !important;
  border-color: var(--c-primary);
  transform: translateY(-1px);
}

/* Inline text link — use only for "read more" / "see all" style actions */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-primary) !important;
  text-decoration: none;
  transition: gap .2s, color .2s;
}
.btn-text:hover { gap: .8rem; color: var(--c-secondary) !important; }
.btn-text svg { transition: transform .2s; }
.btn-text:hover svg { transform: translateX(3px); }

/* ============================================================
   OVERLINE LABEL
   ============================================================ */
.overline {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 1rem;
}

/* ============================================================
   HERO — 2-column layout: image left with organic shape, text right
   ============================================================ */
.eh-hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-inline: 3rem;
  padding-block: 3rem;
  max-width: 1300px;
  margin-inline: auto;
}

.eh-hero__img-col {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Organic rounded shape — asymmetric */
.eh-hero__img-shape {
  border-radius: 60% 40% 55% 45% / 50% 50% 60% 40%;
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 88%;
  max-height: 72vh;
  box-shadow: var(--shadow-soft);
  background: var(--c-surface-low);
}
.eh-hero__img-shape img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.eh-hero__img-shape:hover img { transform: scale(1.03); }

/* Deco circle removed — element kept in HTML but hidden */
.eh-hero__img-deco { display: none; }

.eh-hero__text-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eh-hero__title {
  font-size: clamp(2.5rem,5vw,4rem);
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--c-text);
  margin: 0;
}
.eh-hero__title em { font-weight: 300; }

.eh-hero__lead {
  font-size: var(--size-body-lg);
  color: var(--c-text-muted);
  max-width: 46ch;
  line-height: var(--line-height-body);
  margin: 0;
}

.eh-hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .eh-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-inline: 1.25rem;
    padding-block: 2.5rem 4rem;
    gap: 2.5rem;
  }
  .eh-hero__img-col { order: -1; }
  .eh-hero__img-shape { max-height: 55vw; min-height: 240px; }
}

/* ============================================================
   DIPTYCH — image + text 2-col (about/services pages)
   ============================================================ */
.diptych {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
}
.diptych--reverse { grid-template-columns: 7fr 5fr; }
.diptych--reverse .diptych__img { order: 2; }
.diptych--reverse .diptych__text { order: 1; }

@media (max-width: 900px) {
  .diptych, .diptych--reverse { grid-template-columns: 1fr; }
  .diptych--reverse .diptych__img,
  .diptych--reverse .diptych__text { order: unset; }
}

.diptych__img { position: relative; }
.diptych__img-inner {
  border-top-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
}
.diptych__img-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.diptych__img-inner:hover img { transform: scale(1.03); }

.diptych__quote {
  position: absolute;
  bottom: -2rem; right: -2rem;
  background: var(--c-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(195,200,193,.15);
  max-width: 240px;
}
.diptych__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--c-primary);
  max-width: none;
  margin: 0;
}

.diptych__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.diptych__text h1,
.diptych__text h2 { margin: 0; }

@media (max-width: 768px) { .diptych__quote { display: none; } }

/* ============================================================
   OFFERINGS SECTION — 3-col cards, simple & clean
   ============================================================ */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .offerings-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px)  { .offerings-grid { grid-template-columns: 1fr; } }

.offering-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .25s, box-shadow .25s;
}
.offering-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.offering-card--dark { background: var(--c-primary); }
.offering-card--dark h3 { color: #fff; }
.offering-card--dark p  { color: rgba(255,255,255,.85); max-width: none; }
.offering-card--dark .btn-secondary {
  border-color: rgba(255,255,255,.4);
  color: #fff !important;
}
.offering-card--dark .btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
  color: #fff !important;
}

.offering-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--c-primary-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.offering-card--dark .offering-card__icon { background: rgba(255,255,255,.15); }
.offering-card__icon svg { color: var(--c-primary); }
.offering-card--dark .offering-card__icon svg { color: #fff; }

.offering-card h3 { margin: 0; font-size: 1.2rem; }
.offering-card p  { font-size: .925rem; line-height: 1.65; margin: 0; flex: 1; }
.offering-card .offering-card__cta { margin-top: .5rem; }

/* ============================================================
   SHOP PREVIEW (homepage) — WooCommerce-ready product cards
   ============================================================ */
.shop-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .shop-preview-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .shop-preview-grid { grid-template-columns: 1fr; } }

.shop-preview-item {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.shop-preview-item:hover { color: inherit; }

.shop-preview-item__thumb {
  aspect-ratio: 3/4;
  background: var(--c-surface-low);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.shop-preview-item__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s;
}
.shop-preview-item:hover .shop-preview-item__thumb img { transform: scale(1.04); }

.shop-preview-item__badge {
  position: absolute; top: .875rem; left: .875rem;
  background: var(--c-white);
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-primary);
}

.shop-preview-item__info { display: flex; flex-direction: column; gap: .25rem; }
.shop-preview-item__type {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-secondary);
}
.shop-preview-item__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.3;
  transition: color .2s;
}
.shop-preview-item:hover .shop-preview-item__name { color: var(--c-secondary); }
.shop-preview-item__price {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-top: .15rem;
}

/* ============================================================
   SERVICE SECTIONS
   ============================================================ */
.svc-number {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--c-primary);
  opacity: .1;
  line-height: 1;
  font-style: italic;
  z-index: 0;
}
.svc-details { display: flex; flex-direction: column; gap: 1.25rem; margin-block: 1.5rem; }
.svc-detail strong {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--c-primary);
  margin-bottom: .2rem;
}
.svc-detail p { margin: 0; font-size: .9rem; }
.svc-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--c-secondary);
  margin-bottom: 1.5rem;
}
.svc-bullets { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.svc-bullets li {
  display: flex; align-items: center; gap: .75rem;
  font-style: italic; color: var(--c-text);
}
.svc-bullets li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-secondary);
  flex-shrink: 0;
}

.clinic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 768px) { .clinic-grid { grid-template-columns: 1fr; } }
.clinic-card {
  background: var(--c-surface);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}
.clinic-card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.clinic-card p  { font-size: .875rem; margin-bottom: 1rem; }
.clinic-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--c-secondary);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1.5rem;
}
.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s, filter .3s;
  filter: grayscale(10%);
}
.portfolio-item:hover img { transform: scale(1.04); filter: grayscale(0); }
.portfolio-caption {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,28,28,.65) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end;
  padding: 1.25rem;
}
.portfolio-item:hover .portfolio-caption { opacity: 1; }
.portfolio-caption p { color: #fff; font-size: .875rem; font-weight: 500; margin: 0; max-width: none; }

.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }

/* Trust grid — 3 columns on desktop, stacked on mobile */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.trust-grid > div {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.trust-grid h4 { margin: 0; }
.trust-grid p  { margin: 0; }
.testi-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.testi-card blockquote { border: none !important; padding: 0 !important; margin: 0 0 1.5rem; }
.testi-card blockquote p { font-size: 1rem; color: var(--c-text); max-width: none; margin: 0; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-size: .9rem; color: var(--c-primary); }
.testi-author span   { display: block; font-size: .75rem; color: var(--c-text-muted); }

/* ============================================================
   SHOP PAGE — product grid
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 3rem 2rem;
  align-items: start;
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .products-grid { grid-template-columns: 1fr; } }

.product-card { display: flex; flex-direction: column; gap: 1rem; }
.product-card:nth-child(3n+2) { margin-top: 3rem; }
@media (max-width: 1024px) { .product-card:nth-child(3n+2) { margin-top: 0; } }

.product-card__thumb {
  aspect-ratio: 4/5;
  background: var(--c-surface-low);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.product-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .product-card__thumb img { transform: scale(1.04); }
.product-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary);
}
.product-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--c-primary);
  transition: color .2s;
  line-height: 1.3;
}
.product-card:hover .product-card__title { color: var(--c-secondary); }
.product-card__price { font-size: 1.05rem; font-weight: 600; color: var(--c-primary); white-space: nowrap; }
.product-card__excerpt { font-size: 1rem; line-height: 1.6; margin: 0; max-width: none; }

/* ============================================================
   CONTACT FORM — consistent, labelled, box-style fields
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact-detail svg { flex-shrink: 0; margin-top: 2px; color: var(--c-secondary); }
.contact-detail strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-primary); margin-bottom: .2rem; }
.contact-detail a,
.contact-detail p { color: var(--c-text-muted); font-size: .95rem; margin: 0; }

.contact-form-wrap {
  background: var(--c-surface-low);
  border-radius: var(--radius-md);
  padding: 3rem;
}

/* Two fields side by side (name + email row) */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
}

/* ALL form fields: transparent with bottom border only (like screenshot) */
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.75rem; }
.form-group label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(115,120,114,.35) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: .75rem 0 !important;
  font-family: var(--font-sans) !important;
  font-size: .975rem !important;
  color: var(--c-text) !important;
  outline: none !important;
  transition: border-color .2s !important;
  width: 100% !important;
  line-height: 1.5 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
/* Kill browser autofill yellow/white background */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--c-surface-low) inset !important;
  box-shadow: 0 0 0 1000px var(--c-surface-low) inset !important;
  -webkit-text-fill-color: var(--c-text) !important;
  border-bottom: 1px solid rgba(115,120,114,.35) !important;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--c-primary) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-outline); }
.form-group textarea { resize: vertical !important; min-height: 140px !important; }

/* Select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23737872' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 center !important;
  padding-right: 1.5rem !important;
  cursor: pointer !important;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.eh-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.eh-cta__deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.eh-cta__deco--l { width: 300px; height: 300px; background: rgba(219,230,211,.4); left:-5%; top:50%; transform:translateY(-50%); }
.eh-cta__deco--r { width: 400px; height: 400px; background: rgba(255,220,191,.25); right:-5%; top:20%; }
.eh-cta__inner { position: relative; z-index: 1; }
.eh-cta__inner h2 { margin-bottom: 2.5rem; max-width: none; margin-inline: auto; }
.eh-cta__actions { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.eh-footer {
  background: var(--c-surface-high);
  border-radius: 2rem 2rem 0 0;
  margin-top: 2rem;
}
.eh-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 3rem;
  max-width: 1440px;
  margin-inline: auto;
}
@media (max-width: 900px) { .eh-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .eh-footer__inner { grid-template-columns: 1fr; padding: 3rem 1.25rem; } }

.eh-footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--c-primary);
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
}
.eh-footer__tagline {
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-outline);
  line-height: 1.8;
  max-width: 28ch;
  margin-bottom: 1.5rem;
}
.eh-footer__social { display: flex; gap: 1.25rem; }
.eh-footer__social a { color: var(--c-primary); transition: transform .2s, color .2s; }
.eh-footer__social a:hover { transform: scale(1.15); color: var(--c-secondary); }

.eh-footer__col-title {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 1.25rem;
  display: block;
}
.eh-footer__links { display: flex; flex-direction: column; gap: .75rem; }
.eh-footer__links a {
  font-size: .95rem;
  letter-spacing: .05em;
  color: var(--c-outline);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}
.eh-footer__links a:hover { color: var(--c-secondary); }

.eh-footer__bottom {
  border-top: 1px solid rgba(195,200,193,.15);
  padding: 1.5rem 3rem;
  max-width: 1440px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.eh-footer__bottom p {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-outline);
  margin: 0; max-width: none;
}


/* ============================================================
   PAGE HEADERS — 2-col: overline+title left, lead paragraph right
   Sits close under nav, matching the screenshot style
   ============================================================ */
.page-header {
  padding-top: calc(2.5rem + 84px);
  padding-bottom: 3rem;
}
.page-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
.page-header .overline { margin-bottom: .6rem; }
.page-header h1 { max-width: 22ch; margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); }
.page-header .lead {
  font-size: var(--size-body);
  color: var(--c-text-muted);
  line-height: var(--line-height-body);
  max-width: 42ch;
  margin: 0;
}

@media (max-width: 768px) {
  .page-header { padding-top: calc(2rem + 84px); padding-bottom: 2rem; }
  .page-header-inner { grid-template-columns: 1fr; gap: 1rem; }
}



/* ============================================================
   MISC UTILITIES
   ============================================================ */
.bg-surface-low  { background: var(--c-surface-low); }
.text-center     { text-align: center; }

.eh-newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--c-surface-high);
  border-radius: 2rem;
  padding: 4rem;
}
@media (max-width: 768px) {
  .eh-newsletter-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; }
}

.eh-about-bio-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .eh-about-bio-grid { grid-template-columns: 1fr; } }


/* WooCommerce styles live in assets/css/woocommerce.css */

/* ============================================================
   BLOG POST CONTENT
   ============================================================ */
.eh-post-content {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--c-text-muted);
}
.eh-post-content h2,
.eh-post-content h3 { color: var(--c-text); margin-top: 2.5rem; margin-bottom: 1rem; }
.eh-post-content p { margin-bottom: 1.5rem; max-width: none; }
.eh-post-content img { border-radius: var(--radius-md); margin-block: 2rem; width: 100%; height: auto; }
.eh-post-content ul,
.eh-post-content ol { list-style: initial; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.eh-post-content ul li,
.eh-post-content ol li { margin-bottom: .5rem; color: var(--c-text-muted); }
.eh-post-content blockquote {
  border-left: 3px solid var(--c-secondary) !important;
  padding-left: 1.5rem !important;
  margin: 2rem 0 !important;
}
.eh-post-content blockquote p { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--c-primary); }
.eh-post-content a { color: var(--c-secondary); text-decoration: underline; text-underline-offset: 3px; }

img[src*="placeholder"] { background: var(--c-surface-low); min-height: 200px; object-fit: cover; }

/* ============================================================
   PAGE HEADER — LOAD ANIMATION
   Smooth fade-up on all inner landing pages
   ============================================================ */
.page-header .page-header-inner > * {
  opacity: 0;
  transform: translateY(22px);
  animation: eh-fade-up .75s ease forwards;
}
.page-header .page-header-inner > *:nth-child(2) {
  animation-delay: .15s;
}

/* Homepage hero text — same fade-up on load */
.eh-hero__text-col > * {
  opacity: 0;
  transform: translateY(22px);
  animation: eh-fade-up .75s ease forwards;
}
.eh-hero__text-col > *:nth-child(2) { animation-delay: .12s; }
.eh-hero__text-col > *:nth-child(3) { animation-delay: .24s; }
/* Image col fades in slightly slower */
.eh-hero__img-col {
  opacity: 0;
  animation: eh-fade-up .9s ease .1s forwards;
}

@keyframes eh-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCROLL REVEAL — sections fade in on scroll
   Add class .eh-reveal to any section to animate it in
   ============================================================ */
.eh-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.eh-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.eh-svc-solo { display: flex; flex-direction: column; gap: 1.25rem; max-width: 65ch; }
.eh-svc-solo h2 { margin: 0; }

.eh-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 3rem; }
.eh-post-card { display: flex; flex-direction: column; gap: 1.25rem; }
.eh-post-card__thumb { display: block; aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden; }
.eh-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.eh-post-card:hover .eh-post-card__thumb img { transform: scale(1.03); }
.eh-post-card__body { display: flex; flex-direction: column; gap: .75rem; }
.eh-post-card__body h3 { font-size: 1.2rem; margin: 0; }
.eh-post-card__body h3 a { color: var(--c-text); text-decoration: none; transition: color .2s; }
.eh-post-card__body h3 a:hover { color: var(--c-secondary); }
.eh-post-card__body p { font-size: .9rem; margin: 0; }

.eh-pagination { margin-top: 4rem; display: flex; justify-content: center; }
.eh-pagination .nav-links { display: flex; gap: .75rem; align-items: center; }
.eh-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  font-family: var(--font-sans); font-size: .875rem;
  color: var(--c-text-muted); text-decoration: none; transition: background .2s, color .2s;
}
.eh-pagination .page-numbers:hover,
.eh-pagination .page-numbers.current { background: var(--c-primary); color: #fff; }

/* ============================================================
   KADENCE CONFLICT SUPPRESSION
   ============================================================ */
.equine-harmony-theme .kadence-scrolling-header-enabled body,
.equine-harmony-theme.kadence-scrolling-header-enabled { padding-top: 0 !important; }

.equine-harmony-page-template .site-header,
.equine-harmony-page-template #masthead,
.equine-harmony-page-template .site-footer,
.equine-harmony-page-template #colophon { display: none !important; }

.equine-harmony-page-template #content,
.equine-harmony-page-template #primary,
.equine-harmony-page-template .content-area,
.equine-harmony-page-template .site-content { padding: 0 !important; margin: 0 !important; }

.equine-harmony-page-template .entry-hero,
.equine-harmony-page-template .kadence-hero-inner { display: none !important; }

/* Hide any cart icon Kadence injects into the page — we have our own */
.equine-harmony-theme .header-cart-wrap,
.equine-harmony-theme .kadence-header-cart,
.equine-harmony-theme .site-header-item.cart { display: none !important; }

/* ============================================================
   MOBILE MENU — staggered item animation
   Each <li> fades + slides in one by one when menu opens
   ============================================================ */
.eh-nav__mobile ul li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .28s ease, transform .28s ease;
}
/* When open, items animate in with nth-child delays */
.eh-nav__mobile.is-open ul li { opacity: 1; transform: translateX(0); }
.eh-nav__mobile.is-open ul li:nth-child(1) { transition-delay: .08s; }
.eh-nav__mobile.is-open ul li:nth-child(2) { transition-delay: .14s; }
.eh-nav__mobile.is-open ul li:nth-child(3) { transition-delay: .20s; }
.eh-nav__mobile.is-open ul li:nth-child(4) { transition-delay: .26s; }
.eh-nav__mobile.is-open ul li:nth-child(5) { transition-delay: .32s; }
.eh-nav__mobile.is-open ul li:nth-child(6) { transition-delay: .38s; }
/* Book a Session button fades in last */
.eh-nav__mobile .btn {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .28s ease .44s, transform .28s ease .44s,
              background .2s, color .2s, border-color .2s;
}
.eh-nav__mobile.is-open .btn { opacity: 1; transform: translateX(0); }

/* ============================================================
   ABOUT PAGE — trust section spacing
   More breathing room between intro text and the grid
   ============================================================ */
.trust-section-intro {
  margin-bottom: 4rem;
}

/* ============================================================
   SERVICES — button width fix
   Buttons should be auto-width, not stretched full-width
   ============================================================ */
.diptych__text .btn,
.eh-svc-solo .btn {
  width: auto !important;
  align-self: flex-start;
}

/* ============================================================
   MOBILE — final tweaks
   ============================================================ */
@media (max-width: 768px) {
  .eh-nav__mobile .btn { display: block; text-align: center; font-size: 0.72rem; padding: 0.75rem 1.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card:nth-child(3n+2) { margin-top: 0; }
  .eh-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .eh-footer__bottom { padding-inline: 1.25rem; }
  .clinic-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-header { padding-top: calc(2rem + 84px); }
}

/* ============================================================
   NAV CART ICON & COUNT BADGE
   ============================================================ */
.eh-nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--c-primary);
  text-decoration: none;
  transition: color .2s;
}
.eh-nav__cart:hover { color: var(--c-secondary); }

.eh-nav-cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: var(--c-secondary);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}

