/* ============================================================
   dr Iwona Dembicka — Stomatologia i Medycyna Estetyczna, Zamość
   Styl: nowoczesny, jasny, premium — baby blue + ciepłe złoto
   Fonty: DM Serif Display (nagłówki) + DM Sans (treść)
   ============================================================ */

:root {
  /* Tła */
  --bg:      #F7FBFD;
  --bg-2:    #E8F3FB;   /* baby blue tint */
  --bg-3:    #DCEBF6;
  --card:    #FFFFFF;

  /* Tekst */
  --ink:   #17303F;
  --ink-2: #526B79;
  --ink-3: #5B7480;

  /* Akcent — błękit */
  --blue:      #2E8BC8;
  --blue-deep: #1F6C9E;   /* przyciski / hover (biały tekst) */
  --blue-soft: #86C4E8;   /* baby blue */
  --blue-tint: #E4F1FA;

  /* Akcent ciepły — złoto/szampan (detale) */
  --gold:      #A9793A;
  --gold-soft: #D8B679;
  --star:      #E3A82E;   /* gwiazdki — czytelne na bieli */

  --line:      rgba(23,48,63,0.10);
  --line-blue: rgba(46,139,200,0.20);
  --shadow-sm: 0 8px 22px -12px rgba(23,48,63,0.22);
  --shadow:    0 30px 60px -30px rgba(28,90,135,0.35);
  --shadow-blue: 0 18px 40px -18px rgba(46,139,200,0.45);

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 20px;
  --radius-sm: 14px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.005em; }

/* Layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--tintblue { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section--alt { background: var(--bg-2); }

.eyebrow {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-deep);
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--blue-soft); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.8rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: var(--ink); }
.section-head p { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.06rem; max-width: 42rem; }
.section-head--center p { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.8rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-deep); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: #185881; transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(46,139,200,0.6); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }

/* Header / Nav */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(247,251,253,0.85); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 6px 30px -22px rgba(23,48,63,0.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep)); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.25rem;
  box-shadow: var(--shadow-blue);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); overflow-wrap: anywhere; }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-deep); margin-top: 1px; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links.mobile { display: none; }
.nav-links a { font-size: 0.92rem; color: var(--ink-2); font-weight: 500; transition: color .25s ease; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; border-radius: 2px; background: var(--blue); transition: width .3s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--ink); transition: transform .3s ease, top .3s ease; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { padding-top: clamp(7rem, 12vw, 10rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 55% at 78% 30%, var(--blue-tint), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 0.95rem;
  font-size: 0.8rem; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.hero-badge .stars { color: var(--star); letter-spacing: 1px; }
.hero-badge strong { color: var(--ink); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--ink); }
.hero h1 .accent { color: var(--blue-deep); }
.hero-lead { margin-top: 1.4rem; max-width: 34rem; color: var(--ink-2); font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; }
.hero-meta .item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-2); }
.hero-meta svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow); }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0.5); border-radius: inherit; pointer-events: none; }
.hero-media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; transition: transform 1.2s ease; }
.hero-media .frame:hover img { transform: scale(1.05); }
.hero-media .float {
  position: absolute; left: -6%; bottom: 7%; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 0.95rem 1.15rem; display: flex; align-items: center; gap: 0.75rem;
  border: 1px solid var(--line); animation: floaty 5s ease-in-out infinite;
}
.hero-media .float .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-tint); display: grid; place-items: center; flex: none; }
.hero-media .float .ic svg { width: 21px; height: 21px; color: var(--blue-deep); }
.hero-media .float strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); line-height: 1; }
.hero-media .float span { font-size: 0.76rem; color: var(--ink-2); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Atuty */
.atuty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.atut { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.4rem; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.atut:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: var(--line-blue); }
.atut .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-tint); display: grid; place-items: center; margin-bottom: 1rem; transition: background .35s ease, transform .35s ease; }
.atut:hover .ic { background: var(--blue-deep); transform: rotate(-6deg); }
.atut .ic svg { width: 25px; height: 25px; color: var(--blue-deep); transition: color .35s ease; }
.atut:hover .ic svg { color: #fff; }
.atut h3 { font-size: 1.25rem; color: var(--ink); }
.atut p { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.94rem; }

/* Oferta */
.oferta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: grid; grid-template-columns: 42% 1fr; align-items: stretch;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-blue); }
.service-media { position: relative; overflow: hidden; }
.service-media img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .9s ease; }
.service:hover .service-media img { transform: scale(1.08); }
.service-body { padding: 1.6rem 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.service .tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); font-weight: 700; margin-bottom: 0.5rem; }
.service h3 { font-size: 1.5rem; color: var(--ink); }
.service p { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.93rem; }
.oferta-cta { display: flex; justify-content: center; margin-top: clamp(2.2rem, 4vw, 3rem); }

/* Medycyna estetyczna — banner */
.estetyka { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, #1F6C9E, #2E8BC8); color: #fff; padding: clamp(2.4rem, 5vw, 4rem); }
.estetyka::before { content: ""; position: absolute; top: -40%; right: -10%; width: 45%; height: 180%; background: radial-gradient(closest-side, rgba(255,255,255,0.14), transparent 70%); }
.estetyka-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.estetyka .eyebrow { color: rgba(255,255,255,0.92); }
.estetyka .eyebrow::before { background: rgba(255,255,255,0.55); }
.estetyka h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: #fff; }
.estetyka p { margin-top: 1rem; color: rgba(255,255,255,0.85); }
.estetyka .btn { margin-top: 1.8rem; background: #fff; color: var(--blue-deep); }
.estetyka .btn:hover { background: var(--gold-soft); color: var(--ink); }
.est-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.2rem; }
.est-list li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.98rem; color: #fff; }
.est-list svg { width: 22px; height: 22px; color: #fff; flex: none; }
.est-gallery { position: relative; z-index: 1; margin-top: clamp(1.8rem, 4vw, 2.6rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.8vw, 1.3rem); }
.est-shot { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.4); }
.est-shot img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; filter: saturate(0.72) contrast(1.03) brightness(1.03); transition: transform 1s ease; }
.est-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(31,108,158,0.34), rgba(46,139,200,0.12)); mix-blend-mode: multiply; pointer-events: none; }
.est-shot:hover img { transform: scale(1.05); }

/* O gabinecie */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 1.1s ease; }
.about-media .frame:hover img { transform: scale(1.05); }
.about-body .lead-name { font-family: var(--serif); color: var(--blue-deep); font-size: 1.25rem; margin-bottom: 0.3rem; }
.about-body h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); }
.about-body p { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.04rem; }
.about-points { margin-top: 1.7rem; display: grid; gap: 0.85rem; }
.about-points li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--ink); font-size: 0.98rem; }
.about-points .chk { width: 24px; height: 24px; border-radius: 50%; background: var(--blue-tint); display: grid; place-items: center; flex: none; margin-top: 1px; }
.about-points .chk svg { width: 14px; height: 14px; color: var(--blue-deep); }

/* Proces */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.6rem; transition: transform .35s ease, box-shadow .35s ease; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.step .num { font-family: var(--serif); font-size: 2.6rem; color: var(--blue-soft); line-height: 1; }
.step h3 { font-size: 1.35rem; color: var(--ink); margin-top: 0.6rem; }
.step p { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.95rem; }

/* Cennik */
.cennik { max-width: 52rem; margin-inline: auto; }
.price-row { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0.4rem; border-bottom: 1px solid var(--line); border-radius: 8px; transition: background .3s ease; }
.price-row:hover { background: var(--blue-tint); }
.price-row:first-child { border-top: 1px solid var(--line); }
.price-row .name { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 1rem; }
.price-row .price { font-weight: 700; color: var(--blue-deep); white-space: nowrap; }
.cennik-note { text-align: center; color: var(--ink-3); font-size: 0.85rem; margin-top: 1.5rem; }
.cennik-cta { display: flex; justify-content: center; margin-top: 1.8rem; }

/* Opinie */
.reviews-head { text-align: center; margin-bottom: clamp(2.5rem,5vw,3.5rem); }
.reviews-score { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--ink-2); margin-top: 0.4rem; }
.reviews-score .stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; }
.reviews-score strong { color: var(--ink); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: 1.05rem; transition: transform .35s ease, box-shadow .35s ease; }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.review .stars { color: var(--star); letter-spacing: 2px; }
.review p { color: var(--ink); font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; }
.review .author { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; font-family: var(--serif); }
.review .who .n { font-size: 0.92rem; color: var(--ink); font-weight: 700; }
.review .who .s { font-size: 0.72rem; color: var(--ink-3); }

/* FAQ */
.faq-list { max-width: 48rem; margin-inline: auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.8rem; overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease; }
.faq-item.open { border-color: var(--line-blue); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.4rem; text-align: left; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.faq-icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--blue); transition: transform .35s ease; }
.faq-icon::before { width: 13px; height: 2px; } .faq-icon::after { width: 2px; height: 13px; }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { overflow: hidden; }
.js .faq-a { max-height: 0; transition: max-height .4s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--ink-2); }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.kontakt-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.6rem); }
.kontakt-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--ink); }
.kontakt-card > p { margin-top: 0.8rem; color: var(--ink-2); }
.kontakt-list { margin-top: 1.7rem; display: grid; gap: 1rem; }
.kontakt-list .row { display: flex; align-items: flex-start; gap: 0.85rem; }
.kontakt-list .row .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-tint); display: grid; place-items: center; flex: none; transition: background .3s ease; }
.kontakt-list .row .ic svg { width: 20px; height: 20px; color: var(--blue-deep); transition: color .3s ease; }
.kontakt-list .row > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.kontakt-list a.row:hover .ic { background: var(--blue-deep); }
.kontakt-list a.row:hover .ic svg { color: #fff; }
.kontakt-list .k { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.kontakt-list .v { color: var(--ink); font-size: 1.02rem; font-weight: 500; }
.kontakt-card .btn { margin-top: 1.7rem; }
.kontakt-side { display: grid; gap: 1.2rem; }
.kontakt-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.kontakt-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1s ease; }
.kontakt-photo:hover img { transform: scale(1.05); }
.kontakt-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.kontakt-map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(3rem, 5vw, 4rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--blue-soft); }
.footer-brand p { margin-top: 1rem; color: rgba(255,255,255,0.7); max-width: 24rem; font-size: 0.95rem; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a, .footer-col li { color: rgba(255,255,255,0.72); font-size: 0.95rem; transition: color .25s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: clamp(2.5rem,5vw,3.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.footer-bottom .disc { max-width: 34rem; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 55; display: none; grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 0.7rem; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(120%); transition: transform .4s ease; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { padding: 0.8rem; font-size: 0.85rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,.7,.3,1), transform .9s cubic-bezier(.16,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; } .reveal-d2 { transition-delay: .18s; } .reveal-d3 { transition-delay: .27s; }

/* Responsive */
@media (max-width: 1024px) {
  .atuty { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links:not(.mobile), .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile { display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch; background: rgba(247,251,253,0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .4s ease; }
  .nav.open .nav-links.mobile { max-height: 85vh; }
  .nav-links.mobile a { padding: 1.05rem var(--gutter); border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
  .nav-links.mobile a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 24rem; margin-inline: auto; }
  .oferta-grid { grid-template-columns: 1fr; }
  .estetyka-inner { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 22rem; }
  .about-media img { aspect-ratio: 4/3; }
  .steps { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: grid; }
  body { padding-bottom: 68px; }
}
@media (max-width: 560px) {
  .atuty { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .service-media img { min-height: 200px; aspect-ratio: 16/10; }
  .est-list { grid-template-columns: 1fr; }
  .est-gallery { grid-template-columns: 1fr 1fr; }
  .est-shot:nth-child(3) { grid-column: 1 / -1; }
  .est-shot:nth-child(3) img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; } .hero-cta .btn { width: 100%; }
  .hero-media .float { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
