/* ---- 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, hgroup, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F6F2;
  color: #2B2B2B;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; background: none; border: none; outline: none; }

/* ---- FONT DEFINITIONS ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --color-primary: #294A70;
  --color-secondary: #F7F6F2;
  --color-accent: #E7B55B;
  --color-dark: #2B2B2B;
  --color-light: #FFF;
  --color-gray: #ccc;
  --color-muted: #888;
  --shadow-card: 0 3px 16px rgba(41,74,112,.07), 0 0.5px 2px rgba(41,74,112,.08);
  --radius-main: 16px;
  --radius-btn: 28px;
  --font-display: 'Montserrat', 'Arial Narrow Bold', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-secondary);
  color: var(--color-dark);
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  /* vintage style: add a subtle pattern */
  /*background-image: url('assets/retro-pattern.png'); background-repeat: repeat;*/
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.15;
  /* Subtle text outline for retro effect */
  text-shadow: 2px 1px 0 #E7B55B, 4px 2px 0 #FFF7E2;
  /* soft drop shadow accent for nostalgia */
}
h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 1px 1px 0 #FFF7E2;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}
h4 { font-size: 1.1rem; font-weight: 700; }

p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
}
strong { color: var(--color-primary); font-weight: 700; }

.text-section {
  max-width: 740px;
}

ul {
  padding-left: 20px;
  list-style: disc inside;
}
li {
  margin-bottom: 10px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 8px rgba(231,181,91,0.18);
  border: 2px solid var(--color-primary);
  transition: background .18s, color .18s, box-shadow .2s;
  letter-spacing: 0.08em;
  margin-top: 14px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 3px 16px rgba(41,74,112,0.19);
  text-decoration: none;
  outline: none;
}

/* ---- LINKS ---- */
a { transition: color .17s, text-decoration .14s; }
a:hover, a:focus { color: var(--color-accent); text-decoration: underline; }

/* ---- HEADER & NAVIGATION ---- */
header {
  background: var(--color-light);
  padding: 0 0 16px 0;
  box-shadow: 0 1px 8px rgba(41,74,112,0.08);
  position: relative;
  z-index: 200;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 18px 0 6px 0;
  font-family: var(--font-display);
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.main-nav a {
  padding: 7px 9px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.04rem;
  transition: background .15s, color .17s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.main-nav .btn-primary {
  margin-left: auto;
  margin-right: 0;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  position: absolute;
  right: 24px;
  top: 20px;
  z-index: 205;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(41,74,112,0.12);
  transition: background .17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* -- MOBILE MENU -- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-secondary);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(0.4,0,0.2,1);
  z-index: 3000;
  box-shadow: 4px 0 30px rgba(41,74,112,.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 2.2rem;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 24px 0 0 20px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 3100;
  box-shadow: 0 1px 5px rgba(41,74,112, .12);
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 42px 0 0 20px;
  width: 80vw;
  max-width: 320px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 800;
  padding: 9px 0;
  border-radius: 2px;
  transition: background .14s, color .14s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: #fff7e2;
}

/* ---- HERO SECTION ---- */
.hero-section {
  background: linear-gradient(135deg, #fbeada 0%, #e7b55b22 100%);
  border-bottom: 6px solid var(--color-accent);
  position: relative;
  margin-bottom: 0;
  padding: 0 0 38px 0;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero-section .content-wrapper {
  padding: 60px 0 24px 0;
  align-items: flex-start;
  gap: 26px;
}
.hero-section h1 {
  color: var(--color-primary);
  margin-bottom: 8px;
  text-shadow: 2px 2px #fff;
}
.hero-section p {
  color: var(--color-primary);
  font-size: 1.12rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

/* ---- CARD, FEATURE, SECTION LAYOUTS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 260px;
}
.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;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff8e3;
  border: 2px solid var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(231,181,91,.08);
  padding: 28px 22px 22px 22px;
  max-width: 260px;
  min-width: 205px;
  flex: 1 1 210px;
  transition: box-shadow .16s, transform .13s;
  position: relative;
}
.feature-item img {
  height: 48px; width: 48px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 24px rgba(41,74,112,0.16);
  transform: translateY(-7px) scale(1.025);
  z-index: 2;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 24px 0 0 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
  background: #fff7e2;
  border-radius: 18px;
  border: 2px solid var(--color-accent);
  box-shadow: 0 3px 18px rgba(231,181,91,0.12);
  font-size: 1.05rem;
  color: #2B2B2B;
  min-width: 260px;
  max-width: 320px;
  flex: 1 1 250px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}
.testimonial-card strong {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-dark);
  font-weight: 600;
}

/* ---- PRICING TABLE ---- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(41,74,112,0.04);
  overflow: hidden;
  margin-bottom: 18px;
}
.pricing-table th, .pricing-table td {
  padding: 18px 18px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--color-primary);
}
.pricing-table th {
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 900;
}
.pricing-table tr { border-bottom: 2px solid #f4e3c0; }
.pricing-table tr:last-child { border-bottom: none; }
.pricing-table td {
  font-weight: 500;
  background: #fff8e3;
}

/* ---- CTA (Call to Action) Section ---- */
.cta {
  background: linear-gradient(90deg, #fbeada 2%, #fff7e2 90%);
  border-radius: var(--radius-main);
  box-shadow: 0 4px 20px rgba(231,181,91,.11);
  border: 2px dashed var(--color-accent);
  margin: 48px 0 0 0;
  padding: 36px 20px 40px 20px;
  text-align: left;
}
.cta .btn-primary { margin-top: 20px; }

/* ---- FAQ / ACCORDION ---- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 18px 0;
  width: 100%;
  max-width: 800px;
}
.faq-accordion h3 {
  font-size: 1.24rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  cursor: pointer;
}
.faq-accordion p {
  padding-left: 10px;
  color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  background: #fff5dc;
  border-radius: 6px;
  margin-top: 5px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 44px 0 22px 0;
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 7px;
  justify-content: center;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  text-shadow: 1px 1px #294A70;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff5dc;
}
.mini-contact {
  text-align: center;
  margin: 0 auto 10px auto;
  color: #fff;
  font-family: var(--font-body);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  margin-top: 6px;
}
.social-links img {
  width: 32px; height: 32px;
  filter: grayscale(.1) drop-shadow(0 1px 1px #fff7e2);
  opacity: .94;
  transition: opacity .18s, transform .16s;
  cursor: pointer;
}
.social-links img:hover {
  opacity: 1;
  transform: scale(1.08) rotate(-6deg);
}

/* ---- CONTACT PAGE ICONIZED LIST ---- */
.content-wrapper ul li img {
  vertical-align: middle;
  margin-right: 11px;
  height: 24px;
  width: 24px;
}

/* ---- MOBILE RESPONSIVE MEDIA QUERIES ---- */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  .feature-grid, .testimonials {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .mobile-menu { display: flex; }
  .content-grid, .feature-grid, .card-container, .testimonials {
    flex-direction: column;
    align-items: stretch;
  }
  .content-wrapper { padding: 0; }
  .section, .cta { padding: 28px 8px; }
  .hero-section .content-wrapper { padding: 28px 0 14px 0; }
  .feature-item, .testimonial-card, .card {
    min-width: 0; max-width: 100%;
  }
  .testimonials { margin: 14px 0 0 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.14rem; }
  .hero-section .content-wrapper { padding: 15px 0; }
}

/* ---- FOCUSED RETRO STYLE DECORATIVE TOUCHES ---- */
.section, .card, .feature-item, .testimonial-card, .cta,
.pricing-table, .faq-accordion p {
  /* Retro border, subtle pattern repeat (if desired) */
  /* background-image: url('assets/retro-dots.png'); background-repeat: repeat; */
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff8e3;
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 -2px 10px rgba(41,74,112,0.09);
  z-index: 5000;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 14px 22px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  animation: bannerFadeIn .6s cubic-bezier(0.4,0,0.2,1);
  transition: bottom .25s;
}
@keyframes bannerFadeIn {
  from { bottom: -100px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: 2px solid var(--color-accent);
  color: var(--color-primary);
  background: var(--color-accent);
  margin-right: 4px;
  margin-top: 7px;
  transition: background .16s, color .16s, box-shadow .14s;
}
.cookie-banner .cookie-acceptall {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .cookie-rejectall {
  background: #fff7e2;
  color: var(--color-primary);
}
.cookie-banner .cookie-settings {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 2px 12px rgba(231,181,91,0.13);
}

/* ---- COOKIE SETTINGS MODAL ---- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41,74,112,0.35);
  align-items: center;
  justify-content: center;
  transition: background .24s;
  animation: modalOverlay .23s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes modalOverlay { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff8e3;
  border-radius: 18px;
  max-width: 400px;
  width: 90vw;
  padding: 34px 25px 28px 25px;
  box-shadow: 0 8px 44px rgba(41,74,112,.15);
  border: 2px solid var(--color-accent);
  font-family: var(--font-body);
  color: var(--color-dark);
  flex-direction: column;
  display: flex;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: var(--color-dark);
}
.cookie-modal input[type=checkbox] {
  appearance: none;
  width: 22px; height: 22px;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: background .14s, border .13s;
}
.cookie-modal input[type=checkbox]:checked {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-modal input[type=checkbox]:checked:after {
  content: '\2714';
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 4px;
  top: 1px;
}
.cookie-modal .cookie-category {
  margin-bottom: 14px;
}
.cookie-modal .cookie-actions {
  display: flex; flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
  align-items: center;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 18px; top: 13px;
  background: #fff7e2;
  color: var(--color-primary);
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.4rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background .17s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: var(--color-accent);
  color: var(--color-dark);
}
.cookie-modal .cookie-category-essential label {
  opacity: 0.66;
  font-style: italic;
}
.cookie-modal .cookie-category-essential input[type=checkbox] {
  pointer-events: none;
}

/* ---- UTILITIES ---- */
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }

/* ---- RETRO PATTERNS & SHAPES (decorative only) ---- */
/* Example for nostalgic strip: add as extra div in markup if needed */
.retro-bar {
  width: 100%; height: 9px;
  background: repeating-linear-gradient(90deg, #E7B55B, #E7B55B 20px, #fff7e2 20px, #fff7e2 40px);
}

/* ---- END OF CSS ---- */
