:root {
  --site-ink: #262219;
  --site-muted: #6b6353;
  --site-paper: #fffcf4;
  --site-cream: #ffefd6;
  --site-peach: #ffefd6;
  --site-gold: #ca8a04;
  --site-gold-dark: #8f5f00;
  --site-gold-soft: #fff1da;
  --site-line: #e6c68f;
  --site-shadow: 0 20px 60px rgba(52, 43, 27, 0.09);
  --font-display: 'Sentient', Georgia, serif;
}

html { scroll-padding-top: 86px; }

/* Kill horizontal panning on phones; clip beats hidden because it
   cannot become a scroll container (iOS ignores hidden on body alone). */
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 250, 240, 0.85), transparent 30rem),
    linear-gradient(180deg, #fff6e6 0%, var(--site-cream) 42%, #ffe8c6 100%);
  color: var(--site-ink);
}

.container { max-width: none; }
.section { margin-top: 0; padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 4vw, 3rem); }

.btn {
  padding: 0.82rem 1.35rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: var(--site-gold);
  color: #fff;
  box-shadow: 0 12px 28px rgba(129, 83, 0, 0.25);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--site-gold-dark);
  box-shadow: 0 16px 34px rgba(80, 51, 0, 0.24);
}

/* Header */
.headers {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--site-line);
  background: linear-gradient(45deg, rgba(255, 246, 230, 0.85) 5%, rgb(255, 228, 176) 50%, rgba(255, 246, 230, 0.85) 99%);
  backdrop-filter: blur(18px);
}

.header {
  width: min(1180px, calc(100% - 2rem));
  min-height: 82px;
  margin: 0 auto;
  padding: 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}
.header-logo { width: auto; max-height: 54px; margin: 0; padding: 0; object-fit: contain; }
.widgets-wrapper { margin: 0; }

.header__menu {
  gap: clamp(0.75rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
}

.header__link {
  padding: 0.55rem 0.15rem !important;
  color: var(--site-ink);
  font-size: 0.88rem !important;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}

.header__link:hover,
.header__link--active {
  color: var(--site-gold-dark);
  text-decoration: none;
}

.header__link--active { border-bottom: 2px solid var(--site-gold); }
.header__button { margin: 0; }
.header__btn { margin: 0 !important; padding: 0.7rem 1.2rem !important; font-size: 0.82rem !important; }
.header__bars { width: 28px; height: 28px; margin: 0; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 990;
  width: 100%;
  height: 100dvh;
  background: rgba(255, 240, 217, 0.98);
  backdrop-filter: blur(16px);
}

.mobile-nav__menu { gap: 1.5rem; }

.mobile-nav__link {
  color: var(--site-ink);
  font: 500 1.9rem/1.2 var(--font-display);
  letter-spacing: -0.01em;
}

.mobile-nav__link:hover,
.mobile-nav__link:active { color: var(--site-gold-dark); }
.mobile-nav__link-line { width: 52px; padding: 0; border-color: rgba(129, 83, 0, 0.25); }
.mobile-nav__btn { font-size: 0.92rem; padding: 0.85rem 2rem !important; }

.mobile-nav__contact {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.6rem;
}

.mobile-nav__contact a {
  color: var(--site-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav__contact a span {
  display: inline-block;
  min-width: 4.5rem;
  margin-right: 0.35rem;
  color: var(--site-gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-nav__menu > li {
    animation: navItemIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--n, 0) * 55ms);
  }

  .mobile-nav__menu > li:nth-child(1) { --n: 0; }
  .mobile-nav__menu > li:nth-child(2) { --n: 1; }
  .mobile-nav__menu > li:nth-child(3) { --n: 2; }
  .mobile-nav__menu > li:nth-child(4) { --n: 3; }
  .mobile-nav__menu > li:nth-child(5) { --n: 4; }
  .mobile-nav__menu > li:nth-child(6) { --n: 5; }
  .mobile-nav__menu > li:nth-child(7) { --n: 6; }

  @keyframes navItemIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Hero */
.hero {
  width: 100%;
  min-height: min(820px, calc(100vh - 82px));
  height: auto;
  padding: clamp(5rem, 12vw, 9rem) 1.25rem;
  background-position: center 42%;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(18, 13, 8, 0.78), rgba(18, 13, 8, 0.35) 55%, rgba(18, 13, 8, 0.58)),
    linear-gradient(0deg, rgba(18, 13, 8, 0.55), transparent 55%);
}

.hero__content {
  width: min(760px, 100%);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  background: rgba(40, 27, 13, 0.25);
  backdrop-filter: blur(6px);
}

.hero__title {
  margin: 0;
  padding: 0;
  color: #fff8ee;
  font: 500 clamp(2.4rem, 7vw, 5rem)/1.06 var(--font-display);
  letter-spacing: -0.02em;
}

.hero__content hr { width: 72px; height: 2px; margin: 1.4rem auto; border: 0; background: #efbd63; }
.hero__text { margin: 0; padding: 0; color: #fff8ee; font-size: clamp(0.9rem, 2vw, 1.1rem); }
.hero > .menu__btn { margin-top: 1.75rem !important; padding: 0.9rem 2rem !important; border-radius: 999px !important; box-shadow: 0 14px 35px rgba(0,0,0,0.28) !important; }

/* Shared headings */
.menu__title,
.pics__title,
.gallery__title,
.testimonial__title,
.booking__title,
.menu-page__title {
  color: var(--site-ink);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  /* the global reset fixes line-height at 1.5rem, far too small for
     display sizes: large glyphs overlap the line below without this */
  line-height: 1.15;
}

.gallery__title { margin: 0 0 0.65rem; font-size: clamp(2rem, 4vw, 3.4rem); text-align: center; }

/* Services */
#menu {
  width: min(1240px, 100%);
  margin: 0 auto;
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 252, 244, 0.8), transparent 24rem),
    linear-gradient(180deg, #fff4e0 0%, #ffedd5 100%);
}

#menu .menu__title {
  margin: 0 0 2.5rem !important;
  color: var(--site-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

#menu .menu__p { display: none; }

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.home-service-card {
  width: auto;
  max-width: none;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--site-paper) 0%, var(--site-gold-soft) 100%);
  box-shadow: 0 10px 35px rgba(70, 46, 14, 0.08);
}

.home-service-card:hover { transform: translateY(-6px); box-shadow: var(--site-shadow); }
.home-service-card .menu__img { display: block; width: 100%; height: 240px; padding: 0; border-radius: 0; object-fit: cover; }
.card-text-content { width: 100%; padding: 1.4rem; }
.card-text-content .menu__title2 { margin: 0 0 0.75rem; color: var(--site-ink); font: 600 1.3rem/1.25 var(--font-display); }
.card-text-content p { margin: 0; color: var(--site-muted); font-size: 0.88rem; line-height: 1.7; }

/* Locations */
#locations.pics {
  margin: 0;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  border: 0;
  background: linear-gradient(135deg, #8f5f00 0%, #3a2b14 72%, #6d4907 100%);
}

#locations .pics__title { margin: 0 0 2.5rem !important; color: #fff7e9; font-size: clamp(2rem, 4vw, 3.4rem); text-align: center; }
.location-cards-grid { width: min(1120px, 100%); margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.home-service-card.location-card-override {
  width: auto;
  max-width: none;
  height: auto;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(190px, 42%) 1fr;
  border-color: rgba(255,255,255,0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--site-paper) 0%, #f6d69f 100%);
}

.home-service-card.location-card-override .menu__img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.home-service-card.location-card-override .card-text-content { width: 100%; padding: clamp(1.35rem, 3vw, 2rem); align-items: flex-start; }
.location__title { margin: 0 0 0.8rem; color: var(--site-ink); font: 600 clamp(1.2rem, 2.2vw, 1.65rem)/1.25 var(--font-display); }
.location__address, .location__phone { margin: 0 0 0.65rem; color: var(--site-muted); font-size: 0.88rem; line-height: 1.6; }
.location__phone a { color: var(--site-ink); font-weight: 700; }
.location__map-link { margin-top: 0.3rem; }
.location__map-link a { color: var(--site-gold-dark); font-size: 0.78rem; }

/* Gallery */
#locations + section.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  background:
    linear-gradient(180deg, #ffefd8 0%, #fff4e2 48%, #ffe9cb 100%);
}

.pics__controls { margin: 0 0 2.25rem; gap: 0.6rem; }

.toggle-btn {
  width: auto;
  min-width: 180px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: var(--site-paper);
  color: var(--site-ink);
  box-shadow: 0 4px 14px rgba(70, 46, 14, 0.06);
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.toggle-btn::before { content: none; }

.toggle-btn__label {
  font: 600 0.92rem/1.25 var(--font-display);
  letter-spacing: 0.01em;
}

.btn-subtext {
  display: block;
  margin: 0;
  color: var(--site-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1;
  transition: color 0.25s ease;
}

.toggle-btn:hover { border-color: var(--site-gold); transform: translateY(-2px); }

.toggle-btn.active {
  border-color: var(--site-gold-dark);
  background: var(--site-gold-dark);
  color: #fff;
  box-shadow: 0 10px 26px rgba(129, 83, 0, 0.28);
}

.toggle-btn.active .btn-subtext { color: #f3ddb1; }

.pics__grid {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.pics__grid img {
  width: 100%;
  height: clamp(210px, 24vw, 320px);
  padding: 0 !important; /* pics.css frames images with padding + background */
  border-radius: 16px;
  background: #e4b978;
  box-shadow: 0 8px 28px rgba(45, 31, 14, 0.08);
  object-fit: cover;
}

.pics__grid img:hover { transform: translateY(-3px) scale(1.01); }

/* Testimonials */
.testimonial {
  margin: 0;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  border: 0;
  background: linear-gradient(135deg, #ffedd3 0%, #fff7e9 50%, #ffe2b4 100%);
}

.testimonial__title { margin: 0 0 2.5rem; padding: 0; color: var(--site-ink); font-size: clamp(2rem, 4vw, 3.4rem); }
.testimonial__cards { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.testimonial__card {
  max-width: none;
  padding: 2rem;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 248, 239, 0.96), rgba(255, 237, 213, 0.96));
  color: var(--site-muted);
  box-shadow: 0 10px 35px rgba(70, 46, 14, 0.07);
  font-size: 0.88rem;
  line-height: 1.7;
  text-align: left;
}

.testimonial__card::before { content: '“'; top: 0.6rem; left: 1rem; color: var(--site-gold); font: 3rem var(--font-display); }
.testimonial__card::after { content: none; }
.testimonial__author { margin: 1.4rem 0 0; color: var(--site-ink); font-weight: 700; }

/* Booking CTA */
.booking {
  width: 100%;
  height: auto;
  min-height: 650px;
  margin: 0;
  padding: clamp(5rem, 10vw, 8rem) 1.25rem;
  background-attachment: fixed;
}

.booking::before { background: linear-gradient(90deg, rgba(18,13,8,0.82), rgba(18,13,8,0.46), rgba(18,13,8,0.78)); }
.booking__info { width: min(620px, 100%); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(255,255,255,0.16); border-radius: 22px; background: rgba(27,19,11,0.34); backdrop-filter: blur(7px); }
.booking__title { margin: 0 0 1rem; color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.booking__info p { font-size: 0.86rem; }
.booking__number { margin: 1.1rem 0; padding: 0; }
.booking__number p { margin-top: 0.75rem; }
.booking__number h2 { margin: 0.15rem 0 0; padding: 0; font-size: 1.25rem; }
.booking__btn { margin-top: 1.25rem; background: var(--site-gold); color: #fff; }

/* Footer */
.footer-background { background: linear-gradient(135deg, #c3a884 0%, #e4b978 55%, #d3a04b 100%); color: var(--site-ink); }
/*.footer-background { background: linear-gradient(135deg, #ffdcaf 0%, #e4b978 55%, #d3a04b 100%); color: var(--site-ink); }*/
.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.7fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  background: transparent;
  align-items: start;
}

.footer__logo {
  width: min(180px, 100%);
  margin: 0;
  filter: drop-shadow(0 2px 3px rgba(31, 32, 27, 0.2));
}
.footer__opening-hrs { display: grid; gap: 0.45rem; }
.footer__hrtitle { margin: 0 0 0.7rem; color: var(--site-ink); font-size: clamp(1rem, 1.2vw, 1.15rem); text-align: left; }
.footer__hours { display: grid; grid-template-columns: 1fr auto; gap: 0.8rem; }
.footer__hours p { margin: 0; color: #5f4b30; font-size: clamp(0.82rem, 1vw, 0.95rem); font-weight: 600; line-height: 1.55; text-align: left; }
.footer__socials { margin: 0; }
.footer__socials .custom-hr { display: none; }
.footer__socials b { display: grid; gap: 0.9rem; margin: 0; font-size: clamp(0.84rem, 1vw, 0.96rem); text-align: left; }
.footer__socials a { color: #44341f; }
.footer__socials p { margin: 0; }
.footer__copyright { margin: 0; padding: 1.1rem 1rem 1.4rem; border-top: 1px solid rgba(68,52,31,0.2); color: #654b22; font-size: clamp(0.72rem, 0.9vw, 0.82rem); }

/* Menu page */
.menu-page.container {
  width: min(1180px, calc(100% - 2rem));
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.menu-page__title { margin: 0; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.menu-page__subtitle { max-width: 720px; margin: 0.8rem auto 3rem; padding: 0; color: var(--site-muted); font-size: clamp(0.9rem, 2vw, 1.1rem); line-height: 1.6; }
.menu-services-grid { gap: 1.25rem; }
.menu-service-card { border: 1px solid var(--site-line); border-radius: 20px; background: linear-gradient(145deg, var(--site-paper) 0%, var(--site-gold-soft) 100%); box-shadow: 0 12px 40px rgba(52, 43, 27, 0.09); }
.menu-service-card:hover { transform: translateY(-5px); box-shadow: var(--site-shadow); }
.menu-service-card img { height: 300px; }
.menu-service-content { padding: clamp(1.4rem, 3vw, 2.25rem); }
.menu-service-title { margin: 0 0 0.8rem; color: var(--site-ink); font: 600 clamp(1.35rem, 2.4vw, 1.75rem) var(--font-display); }
.menu-service-desc { color: var(--site-muted); font-size: 0.82rem; line-height: 1.65; }
.menu-service-note { color: #8c7d6b; font-size: 0.7rem; line-height: 1.5; }
.menu-service-durations, .price-row { color: var(--site-muted); font-size: 0.76rem; }
.menu-service-prices { border-color: var(--site-line); }

@media (max-width: 1080px) {
  .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-card .menu__img { height: 280px; }
  .location-cards-grid { grid-template-columns: 1fr; max-width: 760px; }
  .footer {
    width: min(960px, calc(100% - 3rem));
    grid-template-columns: minmax(150px, 190px) repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .footer__socials {
    grid-column: 1 / -1;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(68, 52, 31, 0.16);
  }
  .footer__socials b {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
  }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 72px; }
  .header { min-height: 72px; }
  .header-logo { max-height: 52px; }
  .section { padding: 4.5rem 1rem; }
  .hero { min-height: calc(100svh - 72px); background-attachment: scroll; }
  .hero__content { border-radius: 18px; }
  .home-services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .home-service-card { max-width: 580px; margin: 0 auto; }
  .home-service-card .menu__img { height: clamp(220px, 62vw, 340px); }
  .home-service-card.location-card-override { grid-template-columns: 1fr; }
  .home-service-card.location-card-override .menu__img { min-height: 230px; height: 230px; }
  .pics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .pics__grid img { height: clamp(150px, 42vw, 230px); border-radius: 12px; }
  .testimonial__cards { grid-template-columns: 1fr; max-width: 580px; }
  .booking { min-height: 620px; background-attachment: scroll; }
  .footer { width: min(520px, calc(100% - 2rem)); grid-template-columns: 1fr; padding-top: 2.5rem; text-align: center; }
  .footer__logo { margin: 0 auto; }
  .footer__opening-hrs { width: min(340px, 100%); margin: 0 auto; }
  .footer__hrtitle { justify-content: center; text-align: center; }
  .footer__socials b { display: flex; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .toggle-btn { min-width: 0; flex: 1; padding: 0.65rem 0.5rem; font-size: 0.7rem; }
  .pics__controls { gap: 0.45rem; }
  .pics__grid { grid-template-columns: 1fr; }
  .pics__grid img { height: 260px; }
  .footer__copyright { flex-direction: column; gap: 0.15rem; }
  .menu-service-card img { height: 230px; }
  .menu-service-durations, .price-row { grid-template-columns: 90px repeat(2, 1fr); }
}

/* ============================================================
   UI enhancement layer: hero motion, services carousel,
   scroll reveals, micro-interactions.
   ============================================================ */

/* --- Hero --- */
.hero { isolation: isolate; }

.hero::before { z-index: 1; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(../pics/beauty-spa-hero-1280.jpg);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

@media (min-width: 900px) {
  .hero::after {
    background-image: url(../pics/beauty-spa-hero-1920.jpg);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero__title { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero__text { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.1rem;
  padding: 0.95rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--site-gold);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
}

.hero__cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.hero__cta:hover { background: var(--site-gold-dark); }
.hero__cta:hover svg { transform: translateX(3px); }

@media (prefers-reduced-motion: no-preference) {
  .hero::after {
    animation: heroZoom 16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes heroZoom {
    from { transform: scale(1.09); }
    to { transform: scale(1); }
  }

  .hero__content > * {
    animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero__content > hr { animation-delay: 140ms; }
  .hero__content > .hero__text { animation-delay: 240ms; }
  .hero__content > .hero__cta { animation-delay: 380ms; }

  @keyframes heroRise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* --- Section headings --- */
.section-heading { margin-bottom: 2.5rem; text-align: center; }
#menu .section-heading .menu__title { margin: 0 0 0.65rem !important; }
.section-sub {
  max-width: 520px;
  margin: 0 auto;
  color: var(--site-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Services carousel --- */
.services-carousel { position: relative; }

.home-services-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  max-width: none;
  margin: 0;
  padding: 0.5rem 0.25rem 1.25rem;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0.25rem;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-services-grid::-webkit-scrollbar { display: none; }

.home-service-card {
  flex: 0 0 clamp(255px, calc((100% - 3.6rem) / 4), 340px);
  width: auto;
  max-width: none;
  margin: 0;
  scroll-snap-align: start;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-service-card .menu__img { transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.home-service-card:hover .menu__img { transform: scale(1.05); }

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.carousel-nav[hidden] { display: none; }

.carousel-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--site-line);
  border-radius: 50%;
  background: var(--site-paper);
  color: var(--site-gold-dark);
  box-shadow: 0 6px 18px rgba(70, 46, 14, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.carousel-arrow:hover:not(:disabled) { transform: translateY(-2px); background: var(--site-gold-soft); }
.carousel-arrow:disabled { cursor: default; opacity: 0.35; }

@media (max-width: 767px) {
  .home-service-card { flex-basis: min(78vw, 320px); }
}

/* --- Scroll reveal --- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.7s ease,
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--d, 0) * 110ms);
  }

  .js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* A transform transition on the carousel's ancestor cancels Chrome's
     programmatic smooth scroll, so this block reveals with opacity only. */
  .js-reveal .services-carousel.reveal { transform: none; }
}

/* --- Micro-interactions --- */
.btn:active,
.carousel-arrow:active:not(:disabled),
.toggle-btn:active { transform: translateY(0) scale(0.97); }

.btn:focus-visible,
.carousel-arrow:focus-visible,
.toggle-btn:focus-visible,
.header__link:focus-visible {
  outline: 2px solid var(--site-gold-dark);
  outline-offset: 3px;
}

.header__link { position: relative; transition: color 0.25s ease; }
.header__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.2rem;
  height: 2px;
  background: var(--site-gold);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header__link:hover::after { right: 0; }
.header__link--active::after { content: none; }

.location__map-link a { transition: color 0.25s ease; }
.location__map-link a:hover { color: var(--site-gold); }

/* --- Gallery view-more (phones only) --- */
.gallery-more {
  display: none;
  margin: 1.5rem auto 0;
  padding: 0.72rem 1.7rem;
  border: 1px solid var(--site-gold-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--site-gold-dark);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.gallery-more:hover { background: var(--site-gold-dark); color: #fff; }
.gallery-more:active { transform: scale(0.97); }
.gallery-more:focus-visible { outline: 2px solid var(--site-gold-dark); outline-offset: 3px; }

@media (max-width: 767px) {
  .gallery-more { display: block; }
  .pics__grid.is-collapsed img:nth-child(n + 5) { display: none; }
}

@media (max-width: 480px) {
  .pics__grid.is-collapsed img:nth-child(n + 4) { display: none; }
}

/* --- Testimonials --- */
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.testimonial__avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--site-gold);
  color: #fff;
  font: 600 0.85rem var(--font-display);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
