/* =========================================================
   SERVICES PAGE
   ========================================================= */

.services-brand-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.services-brand-mark .about-brand-logo {
  width: var(--about-logo-size);
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(99, 71, 63, 0.14));
}

.services-intro {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 30px) 8px clamp(26px, 3.5vw, 36px);
  text-align: center;
}

.services-kicker {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-intro h1 {
  margin: 0;
  color: var(--terracotta);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--display-title-size);
  font-style: italic;
  font-weight: 600;
  line-height: 0.92;
}

.services-lead {
  max-width: 38ch;
  margin: 28px auto 0;
  color: var(--sage-deep);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 600;
  line-height: 1.45;
}

.services-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto 34px;
  border-top: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
}

.services-index a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 92px;
  padding: 18px 14px 16px;
  border-left: 1px solid var(--about-rule);
  color: var(--sage-deep);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.services-index a:last-child {
  border-right: 1px solid var(--about-rule);
}

.services-index a:hover {
  background: rgba(200, 109, 81, 0.08);
  color: var(--terracotta);
}

.services-index span {
  color: var(--terracotta);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 600;
}

.services-note {
  max-width: 48ch;
  margin: 20px auto 0;
  color: var(--card-text);
  font-size: 0.9rem;
  line-height: 1.65;
}

.services-list {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 66px) 0;
}

.services-catalogue {
  max-width: 920px;
  margin: 0 auto;
}

.service-section {
  display: block;
  margin-bottom: 18px;
  padding: clamp(20px, 3vw, 30px) clamp(16px, 3vw, 30px) clamp(36px, 5vw, 56px);
  border: 1px solid var(--about-rule);
}

.service-summary {
  display: none;
}

.service-section:last-child {
  margin-bottom: 0;
}

.service-section-sage {
  background: rgba(229, 237, 224, 0.28);
}

.service-section-terracotta {
  background: rgba(200, 109, 81, 0.07);
}

.service-section-integrated {
  padding-bottom: clamp(48px, 7vw, 80px);
}

.service-section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.service-section-heading .service-number {
  margin-bottom: 12px;
}

.service-section-heading h2 {
  margin: 0 0 16px;
  scroll-margin-top: 112px;
  color: var(--sage-deep);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.7vw, 3.15rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.service-section-heading h3 {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  font-weight: 700;
  line-height: 1.35;
}

.service-section-heading p:not(.services-kicker):not(.service-number) {
  max-width: 72ch;
  margin: 0 0 14px;
  color: var(--about-text);
  font-size: 0.98rem;
  line-height: 1.75;
}

.service-section-heading p:last-child {
  margin-bottom: 0;
}

.age-bands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.age-band {
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--sage) 28%, transparent);
  background: rgba(255, 252, 249, 0.58);
}

.service-section-heading .age-band h4 {
  margin: 0 0 8px;
  color: var(--sage-deep);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.25;
}

.age-band h4 span {
  display: block;
  margin-top: 3px;
  color: var(--terracotta);
}

.service-section-heading .age-band p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-section > .offer-grid,
.service-section > .integrated-options {
  width: 100%;
}

.offer-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 20px 20px 22px;
  border: 1px solid color-mix(in srgb, var(--terracotta) 20%, transparent);
  background: rgba(255, 252, 249, 0.72);
}

.offer-card h3 {
  margin: 0 0 8px;
  color: var(--sage-deep);
  font-size: 1rem;
  line-height: 1.3;
}

.offer-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--terracotta);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

.offer-card del {
  color: var(--card-text);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
}

.offer-card p {
  margin: 0;
  color: var(--card-text);
  font-size: 0.88rem;
  line-height: 1.6;
}

.offer-card-featured {
  border-color: color-mix(in srgb, var(--terracotta) 42%, transparent);
  background: rgba(255, 245, 239, 0.82);
}

.offer-card-unavailable {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--card-text) 28%, transparent);
  background: rgba(255, 252, 249, 0.42);
  opacity: 0.72;
}

.offer-card-unavailable h3,
.offer-card-unavailable p {
  color: color-mix(in srgb, var(--card-text) 78%, transparent);
}

.offer-card-unavailable strong {
  color: color-mix(in srgb, var(--terracotta) 70%, transparent);
}

.offer-card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--card-text) 70%, transparent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.offer-card-live strong {
  display: inline-block;
  margin-bottom: 0;
}

.offer-card-live {
  display: block;
}

.offer-card-live .offer-card-status {
  position: relative;
  top: 4px;
  display: inline-flex;
  margin-left: 8px;
  margin-bottom: 12px;
  vertical-align: middle;
}

.offer-card-live > p {
  margin-top: 8px;
}

.italian-flag {
  display: inline-block;
  width: 12px;
  height: 9px;
  border: 1px solid color-mix(in srgb, var(--card-text) 30%, transparent);
  background: linear-gradient(to right, #008c45 0 33.333%, #ffffff 33.333% 66.666%, #cd212a 66.666%);
}

.integrated-options {
  display: grid;
  gap: 28px;
}

.service-section-integrated .service-section-heading {
  max-width: 760px;
}

/* Alterna posizione e atmosfera cromatica, come le card della home. */
.service-section:nth-child(1) {
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(234, 242, 228, 0.72), rgba(255, 252, 249, 0.52));
}

.service-section:nth-child(2) {
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(251, 232, 224, 0.72), rgba(255, 252, 249, 0.52));
}

.service-section:nth-child(3) {
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(230, 239, 242, 0.7), rgba(255, 252, 249, 0.52));
}

.service-section:nth-child(4) {
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(252, 240, 213, 0.7), rgba(255, 252, 249, 0.52));
}

.service-section:nth-child(5) {
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(248, 226, 217, 0.64), rgba(255, 252, 249, 0.52));
}

.integrated-option {
  padding-top: 24px;
  border-top: 1px solid var(--about-rule);
}

.integrated-option > h3 {
  margin: 0 0 8px;
  color: var(--sage-deep);
  font-size: 1.1rem;
}

.integrated-option > p {
  margin: 0 0 18px;
  color: var(--about-text);
  font-size: 0.94rem;
  line-height: 1.65;
}

.services-section-heading {
  max-width: 54ch;
  margin-bottom: 34px;
}

.services-section-heading h2,
.services-path h2,
.services-contact h2 {
  margin: 0;
  color: var(--sage-deep);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px 24px 30px;
}

.service-card + .service-card {
  border-left: 1px solid var(--about-rule);
}

.service-card-matrix {
  background: var(--about-matrix-background);
}

.service-card-reiki {
  background: var(--about-reiki-background);
}

.service-card-family {
  background: rgba(229, 237, 224, 0.38);
}

.service-number {
  margin: 0 0 28px;
  color: var(--terracotta);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-style: italic;
}

.service-card h2 {
  margin: 0 0 14px;
  color: var(--sage-deep);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.service-card p:not(.service-number) {
  margin: 0;
  color: var(--card-text);
  font-size: 0.94rem;
  line-height: 1.65;
}

.service-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  color: var(--terracotta);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--terracotta) 45%, transparent);
}

.service-link:hover {
  color: var(--sage-deep);
  border-bottom-color: var(--sage-deep);
}

.services-path {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 58px) 0;
  border-top: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
}

.services-path p:not(.services-kicker) {
  margin: 0;
  color: var(--about-text);
  font-size: 1rem;
  line-height: 1.75;
}

.services-contact {
  width: 100%;
  margin: 32px 0 34px;
  padding: clamp(34px, 5vw, 52px) clamp(24px, 7vw, 110px);
  border-top: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
  background: var(--about-paper);
  color: var(--about-sage);
  text-align: center;
}

.services-contact .services-kicker {
  margin-bottom: 10px;
}

.services-contact p:not(.services-kicker) {
  max-width: 57ch;
  margin: 0 auto 30px;
  color: var(--about-sage);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 500;
  line-height: 1.7;
}

.services-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid var(--terracotta);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--terracotta);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.services-contact-link:hover {
  background: var(--about-cta-hover);
  box-shadow: 0 8px 16px var(--about-cta-shadow);
}

@media (max-width: 760px) {
  .services-intro {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .services-list {
    padding: 42px 8px;
  }

  .services-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: 8px;
    margin-left: 8px;
    margin-bottom: 26px;
  }

  .services-index a:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--about-rule);
    border-right: 1px solid var(--about-rule);
  }

  .services-index a:nth-child(even) {
    border-right: 1px solid var(--about-rule);
  }

  .services-index a:nth-child(n + 3) {
    border-top: 1px solid var(--about-rule);
  }

  .service-section {
    margin-bottom: 14px;
    padding: 20px 16px 36px;
  }

  .service-section > .offer-grid,
  .service-section > .integrated-options,
  .service-section-integrated .service-section-heading {
    grid-column: auto;
  }

  .service-section {
    padding: 42px 8px;
  }

  .service-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -18px -2px 24px;
    padding: 12px 2px;
    color: var(--sage-deep);
    cursor: pointer;
    list-style: none;
  }

  .service-summary::-webkit-details-marker {
    display: none;
  }

  .service-summary::after {
    content: "+  Apri";
    color: var(--terracotta);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  details[open] > .service-summary::after {
    content: "-  Chiudi";
  }

  .service-summary span {
    color: var(--terracotta);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 600;
  }

  .service-summary strong {
    flex: 1;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .service-section:not([open]) {
    padding-top: 0;
    padding-bottom: 0;
  }

  .service-section:not([open]) > .service-summary {
    margin-top: 0;
    margin-bottom: 0;
  }

  .service-section:not([open]) .service-section-heading,
  .service-section:not([open]) > .offer-grid,
  .service-section:not([open]) > .integrated-options {
    display: none;
  }

  .service-section-heading .service-number,
  .service-section-heading .services-kicker,
  .service-section-heading h2 {
    display: none;
  }

  .offer-grid,
  .offer-grid-two,
  .age-bands {
    grid-template-columns: 1fr;
  }

  .offer-grid-single {
    max-width: none;
  }

  .offer-card {
    min-height: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 26px 22px 28px;
  }

  .service-card + .service-card {
    border-top: 1px solid var(--about-rule);
    border-left: 0;
  }

  .service-link {
    margin-top: 24px;
  }

  .services-path {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 38px 8px;
  }

  .services-contact {
    margin-top: 26px;
    margin-bottom: 24px;
    padding: 36px 22px;
  }
}
