@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --blue: #5b9ab5;
  --blue-light: #7ab5cc;
  --blue-pale: #d6eaf4;
  --blue-bg: #f0f7fb;
  --dark: #2d4a5a;
  --text: #3a4f5e;
  --text-light: #6b8a9a;
  --white: #ffffff;
  --border: #c8dfe9;
  --shadow: 0 2px 16px rgba(91,154,181,0.12);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3 { font-family: 'Lora', serif; color: var(--blue); line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; }
p { margin-bottom: 0.9rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between;
  height: 68px; box-shadow: 0 2px 10px rgba(91,154,181,0.09);
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none !important; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text { font-family: 'Lora', serif; font-size: 1.2rem; color: var(--dark); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links li a {
  padding: 0.4rem 0.85rem; border-radius: 8px;
  font-weight: 500; font-size: 0.88rem; color: var(--text);
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-links li a:hover, .nav-links li a.active { background: var(--blue-bg); color: var(--blue); text-decoration: none; }
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% - 1px); left: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 230px; overflow: hidden; z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 0.65rem 1.2rem; font-size: 0.88rem; border-radius: 0; }
.dropdown-menu a:hover { background: var(--blue-bg); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; border: none; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 1rem 2rem 1.5rem; gap: 0.1rem;
    box-shadow: 0 8px 24px rgba(91,154,181,0.12);
  }
  .nav-links.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; display: none; padding-left: 0.8rem; }
  .nav-dropdown.open .dropdown-menu { display: block; }
}

/* BUTTONS */
.btn {
  display: inline-block; background: var(--blue); color: var(--white) !important;
  padding: 0.85rem 2rem; border-radius: 8px; font-weight: 700; font-size: 0.97rem;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
  text-decoration: none !important; font-family: 'Nunito', sans-serif; line-height: 1;
}
.btn:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-outline { background: transparent !important; border: 2px solid var(--blue); color: var(--blue) !important; }
.btn-outline:hover { background: var(--blue-bg) !important; }
.btn-dark { background: var(--dark) !important; }
.btn-dark:hover { background: #3e6070 !important; }

/* LAYOUT */
.section { padding: 5rem 2rem; }
.section-gray { background: var(--blue-bg); }
.container { max-width: 1100px; margin: 0 auto; }
.text-center { text-align: center; }
.section-title { text-align: center; margin-bottom: 0.6rem; }
.section-sub { text-align: center; color: var(--text); margin-bottom: 3rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 5rem 2rem;
}
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-text p { font-size: 1.05rem; margin-bottom: 1.8rem; }
.hero-img img { width: 100%; border-radius: 20px; box-shadow: 0 12px 48px rgba(91,154,181,0.2); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 768px) { .hero { grid-template-columns: 1fr; } .hero-img { order: -1; } }

/* CHECK LIST */
.check-list { list-style: none; }
.check-list li { padding: 0.35rem 0 0.35rem 1.8rem; position: relative; }
.check-list li::before { content: '›'; position: absolute; left: 0; color: var(--blue); font-weight: 700; font-size: 1.2rem; line-height: 1.5; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important; color: inherit !important; display: block;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(91,154,181,0.18); }
.card h3 { margin-bottom: 0.7rem; }
.card .card-arrow { color: var(--blue-light); font-size: 1.5rem; margin-top: 1rem; }

/* FEATURES 6 GRID */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }
.feature-item h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.feature-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.feature-item p { font-size: 0.9rem; color: var(--text-light); }

/* DIVIDER */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ACCORDION */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 0.75rem; }
.accordion-header {
  width: 100%; background: var(--white); border: none; cursor: pointer;
  padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--blue); text-align: left; transition: background 0.2s;
}
.accordion-header:hover { background: var(--blue-bg); }
.accordion-header.open { background: var(--blue-bg); }
.acc-icon { font-size: 1.4rem; font-weight: 300; line-height: 1; flex-shrink: 0; margin-left: 1rem; transition: transform 0.3s; }
.accordion-header.open .acc-icon { transform: rotate(45deg); }
.accordion-body { display: none; padding: 1rem 1.5rem 1.2rem; font-size: 0.93rem; background: #f9fbfc; border-top: 1px solid var(--border); }
.accordion-body.open { display: block; }
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body ul { margin-left: 1.2rem; margin-bottom: 0.6rem; }
.acc-packages { list-style: none; margin: 0.5rem 0 0 0 !important; }
.acc-packages li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 0.9rem; }
.acc-packages li:last-child { border-bottom: none; }
.star-badge { color: #f5a623; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.price-row:last-child { border-bottom: none; }
.price-name { font-weight: 600; color: var(--blue); font-size: 0.95rem; flex: 1; }
.price-name small { display: block; font-weight: 400; color: var(--text-light); font-size: 0.82rem; margin-top: 0.2rem; }
.price-val { font-family: 'Lora', serif; font-size: 1.35rem; color: var(--blue); font-weight: 600; white-space: nowrap; margin-left: 1rem; text-align: right; }
.price-val small { font-family: 'Nunito', sans-serif; font-size: 0.75rem; color: var(--text-light); font-weight: 400; display: block; }

/* CONTACT FORM */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: 8px; font-family: 'Nunito', sans-serif; font-size: 0.95rem;
  color: var(--text); background: var(--white); transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,154,181,0.15); }
.form-group textarea { min-height: 120px; resize: vertical; }
.radio-group { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }
.radio-group label { display: flex; align-items: center; gap: 0.4rem; font-weight: 400; cursor: pointer; font-size: 0.9rem; }
.radio-group input[type="radio"] { accent-color: var(--blue); }
.gdpr-check { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.2rem; line-height: 1.5; }
.gdpr-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); width: 16px; height: 16px; }
.contact-box { border: 2px dashed var(--border); border-radius: var(--radius); padding: 2rem; }
.form-success { background: #e8f5e9; border: 1px solid #81c784; border-radius: 8px; padding: 1rem 1.5rem; color: #2e7d32; display: none; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial { padding: 1.2rem 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); border-left: 3px solid var(--blue-pale); }
.testimonial p { font-size: 0.93rem; margin-bottom: 0.5rem; }
.testimonial .author { font-style: italic; color: var(--text-light); font-size: 0.88rem; }

/* CTA BANNER */
.cta-banner { background: var(--blue-bg); text-align: center; padding: 4rem 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-banner h2 { margin-bottom: 0.8rem; }
.cta-banner > p { color: var(--text-light); margin-bottom: 1.8rem; }
.cta-tagline { font-size: 0.88rem; color: var(--text-light); margin-top: 1.2rem; }

/* FOOTER */
footer { padding: 1.8rem 2rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-light); flex-wrap: wrap; gap: 0.5rem; }
footer a { color: var(--text-light); }
footer a:hover { color: var(--blue); }
.footer-links { display: flex; gap: 2rem; }

/* GIFT BOX */
.gift-box { background: #fffdf0; border: 1px solid #e8d98a; border-radius: var(--radius); padding: 1.5rem 2rem; margin-top: 1rem; }
.gift-box h3 { color: var(--dark); margin-bottom: 0.8rem; font-family: 'Nunito', sans-serif; }
.gift-box ul { margin-left: 1rem; }
.gift-box ul li { font-size: 0.92rem; margin-bottom: 0.3rem; }

/* PAGE HEADER */
.page-header { background: var(--blue-bg); padding: 4rem 2rem 3rem; text-align: center; border-bottom: 1px solid var(--border); }
.page-header p { max-width: 680px; margin: 1rem auto 0; color: var(--text-light); font-size: 1.05rem; }

/* LEGAL */
.legal-content h2 { font-size: 1.05rem; margin-top: 2rem; margin-bottom: 0.5rem; color: var(--dark); font-family: 'Nunito', sans-serif; font-weight: 700; }
.legal-content p { font-size: 0.9rem; }
.legal-content ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { font-size: 0.9rem; margin-bottom: 0.3rem; }

/* CONTACT INFO */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; padding: 2.5rem 0; }
@media (max-width: 640px) { .contact-info-grid { grid-template-columns: 1fr; } }
.contact-info-item .ci-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-info-item h3 { margin-bottom: 0.3rem; font-size: 1rem; font-family: 'Nunito', sans-serif; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; color: var(--text-light); }

/* ACTIVENOW */
.activenow-wrap { min-height: 150px; }

/* FAQ ITEMS */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 0.75rem; }
.faq-trigger {
  width: 100%; background: var(--white); border: none; cursor: pointer;
  padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--blue); text-align: left; transition: background 0.2s;
}
.faq-trigger:hover { background: var(--blue-bg); }
.faq-item.open .faq-trigger { background: var(--blue-bg); }
.faq-icon { font-size: 1.4rem; font-weight: 300; flex-shrink: 0; margin-left: 1rem; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { display: none; padding: 1rem 1.5rem 1.2rem; font-size: 0.93rem; background: #f9fbfc; border-top: 1px solid var(--border); }
.faq-body p:last-child { margin-bottom: 0; }
.faq-item.open .faq-body { display: block; }

/* FAQ 2-column grid */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; align-items: start; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid h2 { font-size: 1.7rem; color: var(--blue); margin-bottom: 0.8rem; text-align: center; }
.contact-grid > div > p { text-align: center; font-size: 0.97rem; margin-bottom: 0.5rem; }

/* contact info strip */
.contact-info-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: left; }
@media (max-width: 1000px) { .contact-info-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .contact-info-strip { grid-template-columns: 1fr; } }
.ci-item { display: flex; flex-direction: column; }
.ci-top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.ci-top svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; flex-shrink: 0; }
.ci-top h4 { font-size: 1rem; color: var(--blue); font-weight: 700; font-family: 'Nunito', sans-serif; margin: 0; }
.ci-item p, .ci-item a { font-size: 0.9rem; color: var(--text-light); }
.ci-item a { color: var(--text-light); }

/* Mobile: mniejsze obrazki */
@media (max-width: 768px) {
  .hero-img img,
  .ind-main .img-col img,
  .mini-main .img-col img,
  .egz-main .img-col img {
    max-height: 280px;
    width: auto;
    margin: 0 auto;
    display: block;
  }
}

/* Mobile: lang switcher inline */
@media (max-width: 860px) {
  .lang-switch-wrapper { width: 100%; }
  
}

/* Mobile: lang switcher inline */
@media (max-width: 860px) {
  .lang-switch-wrapper { width: 100%; }
  
}

@media (max-width: 700px) { footer .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; } footer .foot-c, footer .foot-r { text-align: center !important; } }
@media (min-width: 701px) { footer:has(.foot-c) { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; } footer .footer-links { flex-wrap: wrap; gap: .4rem 2rem; } footer .footer-links a { white-space: nowrap; } }
