:root {
  --white: #111111;
  --shell: #1a1710;
  --soft-pink: #f6dea0;
  --pink: #d6ad45;
  --hot-pink: #f0c85a;
  --rose-deep: #f7d979;
  --ink: #f9f2df;
  --muted: #c8b98e;
  --line: rgba(214, 173, 69, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #0b0b0b;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--rose-deep);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--hot-pink), var(--soft-pink));
  box-shadow: 0 12px 26px rgba(214, 173, 69, 0.28);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.82);
  color: var(--rose-deep);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 173, 69, 0.6);
  background: rgba(30, 30, 30, 0.96);
}

.social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.82);
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose-deep);
  background: var(--white);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--rose-deep);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 86px 0 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(17, 17, 17, 0.82) 45%, rgba(214, 173, 69, 0.18) 100%),
    url("../images/hero.jpg") center right / cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 8% 34px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 173, 69, 0.28), rgba(214, 173, 69, 0));
  z-index: -1;
  animation: pulseGlow 5s ease-in-out infinite;
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 650px;
  margin-left: max(16px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--hot-pink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 7rem);
  color: var(--rose-deep);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: var(--rose-deep);
}

h3 {
  font-size: 1.35rem;
  color: var(--rose-deep);
}

.hero-lead {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--hot-pink), var(--pink));
  box-shadow: 0 16px 32px rgba(214, 173, 69, 0.28);
}

.btn.secondary {
  color: var(--rose-deep);
  background: var(--white);
  border-color: var(--line);
}

.floating-card {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 58px;
  width: min(280px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.floating-card span {
  display: block;
  color: var(--hot-pink);
  font-weight: 800;
}

.floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.offer-section {
  position: relative;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.offer-tile {
  position: relative;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), var(--shell));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.offer-tile::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(214, 173, 69, 0.16);
  transition: transform 220ms ease;
}

.offer-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 173, 69, 0.42);
  box-shadow: var(--shadow);
}

.offer-tile:hover::after {
  transform: scale(1.25);
}

.tile-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 46px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--hot-pink), var(--soft-pink));
  font-weight: 900;
}

.offer-tile p {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
}

.about-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.gallery-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, #15130e, #0b0b0b);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.gallery-item {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft-pink);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.34);
}

.gallery-item img {
  height: 310px;
  object-fit: cover;
  transition: transform 450ms ease, filter 450ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 20px;
}

.contact-card,
.contact-form,
.map-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.contact-card,
.contact-form {
  padding: 28px;
}

.contact-card p,
.hours p {
  margin: 8px 0;
  color: var(--muted);
}

.hours {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 800;
  color: var(--rose-deep);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--shell);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(214, 173, 69, 0.18);
}

.contact-form textarea {
  resize: vertical;
}

.map-card {
  grid-column: 1 / -1;
  overflow: hidden;
  min-height: 360px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0 70px;
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.95), rgba(17, 17, 17, 0.78), rgba(214, 173, 69, 0.14));
}

.service-hair {
  background-image: url("https://images.unsplash.com/photo-1562322140-8baeececf3df?auto=format&fit=crop&w=1800&q=80");
}

.service-beauty {
  background-image: url("https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=1800&q=80");
}

.service-nails {
  background-image: url("https://images.unsplash.com/photo-1604654894610-df63bc536371?auto=format&fit=crop&w=1800&q=80");
}

.gallery-hero {
  background-image: url("../images/hero.jpg");
}

.page-hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 640px;
}

.page-hero-content p:last-child {
  color: var(--muted);
  font-size: 1.12rem;
}

.price-section {
  padding-top: 70px;
}

.price-warning {
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--hot-pink);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(214, 173, 69, 0.12);
}

.price-card {
  position: relative;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(26, 23, 16, 0.94)),
    radial-gradient(circle at top right, rgba(214, 173, 69, 0.18), transparent 34%);
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--hot-pink), var(--soft-pink));
}

.price-card > * {
  position: relative;
}

.compact-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

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

.price-mini-card {
  position: relative;
  border: 1px solid rgba(214, 173, 69, 0.22);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.94);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.price-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 173, 69, 0.48);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.44);
}

.price-mini-card h3 {
  position: relative;
  padding: 16px 18px 16px 42px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--rose-deep), var(--hot-pink) 58%, var(--pink));
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-mini-card h3::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  transform: translateY(-50%);
}

.price-mini-card .table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.compact-price-grid .price-table {
  min-width: 0;
}

.compact-price-grid .price-table th,
.compact-price-grid .price-table td {
  padding: 12px 14px;
  font-size: 0.92rem;
  vertical-align: top;
}

.compact-price-grid .price-table th:last-child,
.compact-price-grid .price-table td:last-child {
  width: 136px;
  white-space: nowrap;
  text-align: right;
}

.service-detail {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(214, 173, 69, 0.22);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.3);
}

.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
}

.price-table th,
.price-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(214, 173, 69, 0.16);
}

.price-table th {
  color: var(--rose-deep);
  background: linear-gradient(180deg, rgba(214, 173, 69, 0.22), rgba(26, 23, 16, 0.96));
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-table th:first-child {
  border-top-left-radius: 8px;
}

.price-table th:last-child {
  border-top-right-radius: 8px;
  text-align: right;
}

.price-table td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.price-table td:last-child {
  color: var(--rose-deep);
  font-weight: 900;
  white-space: nowrap;
  text-align: right;
}

.price-table .price-category td {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--rose-deep), var(--hot-pink) 58%, var(--pink));
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:not(.price-category):nth-child(even) td {
  background: rgba(246, 222, 160, 0.05);
}

.price-table tbody tr {
  transition: background 180ms ease, transform 180ms ease;
}

.price-table tbody tr:not(.price-category):hover td {
  background: rgba(214, 173, 69, 0.12);
}

.price-table tbody tr:not(.price-category):hover td:first-child {
  color: var(--rose-deep);
}

.back-link {
  margin-top: 24px;
}

.site-footer {
  padding: 28px 16px;
  text-align: center;
  color: var(--white);
  background: var(--rose-deep);
}

.site-footer p {
  margin: 0;
}

.author-name {
  display: block;
  text-align: right;
  font-style: italic;
}



.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(3, 3, 3, 0.96);
    border-color: rgba(214, 173, 69, 0.38);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.62);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    border-radius: 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.94), rgba(26, 23, 16, 0.84)),
      url("../images/hero.jpg") center / cover;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 36px auto 0;
  }

  .offer-grid,
  .about-section,
  .gallery-grid,
  .contact-layout,
  .compact-price-grid {
    grid-template-columns: 1fr;
  }

  .offer-tile {
    min-height: 220px;
  }

  .about-media img {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .section,
  .page-hero-content,
  .hero-content {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .gallery-item img {
    height: 240px;
  }

  .contact-card,
  .contact-form,
  .price-card {
    padding: 20px;
  }

  .compact-price-grid .price-table th:last-child,
  .compact-price-grid .price-table td:last-child {
    width: 112px;
  }

  .kosmetyka-page .compact-price-grid {
    gap: 16px;
  }

  .kosmetyka-page .price-mini-card h3 {
    padding: 14px 16px 14px 38px;
    font-size: 0.92rem;
  }

  .kosmetyka-page .compact-price-grid .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .kosmetyka-page .compact-price-grid .price-table {
    min-width: 340px;
    table-layout: fixed;
  }

  .kosmetyka-page .compact-price-grid .price-table th,
  .kosmetyka-page .compact-price-grid .price-table td {
    padding: 10px 10px;
    font-size: 0.86rem;
  }

  .kosmetyka-page .compact-price-grid .price-table th:first-child,
  .kosmetyka-page .compact-price-grid .price-table td:first-child {
    width: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .kosmetyka-page .compact-price-grid .price-table th:last-child,
  .kosmetyka-page .compact-price-grid .price-table td:last-child {
    width: 92px;
    white-space: normal;
  }
}
