/* =========================================================
MIKOŁAJ DRABER — STRONA GABINETU
Kolor główny zaczerpnięty z logo: granat #10295B
Wszystkie najważniejsze ustawienia są opisane komentarzami.
========================================================= */

:root {
--navy: #10295B;
--navy-dark: #0A1D42;
--navy-soft: #19386F;
--gold: #B69A62;
--cream: #F7F7F5;
--white: #FFFFFF;
--text: #172033;
--muted: #657086;
--line: #DCE1E8;
--shadow: 0 18px 50px rgba(16, 41, 91, .10);
--radius: 18px;
--max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: "Times New Roman", Times, serif;
color: var(--text);
background: var(--white);
line-height: 1.7;
}

img {
max-width: 100%;
display: block;
}

a {
color: inherit;
text-decoration: none;
}

button,
input,
select,
textarea {
font: inherit;
}

.container {
width: min(calc(100% - 40px), var(--max));
margin-inline: auto;
}

.section {
padding: 110px 0;
}

.section-light {
background: #fff;
}

.section-soft {
background: var(--cream);
}

.section-navy {
background: var(--navy);
color: #fff;
}

.eyebrow {
color: var(--gold);
font-size: .78rem;
font-weight: 700;
letter-spacing: .20em;
text-transform: uppercase;
margin-bottom: 15px;
}

h1,
h2,
h3 {
font-family: Georgia, "Times New Roman", serif;
font-weight: 400;
line-height: 1.15;
color: var(--navy);
}

h1 {
font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
font-size: 1.55rem;
}

p {
color: var(--muted);
}

.section-heading {
max-width: 760px;
margin-bottom: 55px;
}

.section-heading p:last-child {
margin-top: 18px;
}

.section-heading-light h2 {
color: #fff;
}

.section-heading-light p:last-child {
color: rgba(255,255,255,.72);
}

.gold-line {
width: 70px;
height: 2px;
background: var(--gold);
margin-top: 28px;
}

/* =========================================================
HEADER
========================================================= */

.site-header {
position: sticky;
top: 0;
z-index: 50;
background: rgba(255,255,255,.94);
backdrop-filter: blur(14px);
border-bottom: 1px solid rgba(16,41,91,.08);
}

.nav-wrap {
min-height: 78px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;
}

.brand {
display: flex;
align-items: center;
}

.brand img {
width: 58px;
height: 58px;
object-fit: contain;
display: block;
}

.main-nav {
display: flex;
align-items: center;
gap: 42px;
}

.main-nav a {
font-size: .9rem;
color: var(--navy);
transition: .2s ease;
}

.main-nav a:hover {
color: var(--gold);
}

.nav-cta {
padding: 11px 18px;
background: var(--navy);
color: #fff !important;
border-radius: 999px;
}

.menu-toggle {
display: none;
border: 0;
background: transparent;
color: var(--navy);
font-size: 1.5rem;
}

/* =========================================================
HERO
========================================================= */

.hero {
min-height: calc(100vh - 78px);
position: relative;
display: grid;
place-items: center;
text-align: center;
overflow: hidden;
background:
radial-gradient(circle at 50% 38%, rgba(182,154,98,.12), transparent 27%),
linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
}

.hero-glow {
position: absolute;
width: 650px;
height: 650px;
border-radius: 50%;
border: 1px solid rgba(16,41,91,.06);
pointer-events: none;
}

.hero-content {
position: relative;
padding: 70px 0 100px;
}

.logo-frame {
width: min(440px, 72vw);
aspect-ratio: 1;
margin: 0 auto 28px;
display: grid;
place-items: center;
background: #fff;
}

.logo-frame img {
width: 100%;
height: 100%;
object-fit: contain;
}

.hero h1 {
margin-bottom: 18px;
}

.hero-subtitle {
width: min(680px, 100%);
margin: 0 auto;
font-size: 1.08rem;
}

.hero-actions {
display: flex;
justify-content: center;
gap: 14px;
flex-wrap: wrap;
margin-top: 30px;
}

.button {
display: inline-flex;
justify-content: center;
align-items: center;
min-height: 50px;
padding: 0 25px;
border-radius: 999px;
border: 1px solid var(--navy);
cursor: pointer;
transition:
transform .2s,
box-shadow .2s,
background .2s;
}

.button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(16,41,91,.15);
}

.button-primary {
background: var(--navy);
color: #fff;
}

.button-secondary {
background: transparent;
color: var(--navy);
}

.full {
width: 100%;
}

.scroll-cue {
position: absolute;
bottom: 20px;
color: var(--navy);
font-size: 1.6rem;
}

/* =========================================================
CONTENT
========================================================= */

.split {
display: grid;
grid-template-columns: 0.9fr 1.1fr;
gap: 70px;
align-items: start;
}

.text-large {
font-size: 1.08rem;
}

.text-large p + p {
margin-top: 18px;
}

.service-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}

.service-card {
background: #fff;
padding: 30px;
border: 1px solid var(--line);
border-radius: var(--radius);
min-height: 300px;
display: flex;
flex-direction: column;
box-shadow: 0 8px 30px rgba(16,41,91,.04);
transition:
transform .25s,
box-shadow .25s;
}

.service-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow);
}

.service-number {
color: var(--gold);
font-weight: 700;
letter-spacing: .1em;
margin-bottom: 45px;
}

.service-card p {
margin-top: 12px;
font-size: .95rem;
}

.service-footer {
margin-top: auto;
padding-top: 25px;
display: flex;
justify-content: space-between;
border-top: 1px solid var(--line);
color: var(--navy);
font-size: .9rem;
}

.approach-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0;
border-top: 1px solid rgba(255,255,255,.18);
border-bottom: 1px solid rgba(255,255,255,.18);
}

.approach-item {
padding: 35px 28px 40px;
border-right: 1px solid rgba(255,255,255,.18);
}

.approach-item:last-child {
border-right: 0;
}

.approach-item span {
color: var(--gold);
font-size: .8rem;
letter-spacing: .12em;
}

.approach-item h3 {
color: #fff;
margin: 25px 0 10px;
}

.approach-item p {
color: rgba(255,255,255,.68);
font-size: .93rem;
}

.placeholder-photo {
width: 100%;
aspect-ratio: 1 / 1;
border-radius: var(--radius);
overflow: hidden;
border: 1px solid var(--line);
}

.dla-kogo-photos {
display: flex;
flex-direction: column;
gap: 24px;
}

.dla-kogo-photos .placeholder-photo {
aspect-ratio: 1 / 1;
}

.placeholder-photo img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: center;
}

.check-list {
list-style: none;
margin-top: 28px;
}

.check-list li {
padding: 10px 0;
border-bottom: 1px solid var(--line);
}

.check-list li::before {
content: "—";
color: var(--gold);
margin-right: 12px;
}

/* =========================================================
PYTANIA PACJENTÓW / BLOG
========================================================= */

.blog-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}

.blog-card {
background: #fff;
border: 1px solid var(--line);
border-radius: var(--radius);
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
transition:
transform .25s,
box-shadow .25s;
}

.blog-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow);
}

/* Zdjęcie artykułu */

.blog-image {
height: 210px;
background: linear-gradient(
135deg,
var(--navy),
#2e4f86
);
display: grid;
place-items: center;
color: rgba(255,255,255,.8);
letter-spacing: .12em;
font-size: .75rem;
overflow: hidden;
}

.blog-image img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: center;
}

/* Treść karty */

.blog-body {
padding: 25px;
display: flex;
flex-direction: column;
flex: 1;
}

.blog-date {
color: var(--gold);
font-size: .75rem;
text-transform: uppercase;
letter-spacing: .12em;
}

.blog-body h3 {
margin: 12px 0 10px;
font-size: 1.35rem;
}

.blog-body p {
font-size: .95rem;
line-height: 1.6;
}

.blog-link {
display: inline-block;
margin-top: auto;
padding-top: 18px;
color: var(--navy);
font-weight: 700;
transition: color .2s ease;
}

.blog-link:hover {
color: var(--gold);
}

/* =========================================================
BOOKING
========================================================= */

.booking-layout {
display: grid;
grid-template-columns: .85fr 1.15fr;
gap: 70px;
align-items: start;
}

.info-box {
margin-top: 30px;
padding: 20px;
border-left: 3px solid var(--gold);
background: var(--cream);
}

.info-box p {
margin-top: 5px;
font-size: .9rem;
}

.booking-card {
background: #fff;
padding: 34px;
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
}

label {
display: block;
color: var(--navy);
font-size: .85rem;
font-weight: 600;
margin-bottom: 8px;
}

label span {
color: var(--muted);
font-weight: 400;
}

input,
select,
textarea {
width: 100%;
border: 1px solid var(--line);
border-radius: 10px;
padding: 12px 14px;
color: var(--text);
background: #fff;
outline: none;
}

input:focus,
select:focus,
textarea:focus {
border-color: var(--navy);
box-shadow: 0 0 0 3px rgba(16,41,91,.08);
}

.form-row {
margin-bottom: 18px;
}

.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-bottom: 18px;
}

.calendar-header {
display: flex;
align-items: center;
justify-content: space-between;
text-align: center;
margin: 25px 0 15px;
}

.calendar-header strong,
.calendar-month {
display: block;
color: var(--navy);
}

.calendar-month {
font-size: .75rem;
text-transform: uppercase;
letter-spacing: .1em;
color: var(--gold);
}

.calendar-arrow {
width: 38px;
height: 38px;
border-radius: 50%;
border: 1px solid var(--line);
background: #fff;
color: var(--navy);
cursor: pointer;
font-size: 1.5rem;
}

.calendar {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 6px;
margin-bottom: 22px;
}

.calendar button {
min-height: 42px;
border: 1px solid transparent;
background: #f5f6f8;
border-radius: 8px;
color: var(--navy);
cursor: pointer;
}

.calendar button:hover {
border-color: var(--navy);
}

.calendar button.active {
background: var(--navy);
color: #fff;
}

.calendar button.disabled {
opacity: .3;
cursor: not-allowed;
}

.time-slots {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
margin-bottom: 22px;
}

.time-slot {
border: 1px solid var(--line);
background: #fff;
border-radius: 8px;
padding: 10px 5px;
cursor: pointer;
color: var(--navy);
}

.time-slot:hover,
.time-slot.active {
background: var(--navy);
color: #fff;
border-color: var(--navy);
}

.consent {
display: flex;
gap: 10px;
align-items: flex-start;
margin: 15px 0 20px;
font-weight: 400;
}

.consent input {
width: auto;
margin-top: 5px;
}

.form-note {
text-align: center;
font-size: .78rem;
margin-top: 12px;
}

/* =========================================================
CONTACT
========================================================= */

.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 70px;
align-items: center;
}

.contact-location {
min-height: 430px;
border-radius: var(--radius);
overflow: hidden;
position: relative;
display: flex;
align-items: flex-end;
box-shadow: var(--shadow);
background: none;
}

.contact-location-image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
z-index: 0;
}

.contact-location::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(10, 29, 66, .88) 0%,
rgba(10, 29, 66, .48) 45%,
rgba(10, 29, 66, .08) 100%
);
z-index: 1;
}

.contact-location-content {
position: relative;
z-index: 2;
padding: 35px;
width: 100%;
}

.contact-location-content .eyebrow {
margin-bottom: 10px;
}

.contact-location-content h2 {
color: #fff;
margin-bottom: 15px;
}

.contact-location-content p:last-child {
color: rgba(255, 255, 255, .82);
max-width: 600px;
}

.contact-card {
background: #fff;
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 35px;
box-shadow: var(--shadow);
}

.contact-card > div {
padding: 15px 0;
border-bottom: 1px solid var(--line);
}

.contact-card span {
display: block;
font-size: .72rem;
color: var(--gold);
letter-spacing: .14em;
margin-bottom: 5px;
}

.contact-card strong {
color: var(--navy);
}

.contact-card .button {
margin-top: 22px;
}

/* =========================================================
O PRAKTYCE — TŁO ZE ZDJĘCIEM
========================================================= */

#o-mnie {
position: relative;
overflow: hidden;
background-image: url("./assets/gabinetnr5.webp");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

#o-mnie::before {
content: "";
position: absolute;
inset: 0;
background: rgba(255, 255, 255, .84);
z-index: 0;
}

#o-mnie > .container {
position: relative;
z-index: 1;
}

/* =========================================================
DLA KOGO — TŁO ZE ZDJĘCIEM
========================================================= */

#dla-kogo {
position: relative;
overflow: hidden;
background-image: url("assets/gabinetnr4.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

#dla-kogo::before {
content: "";
position: absolute;
inset: 0;
background: rgba(255, 255, 255, .76);
z-index: 0;
}

#dla-kogo > .container {
position: relative;
z-index: 1;
}

/* =========================================================
FOOTER
========================================================= */

.footer {
    background: var(--navy-dark);
    color: #fff;
    padding: 65px 0 25px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-brand {
    color: #fff;
    border-color: rgba(255,255,255,.5);
    margin-bottom: 18px;
}

.footer p {
    color: rgba(255,255,255,.65);
}

.footer-main > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-main a {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
}

.footer-main a:hover {
    color: #fff;
}

.footer-label {
    color: var(--gold);
    font-size: .7rem;
    letter-spacing: .15em;
    margin-bottom: 8px;
}

/* DOLNA CZĘŚĆ FOOTERA */
.footer-bottom {
    margin-top: 55px;
    padding-top: 20px;
    padding-bottom: 0;
}
/* =========================================================
   SOCIAL MEDIA — MAŁE IKONY
   ========================================================= */

.footer-social {
    display: flex;
    flex-direction: column;
}

.social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
}

.social-link {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: rgba(255,255,255,.72);
    font-family: Arial, Helvetica, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.social-link:hover {
    color: #fff;
    border-color: var(--gold);
    background: rgba(182,154,98,.12);
    transform: translateY(-2px);
}

/* Jeżeli używasz SVG wewnątrz ikon */
.social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    display: block;
}

/* =========================================================
RESPONSYWNOŚĆ
========================================================= */

@media (max-width: 1100px) {

```
.main-nav {
    gap: 24px;
}

.footer-main {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 30px;
}
```

}

@media (max-width: 950px) {

```
.service-grid,
.approach-grid {
    grid-template-columns: repeat(2, 1fr);
}

.approach-item:nth-child(2) {
    border-right: 0;
}

.approach-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.booking-layout {
    grid-template-columns: 1fr;
}
```

}

@media (max-width: 760px) {

```
.container {
    width: min(calc(100% - 28px), var(--max));
}

.section {
    padding: 75px 0;
}

.menu-toggle {
    display: block;
}

.main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: #fff;
    padding: 18px 20px 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
}

.main-nav.open {
    display: flex;
}

.main-nav a {
    padding: 12px 0;
}

.nav-cta {
    text-align: center;
    margin-top: 8px;
}

.hero-content {
    padding-top: 35px;
}

.logo-frame {
    width: min(360px, 86vw);
}

.split,
.contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-grid,
.approach-grid,
.blog-grid {
    grid-template-columns: 1fr;
}

.approach-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.approach-item:last-child {
    border-bottom: 0;
}

.form-grid {
    grid-template-columns: 1fr;
}

.time-slots {
    grid-template-columns: repeat(3, 1fr);
}

.footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
}

.footer-bottom {
    flex-direction: column;
}
```

}

@media (max-width: 430px) {

```
.brand-text {
    display: none;
}

.booking-card {
    padding: 22px 16px;
}

.time-slots {
    grid-template-columns: repeat(2, 1fr);
}

.blog-image {
    height: 190px;
}

.blog-body {
    padding: 22px;
}

.blog-body h3 {
    font-size: 1.25rem;
}
```

}
