/* =================== 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, main, menu, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F3E9;
  color: #2A2320;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}

/* =================== VINTAGE RETRO COLOR PALETTE =================== */
:root {
  --primary: #163255;
  --secondary: #308CA4;
  --accent: #F9FAFB;
  --cream-bg: #F7F3E9;
  --vintage-orange: #FFA858;
  --vintage-blue: #5B7FA3;
  --vintage-brown: #40352C;
  --vintage-green: #97B497;
  --vintage-red: #DE6956;
  --light-yellow: #FFF7D6;
  --shadow: 0 4px 18px 0 rgba(40,36,30,0.08);
}

/* =================== FONT IMPORTS =================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* =================== TYPOGRAPHY =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: 1px;
  font-weight: 700;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.22;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1rem;
}
body, p, li, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--vintage-brown);
}
strong, b {
  font-weight: bold;
  color: var(--vintage-orange);
}
blockquote {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  background: var(--light-yellow);
  border-left: 6px solid var(--vintage-orange);
  margin: 24px 0;
  padding: 16px 32px;
  border-radius: 12px;
  color: var(--vintage-brown);
  box-shadow: 0 2px 12px rgba(64,53,44,0.04);
}

/* =================== MAIN LAYOUT STRUCTURE =================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--cream-bg);
  border-radius: 32px 32px 16px 16px;
  box-shadow: var(--shadow);
}

@media (max-width: 991px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section { padding: 28px 10px; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .content-wrapper { max-width: 100%; }
  .container { padding: 0 8px; }
  .section { padding: 18px 5px; }
}

/* =================== HEADER & NAV =================== */
header {
  background: var(--accent);
  box-shadow: 0 3px 32px 0 rgba(110,90,50,0.07);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 0;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 8px;
  border-radius: 8px;
  letter-spacing: 0.8px;
  transition: background 0.2s, color 0.2s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: var(--vintage-orange);
  color: #fff;
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 24px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 12px 26px;
  border-radius: 38px;
  border: none;
  text-decoration: none;
  margin: 18px 0 0 20px;
  cursor: pointer;
  background: var(--vintage-orange);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(40,36,30,0.15);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  position: relative;
  z-index: 2;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--vintage-orange);
}
.btn-secondary {
  background: var(--vintage-blue);
  color: #fff;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--vintage-red);
  color: #fff;
}

@media (max-width: 991px) {
  header nav ul {
    gap: 8px;  
  }
  .btn-primary, .btn-secondary {
    padding: 10px 20px;
    font-size: 0.98rem;
    margin-left: 10px;
  }
}

@media (max-width: 768px) {
  header nav {
    flex-direction: row;
    height: 60px;
    padding: 0 6px;
  }
  header nav ul,
  header nav .btn-primary {
    display: none;
  }
}

/* ================= MOBILE MENU ================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 16px;
  top: 15px;
  background: var(--vintage-orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.9rem;
  z-index: 25;
  box-shadow: 0 2px 10px rgba(40,36,30,0.13);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--vintage-orange);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #fff7d6 0%, #F7F3E9 100%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.32,0.72,0.49,1), opacity 0.18s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 17px;
  font-size: 2rem;
  background: var(--vintage-blue);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 61;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover {
  background: var(--vintage-red);
  color: #fff5db;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  padding: 14px 12px;
  color: var(--primary);
  border-radius: 12px;
  width: 90vw;
  text-align: center;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-orange);
  color: #fff;
}

/* Hide main nav and show hamburger on mobile */
@media (max-width: 768px) {
  header nav ul,
  header nav .btn-primary {
    display: none !important;
  }
}

/* =================== HERO SECTION =================== */
.hero {
  background: repeating-linear-gradient(135deg, #fff7d6, #FFF7D6 22px, #e3dea5 24px, #fff7d6 48px);
  border-bottom: 6px solid var(--vintage-orange);
  padding: 54px 0 62px;
  margin-bottom: 44px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 890px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0;
}
.hero h1 {
  color: var(--vintage-red);
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.13;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  text-shadow: 1px 2px 0 #fffccf, 0 1px 5px rgba(178,141,79,0.13);
}
.hero p {
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 500;
  background: rgba(255,255,255,0.8);
  border-left: 5px solid var(--vintage-orange);
  padding: 9px 12px;
  border-radius: 10px;
  margin-bottom: 9px;
}
@media (max-width: 991px) {
  .hero {
    padding: 28px 0 35px;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  .hero p { font-size: 1rem; }
}

/* =================== FEATURES / CARDS / LISTS =================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 32px 0 0 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF7D6;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(64,53,44,0.07);
  padding: 28px 22px 18px 22px;
  min-width: 225px;
  flex: 1 0 224px;
  margin-bottom: 0;
  border-top: 4px solid var(--vintage-blue);
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature-item img {
  width: 43px; height: 43px;
  margin-bottom: 12px;
  filter: sepia(0.36) hue-rotate(-9deg) contrast(1.1);
}
.feature-item h3 {
  color: var(--vintage-brown);
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
}
.feature-item p {
  color: var(--primary);
  font-size: 0.97rem;
}
.feature-item:hover, .feature-item:focus-within {
  border-top: 4px solid var(--vintage-orange);
  box-shadow: 0 8px 32px 0 rgba(150,90,45,0.11);
  background: #fbeec2;
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    padding: 18px 9px 12px 14px;
    min-width: unset;
  }
}

ul, ol {
  margin-bottom: 16px;
  margin-top: 5px;
}
ul li:not(.contact-info li) {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  font-size: 1rem;
}
ul li:not(.contact-info li)::before {
  content: '\25CF';
  color: var(--vintage-orange);
  font-size: 1.1em;
  position: absolute;
  left: 0; top: 1px;
}
ol li {
  margin-bottom: 9px;
  padding-left: 22px;
  position: relative;
  font-size: 1rem;
}
ol li::before {
  content: counter(item) ". ";
  counter-increment: item;
  position: absolute;
  left: 0;
  color: var(--vintage-blue);
  font-weight: 700;
  font-size: 1.07em;
}
ol {
  counter-reset: item;
}

/* =================== CARDS & CARD CONTAINERS  =================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #FFF7D6;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 18px 22px 24px;
  border: 1.5px solid #ebdfcd;
  min-width: 250px;
  flex: 1 0 250px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  border-color: var(--vintage-blue);
  box-shadow: 0 7px 18px 0 rgba(60,45,20,0.12);
}

.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;
}
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .feature-grid,
  .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
}

.text-section {
  background: #fffbe8;
  border-radius: 12px;
  padding: 16px 20px 12px 18px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(140,105,50,0.06);
}
.text-section h3 {
  margin-top: 4px;
  color: var(--vintage-blue);
  font-size: 1.08rem;
}

/* =================== TESTIMONIALS =================== */
.testimonials {
  background: #FCEDD3;
  padding: 45px 0 50px;
  border-top: 5px dotted var(--vintage-orange);
}
.testimonials .container {
  padding: 0 12px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 18px 0 22px 0;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  min-width: 280px;
  max-width: 340px;
  background: #fffbe8;
  border: 2.5px solid var(--vintage-brown);
  border-radius: 22px 22px 16px 12px;
  box-shadow: 0 1px 15px 0 rgba(140,90,25,0.09);
  margin-bottom: 0;
  color: #1C1810;
  transition: box-shadow 0.2s, border-color 0.13s;
}
.testimonial-card p {
  color: #181513;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 9px;
}
.testimonial-card span {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--vintage-blue);
  letter-spacing: 1px;
  margin-top: 2px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 28px 0 rgba(198,133,69,0.11);
  border-color: var(--vintage-orange);
  background: #fbefd0;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
  }
}

/* =================== CONTACT INFO =================== */
.contact-cta { background: #FFF7D6; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  margin-top: 5px;
}
.contact-info li {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  gap: 8px;
  color: var(--vintage-brown);
  font-weight: 500;
  margin-bottom: 0;
  background: none;
}
.contact-info img {
  width: 22px; height: 22px; margin-right: 5px;
  filter: sepia(0.4) hue-rotate(-5deg) contrast(1.18);
}

/* =================== TABLE (for cennik) =================== */
table {
  background: #fffbe8;
  border: 2px solid var(--vintage-blue);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
}
th {
  background: var(--vintage-blue);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 2px solid #eabc76;
}
td {
  border-bottom: 1px solid #e6dda5;
  background: none;
  color: var(--primary);
  font-size: 1rem;
}
tr:last-child td {
  border-bottom: none;
}

/* =================== FOOTER =================== */
footer {
  background: #402B18;
  color: #fff4e1;
  padding: 28px 0 18px;
  font-size: 0.97rem;
  margin-top: 100px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a {
  color: var(--vintage-orange);
  padding: 6px 6px;
  border-radius: 5px;
  font-weight: 700;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover {
  background: var(--vintage-orange);
  color: #2C2216;
}
footer p {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  color: #fff4e1;
}

/* =================== COOKIE BANNER =================== */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #40352C;
  color: #fff4e1;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 100;
  padding: 20px 14px;
  box-shadow: 0 -3px 28px 0 rgba(70,50,20,0.11);
  width: 100vw;
  min-height: 45px;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.18s, visibility 0.18s;
}
.cookie-banner.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 9px 24px;
  background: var(--vintage-orange);
  color: #3B2218;
  border: none;
  border-radius: 24px;
  margin-left: 10px;
  margin-right: 2px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 7px rgba(0,0,0,0.09);
  transition: background 0.13s, color 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--vintage-red);
  color: #fff4e1;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 180;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,22,10,0.29);
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.24s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #FFF7D6;
  border-radius: 20px;
  box-shadow: 0 9px 35px rgba(52,30,10,0.16);
  padding: 36px 36px 24px 36px;
  max-width: 390px;
  width: 95vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: var(--vintage-orange);
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 13px;
  background: #e3dea5;
  position: relative;
  border: 1.5px solid #bfa060;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle[data-state="on"] {
  background: var(--vintage-green);
  border-color: var(--vintage-blue);
}
.cookie-toggle .toggle-dot {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(110,100,80,0.13);
  transition: left 0.18s, background 0.13s;
}
.cookie-toggle[data-state="on"] .toggle-dot {
  left: 18px;
  background: var(--vintage-blue);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px; right: 13px;
  background: none;
  border: none;
  color: var(--vintage-blue);
  font-size: 1.9rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 7px;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--vintage-orange);
  color: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 11px;
}
.cookie-modal-actions button {
  font-size: 1.01rem;
  padding: 10px 22px;
  border-radius: 24px;
  background: var(--vintage-blue);
  color: #fff;
  border: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 7px rgba(27,20,12,0.07);
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-actions .btn-accept {
  background: var(--vintage-orange);
  color: #2D1C08;
}
.cookie-modal-actions .btn-accept:hover {
  background: var(--primary);
  color: var(--vintage-orange);
}
.cookie-modal-actions .btn-save {
  background: var(--vintage-blue);
  color: #fff;
}
.cookie-modal-actions .btn-save:hover {
  background: var(--vintage-green);
  color: #302208;
}

/* =================== FORMS (Newsletter/contact etc.) =================== */
input, textarea {
  padding: 10px 15px;
  border-radius: 10px;
  border: 1.5px solid #e7dfc6;
  font-size: 1.02rem;
  background: #FFFDF3;
  color: var(--vintage-brown);
  margin-bottom: 17px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.16s;
}
input:focus, textarea:focus {
  border-color: var(--vintage-orange);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--primary);
}

/* =================== MICRO-INTERACTIONS =================== */
a, button, .btn-primary, .btn-secondary, input, textarea {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, border 0.16s;
}

/* =================== RESPONSIVE - MOBILE FIRST =================== */
@media (max-width: 991px) {
  .container { max-width: 95vw; }
  .content-wrapper { max-width: 95vw; }
  .section { margin-bottom: 38px; padding: 22px 6px; }
}
@media (max-width: 768px) {
  .container, .content-wrapper {
    width: 100vw;
    max-width: unset;
    padding: 0 2vw;
  }
  .hero, .testimonials, .section, .contact-cta {
    border-radius: 14px;
    padding: 14px 0;
  }
  .section { margin-bottom: 22px; }
  .feature-item, .card, .testimonial-card, .text-section {
    border-radius: 10px !important;
    padding: 10px 8px 9px 10px !important;
  }
}

/* =================== PRINTING POLISH TYPOGRAPHY DETAILS =================== */
h1, h2, h3, h4, h5, h6, p, ul, ol, th, td, span, blockquote {
  word-break: break-word;
}

/* =================== VINTAGE PATTERNS =================== */
.section {
  background-image: repeating-linear-gradient(135deg, transparent, transparent 48px, #fff0b3 52px, transparent 70px);
  background-blend-mode: lighten;
  background-clip: padding-box;
}

/* =================== THANK YOU PAGE & MODALS =================== */
.thank-you-section, .modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 30px;
  background: var(--light-yellow);
  border-radius: 20px;
  margin: 30px auto;
  box-shadow: var(--shadow);
}

/* =================== MISC - ACCESSIBILITY/CONTRAST =================== */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #181513 !important;
  background: #fffbe8 !important;
}
.testimonial-card strong {
  color: var(--vintage-blue);
}

/* =================== Z-INDEX FOR OVERLAY ELEMENTS =================== */
.mobile-menu { z-index: 51; }
.mobile-menu-close, .mobile-menu-toggle { z-index: 61; }
.cookie-banner { z-index: 1000; }
.cookie-modal-overlay { z-index: 1100; }

/* =================== SPACING AND ALIGNMENT PATTERNS =================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== ANIMATIONS ========== */
@media (prefers-reduced-motion: no-preference) {
  .card, .feature-item, .testimonial-card, .section, .hero, .btn-primary, .btn-secondary {
    transition: box-shadow 0.18s, border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s;
  }
  .card:hover, .feature-item:hover, .testimonial-card:hover, .btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px) scale(1.012);
    outline: none;
  }
}

/* DECO edges for vintage look (pseudo-elements) */
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: 12px; right: 18px;
  width: 26px; height: 14px;
  background: url('data:image/svg+xml;utf8,<svg width="26" height="14" xmlns="http://www.w3.org/2000/svg"><ellipse fill="%23ffa858" opacity="0.22" cx="13" cy="7" rx="13" ry="7"/></svg>') no-repeat center/contain;
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 768px) {
  .section::before { display: none; }
}

/* =================== END CSS =================== */
