/* My Beauty — vitrin */
:root {
  --bg: #faf9f7;
  --bg-elevated: #ffffff;
  --text: #1c1b1a;
  --text-muted: #5c5a57;
  --line: rgba(28, 27, 26, 0.08);
  --header-h: 4.25rem;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --shadow: 0 12px 40px rgba(28, 27, 26, 0.08);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-video {
    display: none;
  }
  .hero-media {
    background: #2c2a28 url("media/galeri-01.jpg") center / cover no-repeat;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  left: 0.5rem;
}

img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.container {
  width: min(1120px, 100% - max(1.25rem, env(safe-area-inset-left, 0px)) - max(1.25rem, env(safe-area-inset-right, 0px)));
  margin-inline: auto;
  padding-inline: 0;
}

.container.narrow {
  width: min(720px, 100% - max(1.25rem, env(safe-area-inset-left, 0px)) - max(1.25rem, env(safe-area-inset-right, 0px)));
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem max(1.25rem, env(safe-area-inset-right, 0px)) 0.65rem max(1.25rem, env(safe-area-inset-left, 0px));
  min-height: var(--header-h);
}

.logo {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
  display: block;
}

@media (min-width: 769px) {
  .logo-img {
    height: 54px;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.site-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  text-decoration: none !important;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: min(85vh, 36rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem max(1.25rem, env(safe-area-inset-left, 0px)) 1.25rem max(1.25rem, env(safe-area-inset-right, 0px));
    gap: 0.25rem;
  }

  .site-nav .nav-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0;
    -webkit-tap-highlight-color: rgba(28, 27, 26, 0.08);
  }

  .nav-cta {
    text-align: center;
    justify-content: center;
    min-height: 44px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) max(1.25rem, env(safe-area-inset-left, 0px)) max(3rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
  scroll-margin-top: var(--header-h);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 12, 12, 0.82) 0%,
    rgba(12, 12, 12, 0.35) 45%,
    rgba(12, 12, 12, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  color: #fff;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 0.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  line-height:1.05;
  margin: 0 0 0.5rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  max-width: 28ch;
  margin: 0 0 1.75rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero-stats {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.contact .btn:focus-visible,
.services .btn:focus-visible,
.about .btn:focus-visible {
  outline-color: #6366f1;
}

.btn-primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.06);
}

/* Sections */
.section {
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.75rem;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: min(42ch, 100%);
  margin: 0 auto 2.5rem;
  padding-inline: 0.25rem;
}

.lead {
  font-size: 1.15rem;
}

.about p {
  margin: 0 0 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card {
  text-align: left;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 48px rgba(28, 27, 26, 0.1);
}

.service-card:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.service-card-visual {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #ebe8e4, #f5f2ee);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img,
.service-card:focus-visible .service-card-img {
  transform: scale(1.05);
}

.service-card-body {
  display: block;
  padding: 1.15rem 1.35rem 1.4rem;
  flex: 1;
}

.service-card-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.service-card-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.services-cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
  gap: 0.65rem;
}

@media (min-width: 380px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
  }
}

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: #e8e6e3;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 2px;
}

.gallery-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

/* Contact */
.contact-card {
  font-style: normal;
  background: var(--bg-elevated);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card p {
  margin: 0 0 0.75rem;
}

.contact-card a {
  color: inherit;
  font-weight: 600;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0 max(2.5rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text);
  font-weight: 500;
}

.footer-credit-wrap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-credit {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-credit a {
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: var(--text);
}

/* Modal / dialog */
.modal {
  width: min(520px, 100% - max(1.25rem, env(safe-area-inset-left, 0px)) - max(1.25rem, env(safe-area-inset-right, 0px)));
  max-width: calc(100vw - 2rem);
  max-height: min(85vh, 85dvh, 640px);
  padding: 0;
  margin: auto;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
  .modal {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }
}

.modal::backdrop {
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(4px);
}

.modal-panel {
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
}

@media (max-width: 480px) {
  .modal-panel {
    padding: 1.5rem max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 2rem 1rem 0;
  padding-right: 0.5rem;
}

.modal-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  max-height: min(45vh, 360px);
  overflow-y: auto;
}

.modal-list li {
  margin-bottom: 0.45rem;
}

.modal-close {
  position: absolute;
  top: max(0.65rem, env(safe-area-inset-top, 0px));
  right: max(0.65rem, env(safe-area-inset-right, 0px));
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.modal-close:hover {
  background: #eee;
}

.modal-cta {
  width: 100%;
}

.booking-modal {
  width: min(620px, 100% - max(1.25rem, env(safe-area-inset-left, 0px)) - max(1.25rem, env(safe-area-inset-right, 0px)));
}

.booking-panel {
  display: grid;
  gap: 0.8rem;
  max-height: min(82dvh, 720px);
  overflow: auto;
}

.booking-subtitle {
  margin: -0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.booking-step-meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.booking-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.booking-steps li {
  text-align: center;
  font-size: 0.7rem;
  padding: 0.35rem 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-steps li.is-complete {
  border-color: rgba(37, 211, 102, 0.25);
  color: #166534;
}

.booking-steps li.is-active {
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.12);
  color: var(--text);
  font-weight: 600;
}

.booking-step {
  display: none;
}

.booking-step.is-active {
  display: grid;
  gap: 0.45rem;
}

.booking-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

.booking-input {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.58rem 0.68rem;
  font: inherit;
  font-size: 0.92rem;
}

.booking-input:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.booking-textarea {
  min-height: 84px;
  resize: vertical;
}

.booking-summary {
  margin-top: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: #f5f7fb;
  border: 1px solid rgba(99, 102, 241, 0.18);
  font-size: 0.88rem;
}

.booking-feedback {
  min-height: 1.3rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.booking-feedback.is-error {
  color: #b91c1c;
}

.booking-feedback.is-success {
  color: #166534;
}

.booking-fallback {
  display: none;
  margin: -0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.booking-fallback a {
  color: inherit;
  font-weight: 600;
}

.booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
}

.booking-actions .btn {
  min-width: 112px;
}

@media (max-width: 768px) {
  .booking-modal {
    width: min(100%, calc(100% - 1rem));
  }

  .booking-panel {
    max-height: none;
    height: min(100dvh, 100vh);
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .booking-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .booking-steps li {
    font-size: 0.7rem;
    padding: 0.3rem 0.1rem;
  }

  .booking-step {
    min-height: 140px;
  }

  .booking-input {
    font-size: 16px;
  }

  .booking-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 0.45rem;
    border-top: 1px solid var(--line);
  }

  .booking-actions .btn {
    flex: 1;
  }
}

@media (max-width: 420px) {
  .booking-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lightbox-modal {
  width: min(960px, 100% - max(1rem, env(safe-area-inset-left, 0px)) - max(1rem, env(safe-area-inset-right, 0px)));
  max-height: min(90vh, 90dvh, 900px);
}

.lightbox-inner {
  position: relative;
  padding: 2.5rem max(0.75rem, env(safe-area-inset-left, 0px)) max(0.75rem, env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-right, 0px));
}

@media (max-width: 480px) {
  .lightbox-modal {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }

  .lightbox-inner {
    padding-top: max(2.5rem, env(safe-area-inset-top, 0px));
  }
}

#lightbox-body img,
#lightbox-body video {
  width: 100%;
  max-height: min(75vh, 720px);
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}
