/* Frosty Digit – Luxury Premium CSS
   Author: Senior CSS & UI Designer
   Brand Style: Luxury, premium, modern, with gold accents, refined details, and brand fonts
   Layout: Flexbox-only, mobile-first responsive, high contrast, clean hierarchical spacing

   RESET AND NORMALIZE
*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; vertical-align: baseline; }
body, html { height: 100%; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #f6f8fa;
  color: #23405D;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F4FAFF;
}
img, picture { max-width: 100%; display: block; }
ul, ol { margin-left: 1.1em; }
table { border-collapse: collapse; width: 100%; font-size: 16px; margin-bottom: 30px; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #e8e5da; }
th { color: #bda359; font-family: 'Montserrat', Arial, sans-serif; font-size: 15px; font-weight: 600; background: #faf7f3; }

::-webkit-input-placeholder { color: #a3adc2; opacity: 1; }
::-moz-placeholder          { color: #a3adc2; opacity: 1; }
:-ms-input-placeholder      { color: #a3adc2; opacity: 1; }
::placeholder              { color: #a3adc2; opacity: 1; }

/* Font faces – fallback + luxury font setup */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #23405D;
  --secondary: #89A9C7;
  --accent: #F4FAFF;
  --gold: #bda359;
  --gold-dark: #957a38;
  --bg: #F4FAFF;
  --text: #23405D;
  --white: #fff;
  --shadow1: 0 4px 24px rgba(35,64,93,0.09);
  --shadow2: 0 2px 6px rgba(189,163,89,0.09);
}

/* Containers, Sections, Spacing */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow1);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow1);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(189,163,89,0.20);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 24px;
  background: var(--bg);
  border-left: 5px solid var(--gold);
  box-shadow: var(--shadow2);
  border-radius: 18px;
  margin-bottom: 24px;
  min-width: 270px;
  max-width: 400px;
  color: var(--text);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAV */
header {
  background: var(--white);
  box-shadow: var(--shadow1);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 120;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 24px 16px 24px 16px;
}
.main-nav a {
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 4px 8px;
  border-radius: 6px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--gold-dark);
  background: #f6f3eb;
}
.main-nav .cta-primary {
  background: var(--gold);
  color: #fff !important;
  border-radius: 9px;
  font-size: 17px;
  padding: 10px 32px;
  margin-left: 18px;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow2);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  outline: none;
  text-align: center;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(149,122,56,0.14);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: var(--gold);
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  padding: 5px 18px;
  margin-right: 8px;
  margin-left: auto;
  border: none;
  cursor: pointer;
  z-index: 140;
  transition: background 0.15s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--gold-dark);
  box-shadow: 0 2px 14px rgba(149,122,56,0.12);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,64,93,0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.48,.15,.32,1.45);
  pointer-events: none;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--gold);
  color: #fff;
  border-radius: 100px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin: 18px 18px 10px 0;
  border: none;
  cursor: pointer;
  z-index: 201;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--gold-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 16px 6vw;
  margin-top: 50px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(200,185,125,0.12);
  width: 100%;
  letter-spacing: 0.03em;
  transition: color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--gold);
}

/* HERO, HEADINGS, TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 10px;
}
h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.18rem;
  font-weight: 700;
}
p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}
strong { color: var(--primary); font-weight: 700; }
blockquote {
  border-left: 4px solid var(--gold);
  margin-left: 0;
  padding-left: 14px;
  font-style: italic;
  color: var(--primary);
  background: #f6f4e5;
  border-radius: 7px;
}

ul, ol {
  margin-bottom: 18px;
  margin-top: 6px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 14px;
  margin-bottom: 0.5em;
}
dd {
  margin-bottom: 10px;
  margin-left: 13px;
}

.text-section {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* BUTTONS & CALL TO ACTION */
.cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  transition: background 0.22s, color 0.18s, box-shadow 0.2s;
  box-shadow: var(--shadow2);
  cursor: pointer;
  display: inline-block;
  margin-top: 14px;
}
.cta-primary {
  background: var(--gold);
  color: #fff;
  font-size: 17px;
  padding: 12px 38px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--gold-dark);
  color: #fff;
  box-shadow: 0 8px 34px rgba(149,122,56,0.19);
}
.cta-secondary {
  background: #fff;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-size: 16px;
  padding: 10px 24px;
  margin-left: 10px;
  margin-right: 10px;
}
.cta-secondary:hover,
.cta-secondary:focus {
  color: #fff;
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* CTA BOX DESIGN */
.cta-box {
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border: 1.5px solid var(--gold);
}

/* FEATURE / ICON GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow2);
  padding: 28px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 3px solid var(--gold);
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 5px 24px rgba(149,122,56,0.12);
}

/* Testimonial Slider */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: var(--text);
  line-height: 1.5;
}
.testimonial-card span {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.85;
  margin-top: 8px;
}

/* REVIEW LISTINGS (for recenzje-kurtek) */
.review-listing,
.test-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  margin-bottom: 12px;
}
.review-listing > div,
.test-listing > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow1);
  padding: 28px 22px 18px 22px;
  flex: 1 1 270px;
  min-width: 240px;
  transition: box-shadow 0.18s;
}
.review-listing > div:hover {
  box-shadow: 0 7px 24px rgba(149,122,56,0.14);
}
.rating-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 7px;
  padding: 5px 15px;
  margin-bottom: 10px;
  margin-top: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}
.best-pick-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  padding: 4px 12px;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}

/* Innovation, Tips, FAQs styling */
.innovation-highlights ul,
.expert-tips ul {
  list-style: disc inside;
  margin-left: 0;
}
.innovation-highlights h3,
.expert-tips h3,
.faqs h3,
.expert-commentary h3 {
  color: var(--gold-dark);
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.faqs dl {
  margin: 0;
}
.faqs dt:before {
  content: 'Q:';
  color: var(--gold);
  font-weight: 600;
  margin-right: 7px;
}
.faqs dd:before {
  content: 'A:';
  color: var(--secondary);
  margin-right: 7px;
  font-weight: 500;
}

/* Footer */
footer {
  background: #fff;
  margin-top: 70px;
  box-shadow: 0 -2px 16px rgba(35,64,93,0.06);
  border-top: 2px solid #eae6db;
  padding: 36px 0 22px 0;
  font-size: 15px;
  color: var(--text);
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  opacity: 0.88;
  transition: color 0.16s, border 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--gold-dark);
  border-bottom: 2px solid var(--gold);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 8px;
  color: var(--primary);
}
.footer-contact img {
  width: 22px;
  height: 22px;
  filter: grayscale(60%) brightness(1.1);
  margin-right: 5px;
}
footer p {
  text-align: center;
  color: #85723f;
  font-size: 14px;
  margin-top: 7px;
  opacity: .96;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Address Styling */
address p {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--primary);
}

address a {
  color: var(--gold-dark);
  text-decoration: underline;
}
address a:hover { color: var(--primary); }

/* TABLE REFINEMENT FOR LUXURY */
table {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow2);
  overflow: hidden;
  margin: 16px 0 40px 0;
}
table thead tr {
  background: #faf7f3;
  color: var(--gold-dark);
}
table tbody tr {
  transition: background 0.16s;
}
table tbody tr:hover {
  background: #f4efe0;
}
td, th {
  border: none;
}

/* Cookie Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff8f0;
  color: var(--primary);
  box-shadow: 0 -2px 16px rgba(189,163,89,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 23px 16px;
  z-index: 300;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.3s;
}
.cookie-banner.hide { transform: translateY(140%); }
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner button {
  background: var(--gold);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 7px;
  padding: 9px 24px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-reject:hover {
  background: var(--gold-dark);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 400;
  background: rgba(35,64,93,0.82);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal-inner {
  background: #fff;
  padding: 36px 26px;
  border-radius: 16px;
  max-width: 340px;
  width: 96vw;
  box-shadow: 0 8px 30px rgba(35,64,93,0.14);
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-inner h3 {
  margin-bottom: 6px;
  color: var(--gold-dark);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 15px;
}
.cookie-modal-category .switch {
  position: relative;
  display: inline-block;
  width: 40px; height: 22px;
}
.switch input { display: none; }
.switch-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e4dbc4;
  transition: background 0.2s;
  border-radius: 22px;
}
.switch input:checked + .switch-slider {
  background: var(--gold);
}
.switch-slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(18px);
}
.cookie-modal-close {
  background: var(--gold);
  color: #fff;
  border-radius: 100px;
  font-size: 1.2rem;
  align-self: flex-end;
  padding: 4px 10px;
  margin-bottom: 4px;
  margin-top: -16px;
  border: none;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--gold-dark);
}

/* Utility classes */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-32 { margin-bottom: 32px !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-row { display: flex; flex-direction: row; }

/* MEDIA QUERIES – mobile first */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 12px; }
  .feature-grid > div { min-width: 160px; padding: 20px 12px; }
}
@media (max-width: 800px) {
  .section { padding: 32px 6px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.06rem; }

  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .content-wrapper {
    gap: 28px;
  }
  .feature-grid { gap: 14px; }
  .feature-grid > div { min-width: 145px; font-size: 15px; }
  .review-listing,
  .test-listing,
  .testimonial-slider,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .cta-box { padding: 27px 10px; }
  .footer-contact { flex-direction: column; gap: 10px; }
}
@media (max-width: 600px) {
  .section { margin-bottom: 37px; padding: 21px 3vw; }
  .content-wrapper { gap: 16px; }
}
@media (max-width: 500px) {
  .container { padding-left: 2vw; padding-right: 2vw; }
  .section { padding: 12px 2vw; border-radius: 13px; }
  .cta-box { padding: 13px 2vw; border-radius: 10px; }
  .feature-grid > div {
    padding: 12px 7px 8px 9px;
    border-radius: 12px;
  }
}

/* Accessibility: Focus state outline */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Subtle Shadow on Hover for Cards */
.card:focus-visible, .feature-grid > div:focus-visible, .review-listing > div:focus-visible {
  box-shadow: 0 8px 25px rgba(189,163,89,0.19);
}

/* Miscellaneous adjustments for luxury feel */
.card, .feature-grid > div, .review-listing > div, .testimonial-card, .test-listing > div {
  border: 1.5px solid #ece3d7;
}

/* Decorative gold borders in headers */
h1, h2 {
  position: relative;
  padding-left: 10px;
}
h1:before, h2:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 66%;
  background: var(--gold);
  border-radius: 4px;
}
@media (max-width: 600px) {
  h1:before, h2:before { top: 6px; height: 60%; }
}

/* Hide before on forms or list headers */
h3:before, h4:before, .footer-nav a:before, .feature-grid h3:before, .review-listing h3:before,
.test-listing h3:before { display:none; }

/* Images in feature grid */
.feature-grid img,
.review-listing img,
.test-listing img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: grayscale(10%) brightness(1.14) drop-shadow(0 2px 3px rgba(189,163,89,0.04));
}

/* Hide show classes for cookie/modal */
.hide { display: none !important; }
.visible { display: block !important; }

/* --- END OF LUXURY PREMIUM STYLE --- */
