/* ============================================
   Hayahay-style theme for Maximum Health
   Sage + peach • dense • friendly • script accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Dancing+Script:wght@500;600;700&family=Nunito+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Hayahay palette — soft sage + peach coral */
  --color-primary: #42C4DD;          /* sky cyan — accents + CTAs */
  --color-primary-dark: #2A8A95;     /* deep teal — hovers, gradients */
  --color-primary-light: #A6E0EC;    /* mid pastel */
  --color-bg-cool: #E1F6F6;          /* pale icy blue — calm section bg */
  --color-secondary: #E8B097;        /* peach coral */
  --color-secondary-light: #f3d2c0;
  --color-accent: #d97f5f;            /* warm coral accent */
  --color-text: #4a4a4a;
  --color-text-light: #6e6e6e;
  --color-text-muted: #9a9a9a;
  --color-heading: #1F4E55;          /* deep teal-blue (replaces forest green) */
  --color-bg: #fdfaf6;
  --color-bg-alt: #f7f1ea;
  --color-bg-dark: #1F4E55;
  --color-border: #ece3d7;
  --color-white: #ffffff;
  --color-black: #2f4e47;
  --color-star: #f0b95a;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Nunito Sans', 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(122, 174, 163, 0.08);
  --shadow-md: 0 6px 20px rgba(122, 174, 163, 0.12);
  --shadow-lg: 0 14px 40px rgba(122, 174, 163, 0.16);
}

/* ---- Base ---- */
html, body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
  letter-spacing: -0.005em;
}
h1 { font-weight: 600; }
h2 { font-size: clamp(2.2rem, 3.4vw, 2.85rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

/* ---- Header / Nav ---- */
.header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.header__inner { padding: 0.85rem 1.5rem; max-width: 1320px; height: auto; min-height: 68px; flex-wrap: nowrap; gap: 1.25rem; }
.nav { flex-wrap: nowrap; gap: 0.1rem; flex: 0 1 auto; }
.nav__item { flex: 0 0 auto; }
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-primary-dark);
  font-style: italic;
  letter-spacing: -0.01em;
}
.nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-heading);
  letter-spacing: 0.01em;
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
}
.logo { font-size: 1.4rem; display: inline-flex; align-items: center; }
.logo img { display: block; height: 44px; width: auto; max-width: 100%; }
@media (max-width: 768px) { .logo img { height: 36px; } }
.nav__link:hover, .nav__link--active { color: var(--color-primary); }
.nav__link--active { border-bottom: 2px solid var(--color-secondary); padding-bottom: 0.25rem; }

.dropdown {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 0.6rem 0;
}
.dropdown__link {
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  color: var(--color-text);
}
.dropdown__link:hover { background: var(--color-bg-alt); color: var(--color-primary); }

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-xl);
  padding: 0.85rem 1.85rem;
  transition: all .25s ease;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
}
.btn--secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: none;
}
.btn--white:hover { background: var(--color-bg-alt); transform: translateY(-2px); }
.btn--lg { padding: 1rem 2.25rem; font-size: 0.95rem; }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }
.header__cta {
  background: var(--color-secondary);
  color: var(--color-white) !important;
}
.header__cta:hover { background: var(--color-accent); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  color: var(--color-heading);
  padding: 4rem 0 5rem;
  min-height: auto;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after { display: none; }
.hero__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 880px) { .hero__split { grid-template-columns: 1fr; } }
.hero__content { text-align: left; }
.hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  color: var(--color-heading);
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
}
.hero__subtitle {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__actions { gap: 0.75rem; }
.hero__image {
  position: relative;
}
.hero__image::before {
  content: '';
  position: absolute;
  inset: -1.5rem;
  background: var(--color-secondary-light);
  border-radius: var(--radius-xl);
  transform: rotate(-2deg);
  z-index: 0;
}
.hero__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

/* ---- Sections ---- */
.section {
  padding: 4.5rem 0;
  background: var(--color-bg);
}
.section--alt {
  background: var(--color-bg-alt);
}
.section--dark {
  /* pale icy bg with deep-teal text — calm, not harsh */
  background: var(--color-bg-cool);
  color: var(--color-heading);
}
.section--dark h2, .section--dark p { color: var(--color-heading); }
.section--dark h2 { color: var(--color-primary-dark); }

.section__header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__header h2 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 600;
}
.section__header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin: 0.85rem auto 0;
}
.section__header p { color: var(--color-text-light); margin-top: 1rem; }

/* ---- Trust Bar ---- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.trust-badge { text-align: center; padding: 0.5rem; }
.trust-badge__number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-badge__label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ---- Service cards (friendly card grid) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}
.service-card__icon {
  width: 64px;
  height: 64px;
  background: var(--color-secondary-light);
  border-radius: 50%;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  position: relative;
}
.service-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-heading);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.service-card__text {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---- Process steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.process-step__number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  background: var(--color-secondary);
  color: var(--color-white);
  font-weight: 700;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-heading);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.process-step__text { color: var(--color-text-light); font-size: 0.9rem; }

/* ---- Image placeholders ---- */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-primary-light));
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ---- Team cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}
.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 0;
  overflow: hidden;
  transition: all .3s ease;
  text-align: center;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__image {
  aspect-ratio: 1/1;
  border-radius: 0;
  overflow: hidden;
}
.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card__body { padding: 1.25rem 1.25rem 1.5rem; }
.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-heading);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.team-card__role {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.team-card__specialty {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}
.card__link {
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 700;
}
.card__link::after { content: ' →'; }

/* ---- Page banner ---- */
.page-banner {
  /* pale icy blue \u2192 linen cream \u2014 soft transition to body */
  background: linear-gradient(180deg, var(--color-bg-cool) 0%, #EEF5EE 45%, var(--color-bg-alt) 80%, var(--color-bg) 100%);
  color: var(--color-heading);
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 30px;
  background: var(--color-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-heading);
}
.page-banner__subtitle {
  color: var(--color-accent);
  font-family: var(--font-script);
  font-size: 1.5rem;
  font-weight: 600;
}
.breadcrumb { color: var(--color-text-light); font-size: 0.85rem; }
.breadcrumb a, .breadcrumb__link { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary-dark); }
.breadcrumb__current { color: var(--color-primary-dark) !important; }
.breadcrumb__separator, .breadcrumb__sep { margin: 0 0.5rem; }
.breadcrumb__sep::before { content: '›'; }

/* ---- Service detail ---- */
.service-detail__content h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--color-heading);
  font-weight: 700;
  margin: 2.25rem 0 1rem;
  position: relative;
  padding-left: 1rem;
}
.service-detail__content h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0.4em;
  width: 4px;
  height: 1.2em;
  background: var(--color-secondary);
  border-radius: 2px;
}
.service-detail__content h2:first-child { margin-top: 0; }
.service-detail__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}
.service-detail__content ul li { margin-bottom: 0.75rem; }
.service-detail__content ul li strong { color: var(--color-primary-dark); }
.service-detail {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 768px) { .service-detail { padding: 2rem 1.5rem; } }

/* ---- Profile ---- */
.profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 768px) { .profile { grid-template-columns: 1fr; } }
.profile__photo {
  border-radius: var(--radius-lg) !important;
  margin-bottom: 1.5rem;
}
.profile__quick-info {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.profile__info-item { margin-bottom: 1rem; }
.profile__info-item:last-child { margin-bottom: 0; }
.profile__info-label {
  display: block;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.profile__info-value { font-size: 0.95rem; color: var(--color-text); }
.profile__name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}
.profile__credentials {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: var(--font-body);
}
.profile__section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-heading);
  font-weight: 700;
  margin: 2rem 0 1rem;
  position: relative;
  padding-left: 1rem;
}
.profile__section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 0.4em;
  width: 4px;
  height: 1.1em;
  background: var(--color-secondary);
  border-radius: 2px;
}
.profile__bio p { font-size: 1rem; line-height: 1.8; color: var(--color-text); }
.profile__cta {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 3rem;
}
.profile__cta h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}
.profile__cta p { color: rgba(255,255,255,0.95); margin-bottom: 1.5rem; }
.profile__cta .btn--white { color: var(--color-accent); }

/* ---- Footer ---- */
.footer {
  background: var(--color-heading);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}
.footer .container { max-width: 1280px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.footer__desc { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer__link, .footer__contact-item {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  padding: 0.2rem 0;
  display: block;
}
.footer__link:hover { color: var(--color-secondary); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__social a {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-left: 1.5rem;
}
.footer__social a:hover { color: var(--color-secondary); }

/* ---- Decorative scribble accent for select areas ---- */
.section .container > h2:first-child,
.about-cta h2 {
  position: relative;
}

/* ---- Container ---- */
.container { max-width: 1240px; padding-left: 1.5rem; padding-right: 1.5rem; }

/* ---- Section dark CTA ---- */
.section--dark h2 {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section--dark h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin: 0.85rem auto 1.25rem;
}

@media (max-width: 768px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; }
}

/* ---- Service detail hero (page-top image + title split) ---- */
.service-hero {
  background: linear-gradient(180deg, var(--color-bg-cool) 0%, #EEF5EE 45%, var(--color-bg-alt) 80%, var(--color-bg) 100%);
  padding: 3.5rem 0 4rem;
  position: relative;
}
.service-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 30px;
  background: var(--color-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.service-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.service-hero__content .breadcrumb {
  justify-content: flex-start;
  margin-bottom: 1.25rem;
}
.service-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
}
.service-hero__intro {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.service-hero__image {
  position: relative;
  aspect-ratio: 5/4;
}
.service-hero__image::before {
  content: '';
  position: absolute;
  inset: -1.25rem;
  background: var(--color-secondary-light);
  border-radius: var(--radius-xl);
  transform: rotate(-2deg);
  z-index: 0;
}
.service-hero__image-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
.service-hero__image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-hero__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  text-align: center;
}
.service-hero__placeholder svg { width: 56px; height: 56px; opacity: 0.85; }
@media (max-width: 880px) {
  .service-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-hero__image { max-width: 480px; margin: 0 auto; width: 100%; }
}
