/* ============================================================
   PSYCHOTERAPIA BIELANY – Anna Stępniewska v3
   Palette: sage green + warm stone + deep teal
   Type: Lora (headings) + Inter (body)
   ============================================================ */
:root {
  --sage:       #7a9e87;
  --sage-light: #e8f0eb;
  --sage-deep:  #4e7560;
  --stone:      #f5f0e8;
  --stone-mid:  #e6dfd4;
  --stone-dark: #c8bfb2;
  --teal:       #2c5f6e;
  --teal-light: #d4eaf0;
  --ink:        #1e2a20;
  --ink-mid:    #3d4f40;
  --muted:      #6b7d6e;
  --white:      #ffffff;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px rgba(30,42,32,.08);
  --shadow:     0 4px 20px rgba(30,42,32,.10);
  --shadow-lg:  0 12px 48px rgba(30,42,32,.14);
  --t:          200ms ease;
  --max-w:      1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; line-height: 1.7; color: var(--ink-mid); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
p { margin-bottom: .85rem; }
p:last-child { margin-bottom: 0; }

h1,h2,h3,h4 { font-family: 'Lora', Georgia, serif; color: var(--ink); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 500; }
h3 { font-size: 1.1rem; font-weight: 500; }
em { font-style: italic; color: var(--sage-deep); }
strong { font-weight: 600; color: var(--ink); }
small { font-size: .8rem; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.bg-stone { background: var(--stone); }
.section-header { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-lead { color: var(--muted); font-size: 1.05rem; margin-top: .75rem; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: .5rem; display: block; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.6rem; border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background var(--t), color var(--t), box-shadow var(--t), transform var(--t); white-space: nowrap; border: 2px solid transparent; }
.btn-primary { background: var(--sage-deep); color: var(--white); border-color: var(--sage-deep); }
.btn-primary:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--stone-dark); }
.btn-ghost:hover { background: var(--sage-light); border-color: var(--sage); }
.btn-outline-en { background: transparent; color: var(--teal); border: 2px solid var(--teal); font-family: 'Inter', sans-serif; font-size: .92rem; font-weight: 600; padding: .72rem 1.6rem; border-radius: var(--radius-sm); transition: background var(--t), color var(--t); display: inline-block; }
.btn-outline-en:hover { background: var(--teal); color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* === SITE HEADER === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--stone-mid); transition: box-shadow var(--t); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.logo { display: flex; flex-direction: column; line-height: 1.25; }
.logo-name { font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.logo-sub { font-size: .68rem; letter-spacing: .05em; color: var(--muted); }
.main-nav ul { display: flex; align-items: center; gap: .1rem; list-style: none; }
.main-nav a { padding: .4rem .7rem; font-size: .87rem; font-weight: 500; border-radius: var(--radius-sm); color: var(--ink-mid); transition: background var(--t), color var(--t); }
.main-nav a:hover { background: var(--sage-light); color: var(--sage-deep); }
.nav-cta { background: var(--sage-deep) !important; color: var(--white) !important; padding: .42rem .95rem !important; }
.nav-cta:hover { background: var(--teal) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .4rem; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero { position: relative; overflow: hidden; background: var(--stone); padding-block: clamp(3rem, 8vw, 5rem); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(122,158,135,.18) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 5% 80%, rgba(44,95,110,.1) 0%, transparent 60%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.hero-text { max-width: 560px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero-lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 1.25rem; max-width: 480px; }
.lang-pill { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; width: fit-content; }
.lang-badge { font-size: .88rem; font-weight: 600; color: var(--ink); padding: .35rem .85rem; border-radius: 100px; border: 1.5px solid var(--stone-dark); background: var(--white); }
.lang-badge.en { border-color: var(--teal); color: var(--teal); }
.lang-sep { color: var(--stone-dark); font-size: .85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge { display: inline-block; padding: .28rem .7rem; background: var(--white); border: 1px solid var(--stone-dark); border-radius: 100px; font-size: .76rem; color: var(--ink-mid); }
.hero-photo-wrap { position: relative; width: clamp(200px, 26vw, 360px); flex-shrink: 0; }
.hero-photo-frame { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; background: var(--sage-light); }
.hero-photo-accent { position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius-lg); background: var(--sage); opacity: .22; z-index: 0; }

/* === TRUST BAR === */
.trust-bar { background: var(--teal); color: var(--white); padding-block: 1rem; }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
.trust-item { display: flex; flex-direction: column; align-items: center; font-size: .85rem; line-height: 1.3; }
.trust-item strong { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.trust-item a { color: inherit; text-align: center; }
.trust-item a:hover { text-decoration: underline; }
.trust-sep { width: 1px; height: 28px; background: rgba(255,255,255,.25); }

/* === LANG SECTION === */
.lang-section { background: var(--white); }
.lang-block { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; border: 1px solid var(--stone-mid); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.lang-col { padding: clamp(2rem, 5vw, 3rem); }
.lang-col--pl { background: var(--stone); }
.lang-col--en { background: var(--teal-light); }
.lang-divider { width: 1px; background: var(--stone-mid); }
.lang-flag { font-size: 2rem; margin-bottom: .75rem; }
.lang-col h2 { margin-bottom: .75rem; }
.lang-col p { color: var(--muted); margin-bottom: 1.5rem; }

/* === ABOUT === */
.about-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-photo-col { width: clamp(160px, 22vw, 300px); flex-shrink: 0; }
.about-photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; background: var(--sage-light); }
.about-title { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 1.1rem; display: block; }
.about-text-col h2 { margin-bottom: .2rem; }
.about-text-col p { color: var(--muted); }
.credentials { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.credentials li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; }
.check { color: var(--sage-deep); font-weight: 700; flex-shrink: 0; }

/* === SPEC GRID === */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stone-mid); border: 1px solid var(--stone-mid); border-radius: var(--radius); overflow: hidden; }
.spec-item { background: var(--white); padding: 1.4rem; transition: background var(--t); }
.spec-item:hover { background: var(--sage-light); }
.spec-item h3 { font-size: .98rem; margin-bottom: .35rem; color: var(--teal); }
.spec-item p { font-size: .86rem; color: var(--muted); margin: 0; }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.pricing-card { background: var(--white); border: 1px solid var(--stone-mid); border-radius: var(--radius); padding: 2rem 1.75rem; text-align: center; transition: transform var(--t), box-shadow var(--t); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card--accent { background: var(--sage-light); border-color: var(--sage); }
.pricing-icon { font-size: 2rem; margin-bottom: 1rem; }
.pricing-card h3 { margin-bottom: .5rem; }
.pricing-price { font-family: 'Lora', serif; font-size: 2rem; font-weight: 500; color: var(--sage-deep); margin-bottom: .1rem; }
.pricing-duration { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.pricing-card p { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.pricing-note { text-align: center; font-size: .88rem; color: var(--muted); max-width: 600px; margin-inline: auto; }

/* === FAQ === */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { background: var(--white); border: 1px solid var(--stone-mid); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { padding: 1rem 1.4rem; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: background var(--t); }
.faq-item summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--sage-deep); flex-shrink: 0; margin-left: 1rem; transition: transform var(--t); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--sage-light); }
.faq-answer { padding: .1rem 1.4rem 1rem; color: var(--muted); font-size: .92rem; }
.faq-answer a { color: var(--sage-deep); text-decoration: underline; }

/* === CONTACT === */
/* === CONTACT – 3 columns: info | form | map === */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; gap: 2rem; align-items: start; }
.contact-lead { color: var(--muted); margin-bottom: 1.75rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.contact-row { display: flex; align-items: flex-start; gap: .85rem; }
.contact-row svg { color: var(--sage-deep); margin-top: .2rem; flex-shrink: 0; }
.contact-row > div { display: flex; flex-direction: column; gap: .1rem; }
.contact-row strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-row a { color: var(--ink); font-weight: 500; }
.contact-row a:hover { color: var(--sage-deep); }
.contact-row small { font-size: .78rem; color: var(--muted); }
.contact-row span { font-size: .9rem; }
.contact-social { display: flex; flex-direction: column; gap: .5rem; }
.social-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .87rem; font-weight: 500; color: var(--teal); transition: color var(--t); }
.social-link:hover { color: var(--sage-deep); }

/* form */
.contact-form-wrap { background: var(--white); border: 1px solid var(--stone-mid); border-radius: var(--radius); padding: 1.5rem; }
.contact-form-wrap h3 { margin-bottom: 1.1rem; font-size: 1.05rem; }
.form-lang { font-family: 'Inter', sans-serif; font-size: .78rem; color: var(--muted); font-weight: 400; }
.form-row { display: flex; flex-direction: column; gap: .28rem; margin-bottom: .75rem; }
.form-row label { font-size: .8rem; font-weight: 600; color: var(--ink-mid); }
.form-row input, .form-row textarea { padding: .6rem .85rem; border: 1px solid var(--stone-dark); border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--ink); background: var(--white); transition: border-color var(--t), box-shadow var(--t); resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122,158,135,.2); }
.form-privacy { font-size: .78rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: .5rem; cursor: pointer; color: var(--muted); line-height: 1.4; }
.checkbox-label input { flex-shrink: 0; margin-top: .2rem; }
.form-status { margin-top: .7rem; padding: .6rem .9rem; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 500; }
.form-status.success { background: #d4f0e0; color: #1a6e38; }
.form-status.error { background: #fde8e8; color: #b91c1c; }

/* map column */
.contact-map { display: flex; flex-direction: column; gap: .5rem; height: 100%; }
.contact-map iframe { border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); flex: 1; min-height: 420px; width: 100%; }
.map-link { font-size: .82rem; font-weight: 600; color: var(--sage-deep); text-align: right; }
.map-link:hover { color: var(--teal); }

/* === FOOTER === */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding-block: 2.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; align-items: flex-start; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: .1rem; }
.footer-brand .logo-name { font-family: 'Lora', serif; font-size: 1.05rem; color: var(--white); }
.footer-brand .logo-sub { font-size: .72rem; color: rgba(255,255,255,.45); }
.footer-nav, .footer-links { display: flex; flex-wrap: wrap; gap: .2rem .7rem; align-items: center; }
.footer-nav a, .footer-links a { font-size: .81rem; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer-nav a:hover, .footer-links a:hover { color: var(--white); }
.footer-copy { font-size: .76rem; width: 100%; margin-top: .5rem; }

/* === FLOAT CTA === */
.float-cta { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200; display: flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; background: var(--sage-deep); color: var(--white); border-radius: 100px; font-weight: 600; font-size: .88rem; box-shadow: var(--shadow-lg); transition: background var(--t), transform var(--t); }
.float-cta:hover { background: var(--teal); transform: translateY(-2px); }

/* === FOCUS === */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 3px; }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-wrap { display: none; }
  .lang-block { grid-template-columns: 1fr; }
  .lang-divider { width: 100%; height: 1px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-col { width: 200px; }
  .contact-inner { grid-template-columns: 1fr 1fr; }
  .contact-map { grid-column: 1 / -1; }
  .contact-map iframe { min-height: 300px; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--stone-mid); padding: 1rem 1.5rem; box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: .05rem; }
  .main-nav a { display: block; padding: .65rem 1rem; font-size: .95rem; }
  .trust-sep { display: none; }
  .trust-inner { gap: .4rem 1rem; }
  .spec-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-map { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .float-cta span { display: none; }
  .float-cta { padding: .85rem; border-radius: 50%; }
}
