/* ===== CSS RESET & NORMALIZATION ===== */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #FAF6EE;
  color: #2D2625;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: none;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  border-radius: 0;
  border: none;
  background: transparent;
}
:focus-visible {
  outline: 2px dashed #25496C;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #25496C;
}

/* ====== VINTAGE RETRO BRAND THEME COLORS & FONTS ====== */
:root {
  --primary: #25496C;
  --secondary: #FAFAFA;
  --accent: #19B571;
  --bg: #FCF3D6;
  --retro-orange: #EB6841;
  --retro-yellow: #F6C85F;
  --retro-brown: #A49377;
  --retro-beige: #FCF3E8;
  --retro-blue: #486B8B;
  --border: #E8DED0;
  --shadow: 0 2px 12px 0 rgba(149, 101, 52, 0.08);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ====== CONTAINER ====== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/****** HEADER STYLE ******/
header {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 98;
}
.header-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
  letter-spacing: 0.025em;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  width: 100%;
  border-radius: 2px;
  transform: translateY(4px);
  transition: opacity 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--retro-orange);
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  opacity: 1;
}

.cta-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--retro-orange);
  color: #fff;
  padding: 10px 28px;
  border-radius: 32px;
  margin-left: 16px;
  box-shadow: 0 5px 14px -7px #EB684133;
  border: 2px solid var(--retro-orange);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.12s;
  box-sizing: border-box;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 8px 24px -10px #19B57133;
}

.mobile-menu-toggle {
  display: none;
  background: var(--retro-orange);
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 4px 16px;
  margin-left: 12px;
  cursor: pointer;
  border: 2px solid var(--retro-orange);
  transition: background .15s, color .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}


/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--bg) 60%, var(--retro-yellow) 100%);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform .32s cubic-bezier(.97,.11,.37,.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 16px 20px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  border-radius: 50%;
  font-size: 2.3rem;
  line-height: 1;
  background: none;
  color: var(--primary);
  padding: 0 16px;
  margin-bottom: 8px;
  cursor: pointer;
  border: none;
  box-shadow: none;
  transition: background .15s, color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--retro-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: center;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  padding: 12px 0;
  border-radius: 12px;
  width: 100%;
  text-align: center;
  transition: background .14s, color .22s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}


/****** HERO SECTION ******/
.hero {
  background: repeating-linear-gradient(120deg, var(--retro-beige), var(--retro-yellow) 120px, var(--bg) 240px);
  padding: 60px 0 36px 0;
  margin-bottom: 60px;
  position: relative;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero h1 {
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  font-family: var(--font-display);
  text-shadow: 1px 2px 0 #E7CD87, 2px 4px 0 #FCF3E8;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.12rem;
  color: #3f392b;
}

/****** GENERAL SECTIONS & WRAPPERS ******/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}
h1, h2, h3 {
  margin-bottom: 12px;
}
h1 {
  font-size: 2.1rem;
}
h2 {
  font-size: 1.65rem;
  color: var(--retro-blue);
}
h3 {
  font-size: 1.18rem;
  color: var(--retro-orange);
}


/****** FLEX LAYOUTS PER PROJECT RULES ******/
.feature-grid, .product-cards, .news-teasers, .product-list, .team-list, .facts-grid, .feature-icons, .news-cards, .guide-cards, .promotion-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid li, .product-cards li, .news-teasers li, .product-list li, .team-list li, .facts-grid li, .feature-icons li, .news-cards li, .guide-cards li, .promotion-tiles li {
  background: #fffbe1;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px 20px;
  min-width: 220px;
  max-width: 380px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow .17s, transform .20s, border-color .17s;
}
.feature-grid li:hover,
.product-cards li:hover,
.news-teasers li:hover,
.product-list li:hover,
.team-list li:hover,
.facts-grid li:hover,
.feature-icons li:hover,
.news-cards li:hover,
.guide-cards li:hover,
.promotion-tiles li:hover {
  border-color: var(--retro-orange);
  box-shadow: 0 6px 24px -8px #EB684140;
  transform: scale(1.035);
}

/* Card Images/Icon Styles */
.feature-grid img,
.facts-grid img,
.feature-icons img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

/****** PROMOTIONS ******/
.promotion-tiles li {
  border: 2px dashed var(--retro-brown);
  background: #faf3db;
  position: relative;
  box-shadow: 0 8px 32px -8px #EB684128;
  min-width: 240px;
  font-size: 1rem;
}
.discount-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--retro-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.18rem;
  border-radius: 16px 16px 16px 0;
  padding: 6px 16px;
  box-shadow: 0 2px 6px #EB684123;
}
.limited-time-note {
  font-size: 0.98rem;
  color: var(--retro-blue);
  font-style: italic;
}

/****** CATEGORY FILTERS, SORT-OPTIONS ******/
.category-filters, .sort-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0 0 16px 0;
}
.category-filters span, .sort-options span {
  font-family: var(--font-display);
  color: var(--retro-blue);
  font-weight: 600;
  margin-right: 10px;
}
.category-filters a, .sort-options a {
  background: #fff6e1;
  padding: 5px 16px;
  border-radius: 14px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  transition: background .18s, color .14s;
}
.category-filters a:hover, .sort-options a:hover{
  background: var(--accent);
  color: #fff;
}

/****** SEARCH BAR FOR GUIDES ******/
.search-bar {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.search-bar input {
  flex: 1 1 200px;
  font-size: 1.08rem;
  padding: 12px 18px;
  border: 1.7px solid var(--border);
  border-radius: 18px;
  background: #fff;
  color: var(--retro-brown);
}
.search-bar input:disabled {
  background: #F3EDE2;
  opacity: .55;
  cursor: not-allowed;
}

/****** SOCIAL ICONS (FOOTER/CONTACT) ******/
.footer-social, .social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 10px 0;
}
.footer-social a, .social-links a {
  border-radius: 50%;
  background: var(--retro-beige);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .14s, box-shadow .13s, transform .12s;
}
.footer-social a:hover, .social-links a:hover {
  background: var(--accent);
  box-shadow: 0 4px 14px -8px #19B57155;
  transform: scale(1.13);
}

/****** TEXT-IMAGE SECTION ******/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/****** TESTIMONIALS ******/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 36px -12px #25496C36, var(--shadow);
  border: 1.5px solid var(--retro-yellow);
  padding: 24px 34px 16px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 350px;
  transition: box-shadow .16s, border .13s, transform .10s;
}
.testimonial-card p {
  color: #2D2625;
  font-family: var(--font-body);
  font-size: 1.09rem;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--retro-brown);
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: var(--accent);
  box-shadow: 0 12px 32px -11px #19B57144;
  transform: scale(1.025);
}

/****** FACTS & FEATURES LAYOUTS ******/
.feature-icons {
  gap: 32px;
}
.feature-icons li {
  min-width: 220px;
}

/****** CTA SECTION ******/
.cta {
  margin-bottom: 0;
  padding-top: 50px;
  padding-bottom: 50px;
  background: repeating-linear-gradient(135deg, var(--retro-yellow) 0 90px, var(--retro-orange) 90px 170px);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.cta h2 {
  color: var(--primary);
  font-size: 1.82rem;
  text-shadow: 1px 2px 0 #FFD58144;
}

/****** FOOTER ******/
footer {
  background: var(--bg);
  border-top: 2px solid var(--border);
  margin-top: 54px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 44px 0 24px 0;
}
.footer-nav > img {
  margin-bottom: 20px;
  max-width: 160px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  padding: 4px 0;
  transition: color .17s;
}
.footer-nav nav a:hover {
  color: var(--retro-orange);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.99rem;
  color: #68634c;
}
.footer-contact img {
  width: 18px; height: 18px; vertical-align: middle; margin-right: 7px;
  opacity: 0.74;
}
.footer-copy {
  text-align: center;
  color: #766F65;
  padding-bottom: 20px;
  padding-top: 12px;
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
}

/****** MISC LAYOUTS ******/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
}
.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;
}

/****** TEXT HIERARCHY *******/
p, li {
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: #453C38;
  line-height: 1.7;
}
strong, b {
  color: var(--primary);
  font-weight: 700;
}
small {
  font-size: 0.93rem !important;
  color: var(--retro-brown)!important;
}

/****** MODALS & FIXED COMPONENTS ******/
/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1201;
  background: var(--retro-yellow);
  color: #2D2625;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -2px 16px #A4937737;
  padding: 18px 24px;
  min-height: 64px;
  transition: transform .37s cubic-bezier(.71,.17,.29,.86);
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-banner__msg {
  flex: 1 1 200px;
  font-size: 1.03rem;
  color: #2D2625;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 8px 22px;
  border-radius: 14px;
  border: 2px solid var(--accent);
  font-size: 1.01rem;
  cursor: pointer;
  transition: background .14s, color .14s, border .12s, transform .10s;
  margin-left: 0;
  outline: none;
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--retro-orange);
  border-color: var(--retro-orange);
}
.cookie-btn.settings {
  background: var(--retro-brown);
  color: #fff;
  border-color: var(--retro-brown);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro-orange);
  color: #fff;
  border-color: var(--retro-orange);
  transform: scale(1.05);
}
.cookie-banner__actions .cookie-btn.settings:hover,
.cookie-banner__actions .cookie-btn.settings:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1300;
  inset: 0;
  background: rgba(39,36,29,.23);
  backdrop-filter: blur(2px);
  animation: fadeInBg .25s;
}
@keyframes fadeInBg { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  position: fixed;
  left: 50vw;
  top: 48vh;
  z-index: 1301;
  background: #fffbe1;
  border-radius: 24px;
  box-shadow: 0 8px 40px -8px #A4937755;
  padding: 36px 34px;
  min-width: 320px;
  max-width: 94vw;
  transform: translate(-50%, -50%) scale(1);
  animation: popInModal .17s;
  border: 2.5px solid var(--retro-yellow);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes popInModal {
  from { transform:translate(-50%, -50%) scale(.92); opacity:0; }
  to   { transform:translate(-50%, -50%) scale(1); opacity:1; }
}
.cookie-modal__close {
  position: absolute;
  right: 22px; top: 18px;
  font-size: 2.2rem;
  background: none; color: var(--retro-orange);
  cursor: pointer;
  border: none;
  border-radius: 50%;
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.17rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.cookie-cat-row label {
  font-family: var(--font-body);
  font-size: 1.09rem;
  color: #554433;
  font-weight: 600;
}
.cookie-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-switch {
  width: 44px;
  height: 24px;
  border-radius: 16px;
  background: #E7CD87;
  position: relative;
  margin-left: 0.5em;
  transition: background .17s;
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-switch {
  background: var(--accent);
}
.cookie-switch::before {
  content: '';
  display: block;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: transform .19s;
  box-shadow: 0 1.5px 6px #A4937755;
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-switch::before {
  transform: translateX(20px);
}
.cookie-cat-row .cookie-lock {
  color: #B8995E;
  font-size: 1.16rem;
}

/****** PAGE RESPONSIVENESS ******/
@media (max-width: 1100px) {
  .footer-nav, .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .footer-nav {
    flex-wrap: wrap;
    gap: 18px 8vw;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .header-flex {
    flex-wrap: wrap;
    gap: 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 24px;
  }
  .section {
    margin-bottom: 38px;
    padding: 32px 0 24px 0;
  }
  .content-wrapper, .feature-grid, .product-cards, .news-teasers, .product-list, .team-list, .facts-grid, .feature-icons, .news-cards, .guide-cards, .promotion-tiles, .testimonial-slider, .content-grid {
    flex-direction: column;
    gap: 16px !important;
    align-items: stretch;
  }
  .feature-grid li, .product-cards li, .news-teasers li, .product-list li, .team-list li, .facts-grid li, .feature-icons li, .news-cards li, .guide-cards li, .promotion-tiles li, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 32px 0 12px 0;
  }
  .footer-nav > img {
    max-width: 120px;
    margin-bottom: 6px;
  }
  .cta {
    padding-top: 28px;
    padding-bottom: 30px;
  }
  .testimonial-card {
    padding: 14px 14px 10px 14px;
  }
  .cookie-modal {
    padding: 22px 8vw;
  }
}

/************** ANIMATIONS & MICROINTERACTIONS **************/
a, .cta-btn, .footer-nav nav a, .main-nav a, .mobile-nav a, .category-filters a, .sort-options a {
  transition: background .14s, color .14s, border .12s, transform .11s;
}
li, .card, .testimonial-card, .feature-icons li, .feature-grid li {
  transition: box-shadow .17s, transform .19s, border-color .14s;
}

/******* VINTAGE RETRO PATTERN DECORATIONS *******/
body {
  background: repeating-linear-gradient(135deg, #FCF3E8 0 130px, #FAF6EE 130px 240px);
}
.hero:before {
  content: '';
  position: absolute;
  bottom: -18px;
  right: 0;
  width: 112vw;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg width='100%' height='48' fill='none' viewBox='0 0 1420 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23E7CD87' fill-opacity='0.6' d='M0 21c273-18 377 49 711 25s401-48 707-34v36H0V21z'/%3E%3C/svg%3E");
  z-index: 0;
}

/******* TYPOGRAPHY SCALE ******/
h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.16rem;
  margin-bottom: 6px;
}
@media (min-width: 900px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.26rem; }
}

/****** UTILITIES & EXTRAS ******/
.last-updated-date {
  display: block;
  font-size: 0.95rem;
  color: var(--retro-brown);
  margin-top: 24px;
}
.acceptance-note {
  margin-top: 20px;
  color: var(--accent);
}

/****** ACCESSIBILITY ******/
[tabindex='0'], a, button {
  outline-color: var(--retro-orange);
  outline-width: 2px;
  outline-style: none;
}
:focus-visible {
  outline-style: dashed;
  outline-width: 2px;
}

/****** PRINT STYLES ******/
@media print {
  header, .main-nav, .footer-nav, .footer-social, .cookie-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
}

/****** HIDE ELEMENTS ONLY VISUALLY ******/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  pointer-events: none;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
