/* ============================================
   CSS ZMIENNE
   ============================================ */
:root {
  /* Kolory — inspirowane estetyką annabartodziejska.pl: czysta biel, ciemny brąz, stonowana terakota */
  --color-bg:          #FEFCF9;   /* bardzo ciepła biel */
  --color-surface:     #FFFFFF;
  --color-section-alt: #F5EDE3;   /* ciepły krem — sekcje naprzemienne */
  --color-primary:     #1E1612;   /* głęboki ciemny brąz - niemal czarny */
  --color-accent:      #B87A5A;   /* stonowana terakota / ciepła rdza */
  --color-accent-2:    #7A9A8A;   /* muted szałwia/zieleń */
  --color-gold:        #C4995A;   /* ciepłe złoto */
  --color-text:        #1E1612;
  --color-text-muted:  #7A6E68;   /* neutralny ciepły szary */
  --color-border:      #EAE4DD;   /* ciepła jasna ramka */
  --color-success:     #6A9E7A;
  --color-error:       #C05555;

  /* Typografia */
  --font-heading: 'Jost', system-ui, sans-serif;
  --font-body:    'Raleway', system-ui, sans-serif;

  /* Layout */
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Kształty */
  --radius:    12px;
  --radius-sm:  6px;
  --radius-lg: 20px;

  /* Cienie */
  --shadow:        0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 40px rgba(0,0,0,0.14);
  --shadow-modal:  0 24px 80px rgba(0,0,0,0.18);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================
   TYPOGRAFIA
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { line-height: 1.75; }

@media (max-width: 767px) {
  .hero-content h1 br,
  .about-text h2 br {
    display: none;
  }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-py) 0;
}

.section-alt {
  background: var(--color-section-alt);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   PRZYCISKI
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #a06848;
  border-color: #a06848;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,122,90,0.32);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background: var(--color-surface);
  border-color: var(--color-text-muted);
  color: var(--color-text);
  box-shadow: var(--shadow);
}

.btn-light {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-light:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-full { width: 100%; }

.btn:disabled,
.btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding: calc(64px + 1.5rem) 0 2.5rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: calc(64px + clamp(2.5rem, 5vw, 4rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 55% at 85% 20%, rgba(184,122,90,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 45% at 5%  80%, rgba(122,154,138,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-inner {
    gap: 3rem;
    grid-template-columns: 57fr 42fr;
  }
}

.hero-content {
  color: var(--color-text);
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin: 0 auto 1.5rem;
  width: fit-content;
  letter-spacing: 0.04em;
}

@media (min-width: 1024px) {
  .hero-badge {
    margin: 0 0 1.5rem;
  }
}

.hero-content h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 auto 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .hero-sub {
    margin: 0 0 2.5rem;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  color: var(--color-text);
  box-shadow: 0 2px 24px rgba(30,22,18,0.07), 0 8px 48px rgba(30,22,18,0.05);
}

.hero-card-img {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.hero-stat {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  line-height: 1.2;
}

.hero-stat small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}



/* ============================================
   O MNIE
   ============================================ */
.about-section {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}


.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-inner {
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
  }
}

.about-card-photo {
  position: relative;
}

.about-card-photo .courses-audio-image {
    aspect-ratio: 3 / 3;
}

.about-float-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}


.about-float-badge .badge-icon { font-size: 1.5rem; }

.courses-audio-card.about-audio-aside {
  overflow: visible;
}

.courses-audio-card.about-audio-aside .courses-audio-image {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.courses-audio-card.about-audio-aside .about-float-badge {
  right: 1rem;
}

@media (min-width: 480px) {
  .courses-audio-card.about-audio-aside .about-float-badge {
    right: -1.5rem;
  }
}

.about-text .section-label { margin-bottom: 0.75rem; }
.about-text h2              { margin-bottom: 1.25rem; }

.about-text .lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-signoff {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.about-method-card {
  padding: 0;
}

.about-method-card p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  max-width: 980px;
}

.about-method-card p:last-child {
  margin-bottom: 0;
}

.about-method-highlight {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary);
}

.about-credentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-credentials {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 4rem;
  }
}

.about-credentials-title {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.about-achievements {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-achievement {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.achievement-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 0.15rem;
  font-weight: 700;
}

.about-credentials-visual {
  display: flex;
  justify-content: center;
}

.about-credentials-panel {
  width: min(100%, 320px);
  aspect-ratio: 3 / 3.4;
  border-radius: 28px;
  overflow: hidden;
  object-fit: cover;
  object-position: bottom;
  box-shadow: 0 22px 42px rgba(62,45,41,0.08);
  display: block;
}

/* ============================================
   KURSY
   ============================================ */
.courses-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4.5rem;
}

@media (min-width: 1024px) {
  .courses-intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 3rem;
    align-items: start;
  }
}

.courses-intro-lead {
  font-size: 1.06rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.courses-quote {
  margin: 0 0 1.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid rgba(184,122,90,0.5);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  line-height: 1.7;
}

.courses-use-cases .section-label {
  margin-bottom: 1rem;
}

.courses-use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.courses-use-item {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--color-section-alt);
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 500;
}

.courses-audio-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .courses-audio-card {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

.courses-audio-image {
  width: 100%;
  /* aspect-ratio: 3 / 4; */
  object-fit: cover;
  object-position: center;
}

.courses-audio-content {
  padding: 1.6rem;
}

.courses-audio-content h3 {
  margin-bottom: 0.65rem;
}

.courses-audio-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.courses-audio-player {
  width: 100%;
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
}

.courses-note {
  margin: 2.5rem auto 0;
  max-width: 860px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ============================================
   DLACZEGO WARTO
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.why-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(184,122,90,0.10), rgba(122,154,138,0.10));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1.25rem;
}

.why-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   OPINIE
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

/* ============================================
   KONTAKT
   ============================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.contact-info h2            { margin-bottom: 1rem; }
.contact-info .lead         { color: var(--color-text-muted); margin-bottom: 2rem; font-size: 1.05rem; }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(184,122,90,0.10), rgba(122,154,138,0.10));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.15rem;
}

.contact-item-text a,
.contact-item-text span {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-item-text a:hover { color: var(--color-accent); }

/* ============================================
   STOPKA
   ============================================ */
.footer {
  background: var(--color-primary);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo em {
  font-style: normal;
  color: var(--color-accent-2);
}

.footer-logo p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
/* ============================================
   BANNER LENA
   ============================================ */
.lena-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #FDF0F5;
  border-left: 4px solid #C05580;
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  margin-top: 3rem;
}

.lena-banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.lena-banner-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
  min-width: 200px;
}

.lena-banner-links {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.lena-banner-link {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid #C05580;
  color: #C05580;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.lena-banner-link:hover {
  background: #C05580;
  color: #fff;
}

.lena-banner-link--primary {
  background: #C05580;
  color: #fff;
}

.lena-banner-link--primary:hover {
  background: #a84570;
  border-color: #a84570;
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
