/* ═══════════════════════════════════════════════
   style.css — naukakomputera.pl
   Ostatnia aktualizacja: 2026-03-25
   ═══════════════════════════════════════════════ */

/* ─── Reset & Variables ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FBF4E9;
  --cream-dark: #F0E4CF;
  --paper: #FDF8F0;
  --brown: #3D2B1F;
  --brown-light: #6B5344;
  --terracotta: #C4653A;
  --terracotta-soft: #D4845F;
  --sage: #6A8E6E;
  --sage-light: #A8C5AA;
  --sage-pale: #E8F0E8;
  --gold: #D4A853;
  --gold-light: #F0D890;
  --peach: #F5DCC3;
  --peach-light: #FAF0E4;
  --warm-white: #FFFDF8;
  --shadow: rgba(61, 43, 31, 0.08);
  --shadow-md: rgba(61, 43, 31, 0.12);
}

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

body {
  font-family: 'DM Sans', Georgia, serif;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.handwritten {
  font-family: 'Caveat', cursive;
}

.serif {
  font-family: 'Lora', Georgia, serif;
}

/* ─── Noise Texture Overlay ─── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 2rem;
  transition: all 0.4s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(251, 244, 233, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--sage);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-cta {
  background: var(--terracotta) !important;
  color: var(--warm-white) !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: 2px solid var(--terracotta) !important;
}

.nav-cta:hover {
  background: transparent !important;
  color: var(--terracotta) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--brown);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ─── Hero — Editorial Style ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--peach) 0%, transparent 70%);
  opacity: 0.5;
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--sage-pale) 0%, transparent 70%);
  opacity: 0.4;
  border-radius: 50%;
  z-index: 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: var(--terracotta);
  margin-bottom: 1rem;
  display: inline-block;
  transform: rotate(-2deg);
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  right: -4px;
  height: 12px;
  background: var(--gold-light);
  opacity: 0.4;
  z-index: -1;
  border-radius: 2px;
  transform: rotate(-0.5deg);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--brown-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--warm-white);
  padding: 1rem 2rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--terracotta);
  transition: all 0.35s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 101, 58, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--brown);
  padding: 1rem 2rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--brown);
  transition: all 0.35s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--brown);
  color: var(--warm-white);
  transform: translateY(-2px);
}

/* Hero right — Illustrative card stack */
.hero-visual {
  position: relative;
  height: 480px;
  opacity: 0;
  animation: fadeSlideLeft 1s ease 0.6s forwards;
}

.hero-card {
  position: absolute;
  background: var(--warm-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 40px var(--shadow-md);
  transition: transform 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-4px) !important;
}

.hero-card-main {
  top: 10%;
  left: 5%;
  width: 300px;
  transform: rotate(-3deg);
  z-index: 3;
  border-left: 5px solid var(--terracotta);
}

.hero-card-main .card-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.hero-card-main h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-card-main p {
  font-size: 0.9rem;
  color: var(--brown-light);
}

.hero-card-second {
  top: 5%;
  right: 0%;
  width: 220px;
  transform: rotate(4deg);
  z-index: 2;
  background: var(--sage-pale);
  border: 2px dashed var(--sage);
  text-align: center;
}

.hero-card-second .stat-num {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  font-weight: 700;
  color: var(--sage);
}

.hero-card-second .stat-label {
  font-size: 0.85rem;
  color: var(--brown-light);
}

.hero-card-third {
  bottom: 10%;
  right: 5%;
  width: 260px;
  transform: rotate(2deg);
  z-index: 2;
  background: var(--peach-light);
  border-bottom: 4px solid var(--gold);
}

.hero-card-third .quote-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brown);
  margin-bottom: 0.6rem;
}

.hero-card-third .quote-author {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: var(--terracotta);
}

.hero-card-fourth {
  bottom: 15%;
  left: 0;
  width: 180px;
  transform: rotate(-5deg);
  z-index: 1;
  background: var(--gold-light);
  text-align: center;
  padding: 1.5rem;
}

.hero-card-fourth .card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-card-fourth p {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown);
}

/* ─── Section Styling ─── */
section {
  padding: 5rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--brown-light);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── Wavy Divider ─── */
.divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: -1px 0;
}

.divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ─── About Section ─── */
.about {
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

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

.about-photo-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--cream);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-frame .placeholder-avatar {
  font-size: 8rem;
  opacity: 0.6;
}

.about-photo-sticker {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--gold-light);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  box-shadow: 0 4px 15px var(--shadow);
  z-index: 2;
}

.about-photo-sticker .sticker-num {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.about-photo-sticker .sticker-text {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--brown);
  text-align: center;
  line-height: 1.2;
}

.about-content h3 {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.about-content h3 em {
  color: var(--terracotta);
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--brown-light);
  font-size: 1rem;
}

.about-values {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about-value .val-icon {
  font-size: 1.3rem;
}

/* ─── Offer Section ─── */
.offer {
  background: var(--cream);
  position: relative;
}

.offer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.offer-col {
  position: relative;
}

.offer-card {
  background: var(--warm-white);
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 2px solid transparent;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-md);
}

.offer-card-online {
  border-color: var(--sage-light);
}

.offer-card-local {
  border-color: var(--peach);
}

.offer-card-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.badge-online {
  background: var(--sage-pale);
  color: var(--sage);
}

.badge-local {
  background: var(--peach);
  color: var(--terracotta);
}

.offer-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.offer-card p {
  color: var(--brown-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.offer-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.offer-list li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--brown-light);
}

.offer-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
  font-size: 1.1rem;
}

.offer-card .handwritten-note {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--terracotta);
  padding: 1rem;
  background: var(--peach-light);
  border-radius: 12px;
  transform: rotate(-1deg);
  margin-top: 1rem;
  text-align: center;
}

/* Topics taught */
.topics {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 2px dashed var(--cream-dark);
}

.topics-header {
  text-align: center;
  margin-bottom: 3rem;
}

.topics-header .section-label {
  text-align: center;
}

.topics-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.topics-subtitle {
  font-size: 1rem;
  color: var(--brown-light);
  max-width: 550px;
  margin: 0 auto;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.topic-card {
  background: var(--warm-white);
  border: 2px solid var(--cream-dark);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
}

.topic-card:hover {
  border-color: var(--terracotta-soft);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow);
}

.topic-card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.topic-card h4 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--brown);
}

.topic-card p {
  font-size: 0.88rem;
  color: var(--brown-light);
  line-height: 1.6;
}

/* ─── Seniors Section ─── */
.seniors {
  background: var(--sage-pale);
  position: relative;
  overflow: hidden;
}

.seniors::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(106, 142, 110, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.seniors-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.seniors-content {
  position: relative;
  z-index: 1;
}

.seniors-content h3 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.seniors-content h3 em {
  color: var(--sage);
  font-style: italic;
}

.seniors-content p {
  color: var(--brown-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.seniors-perks {
  list-style: none;
  margin: 2rem 0;
}

.seniors-perks li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--sage-light);
}

.seniors-perks li:last-child {
  border-bottom: none;
}

.perk-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.perk-text strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.perk-text span {
  font-size: 0.9rem;
  color: var(--brown-light);
}

.seniors-visual {
  position: relative;
}

.seniors-quote-card {
  background: var(--warm-white);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 10px 35px rgba(106, 142, 110, 0.12);
}

.seniors-quote-card::before {
  content: '„';
  font-family: 'Lora', serif;
  font-size: 6rem;
  color: var(--sage-light);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  opacity: 0.5;
}

.seniors-quote-card blockquote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--brown);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  padding-top: 1rem;
}

.seniors-quote-card .quote-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.quote-info strong {
  display: block;
  font-size: 0.95rem;
}

.quote-info span {
  font-size: 0.8rem;
  color: var(--brown-light);
}

.seniors-badge {
  position: absolute;
  top: -20px;
  right: -10px;
  background: var(--terracotta);
  color: var(--warm-white);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  font-weight: 700;
  transform: rotate(5deg);
  box-shadow: 0 5px 15px rgba(196, 101, 58, 0.3);
}

/* ─── Pricing Section ─── */
.pricing {
  background: var(--warm-white);
}

.pricing-layout {
  margin-top: 3rem;
}

.pricing-table {
  display: grid;
  gap: 1.5rem;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 2rem;
  background: var(--cream);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pricing-row:hover {
  border-color: var(--terracotta-soft);
  transform: translateX(5px);
  box-shadow: 0 5px 20px var(--shadow);
}

.pricing-row.featured {
  background: linear-gradient(135deg, var(--peach-light), var(--peach));
  border-color: var(--terracotta-soft);
  position: relative;
}

.pricing-row.featured::after {
  content: 'Popularne';
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: var(--warm-white);
  background: var(--terracotta);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
}

.pricing-name h4 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.pricing-name p {
  font-size: 0.85rem;
  color: var(--brown-light);
}

.pricing-duration {
  font-size: 0.9rem;
  color: var(--brown-light);
  text-align: center;
  white-space: nowrap;
}

.pricing-price {
  text-align: right;
}

.pricing-price .amount {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--terracotta);
}

.pricing-price .period {
  font-size: 0.8rem;
  color: var(--brown-light);
}

.pricing-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--sage-pale);
  border-radius: 16px;
  border-left: 4px solid var(--sage);
}

.pricing-note p {
  font-size: 0.95rem;
  color: var(--brown);
}

.pricing-note strong {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  color: var(--sage);
}

/* ─── How It Works ─── */
.how-it-works {
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--terracotta-soft) 0, var(--terracotta-soft) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 3px solid var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
}

.step h4 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--brown-light);
  max-width: 280px;
  margin: 0 auto;
}

/* ─── Contact Section ─── */
.contact {
  background: var(--brown);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 101, 58, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.contact .section-label {
  color: var(--gold);
}

.contact .section-title {
  color: var(--cream);
}

.contact .section-subtitle {
  color: var(--cream-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--peach);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(251, 244, 233, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--terracotta);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--brown);
  color: var(--cream);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  background: var(--terracotta);
  border-color: var(--terracotta);
  padding: 1rem;
  font-size: 1.05rem;
}

.form-submit .btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--cream);
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.95rem;
  color: var(--cream-dark);
  text-decoration: none;
  transition: color 0.3s;
}

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

.contact-friendly-note {
  margin-top: auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.contact-friendly-note p {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--gold-light);
  line-height: 1.5;
}

/* ─── Footer ─── */
.footer {
  background: #2C1E15;
  padding: 2rem;
  text-align: center;
  color: var(--brown-light);
  font-size: 0.85rem;
}

.footer a {
  color: var(--peach);
  text-decoration: none;
}

/* ─── Scroll Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  html { font-size: 16px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.3rem; }
  .nav-toggle { display: block; z-index: 1001; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title { font-size: 2.5rem; }

  .hero-visual {
    height: 350px;
    order: -1;
  }

  .hero-card-main { width: 240px; left: 0; }
  .hero-card-second { width: 180px; right: -5%; top: 0; }
  .hero-card-third { width: 220px; bottom: 5%; right: 0; }
  .hero-card-fourth { width: 150px; bottom: 10%; }

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

  .about-photo-area { max-width: 300px; margin: 0 auto; }

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

  .seniors-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps::before { display: none; }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .pricing-duration,
  .pricing-price { text-align: center; }

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

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

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

@media (max-width: 500px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.9rem; }
  .hero-visual { height: 300px; }
  .hero-card-main { width: 200px; padding: 1.2rem; }
  .hero-card-second { width: 150px; padding: 1rem; }
  .hero-card-third { width: 180px; padding: 1rem; }
  .hero-card-fourth { width: 130px; padding: 1rem; }
  .hero-card-second .stat-num { font-size: 2.2rem; }
  section { padding: 3.5rem 1.2rem; }

  .topics-grid {
    grid-template-columns: 1fr;
  }
  .topics-title {
    font-size: 1.8rem;
  }
}

/* ─── Formularz — walidacja i RODO ─── */
.form-error {
  display: none;
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 0.2rem;
  font-weight: 500;
}

.form-rodo {
  font-size: 0.72rem;
  color: rgba(251, 244, 233, 0.45);
  line-height: 1.5;
  margin-top: 0.8rem;
}
