
/*
 * ================================================================
 * FILE: iheal-styles.css
 * PURPOSE: All visual styling for iHEAL Ireland website
 * HOW TO USE IN WORDPRESS:
 *   Option A: Appearance → Customize → Additional CSS → paste contents
 *   Option B: Upload file to theme folder, enqueue in functions.php
 * LAST UPDATED: June 2026
 * ================================================================
 */

/* ═══════════════════════════════════════
   DESIGN TOKENS — Edit colours/fonts here
   Changes cascade everywhere automatically
═══════════════════════════════════════ */
:root {
  /* Brand Colours */
  --teal:         #1A9E8F;
  --teal-dark:    #0D7A6E;
  --teal-deeper:  #095C53;
  --teal-light:   #F0FAF9;
  --teal-mid:     #D6F2EE;

  /* Text Colours */
  --ink:          #1C2B2A;
  --ink-soft:     #4A6360;
  --ink-muted:    #7A9896;

  /* Backgrounds */
  --white:        #FFFFFF;
  --off-white:    #F8FFFE;
  --dark:         #111D1C;

  /* UI */
  --border:       #D0ECEA;
  --shadow:       0 2px 20px rgba(26,158,143,0.10);
  --shadow-lg:    0 8px 40px rgba(26,158,143,0.15);
  --radius:       12px;
  --radius-sm:    8px;

  /* Typography */
  --font-head:    'Georgia', 'Times New Roman', serif;
  --font-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad:  80px;
  --container:    920px;
  --container-lg: 1120px;
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ═══════════════════════════════════════
   PAGE ROUTING SYSTEM
═══════════════════════════════════════ */
.ih-page { display: none; }
.ih-page.active { display: block; }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.ih-container     { max-width: var(--container);    margin: 0 auto; padding: 0 24px; }
.ih-container-lg  { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; }
.ih-section       { padding: var(--section-pad) 0; }
.ih-section-sm    { padding: calc(var(--section-pad) * 0.65) 0; }

/* ═══════════════════════════════════════
   GRIDS
═══════════════════════════════════════ */
.ih-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.ih-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ih-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ih-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
.ih-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.ih-eyebrow::before {
  content: ''; width: 28px; height: 2px;
  background: currentColor; border-radius: 2px; flex-shrink: 0;
}
.ih-eyebrow--white { color: rgba(255,255,255,0.7); }

.ih-h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400; line-height: 1.10; color: var(--ink); margin-bottom: 24px;
}
.ih-h1 em { font-style: italic; color: var(--teal); }
.ih-h1--white { color: var(--white); }

.ih-h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 400; line-height: 1.18; color: var(--ink); margin-bottom: 20px;
}
.ih-h2--white { color: var(--white); }

.ih-h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400; line-height: 1.3; color: var(--ink); margin-bottom: 12px;
}

.ih-lead {
  font-size: 18px; line-height: 1.75;
  color: var(--ink-soft); margin-bottom: 32px;
}
.ih-lead--white { color: rgba(255,255,255,0.82); }

.ih-body {
  font-size: 16px; line-height: 1.7; color: var(--ink-soft);
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.ih-btn {
  display: inline-block; padding: 14px 30px;
  font-size: 15px; font-weight: 600; border-radius: var(--radius);
  transition: all 0.2s ease; cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
  text-align: center;
}
.ih-btn--primary {
  background: var(--teal); color: var(--white) !important;
  border-color: var(--teal);
}
.ih-btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

.ih-btn--outline {
  background: transparent; color: var(--teal) !important;
  border-color: var(--teal);
}
.ih-btn--outline:hover { background: var(--teal-light); }

.ih-btn--white {
  background: var(--white); color: var(--teal) !important;
  border-color: var(--white);
}
.ih-btn--white:hover { background: var(--teal-light); }

.ih-btn--ghost {
  background: transparent; color: rgba(255,255,255,0.85) !important;
  border-color: rgba(255,255,255,0.35);
}
.ih-btn--ghost:hover { background: rgba(255,255,255,0.1); }

.ih-btn--full { width: 100%; }

.ih-btn-group {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.ih-btn-group--center { justify-content: center; }

/* ═══════════════════════════════════════
   NOTICE BAR
═══════════════════════════════════════ */
.ih-noticebar {
  background: var(--dark); color: rgba(255,255,255,0.5);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center; padding: 9px 20px;
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.ih-nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,158,143,0.06);
}
.ih-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: var(--container-lg); margin: 0 auto; height: 64px;
}
.ih-nav-logo {
  font-family: var(--font-head); font-size: 22px; font-weight: 400;
  color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.ih-nav-logo-mark {
  background: var(--teal); color: var(--white);
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; font-family: var(--font-body);
  flex-shrink: 0;
}
.ih-nav-links { display: flex; align-items: center; gap: 4px; }
.ih-nav-link {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 12px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.15s;
}
.ih-nav-link:hover,
.ih-nav-link.active { color: var(--teal); background: var(--teal-light); }
.ih-nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 14px; }

/* Mobile nav */
.ih-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
}
.ih-hamburger span {
  width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all 0.2s;
}
.ih-mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 20px 20px; border-top: 1px solid var(--border);
  background: var(--white);
}
.ih-mobile-menu.open { display: flex; }
.ih-mobile-menu .ih-nav-link { font-size: 16px; padding: 12px 16px; }

/* ═══════════════════════════════════════
   TRUST STRIP
═══════════════════════════════════════ */
.ih-trust-strip {
  background: var(--teal); padding: 12px 24px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px;
}
.ih-trust-item {
  color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.ih-trust-item::before { content: '✓'; font-weight: 700; color: var(--white); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.ih-hero {
  background: var(--off-white); padding: 88px 24px 80px; text-align: center;
}
.ih-hero-inner { max-width: 760px; margin: 0 auto; }
.ih-hero-link {
  font-size: 15px; color: var(--teal);
  text-decoration: underline; text-underline-offset: 3px;
  align-self: center; cursor: pointer;
}

/* ═══════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════ */
.ih-page-hero { background: var(--teal); padding: 72px 24px 64px; }
.ih-page-hero h1 {
  font-family: var(--font-head); font-size: clamp(30px, 5vw, 52px);
  font-weight: 400; color: var(--white); margin-bottom: 20px; line-height: 1.15;
}
.ih-page-hero .ih-lead { color: rgba(255,255,255,0.82); margin-bottom: 32px; }

/* ═══════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════ */
.ih-breadcrumb {
  font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 20px;
}
.ih-breadcrumb span { cursor: pointer; transition: color 0.15s; }
.ih-breadcrumb span:hover { color: var(--white); text-decoration: underline; }

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.ih-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.ih-card:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.ih-card--teal  { background: var(--teal-light); }
.ih-card--dark  { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.15); }
.ih-card--featured { border-color: var(--teal) !important; box-shadow: var(--shadow); }

.ih-card-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 14px;
}

/* ═══════════════════════════════════════
   TAG PILLS
═══════════════════════════════════════ */
.ih-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 20px; }
.ih-tag {
  font-size: 12px; font-weight: 500; color: var(--teal-dark);
  background: var(--teal-mid); border-radius: 100px; padding: 4px 12px;
}

/* ═══════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════ */
.ih-process-section { background: var(--teal); }
.ih-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--white); margin: 0 auto 16px;
}
.ih-step-title {
  font-family: var(--font-head); font-size: 19px; font-weight: 400;
  color: var(--white); margin-bottom: 10px; text-align: center;
}
.ih-step-body {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,0.75); text-align: center;
}

/* ═══════════════════════════════════════
   TEAM / PRACTITIONERS
═══════════════════════════════════════ */
.ih-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 18px; margin-bottom: 18px;
  flex-shrink: 0;
}
.ih-team-role {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 10px;
}
.ih-team-badge {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal);
}

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
.ih-price-card { position: relative; }
.ih-price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}
.ih-price-amount {
  font-family: var(--font-head); font-size: 48px; font-weight: 400;
  color: var(--ink); line-height: 1; margin: 12px 0 4px;
}
.ih-price-amount sup { font-size: 24px; vertical-align: super; }
.ih-price-per { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; display: block; }
.ih-price-desc {
  font-size: 14px; line-height: 1.65; color: var(--ink-soft);
  margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.ih-price-features { margin-bottom: 24px; }
.ih-price-features li {
  font-size: 14px; line-height: 1.6; color: var(--ink-soft);
  padding: 5px 0; display: flex; align-items: flex-start; gap: 8px;
}
.ih-price-features li::before {
  content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.ih-pricing-note {
  text-align: center; margin-top: 28px; font-size: 13px; color: var(--ink-soft);
}

/* ═══════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════ */
.ih-faq-item { border-bottom: 1px solid var(--border); }
.ih-faq-item:first-child { border-top: 1px solid var(--border); }
.ih-faq-q {
  width: 100%; background: none; border: none; text-align: left;
  font-family: var(--font-head); font-size: 18px; font-weight: 400;
  color: var(--ink); padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.ih-faq-icon {
  font-size: 22px; color: var(--teal); flex-shrink: 0;
  transition: transform 0.25s; line-height: 1;
}
.ih-faq-item.open .ih-faq-icon { transform: rotate(45deg); }
.ih-faq-a {
  font-size: 15px; line-height: 1.75; color: var(--ink-soft);
  padding-bottom: 20px; display: none;
}
.ih-faq-item.open .ih-faq-a { display: block; }

/* ═══════════════════════════════════════
   TWO COLUMN CONTENT
═══════════════════════════════════════ */
.ih-content-visual {
  background: var(--teal-light); border-radius: var(--radius);
  padding: 36px 30px; border: 1.5px solid var(--border);
}
.ih-check-list { margin-top: 16px; }
.ih-check-list li {
  font-size: 15px; line-height: 1.65; color: var(--ink-soft);
  padding: 8px 0; display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid var(--border);
}
.ih-check-list li:last-child { border-bottom: none; }
.ih-check-list li::before {
  content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

/* ═══════════════════════════════════════
   ICON BLOCKS (modalities)
═══════════════════════════════════════ */
.ih-icon-block { text-align: center; padding: 24px 20px; }
.ih-icon-block .ih-icon { font-size: 36px; margin-bottom: 14px; }
.ih-icon-block h4 {
  font-family: var(--font-head); font-size: 17px; font-weight: 400;
  color: var(--ink); margin-bottom: 8px;
}
.ih-icon-block p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ═══════════════════════════════════════
   MISSION / QUOTE BLOCK
═══════════════════════════════════════ */
.ih-mission-block {
  background: var(--teal); border-radius: var(--radius);
  padding: 48px 40px; text-align: center;
}
.ih-mission-block blockquote {
  font-family: var(--font-head); font-size: clamp(20px, 3vw, 32px);
  font-weight: 400; color: var(--white); line-height: 1.45; font-style: italic;
}

/* ═══════════════════════════════════════
   VALUE CARDS
═══════════════════════════════════════ */
.ih-value-card { text-align: center; padding: 28px 20px; }
.ih-value-icon { font-size: 34px; margin-bottom: 14px; }
.ih-value-card h4 {
  font-family: var(--font-head); font-size: 19px; font-weight: 400;
  color: var(--ink); margin-bottom: 8px;
}
.ih-value-card p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ═══════════════════════════════════════
   RESOURCE / DOWNLOAD BLOCK
═══════════════════════════════════════ */
.ih-resource-card {
  background: var(--dark); border-radius: var(--radius); padding: 48px 36px;
  display: flex; gap: 32px; align-items: center;
}
.ih-resource-icon {
  width: 80px; height: 80px; border-radius: var(--radius);
  background: var(--teal); display: flex; align-items: center;
  justify-content: center; font-size: 34px; flex-shrink: 0;
}
.ih-resource-card h3 {
  font-family: var(--font-head); font-size: 26px; font-weight: 400;
  color: var(--white); margin-bottom: 10px;
}
.ih-resource-card p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.ih-resource-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ih-resource-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7); border-radius: 100px;
}

/* ═══════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════ */
.ih-contact-card {
  background: var(--teal-light); border-radius: var(--radius);
  padding: 24px 20px; border: 1.5px solid var(--border);
}
.ih-contact-card h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 8px;
}
.ih-contact-card p {
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.ih-emergency {
  background: #FFF5F5; border: 1.5px solid #FFCCCC;
  border-radius: var(--radius); padding: 18px 20px; margin-top: 20px;
}
.ih-emergency p { font-size: 14px; color: #CC3333; font-weight: 500; }

/* ═══════════════════════════════════════
   FORMS
═══════════════════════════════════════ */
.ih-form-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
}
.ih-form-group { margin-bottom: 20px; }
.ih-form-group label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.ih-form-group label .req { color: var(--teal); }
.ih-form-control {
  width: 100%; padding: 12px 16px; font-size: 15px;
  font-family: var(--font-body); color: var(--ink);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color 0.2s; appearance: none;
}
.ih-form-control:focus { outline: none; border-color: var(--teal); }
.ih-form-control::placeholder { color: var(--ink-muted); }
.ih-form-gdpr { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-top: 14px; }

/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.ih-cta-banner { background: var(--dark); padding: 80px 24px; text-align: center; }
.ih-cta-banner h2 { color: var(--white); }
.ih-cta-banner .ih-lead { color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto 32px; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.ih-footer { background: var(--dark); padding: 52px 0 28px; }
.ih-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.ih-footer-brand-name {
  font-family: var(--font-head); font-size: 22px;
  color: var(--white); margin-bottom: 12px;
}
.ih-footer-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.42); }
.ih-footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.32); margin-bottom: 16px;
}
.ih-footer-col li { margin-bottom: 8px; }
.ih-footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.58); cursor: pointer; transition: color 0.15s;
}
.ih-footer-col a:hover { color: var(--white); }
.ih-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; text-align: center;
}
.ih-footer-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.ih-footer-badge {
  background: rgba(255,255,255,0.07); border-radius: 6px; padding: 5px 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: rgba(255,255,255,0.42);
}
.ih-footer-legal { font-size: 12px; color: rgba(255,255,255,0.28); line-height: 1.9; }

/* ═══════════════════════════════════════
   DIVIDER
═══════════════════════════════════════ */
.ih-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0; }
.text-center { text-align: center; }
.max-600 { max-width: 600px; }
.max-720 { max-width: 720px; }
.bg-white      { background: var(--white); }
.bg-off-white  { background: var(--off-white); }
.bg-teal-light { background: var(--teal-light); }
.bg-teal       { background: var(--teal); }
.bg-dark       { background: var(--dark); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .ih-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ih-nav-links   { display: none; }
  .ih-hamburger   { display: flex; }
  .ih-two-col     { grid-template-columns: 1fr; }
  .ih-resource-card { flex-direction: column; text-align: center; }
  .ih-resource-tags { justify-content: center; }
}
@media (max-width: 500px) {
  :root { --section-pad: 56px; }
  .ih-footer-grid   { grid-template-columns: 1fr; }
  .ih-grid-3,
  .ih-grid-4        { grid-template-columns: 1fr; }
  .ih-mission-block { padding: 32px 24px; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION (accessibility)
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}