/* CSS RESET & BASE STYLES */
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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
*, *::before, *::after { box-sizing: inherit; }
img { max-width: 100%; display: block; border-radius: 12px; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* BRAND & TYPOGRAPHY */
:root {
  --primary: #245279;
  --secondary: #F2F2F7;
  --accent: #FCC900;
  --accent-hover: #dbad00;
  --background: #fff;
  --card-bg: #FDF7EE;
  --shadow: 0 4px 24px rgba(36, 82, 121, 0.07);
  --shadow-lg: 0 8px 32px rgba(36, 82, 121, 0.13);
  --radius: 18px;
  --radius-lg: 30px;
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --font-color: #232323;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.27rem; margin-bottom: 13px; }
h4 { font-size: 1.11rem; }

p, li, label {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--font-color);
  font-family: var(--font-body);
  margin-bottom: 12px;
}
b { font-weight: bold; color: var(--primary); }

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1082px;
  padding: 0 22px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .text-section { padding: 18px 10px; }
}

/* FLEX SPACING REQUIREMENTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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: #fff9f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  max-width: 570px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(92deg, #FDF7EE 0%, #F2F2F7 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  padding: 56px 0 42px 0;
}
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero h1 { color: var(--primary); text-align: center; }
.hero p { text-align: center; margin-bottom: 32px; color: #36546d; font-size: 1.17rem; }

/* BUTTONS */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s, border 0.17s;
  box-shadow: 0 2px 8px rgba(245,206,123, 0.04);
  margin-right: 16px;
  margin-bottom: 6px;
}
.cta-primary {
  background: var(--accent);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 10px rgba(252,201,0,0.12);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent-hover);
  color: #17344d;
  box-shadow: 0 6px 18px 1px rgba(252,201,0,0.18);
  outline: none;
}
.cta-secondary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(36, 82, 121, 0.10);
  border: 2px solid var(--accent);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: #17344d;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 14px rgba(252,201,0,0.1);
  outline: none;
}
a:active {
  opacity: 0.86;
}

/* NAVIGATION */
header { background: #fff; box-shadow: var(--shadow); }
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  padding: 8px 15px;
  border-radius: 16px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: #17344d;
}
.main-nav .cta-primary {
  margin-left: 13px; margin-right: 0;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.15s, background 0.15s;
  z-index: 200;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  box-shadow: 0 2px 14px rgba(252,201,0,0.22);
}
@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 245, 228, 0.96);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.76,0,.24,1);
  z-index: 1111;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 0 18px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 19px; right: 19px;
  background: #fffdfa;
  border-radius: 50%;
  width: 38px; height: 38px;
  color: var(--primary);
  font-size: 1.67rem;
  z-index: 12;
  transition: box-shadow 0.14s, background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: #17344d;
  box-shadow: 0 2px 12px rgba(36,82,121,0.09);
}
.mobile-nav {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.16rem;
  padding: 13px 8px;
  border-radius: 18px;
  font-weight: 600;
  width: 100%;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #17344d;
}

@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* FEATURES GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
  margin-top: 10px;
}
.feature-grid > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 16px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 280px;
  gap: 7px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) scale(1.022);
}
.feature-grid img {
  width: 34px; height: 34px;
  margin-bottom: 9px;
}

/* REVIEWS & TESTIMONIALS */
.reviews-preview ul, .review-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0 20px 0;
}
.testimonials .testimonial-card {
  border-left: 7px solid var(--accent);
  background: #fff9f0;
  color: #234;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 24px;
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
}
.testimonials .testimonial-card span {
  margin-left: 16px;
  font-family: var(--font-body);
  color: var(--primary);
  opacity: 0.85;
  font-size: 0.99rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 520px) {
  .testimonials .testimonial-card { flex-direction: column; gap: 8px; }
  .testimonials .testimonial-card span { margin-left: 0; }
}

/* SECTIONS / CARDS / GRIDS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.newsletter-signup ul {
  margin: 13px 0 0 10px;
  padding: 0 0 0 17px;
  list-style: disc inside;
  font-size: 1rem;
}
.section {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--card-bg);
}

/* FILTER BUTTONS */
.store-filters {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  margin-top: 7px;
}
.store-filters span {
  font-weight: 600;
  margin-right: 6px;
  color: var(--primary);
}
.store-filters button {
  padding: 5px 14px;
  border-radius: 14px;
  background: #fffdf5;
  color: var(--primary);
  border: 2px solid var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  margin-right: 7px;
  transition: background 0.17s, border 0.15s;
}
.store-filters button:hover, .store-filters button:focus {
  background: var(--accent);
  border-color: var(--primary);
  color: #17344d;
}

/* FOOTER */
footer {
  background: #245279;
  color: #fff;
  padding: 46px 0 28px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 56px;
  box-shadow: 0 -2px 24px #e1ecf5ab;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-brand img {
  width: 135px;
  margin-bottom: 7px;
  filter: drop-shadow(0 1px 4px #fff2);
}
footer nav {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 5px;
}
footer nav a {
  color: #fff;
  opacity: 0.93;
  font-family: var(--font-display); 
  margin: 0 5px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
.footer-contact {
  font-family: var(--font-body);
  font-size: 0.98rem;
  opacity: 0.95;
  text-align: center;
}

/* RESPONSIVE FLEXBOX LAYOUTS */
@media (max-width: 991px) {
  .feature-grid { justify-content: center; }
}
@media (max-width: 768px) {
  .section { padding: 19px 5px; margin-bottom: 34px; }
  .feature-grid, .content-grid, .card-container { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 14px; }
  .hero { padding: 30px 0 30px 0; }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.1rem; }
  .card, .testimonial-card, .section { padding: 18px 7px; }
  .footer-brand img { width: 108px; }
  .footer-contact { font-size: 0.92rem; }
}

/* FORM ELEMENTS (for contact/feedback forms) */
input, textarea, select {
  border: 2px solid #efdfbe;
  border-radius: 11px;
  font-size: 1rem;
  padding: 10px 13px;
  margin-bottom: 14px;
  background: #fffdf5;
  font-family: var(--font-body);
  outline: none;
  width: 100%;
  box-shadow: var(--shadow);
  transition: border 0.18s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--accent);
  background: #fffae8;
}
label { display: block; margin-bottom: 4px; font-weight: 500; }

/* Cookie Consent Banner (fixed bottom) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: #ffeec5;
  color: #234;
  box-shadow: 0 -2px 24px #fde79f85;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 23px 10px 23px 10px;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookiePopIn 0.44s cubic-bezier(.23,1.18,.53,.98) both;
}
@keyframes cookiePopIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin: 0 7px;
  min-width: 120px;
  padding: 9px 16px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  transition: background 0.16s, color 0.14s;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 6px rgba(36,82,121, 0.10);
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  outline: none;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,82,121,0.18);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.33s cubic-bezier(.29,1.2,.68,.96) both;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fffdfa;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 66px rgba(36,82,121,0.16);
  padding: 34px 22px 28px 22px;
  max-width: 360px;
  min-width: 280px;
  font-size: 1rem;
  color: #234;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.14rem;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type='checkbox'] {
  width: 19px; height: 19px;
  border-radius: 6px;
  border: 2px solid var(--primary);
}
.cookie-always-on {
  color: #666;
  font-style: italic;
}
.cookie-modal-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-content button {
  font-family: var(--font-display);
  border-radius: 15px;
  padding: 7px 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  border: none;
  color: var(--primary);
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 18px;
  background: #fff;
  color: #245279;
  border-radius: 50%;
  width: 32px; height: 32px;
  border: 2px solid #eee2ad;
  font-size: 1.09rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent);
  color: #17344d;
}

/* Micro-interactions */
.card, .testimonial-card, .feature-grid > div,
.cta-primary, .cta-secondary {
  transition: box-shadow 0.17s, transform 0.15s, background 0.18s, color 0.13s, border 0.13s;
}
a, button { transition: color 0.18s, background 0.16s; }

/* ACCESSIBILITY & CONTRAST FIXES */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #222;
  background: #fff9f0;
}

.card *, .feature-grid *, .section * {
  word-break: break-word;
}

/* Hide visually on desktop, show on mobile */
@media (max-width: 991px) {
  .main-nav { display: none !important; }
}
/* Hide mobile nav for print */
@media print {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* General improvements & Details */
lhr {
  border: 0; height: 1px;
  background: #f7e7c4;
  margin: 20px 0;
}

/* Misc: spacing between all content blocks */
section + section, .section + .section,
.card + .card, .testimonial-card + .testimonial-card,
.feature-grid > div + div, ul li + li {
  margin-top: 16px;
}

/* Selection color */
::selection { background: #ffe6a7; color: #234; }

/* Scrollbar */
::-webkit-scrollbar {
  background: var(--secondary);
  width: 10px;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #eac871;
  border-radius: 7px;
}

/* END OF STYLE */
