/* 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, 
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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4ECD8; /* softly muted parchment for vintage feel */
  color: #254669;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  padding-left: 1.4em;
}
ul { list-style: disc inside; }
ol { list-style: decimal inside; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.2rem;
  color: #254669;
  margin-bottom: 18px;
  font-weight: 700;
  text-shadow: 1px 2px 0 #D6E7F2;
}
h2 {
  font-size: 1.6rem;
  color: #254669;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 1px 2px 0 #ebe2c1;
}
h3, h4 {
  font-size: 1.25rem;
  color: #254669;
  font-weight: 600;
}
p, li, blockquote {
  font-size: 1rem;
  color: #254669;
}
blockquote {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.1rem;
  border-left: 4px solid #F7893B;
  padding-left: 18px;
  margin-bottom: 12px;
  background: #fff6ec;
}
strong { font-weight: 700; color: #dd6a1b; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.address-text, .contact-info {
  font-size: 1.05rem;
  background: #fcf6ea;
  border-left: 3px dashed #F7893B;
  margin: 10px 0 20px 0;
  padding: 8px 14px 8px 18px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* =========== HEADER & NAVIGATION =========== */
header {
  background: #fff8f0 url('../assets/pattern-retro-paper.svg') repeat center top;
  border-bottom: 4px solid #f7d17c;
  box-shadow: 0 2px 12px 0 rgba(36, 51, 79, 0.08);
  font-family: 'Montserrat', Arial, sans-serif;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 4px;
  color: #254669;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav a.cta {
  background: #F7893B;
  color: #fff;
  border-radius: 24px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(215,119,51,0.14);
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #e3d4c5;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #dd6a1b;
  color: #fff3ed;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #254669;
  cursor: pointer;
  margin-left: 16px;
  border-radius: 8px;
  padding: 6px 10px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f4ecd8;
}

/* =========== MOBILE MENU =========== */
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #fff6ec;
  box-shadow: 0 4px 24px 0 #93754744;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.45,1.65,.57,1), opacity 0.15s;
  padding: 0 0 32px 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  margin: 22px 28px 0 0;
  color: #AF580E;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 8px;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f1d7b6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin: 34px 0 0 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.16rem;
  color: #254669;
  background: none;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.14s;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #f9dbb3;
  color: #dd6a1b;
}

/* =========== HERO SECTION =========== */
.hero {
  background: #ffeecd;
  background-image: url('../assets/pattern-retro-sunburst.svg');
  background-repeat: repeat-x;
  background-position: top center;
  border-bottom: 3px solid #f7d17c;
  margin-bottom: 60px;
  padding: 40px 0;
}
.hero .container {
  justify-content: flex-start;
}
.hero .content-wrapper {
  max-width: 650px;
  margin: 0 auto;
  align-items: center;
  padding-top: 22px;
  gap: 22px;
  text-align: center;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #AF580E;
  text-shadow: 1px 3px 0 #ffe3a0;
  font-size: 2.6rem;
  letter-spacing: 0.5px;
}
.hero p {
  color: #254669;
  font-size: 1.09rem;
  margin-bottom: 14px;
}

/* =========== GENERAL SECTIONS =========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff6ec;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(50, 35, 23, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(55, 32, 18, 0.18);
  transform: translateY(-3px) scale(1.01);
}
.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;
}

/* --- FEATURES & GRIDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  list-style: none;
  margin-top: 18px;
}
.feature-grid li {
  display: flex;
  align-items: center;
  background: #fffaf5;
  border-radius: 24px;
  padding: 10px 20px 10px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  box-shadow: 0 1px 4px #e5cfa055;
  gap: 14px;
}
.feature-grid img {
  width: 24px; height: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========== TESTIMONIALS =========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #fffefb;
  border: 1.5px solid #efd49a;
  box-shadow: 0 1px 14px 0 #dfa75521;
  margin-bottom: 22px;
  flex-wrap: wrap;
  color: #254669;
  font-size: 1.1rem;
}
.testimonial-card blockquote {
  flex: 1 1 220px;
  margin: 0;
  padding: 0 14px 0 0;
  border: none;
  background: none;
}
.testimonial-card > div {
  font-size: 1rem;
  color: #AF580E;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-left: 1px;
}

/* =========== BUTTONS & CTA =========== */
.cta,
button.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  color: #fff;
  background: #F7893B;
  border: none;
  border-radius: 32px;
  padding: 11px 32px;
  margin-top: 18px;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px 0 #f7893b23;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
}
.cta:hover, .cta:focus {
  background: #AF580E;
  color: #fff1e0;
  box-shadow: 0 8px 22px 0 #AF580E33;
  transform: translateY(-2px) scale(1.02);
}

/* =========== FOOTER =========== */
footer {
  background: #254669;
  color: #fff8f0;
  padding: 38px 0 20px 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
footer .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
footer nav a {
  color: #ffeecd;
  text-decoration: underline;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  background: #F7893B;
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: #fde8c5;
}
.footer-brand img {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: #F7893B;
  padding: 4px;
}

/* =========== TABLE & FAQ STYLES =========== */
.product-table {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 23px 0;
}
.product-table > div {
  flex: 1 1 180px;
  min-width: 130px;
  padding: 9px 18px 9px 0;
  border-bottom: 1px dotted #d2b883;
  font-size: 1rem;
  color: #4B3753;
}
.product-table > div:nth-child(-n+3) {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F7893B;
  background: #f6ebd4;
}

.mini-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fffaf7;
  border-radius: 11px;
  border: 1px solid #edd59e;
  padding: 16px 22px;
  margin-bottom: 18px;
}
.mini-faq-list div {
  color: #4B3753;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion h3 {
  margin-bottom: 5px;
  font-size: 1.07rem;
  color: #254669;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-accordion > div > div {
  color: #4B3753;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff8f0;
  padding: 6px 16px;
  border-radius: 6px;
}

.policy-links {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.97rem;
  flex-wrap: wrap;
}
.policy-links a {
  color: #AF580E;
  text-decoration: underline;
  font-weight: 500;
}

/* =========== CONTACT & SUPPORT CTA =========== */
.contact-cta, .cta-section, .support-cta {
  background: #fcf6ea;
  border-radius: 20px;
  box-shadow: 0 2px 12px #e7ba7233;
  border: 1px solid #edd59e;
}
.contact-cta .cta, .cta-section .cta, .support-cta .cta {
  margin-top: 16px;
}
.contact-snippet {
  background: #fffffb;
  border-left: 4px solid #F7893B;
  color: #254669;
  padding: 9px 16px;
  font-size: 1rem;
  border-radius: 7px;
  margin-bottom: 9px;
  box-shadow: 0 1px 6px #dec8962d;
  font-family: 'Roboto', Arial, sans-serif;
}

/* =========== MODALS & BANNERS =========== */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #fff7e8;
  color: #254669;
  padding: 20px 24px 18px 24px;
  box-shadow: 0 -5px 30px #5834101a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-top: 3.5px solid #F7893B;
  animation: slidein-banner 0.42s;
}
@keyframes slidein-banner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 18px;
  border-radius: 24px;
  font-size: 1rem;
  margin-right: 8px;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s, transform 0.12s;
  box-shadow: 0 1px 6px #f2d0b03a;
}
.cookie-banner .accept {
  background: #F7893B;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #dd6a1b;
  color: #fff1e6;
  transform: translateY(-1px);
}
.cookie-banner .reject {
  background: #D6E7F2;
  color: #254669;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #bcd1e3;
}
.cookie-banner .settings {
  background: #fffaf4;
  color: #dd6a1b;
  border: 1.5px solid #F7893B;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #ffe3a0;
}

.cookie-modal {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37, 70, 105, 0.13);
  animation: fadein-modal 0.35s;
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  margin: auto;
  background: #fff7e8;
  border-radius: 20px;
  box-shadow: 0 8px 40px #af580e1a;
  padding: 39px 35px 33px 35px;
  width: 96%;
  max-width: 410px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.33rem;
  color: #AF580E;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 21px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type='checkbox'] {
  accent-color: #F7893B;
  width: 18px; height: 18px;
}
.cookie-category .always-on {
  color: #678699;
  font-size: 0.9em;
  margin-left: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 13px;
  font-size: 1.47rem;
  background: none;
  border: none;
  color: #dd6a1b;
  cursor: pointer;
  border-radius: 6px;
  padding: 0 7px;
  transition: background 0.13s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #ffe3a0;
}
.cookie-modal-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

/* =========== SPACING, CARDS & EFFECTS =========== */
.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; }

/* ---- General icons ---- */
img[alt*='star'], img[alt*='stele'] {
  filter: sepia(0.6) hue-rotate(-20deg) brightness(1.2) contrast(1.2);
}

/* =========== RESPONSIVE (Mobile-First) =========== */
@media (max-width: 1020px) {
  .hero .content-wrapper {
    padding-top: 8px;
  }
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  footer .container { gap: 10px; }
  .content-wrapper { gap: 12px; }
  .section, section { padding: 28px 6px; }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; gap: 11px; padding: 13px 10px; }
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  section, .section { padding: 24px 2px; margin-bottom: 42px; }
  .hero .content-wrapper {
    padding-top: 2px;
    font-size: 0.96em;
    text-align: left;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 14px 9px;
    align-items: flex-start;
  }
  .mini-faq-list,
  .faq-accordion {
    padding: 8px 0px;
    gap: 10px;
  }
  .product-table {
    flex-direction: column;
  }
  .footer-brand {
    flex-direction: row;
    gap: 6px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.1rem; }
  .hero .content-wrapper { padding: 0 3px; }
  .container { padding-left: 3px; padding-right: 3px; }
  .card, .testimonial-card {
    padding: 11px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    padding: 10px 7px 8px 10px;
    font-size: 0.9rem;
  }
  .cookie-modal-content { padding: 22px 8px 18px 8px; }
}

/* =========== ANIMATIONS =========== */
.cta, button.cta, .mobile-nav a, .cookie-banner .btn {
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
}
.card, .testimonial-card, .feature-grid li {
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .feature-grid li:hover,
.mini-faq-list div:hover, .testimonial-card:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 6px 22px #66646322;
}

::-webkit-scrollbar { width: 8px; background: #f4ecd8; }
::-webkit-scrollbar-thumb { background: #efd49a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #F7893B; }

/* =========== ACCENT PATTERNS =========== */
body {
  background-image: url('../assets/pattern-small-dots-retro.svg');
  background-repeat: repeat;
}

/* =========== PRINT / SELECTION =========== */
::selection {
  background: #F7893B;
  color: #fff;
}

/* =========== ACCESSIBILITY =========== */
:focus {
  outline: 2px dashed #F7893B;
  outline-offset: 2px;
}

/* ============ Vintage Fonts Fallback ============ */
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.gstatic.com/s/montserrat/v25/JTURjIg1_i6t8kCHKm45_bZF3gnD-w.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Me4mxM.ttf') format('truetype');
  font-weight: 100 700;
  font-style: normal;
}

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