/* =========================================================
   Zębowa Wróżka — v3
   Font: Montserrat (only)
   Palette: white + pastel magenta/pink accent — minimal gray, warm neutrals
   ========================================================= */

:root{
  /* neutrals — warm, not cold gray */
  --bg:            #fffbfd;
  --bg-card:       #ffffff;
  --bg-soft:       #fdedf4;
  --bg-deep:       #2b1220;
  --bg-deep-2:     #3a1a2c;
  --ink:           #2a1420;
  --ink-soft:      #7c5c68;
  --ink-faint:     #b092a0;
  --line:          #f6d9e6;
  --line-on-dark:  rgba(255,255,255,.12);
  --white:         #ffffff;

  /* accent — pastel magenta */
  --accent:        #ef5da3;
  --accent-2:      #ff8ec4;
  --accent-deep:   #c93d82;
  --accent-glow:   #ff9fd0;
  --accent-pale:   #ffe3f0;

  --radius-sm: 10px;
  --radius:    20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-card: 0 10px 30px -12px rgba(180,30,110,.16);
  --shadow-card-hover: 0 20px 44px -14px rgba(180,30,110,.26);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4,h5,h6,p{ margin:0; }
section{ position:relative; overflow-x: hidden; }

.container{ width:min(1180px, 100% - 3rem); margin-inline:auto; }
.container-wide{ width:min(1400px, 100% - 2.4rem); margin-inline:auto; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- reveal-on-scroll (subtle 3D entrance) ---------- */
.reveal{
  opacity:0; transform: perspective(1000px) translateY(30px) rotateX(7deg);
  transform-origin: center bottom;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity:1; transform: perspective(1000px) translateY(0) rotateX(0deg); }

/* ---------- mouse-tilt depth on cards ---------- */
.tilt{ transition: transform .25s ease-out, box-shadow .35s var(--ease); will-change: transform; }

.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.72rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color: var(--accent-deep);
}
.eyebrow::before{ content:""; width:22px; height:2px; background: var(--accent); border-radius:2px; }
.eyebrow.on-dark{ color: var(--accent-glow); }

h2.section-title{
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);
  font-weight:800; letter-spacing:-0.01em; line-height:1.12; margin-top:.5rem;
}
/* headings that should sit on one line on wider screens, but wrap safely on phones */
@media (min-width: 640px){
  h2.oneline-title{ white-space:nowrap; font-size:clamp(1.4rem, 1rem + 1.8vw, 2.4rem); }
}
.section-lede{ color: var(--ink-soft); font-size:1.02rem; line-height:1.7; max-width:56ch; }

/* ---------- decorative sparkles + floating blobs (signature "alive" motif) ---------- */
.sparkle{ position:absolute; width:20px; height:20px; pointer-events:none; color: var(--accent); opacity:.8; animation: sparkle-pulse 3.2s ease-in-out infinite; z-index:2; }
.sparkle svg{ width:100%; height:100%; fill:currentColor; }
.sparkle.sm{ width:12px; height:12px; }
.sparkle.lg{ width:28px; height:28px; }
.sparkle.d2{ animation-delay: .9s; }
.sparkle.d3{ animation-delay: 1.7s; }
@keyframes sparkle-pulse{ 0%,100%{ transform: scale(.8) rotate(0deg); opacity:.45; } 50%{ transform: scale(1.15) rotate(14deg); opacity:1; } }

.blob{ position:absolute; border-radius:50%; filter: blur(60px); pointer-events:none; z-index:0; animation: blob-float 9s ease-in-out infinite; }
@keyframes blob-float{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(18px,-22px) scale(1.08); } }

.bob{ animation: bob 4.5s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

.ring-deco{ position:absolute; border-radius:50%; border: 1.5px dashed var(--accent-glow); opacity:.6; animation: spin 34s linear infinite; pointer-events:none; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* =========================================================
   BUTTONS — pill CTAs, signature magenta neon glow on hover
   ========================================================= */
.btn{
  --btn-glow: var(--accent-glow);
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  padding: .95rem 1.9rem; border-radius: var(--radius-pill);
  font-family:"Montserrat", sans-serif; font-weight:700; font-size:.86rem; letter-spacing:.02em; white-space:nowrap;
  border:1.5px solid transparent; cursor:pointer;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:focus-visible{ outline:none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--btn-glow); }

.btn-primary{ background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4.5px var(--btn-glow), 0 8px 24px -6px rgba(239,93,163,.55);
}

.btn-outline{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover, .btn-outline:focus-visible{
  border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4.5px var(--btn-glow), 0 8px 20px -8px rgba(239,93,163,.4);
}

.btn-on-dark{ background: transparent; color: var(--white); border-color: var(--line-on-dark); }
.btn-on-dark:hover, .btn-on-dark:focus-visible{
  border-color: var(--accent-glow); color: var(--white); transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--bg-deep), 0 0 0 4.5px var(--btn-glow), 0 8px 26px -6px rgba(255,159,208,.5);
}

.btn-rose{ background: var(--accent); color:#fff; border-color: var(--accent); }
.btn-rose:hover, .btn-rose:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4.5px var(--btn-glow), 0 8px 24px -8px rgba(239,93,163,.6);
}

.btn-sm{ padding:.7rem 1.4rem; font-size:.78rem; }
.btn-lg{ padding:1.15rem 2.3rem; font-size:1rem; }

/* =========================================================
   HEADER + COMPACT DROPDOWN NAV
   ========================================================= */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index:200;
  background: rgba(255,251,253,.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.site-header.on-dark-hero{ background: rgba(30,14,24,.35); border-color: rgba(255,255,255,.14); }
.site-header.on-dark-hero .brand-text{ color: rgba(255,255,255,.75); }
.site-header.on-dark-hero .brand-text strong{ color:#fff; }
.site-header.on-dark-hero .main-nav a{ color: rgba(255,255,255,.85); }
.site-header.on-dark-hero .burger{ border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.site-header.on-dark-hero .burger span, .site-header.on-dark-hero .burger span::before, .site-header.on-dark-hero .burger span::after{ background:#fff; }

.header-inner{
  width:min(1260px, 100% - 2.4rem); margin-inline:auto;
  display:flex; align-items:center; gap:1.4rem; padding:10px 0;
}
.brand{ display:flex; align-items:center; gap:.8rem; flex-shrink:0; }
.brand img{ width:88px; height:auto; transition: width .35s var(--ease); }
.brand-text{ font-size:.72rem; line-height:1.25; font-weight:600; color: var(--ink-soft); max-width:190px; transition: color .3s var(--ease); }
.brand-text strong{ display:block; font-family:"Pacifico", cursive; font-weight:400; font-size:1.3rem; line-height:1; color: var(--ink); transition: color .3s var(--ease); }

.site-header.scrolled .brand img{ width:56px; }

.main-nav{ display:flex; align-items:center; gap:1.8rem; margin-inline:auto; }
.main-nav a{
  font-size:.98rem; font-weight:700; color: var(--ink); position:relative; padding:.3rem 0;
  transition: color .25s var(--ease);
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background: var(--accent);
  transform:scaleX(0); transform-origin:left; transition: transform .3s var(--ease); border-radius:2px;
}
.main-nav a:hover::after{ transform:scaleX(1); }
.main-nav a.nav-highlight{ color: var(--accent-deep); }

.header-actions{ display:flex; align-items:center; gap:.6rem; flex-shrink:0; }

.burger{
  display:none; width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line); background:var(--bg-card);
  align-items:center; justify-content:center; cursor:pointer; flex-shrink:0;
}
.burger span, .burger span::before, .burger span::after{
  content:""; display:block; width:16px; height:2px; background:var(--ink); border-radius:2px; position:relative; transition: all .25s var(--ease);
}
.burger span::before{ position:absolute; top:-5px; }
.burger span::after{ position:absolute; top:5px; }

@media (max-width: 780px){
  .header-inner{ flex-wrap:wrap; justify-content:space-between; position:relative; padding:8px 0; }
  .brand{ gap:.5rem; }
  .brand img{ width:42px; }
  .brand-text strong{ font-size:1.05rem; }
  .site-header.scrolled .brand img{ width:38px; }
  .header-actions{ gap:.5rem; }
  .header-actions .btn-rose.btn-sm{ padding:.55rem 1rem; font-size:.72rem; }
  .main-nav{
    order:5; width:100%;
    max-height:0; opacity:0; overflow:hidden;
    flex-direction:column; align-items:flex-start; gap:0;
    transition: max-height .4s var(--ease), opacity .3s var(--ease), margin .4s var(--ease);
    margin-top:0;
  }
  .main-nav.open{ max-height:280px; opacity:1; margin-top:.6rem; padding-bottom:.8rem; border-top:1px solid var(--line); }
  .main-nav a{ padding:.65rem 0; width:100%; }
  .header-actions .btn-outline{ display:none; }
  .burger{ display:flex; width:40px; height:40px; }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero{
  position:relative; height:100vh; min-height:560px; max-height:980px;
  overflow:hidden; color:#fff;
}
.hero-slider{ position:absolute; inset:0; }
.hero-slide{
  position:absolute; inset:0; opacity:0; transition: opacity 1.4s ease;
  filter: grayscale(1) contrast(1.05); overflow:hidden;
}
.hero-slide.active{ opacity:1; }
.hero-slide img{ width:100%; height:100%; object-fit:cover; transform-origin:center center; transform: scale(1.02); }
.hero-slide.active img{ animation: heroKenBurns 7s ease-out forwards; }
@keyframes heroKenBurns{
  from{ transform: scale(1.02); }
  to{ transform: scale(1.13); }
}
.hero-slide::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(43,18,32,.4) 0%, rgba(43,18,32,.3) 45%, rgba(43,18,32,.82) 100%);
}
@media (max-width: 720px){
  /* the portrait mobile crop is much tighter, so keep the zoom gentle and frame each photo individually */
  .hero-slide:nth-child(1) img{ object-position: 55% center; }
  .hero-slide:nth-child(2) img{ object-position: center center; }
  .hero-slide:nth-child(3) img{ object-position: 68% center; }
  @keyframes heroKenBurns{
    from{ transform: scale(1.02); }
    to{ transform: scale(1.05); }
  }
}
.hero-dots{
  position:absolute; right: clamp(1.2rem, 4vw, 3.4rem); top:50%; transform:translateY(-50%);
  z-index:5; display:flex; flex-direction:column; gap:.9rem;
}
.hero-dots button{
  width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,.4); border:0; cursor:pointer;
  transition: all .35s var(--ease);
}
.hero-dots button.active{ background:#fff; height:28px; border-radius:6px; box-shadow: 0 0 0 3px var(--accent-glow); }

.hero-content{
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  width:min(1260px, 100% - 2.4rem); margin-inline:auto;
  padding-bottom: clamp(3rem, 6vw, 6rem);
}
.hero-eyebrow{ color: var(--accent-glow); }
.hero-title{
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.4rem); font-weight:800; line-height:1.04; letter-spacing:-0.03em;
  margin: .6rem 0 1.3rem; max-width:14ch; position:relative;
}
.hero-title em{ font-style:normal; color: var(--accent-glow); }
.hero-row{ display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; flex-wrap:wrap; }
.hero-text{ color: rgba(255,255,255,.8); font-size:1.05rem; line-height:1.75; max-width:44ch; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:.9rem; margin-top:1.6rem; }
@media (max-width: 720px){
  .hero{ height: 92vh; }
  .hero-row{ flex-direction:column; align-items:flex-start; }
}

/* =========================================================
   GENERIC SECTION SPACING
   ========================================================= */
.section{ padding: 5.4rem 0; }
.section.tight{ padding: 3.6rem 0; }
@media (max-width: 640px){
  .section{ padding: 3.2rem 0; }
  .section.tight{ padding: 2.4rem 0; }
}
.section.on-soft{ background: var(--bg-soft); }
.section.on-dark{ background: linear-gradient(155deg, var(--bg-deep), var(--bg-deep-2)); color:var(--white); }
.section.on-dark .section-lede{ color: rgba(255,255,255,.66); }
.section.on-white{ background: var(--bg-card); }

/* =========================================================
   BENTO INTRO (O nas + doktor + statystyki, jedna siatka)
   ========================================================= */
.bento{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(90px, auto);
  gap: 1.1rem;
}
.bento-card{
  background: var(--bg-card); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-card); position:relative; overflow:hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bento-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.bento-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.bento-card .overlay-text{ position:relative; z-index:1; }

.bento-about{ grid-column: 1 / span 4; grid-row: 1 / span 2; display:flex; flex-direction:column; justify-content:center; }
.bento-photo{ grid-column: 5 / span 2; grid-row: 1 / span 3; padding:0; }
.bento-photo .cap{
  position:absolute; left:0; right:0; bottom:0; z-index:1; padding:1.4rem 1.5rem;
  background: linear-gradient(0deg, rgba(43,18,32,.85), transparent);
  color:#fff;
}
.bento-photo .cap b{ display:block; font-size:1rem; font-weight:800; }
.bento-photo .cap span{ font-size:.76rem; color: rgba(255,255,255,.75); }

.bento-stat{ grid-column: span 2; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; background: var(--ink); color:#fff; border-color: var(--ink); }
.bento-stat b{ font-size:2.1rem; font-weight:800; color: var(--accent-glow); line-height:1; }
.bento-stat span{ font-size:.78rem; color: rgba(255,255,255,.7); font-weight:600; margin-top:.4rem; }
.bento-stat.rose{ background: var(--accent); color:#fff; border-color: var(--accent); }
.bento-stat.rose b{ color:#fff; }
.bento-stat.rose span{ color: rgba(255,255,255,.85); }

@media (max-width: 980px){
  .bento{ grid-template-columns: repeat(2,1fr); }
  .bento-about{ grid-column: 1 / -1; grid-row:auto; }
  .bento-photo{ grid-column: 1 / -1; grid-row:auto; aspect-ratio: 16/10; }
  .bento-stat{ grid-column: span 1; }
}

/* =========================================================
   HORIZONTAL SNAP CARDS (dlaczego warto)
   ========================================================= */
.snap-row{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:1.2rem; padding: .6rem .1rem 1.2rem;
}
@media (max-width: 980px){ .snap-row{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .snap-row{ grid-template-columns: 1fr; } }
.snap-card{
  background: var(--bg-card); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.snap-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--accent); }
.snap-card .n{ font-size:.75rem; font-weight:800; color: var(--accent-deep); letter-spacing:.1em; }
.snap-card h4{ font-size:1.1rem; font-weight:800; margin:.8rem 0 .6rem; }
.snap-card p{ font-size:.9rem; color: var(--ink-soft); line-height:1.65; }
.snap-hint{ display:flex; align-items:center; gap:.5rem; color: var(--ink-faint); font-size:.78rem; font-weight:600; margin-top:.2rem; }
.snap-hint svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; }

/* =========================================================
   SERVICES — FLIP CARDS (hover reveals detail)
   ========================================================= */
.flip-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:1.1rem; }
.flip-grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
.flip-card{ perspective: 1400px; height:210px; }
.flip-inner{
  position:relative; width:100%; height:100%; transition: transform .6s var(--ease);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner, .flip-card:focus-within .flip-inner{ transform: rotateY(180deg); }
.flip-face{
  position:absolute; inset:0; backface-visibility:hidden; border-radius: var(--radius);
  padding:1.6rem; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  overflow:hidden;
}
.flip-front{
  background: rgba(255,255,255,.06); border:1px solid var(--line-on-dark);
  gap:.6rem;
}
.flip-front .idx{ font-family:"Playfair Display", serif; font-style:italic; font-weight:700; font-size:2.6rem; color: var(--accent-glow); line-height:1; }
.flip-front h4{ font-size:1.05rem; font-weight:800; }
.flip-back{
  background: linear-gradient(155deg, var(--accent), var(--accent-deep)); color:#fff;
  transform: rotateY(180deg);
}
.flip-back p{ font-size:.88rem; line-height:1.6; }
.flip-back .idx{ font-family:"Playfair Display", serif; font-style:italic; font-weight:700; font-size:1.6rem; opacity:.85; letter-spacing:.02em; margin-bottom:.5rem; color:#fff; }

@media (max-width: 980px){ .flip-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){
  .flip-grid{ grid-template-columns: 1fr; }
  .flip-card{ height:230px; }
  .flip-face{ padding:1.3rem; }
  .flip-front .idx{ font-size:2.2rem; }
  .flip-back p{ font-size:.84rem; line-height:1.55; }
  .flip-card.flipped .flip-inner{ transform: rotateY(180deg); }
}

.services-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; flex-wrap:wrap; margin-bottom:2.6rem; }
.services-lede{ text-align:right; margin-left:auto; }
@media (max-width: 640px){ .services-lede{ text-align:left; margin-left:0; } }

/* =========================================================
   INVISALIGN — diagonal banner
   ========================================================= */
.diagonal{
  position:relative; overflow:hidden; border-radius: var(--radius-lg);
  display:grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); color:#fff; min-height:420px;
  box-shadow: var(--shadow-card);
}
.diagonal-copy{ padding: 3rem clamp(1.6rem,4vw,3.4rem); display:flex; flex-direction:column; justify-content:center; position:relative; z-index:2; }
.diagonal-copy h3{ font-size: clamp(1.7rem,1.2rem + 1.6vw, 2.3rem); font-weight:800; line-height:1.15; margin:.8rem 0 1rem; letter-spacing:-.01em; }
.diagonal-copy p{ color: rgba(255,255,255,.75); line-height:1.75; max-width:46ch; margin-bottom:1.6rem; }
.diagonal-tags{ display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1.8rem; }
.diagonal-tags span{ font-size:.74rem; font-weight:700; padding:.4rem .85rem; border-radius:var(--radius-pill); background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); }
.diagonal-media{
  position:relative;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
}
.diagonal-media img{ width:100%; height:100%; object-fit:cover; min-height:280px; }
.diagonal-media::after{ content:""; position:absolute; inset:0; background: linear-gradient(100deg, rgba(239,93,163,.35), transparent 55%); }
@media (max-width: 860px){
  .diagonal{ grid-template-columns:1fr; }
  .diagonal-media{ clip-path:none; order:-1; min-height:220px; }
}

/* =========================================================
   KID SECTION — offset frame
   ========================================================= */
.offset-block{ display:grid; grid-template-columns: .85fr 1.15fr; gap: 0; align-items:center; }
.offset-media{ position:relative; }
.offset-media .frame{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-card); aspect-ratio: 1/1; }
.offset-media .frame img{ width:100%; height:100%; object-fit:cover; }
.offset-media .tag{
  position:absolute; top:-1.1rem; left:-1.1rem; background: var(--accent); color:#fff;
  padding: 1rem 1.3rem; border-radius: var(--radius); font-weight:500; font-size:.85rem; box-shadow: var(--shadow-card);
  max-width:11rem; line-height:1.35; z-index:2;
}
.offset-copy{ background: var(--bg-card); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 2.6rem; margin-left:-2.4rem; box-shadow: var(--shadow-card); position:relative; z-index:1; }
.kid-points{ display:flex; flex-direction:column; gap:.9rem; margin-top:1.6rem; }
.kid-point{ display:flex; gap:.7rem; align-items:flex-start; }
.kid-point svg{ width:20px; height:20px; flex-shrink:0; stroke: var(--accent); fill:none; stroke-width:2.2; margin-top:.15rem; }
.kid-point span{ font-size:.9rem; color: var(--ink-soft); line-height:1.55; }
@media (max-width: 860px){
  .offset-block{ grid-template-columns:1fr; }
  .offset-copy{ margin-left:0; margin-top:2.4rem; }
  .offset-media .tag{ left:1rem; }
}

/* =========================================================
   CENNIK — magenta gradient card
   ========================================================= */
.pricing-card{
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color:#fff; border-radius: var(--radius-lg);
  padding: 3rem; display:flex; align-items:center; justify-content:space-between; gap:2.4rem; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.pricing-card::before{
  content:""; position:absolute; width:360px; height:360px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,.45), transparent 70%); opacity:.4;
  top:-160px; right:-100px; filter:blur(6px);
}
.pricing-copy{ max-width:56ch; position:relative; z-index:1; }
.pricing-copy .eyebrow{ color: rgba(255,255,255,.9); }
.pricing-copy .eyebrow::before{ background:#fff; }
.pricing-copy h3{ font-size:1.7rem; font-weight:800; margin-bottom:.7rem; }
.pricing-copy p{ color: rgba(255,255,255,.88); line-height:1.7; }
@media (max-width: 700px){
  .pricing-card{ flex-direction:column; align-items:center; text-align:center; padding:2.4rem 1.8rem; }
  .pricing-cta{ width:100%; display:flex; justify-content:center; }
  .pricing-cta .btn{ font-size:.94rem; padding:1.05rem 2.1rem; }
}
.pricing-cta{ position:relative; z-index:1; flex-shrink:0; }
.pricing-cta .btn-primary{ background:#fff; color: var(--accent-deep); border-color:#fff; }
.pricing-cta .btn-primary:hover{ box-shadow: 0 0 0 2px var(--accent), 0 0 0 4.5px #fff, 0 8px 24px -8px rgba(0,0,0,.35); }
.pricing-disclaimer{ margin-top:1.4rem; font-size:.78rem; color: var(--ink-faint); text-align:center; line-height:1.6; }

/* =========================================================
   TESTIMONIALS — horizontal deck
   ========================================================= */
.testi-wrap{ display:grid; grid-template-columns: .8fr 1.2fr; gap:1.4rem; align-items:stretch; }
.testi-media{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-card); min-height:220px; }
.testi-media img{ width:100%; height:100%; object-fit:cover; }
.testi-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:1.1rem; }
.testi-card{
  background: var(--bg-card); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; font-size:.92rem; line-height:1.65; color: var(--ink-soft); position:relative;
}
.testi-card::before{ content:"\201C"; font-family: Georgia, serif; font-size:2.8rem; color: var(--accent); opacity:.65; line-height:1; display:block; margin-bottom:.2rem; }
@media (max-width: 900px){
  .testi-wrap{ grid-template-columns:1fr; }
  .testi-media{ max-width:320px; margin-inline:auto; aspect-ratio:1/1; }
}
@media (max-width: 640px){ .testi-grid{ grid-template-columns:1fr; } }

/* =========================================================
   GALLERY — masonry
   ========================================================= */
.masonry{ columns: 3 220px; column-gap: 1rem; }
.masonry .m-item{ break-inside: avoid; margin-bottom:1rem; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-card); }
.masonry .m-item img{ width:100%; display:block; transition: transform .5s var(--ease); }
.masonry .m-item:hover img{ transform: scale(1.05); }
.masonry .m-item-empty{
  aspect-ratio: 4/3; display:flex; align-items:center; justify-content:center; text-align:center;
  background: var(--bg-soft); border: 1.5px dashed var(--line); box-shadow:none;
  color: var(--ink-faint); font-size:.8rem; font-weight:600; padding:1rem;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-wrap{ display:grid; grid-template-columns: .82fr 1.18fr; gap:1.4rem; align-items:stretch; }
.contact-card{
  background: var(--ink); color:#fff; border-radius: var(--radius-lg);
  padding: 2.4rem; box-shadow: var(--shadow-card); display:flex; flex-direction:column; justify-content:center; gap:1.5rem;
}
.contact-row{ display:flex; gap:1rem; align-items:flex-start; }
.contact-row > div{ min-width:0; }
.contact-row .ic{ width:42px; height:42px; border-radius:11px; flex-shrink:0; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.contact-row .ic svg{ width:20px; height:20px; stroke: var(--accent-glow); fill:none; stroke-width:1.8; }
.contact-row .ic-link{ cursor:pointer; transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.contact-row .ic-link svg{ fill: var(--accent-glow); stroke:none; }
.contact-row .ic-link:hover{ background: var(--accent); transform: translateY(-2px); box-shadow: 0 0 0 3px var(--accent-glow); }
.contact-row h5{ font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: rgba(255,255,255,.5); margin-bottom:.25rem; }
.contact-row p, .contact-row a{ font-size:.95rem; font-weight:600; color: #fff; line-height:1.5; overflow-wrap:anywhere; word-break:break-word; }
.contact-row a:hover{ color: var(--accent-glow); }
.contact-btn-row{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:.3rem; }
@media (max-width: 480px){
  .contact-row{ gap:.65rem; }
  .contact-row .ic{ width:34px; height:34px; }
  .contact-row .ic svg{ width:17px; height:17px; }
  .contact-row p, .contact-row a{ font-size:.85rem; }
}

.map-card{ border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-card); min-height:340px; }
.map-card iframe{ width:100%; height:100%; min-height:340px; border:0; }
@media (max-width: 900px){ .contact-wrap{ grid-template-columns:1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--bg-deep); color: rgba(255,255,255,.7); padding: 2.4rem 0; text-align:center; font-size:.84rem; }
.site-footer a{ color: rgba(255,255,255,.85); font-weight:600; }
.site-footer a:hover{ color: var(--accent-glow); }
.footer-break{ display:none; }
@media (max-width: 640px){ .footer-break{ display:block; } }
.footer-links{ margin-top:.5rem; display:flex; justify-content:center; gap:1.4rem; flex-wrap:wrap; }

.back-to-top{
  position:fixed; right:1.4rem; bottom:1.4rem; width:50px; height:50px; border-radius:50%;
  background: var(--ink); color:#fff; display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.15); cursor:pointer; z-index:90;
  opacity:0; transform: translateY(12px); pointer-events:none; transition: all .35s var(--ease);
}
.back-to-top.show{ opacity:1; transform:none; pointer-events:all; }
.back-to-top:hover{ box-shadow: 0 0 0 2px var(--bg), 0 0 0 4.5px var(--accent-glow); }
.back-to-top svg{ width:18px; height:18px; stroke:#fff; fill:none; stroke-width:2.2; }

/* =========================================================
   PAGE HEADER (invisalign / privacy inner pages)
   ========================================================= */
.page-hero{ padding: 8.6rem 0 3rem; text-align:center; }
.page-hero .eyebrow{ justify-content:center; }
.page-hero h1{ font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight:800; margin-top:.7rem; letter-spacing:-0.02em; }
.page-hero p{ color: var(--ink-soft); max-width:60ch; margin:1rem auto 0; line-height:1.7; }

.legal{ line-height:1.85; color: var(--ink-soft); font-size:.96rem; }
.legal h2{ font-size:1.05rem; font-weight:800; color: var(--ink); margin:2rem 0 .7rem; }
.legal p{ margin-bottom:.9rem; }
.legal strong{ color: var(--ink); }

/* generic split used on invisalign page */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 3.4rem; align-items:center; }
.split.reverse .split-media{ order:2; }
.split-media img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width:100%; aspect-ratio: 4/3; object-fit:cover; }
@media (max-width: 900px){ .split{ grid-template-columns:1fr; gap:2rem; } .split.reverse .split-media{ order:0; } }
@media (min-width: 901px){
  .split.align-stretch{ align-items:stretch; }
  .split.align-stretch .split-copy{ display:flex; flex-direction:column; justify-content:center; }
  .split.align-stretch .split-media img{ height:100%; aspect-ratio:auto; }
}

/* ---------- doctor spotlight card ---------- */
.doctor-card{
  display:grid; grid-template-columns: .78fr 1.22fr; gap:2.8rem; align-items:center;
  background: var(--bg-card); border:1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 2.6rem;
}
.doctor-card-media{ position:relative; }
.doctor-card-media img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.doctor-card-badge{
  position:absolute; left:-1rem; bottom:-1rem; background: var(--accent); color:#fff;
  padding:.9rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow-card); text-align:center; line-height:1.2;
}
.doctor-card-badge b{ display:block; font-size:1.4rem; font-weight:800; }
.doctor-card-badge span{ font-size:.66rem; font-weight:600; opacity:.9; white-space:nowrap; }
.doctor-quote{ margin-top:1.3rem; font-family: inherit; font-style:normal; font-weight:600; font-size:1.05rem; color: var(--accent-deep); line-height:1.65; }
.cred-chips{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.5rem; }
.cred-chips span{ font-size:.74rem; font-weight:700; padding:.45rem .9rem; border-radius: var(--radius-pill); background: var(--accent-pale); color: var(--accent-deep); }
@media (max-width: 900px){
  .doctor-card{ grid-template-columns:1fr; padding:1.8rem; }
  .doctor-card-badge{ left:1rem; }
}

.feature-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:1.3rem; margin-top:2.6rem; }
.feature-card{ background: var(--bg-card); border:1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--accent); }
.feature-icon{ width:44px; height:44px; border-radius:12px; margin-bottom:1rem; background: linear-gradient(155deg, var(--accent), var(--accent-deep)); display:flex; align-items:center; justify-content:center; }
.feature-icon svg{ width:22px; height:22px; stroke:#fff; fill:none; stroke-width:1.8; }
.feature-card h4{ font-size:1.02rem; font-weight:800; margin-bottom:.55rem; }
.feature-card p{ font-size:.9rem; color: var(--ink-soft); line-height:1.65; }
@media (max-width: 980px){ .feature-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 560px){ .feature-grid{ grid-template-columns:1fr; } }

/* =========================================================
   PRICING LIST (cennik page)
   ========================================================= */
.price-nav{ display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem; margin-bottom:3rem; }
.price-nav a{
  font-size:.8rem; font-weight:700; padding:.55rem 1.1rem; border-radius: var(--radius-pill);
  background: var(--bg-soft); color: var(--accent-deep); border:1px solid var(--line);
  transition: all .3s var(--ease);
}
.price-nav a:hover{ background: var(--accent); color:#fff; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

.price-cat{ padding: 2.4rem 0; border-top:1px solid var(--line); scroll-margin-top: 6rem; }
.price-cat:first-of-type{ border-top:none; padding-top:0; }
.price-cat h3{ font-size:1.5rem; font-weight:800; letter-spacing:-.01em; margin-bottom:1.4rem; }
.price-cat h3::before{ content:""; display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--accent); margin-right:.7rem; vertical-align:middle; }
.price-cat h4{ font-size:.95rem; font-weight:800; color: var(--accent-deep); margin: 1.8rem 0 .8rem; text-transform:uppercase; letter-spacing:.04em; }
.tag-mini{ display:inline-block; font-size:.62rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background: var(--accent-pale); color: var(--accent-deep); padding:.25rem .55rem; border-radius: var(--radius-pill); margin-left:.5rem; vertical-align:middle; }

.price-list{ display:grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; }
.price-row{
  display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  padding: .65rem 0; border-bottom: 1px dashed var(--line);
}
.price-row .name{ font-size:.92rem; color: var(--ink); font-weight:500; }
.price-row .price{ font-size:.92rem; font-weight:800; color: var(--accent-deep); white-space:nowrap; }
.price-row .price.note{ font-weight:700; font-style:italic; color: var(--ink-soft); font-size:.82rem; }
.price-note-text{ font-size:.86rem; color: var(--ink-soft); line-height:1.7; margin-top:1rem; }
.price-note-text a{ color: var(--accent-deep); font-weight:700; }
@media (max-width: 720px){ .price-list{ grid-template-columns:1fr; } }

.provider-badge{
  display:flex; align-items:center; justify-content:center; gap:1.6rem; flex-wrap:wrap; text-align:left;
}
.provider-badge img{ height:38px; width:auto; }
.provider-badge p{ font-size:.9rem; font-weight:600; color: var(--ink-soft); max-width:32ch; }
@media (max-width: 560px){ .provider-badge{ flex-direction:column; text-align:center; gap:.9rem; } }

/* =========================================================
   VACATION NOTICE POPUP
   ========================================================= */
.vac-overlay{
  position: fixed; inset:0; z-index:500;
  background: rgba(30,14,24,.55); backdrop-filter: blur(3px);
  display:flex; align-items:center; justify-content:center; padding:1.2rem;
  opacity:0; pointer-events:none; transition: opacity .35s var(--ease);
}
.vac-overlay.show{ opacity:1; pointer-events:all; }
.vac-modal{
  background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card-hover);
  max-width:460px; width:100%; padding: 2.2rem 2rem 2rem; position:relative;
  transform: translateY(18px) scale(.98); transition: transform .35s var(--ease);
}
.vac-overlay.show .vac-modal{ transform:none; }
.vac-close{
  position:absolute; top:1rem; right:1rem; width:34px; height:34px; border-radius:50%;
  border:1px solid var(--line); background:transparent; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.vac-close:hover{ border-color: var(--accent); color: var(--accent-deep); box-shadow: 0 0 0 3px var(--accent-glow); }
.vac-close svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; }
.vac-icon{
  width:52px; height:52px; border-radius:14px; margin-bottom:1.1rem;
  background: linear-gradient(155deg, var(--accent), var(--accent-deep));
  display:flex; align-items:center; justify-content:center;
}
.vac-icon svg{ width:26px; height:26px; stroke:#fff; fill:none; stroke-width:1.8; }
.vac-modal h3{ font-size:1.25rem; font-weight:800; letter-spacing:-.01em; margin-bottom:.7rem; }
.vac-modal p{ font-size:.92rem; color: var(--ink-soft); line-height:1.65; margin-bottom:.4rem; }
.vac-modal .vac-dates{ font-weight:700; color: var(--accent-deep); }
.vac-actions{ margin-top:1.4rem; }

/* utility */
.text-center{ text-align:center; }
.mx-auto{ margin-inline:auto; }
.mt-lg{ margin-top:3rem; }
