:root {
  color-scheme: light;
  --ink: #1b1713;
  --muted: #796d62;
  --paper: #fffdfb;
  --cream: #fbf4ef;
  --stone: #ece7de;
  --line: #ded3bd;
  --gold: #b48b32;
  --gold-dark: #7b5b18;
  --skin: #d7a98e;
  --nail: #8b1017;
  --radius: 8px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 5%, rgba(244, 210, 216, 0.42), transparent 18rem),
    radial-gradient(circle at 90% 16%, rgba(180, 139, 50, 0.12), transparent 18rem),
    linear-gradient(135deg, #fffdfb, #fbf4ef);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(222, 211, 189, 0.85);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  justify-content: center;
}

.brand span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #d6bd78);
}

.site-header nav,
.language-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-header nav a,
.language-bar button {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.site-header nav a:hover,
.language-bar button.active {
  border-color: var(--line);
  background: #fff;
}

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
  padding: 34px 18px 32px;
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.95) 0 48%, rgba(255, 253, 248, 0.58)),
    radial-gradient(circle at 82% 16%, rgba(180, 139, 50, 0.24), transparent 24rem);
}

.section-heading,
.about-section,
.studio-grid,
.book-section,
footer {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
  width: 100%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 11vw, 3.45rem);
  font-weight: 500;
  line-height: 1.04;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 8vw, 2.45rem);
  font-weight: 500;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 26px;
}

.primary-action,
.secondary-action,
.whatsapp-action,
.submit-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.whatsapp-action {
  background: #1f7f5c;
}

.service-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  margin-top: 16px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.service-strip span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  place-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(250, 247, 240, 0.72)),
    repeating-linear-gradient(128deg, rgba(180, 139, 50, 0.16) 0 1px, transparent 1px 42px);
  box-shadow: 0 18px 50px rgba(48, 39, 26, 0.08);
}

.hero-panel img {
  width: min(176px, 58vw);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 12px 40px rgba(48, 39, 26, 0.22);
}

.hero-panel p {
  margin: 0;
  color: var(--gold-dark);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.star-divider {
  width: min(940px, calc(100% - 36px));
  margin: 18px auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: var(--gold);
}

.star-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.star-divider strong {
  letter-spacing: 0.2em;
}

main > section:not(.hero) {
  padding: 42px 18px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.portrait-frame {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(48, 39, 26, 0.12);
}

.portrait-frame img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.about-copy p {
  max-width: 740px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 600;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}

.studio-section {
  background: linear-gradient(180deg, rgba(250, 247, 240, 0.82), rgba(255, 253, 248, 0.94));
}

.section-heading {
  margin-bottom: 26px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.editor-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 60px rgba(48, 39, 26, 0.1);
}

.preview-panel,
.editor-panel,
.booking-form,
.booking-result {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 60px rgba(48, 39, 26, 0.1);
}

.preview-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.hand-preview {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(22, 19, 15, 0.02), rgba(22, 19, 15, 0.08)),
    url("/assets/stock-hand-manicure.jpg") center / cover;
}

.photo-nail {
  display: none;
  border-radius: 38% 38% 28% 28%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.24), transparent 34%),
    var(--nail);
  opacity: 0.9;
  mix-blend-mode: multiply;
  box-shadow: inset -6px -8px 10px rgba(0, 0, 0, 0.16);
}

.polish-preview {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -22px;
  position: relative;
  z-index: 2;
}

.polish-preview span {
  width: 30px;
  height: 44px;
  border-radius: 18px 18px 10px 10px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.68), transparent 32%),
    var(--nail);
  box-shadow: 0 7px 18px rgba(48, 39, 26, 0.18);
}

.hand-preview.gel + .polish-preview span {
  box-shadow: inset 4px 0 8px rgba(255, 255, 255, 0.5), 0 7px 18px rgba(48, 39, 26, 0.18);
}

.hand-preview.art-1 + .polish-preview span:nth-child(3)::after,
.hand-preview.art-2 + .polish-preview span:nth-child(2)::after,
.hand-preview.art-2 + .polish-preview span:nth-child(4)::after,
.hand-preview.art-4 + .polish-preview span:not(:first-child)::after,
.hand-preview.art-10 + .polish-preview span::after {
  content: "*";
  display: block;
  color: #f8d978;
  font-weight: 900;
  text-align: center;
  margin-top: 22px;
}

.photo-nail::after {
  content: "";
  position: absolute;
  width: 14%;
  height: 54%;
  left: 24%;
  top: 12%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0);
  transform: rotate(18deg);
}

.hand-preview.gel .photo-nail::after {
  background: rgba(255, 255, 255, 0.72);
}

.nail-a { left: 8.5%; top: 31.5%; width: 8.6%; height: 8.2%; transform: rotate(18deg); }
.nail-b { left: 36%; top: 47.3%; width: 15.8%; height: 7.1%; transform: rotate(0deg); }
.nail-c { left: 41%; top: 58.8%; width: 15.4%; height: 7.6%; transform: rotate(4deg); }
.nail-d { left: 45%; top: 69%; width: 12.8%; height: 6.2%; transform: rotate(-8deg); }
.nail-e { left: 64.3%; top: 37%; width: 14.8%; height: 7.2%; transform: rotate(6deg); }
.nail-f { left: 61.3%; top: 62.5%; width: 11.2%; height: 7%; transform: rotate(6deg); }
.nail-g { left: 67.1%; top: 75.1%; width: 13.6%; height: 6.4%; transform: rotate(2deg); }
.nail-h { left: 85.9%; top: 83.5%; width: 13%; height: 5.6%; transform: rotate(1deg); }

.hand-preview.art-1 .nail-b::before,
.hand-preview.art-2 .nail-b::before,
.hand-preview.art-2 .nail-g::before,
.hand-preview.art-4 .nail-a::before,
.hand-preview.art-4 .nail-b::before,
.hand-preview.art-4 .nail-e::before,
.hand-preview.art-4 .nail-g::before,
.hand-preview.art-10 .photo-nail::before {
  content: "✦";
  position: absolute;
  right: 13%;
  bottom: 10%;
  color: #f4d782;
  font-size: clamp(0.55rem, 2vw, 1rem);
  line-height: 1;
  mix-blend-mode: normal;
}

.price-box {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}

.price-box span,
.price-box small {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.price-box strong {
  color: #f4d782;
  font-size: 1.65rem;
}

.editor-panel {
  display: grid;
  gap: 20px;
  padding: 4px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.service-list,
.swatches,
.choice-row {
  display: grid;
  gap: 10px;
}

.service-list {
  grid-template-columns: 1fr;
}

.choice,
.swatches button {
  min-height: 60px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.choice strong {
  color: var(--gold-dark);
}

.choice.active,
.swatches button.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 139, 50, 0.16);
}

.swatches {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swatches button {
  display: grid;
  align-content: end;
  min-height: 68px;
  background: linear-gradient(135deg, var(--swatch), color-mix(in srgb, var(--swatch), white 42%));
}

.swatches span {
  width: max-content;
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.choice-row,
.two-col {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 56px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.full-width,
.submit-button {
  width: 100%;
}

.book-section {
  display: grid;
  gap: 24px;
}

.booking-form,
.booking-result {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.summary-box {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  background: var(--cream);
}

.summary-box span,
.help-text {
  color: var(--muted);
  font-weight: 800;
}

.help-text {
  margin-bottom: 0;
  line-height: 1.45;
}

.booking-result {
  border-color: #86b8a8;
  background: #f1faf6;
}

.booking-result a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 8px 0 0;
  padding: 0 14px;
  border-radius: 999px;
  background: #166653;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

footer {
  padding: 28px 24px;
  display: grid;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.blog-section {
  background: linear-gradient(180deg, #fffdfb, #fbf4ef);
}

.reviews-section {
  background: rgba(255, 253, 251, 0.7);
}

.review-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.review-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 36px rgba(48, 39, 26, 0.07);
}

.review-grid strong {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.review-grid p {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 600;
}

.review-grid span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.review-form {
  width: min(680px, 100%);
  margin: 14px auto 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.whatsapp-mini,
.footer-link {
  color: var(--gold-dark);
  font-weight: 900;
}

.whatsapp-mini {
  justify-self: center;
}

.blog-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.blog-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(48, 39, 26, 0.07);
}

.blog-grid span {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-grid h3 {
  margin: 10px 0 8px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.25;
}

.blog-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 600;
}

.blog-page {
  padding: 34px 18px 56px;
}

.article-shell {
  display: none;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 46px rgba(48, 39, 26, 0.08);
}

.article-shell.active {
  display: block;
}

.article-shell h1 {
  font-size: clamp(2rem, 9vw, 3.6rem);
}

.article-shell h2 {
  margin-top: 30px;
  font-size: clamp(1.45rem, 6vw, 2.2rem);
}

.article-shell h3 {
  margin: 22px 0 8px;
  text-transform: none;
  letter-spacing: 0;
}

.article-shell p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 600;
}

.article-lead {
  color: var(--ink) !important;
  font-size: 1.08rem !important;
}

.admin-shell {
  min-height: 100vh;
  padding: 18px;
  background: var(--cream);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-header h1 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 10vw, 5rem);
}

.booking-list {
  display: grid;
  gap: 12px;
}

.admin-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-card h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.admin-card p {
  margin: 6px 0;
}

.status {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
}

.status.cancelled {
  background: #6b6b6b;
}

.status.confirmed {
  background: #166653;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-actions button,
.admin-actions a {
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

@media (max-width: 880px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .site-header nav,
  .language-bar {
    justify-content: stretch;
  }

  .site-header nav a,
  .language-bar button {
    flex: 1;
    justify-content: center;
    padding: 0 8px;
  }

  .hero,
  .about-section,
  .studio-grid,
  .service-list,
  .choice-row,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 38px;
  }

  .studio-section {
    padding-top: 42px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    display: grid;
  }
}

@media (min-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 12px 22px;
  }

  .brand {
    justify-content: start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 58px 24px 42px;
  }

  .hero-actions {
    grid-template-columns: repeat(3, max-content);
  }

  .about-section {
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  }

  .studio-grid {
    grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
    padding: 18px;
  }

  .editor-panel {
    padding: 8px 6px;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-row,
  .two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-grid,
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  footer {
    display: flex;
  }
}
