/* About, features, services, pricing, hours, FAQ */

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media .frame--arch { aspect-ratio: 4/5; box-shadow: var(--shadow); }
.about__media .frame--small {
  position: absolute; right: -8%; bottom: 8%; width: 52%; aspect-ratio: 1;
  border: 10px solid var(--cream); box-shadow: var(--shadow);
  transition: transform var(--dur-slow) var(--ease-in-out);
}
.about__media:hover .frame--small { transform: translateY(-10px) rotate(-2deg); }
.about__badge {
  position: absolute; left: -6%; top: 8%;
  background: var(--leaf-900); color: var(--cream);
  border-radius: 50%; width: 128px; height: 128px;
  display: grid; place-content: center; text-align: center; gap: .1rem;
  box-shadow: var(--shadow); padding: 1rem;
}
.about__badge strong { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; }
.about__badge span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-300); }
.stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin-block: 2rem; flex-wrap: wrap; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--leaf-700); line-height: 1; }
.stat__label { font-size: .85rem; color: var(--text-muted); margin-top: .35rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .8rem; font-size: .97rem; }
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: .25rem; }
.checklist circle { fill: var(--leaf-100); }
.checklist path { stroke: var(--leaf-600); stroke-width: 2; fill: none; }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.6rem;
  border: 1px solid var(--border); text-align: center;
  /* Start from a transparent shadow so the hover shadow eases in instead of popping. */
  box-shadow: 0 18px 45px rgba(7, 46, 35, 0);
  transition: transform var(--dur-slow) var(--ease-in-out), box-shadow var(--dur-slow) var(--ease-in-out), border-color var(--dur) var(--ease-in-out);
}
.features .feature:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--leaf-200); }
.feature__icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--leaf-100); display: grid; place-items: center;
  transition: background-color var(--dur) var(--ease-in-out), transform var(--dur-slow) var(--ease-out-back);
}
.feature__icon svg { width: 28px; height: 28px; stroke: var(--leaf-700); fill: none; stroke-width: 1.6; transition: stroke var(--dur) var(--ease-in-out); }
.features .feature:hover .feature__icon { background: var(--leaf-600); transform: translateY(-4px) scale(1.08) rotate(-6deg); }
.features .feature:hover .feature__icon svg { stroke: var(--white); }
.feature h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature p { font-size: .9rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3.5rem; }
.service {
  background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 70px rgba(7, 46, 35, 0);
  transition: transform var(--dur-slow) var(--ease-in-out), box-shadow var(--dur-slow) var(--ease-in-out), border-color var(--dur) var(--ease-in-out);
}
.services .service:hover { transform: translateY(-14px) scale(1.02); box-shadow: var(--shadow-lg); border-color: transparent; }
.service__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; } /* transition: see animations.css */
.services .service:hover .service__media img { transform: scale(1.12); }
.service__price {
  position: absolute; right: 1rem; bottom: 1rem;
  background: var(--cream); color: var(--leaf-800);
  border-radius: var(--radius-pill); padding: .45rem 1rem;
  font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-slow) var(--ease-in-out), background-color var(--dur) var(--ease-in-out), color var(--dur) var(--ease-in-out);
}
.services .service:hover .service__price { transform: translateY(-6px); background: var(--leaf-700); color: var(--cream); }
.service__body { padding: 1.9rem 1.75rem 2rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.service__body p { font-size: .93rem; }
.service__body .link-arrow { margin-top: auto; align-self: flex-start; }
.service__tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-500); font-weight: 700; }

/* ---------- Pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 3rem; }
.pricing__grid > * { min-width: 0; }
.price-block + .price-block { margin-top: 2.5rem; }
.price-block__title {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--leaf-600); color: var(--white);
  border-radius: var(--radius-pill); padding: .4rem 1.1rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.price-block__note { font-size: .82rem; margin-top: .6rem; }

/* The salon's price list has up to three prices per treatment, so it is a real table. */
.price-table { width: 100%; border-collapse: collapse; margin-top: 1.1rem; }
.price-table th, .price-table td { text-align: right; padding: .75rem .4rem; }
.price-table th:first-child, .price-table td:first-child { text-align: left; padding-left: 0; }
.price-table thead th {
  font-family: var(--font-body); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--leaf-600);
  border-bottom: 1.5px solid var(--leaf-200); padding-bottom: .5rem;
}
.price-table tbody tr { border-bottom: 1px dashed var(--border); transition: background-color var(--dur) var(--ease-in-out); }
.price-table tbody tr:hover { background: rgba(31, 154, 114, .06); }
.price-table td:first-child { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }
/* Only the price cells stay on one line; treatment names must be free to wrap,
   or the table forces the whole page wider than a phone screen. */
.price-table td { font-weight: 600; color: var(--leaf-700); }
.price-table td + td { white-space: nowrap; }
.price-table td.is-muted { color: var(--text-muted); font-weight: 400; }
.price-scroll { overflow-x: auto; }

/* Info card in place of the old "signature package" — the salon takes walk-ins. */
.price-card {
  background: var(--leaf-900); color: var(--leaf-50);
  border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 2.75rem); position: relative; overflow: hidden;
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.price-card h3 { color: var(--cream); font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.price-card p { color: rgba(241,249,245,.72); }
.price-card ul { margin-block: 1.5rem; }
.price-card li { display: flex; gap: .7rem; font-size: .93rem; margin-bottom: .8rem; color: rgba(241,249,245,.85); }
.price-card li svg { width: 20px; height: 20px; flex: none; margin-top: .3rem; stroke: var(--leaf-300); fill: none; stroke-width: 2; }
.price-card .leaf { opacity: .12; right: -50px; top: -40px; width: 240px; }
.price-card__phone {
  display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--leaf-300); margin-block: .4rem 1.25rem; transition: color var(--dur) var(--ease-in-out);
}
.price-card__phone:hover { color: var(--cream); }

/* ---------- Hours + booking CTA ---------- */
.hours__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hours__list { margin-block: 2rem; max-width: 30rem; }
.hours__list li {
  display: flex; justify-content: space-between; gap: 1rem; padding-block: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem;
  padding-inline: .25rem; border-radius: 8px;
  transition: background-color var(--dur) var(--ease-in-out), padding-inline var(--dur-slow) var(--ease-in-out);
}
.hours__list li:hover { background: rgba(255,255,255,.06); padding-inline: .75rem; }
.hours__list li:last-child { border-bottom: 0; }
.hours__list span:first-child { color: var(--cream); font-weight: 500; }
.hours__list li.is-closed span:last-child { color: var(--gold-soft); }
.hours__media { position: relative; }
.hours__media .frame { aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.hours__note {
  position: absolute; left: -6%; bottom: -4%;
  background: var(--cream); color: var(--leaf-900);
  border-radius: var(--radius); padding: 1.15rem 1.4rem; max-width: 15rem;
  box-shadow: var(--shadow); font-size: .85rem; line-height: 1.5;
}
.hours__note strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .2rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin: 3rem auto 0; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); margin-bottom: .85rem; overflow: hidden; transition: box-shadow var(--dur) var(--ease); }
.faq__item.is-open { box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; text-align: left; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink);
  transition: color var(--dur) var(--ease-in-out), padding-left var(--dur-slow) var(--ease-in-out);
}
.faq__q:hover { color: var(--leaf-700); padding-left: 1.9rem; }
.faq__icon { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--leaf-100); display: grid; place-items: center; transition: background-color var(--dur) var(--ease-in-out), transform var(--dur-slow) var(--ease-in-out); }
.faq__item.is-open .faq__icon { background: var(--leaf-600); transform: rotate(135deg); }
.faq__icon svg { width: 14px; height: 14px; stroke: var(--leaf-800); stroke-width: 2.2; transition: stroke var(--dur) var(--ease); }
.faq__item.is-open .faq__icon svg { stroke: var(--white); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease-in-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.5rem 1.4rem; font-size: .95rem; }
