/* Studio Tantry — local HTML reconstruction of the supplied Figma design. */
:root {
  color-scheme: dark;
  --background: #000004;
  --pink: #e2afca;
  --pink-soft: #c9a6ba;
  --gold: #c3a069;
  --border: #c886a5;
  --text: #e2afca;
  --container: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: 'Open Sans', Arial, sans-serif; font-size: 16px; line-height: 1.6; }
body.has-modal { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: #fff; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 48px; font: 400 clamp(29px, 3vw, 48px)/1.4 'Merriweather', Georgia, serif; text-align: center; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 84px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--pink); color: #000; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* Opening composition: original photographic background, logo and navigation. */
.hero { position: relative; min-height: 760px; height: min(1000px, 54vw); background: #000 url('../images/optimized/masaz-lopatek-dlonie-1264.webp') center bottom / cover no-repeat; color: #fff; }
.site-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; padding-top: 34px; }
.brand { width: 290px; flex: 0 0 290px; }
.brand img { width: 100%; }
.header-right { padding-top: 15px; }
.main-navigation { display: flex; gap: 30px; align-items: center; }
.main-navigation a { font-size: 15px; white-space: nowrap; padding-block: 12px; border-bottom: 1px solid transparent; }
.main-navigation a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.header-phone { display: block; margin-top: 20px; text-align: right; font-size: 15px; letter-spacing: .03em; }
.header-phone span { color: var(--gold); padding-right: 8px; }
.menu-toggle { display: none; }
.hero-copy { padding-top: 55px; }
.hero-copy h1 { max-width: 540px; margin-bottom: 24px; font-weight: 400; font-size: clamp(34px, 3.1vw, 48px); line-height: 1.4; letter-spacing: .01em; }
.hero-copy > p { max-width: 460px; margin-bottom: 32px; font-size: 18px; line-height: 1.7; text-shadow: 0 1px 8px #000; }
.hero-link { display: inline-flex; gap: 14px; align-items: center; font-size: 13px; letter-spacing: .08em; }
.hero-link > span { font-size: 24px; color: var(--gold); }

/* Long-form sections retain the source copy and imagery. */
.about { padding-top: 72px; }
.about-image { width: 969px; margin: 0 auto 12px; }
.about-text { max-width: 969px; margin-inline: auto; }
.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.offer { display: grid; grid-template-columns: 1.8fr 1fr; align-items: start; gap: 36px; padding-top: 80px; }
.offer h2 { text-align: left; font-size: clamp(29px, 2.65vw, 42px); margin-bottom: 38px; }
.offer-copy { padding-top: 36px; }
.offer-image { width: 100%; max-width: 370px; margin-left: auto; }
.body-landscape { height: clamp(220px, 25vw, 480px); margin-top: 50px; background: #000 url('../images/optimized/masaz-karku-zblizenie-1600.webp') center / cover no-repeat; }

/* Service prices. */
.pricing { padding-top: 38px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.service-card { border: 1px solid var(--border); padding: 30px 22px 24px; display: flex; flex-direction: column; text-align: center; min-height: 355px; }
.service-kind { margin-bottom: 8px; font-size: 14px; }
.service-card h3 { margin-bottom: 24px; font-size: 19px; line-height: 1.45; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
.service-description { margin-bottom: 25px; font-size: 14px; color: var(--pink-soft); }
.service-description p { margin-bottom: 10px; }
.service-prices { margin-top: auto; margin-bottom: 20px; color: #f1f0ee; font-size: 17px; }
.service-prices p { margin-bottom: 6px; }
.text-link { align-self: center; border-bottom: 1px solid #81536b; font-size: 13px; padding-bottom: 3px; }
.text-link span { padding-left: 6px; }

/* Gallery: the same five portraits + three taller photographs as in Figma. */
.gallery { background: url('../images/mt-1121-home-pattern1.png') center top / auto no-repeat; padding-top: 90px; }
.gallery-grid { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 12px; }
.gallery-item { position: relative; grid-column: span 3; overflow: hidden; background: #0c1114; }
.gallery-item:nth-child(n+6) { grid-column: span 5; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 2/3; object-fit: cover; transition: transform .35s ease; }
.gallery-item:nth-child(n+6) img { aspect-ratio: 4/5; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; background: #0009; color: #fff; border: 1px solid #ffffff70; font-size: 22px; }
.before-visit { padding-top: 110px; padding-bottom: 45px; }
.before-visit .prose { text-align: center; max-width: 1060px; margin-inline: auto; }

/* Local contact form: opens the visitor's own email app, with no server. */
.contact { padding-top: 55px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; max-width: 1000px; margin-inline: auto; }
.contact-details { padding-top: 10px; }
.contact-details > a, .contact-details > p { display: block; margin-bottom: 24px; }
.contact-details span { display: inline-block; width: 30px; font-size: 20px; color: var(--pink); }
.location-note { max-width: 360px; font-size: 14px; line-height: 1.8; color: var(--pink-soft); margin-top: 40px; }
.contact-form { display: grid; gap: 8px; }
.contact-form label { font-size: 13px; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; border: 1px solid #9e8e97; border-radius: 0; background: #e7e5e7; color: #222; padding: 12px 14px; margin-bottom: 10px; font-size: 15px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #65616a; }
.contact-form textarea { resize: vertical; min-height: 132px; }
.form-note, .form-status { color: var(--pink-soft); font-size: 12px; margin: 3px 0 12px; line-height: 1.7; }
.form-status:empty { display: none; }
.button { justify-self: start; border: 1px solid var(--border); border-radius: 0; background: transparent; color: var(--pink); padding: 13px 20px; font-size: 13px; transition: background .2s, color .2s; }
.button:hover { background: var(--pink); color: #000; }
.button span { margin-left: 16px; }
.site-footer { position: relative; margin-top: 50px; padding-block: 45px 34px; border-top: 1px solid #422e3a; text-align: center; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 50px; margin-bottom: 28px; font-size: 13px; }
.site-footer > p { margin: 0; font-size: 12px; color: var(--pink-soft); }
.back-to-top { position: absolute; bottom: 23px; right: 0; border: 1px solid #644253; width: 36px; height: 36px; display: grid; place-items: center; }

/* Native dialog supplies modal focus management and Escape support. */
.lightbox { padding: 60px 70px 20px; border: 1px solid #6a4c5d; background: #08070a; color: #fff; max-width: min(1100px, 96vw); max-height: 96dvh; }
.lightbox::backdrop { background: #000e; }
.lightbox figure { margin: 0; }
.lightbox figure img { max-height: 76dvh; max-width: 76vw; width: auto; margin-inline: auto; object-fit: contain; }
.lightbox figcaption { text-align: center; font-size: 13px; margin-top: 15px; color: var(--pink); }
.lightbox button { position: absolute; border: 0; background: transparent; color: #fff; width: 48px; height: 48px; font-size: 36px; line-height: 1; }
.lightbox-close { top: 5px; right: 6px; }
.lightbox-prev { left: 5px; top: 48%; }
.lightbox-next { right: 5px; top: 48%; }

@media (min-width: 1600px) {
  .hero-copy { padding-top: 85px; }
}
@media (max-width: 1050px) {
  .brand { width: 235px; flex-basis: 235px; }
  .main-navigation { gap: 18px; }
  .main-navigation a { font-size: 14px; }
  .hero { min-height: 710px; background-position: 56% bottom; }
  .hero-copy { padding-top: 55px; }
  .offer { grid-template-columns: 1.6fr 1fr; }
  .offer-copy { padding-top: 0; }
  .contact-grid { gap: 45px; }
  .service-card { padding: 25px 16px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 56px; }
  h2 { margin-bottom: 32px; }
  .hero { height: auto; min-height: 770px; background-size: auto 610px; background-position: 60% bottom; }
  .site-header { padding-top: 10px; gap: 10px; }
  .brand { width: 200px; flex-basis: 200px; }
  .header-right { padding-top: 20px; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; padding: 10px 0 10px 10px; border: 0; background: transparent; color: #fff; font-size: 13px; }
  .menu-lines { width: 20px; height: 12px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); position: relative; }
  .menu-lines::after { content: ''; position: absolute; top: 4px; left: 0; width: 20px; border-top: 1px solid var(--gold); }
  .main-navigation { display: none; position: absolute; z-index: 5; top: 85px; left: 20px; right: 20px; background: #09080af7; border: 1px solid #68513a; padding: 18px 24px; box-shadow: 0 16px 35px #000a; }
  .main-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-navigation a { padding: 12px 0; font-size: 16px; }
  .header-phone { position: absolute; top: 158px; left: 20px; margin-top: 0; font-size: 13px; }
  .hero-copy { padding-top: 75px; }
  .hero-copy h1 { font-size: 35px; max-width: 440px; line-height: 1.4; text-shadow: 0 2px 14px #000; }
  .hero-copy > p { max-width: 355px; font-size: 16px; padding-right: 15px; }
  .hero-link { margin-top: 6px; }
  .prose { font-size: 15px; line-height: 1.75; }
  .about-image { margin-bottom: 22px; }
  .offer { grid-template-columns: 1fr; gap: 32px; }
  .offer h2 { text-align: center; font-size: 29px; }
  .offer-image { max-width: 270px; max-height: 600px; object-fit: contain; margin-inline: auto; }
  .body-landscape { margin-top: 0; height: 220px; background-size: auto 100%; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .service-card { min-height: 365px; }
  .service-card h3 { font-size: 17px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-item, .gallery-item:nth-child(n+6) { grid-column: span 1; }
  .gallery-item img, .gallery-item:nth-child(n+6) img { aspect-ratio: 2/3; }
  .before-visit .prose { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-details { padding-top: 0; }
  .location-note { max-width: none; margin-top: 25px; }
  .site-footer { margin-top: 10px; }
  .footer-links { flex-direction: column; align-items: center; gap: 14px; }
  .lightbox { padding: 58px 35px 20px; max-width: 98vw; }
  .lightbox figure img { max-width: 75vw; }
  .lightbox-prev { left: -4px; }
  .lightbox-next { right: -4px; }
}
@media (max-width: 440px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; padding: 30px 26px; }
  .hero-copy h1 { font-size: 32px; }
  .hero { min-height: 750px; background-position: 57% bottom; }
  .contact-details > a { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .hero { min-height: 450px; height: auto; }
  .menu-toggle, .hero-link, .contact-form, .back-to-top { display: none; }
  .section { padding-block: 25px; }
  .service-card { break-inside: avoid; }
}
