/* SIRUN Beauty Studio – sirun.pl */
:root {
  --brown: #2E2119;
  --brown-2: #36271E;
  --line-dark: #4A3A2E;
  --gold: #AC946E;
  --gold-text: #6E5A3B;
  --beige: #E6DACC;
  --ivory: #F7F2EC;
  --cream: #F4ECE2;
  --sand: #CDBFAE;
  --sand-2: #BFAF9C;
  --ink: #2E2119;
  --body: #3F332B;
  --muted: #6B5D52;
  --hair: #D8CBBB;
  --hair-2: #E3D8CA;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
p { margin: 0; }
[id] { scroll-margin-top: 90px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--brown); padding: 10px 18px; }
.skip:focus { left: 8px; }

.container { max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); }
.dark .eyebrow, .eyebrow--gold { color: var(--gold); }
.h2 { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: 19px; font-weight: 300; line-height: 1.7; }
.muted { color: var(--muted); }
.dark { background: var(--brown); color: var(--beige); }
.dark .h2, .dark h2, .dark h3 { color: var(--cream); }
.beige { background: var(--beige); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 32px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.btn--gold { background: var(--gold); color: var(--brown); }
.btn--gold:hover { background: #BBA47E; color: var(--brown); }
.btn--dark { background: var(--brown); color: var(--cream); }
.btn--dark:hover { background: #45342A; color: var(--cream); }
.btn--outline { border: 1px solid var(--gold); color: var(--beige); font-weight: 500; letter-spacing: 0.1em; }
.btn--outline:hover { background: var(--brown-2); color: var(--cream); }
.link { font-weight: 500; letter-spacing: 0.06em; text-underline-offset: 6px; color: var(--gold-text); }
.dark .link { color: var(--gold); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 64px; margin-bottom: 48px; }
.section-head > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.section-head > p, .section-head > .side { flex: 1 1 340px; min-width: 0; max-width: 32rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brown); border-bottom: 1px solid var(--line-dark); }
.site-header .bar { max-width: 1360px; margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-size: 10px; letter-spacing: 0.42em; padding-left: 0.42em; text-transform: uppercase; color: var(--sand-2); line-height: 1.4; }
.nav { display: flex; align-items: center; gap: 4px 28px; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.nav a { color: var(--beige); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 8px 22px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--beige); text-decoration: none; font-size: 15px; letter-spacing: 0.04em; }
.header-phone:hover { color: var(--gold); }
.header-cta { min-height: 44px; padding: 0 24px; font-size: 13px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; background: var(--brown); color: var(--beige); }
.hero-text { flex: 1 1 560px; min-width: 0; display: flex; justify-content: flex-end; }
.hero-text > div { width: 100%; max-width: 700px; padding: clamp(48px, 8vw, 120px) clamp(20px, 4vw, 64px) clamp(56px, 7vw, 96px) var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 86px); line-height: 1.04; letter-spacing: -0.015em; color: var(--cream); text-wrap: balance; }
.hero h1 em, .h-accent { font-style: italic; color: var(--gold); }
.hero .lead { color: var(--sand); max-width: 33rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero-cta .text-link { color: var(--beige); font-size: 15px; letter-spacing: 0.08em; text-underline-offset: 7px; }
.facts { margin: 12px 0 0; padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 20px 28px; font-size: 15px; line-height: 1.5; }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 0; color: var(--beige); }
.facts a { color: var(--beige); text-decoration: none; }
.facts .hours-mini { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; }
.hero-photo { flex: 1 1 480px; min-width: 0; min-height: clamp(420px, 56vw, 820px); position: relative; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 96px; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about-text .h2 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.12; }
.about-text p { max-width: 36rem; }
.about-photo { flex: 0 1 460px; min-width: 0; position: relative; padding: 24px 0 0 24px; }
.about-photo::before { content: ""; position: absolute; left: 0; top: 0; width: calc(100% - 24px); height: calc(100% - 24px); border: 1px solid var(--gold); border-radius: 999px 999px 0 0; }
.about-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 4px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: var(--cream); text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,33,25,0) 42%, rgba(46,33,25,.9) 100%); }
.tile-text { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; display: flex; flex-direction: column; gap: 6px; }
.tile-num { font-size: 12px; letter-spacing: 0.24em; color: var(--gold); }
.tile-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.tile-more { font-size: 14px; letter-spacing: 0.06em; color: var(--beige); }
.tile:hover .tile-title { color: #fff; }

/* Treatments */
.treatments { border-bottom: 1px solid var(--hair); }
.treatment { display: flex; flex-wrap: wrap; gap: 20px 64px; padding: 44px 0; border-top: 1px solid var(--hair); }
.treatment-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.treatment-head .num { font-size: 13px; letter-spacing: 0.24em; color: var(--gold-text); }
.treatment-head h3 { font-size: 38px; line-height: 1.1; }
.treatment-head p { max-width: 26rem; color: var(--muted); }
.treatment ul { flex: 2 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); column-gap: 40px; align-content: start; }
.treatment li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--hair-2); }
.treatment li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* Band */
.band { position: relative; overflow: hidden; background: var(--brown); color: var(--cream); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(46,33,25,.7); z-index: 1; }
.band .container { position: relative; z-index: 2; padding-block: clamp(96px, 12vw, 168px); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.band h2 { font-style: italic; font-size: clamp(44px, 7.5vw, 120px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; color: var(--cream); }
.band h2 span { color: var(--gold); }
.band p { max-width: 34rem; font-size: 19px; font-weight: 300; color: var(--beige); }

/* Gallery */
.gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery .g-wide { flex: 1 1 calc(50% - 6px); min-width: 280px; }
.gallery .g-wide img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.gallery .g-tall { flex: 1 1 calc(33.333% - 8px); min-width: 240px; }
.gallery .g-tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Blog cards */
.feature { display: flex; flex-wrap: wrap; background: var(--ivory); }
.feature-img { flex: 1 1 420px; min-width: 0; }
.feature-img img { width: 100%; height: 100%; min-height: 320px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 58%; }
.feature-body { flex: 1 1 420px; min-width: 0; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feature-body h3, .feature-body h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; }
.feature-body h3 a, .feature-body h2 a { text-decoration: none; }
.cat { font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text); }
.beige .feature { background: var(--ivory); }
.ivory-bg .feature { background: #FFFFFF; border: 1px solid var(--hair-2); }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 40px 96px; }
.faq > div:first-child { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-groups { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.faq-group h3 { margin: 0 0 10px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-text); }
.faq-group > div, .faq-plain { border-top: 1px solid var(--hair); }
details { border-bottom: 1px solid var(--hair); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-size: 28px; font-weight: 300; color: var(--gold-text); flex: none; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 24px; max-width: 44rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--brown); color: var(--beige); }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px 64px; padding-top: clamp(72px, 9vw, 120px); }
.footer-top > div { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.f-main { flex: 2 1 340px; align-items: flex-start; }
.f-col { flex: 1 1 240px; }
.f-main img { height: 54px; width: auto; }
.f-main h2 { font-size: 32px; line-height: 1.2; }
.site-footer address { font-style: normal; display: flex; flex-direction: column; gap: 2px; color: var(--sand); }
.f-title { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.hours { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { color: var(--sand); }
.hours dd { margin: 0; color: var(--cream); }
.f-phone { color: var(--cream); text-decoration: none; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.f-mail { color: var(--beige); text-decoration: none; overflow-wrap: anywhere; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 56px; padding: 36px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.footer-cta p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; color: var(--cream); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px 0 36px; font-size: 14px; color: var(--sand-2); }
.footer-bottom a { color: var(--sand-2); }

/* Page header (blog, article) */
.page-head { background: var(--beige); }
.page-head .container { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 6vw, 80px); display: flex; flex-direction: column; gap: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--gold-text); }
.page-head h1 { max-width: 20ch; font-size: clamp(40px, 5vw, 76px); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
.page-head h1 em { font-style: italic; color: var(--gold-text); }
.page-head .lead { max-width: 40rem; color: #4F4238; }

/* Article */
.article-head .container { max-width: 860px; padding-bottom: clamp(120px, 14vw, 200px); }
.article-head h1 { max-width: none; font-size: clamp(38px, 5vw, 70px); line-height: 1.06; }
.byline { font-size: 15px; color: #4F4238; }
.article-hero { max-width: 1180px; margin: clamp(-170px, -12vw, -100px) auto 0; padding-inline: var(--pad); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 58%; }
.prose { max-width: 760px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--pad) clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.75; color: var(--body); }
.prose .intro { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.55; color: var(--ink); }
.prose h2 { margin-top: 24px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--ink); }
.prose .link { color: var(--gold-text); }
.toc { margin: 14px 0; padding: 28px 32px; background: #FFFFFF; border: 1px solid var(--hair-2); }
.toc h2 { margin: 0 0 12px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-text); }
.toc ol { gap: 6px; font-size: 17px; }
.toc a { text-underline-offset: 5px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--hair-2); background: #FFFFFF; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
thead tr { background: var(--brown); color: var(--cream); }
th, td { text-align: left; padding: 14px 18px; }
thead th { font-weight: 500; }
tbody tr + tr { border-top: 1px solid var(--hair-2); }
tbody th { font-weight: 500; color: var(--ink); }
.prose details summary { font-size: 21px; padding: 20px 0; }
.prose details p { padding-bottom: 20px; color: var(--body); }
.cta-box { margin-top: 32px; padding: clamp(28px, 4vw, 44px); background: var(--brown); color: var(--beige); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-box h2 { margin: 0; color: var(--cream); }
.cta-box p { font-weight: 300; color: var(--sand); }
.cta-box a:not(.btn) { color: var(--beige); }

/* Floating call button (phones and tablets) */
.call-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--gold); color: var(--brown); display: none; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(46,33,25,.35); text-decoration: none; }
.call-fab:hover { background: #BBA47E; color: var(--brown); }
.call-fab svg { width: 28px; height: 28px; }

/* Tablet and phone */
@media (max-width: 1100px) {
  .site-header .bar { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; gap: 0 24px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); border-top: 1px solid var(--line-dark); }
  .nav::-webkit-scrollbar { display: none; }
  .call-fab { display: inline-flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 28px; }
  .header-phone { display: none; }
  .site-header .bar { padding-block: 10px; row-gap: 6px; }
  .header-cta { padding: 0 18px; letter-spacing: 0.1em; font-size: 12px; }
  .btn:not(.header-cta) { width: 100%; }
  .tile-text { left: 20px; right: 20px; bottom: 22px; }
  .treatment { padding: 32px 0; }
  .treatment-head h3 { font-size: 32px; }
  summary { font-size: 20px; }
  .footer-bottom { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
}
