/*
 * ─────────────────────────────────────────────────────────────
 *  HealthyWayFit — Static Page Styles
 *  Covers: default page template (legal/about) + contact page
 *  Version: 1.5.0
 * ─────────────────────────────────────────────────────────────
 */

/* ── Page Hero ───────────────────────────────────────────────────────────── */
.hwf-page-hero {
  background: var(--hwf-bg-hero); /* #FFF1F0 warm pinkish — matches live site */
  padding-top: 7.5rem;  /* 120px — clears 72px header */
  padding-bottom: 3rem;
}

.hwf-page-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hwf-green);
  margin: 0 0 0.75rem;
}

/* Post title block inside hero */
.hwf-page-hero .wp-block-post-title,
.hwf-page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--hwf-text-dark);
  line-height: 1.2;
  margin: 0;
}

.hwf-page-hero__intro {
  margin-top: 1rem;
  max-width: 580px;
  font-size: var(--hwf-font-size-lg);
  line-height: 1.7;
  color: var(--hwf-text);
}

/* ── Legal / Text Page Content ───────────────────────────────────────────── */
.hwf-page-content-wrap {
  padding-top:    var(--hwf-space-2xl);
  padding-bottom: var(--hwf-space-2xl);
}

.hwf-page-content {
  max-width: var(--hwf-content-max); /* 760px */
  margin-inline: auto;
  padding-inline: var(--hwf-space-md);
}

/* Headings inside page content */
.hwf-page-content h1,
.hwf-page-content .wp-block-heading.is-style-large {
  font-size: var(--hwf-font-size-2xl);
  font-weight: 700;
  color: var(--hwf-text-dark);
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hwf-page-content h2,
.hwf-page-content .wp-block-heading {
  font-size: var(--hwf-font-size-xl);
  font-weight: 700;
  color: var(--hwf-text-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  line-height: 1.35;
}

.hwf-page-content h2:first-child {
  margin-top: 0;
}

.hwf-page-content h3 {
  font-size: var(--hwf-font-size-lg);
  font-weight: 600;
  color: var(--hwf-text-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.hwf-page-content h4 {
  font-size: var(--hwf-font-size-base);
  font-weight: 600;
  color: var(--hwf-text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Body text */
.hwf-page-content p,
.hwf-page-content .wp-block-paragraph {
  font-size: var(--hwf-font-size-base);
  line-height: 1.8;
  color: var(--hwf-text);
  margin-bottom: 1.25rem;
}

/* Lists */
.hwf-page-content ul,
.hwf-page-content ol,
.hwf-page-content .wp-block-list {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.hwf-page-content li {
  font-size: var(--hwf-font-size-base);
  line-height: 1.75;
  color: var(--hwf-text);
  margin-bottom: 0.4rem;
}

/* Links */
.hwf-page-content a,
.hwf-page-content .wp-block-paragraph a {
  color: var(--hwf-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hwf-page-content a:hover {
  color: var(--hwf-green-hover);
}

/* Strong */
.hwf-page-content strong {
  font-weight: 700;
  color: var(--hwf-text-dark);
}

/* Blockquote */
.hwf-page-content blockquote,
.hwf-page-content .wp-block-quote {
  border-left: 3px solid var(--hwf-green);
  padding-left: 1.25rem;
  margin-left: 0;
  color: var(--hwf-text-muted);
  font-style: italic;
}

/* Horizontal rule */
.hwf-page-content hr {
  border: none;
  border-top: 1px solid var(--hwf-border);
  margin: 2.5rem 0;
}

/* Legal section highlight boxes */
.hwf-page-content .hwf-notice {
  background: #FFF7ED;
  border-left: 3px solid #F59E0B;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--hwf-radius-sm) var(--hwf-radius-sm) 0;
  margin-bottom: 1.25rem;
}
.hwf-page-content .hwf-notice strong { color: #92400E; }


/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Contact section wrapper ────────────────────────────────── */
.hwf-contact-main {
  padding-top:    var(--hwf-space-2xl);
  padding-bottom: var(--hwf-space-2xl);
}

/* ── Contact info cards grid ────────────────────────────────── */
.hwf-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hwf-space-lg);
  margin-bottom: var(--hwf-space-2xl);
}

.hwf-contact-card {
  background: #fff;
  border: 1px solid var(--hwf-border);
  border-radius: var(--hwf-radius-lg);
  padding: var(--hwf-space-lg);
  box-shadow: var(--hwf-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: box-shadow var(--hwf-transition), transform var(--hwf-transition);
}

.hwf-contact-card:hover {
  box-shadow: var(--hwf-shadow-md);
  transform: translateY(-2px);
}

.hwf-contact-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--hwf-green-light);
  border-radius: var(--hwf-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hwf-contact-card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--hwf-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hwf-contact-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hwf-text-muted);
  margin: 0;
}

.hwf-contact-card__value {
  font-size: var(--hwf-font-size-lg);
  font-weight: 600;
  color: var(--hwf-text-dark);
  line-height: 1.4;
  margin: 0;
}

.hwf-contact-card__value a {
  color: var(--hwf-green);
  text-decoration: none;
  transition: color var(--hwf-transition);
}
.hwf-contact-card__value a:hover { color: var(--hwf-green-hover); text-decoration: underline; }

.hwf-contact-card__note {
  font-size: var(--hwf-font-size-sm);
  color: var(--hwf-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── WhatsApp CTA section ───────────────────────────────────── */
.hwf-contact-cta {
  background: var(--hwf-bg-section); /* #F5F5F0 */
  border-radius: var(--hwf-radius-xl);
  padding: var(--hwf-space-2xl) var(--hwf-space-lg);
  text-align: center;
  margin-bottom: var(--hwf-space-2xl);
}

.hwf-contact-cta__badge {
  display: inline-block;
  background: var(--hwf-green-light);
  color: var(--hwf-green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 0.875rem;
  border-radius: var(--hwf-radius-full);
  margin-bottom: 1rem;
}

.hwf-contact-cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--hwf-text-dark);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.hwf-contact-cta__sub {
  font-size: var(--hwf-font-size-base);
  color: var(--hwf-text-muted);
  margin: 0 0 var(--hwf-space-lg);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--hwf-space-lg);
}

.hwf-contact-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--hwf-whatsapp);
  color: #fff !important;
  font-weight: 600;
  font-size: var(--hwf-font-size-base);
  padding: 0.9375rem 2.25rem;
  border-radius: var(--hwf-radius-full);
  text-decoration: none !important;
  transition: background-color var(--hwf-transition), transform var(--hwf-transition), box-shadow var(--hwf-transition);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.hwf-contact-cta__btn:hover {
  background: var(--hwf-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.hwf-contact-cta__btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #fff;
}

/* ── Social links row ───────────────────────────────────────── */
.hwf-contact-social {
  text-align: center;
  margin-bottom: var(--hwf-space-lg);
}

.hwf-contact-social__label {
  font-size: var(--hwf-font-size-sm);
  color: var(--hwf-text-muted);
  margin-bottom: 0.75rem;
}

.hwf-contact-social__links {
  display: flex;
  justify-content: center;
  gap: var(--hwf-space-sm);
}

.hwf-contact-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--hwf-border);
  border-radius: var(--hwf-radius-full);
  color: var(--hwf-text-muted);
  text-decoration: none;
  transition: border-color var(--hwf-transition), color var(--hwf-transition), background-color var(--hwf-transition);
}
.hwf-contact-social__link:hover {
  border-color: var(--hwf-green);
  color: var(--hwf-green);
  background: var(--hwf-green-light);
}
.hwf-contact-social__link svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hwf-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hwf-page-hero { padding-top: 6rem; padding-bottom: 2.5rem; }
  .hwf-page-content { padding-inline: var(--hwf-space-sm); }
  .hwf-contact-grid { grid-template-columns: 1fr; gap: var(--hwf-space-md); }
  .hwf-contact-cta { padding: var(--hwf-space-xl) var(--hwf-space-md); }
}
