/* ========================================
   Pulse Synth GIFT • Luxury Premium Style CSS
   ======================================== */

/* ======= CSS RESET & NORMALIZE ======== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, main, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background-color: #F9F5F0;
  color: #20425C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.3em;
}
strong, b {
  font-weight: bold;
}

/* ====================================
   BRAND COLORS & FONTS
   ==================================== */
:root {
  --color-primary: #20425C;
  --color-secondary: #E6A93E;
  --color-accent: #F9F5F0;
  --color-heading: #172535;
  --color-text: #20425C;
  --color-bg: #F9F5F0;
  --color-card: #fff;
  --color-shadow: rgba(32,66,92,0.06);
  --color-border: #E5E7EB;
  --color-grey: #67788A;
  --color-gold: #E6A93E;
  --color-link-hover: #C7952F;
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --border-radius: 18px;
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
  --shadow-card: 0 3px 24px 0 rgba(32,66,92,0.09);
  --shadow-elevated: 0 10px 28px 0 rgba(32,66,92,0.14);
  --shadow-pop: 0 2px 8px 0 rgba(32,66,92,0.13);
}

/* ========================
   LAYOUT HELPERS
   ======================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  background: none;
}
.text-section {
  background: var(--color-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 32px 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--color-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  flex: 1 1 320px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: var(--color-text);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* For section blocks */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
section.cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 48px 0;
}
section.cta .cta-btn {
  background: var(--color-secondary);
  color: var(--color-heading);
  font-weight: 600;
  border: none;
}
section.testimonials {
  padding-bottom: 60px;
}

/* ================================
   TYPOGRAPHY & HEADINGS
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 8px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 6px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, dl, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.7;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}
dt {
  font-weight: bold;
  margin-top: 10px;
}
dd {
  margin-bottom: 12px;
}
blockquote {
  border-left: 5px solid var(--color-secondary);
  padding-left: 18px;
  margin: 10px 0 18px 0;
  color: var(--color-primary);
  font-style: italic;
  font-size: 1.1rem;
}
blockquote span {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.96em;
}

/* ============================
   BUTTONS & LINKS
   ============================ */
.cta-btn, button, input[type='submit'] {
  display: inline-block;
  padding: 13px 36px;
  background: var(--color-secondary);
  color: var(--color-heading);
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px 0 rgba(230,169,62,0.14);
  letter-spacing: 0.02em;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: var(--transition);
  outline: none;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus,
input[type='submit']:hover, input[type='submit']:focus {
  background: #F9F5F0;
  color: var(--color-secondary);
  border: 1.75px solid var(--color-secondary);
  box-shadow: 0 6px 20px 0 rgba(230,169,62,0.14);
}

.main-nav a {
  position: relative;
  margin-left: 14px;
  margin-right: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.footer-menu a {
  margin-right: 22px;
  font-size: 1rem;
  color: var(--color-grey);
  font-family: var(--font-body);
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-gold);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 18px 0 18px 28px;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #efebe5;
  transition: color 0.2s, background 0.2s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(32,66,92,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 49;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 77px;
}
header img {
  height: 37px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-secondary);
}

/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background: rgba(32,66,92,0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: var(--transition);
}
.mobile-menu-close {
  background: var(--color-card);
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  padding: 12px 24px 12px 18px;
  align-self: flex-end;
  border-radius: 28px;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: background 0.13s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-heading);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}

/* ========================
   HOMEPAGE & SECTION GRIDS
   ======================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 270px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 30px 16px 24px 16px;
  margin-bottom: 0;
  text-align: center;
  transition: box-shadow 0.22s, border 0.17s;
  border: 2px solid transparent;
  position: relative;
}
.feature-grid > div img {
  margin-bottom: 20px;
  width: 53px;
  height: 53px;
}
.feature-grid > div h3 {
  color: var(--color-gold);
  margin-bottom: 7px;
  font-size: 1.18rem;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 32px 0 rgba(230,169,62,0.13);
  border: 2px solid var(--color-secondary);
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials .testimonial-card {
  max-width: 580px;
  margin-bottom: 28px;
  background: #fff;
  color: #1a2532;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  align-items: center;
}
.testimonials .testimonial-card > div,
.testimonials .testimonial-card p {
  font-size: 1.05rem;
  color: #20425C;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 8px;
}
.testimonials .testimonial-card span {
  color: var(--color-secondary);
  font-size: 0.99em;
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 500;
}
.testimonials .testimonial-card img[alt="Ocena"],
.testimonials .testimonial-card img[alt="Połowa oceny"] {
  height: 21px;
  width: 21px;
  margin-right: 2px;
  display: inline-block;
}

/**** CLIENT LOGOS ****/
.client-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.client-logos img {
  max-height: 40px;
  opacity: 0.75;
  filter: grayscale(70%);
  transition: filter 0.2s, opacity 0.2s;
}
.client-logos img:hover,
.client-logos img:focus {
  filter: grayscale(0%);
  opacity: 1;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #fff;
  padding: 40px 0 30px 0;
  border-top: 1px solid #ECEBEB;
  margin-top: 60px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 12px;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 10px;
}
.footer-contact span {
  font-size: 1.02rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}
.footer-contact a img {
  height: 23px;
  width: 23px;
  opacity: 0.93;
  transition: opacity 0.18s, filter 0.2s;
}
.footer-contact a:hover img {
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(230,169,62,0.10));
}

/* =========================
   FORM ELEMENTS (generic)
   ========================= */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  outline: none;
  color: var(--color-text);
  box-shadow: none;
  transition: border 0.16s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
}
label {
  color: var(--color-grey);
  font-size: 1rem;
  margin-bottom: 5px;
  font-family: var(--font-display);
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 1250;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 16px 0 rgba(32,66,92,0.10);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-top: 2px solid var(--color-secondary);
  animation: fadeBounceIn 0.55s cubic-bezier(.31,1.77,.91,.75);
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 23px;
  border: none;
  cursor: pointer;
  margin-right: 8px;
  box-shadow: none;
  transition: background 0.19s, color 0.16s, border 0.17s;
  outline: none;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-heading);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.8px solid var(--color-secondary);
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.5px solid #e9dbb8;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
  border: 1.8px solid var(--color-primary);
}

@keyframes fadeBounceIn {
  0% { opacity:0; transform: translateY(80px) scale(0.9); }
  82% { opacity: 1; transform: translateY(-7px) scale(1.04); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: rgba(32,66,92,0.52);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-elevated);
  max-width: 420px;
  width: 95vw;
  padding: 36px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
  animation: fadeBounceIn 0.44s cubic-bezier(.31,1.77,.91,.75);
}
.cookie-modal h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
}
.cookie-category label {
  font-family: var(--font-body);
  color: var(--color-text);
  font-weight: 500;
  flex: 1 1 auto;
}
.cookie-toggle {
  appearance: none;
  border: 1.5px solid var(--color-secondary);
  border-radius: 40px;
  width: 42px;
  height: 22px;
  background: var(--color-accent);
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.15s, border 0.15s;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
  border: 1.5px solid var(--color-primary);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(32,66,92,0.11);
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 70px;
}
@media (max-width: 480px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 22px 6vw 18px 6vw;
  }
}

/* ========================
   MAP, EMBEDDED ELEMENTS
   ======================== */
.map-embed {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  border-radius: 16px;
  background: #f5f3ed;
  padding: 18px 20px;
  box-shadow: 0 2px 10px 0 rgba(230,169,62,0.07);
  margin-top: 12px;
  margin-bottom: 12px;
}
.map-embed img {
  width: 66px;
  height: 66px;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 1024px) {
  .footer-menu, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-menu a {
    margin-right: 0;
    margin-bottom: 6px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    padding: 22px 8px 14px 8px;
    min-width: 145px;
    font-size: 0.94rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .content-wrapper, .text-section, section {
    padding: 16px 8px !important;
    gap: 16px;
  }
  .feature-grid, .card-container, .content-grid, .client-logos {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.08rem; }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    max-width: 98vw;
    padding: 14px 8px;
  }
  .testimonials .testimonial-card {
    margin-bottom: 17px;
  }
  .footer-menu, .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  section.cta {
    padding: 26px 0;
  }
}
@media (max-width: 600px) {
  .feature-grid > div {
    min-width: 100px;
    max-width: none;
    padding: 14px 2px 12px 2px;
    font-size: 0.93rem;
    margin-bottom: 0;
  }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.08rem; }
  .text-section {
    padding: 18px 6px;
  }
  .map-embed {
    flex-direction: column;
    gap: 8px;
    padding: 10px 8px;
    align-items: flex-start;
  }
}

/* =============
   MISC DETAILS
   ============= */
::-webkit-scrollbar {
  width: 12px;
  background: #FFF5EB;
}
::-webkit-scrollbar-thumb {
  background: #cbb372;
  border-radius: 9px;
}
::-webkit-selection {
  background: var(--color-secondary);
  color: var(--color-heading);
}
::selection {
  background: var(--color-secondary);
  color: var(--color-heading);
}

/* ========== SPACING ADJUSTMENTS ========== */
/* Ensure no elements overlap and content breathes gracefully */
.card, .feature-grid > div, .testimonial-card, .card-container > div {
  margin-bottom: 20px;
}
section, .section {
  margin-bottom: 60px;
}

/* ========== FOCUS STATES ========== */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  background: #fffbe9;
}

/* ========== MICRO-INTERACTIONS ========== */
.feature-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.17s, border 0.17s;
}
.feature-grid > div:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(230,169,62,0.11);
  border: 2px solid var(--color-gold);
}

.cta-btn {
  transition: background 0.16s, color 0.14s, border 0.14s;
}

/* ========== END OF STYLE.CSS ========== */
