/*
Theme Name: IDD Centrum Stomatologii
Theme URI: https://idd.stronazen.pl/
Author: Cohubo
Description: Statyczny, responsywny motyw WordPress dla Centrum Stomatologii IDD.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: idd-centrum-stomatologii
*/

:root {
  --ink: #183c3e;
  --ink-soft: #385757;
  --paper: #f8f6f0;
  --paper-deep: #edece4;
  --sage: #d9e5dc;
  --sage-deep: #b6d0c1;
  --peach: #0aa52f;
  --line: rgba(24, 60, 62, 0.16);
  --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.site-shell { overflow: hidden; }
.container { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.topline { background: var(--ink); color: rgba(255,253,248,.74); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.topline-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topline a { color: var(--white); font-weight: 700; }
.topline-detail { flex: 1; text-align: center; }

.site-header { position: relative; z-index: 10; background: rgba(248,246,240,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-copy { display: grid; gap: 4px; line-height: 1; }
.brand-copy strong { font-size: 13px; letter-spacing: -.01em; }
.brand-copy span { color: var(--ink-soft); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 700; }
.main-nav > a:not(.nav-cta) { color: var(--ink-soft); transition: color .2s ease; }
.main-nav > a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.nav-cta { background: var(--peach); color: var(--ink); padding: 14px 18px; }
.nav-cta:hover, .button:hover { transform: translateY(-2px); }
.menu-toggle { display: none; border: 0; background: none; color: var(--ink); font-weight: 700; }
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 22px; height: 1px; background: currentColor; }
.menu-toggle i { position: relative; margin-left: 11px; }
.menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; }
.menu-toggle i::before { top: -7px; }
.menu-toggle i::after { top: 7px; }

.hero-section { padding: 76px 0 92px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(420px, .95fr); align-items: center; gap: clamp(56px, 9vw, 130px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span { width: 27px; height: 1px; background: var(--peach); }
.hero-copy h1 { max-width: 580px; margin: 28px 0 25px; font-size: clamp(50px, 6.4vw, 88px); font-weight: 500; letter-spacing: -.075em; line-height: .94; }
h1, h2, h3, p { margin-top: 0; }
h1 em, h2 em { color: #0a7f28; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { max-width: 455px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 37px; }
.button { padding: 17px 23px; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #244e50; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(24,60,62,.3); padding-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 700; }
.text-link span { font-size: 18px; font-weight: 400; line-height: 10px; }
.hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 60px; color: var(--ink-soft); font-size: 11px; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { color: var(--ink); margin-bottom: 4px; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack img, .avatar-stack > span { width: 34px; height: 34px; border: 2px solid var(--paper); border-radius: 50%; object-fit: cover; }
.avatar-stack img + img { margin-left: -10px; }
.avatar-stack > span { display: grid; place-items: center; margin-left: -10px; background: var(--peach); color: var(--ink); font-weight: 700; }
.hero-visual { position: relative; min-height: 600px; }
.hero-image-wrap { position: absolute; inset: 0 0 0 40px; overflow: hidden; border-radius: 190px 190px 20px 20px; background: var(--sage); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-shade { position: absolute; inset: 0; background: linear-gradient(160deg, transparent 54%, rgba(24,60,62,.48)); }
.hero-note { position: absolute; right: -24px; bottom: 66px; display: flex; align-items: center; gap: 12px; min-width: 180px; padding: 17px 18px; border-radius: 4px; background: var(--white); box-shadow: 0 15px 35px rgba(24,60,62,.13); font-size: 11px; line-height: 1.5; }
.hero-note strong { color: var(--ink); }
.note-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--sage); font-size: 16px; }
.hero-stamp { position: absolute; top: 33px; left: 0; display: grid; place-items: center; width: 108px; height: 108px; border: 1px solid rgba(255,253,248,.75); border-radius: 50%; color: var(--white); transform: rotate(-14deg); }
.hero-stamp span { font-family: Georgia, serif; font-size: 30px; }
.hero-stamp small { margin-top: -27px; font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }

.trust-band { background: var(--sage); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 13px; padding: 27px 18px; border-left: 1px solid rgba(24,60,62,.15); font-size: 11px; }
.trust-grid > div:last-child { border-right: 1px solid rgba(24,60,62,.15); }
.trust-number { grid-row: 1 / 3; color: #0a7f28; font-family: Georgia, serif; font-size: 18px; }
.trust-grid strong { font-size: 12px; }
.trust-grid span:last-child { color: var(--ink-soft); margin-top: 4px; }

.section { padding: 132px 0; }
.about-grid { display: grid; grid-template-columns: minmax(350px, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(65px, 10vw, 150px); }
.about-media { position: relative; min-height: 580px; }
.about-image-main { position: absolute; top: 0; left: 7%; width: 67%; height: 500px; overflow: hidden; border-radius: 8px 8px 150px 150px; background: var(--sage); }
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-small { position: absolute; right: 0; bottom: 0; width: 51%; height: 238px; overflow: hidden; border: 10px solid var(--paper); border-radius: 4px 4px 4px 86px; background: var(--sage); }
.about-image-small img { width: 100%; height: 100%; object-fit: cover; }
.vertical-label { position: absolute; left: 0; bottom: 108px; color: var(--ink-soft); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.about-copy h2, .section-heading h2, .pricing-intro h2, .booking-copy h2 { max-width: 590px; margin: 25px 0 27px; font-size: clamp(40px, 4.3vw, 62px); font-weight: 500; letter-spacing: -.065em; line-height: .98; }
.about-copy p { max-width: 540px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.about-copy .large-copy { color: var(--ink); font-size: 18px; line-height: 1.6; }
.about-list { display: grid; gap: 12px; margin: 28px 0 32px; font-size: 12px; font-weight: 700; }
.about-list span { display: flex; align-items: center; gap: 10px; }
.about-list i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sage); color: var(--ink); font-size: 11px; font-style: normal; }
.dark-link { margin-top: 2px; }

.specialties-section, .pricing-section { background: var(--paper-deep); }
.section-heading { margin-bottom: 53px; }
.split-heading { display: grid; grid-template-columns: 1.12fr .75fr; align-items: end; gap: 50px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { max-width: 350px; margin: 0 0 5px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.specialties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.specialty-card { position: relative; min-height: 275px; padding: 25px 26px; background: var(--paper-deep); transition: background .25s ease, transform .25s ease; }
.specialty-card:hover { z-index: 1; background: var(--white); transform: translateY(-5px); box-shadow: 0 16px 35px rgba(24,60,62,.08); }
.card-number { color: #0a7f28; font-family: Georgia, serif; font-size: 17px; }
.card-arrow { position: absolute; top: 24px; right: 25px; color: var(--ink-soft); font-size: 18px; }
.specialty-card h3 { max-width: 250px; margin: 80px 0 16px; font-size: 19px; letter-spacing: -.03em; }
.specialty-card p { max-width: 270px; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

.statement-section { padding: 106px 0; background: var(--ink); color: var(--white); }
.statement-inner { position: relative; max-width: 900px; text-align: center; }
.statement-mark { color: var(--peach); font-family: Georgia, serif; font-size: 80px; line-height: .5; }
.statement-inner p { margin: 20px auto 28px; font-size: clamp(29px, 4vw, 48px); letter-spacing: -.05em; line-height: 1.08; }
.statement-inner em { color: var(--peach); font-family: Georgia, serif; font-weight: 400; }
.statement-line { display: block; width: 60px; height: 1px; margin: 0 auto; background: var(--peach); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { min-width: 0; }
.team-photo { width: min(100%, 270px); height: 225px; margin: 0 auto; overflow: hidden; border-radius: 92px 92px 5px 5px; background: var(--sage); }
.team-photo img { width: 100%; height: 100%; padding: 12px; object-fit: contain; }
.team-card:nth-child(2) .team-photo, .team-card:nth-child(4) .team-photo { border-radius: 5px 5px 120px 120px; }
.team-card-copy { padding: 20px 6px 0; }
.team-card-copy h3 { margin-bottom: 7px; font-size: 17px; letter-spacing: -.03em; }
.team-card-copy span { display: block; min-height: 32px; color: #0a7f28; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.team-card-copy p { margin-top: 13px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.team-footnote { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 67px; color: var(--ink-soft); font-family: Georgia, serif; font-size: 17px; font-style: italic; }
.team-footnote span { width: 32px; height: 1px; background: var(--peach); }

.pricing-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(55px, 9vw, 125px); align-items: start; }
.pricing-intro > p:not(.eyebrow) { max-width: 390px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.button-outline { margin-top: 27px; border: 1px solid var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.pricing-panel { background: var(--white); box-shadow: 0 15px 35px rgba(24,60,62,.06); }
.price-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.price-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 17px 18px; color: var(--ink-soft); cursor: pointer; font-size: 11px; font-weight: 700; }
.price-tabs button.is-active { border-color: var(--peach); color: var(--ink); }
.price-list { padding: 28px 32px 32px; }
.price-list-heading, .price-row { display: flex; justify-content: space-between; gap: 25px; }
.price-list-heading { margin-bottom: 10px; color: #0a7f28; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.price-row { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.price-row strong { white-space: nowrap; font-size: 13px; }
.price-note { margin: 22px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }

.booking-section { padding: 118px 0; background: var(--ink); color: var(--white); }
.booking-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 100px; }
.light-eyebrow { color: rgba(255,253,248,.65); }
.booking-copy h2 { max-width: 570px; margin-bottom: 22px; }
.booking-copy h2 em { color: var(--peach); }
.booking-copy > p:not(.eyebrow) { max-width: 450px; color: rgba(255,253,248,.7); font-size: 16px; line-height: 1.7; }
.booking-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button-light { background: var(--peach); color: var(--ink); }
.booking-mail { border-bottom: 1px solid rgba(255,253,248,.5); padding-bottom: 6px; font-size: 12px; }
.znanylekarz-card { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 13px; max-width: 470px; margin-top: 34px; padding: 17px 18px; border: 1px solid rgba(255,253,248,.24); border-radius: 5px; background: rgba(255,253,248,.07); transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.znanylekarz-card:hover { border-color: rgba(10,165,47,.78); background: rgba(10,165,47,.13); transform: translateY(-2px); }
.znanylekarz-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--peach); color: var(--ink); font-size: 18px; }
.znanylekarz-copy { display: grid; gap: 4px; }
.znanylekarz-copy small { color: var(--peach); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.znanylekarz-copy strong { font-size: 13px; }
.znanylekarz-copy span { color: rgba(255,253,248,.64); font-size: 11px; }
.znanylekarz-arrow { color: var(--peach); font-size: 20px; }
.contact-card { padding: 11px 0 0; border-top: 1px solid rgba(255,253,248,.3); }
.contact-row { display: grid; grid-template-columns: 100px 1fr; gap: 25px; padding: 21px 0; border-bottom: 1px solid rgba(255,253,248,.2); }
.contact-row span { color: rgba(255,253,248,.55); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-row strong { font-size: 14px; line-height: 1.65; }
.contact-row a:hover { color: var(--peach); }
.map-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--peach); font-size: 12px; font-weight: 700; }
.map-link span { font-size: 18px; }
.map-embed { overflow: hidden; margin-top: 32px; border-radius: 5px; background: var(--paper-deep); }
.map-embed iframe { display: block; width: 100%; height: 250px; border: 0; }

.site-footer { background: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 35px; padding: 54px 0 47px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 0; color: var(--ink-soft); font-family: Georgia, serif; font-size: 18px; line-height: 1.35; }
.footer-top-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.footer-top-link span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 50%; font-size: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 18px 0 25px; color: var(--ink-soft); font-size: 10px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .container { width: min(100% - 42px, 760px); }
  .topline-detail { display: none; }
  .main-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy h1 { max-width: 650px; }
  .hero-visual { min-height: 500px; max-width: 620px; width: 100%; margin: 0 auto; }
  .about-grid, .pricing-grid, .booking-grid { grid-template-columns: 1fr; gap: 65px; }
  .about-media { max-width: 550px; width: 100%; margin: 0 auto; }
  .about-copy { max-width: 650px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 20px; }
  .team-photo { width: min(100%, 250px); height: 245px; }
  .booking-grid { gap: 60px; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-top p { grid-column: 1 / 2; }
  .footer-top-link { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 34px, 560px); }
  .topline-inner { min-height: 34px; font-size: 9px; }
  .header-inner { min-height: 75px; }
  .brand-logo { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy span { font-size: 8px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 17px 18px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 25px rgba(24,60,62,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; text-align: center; }
  .hero-section { padding: 55px 0 70px; }
  .hero-copy h1 { margin-top: 22px; font-size: clamp(47px, 16vw, 76px); }
  .hero-lead { font-size: 15px; }
  .hero-proof { margin-top: 40px; }
  .hero-visual { min-height: 410px; }
  .hero-image-wrap { inset-left: 20px; inset: 0 0 0 20px; border-radius: 130px 130px 14px 14px; }
  .hero-note { right: -4px; bottom: 35px; min-width: 160px; padding: 13px; }
  .hero-stamp { top: 22px; left: 0; width: 78px; height: 78px; }
  .hero-stamp span { font-size: 22px; }
  .hero-stamp small { margin-top: -18px; font-size: 5px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div { padding: 20px 13px; }
  .trust-grid > div:nth-child(3) { border-left: 0; }
  .section { padding: 82px 0; }
  .about-media { min-height: 420px; }
  .about-image-main { height: 360px; border-radius: 8px 8px 110px 110px; }
  .about-image-small { height: 170px; border-width: 7px; border-radius: 3px 3px 3px 60px; }
  .vertical-label { bottom: 80px; font-size: 7px; }
  .about-copy h2, .section-heading h2, .pricing-intro h2, .booking-copy h2 { font-size: 43px; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .specialties-grid { grid-template-columns: 1fr; }
  .specialty-card { min-height: 220px; }
  .specialty-card h3 { margin-top: 62px; }
  .statement-section { padding: 75px 0; }
  .statement-inner p { font-size: 34px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 29px 13px; }
  .team-photo { height: 245px; border-radius: 85px 85px 4px 4px; }
  .team-card:nth-child(2) .team-photo, .team-card:nth-child(4) .team-photo { border-radius: 4px 4px 85px 85px; }
  .team-card-copy { padding-top: 15px; }
  .team-card-copy h3 { font-size: 14px; }
  .team-card-copy span { min-height: 0; font-size: 8px; }
  .team-card-copy p { display: none; }
  .team-footnote { margin-top: 45px; font-size: 15px; text-align: center; }
  .price-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .price-tabs button { flex: 0 0 auto; padding: 15px 13px; }
  .price-list { padding: 23px 20px 25px; }
  .price-row { font-size: 12px; }
  .booking-section { padding: 83px 0; }
  .booking-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .contact-row { grid-template-columns: 80px 1fr; gap: 15px; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; padding: 40px 0; }
  .footer-top p { grid-column: 1; }
  .footer-top-link { grid-column: 1; grid-row: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 9px; }
}
