/*
Theme Name: Psycholog — wariant Ciepło
Theme URI: https://stronomat.net
Author: StronoMat
Description: Gotowy szablon strony dla gabinetu psychoterapeutycznego, styl "Ciepło" — przyjazny, zaokrąglony. Kolor akcentu ustawiany w Personalizacji.
Version: 1.0
Text Domain: psycholog-cieplo
*/

:root {
  --accent: #E8785A;
  --accent-light: #FBEAE3;
  --accent-mid: #F0A488;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito Sans', sans-serif; color: #3A332E; background: #FFFDFB; }
h1, h2, h3, .logo, .btn-primary, .nav-cta, .service-title, .faq-q { font-family: 'Quicksand', sans-serif; }

nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 4rem; position: sticky; top: 0; background: #FFFDFB; z-index: 50;
}
.logo { font-size: 22px; font-weight: 700; color: #3A332E; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.25rem; }
.nav-links a { font-size: 14px; color: #7A6F65; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #3A332E; }
.nav-cta {
  font-size: 14px; font-weight: 600; padding: 11px 24px; border-radius: 999px;
  border: none; background: var(--accent); color: #fff; cursor: pointer; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3rem 4rem 5rem; align-items: center; }
.hero-tag { display: inline-block; background: var(--accent-light); color: var(--accent); font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 999px; margin-bottom: 1.75rem; }
.hero-title { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: #3A332E; }
.hero-title span { color: var(--accent); }
.hero-desc { font-size: 16px; line-height: 1.8; color: #6E645A; max-width: 420px; margin-bottom: 2.25rem; }
.hero-btns { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-primary { padding: 15px 30px; background: var(--accent); color: #fff; border: none; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 999px; transition: opacity 0.2s; }
.btn-primary:hover { opacity: 0.88; }
.btn-secondary { padding: 15px 30px; background: #fff; color: #3A332E; border: 1px solid #EDE4DC; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 999px; }

.hero-photo {
  aspect-ratio: 4/5; border-radius: 32px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--accent-mid) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-photo::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px); background-size: 20px 20px; }
.hero-photo-inner { position: relative; text-align: center; color: rgba(255,255,255,0.95); }
.hero-photo-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.hero-photo-label { font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 15px; }

.trust { display: flex; justify-content: center; gap: 3rem; padding: 2rem 4rem 4rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #6E645A; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.about { background: var(--accent-light); border-radius: 32px; margin: 0 2rem 4rem; padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.section-tag { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: #3A332E; line-height: 1.2; margin-bottom: 1.25rem; }
.body-text { font-size: 15px; line-height: 1.85; color: #6E645A; margin-bottom: 1.1rem; }
.creds { display: flex; flex-direction: column; gap: 12px; margin-top: 1.25rem; }
.cred { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #5A5049; }
.cred-icon { color: var(--accent); flex-shrink: 0; }

.services { padding: 4rem; text-align: center; }
.services-header { max-width: 480px; margin: 0 auto 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid #F0E8E2; border-radius: 24px; padding: 2.25rem 1.75rem; text-align: left; transition: border-color 0.2s, transform 0.2s; }
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 1.25rem; }
.service-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: #3A332E; }
.service-desc { font-size: 13.5px; color: #7A6F65; line-height: 1.75; margin-bottom: 1.25rem; }
.service-price { font-size: 13px; color: var(--accent); font-weight: 600; }

.quote-block { margin: 4rem 4rem; padding: 3.5rem; background: #3A332E; border-radius: 32px; text-align: center; }
.quote-text { font-family: 'Quicksand', sans-serif; font-size: 1.5rem; font-weight: 500; color: #fff; max-width: 620px; margin: 0 auto 1rem; line-height: 1.5; }
.quote-author { font-size: 13px; color: rgba(255,255,255,0.55); }

.faq { padding: 4rem; max-width: 760px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 2.5rem; }
.faq-item { background: #fff; border: 1px solid #F0E8E2; border-radius: 18px; margin-bottom: 12px; padding: 0 1.75rem; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.35rem 0; font-size: 15px; font-weight: 600; color: #3A332E; }
.faq-icon { font-size: 20px; color: var(--accent); transition: transform 0.25s; }
.faq-a { font-size: 14px; color: #6E645A; line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1.5rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.contact { background: var(--accent-light); margin: 0 2rem 3rem; border-radius: 32px; padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-row { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #5A5049; }
.form-group { margin-bottom: 1.25rem; }
.form-label { font-size: 12px; font-weight: 600; color: #7A6F65; display: block; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 13px 16px; border: 1px solid #EDE0D5; border-radius: 14px; font-family: 'Nunito Sans', sans-serif; font-size: 14px; color: #3A332E; background: #fff; outline: none; transition: border-color 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group-checkbox { margin-bottom: 1.1rem; }
.form-checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.6; color: #6E645A; cursor: pointer; }
.form-checkbox-label input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); width: 16px; height: 16px; }
.form-checkbox-label a { color: var(--accent); text-decoration: underline; }
.form-submit { width: 100%; padding: 15px; background: var(--accent); color: #fff; border: none; font-family: 'Quicksand', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 999px; margin-top: 0.5rem; }
.form-note { font-size: 12px; color: var(--accent); margin-top: 10px; }
.form-note-error { color: #C0392B; }

.site-footer { border-top: 1px solid #EDE4DC; margin-top: 2rem; }
.footer-inner { padding: 2rem 4rem; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #A69A8D; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-links ul { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #A69A8D; text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-logo { font-family: 'Quicksand', sans-serif; font-weight: 700; color: #3A332E; }

@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }
  .hero, .about, .contact { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
  .services, .quote-block, .faq { padding: 2.5rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about, .contact { margin: 0 1rem 2.5rem; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; padding: 1.5rem; }
}
