/* ────────────────────────────────────────────────────────────────────────
   MACK · Service-page styles
   Shared by brwi.html, usta.html, oczy.html.
   ──────────────────────────────────────────────────────────────────────── */

/* ─── PAGE HERO ─────────────────────────────────────────────────────── */
  section.page-hero{
    padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px);
    position: relative;
    overflow: hidden;
  }
  .page-hero .container{ position: relative; z-index: 2; }
  .page-hero .top-meta{
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(40px, 6vw, 64px);
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--muted);
    flex-wrap: wrap; gap: 12px;
  }
  .page-hero .top-meta .crumb{
    display: flex; gap: 24px;
  }
  .page-hero .top-meta .crumb a{
    color: var(--muted); transition: color 0.2s;
  }
  .page-hero .top-meta .crumb a:hover{ color: var(--ink); }
  .page-hero .top-meta .step{
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px; font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent);
  }
  .page-hero .grid{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
  }
  .page-hero .eyebrow{ margin-bottom: 28px; }
  .page-hero h1{
    font-size: clamp(96px, 14vw, 240px);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 0.85;
    margin: 0 0 28px;
  }
  .page-hero h1 .dot{ color: var(--accent); }
  .page-hero .subtitle{
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 300;
    color: var(--ink);
    margin: 0 0 24px;
    max-width: 18ch;
    line-height: 1.2;
  }
  .page-hero .subtitle .accent{ color: var(--accent); }
  .page-hero .lead{ max-width: 42ch; }

  .page-hero-photo{
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg-soft);
    position: relative;
  }
  .page-hero-photo img{
    width: 100%; height: 100%; object-fit: cover; display: block;
  }
  .page-hero-photo .caption{
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 20px;
    background: rgba(26,20,16,0.55);
    backdrop-filter: blur(6px);
    color: #F5F0E6;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
  }
  .page-hero-photo .caption-r{ color: rgba(245,240,230,0.65); }

  .page-hero-meta{
    margin-top: clamp(48px, 7vw, 80px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
  }
  .page-hero-meta .meta{ display: flex; flex-direction: column; gap: 6px; }
  .page-hero-meta .meta-l{
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--muted);
  }
  .page-hero-meta .meta-v{
    font-family: var(--font-display);
    font-size: 22px; color: var(--ink); font-weight: 400;
  }
  .page-hero-meta .meta-v em{ color: var(--accent); font-style: italic; font-weight: 300; }

  /* ─── METHODS ───────────────────────────────────────────────────────── */
  section.methods{
    padding-block: clamp(72px, 10vw, 140px);
    background: var(--bg-soft);
  }
  .methods-head{
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(48px, 7vw, 72px);
  }
  .methods-head .eyebrow{ margin-bottom: 18px; }
  .methods-head h2{
    font-size: clamp(44px, 5.5vw, 80px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 0.95;
    max-width: 14ch;
  }
  .methods-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
  .methods-head p{
    color: var(--ink-soft);
    font-size: 16px; line-height: 1.65;
    max-width: 46ch;
    margin: 0;
  }

  .methods-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 32px);
  }
  .method-card{
    background: var(--bg);
    padding: clamp(28px, 3vw, 40px);
    display: flex; flex-direction: column;
    transition: transform 0.25s ease;
  }
  .method-card:hover{ transform: translateY(-4px); }
  .method-card .letter{
    font-family: var(--font-display);
    font-style: italic;
    font-size: 48px;
    color: var(--accent);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 24px;
  }
  .method-card h3{
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 400;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
  }
  .method-card .desc{
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 24px;
    flex-grow: 1;
  }
  .method-card .tags{
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .method-card .tag{
    padding: 5px 12px;
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-soft);
  }
  .method-card .meta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .method-card .meta-row{ display: flex; flex-direction: column; gap: 4px; }
  .method-card .meta-l{
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--muted);
  }
  .method-card .meta-v{
    font-family: var(--font-display);
    font-style: italic;
    font-size: 19px;
    color: var(--accent);
    font-weight: 400;
  }
  .method-card .meta-v.ink{ color: var(--ink); font-style: normal; font-size: 16px; }

  /* ─── PROCEDURE / PRZEBIEG ──────────────────────────────────────────── */
  section.procedure{
    padding-block: clamp(80px, 11vw, 160px);
  }
  .proc-head{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(48px, 7vw, 80px);
  }
  .proc-head .eyebrow{ margin-bottom: 20px; }
  .proc-head h2{
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 0.95;
    max-width: 14ch;
  }
  .proc-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
  .proc-head p{ color: var(--ink-soft); font-size: 16px; line-height: 1.65; max-width: 46ch; margin: 0; }

  .proc-grid{
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }
  .proc-photo{
    position: sticky; top: 100px;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-soft);
  }
  .proc-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
  .proc-photo .caption{
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 20px;
    background: rgba(26,20,16,0.55);
    backdrop-filter: blur(6px);
    color: #F5F0E6;
    display: flex; justify-content: space-between;
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
  }
  .proc-photo .caption-r{ color: rgba(245,240,230,0.65); }

  .proc-steps{
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
  }
  .proc-step{
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    transition: padding 0.25s ease;
  }
  .proc-step:last-child{ border-bottom: 1px solid var(--line); }
  .proc-step:hover{ padding-left: 8px; }
  .proc-num{
    font-family: var(--font-display);
    font-style: italic;
    font-size: 32px;
    color: var(--accent);
    font-weight: 300;
    line-height: 1;
  }
  .proc-body h3{
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 8px;
  }
  .proc-body p{
    margin: 0 0 10px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.6;
    max-width: 52ch;
  }
  .proc-meta-tag{
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); opacity: 0.85;
  }

  /* ─── MINI-GALLERY ──────────────────────────────────────────────────── */
  section.mini-gallery{
    padding-block: clamp(72px, 10vw, 140px);
    background: var(--bg-soft);
  }
  .mini-gallery-head{
    display: flex; justify-content: space-between; align-items: end;
    gap: 32px; flex-wrap: wrap;
    margin-bottom: clamp(36px, 5vw, 56px);
  }
  .mini-gallery-head .eyebrow{ margin-bottom: 12px; display: inline-flex; }
  .mini-gallery-head h2{
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 0.95;
    margin: 0;
    max-width: 16ch;
  }
  .mini-gallery-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }

  .mini-gallery-grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 100px;
    gap: 12px;
  }
  .mini-gallery-grid > div{
    background: var(--bg) center/cover no-repeat;
    overflow: hidden;
    transition: opacity 0.25s ease;
    position: relative;
  }
  .mini-gallery-grid > div:hover{ opacity: 0.9; }
  .mg-1{ grid-column: span 5; grid-row: span 4; }
  .mg-2{ grid-column: span 4; grid-row: span 3; }
  .mg-3{ grid-column: span 3; grid-row: span 4; }
  .mg-4{ grid-column: span 4; grid-row: span 3; }
  .mg-5{ grid-column: span 4; grid-row: span 3; }
  .mg-6{ grid-column: span 4; grid-row: span 3; }

  /* Placeholder treatment */
  .mini-gallery-grid > div.ph-cell{
    background:
      repeating-linear-gradient(135deg, transparent 0 18px, rgba(26,20,16,0.04) 18px 19px),
      var(--bg);
    border: 1px solid var(--line);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px;
  }
  .mini-gallery-grid > div.ph-cell::before, .mini-gallery-grid > div.ph-cell::after{
    content:""; position:absolute; width:18px; height:18px;
    border:1.5px solid var(--accent);
  }
  .mini-gallery-grid > div.ph-cell::before{top:10px;left:10px;border-right:0;border-bottom:0}
  .mini-gallery-grid > div.ph-cell::after{bottom:10px;right:10px;border-left:0;border-top:0}
  .mini-gallery-grid .ph-label{
    font-size: 16px; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--ink-soft); text-align: center;
  }
  .mini-gallery-grid .ph-hint{
    font-family: var(--font-display); font-style: italic;
    font-size: 16px; color: var(--muted);
    text-align: center; line-height: 1.4; max-width: 22ch;
  }

  /* ─── PRICING (focused for this service) ────────────────────────────── */
  section.service-pricing{
    padding-block: clamp(80px, 11vw, 160px);
    background: var(--ink);
    color: #F5F0E6;
    position: relative;
    overflow: hidden;
  }
  section.service-pricing::before{
    content: "";
    position: absolute;
    right: -80px; top: -60px;
    width: 340px; height: 340px;
    background: url("../img/logo.webp") no-repeat center/contain;
    opacity: 0.12;
    transform: rotate(-12deg);
    filter: saturate(0.7);
    pointer-events: none;
    z-index: 1;
  }
  section.service-pricing .container{ position: relative; z-index: 2; }
  .sp-head{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(40px, 6vw, 64px);
  }
  .sp-head .eyebrow{ margin-bottom: 18px; }
  .sp-head h2{
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 0.95;
    max-width: 14ch;
    color: #F5F0E6;
  }
  .sp-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
  .sp-head p{ color: rgba(245,240,230,0.72); font-size: 16px; line-height: 1.65; max-width: 46ch; margin: 0; }

  .sp-table{ display: flex; flex-direction: column; }
  .sp-row{
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    gap: 32px;
    align-items: baseline;
    padding-block: 22px;
    border-top: 1px solid rgba(245,240,230,0.18);
    transition: padding 0.25s ease;
  }
  .sp-row:last-child{ border-bottom: 1px solid rgba(245,240,230,0.18); }
  .sp-row:hover{ padding-left: 8px; }
  .sp-row-tag{
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(245,240,230,0.55);
  }
  .sp-row-name{
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 400;
    color: #F5F0E6;
    line-height: 1.2;
  }
  .sp-row-name small{
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(245,240,230,0.65);
    margin-top: 4px;
    letter-spacing: 0; text-transform: none;
  }
  .sp-row-time{
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(245,240,230,0.65);
    white-space: nowrap;
  }
  .sp-row-value{
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(24px, 2.6vw, 34px);
    color: var(--accent);
    font-weight: 400;
    white-space: nowrap;
  }
  .sp-note{
    margin-top: 24px;
    padding: 18px 22px;
    background: rgba(245,240,230,0.06);
    border-left: 2px solid var(--accent);
    font-size: 16px;
    color: rgba(245,240,230,0.78);
    line-height: 1.55;
    max-width: 64ch;
  }
  .sp-note strong{
    color: #F5F0E6; font-weight: 600; display: block;
    margin-bottom: 2px;
    font-size: 16px; letter-spacing: 0.22em; text-transform: uppercase;
  }
  .sp-foot{ margin-top: 32px; }
  section.service-pricing .btn-ghost{
    border-color: rgba(245,240,230,0.4);
    color: #F5F0E6;
  }
  section.service-pricing .btn-ghost:hover{
    background: #F5F0E6; color: var(--ink); border-color: #F5F0E6;
  }

  /* ─── FAQ ───────────────────────────────────────────────────────────── */
  section.faq{
    padding-block: clamp(80px, 11vw, 160px);
    background: var(--bg-soft);
  }
  .faq-head{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(40px, 6vw, 64px);
  }
  .faq-head .eyebrow{ margin-bottom: 18px; }
  .faq-head h2{
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 0.95;
    max-width: 14ch;
  }
  .faq-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
  .faq-head p{ color: var(--ink-soft); font-size: 16px; line-height: 1.65; max-width: 46ch; margin: 0; }

  .faq-list{ display: flex; flex-direction: column; }
  details.faq-item{
    border-top: 1px solid var(--line);
    padding: 0;
  }
  details.faq-item:last-child{ border-bottom: 1px solid var(--line); }
  details.faq-item summary{
    list-style: none;
    cursor: pointer;
    padding: 28px 0;
    display: grid;
    grid-template-columns: 48px 1fr 32px;
    gap: 24px;
    align-items: baseline;
    transition: padding 0.25s ease;
  }
  details.faq-item summary::-webkit-details-marker{ display: none; }
  details.faq-item summary:hover{ padding-left: 8px; }
  .faq-num{
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--accent);
    font-weight: 400;
  }
  .faq-q{
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.3;
  }
  .faq-toggle{
    position: relative;
    width: 24px; height: 24px;
    align-self: center;
  }
  .faq-toggle::before, .faq-toggle::after{
    content: "";
    position: absolute;
    background: var(--ink);
    transition: transform 0.3s ease;
  }
  .faq-toggle::before{ left: 0; right: 0; top: 11px; height: 1.5px; }
  .faq-toggle::after{ top: 0; bottom: 0; left: 11px; width: 1.5px; }
  details[open] .faq-toggle::after{ transform: scaleY(0); }

  .faq-a{
    padding: 0 0 32px 72px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.7;
    max-width: 64ch;
  }
  .faq-a p{ margin: 0 0 12px; }
  .faq-a p:last-child{ margin-bottom: 0; }

  /* ─── FINAL CTA ─────────────────────────────────────────────────────── */
  section.final-cta{
    background:var(--ink);color:#F5F0E6;
    padding-block:clamp(80px, 10vw, 130px);
    position:relative;overflow:hidden;
    text-align:center;
  }
  .final-cta::before{
    content:"";position:absolute;
    right:-60px;top:-40px;
    width:280px;height:280px;
    background:url("../img/logo.webp") no-repeat center/contain;
    opacity:0.1;
    transform:rotate(8deg);
    pointer-events:none;
  }
  .final-cta .container{position:relative;z-index:2}
  .final-cta .eyebrow{color:rgba(245,240,230,0.55)}
  .final-cta h2{color:#F5F0E6;max-width:18ch;margin:24px auto 28px}
  .final-cta h2 em{color:var(--accent);font-style:italic;font-weight:300}
  .final-cta p{
    color:rgba(245,240,230,0.7);max-width:46ch;margin:0 auto 40px;
    font-size:17px;line-height:1.65;
  }
  .final-cta .actions{display:inline-flex;gap:14px;flex-wrap:wrap;justify-content:center}
  .final-cta .btn-ghost{border-color:rgba(245,240,230,0.4);color:#F5F0E6}
  .final-cta .btn-ghost:hover{background:#F5F0E6;color:var(--ink);border-color:#F5F0E6}
  .final-cta .btn-primary{background:var(--accent);color:#F5F0E6}
  .final-cta .btn-primary:hover{background:#F5F0E6;color:var(--ink)}

  /* ─── RESPONSIVE ────────────────────────────────────────────────────── */
  @media (max-width: 920px){
    .page-hero .grid{ grid-template-columns: 1fr; gap: 32px; }
    .page-hero-meta{ grid-template-columns: 1fr 1fr; gap: 18px; }
    .methods-head, .proc-head, .sp-head, .faq-head{ grid-template-columns: 1fr; gap: 24px; align-items: start; }
    .methods-grid{ grid-template-columns: 1fr; gap: 16px; }
    .proc-grid{ grid-template-columns: 1fr; }
    .proc-photo{ position: relative; top: 0; aspect-ratio: 4/3; }
    .mini-gallery-grid{ grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
    .mg-1,.mg-2,.mg-3,.mg-4,.mg-5,.mg-6{ grid-column: span 3; grid-row: span 3; }
    .sp-row{
      grid-template-columns: 48px 1fr;
      grid-template-areas: "tag name" "time value";
      gap: 12px 24px;
    }
    .sp-row-tag{ grid-area: tag; align-self: start; }
    .sp-row-name{ grid-area: name; }
    .sp-row-time{ grid-area: time; grid-column: 1 / -1; }
    .sp-row-value{ grid-area: value; justify-self: end; grid-column: 1 / -1; }
    details.faq-item summary{ grid-template-columns: 36px 1fr 24px; gap: 18px; }
    .faq-a{ padding-left: 54px; }
  }

  @media (max-width: 560px){
    /* ── Breadcrumb ── */
    .page-hero .top-meta{
      font-size: 12px;
      letter-spacing: 0.12em;
      padding-bottom: 14px;
      gap: 6px;
    }
    .page-hero .top-meta .crumb{ gap: 10px; }

    /* ── Service pricing ── */
    .sp-head h2{ font-size: clamp(34px, 9vw, 48px); }
    .sp-row{
      grid-template-columns: 1fr auto;
      grid-template-areas: "name value" "time time";
      gap: 6px 16px;
      padding-block: 20px;
    }
    /* Ukryj literowe tagi (A/B/C) na mobile */
    .sp-row-tag{ display: none; }
    /* Nazwa metody – wyraźna, po lewej */
    .sp-row-name{
      grid-area: name;
      font-size: clamp(19px, 4.8vw, 23px);
      line-height: 1.25;
    }
    /* Cena – duża, po prawej, wyrównana do góry */
    .sp-row-value{
      grid-area: value;
      grid-column: auto;
      justify-self: end;
      align-self: start;
      font-size: clamp(22px, 6vw, 28px);
    }
    /* Czas – drobny tekst pod spodem */
    .sp-row-time{
      grid-area: time;
      grid-column: auto;
      font-size: 12px;
      letter-spacing: 0.2em;
      color: rgba(245,240,230,0.5);
    }

    /* ── FAQ ── */
    details.faq-item summary{ grid-template-columns: 28px 1fr 20px; gap: 12px; }
    .faq-a{ padding-left: 40px; }
  }
