/* ============================================================
   Pure Massage — Global Styles
   ============================================================ */

/* ============================================================
   BODY
   flex column layout keeps the footer pinned to the bottom on
   short pages — .site-main below takes up the remaining space.
   ============================================================ */
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7; /* ~27px — sitewide default paragraph line-height */
  color: var(--color-text);
  background-color: var(--color-background);
}

.site-main {
  flex: 1;
}

/* ============================================================
   SCREEN-READER-ONLY UTILITY
   Visually hidden but still readable by assistive tech and
   present in the DOM text content (e.g. for disambiguating
   repeated "Learn More" links without changing their visible text).
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============================================================
   SECTION
   ============================================================ */
section {
  padding-block: 64px;
}

/* ============================================================
   SECTION HEADER
   Title + description centered above a section's main content
   (grid, row, etc). Reusable across any section that needs one.
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 922px;
  margin-inline: auto;
  margin-block-end: 2.5rem;
}

/* Service Intro's .section-header ends with the CTAs, not a grid —
   the sitewide 2.5rem bottom margin above was leaving an extra gap
   below the buttons with nothing after it to justify the space. */
.service-intro-section .section-header,
.membership-intro-section .section-header,
.about-intro-section .section-header,
.contact-intro-section .section-header,
.thank-you-section .section-header {
  margin-block-end: 0;
}

.thank-you-cta {
  margin-block-start: 1.5rem;
}


.contact-intro-section .section-header {
  max-width: 754px;
}

/* "online booking system" link inside the Contact page's intro
   description. */
.contact-intro-section .section-description a,
.thank-you-section .section-description a {
  color: var(--color-primary);
  font-weight: 700;
}

.section-description {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text);
  line-height: 28px;
  margin-block-start: 0.625rem;
}

/* Modifier — white text, for use on the teal header/footer background. */
.section-description--inverse {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   SKIP TO CONTENT (Accessibility)
   ============================================================ */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 1000;
  padding: 12px 20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 0;
}

/* ============================================================
   SECTION HEADING
   Cormorant Garamond Semibold — the brand's serif heading
   treatment. Apply to any section-level h2 site-wide.
   ============================================================ */
.heading-section {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.2;
  font-size: clamp(26px, 4vw, 40px);
  margin: 0;
}

/* Modifier — inverted, white text for use on the teal header/footer
   background (per the design brief: "algunas veces invertido"). */
.heading-section--inverse {
  color: var(--color-heading-inverse);
}

/* ============================================================
   SMALL HEADING
   Lato Bold — used for smaller labels/sub-headings that don't
   need the full serif treatment (e.g. card titles, eyebrow text).
   ============================================================ */
.heading-small {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.3;
}

/* ============================================================
   FEATURE CARDS
   Reusable image + title + description card. Background color is
   decided by context, not per card — default is the light teal
   tint (used wherever the page itself is white); add
   .feature-cards-grid--white on the wrapping grid for contexts
   where the page itself is already tinted, so the cards read as
   white instead.
   ============================================================ */
.feature-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.feature-card {
  width: 100%;
  background-color: var(--color-teal-100);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

@media (min-width: 667px) {
  .feature-card {
    width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .feature-card {
    width: calc((100% - 2 * 1.5rem) / 3);
  }
}

@media (min-width: 1200px) {
  .feature-card {
    width: calc((100% - 3 * 1.5rem) / 4);
  }
}

.feature-cards-grid--white .feature-card {
  background-color: var(--color-white);
}

.feature-card-media {
  margin-block-end: 1rem;
}

.feature-card-media img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.feature-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}

.feature-card-description {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-block-start: 0.5rem;
}

.feature-cards-cta {
  text-align: center;
  margin-block-start: 2.5rem;
}

/* ============================================================
   PHONE CTA
   The same compact rounded box as .footer-phone (teal
   background, 16px radius) — not a full-width band. Centered via
   margin-inline:auto, sized to its own content.
   ============================================================ */
.phone-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.375rem;
  width: fit-content;
  margin-inline: auto;
  margin-block-start: 3rem;
  background-color: var(--color-teal-900);
  border-radius: 16px;
  padding: 1rem 3rem;
}

.phone-cta-label {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.phone-cta-number {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE ROW
   Reusable 2-column (media + content) layout: stacked below
   1024px, capped to a centered 700px column on tablet, then a
   full-width horizontal row from 1024px. Apply alongside a
   location-specific class for any per-context spacing beyond this
   shared layout.
   ============================================================ */
.responsive-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 1023px) {
  .responsive-row {
    max-width: 700px;
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .responsive-row {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

/* ============================================================
   SECTION EYEBROW
   Small bold pre-heading above a .heading-section, e.g. "A More
   Personalized Wellness Experience". Reusable site-wide.
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

/* ============================================================
   CONTENT SECTION
   Shared vertical padding for content sections (homepage intro,
   services, etc.) — 40px mobile, scaling to 60px at 1024px.
   ============================================================ */
.content-section {
  padding-block: 40px;
}

@media (min-width: 1024px) {
  .content-section {
    padding-block: 60px;
  }
}

/* ============================================================
   PAGE INTRO
   Image + heading + description (+ optional CTA below), the
   ".responsive-row" layout with its own spacing.
   ============================================================ */
.page-intro-media {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.page-intro-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-intro-content {
  max-width: 640px;
}

.page-intro-content .heading-section {
  margin-block-end: 1rem;
}

.page-intro-description p + p,
.page-intro-description + .page-intro-description {
  margin-block-start: 1rem;
}

.page-intro-cta {
  margin-block-start: 1.5rem;
}

/* "PURE Serenity" / "PURE Bliss" — teal instead of plain bold,
   scoped to this section only (the Trust Badges captions reuse
   <strong> too, but stay plain dark bold, not teal). */
.membership-section .page-intro-description strong,
.membership-intro-section .page-intro-description strong {
  color: var(--color-primary);
}

/* ============================================================
   MEMBERSHIP OPTIONS (page-membership.php)
   Two (or more) tier cards, alternating the teal/terracotta brand
   accents by position — no per-card color picker needed since only
   those two accents appear in the design.
   ============================================================ */
.membership-options-section {
  background-color: var(--color-cream-50);
}

.membership-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.membership-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 0 15px var(--color-cream-100);
  border: 1px solid var(--color-cream-200);
  border-radius: 25px;
  padding: 2.5rem;
}

@media (max-width: 905px) {
  .membership-cards-grid {
    max-width: 700px;
    margin-inline: auto;
  }
}

@media (min-width: 906px) {
  .membership-card {
    width: calc((100% - 2rem) / 2);
  }
}

.membership-card-footer {
  margin-top: auto;
}

.membership-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.membership-card-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.membership-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem);
  color: var(--color-heading);
  margin: 0;
}

.membership-card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 3vw + 20px, 50px);
  color: var(--color-primary);
  margin: 0.5rem 0 0;
}

.membership-card--alt .membership-card-price {
  color: var(--color-cta-alt);
}

.membership-card-price-period {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  color: var(--color-text);
}

.membership-card-choose-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 1.5rem 0 0;
}

.membership-card-list-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 1.25rem 0 0.5rem;
}

.membership-card--alt .membership-card-list-label {
  color: var(--color-cta-alt);
}

.membership-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.membership-card-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.9;
}

.membership-card-list-item::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
}

.membership-card--alt .membership-card-list-item::before {
  border-color: var(--color-cta-alt);
}

.membership-card-bonus {
  text-align: center;
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-teal-100);
  border: 1px solid #D3E9E9;
  border-radius: 50px;
  padding: 10px 20px;
  margin: 1.5rem 0 0;
}

.membership-card-bonus strong {
  color: var(--color-primary);
}

.membership-card--alt .membership-card-bonus {
  background-color: #FBF0EE;
  border-color: #F7DED9;
}

.membership-card--alt .membership-card-bonus strong {
  color: var(--color-cta-alt);
}

.membership-card-cta {
  width: 100%;
  margin-top: 1.5rem;
}

/* ============================================================
   ABOUT MISSION (page-about-us.php)
   ============================================================ */
.about-mission-section {
  background-color: var(--color-teal-100);
}

/* ============================================================
   ABOUT WHY CHOOSE (page-about-us.php)
   Cards reuse the Membership Perks styles (.perk-cards-grid etc.)
   as-is — same look, per the design.
   ============================================================ */
.about-why-choose-section .section-description {
  font-style: italic;
}

/* ============================================================
   CANCELLATION POLICY (page-cancellation-policy.php)
   Same .responsive-row / .page-intro-media / .page-intro-content
   layout as About Mission, just with the image on the right (source
   order: content first, then image — .responsive-row doesn't
   reverse). The repeater's own sub-headings sit smaller than the
   main .heading-section, stacked with their own spacing.
   ============================================================ */
@media (min-width: 1024px) {
  .cancellation-policy-section .responsive-row {
    gap: 4rem;
    /* flex-start instead of the shared .responsive-row center — a
       fixed margin-top on the image (below) holds it at the same
       spot instead of it drifting as the text column's height
       changes across viewport widths. */
    align-items: flex-start;
  }

  .cancellation-policy-section .page-intro-content {
    flex: 3;
    max-width: none;
  }

  .cancellation-policy-section .page-intro-media {
    flex: 2;
    margin-block-start: 2.5rem;
  }
}

.policy-block {
  margin-block-start: 2rem;
}

.policy-block-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
  font-size: clamp(20px, 1.2vw + 16px, 28px);
  margin: 0;
}

/* ============================================================
   MEMBERSHIP PERKS (page-membership.php)
   Small icon + title + description cards, 3-up on desktop.
   ============================================================ */
.membership-perks-section {
  background-color: var(--color-teal-100);
}

.membership-perks-section .section-description {
  font-style: italic;
}

.perk-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.perk-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-cream-200);
  border-radius: 15px;
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .perk-card {
    width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1071px) {
  .perk-card {
    width: calc((100% - 3rem) / 3);
  }
}

.perk-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.perk-card-title {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0;
}

.perk-card-description {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0px;
  color: var(--color-text);
  margin: 0.25rem 0 0;
}

@media (min-width: 1024px) {
  .page-intro-media,
  .page-intro-content {
    flex: 1;
  }
}

/* ============================================================
   SERVICES SECTION
   Homepage "Our Services" grid — also reusable on the Services
   archive later. Background sits behind the .service-card's own
   white background, so the shadow reads against it.
   ============================================================ */
.services-section {
  background-color: var(--color-cream-50);
}

.service-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 0 15px var(--color-cream-100);
  border-radius: 25px;
  overflow: hidden;
}

@media (min-width: 667px) {
  .service-card {
    width: calc((100% - 2rem) / 2);
  }
}

.service-card-media {
  display: block;
  overflow: hidden;
}

.service-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-media:hover img {
  transform: scale(1.02);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem;
}

.service-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 1.875rem); /* ~22px mobile, up to 30px desktop */
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0;
}

.service-card-title-link {
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-card-title-link:hover,
.service-card-title-link:focus-visible {
  color: var(--color-primary);
}

.service-card-description {
  font-size: 16px;
  line-height: 28px;
  margin-block-start: 0.75rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-block-start: auto;
  padding-block-start: 0.625rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 40px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
}

.service-card-link-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.service-card-link:hover .service-card-link-icon,
.service-card-link:focus-visible .service-card-link-icon {
  transform: translateX(4px);
}

/* ============================================================
   TRUST BADGES (single-service.php — Skincare only)
   Two (or more) logo + caption cards right after the Service
   Intro section.
   ============================================================ */
.trust-badges-section {
  background-color: var(--color-teal-100);
}

.trust-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.trust-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  text-align: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-cream-200);
  border-radius: 20px;
  padding: 2.5rem;
}

.trust-badge-logo {
  display: block;
  max-width: 160px;
  height: auto;
  margin-block-end: 1.5rem;
}

.trust-badge-caption {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

/* ============================================================
   REIKI SESSION (single-service.php — Holistic Healing only)
   Centered heading/description, then a 2-card grid.
   ============================================================ */
.reiki-section {
  background-color: var(--color-teal-100);
}

.reiki-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.reiki-card {
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-cream-200);
  border-radius: 20px;
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .reiki-card {
    width: calc((100% - 2rem) / 2);
  }
}

.reiki-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem); /* ~22px mobile, up to 28px desktop */
  line-height: 30px;
  color: var(--color-heading);
  margin: 0;
}

.reiki-card-description {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 25px;
  color: var(--color-text);
  margin-block-start: 0.75rem;
}

.reiki-card-description + .reiki-card-description {
  margin-block-start: 1rem;
}

/* ============================================================
   SEVEN CHAKRAS (single-service.php — Holistic Healing only)
   Image + a divider list, each row a colored dot + title/
   subtitle/description.
   ============================================================ */
.chakras-section .section-header {
  max-width: 754px;
}

.chakras-media img {
  border-radius: 20px;
}

.chakras-list {
  display: flex;
  flex-direction: column;
}

.chakra-item {
  display: flex;
  gap: 16px;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--color-cream-100);
}

.chakra-item:first-child {
  padding-block-start: 0;
}

.chakra-item:last-child {
  border-bottom: none;
  padding-block-end: 0;
}

.chakra-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-block-start: 0.5rem;
  border-radius: 50%;
}

.chakra-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-heading);
  margin: 0;
}

.chakra-subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0.375rem 0 0;
}

.chakra-description {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0.375rem 0 0;
}

/* ============================================================
   RECOVERY & WELLNESS THERAPIES (single-service.php — Infrared
   Sauna only). Image + title/description/price-pill cards, 1
   column on mobile, 2 per row from 768px up.
   ============================================================ */
.recovery-therapies-section {
  background-color: var(--color-teal-100);
}

.recovery-therapies-section .section-description {
  font-style: italic;
}

.recovery-therapies-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .recovery-therapies-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.recovery-therapy-card {
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-cream-200);
  border-radius: 15px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .recovery-therapy-card {
    width: calc((100% - 1.75rem) / 2);
  }
}

.recovery-therapy-card-media {
  overflow: hidden;
}

.recovery-therapy-card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recovery-therapy-card-media:hover img {
  transform: scale(1.02);
}

.recovery-therapy-card-body {
  padding: 1.75rem;
}

.recovery-therapy-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem); /* ~22px mobile, up to the design's 28px on desktop */
  line-height: 30px;
  letter-spacing: 0px;
  color: var(--color-heading);
  margin: 0;
}

.recovery-therapy-card-description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0.75rem 0 0;
}

.recovery-therapy-card-body .service-item-card-prices {
  margin-block-start: 1.25rem;
}

/* ============================================================
   HOMEPAGE REVIEWS
   Section header, then whatever markup the reviews carousel
   plugin's shortcode outputs, then Google/Yelp CTA buttons.
   ============================================================ */
.reviews-section {
  background-color: var(--color-teal-100);
}

.reviews-carousel {
  margin-block: 2.5rem;
}

.reviews-carousel .ti-inner,
.reviews-carousel .ti-widget.ti-goog .ti-review-item > .ti-inner {
  border: 1px solid var(--color-cream-200) !important;
}

/* Mobile: stacked, full-width (same fix as .service-intro-ctas) —
   from 480px up, back to a centered inline row. */
.reviews-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.reviews-ctas .cta-button {
  width: 100%;
}

@media (min-width: 480px) {
  .reviews-ctas {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .reviews-ctas .cta-button {
    width: auto;
  }
}

.reviews-cta {
  gap: 10px;
}

.reviews-cta-icon {
  display: block;
  flex-shrink: 0;
}

/* ============================================================
   HOMEPAGE AWARDS
   Repeater of award cards — image + title below it.
   ============================================================ */
.award-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-cream-200);
  border-radius: 15px;
  padding: 2rem;
}

@media (min-width: 768px) {
  .award-card {
    width: calc((100% - 2rem) / 2);
  }
}

@media (min-width: 1024px) {
  .award-card {
    width: calc((100% - 4rem) / 3);
  }
}

.award-card-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-block-end: 1.25rem;
}

.award-card-title {
  max-width: 176px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-gray-600);
  margin: 0 auto;
}

/* ============================================================
   HOMEPAGE INSTAGRAM
   Heading (handle in teal via <strong>) above whatever the feed
   plugin's shortcode outputs.
   ============================================================ */
.instagram-section {
  background-color: var(--color-cream-50);
  text-align: center;
}

.instagram-heading strong {
  color: var(--color-primary);
  font-weight: inherit;
}

.instagram-feed {
  margin-block-start: 2.5rem;
}

/* ============================================================
   SERVICE ITEM CARDS (single-service.php)
   Individual treatment/add-on cards within a Service's page.
   Regular — serif title, description, price pill(s), optional
   Featured badge + tinted background. Add-on — uppercase title +
   plain price on one row, no pill.
   ============================================================ */
/* Description under every Service Category section header (regular
   or add-on) — italic, distinct from the plain .section-description
   used everywhere else it's reused (e.g. the Service Intro just
   above these). */
.service-category-section .section-description {
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0px;
}

.service-category-section--cream {
  background-color: var(--color-cream-50);
}

.service-category-section--white {
  background-color: var(--color-white);
}

.service-category-section--addon {
  background-color: var(--color-teal-100);
}

.service-item-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-item-grid--center {
  justify-content: center;
}

.service-item-card {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 0 15px var(--color-cream-100);
  border-radius: 20px;
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .service-item-card {
    width: calc((100% - 2rem) / 2);
  }
}

.service-item-card--featured {
  background-color: var(--color-teal-100);
  box-shadow: 0px 0px 15px var(--color-cream-100);
  border: 1px solid #4BBFC1;
}

.service-item-card-badge {
  position: absolute;
  top: -14px;
  right: 1.75rem;
  padding: 6px 16px;
  background-color: #4BBFC1;
  border: 1px solid #D3E9E9;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  border-radius: 50px;
}

.service-item-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem); /* ~22px mobile, up to the design's 28px on desktop */
  line-height: 30px;
  letter-spacing: 0px;
  color: var(--color-heading);
  margin: 0;
}

.service-item-card-description {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 0px;
  color: var(--color-text);
  margin-block-start: 0.75rem;
}

.service-item-card-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 1.25rem;
}

.service-item-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--color-teal-100);
  border: 1px solid #D3E9E9;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 14px;
}

.service-item-price-pill-label {
  color: var(--color-gray-600);
}

.service-item-price-pill-price {
  color: var(--color-primary);
  font-weight: 700;
}

.service-item-card--featured .service-item-price-pill {
  background-color: var(--color-white);
  border: 1px solid #D3E9E9;
}

/* Add-on variant — smaller card, no pill/badge, title + price share
   one row, uppercase title matches the sitewide small-heading style. */
.service-item-card--addon {
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: none;
}

@media (min-width: 1024px) {
  .service-item-grid--addon .service-item-card--addon {
    width: calc((100% - 4rem) / 3);
  }
}

.service-item-card-addon-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.service-item-card-addon-title {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--color-heading);
  margin: 0;
}

.service-item-card-addon-price {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 20px;
  letter-spacing: 0.66px;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ============================================================
   CTA BUTTON
   Primary (teal) — used on the header/footer (white/light bg).
   Add .cta-button--alt for the terracotta secondary variant on
   other sections.
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  background-color: var(--color-cta);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding-inline: 28px;
  border-radius: 50px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.cta-button--alt {
  background-color: var(--color-cta-alt);
}

/* ============================================================
   SERVICE INTRO CTAs (single-service.php)
   Mobile: stacked, each button full-width (was wrapping into small,
   oddly-centered pills at the container's shrink-to-fit size).
   From 480px up: back to a centered inline row — justify-content:
   center means a single CTA (the other left blank) centers itself
   with no extra markup.
   ============================================================ */
.service-intro-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-block-start: 1.5rem;
}

.service-intro-ctas .cta-button {
  width: 100%;
}

@media (min-width: 480px) {
  .service-intro-ctas {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .service-intro-ctas .cta-button {
    width: auto;
  }
}

/* ============================================================
   CONTACT SECTION (template-parts/contact-section.php)
   Repeated as-is on the Homepage, Services archive, every single
   Service, and the Membership/About Pages. Same background image
   everywhere — assets/images/teal-bg.webp (static theme asset, not
   per-page ACF media, since it never changes).
   ============================================================ */
.contact-section {
  position: relative;
  background-image: url('../images/teal-bg.webp');
  background-size: cover;
  background-position: center;
}

/* White text on the teal background image — eyebrow/heading/
   description all need it here even though they default to dark
   ink everywhere else this template-part is reused elsewhere. */
.contact-section .section-eyebrow,
.contact-section .heading-section,
.contact-section .section-description {
  color: var(--color-white);
}

.contact-section .section-header {
  max-width: 700px;
}

.contact-form-card .gform_required_legend {
  display: none !important;
}

.contact-form-card {
  max-width: 691px;
  margin-inline: auto;
  background: var(--color-white);
  border: 1px solid var(--color-cream-200);
  box-shadow: 0 0 12px #0E7F8F26;
  border-radius: 30px;
  padding: 40px;
}

/* Gravity Forms' own "Orbital" theme ships CSS-custom-property-driven
   styles at similar/higher specificity than plain class selectors —
   !important is needed throughout to reliably win against it.
   Strategy: zero out every default margin/padding GF puts on the
   field grid/labels/containers/footer, then apply one consistent
   0.9375rem (15px) gap everywhere spacing is actually needed. */
.contact-form-card .gform_wrapper.gform-theme,
.contact-form-card .gform_body,
.contact-form-card .gform_fields,
.contact-form-card .gfield,
.contact-form-card .gfield_label,
.contact-form-card .ginput_container,
.contact-form-card .gform_footer {
  margin: 0 !important;
  padding: 0 !important;
}

.contact-form-card .gform_body {
  max-inline-size: 100% !important;
}

.contact-form-card .gform_fields {
  row-gap: 0.9375rem !important;
  column-gap: 0.9375rem !important;
}

.contact-form-card .gfield_label {
  display: block !important;
  margin-block-end: 5px !important;
  font-family: var(--font-body) !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  letter-spacing: 0.7px !important;
  color: var(--color-gray-600) !important;
  text-transform: uppercase !important;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea {
  width: 100% !important;
  background: var(--color-white) !important;
  border: 2px solid var(--color-cream-200) !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  font-family: var(--font-body) !important;
  color: var(--color-text) !important;
  transition: border-color 0.2s ease !important;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select {
  height: 45px !important;
  padding-inline: 16px !important;
}

.contact-form-card input[type="text"]:focus,
.contact-form-card input[type="email"]:focus,
.contact-form-card input[type="tel"]:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--color-primary) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Custom chevron — must come after the shared input/select/textarea
   block above, since that block's `background: ... !important`
   shorthand resets background-image too (equal specificity, so
   whichever rule is later in the file wins). */
.contact-form-card select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236E6E6E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-inline-end: 40px !important;
}

.contact-form-card .gform_footer {
  margin-block-start: 0.9375rem !important;
}

.contact-form-card .gform_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 45px !important;
  background: var(--color-cta-alt) !important;
  color: var(--color-white) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0px !important;
  text-transform: uppercase !important;
  border: none !important;
  box-shadow: none !important;
  padding-inline: 28px !important;
  border-radius: 50px !important;
  transition: filter 0.2s ease, transform 0.2s ease !important;
}

.contact-form-card .gform_button:hover,
.contact-form-card .gform_button:focus-visible {
  filter: brightness(0.94) !important;
  transform: translateY(-1px) !important;
}

/* Success confirmation message (shown in place of the form after an
   ajax="true" submit) — a friendly green card instead of GF's
   plain default text. */
.contact-form-card .gform_confirmation_message {
  display: block;
  background-color: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: 20px;
  padding: 24px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #2E7D32;
  text-align: center;
}

/* ============================================================
   CONTACT DETAILS (page-contact.php)
   Form (DOM first — mobile shows form, then the sidebar boxes
   below it) + a sidebar of info boxes. Sidebar goes 2-per-row at
   tablet width (flex-wrap stretches each row to equal height by
   default); both go back to a single column at 1200px, when the
   whole layout becomes two columns and the sidebar visually moves
   to the left via `order` (DOM order is unchanged).
   ============================================================ */
.contact-details-section {
  padding-block-start: 0;
}

.contact-details-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Standing alone (below 1200px, before the sidebar sits beside it) —
   mobile-first: full width by default, capped to the same 700px
   used for Chakras/Membership Cards once there's room to grow. */
.contact-details-layout .contact-form-card {
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-info-box {
    width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1200px) {
  .contact-details-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .contact-details-layout .contact-form-card {
    order: 1;
    flex: 1;
  }

  .contact-sidebar {
    order: -1;
    flex: 1;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .contact-info-box {
    width: 100%;
  }
}

.contact-info-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-cream-200);
  border-radius: 20px;
  padding: 1.75rem;
}

.contact-info-box--highlight {
  background-color: var(--color-teal-100);
  border: 1px solid #D3E9E9;
  border-radius: 25px;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem); /* ~22px mobile, up to 28px desktop */
  line-height: 30px;
  letter-spacing: -0.28px;
  color: var(--color-heading);
  margin: 0 0 0.75rem;
}

.contact-info-label {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0.75rem 0 0.25rem;
}

.contact-info-label:first-of-type {
  margin-block-start: 0;
}

.contact-info-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 0.6vw + 12.5px, 17px);
  line-height: 24px;
  letter-spacing: 0px;
  color: var(--color-text);
  margin: 0;
}

.contact-info-text a {
  color: inherit;
  text-decoration: none;
}

/* "online booking site" link — teal/bold, unlike the plain phone/
   email links above (which stay the same color as their text). */
.contact-info-box--hours .contact-info-text a {
  color: var(--color-primary);
  font-weight: 700;
}

.contact-info-list {
  list-style: disc;
  margin: 0.5rem 0 0;
  padding-inline-start: 20px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
}

.contact-info-cta {
  margin-top: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding-inline: 1.25rem;
  }

  section {
    padding-block: 40px;
  }
}

/* ============================================================
   SITEMAP LIST (page-sitemap.php)
   ============================================================ */
.sitemap-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 600px;
  margin-inline: auto;
  background-color: var(--color-teal-100);
  border-radius: 16px;
  padding: 2rem clamp(1.25rem, 5vw, 3rem);
}

.sitemap-list > li > a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-teal-900);
  text-decoration: none;
}

.sitemap-list > li > a:hover,
.sitemap-list > li > a:focus-visible {
  text-decoration: underline;
}

.sitemap-sublist {
  list-style: none;
  margin: 0.75rem 0 0;
  padding-inline-start: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border-inline-start: 2px solid var(--color-teal-200);
}

.sitemap-sublist a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
}

.sitemap-sublist a:hover,
.sitemap-sublist a:focus-visible {
  color: var(--color-teal-900);
  text-decoration: underline;
}

/* ============================================================
   Entry Content (page.php)
   Generic prose styling for any plain WordPress-editor page —
   readable column width, clear vertical rhythm between headings/
   paragraphs/lists.
   ============================================================ */
.entry-content {
  max-width: 720px;
  margin-inline: auto;
}

.entry-content > :first-child {
  margin-block-start: 0;
}

.entry-content > :last-child {
  margin-block-end: 0;
}

.entry-content h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  color: var(--color-heading);
  margin-block: 2.5rem 1rem;
  padding-block-end: 0.75rem;
  border-bottom: 1px solid var(--color-cream-200);
}

.entry-content h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-heading);
  margin-block: 1.75rem 0.75rem;
}

.entry-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-block-end: 1.25rem;
}

.entry-content ul,
.entry-content ol {
  margin-block-end: 1.25rem;
  padding-inline-start: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.entry-content li {
  line-height: 1.6;
}

.entry-content ul li::marker {
  color: var(--color-cta);
}

.entry-content a {
  color: var(--color-teal-900);
  font-weight: 600;
  text-decoration: underline;
}

.entry-content a:hover,
.entry-content a:focus-visible {
  color: var(--color-cta);
}
