/* ============================================
   rentawdowia.pl - Stylesheet
   ============================================ */

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

:root {
  --green-900: #1b4332;
  --green-700: #2d6a4f;
  --green-500: #40916c;
  --green-400: #52b788;
  --green-100: #e8f3eb;
  --green-50: #f0f7f2;

  --cream-100: #f8f5f0;
  --cream-200: #f0ece4;
  --cream-300: #e2ddd4;

  --amber-700: #8a6d2b;
  --amber-500: #b8942e;
  --amber-100: #fef9f0;
  --amber-border: #ecdcb8;

  --coral-700: #6b3a1f;
  --coral-100: #fdf8f4;
  --coral-border: #e8d5c4;

  --text-primary: #2a2a28;
  --text-secondary: #5a5a52;
  --text-muted: #8a8a7a;
  --text-on-green: #fff;

  --border-light: #e2e0d8;
  --border-input: #d5d3cb;

  --font-display: 'Source Serif 4', 'Georgia', serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --max-width: 1120px;
  --funnel-width: 520px;

  --header-height: 64px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-500); }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--green-900);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--green-700), var(--green-400));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

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

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 1px;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(45, 106, 79, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--green-900);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.25);
  text-decoration: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 106, 79, 0.3);
  color: #fff;
}

.hero-cta svg {
  transition: transform 0.2s;
}

.hero-cta:hover svg {
  transform: translateY(2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--green-700);
  display: block;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Funnel Section --- */
.funnel-section {
  padding: 60px 24px 80px;
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.funnel-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.funnel-section-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 8px;
}

.funnel-section-header p {
  font-size: 15px;
  color: var(--text-muted);
}

#funnel-root {
  max-width: var(--funnel-width);
  margin: 0 auto;
  min-height: 400px;
}

/* --- Info Blocks --- */
.info-section {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.info-card {
  padding: 28px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.25s;
}

.info-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 80px 24px;
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--green-900);
  text-align: center;
  margin-bottom: 8px;
}

.faq-section > .faq-inner > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question span:first-child {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

.faq-toggle {
  font-size: 22px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
  width: 24px;
  text-align: center;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 20px;
  padding-right: 40px;
}

/* --- Footer --- */
.site-footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border-light);
  background: var(--cream-200);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 320px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-links-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: var(--green-700);
}

.footer-disclaimer {
  padding: 20px 0 0;
  border-top: 1px solid var(--border-light);
}

.footer-disclaimer p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(248, 245, 240, 0.97);
  backdrop-filter: blur(8px);
  z-index: 99;
  padding: 100px 32px 32px;
}

.nav-overlay.active {
  display: block;
}

.nav-overlay a {
  display: block;
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-900);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    padding: 48px 20px 40px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stat-number {
    font-size: 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .funnel-section {
    padding: 40px 16px 60px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .faq-section {
    padding: 48px 20px;
  }

  .info-section {
    padding: 48px 20px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}
