:root {
  --pink-bg: #f8dce8;
  --pink-soft: #fff6fa;
  --pink-card: #fdebf2;
  --pink-main: #e75f95;
  --pink-dark: #b8668d;
  --ink: #181416;
  --muted: #6f5d65;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(69, 35, 48, 0.14);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 8% 14%,
      rgba(255, 255, 255, 0.65),
      transparent 23%
    ),
    radial-gradient(
      circle at 92% 35%,
      rgba(255, 255, 255, 0.45),
      transparent 25%
    ),
    linear-gradient(180deg, var(--pink-bg), #fff8fb 40%, var(--pink-bg));
  line-height: 1.65;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: 0.16;
}

body::before {
  width: 260px;
  height: 260px;
  top: 120px;
  right: -80px;
  border: 2px solid rgba(184, 102, 141, 0.28);
  border-radius: 50%;
}

body::after {
  width: 340px;
  height: 340px;
  left: -130px;
  bottom: 80px;
  background:
    repeating-radial-gradient(
      circle,
      rgba(184, 102, 141, 0.18) 0 2px,
      transparent 2px 14px
    );
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font-family: Arial, Helvetica, sans-serif;
}

.skip-link {
  position: absolute;
  top: -80px;
  right: 16px;
  z-index: 10000;
  padding: 10px 16px;
  background: #000;
  color: #fff;
  border-radius: 12px;
}

.skip-link:focus {
  top: 16px;
}

.menu-button {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  width: 48px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: #000;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 20px;
}

.site-menu {
  position: fixed;
  top: 72px;
  right: 18px;
  z-index: 9998;
  width: min(250px, calc(100vw - 36px));
  padding: 14px;
  background: #000;
  color: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

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

.site-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
}

.site-menu a:hover,
.site-menu a:focus {
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  width: min(1429px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--pink-bg);
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: auto;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 48px auto;
}

.section-heading {
  position: relative;
  text-align: center;
  margin-bottom: 26px;
}

.section-heading::after {
  content: "❤";
  display: block;
  margin-top: 2px;
  color: var(--pink-main);
  font-size: 14px;
  line-height: 1;
}

.section-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--pink-dark);
  font-size: 15px;
  font-weight: 700;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.25;
}

.compact-heading {
  margin-bottom: 22px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.contact-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(231, 95, 149, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--pink-card);
}

.service-content {
  padding: 22px;
}

.service-card h2 {
  margin: 0 0 10px;
  font-size: 23px;
}

.service-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}

.service-card a,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 2px solid #000;
  border-radius: 999px;
  background: #000;
  color: var(--pink-main);
  font-weight: 700;
  cursor: pointer;
}

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

.gallery-grid button {
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(69, 35, 48, 0.12);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: 0.25s ease;
}

.gallery-grid button:hover img,
.gallery-grid button:focus img {
  transform: scale(1.04);
}

.studio-details {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(231, 95, 149, 0.16);
  border-radius: 34px;
  padding: 34px 20px;
  box-shadow: var(--shadow);
}

.details-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 4px;
}

.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #000;
  color: var(--pink-main);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.detail-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.detail-title {
  color: var(--pink-dark);
  font-size: 15px;
  font-weight: 700;
}

.detail-item strong {
  width: 100%;
  font-size: 14px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-card {
  padding: 30px;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.side-actions {
  position: fixed;
  right: 0;
  bottom: 96px;
  z-index: 9996;
  display: grid;
  gap: 10px;
}

.side-tab {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 54px;
  height: 52px;
  padding: 0 14px;
  border: 0;
  border-radius: 18px 0 0 18px;
  background: #000;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: width 0.25s ease;
  box-shadow: var(--shadow);
}

.side-tab:hover,
.side-tab:focus,
.side-tab.is-open {
  width: 148px;
}

.side-icon {
  flex: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.side-icon img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

.access-sign {
  color: #2d8cff;
  font-size: 25px;
  line-height: 1;
}

.side-label {
  display: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.side-tab:hover .side-label,
.side-tab:focus .side-label,
.side-tab.is-open .side-label {
  display: inline-block;
}

.access-panel {
  position: fixed;
  right: 58px;
  bottom: 84px;
  z-index: 9995;
  width: min(320px, calc(100vw - 76px));
  padding: 18px;
  background: #050505;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: 0.25s ease;
}

.access-panel.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.access-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.access-head h2 {
  margin: 0;
  font-size: 20px;
}

.access-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.access-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.access-tools button {
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.access-tools button.is-active {
  background: var(--pink-main);
  border-color: var(--pink-main);
  color: #000;
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.84);
  padding: 20px;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(92vw, 980px);
  max-height: 82vh;
  border-radius: 22px;
  background: #fff;
}

.lightbox button {
  position: fixed;
  border: 0;
  background: #fff;
  color: #000;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 28px;
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.site-footer {
  margin-top: 60px;
  padding: 30px 16px;
  text-align: center;
  background: #000;
  color: #fff;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--pink-main);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

body.access-large {
  font-size: 112%;
}

body.access-small {
  font-size: 92%;
}

body.access-contrast {
  background: #000;
  color: #fff;
}

body.access-contrast .section,
body.access-contrast .service-card,
body.access-contrast .contact-card,
body.access-contrast .studio-details {
  background: #111;
  color: #fff;
}

body.access-light {
  background: #fff;
}

body.access-links a {
  text-decoration: underline;
  outline: 2px dashed currentColor;
  outline-offset: 3px;
}

body.access-spacing {
  letter-spacing: 0.04em;
  word-spacing: 0.08em;
  line-height: 1.9;
}

body.access-motion *,
body.access-motion *::before,
body.access-motion *::after {
  animation: none !important;
  transition: none !important;
}

@media (max-width: 900px) {
  .details-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .hero {
    width: 100%;
  }

  .hero-image {
    min-height: 250px;
    object-fit: cover;
    object-position: center top;
  }

  .menu-button {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 40px;
  }

  .site-menu {
    top: 60px;
    right: 12px;
  }

  .section {
    width: min(100% - 24px, 620px);
    margin: 38px auto;
  }

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

  .gallery-grid button {
    border-radius: 14px;
  }

  .details-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .detail-icon {
    width: 62px;
    height: 62px;
  }

  .detail-icon img {
    width: 30px;
    height: 30px;
  }

  .contact-card {
    padding: 22px 16px;
  }

  .side-actions {
    bottom: 80px;
  }
}

@media (max-width: 420px) {
  .details-row {
    grid-template-columns: 1fr;
  }

  .detail-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    padding: 12px;
  }

  .detail-title,
  .detail-item strong {
    width: auto;
  }

  .access-panel {
    right: 8px;
    left: 8px;
    width: auto;
  }
}

/* Final icon/floating-tab fix */
.detail-icon img,
.side-icon img {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.detail-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.side-actions {
  right: 0 !important;
  overflow: visible !important;
}

.side-tab {
  width: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  height: 52px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  gap: 0 !important;
  transition: max-width 0.25s ease, width 0.25s ease !important;
}

.side-tab:hover,
.side-tab:focus,
.side-tab.is-open {
  width: 154px !important;
  min-width: 154px !important;
  max-width: 154px !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 0 14px !important;
}

.side-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  flex: 0 0 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

.side-label {
  display: block !important;
  width: 0 !important;
  max-width: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  margin: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.15s ease, max-width 0.2s ease !important;
}

.side-tab:hover .side-label,
.side-tab:focus .side-label,
.side-tab.is-open .side-label {
  width: auto !important;
  max-width: 90px !important;
  opacity: 1 !important;
}

.access-sign {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 1 !important;
  font-size: 25px !important;
}
