/*
Theme Name: Serene Spa Child
Description: A calm, responsive home page for Serene Spa, built on Twenty Twenty-Five.
Author: Site Admin
Template: twentytwentyfive
Version: 1.0.0
Text Domain: serene-spa-child
*/

:root {
  --spa-rose: #c46c79;
  --spa-rose-deep: #9d4f5e;
  --spa-ink: #302a29;
  --spa-muted: #716967;
  --spa-cream: #fbf8f4;
  --spa-sand: #eee5dc;
  --spa-line: #e7dcd4;
}

html { scroll-behavior: smooth; }
body { color: var(--spa-ink); background: #fff; }
a { text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--spa-rose-deep) !important;
  outline-offset: 3px;
}

/* Shared site frame */
.wp-site-blocks > header { position: relative; z-index: 2; background: #fff; }
.spa-utility-bar { background: #8c4bd1; color: #fff; font-size: .9rem; }
.spa-utility-inner { min-height: 42px; padding-top: 0 !important; padding-bottom: 0 !important; }
.spa-utility-inner p { margin: 0; }
.spa-utility-inner a { color: #fff; text-decoration: none; }
.spa-utility-inner a:hover { text-decoration: underline; }
.spa-main-header-wrap { background: #fbf9f7; border-bottom: 1px solid rgba(48,42,41,.08); }
.wp-site-blocks > header .spa-main-header { min-height: 94px; padding-top: 12px !important; padding-bottom: 12px !important; }
.wp-block-site-title { margin: 0; }
.wp-block-site-title a { color: #f34093; text-decoration: none; }
.spa-main-header .wp-block-site-title { flex: 0 0 auto; }
.spa-main-header .wp-block-site-title a { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.35rem, 4vw, 3.2rem); line-height: 1; }
.spa-main-nav { margin-left: auto; }
.spa-main-nav .wp-block-navigation__container { gap: clamp(14px, 2vw, 30px); }
.spa-main-nav a { color: #5f5857; font-size: .94rem; text-decoration: none; }
.spa-main-nav a:hover, .spa-main-nav .current-menu-item > a { color: #f34093; }
.spa-header-cta { flex: 0 0 auto; margin: 0 0 0 18px; }
.spa-header-cta .wp-element-button { border: 0; border-radius: 999px; padding: 15px 25px; background: #f34093; color: #fff; font-size: .92rem; font-weight: 600; text-decoration: none; }
.spa-header-cta .wp-element-button:hover { background: #d92f7e; }
.wp-block-navigation a:focus-visible, .spa-utility-inner a:focus-visible { outline: 3px solid #302a29 !important; outline-offset: 3px; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; }

/* Homepage */
.spa-hero { min-height: min(690px, 78vh) !important; background: #f4ebe3; }
.spa-hero .wp-block-cover__image-background { object-position: center 49%; }
.spa-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(251,248,244,.76) 0%, rgba(251,248,244,.48) 49%, rgba(48,42,41,.06) 100%) !important; opacity: 1 !important; }
.spa-hero .wp-block-cover__inner-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.spa-hero-copy { max-width: 590px; padding: clamp(28px,5vw,68px) 0; }
.spa-eyebrow { color: var(--spa-rose-deep); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; margin-bottom: 1rem; }
.spa-hero h1 { max-width: 580px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem,6.5vw,5.8rem); line-height: .99; letter-spacing: -.045em; margin: 0 0 1.2rem; color: var(--spa-ink); }
.spa-hero .spa-lede { max-width: 510px; font-size: clamp(1.05rem,1.7vw,1.22rem); line-height: 1.7; color: #4a4140; }
.spa-button .wp-element-button, .wp-block-button__link { border-radius: 999px; padding: .85rem 1.45rem; font-weight: 600; }
.spa-button .wp-element-button { background: var(--spa-rose-deep); color: #fff; }
.spa-button.is-style-outline .wp-element-button { color: var(--spa-rose-deep); border-color: var(--spa-rose-deep); background: rgba(255,255,255,.7); }
.spa-button .wp-element-button:hover { background: #783b47; color: #fff; }

.spa-section { padding-top: clamp(64px,9vw,112px); padding-bottom: clamp(64px,9vw,112px); }
.spa-section h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.1rem,4.5vw,3.7rem); line-height: 1.05; letter-spacing: -.035em; margin: .5rem 0 1.1rem; }
.spa-section .spa-intro { max-width: 690px; color: var(--spa-muted); line-height: 1.8; font-size: 1.05rem; }
.spa-about { background: var(--spa-cream); }
.spa-about .wp-block-columns { align-items: center; gap: clamp(30px,7vw,92px); }
.spa-about .wp-block-image img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: 180px 180px 12px 12px; }
.spa-about-copy { max-width: 540px; }
.spa-about-copy p:not(.spa-eyebrow) { color: var(--spa-muted); line-height: 1.8; }
.spa-services-heading { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.spa-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.spa-service-grid > .wp-block-column { min-width: 0; }
.spa-service-card { height: 100%; padding: 0 0 24px; background: #fff; border: 1px solid var(--spa-line); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 34px rgba(52,37,31,.045); }
.spa-service-card .wp-block-image { margin: 0 0 22px; }
.spa-service-card .wp-block-image img { width: 100%; height: 220px; object-fit: cover; }
.spa-service-card h3, .spa-service-card p { margin-left: 22px; margin-right: 22px; }
.spa-service-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; margin-top: 0; margin-bottom: .55rem; }
.spa-service-card p { color: var(--spa-muted); line-height: 1.7; font-size: .94rem; }
.spa-feature { color: #fff; background: var(--spa-ink); }
.spa-feature .wp-block-columns { align-items: center; gap: clamp(30px,6vw,84px); }
.spa-feature .spa-feature-image img { width: 100%; height: 430px; object-fit: cover; border-radius: 10px; }
.spa-feature h2 { color: #fff; }
.spa-feature p:not(.spa-eyebrow) { color: #e2d9d5; line-height: 1.8; }
.spa-feature .spa-eyebrow { color: #f0b6bd; }
.spa-gallery { background: var(--spa-cream); }
.spa-gallery-heading { text-align: center; max-width: 750px; margin: 0 auto 2.4rem; }
.spa-gallery .wp-block-gallery { gap: 14px; }
.spa-gallery .wp-block-image { flex: 1 1 calc(25% - 14px) !important; min-width: 190px; }
.spa-gallery .wp-block-image img { width: 100%; height: clamp(190px,23vw,290px); object-fit: cover; border-radius: 9px; }
.spa-closing { padding-top: clamp(58px,7vw,88px); padding-bottom: clamp(58px,7vw,88px); text-align: center; background: #f3e5e2; }
.spa-closing p:not(.spa-eyebrow) { max-width: 600px; margin-left: auto; margin-right: auto; color: #5d5250; line-height: 1.75; }
.spa-closing .wp-block-buttons { justify-content: center; }

/* Editable individual treatment pages */
.spa-service-page-hero { padding: clamp(50px, 8vw, 96px) 24px !important; text-align: center; background: var(--spa-cream); }
.spa-service-page-hero h1 { margin: .35rem 0 .8rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.7rem, 6vw, 4.8rem); line-height: 1.05; letter-spacing: -.035em; }
.spa-service-page-hero .spa-intro { max-width: 680px; margin: 0 auto; color: var(--spa-muted); line-height: 1.8; }
.spa-service-page-content { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(56px, 8vw, 96px); }
.spa-service-page-content .wp-block-columns { gap: clamp(28px, 6vw, 76px); }
.spa-service-page-content .wp-block-image img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 12px; }
.spa-service-page-content p { color: var(--spa-muted); line-height: 1.8; }
.spa-service-card h3 a { color: inherit; text-decoration: none; }
.spa-service-card h3 a:hover { color: var(--spa-rose-deep); text-decoration: underline; }
.spa-service-card .wp-block-buttons { margin: 0 22px; }
.spa-service-card .wp-block-button__link { padding: .7rem 1.15rem; }

/* Dark, four-column footer inspired by the supplied reference. */
.wp-site-blocks > footer.wp-block-template-part { background: #1d1a1c; }
.spa-footer { background: #1d1a1c !important; color: #f8f4f2; }
.spa-footer-main { padding-top: clamp(52px,7vw,82px); padding-bottom: clamp(46px,6vw,72px); }
.spa-footer-columns { gap: clamp(28px,4vw,64px); }
.spa-footer-columns > .wp-block-column { flex-basis: calc((100% - 3 * clamp(28px, 4vw, 64px)) / 4) !important; }
.spa-footer h2, .spa-footer h3 { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
.spa-footer h2 { font-size: 1.65rem; margin: 0 0 1rem; }
.spa-footer h2 a { color: #fff; text-decoration: none; }
.spa-footer h3 { font-size: 1.35rem; margin: 0 0 1.3rem; }
.spa-footer-copy { color: #d5cece; line-height: 1.8; font-size: .94rem; }
.spa-footer-links { margin: 0; padding: 0; list-style: none; }
.spa-footer-links li { margin: 0 0 .85rem; color: #f4ecec; }
.spa-footer-links li::before { content: '›'; color: #f34093; font-weight: 700; margin-right: .65rem; }
.spa-footer-links a { color: #f4ecec; text-decoration: none; }
.spa-footer-links a:hover { color: #ff8abc; text-decoration: underline; }
.spa-footer-button { margin-top: 1.3rem; }
.spa-footer-button .wp-element-button { background: #f34093; color: #fff; border-radius: 999px; padding: .75rem 1.2rem; font-weight: 600; text-decoration: none; }
.spa-footer-bottom-wrap { border-top: 1px solid rgba(255,255,255,.12); }
.spa-footer-bottom { padding-top: 18px; padding-bottom: 18px; }
.spa-footer-bottom p { margin: 0; color: #ddd5d7; font-size: .9rem; }
.spa-footer-bottom a { color: #ff69a8; text-decoration: none; }
.spa-footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 781px) {
  .spa-main-header { min-height: 72px !important; flex-wrap: wrap !important; gap: 12px; }
  .spa-main-header .wp-block-site-title a { font-size: 2.25rem; }
  .spa-header-cta { display: none; }
  .spa-utility-inner { min-height: 38px; font-size: .78rem; }
  .spa-footer-columns { row-gap: 28px; }
  .wp-site-blocks > header .wp-block-group.alignwide { min-height: 68px; }
  .spa-contact-cards { gap: 16px; }
  .spa-contact-map { height: 360px; }
  .spa-contact-image img { height: 320px; }
  .spa-hero { min-height: 600px !important; }
  .spa-hero .wp-block-cover__image-background { object-position: 58% center; }
  .spa-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(251,248,244,.82), rgba(251,248,244,.52)) !important; }
  .spa-hero .wp-block-cover__inner-container { width: calc(100% - 36px); }
  .spa-about .wp-block-columns, .spa-feature .wp-block-columns { gap: 28px; }
  .spa-about .wp-block-image img { max-height: 460px; aspect-ratio: 4 / 3; border-radius: 10px; }
  .spa-service-grid { gap: 16px; }
  .spa-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spa-service-card .wp-block-image img { height: 190px; }
  .spa-feature .spa-feature-image img { height: 320px; }
  .spa-gallery .wp-block-image { flex-basis: calc(50% - 14px) !important; min-width: 0; }
}
@media (max-width: 480px) {
  .spa-main-header { gap: 8px; }
  .spa-main-header .wp-block-site-title a { font-size: 1.9rem; }
  .spa-utility-inner { font-size: .7rem; }
  .spa-footer-columns > .wp-block-column { flex-basis: 100% !important; }
  .spa-footer-bottom { gap: 10px; }
  .spa-contact-hero { padding-left: 18px !important; padding-right: 18px !important; }
  .spa-contact-cards > .wp-block-column { flex-basis: 100% !important; }
  .spa-contact-map { height: 300px; }
  .spa-contact-location .wp-block-columns { gap: 24px; }
  .spa-contact-image img { height: 260px; }
  .spa-contact-explore .wp-block-buttons { flex-direction: column; align-items: center; }
  .spa-hero { min-height: 570px !important; }
  .spa-hero h1 { font-size: clamp(2.55rem,13vw,3.5rem); }
  .spa-hero .wp-block-buttons { gap: 10px; }
  .spa-hero .wp-block-button { width: 100%; }
  .spa-hero .wp-block-button__link { width: 100%; text-align: center; }
  .spa-service-grid .wp-block-column { flex-basis: 100% !important; }
  .spa-service-grid { grid-template-columns: 1fr; }
  .spa-service-card .wp-block-image img { height: 225px; }
  .spa-gallery .wp-block-image { flex-basis: 100% !important; }
  .spa-gallery .wp-block-image img { height: 260px; }
}

/* Contact page */
.spa-contact-hero {
  padding: clamp(44px, 6vw, 76px) 24px !important;
  background: #f34093;
  color: #fff;
  text-align: center;
}
.spa-contact-hero .spa-contact-eyebrow { color: #fff; opacity: .9; }
.spa-contact-hero h1 {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  margin: .35rem 0 .8rem;
}
.spa-contact-hero p:last-child { margin: 0; color: #fff; }
.spa-contact-details { padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(48px, 6vw, 76px); }
.spa-contact-cards { align-items: stretch; gap: 24px; }
.spa-contact-card {
  height: 100%;
  min-height: 140px;
  box-sizing: border-box;
  padding: 22px 24px !important;
  background: #fbf9f7;
  border: 1px solid #f34093;
  border-radius: 10px;
}
.spa-contact-card h2 {
  position: relative;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.42rem;
  font-weight: 500;
  margin: 0 0 .55rem;
  padding-left: 38px;
}
.spa-contact-card h2::before {
  position: absolute;
  left: 0;
  top: .05rem;
  color: #f34093;
  font: 700 1.35rem/1 sans-serif;
}
.spa-contact-address::before { content: '⌖'; }
.spa-contact-email::before { content: '✉'; }
.spa-contact-phone::before { content: '☎'; }
.spa-contact-card p { margin: 0 0 0 38px; color: #716967; font-size: .94rem; line-height: 1.65; }
.spa-contact-location { padding-top: clamp(52px, 7vw, 88px); padding-bottom: clamp(52px, 7vw, 88px); background: #fbf8f4; }
.spa-contact-location .wp-block-columns { align-items: center; gap: clamp(32px, 6vw, 76px); }
.spa-contact-location h2, .spa-contact-explore h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.spa-contact-location p:not(.spa-contact-eyebrow) { color: #716967; line-height: 1.8; }
.spa-contact-map-section > .spa-contact-eyebrow,
.spa-contact-map-section > h2,
.spa-contact-map-section > p { text-align: center; }
.spa-contact-map-section > h2 { margin-top: .25rem; }
.spa-contact-map { width: 100%; height: clamp(320px, 42vw, 500px); overflow: hidden; border-radius: 10px; box-shadow: 0 12px 32px rgba(48, 35, 39, .12); }
.spa-contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.spa-contact-map-section .wp-block-buttons { justify-content: center; margin-top: 1.25rem; }
.spa-contact-image img { width: 100%; height: 390px; object-fit: cover; border-radius: 10px; }
.spa-contact-button .wp-element-button {
  border-radius: 999px;
  padding: .82rem 1.35rem;
  background: #f34093;
  color: #fff;
  font-weight: 600;
}
.spa-contact-explore { padding: clamp(48px, 6vw, 72px) 24px !important; text-align: center; background: #f34093; color: #fff; }
.spa-contact-explore .spa-contact-eyebrow { color: #fff; opacity: .9; }
.spa-contact-explore h2 { color: #fff; margin: .35rem 0 .8rem; }
.spa-contact-explore p:not(.spa-contact-eyebrow) { color: #fff; line-height: 1.7; }
.spa-contact-explore .wp-block-buttons { justify-content: center; margin-top: 1.4rem; }
.spa-contact-explore .spa-contact-button .wp-element-button { color: #d92f7e; background: #fff; border: 1px solid #fff; }
.spa-contact-explore .spa-contact-button.is-style-outline .wp-element-button { color: #fff; background: transparent; }
.spa-contact-explore .spa-contact-button .wp-element-button:hover { background: #fbe8ef; color: #9d4f5e; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
