/* Jasmin Massage & Spa - mobile-first stylesheet */

/* 1. Tokens and base */
:root {
  --pink: #e0107a;
  --pink-soft: #f4a6cb;
  --cream: #f7f0e8;
  --blush: #fdeef5;
  --line: #e7d9ce;
  --ink: #15100f;
  --mute: #6b6064;
  --wa: #128c4a;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    400 16px/1.7 Manrope,
    system-ui,
    sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
p {
  margin: 0 0 1rem;
  max-width: 65ch;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 0.6rem;
}
h3 {
  font-size: 1.15rem;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.ic {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic.big {
  width: 36px;
  height: 36px;
  color: var(--pink);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 50;
  background: #fff;
  padding: 8px 14px;
}
.skip:focus {
  left: 8px;
}

/* 2. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid var(--pink);
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font:
    700 0.95rem Manrope,
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn-wa {
  background: var(--wa);
  border-color: var(--wa);
}
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}
.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.88rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}
.cta .btn {
  flex: 1 1 220px;
}

/* 3. Header and navigation */
.hd {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  border-bottom: 2px solid var(--pink);
}
.hd .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
}
.logo {
  margin-right: auto;
}
.logo img {
  height: 36px;
  width: auto;
}

.hbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.hbtn .ic {
  width: 16px;
  height: 16px;
}

#mb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: none;
  color: #fff;
  cursor: pointer;
}

#nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 6px 20px 12px;
  background: #120d0f;
  border-bottom: 2px solid var(--pink);
}
#nav.open {
  display: flex;
}
#nav a {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e9dfd6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
#nav a[aria-current] {
  color: #ff6bb4;
}

/* 4. Page heads and sections */
.top {
  padding: 28px 0 36px;
  background: linear-gradient(#fff, var(--cream));
  border-bottom: 1px solid var(--line);
}
.lead {
  margin-top: 0.8rem;
  color: var(--mute);
  font-size: 1.05rem;
}
.eyebrow {
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--mute);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
}
.crumbs a {
  text-decoration: none;
}

.sec {
  padding: 56px 0;
}
.sec-alt {
  background: var(--cream);
}
.sub {
  margin-bottom: 1.8rem;
  color: var(--mute);
}
.gap-top {
  margin-top: 2.5rem;
}

.two {
  display: grid;
  gap: 32px;
}

/* Hero photo behind page heads (service and area pages) */
.top-img {
  position: relative;
  overflow: hidden;
  padding: 28px 0 44px;
  border: 0;
  background: var(--ink);
  color: #fff;
}
.top-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(21, 16, 15, 0.88), rgba(21, 16, 15, 0.55));
}
.top-img .wrap {
  position: relative;
  z-index: 2;
}
.top-img .lead,
.top-img .crumbs ol {
  color: #f0e6dd;
}
.top-img .btn-line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

/* 5. Home hero */
.hero {
  padding: 28px 0 56px;
  background: radial-gradient(600px 380px at 90% 0, #ffd1e6, transparent 65%), var(--cream);
}
.hero-grid {
  display: grid;
  gap: 32px;
}
.hero h1 {
  margin-bottom: 1rem;
}
.hero .lead {
  border-left: 3px solid var(--pink);
  padding-left: 14px;
}

.costs {
  max-width: 480px;
  margin: 1.4rem 0 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.costs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
}
.costs div + div {
  border-top: 1px solid var(--line);
}
.costs dt,
.costs dd {
  margin: 0;
}
.costs b {
  color: var(--pink);
}

.arch {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border: 8px solid #fff;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  background: var(--pink);
  box-shadow: 0 14px 40px rgba(21, 16, 15, 0.2);
  aspect-ratio: 3 / 4;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 6. Cards and grids */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.card p {
  flex: 1;
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
}
.card b {
  color: var(--pink);
}
.card-link {
  text-decoration: none;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.card-link:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
}
.narrow {
  max-width: 520px;
}

.grid-th {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.th {
  height: 100%;
  padding: 8px 8px 14px;
  gap: 4px;
}
.th img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 999px 999px 10px 10px;
}
.th h3 {
  margin: 8px 4px 0;
}
.th p {
  margin: 0 4px;
  font-size: 0.8rem;
  line-height: 1.45;
}
.th .btn {
  margin: 6px 4px 0;
  padding: 6px 10px;
  font-size: 0.78rem;
  text-align: center;
}
.tag {
  align-self: flex-start;
  margin: 0 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.chip:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* 7. Steps, FAQ, lists, price rows */
.steps {
  display: grid;
  gap: 14px;
}
.steps li {
  padding: 18px 20px 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--pink);
  background: #fff;
  counter-increment: step;
}
.steps {
  counter-reset: step;
}
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.steps b,
.steps span {
  display: block;
}
.steps span {
  color: var(--mute);
  font-size: 0.94rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  padding: 16px 28px 16px 0;
  font:
    700 1.02rem "Playfair Display",
    Georgia,
    serif;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 1.5rem;
  color: var(--pink);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  color: var(--mute);
}

.list {
  display: grid;
  gap: 14px;
}
.list li {
  display: flex;
  gap: 14px;
}
.list .ic {
  color: var(--pink);
  margin-top: 2px;
}

.row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.row b {
  color: var(--pink);
}
.note {
  margin: 14px 0 0;
  color: var(--mute);
  font-size: 0.93rem;
}
.photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.prices {
  width: 100%;
  border-collapse: collapse;
}
.prices th,
.prices td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.prices thead th {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.prices td:last-child {
  font-weight: 700;
  color: var(--pink);
}
.prices a {
  text-decoration: none;
  font-weight: 600;
}

/* 8. Booking form */
.form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blush);
}
label {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}
input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.est {
  margin: 0;
  font-size: 1.1rem;
}
.est b {
  font:
    700 1.8rem "Playfair Display",
    serif;
  color: var(--pink);
}
.form small {
  color: var(--mute);
}

/* 9. Closing call-to-action band */
.cta-band {
  background: var(--ink);
  color: #efe5dc;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  margin: 0 auto 1rem;
  color: #d9cfc6;
}
.cta-band .cta {
  justify-content: center;
  max-width: 560px;
  margin-inline: auto;
}
.cta-band .btn-line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* 10. Footer and sticky mobile contact bar */
footer {
  position: relative;
  overflow: hidden;
  padding-top: 48px;
  background: var(--cream);
}
.deco {
  display: none;
}
.fg {
  display: grid;
  gap: 28px;
  padding-bottom: 20px;
}
footer h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
footer h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--pink);
}
footer b {
  display: block;
  margin-top: 12px;
}
footer p {
  margin: 8px 0 0;
  color: var(--mute);
}
footer a {
  display: block;
  padding: 4px 0;
  color: var(--mute);
  text-decoration: none;
}
footer a:hover {
  color: var(--pink);
}
footer a[href^="tel:"],
footer a[href*="wa.me"] {
  color: var(--ink);
  font-weight: 600;
}
footer .bk {
  display: block;
  margin-top: 22px;
  font:
    700 1.15rem "Playfair Display",
    serif;
}
footer a.bn {
  color: var(--pink);
  font-size: 1.2rem;
}

.fb {
  padding: 18px 0 calc(18px + 10px);
  background: var(--pink-soft);
  color: #4a2236;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.fbi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
footer .fbi a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: #8a0a4d;
}
footer .fbi .ic {
  width: 15px;
  height: 15px;
}

/* Floating contact buttons: back to top, call, WhatsApp */
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fab a {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 18px rgba(21, 16, 15, 0.3);
  transition:
    transform 0.2s,
    opacity 0.2s,
    visibility 0.2s;
}
.fab a:hover {
  transform: translateY(-2px) scale(1.05);
}
.fab .ic {
  width: 26px;
  height: 26px;
}
.fab-wa {
  background: var(--wa);
  animation: fab-pulse 2.6s ease-out infinite;
}
.fab-call {
  background: var(--pink);
}
.fab-top {
  width: 44px !important;
  height: 44px !important;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}
.fab-top .ic {
  width: 22px;
  height: 22px;
}
.fab-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@keyframes fab-pulse {
  0% {
    box-shadow:
      0 6px 18px rgba(21, 16, 15, 0.3),
      0 0 0 0 rgba(18, 140, 74, 0.5);
  }
  70%,
  100% {
    box-shadow:
      0 6px 18px rgba(21, 16, 15, 0.3),
      0 0 0 16px rgba(18, 140, 74, 0);
  }
}

/* Home page extra sections */
.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
.split .photo {
  box-shadow: 0 10px 30px rgba(21, 16, 15, 0.15);
}
.split .list {
  margin-top: 1.2rem;
}
.pick {
  display: grid;
  gap: 14px;
}
.pick li {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--pink);
  border-radius: var(--radius);
  background: #fff;
}
.pick h3 {
  margin-bottom: 6px;
}
.pick p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
}
.pick a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--pink);
  text-underline-offset: 3px;
}

/* 11. Larger screens */
@media (min-width: 600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-th {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .th {
    padding: 12px 12px 18px;
  }
  .th p {
    font-size: 0.9rem;
    margin: 0 8px;
  }
  .th h3,
  .tag {
    margin-left: 8px;
  }
  .th .btn {
    margin: 8px 8px 0;
    font-size: 0.85rem;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .fg {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .fab {
    right: 24px;
    bottom: 24px;
  }
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  .split.rev .photo {
    order: 2;
  }
  .pick {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .sec {
    padding: 80px 0;
  }
  .two {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .hero {
    padding: 56px 0 80px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
  }
  .cta .btn {
    flex: 0 0 auto;
  }
  .cta-band .cta .btn {
    flex: 0 0 auto;
    min-width: 220px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .top-img {
    padding: 56px 0 72px;
  }
  .grid-th {
    grid-template-columns: repeat(4, 1fr);
  }
  .fg {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1100px) {
  .deco {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 190px;
    pointer-events: none;
  }
  .fg,
  .fbi {
    padding-left: 70px;
  }
}

@media (min-width: 1020px) {
  #mb {
    display: none;
  }
  #nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    border: 0;
    gap: 2px;
  }
  #nav a {
    padding: 24px 11px 22px;
    border-bottom: 2px solid transparent;
    font-size: 0.74rem;
  }
  #nav a:hover {
    color: #fff;
    border-bottom-color: rgba(224, 16, 122, 0.6);
  }
  #nav a[aria-current] {
    border-bottom-color: var(--pink);
  }
  .hd .wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    height: 70px;
  }
  .logo {
    margin-right: 0;
    justify-self: start;
  }
  .hbtn {
    justify-self: end;
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card-link,
  .fab a {
    transition: none;
  }
  .fab-wa {
    animation: none;
  }
}
