/* =========================================================
   Luxe Nails Studio — Warm beige / nude palette
   ========================================================= */

:root {
  --cream:        #FAF6F0;
  --beige:        #F1E8DC;
  --beige-deep:   #E6D8C5;
  --taupe:        #C8B6A6;
  --nude:         #D4B59E;
  --rose:         #C99E88;
  --brown:        #6B4F3A;
  --brown-deep:   #3E2F22;
  --ink:          #2C2622;
  --muted:        #8B7B6C;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shadow-sm: 0 2px 8px rgba(60, 40, 25, 0.06);
  --shadow-md: 0 10px 30px rgba(60, 40, 25, 0.10);
  --shadow-lg: 0 24px 60px rgba(60, 40, 25, 0.14);

  --max: 1180px;

  --ease: cubic-bezier(.4, .0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; -webkit-tap-highlight-color: transparent; }
code { font-family: var(--mono); font-size: .9em; background: var(--beige); padding: 2px 6px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--brown-deep); letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
em { font-style: italic; color: var(--rose); }
p  { margin: 0 0 1em; color: var(--ink); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin: 0 0 1.2em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--brown-deep);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brown); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--brown-deep);
  border: 1px solid var(--brown-deep);
}
.btn--ghost:hover { background: var(--brown-deep); color: var(--cream); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.60);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(107, 79, 58, 0.08);
  transition: background .3s var(--ease);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.2rem; color: var(--brown-deep); }
.nav__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brown-deep);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}
.nav__name { font-weight: 500; letter-spacing: .02em; }

.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__menu a {
  font-size: .92rem;
  font-weight: 400;
  color: var(--brown);
  position: relative;
  transition: color .2s var(--ease);
}
.nav__menu a:not(.nav__cta):hover { color: var(--brown-deep); }
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 1px; background: var(--brown-deep);
  transition: right .3s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { right: 0; }

/* Active section indicator (desktop) */
.nav__menu a.is-current:not(.nav__cta) {
  color: var(--brown-deep);
  font-weight: 500;
}
.nav__menu a.is-current:not(.nav__cta)::after { right: 0; }

.nav__cta {
  background: var(--brown-deep);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .88rem;
  letter-spacing: .03em;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav__cta:hover { background: var(--brown); transform: translateY(-1px); }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(107, 79, 58, 0.08);
  border-radius: 999px;
}
.lang-switch button {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 6px 10px;
  min-width: 34px;
  border-radius: 999px;
  color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-switch button:hover { color: var(--brown-deep); }
.lang-switch button.is-active {
  background: var(--cream);
  color: var(--brown-deep);
  box-shadow: 0 1px 4px rgba(60, 40, 25, 0.08);
}

.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--brown-deep);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 80% 10%, rgba(212, 181, 158, 0.45), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(200, 182, 166, 0.40), transparent 60%),
    linear-gradient(180deg, var(--beige) 0%, var(--cream) 70%, var(--cream) 100%);
  z-index: -1;
}
.hero__bg::after {
  content: none;
}
.hero__inner {
  max-width: 880px;
  background: rgba(250, 246, 240, 0.45);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-radius: var(--radius-l);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: clamp(32px, 5vw, 60px) clamp(28px, 5vw, 64px);
}
.hero__brand {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--brown-deep);
  letter-spacing: .005em;
  line-height: 1.05;
  margin: 0 0 .4em;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  max-width: 100%;
}
.hero__brand::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--taupe);
  display: inline-block;
  transform: translateY(4px);
}
.hero__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  margin: .15em 0 .5em;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--brown);
}
.hero__title em { display: inline-block; }
.hero__lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--brown);
  max-width: 56ch;
  margin: 0 0 2em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 1.5px solid var(--brown);
  border-radius: 20px;
  opacity: .6;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero__scroll span {
  display: block;
  width: 3px; height: 8px;
  background: var(--brown);
  border-radius: 2px;
  animation: hero-scroll-dot 1.8s var(--ease) infinite;
}
@keyframes hero-scroll-dot {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__title { margin-bottom: .35em; }
.section__lede { color: var(--muted); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services { background: var(--beige); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--cream);
  padding: 24px 26px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card h3 {
  color: var(--brown-deep);
  font-size: 1.25rem;
  letter-spacing: .01em;
  margin-bottom: .4em;
}
.service-card__desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}
.service-card__price {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--rose);
  font-style: italic;
  margin: 0;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(107, 79, 58, .08);
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.gallery__item {
  padding: 0;
  border-radius: var(--radius-s);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--beige);
  cursor: zoom-in;
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .35s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(62, 47, 34, .25));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

/* ---------- About ---------- */
.about { background: var(--beige-deep); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about__media {
  position: relative;
  padding: 20px;
}
.about__media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--nude), var(--taupe));
  border-radius: var(--radius-l);
  transform: translate(14px, 14px);
  z-index: 0;
}
.about__avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-md);
}
.about__body h2 em { color: var(--rose); }
.about__badges {
  list-style: none; padding: 0; margin: 2em 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  font-size: .95rem;
  color: var(--brown);
}

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.contact__card {
  display: block;
  background: var(--beige);
  padding: 40px 32px;
  border-radius: var(--radius-m);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  border: 1px solid transparent;
}
.contact__card:hover {
  transform: translateY(-4px);
  background: var(--cream);
  border-color: rgba(107, 79, 58, .15);
  box-shadow: var(--shadow-md);
}
.contact__icon {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown-deep);
}
.contact__card:hover .contact__icon { background: var(--brown-deep); color: var(--cream); }
.contact__icon svg { width: 22px; height: 22px; }
.contact__label {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact__value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brown-deep);
}

/* ---------- Reviews ---------- */
.reviews { background: var(--beige); }
.reviews-form-section { background: var(--beige); }

.reviews__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.reviews__empty {
  color: var(--muted);
  font-size: 1rem;
  grid-column: 1/-1;
}

.review-card {
  background: var(--cream);
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.review-card__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brown-deep);
}
.review-card__date {
  font-size: .85rem;
  color: var(--muted);
  flex-shrink: 0;
}
.review-card__text {
  color: var(--brown);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
/* Review modal */
.review-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(60, 40, 20, .45);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.review-modal.is-open { display: flex; }
.review-modal__box {
  background: var(--cream);
  border-radius: var(--radius-m);
  padding: 36px 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.review-modal__close:hover { color: var(--brown-deep); }
.review-modal__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.review-modal__text {
  color: var(--brown);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.review-card__toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: .88rem;
  color: var(--brown);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  align-self: flex-start;
}

/* Star display */
.stars-display { display: inline-flex; gap: 3px; }
.star { font-size: 1.25rem; }
.star--full  { color: var(--rose); }
.star--empty { color: var(--beige-deep); }
.star--half {
  background: linear-gradient(90deg, var(--rose) 50%, var(--beige-deep) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Star input widget */
.star-input {
  display: inline-flex;
  gap: 6px;
  cursor: pointer;
  margin-top: 4px;
}
.star-btn {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--beige-deep);
  transition: color .1s;
  user-select: none;
}
.star-btn.full  { color: var(--rose); }
.star-btn.half {
  background: linear-gradient(90deg, var(--rose) 50%, var(--beige-deep) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Review form */
.review-form-wrap {
  max-width: 680px;
  background: var(--cream);
  border-radius: var(--radius-m);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}
.review-form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 28px;
}
.review-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.review-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.review-form__field label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown);
}
.review-form__field input,
.review-form__field textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(107, 79, 58, .18);
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  outline: none;
  resize: none;
  transition: border-color .2s, box-shadow .2s;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--taupe) transparent;
}
.review-form__field textarea::-webkit-scrollbar {
  width: 4px;
}
.review-form__field textarea::-webkit-scrollbar-track {
  background: transparent;
}
.review-form__field textarea::-webkit-scrollbar-thumb {
  background: var(--taupe);
  border-radius: 4px;
}
.review-form__field textarea::-webkit-scrollbar-thumb:hover {
  background: var(--brown);
}
.review-form__field input:focus,
.review-form__field textarea:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(107, 79, 58, .08);
}
.review-char-count {
  font-size: .78rem;
  color: var(--muted);
  text-align: right;
  margin-top: -4px;
}
.review-form__error {
  color: #c0392b;
  font-size: .92rem;
  margin: 0 0 14px;
  display: none;
}
.review-thanks {
  display: none;
  padding: 32px 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--brown-deep);
  letter-spacing: .02em;
  border-top: 1px solid rgba(107, 79, 58, .18);
  border-bottom: 1px solid rgba(107, 79, 58, .18);
}
.review-thanks::before {
  content: none;
}

@media (max-width: 600px) {
  .review-form-wrap { padding: 28px 22px; }
  .review-form__row { grid-template-columns: 1fr; }
}

/* ---------- Booking ---------- */
.book { background: var(--beige); }
.book__frame {
  max-width: 920px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
}
.book__alts {
  max-width: 920px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.book__alts-label {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.book__alts-label::before,
.book__alts-label::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--taupe);
}
.book__alts-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Location ---------- */
.location { background: var(--cream); }
.location__title { text-align: left; margin-bottom: 1.6em; }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: stretch;
}
.location__info h3 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 1.6em 0 .5em;
}
.location__info h3:first-child { margin-top: 0; }
.location__info p { color: var(--brown); }
.location__map {
  border-radius: var(--radius-m);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-sm);
  background: var(--beige);
}
.location__map iframe { width: 100%; height: 100%; min-height: 380px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--brown-deep);
  color: var(--beige);
  padding: 28px 0;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.1rem; }
.footer__brand .nav__mark { background: var(--beige); color: var(--brown-deep); }
.footer__meta { margin: 0; font-size: .88rem; color: var(--beige); opacity: .85; }
.footer__links { display: flex; gap: 20px; font-size: .9rem; }
.footer__links a { opacity: .8; transition: opacity .2s var(--ease); }
.footer__links a:hover { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(30, 22, 16, .94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-lg);
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  color: var(--cream);
  font-size: 40px;
  line-height: 1;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: rgba(255,255,255,.18);
  transform: scale(1.05);
}
.lightbox__close { top: 24px; right: 24px; font-size: 28px; }
.lightbox__prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.05); }

/* ---------- Fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .9s var(--ease) forwards;
}
.fade-in:nth-child(1) { animation-delay: .05s; }
.fade-in:nth-child(2) { animation-delay: .15s; }
.fade-in:nth-child(3) { animation-delay: .30s; }
.fade-in:nth-child(4) { animation-delay: .45s; }
.fade-in:nth-child(5) { animation-delay: .60s; }
.fade-in:nth-child(6) { animation-delay: .75s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about__grid,
  .location__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 420px; margin: 0 auto; }

  .nav__menu {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: 12px 24px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a {
    padding: 14px 0 14px 22px;
    border-bottom: 1px solid rgba(107, 79, 58, .08);
    font-size: 1rem;
    position: relative;
  }
  .nav__menu a:last-child { border-bottom: 0; }

  /* Active section indicator (mobile menu) */
  .nav__menu a.is-current:not(.nav__cta) {
    color: var(--brown-deep);
    font-weight: 500;
  }
  .nav__menu a.is-current:not(.nav__cta)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brown-deep);
  }
  /* Suppress the underline pseudo on mobile — dot is the indicator */
  .nav__menu a.is-current:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: 10px; }

  .lang-switch { align-self: center; margin: 12px 0 4px; }

  .nav__toggle { display: block; }

  .nav__inner { height: 54px; }
  .nav__mark { width: 30px; height: 30px; font-size: .95rem; }
  .hero { min-height: 88vh; padding-top: 110px; }
  .hero__scroll { display: none; }

  .section { padding: 80px 0; }
  .section__head { margin-bottom: 44px; }

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

  .footer__inner { flex-direction: column; text-align: center; }
}

/* Medium phones — denser gallery */
@media (max-width: 600px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 640px) {
  /* Hide decorative line so brand never overflows on narrow screens */
  .hero__brand { gap: 0; }
  .hero__brand::after { display: none; }

  /* Lightbox: keep controls OFF the photo on narrow screens.
     Close stays top-right, prev/next dock to the bottom side-by-side. */
  .lightbox { padding: 16px 12px 88px; }
  .lightbox__img { max-width: 94vw; max-height: calc(100vh - 140px); }
  .lightbox__close,
  .lightbox__prev,
  .lightbox__next {
    width: 44px; height: 44px; font-size: 22px;
    background: rgba(255,255,255,.14);
  }
  .lightbox__close { top: 12px; right: 12px; font-size: 22px; }
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .lightbox__prev { left: 50%; margin-left: -56px; }
  .lightbox__next { right: 50%; margin-right: -56px; left: auto; }
  .lightbox__prev:hover,
  .lightbox__next:hover { transform: scale(1.05); }
}

@media (max-width: 480px) {
  .nav__name { display: none; }
  .service-card { padding: 20px 20px; }
  .contact__card { padding: 32px 24px; }
  /* Footer links wrap nicely on narrow phones */
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 14px; }
}

/* ---------- Mobile readability: nudge smaller text up ---------- */
@media (max-width: 860px) {
  body { font-size: 17.5px; line-height: 1.7; }

  .section__lede      { font-size: 1.1rem; line-height: 1.7; }
  .service-card__desc { font-size: .95rem; line-height: 1.6; }
  .service-card__price{ font-size: 1.15rem; }

  .hero__lede         { font-size: 1.12rem; line-height: 1.65; }

  /* About, contact, location copy */
  .about__body p,
  .contact__card p,
  .contact__row span,
  .location__info p   { font-size: 1.05rem; line-height: 1.7; }

  /* Section eyebrow labels */
  .eyebrow            { font-size: .85rem; letter-spacing: .24em; }

  /* Footer */
  .footer__meta       { font-size: .95rem; }
  .footer__links      { font-size: .95rem; }
}

/* Prevent accidental horizontal scroll on any device */
html, body { overflow-x: hidden; }

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
