/* ==========================================================
   CSS RESET & NORMALIZE
========================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
body {
  background: #fff;
  color: #1a232f;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #14213d;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h1 {font-size: 2.5rem;}
h2 {font-size: 2rem;}
h3 {font-size: 1.25rem;}
h4 {font-size: 1.125rem;}
h5,h6 {font-size:1rem;}
p, ul, ol { margin-bottom: 16px; }
a {
  color: #fca311;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #cc8010;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: inline-block;
  border-radius: 8px;
}
ul, ol {
  padding-left: 20px;
}
li {margin-bottom: 10px;}
strong {font-weight: bold; color: #14213d;}
em {font-style: italic;}

/* ==========================================================
   BRAND COLORS & VARIABLES
========================================================== */
:root {
  --color-primary: #14213d;
  --color-secondary: #fca311;
  --color-accent: #e5e5e5;
  --color-bg-light: #fffdfa;
  --color-bg-card: #fff6eb;
  --color-tertiary: #ffcc96;
  --color-shadow: rgba(20,33,61,0.08);
  --color-text: #1a232f;
  --color-success: #18ba68;
  --color-danger: #ee4444;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 32px;
}

/* ==========================================================
   BASE LAYOUT
========================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================
   MAIN HEADER & NAV
========================================================== */
header {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-accent);
  width: 100%;
  z-index: 25;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 70px;
}
header a img {
  height: 42px;
  border-radius: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 16px;
  color: var(--color-primary);
  border-radius: var(--radius-s);
  font-weight: 500;
  transition: background 0.16s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-tertiary);
  color: var(--color-secondary);
}
.cta-primary {
  background: var(--color-secondary);
  color: #fff !important;
  font-weight: bold;
  border-radius: var(--radius-m);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 10px 26px !important;
  transition: background 0.17s, color 0.17s, box-shadow 0.22s;
  margin-left: 12px;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #d88704;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(252,163,17,0.13);
}

header .mobile-menu-toggle {
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-m);
  border: none;
  font-size: 1.9rem;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px var(--color-shadow);
}
header .mobile-menu-toggle:hover,
header .mobile-menu-toggle:focus {
  background: #d88704;
}

/* =========================================
MOBILE NAVIGATION - Hamburger Menu System
========================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20, 33, 61, 0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 62px;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.97,.12,.13,.93);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: var(--radius-m);
  position: absolute;
  top: 20px; right: 28px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #cc8010;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 20px 40px;
  width: 100%;
  margin-top: 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 0;
  border-radius: var(--radius-s);
  transition: background 0.16s, color 0.18s;
  display: block;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(252,163,17,0.07);
}

/* Hide nav for mobile */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

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

/* ==========================================================
   SECTIONS & LAYOUT SPACING - MANDATORY
========================================================== */
section {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-m);
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 32px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 6px 26px rgba(252,163,17,0.10);
}
.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 {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 2px 18px var(--color-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-top: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px rgba(20,33,61,0.18);
  transform: translateY(-4px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================
   GENERAL CARD STYLES & VISUAL ELEMENTS
========================================================== */
.card, .testimonial-card {
  border-radius: var(--radius-m);
  box-shadow: 0 2px 12px var(--color-shadow);
  background: #fffdfa;
}

.card h3, .testimonial-card h3, .testimonial-card strong {
  color: var(--color-primary);
}

.card em {
  color: var(--color-secondary);
}

/* Enhanced visuals for testimonial cards (for contrast) */
.testimonial-card {
  background: #fffdfa;
  box-shadow: 0 4px 24px rgba(252,163,17,0.09);
  color: #1a232f;
}
.testimonial-card p {
  color: #1a232f;
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-weight: bold;
  color: var(--color-secondary);
}

/* List Styles */
ul li, ol li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}
/* Remove icon bullets when inside list with img start */
ul li > img:first-child {
  margin-right: 8px;
  margin-left: -18px;
  vertical-align: middle;
}
ul li > img:first-child ~ * {
  vertical-align: middle;
}

/* For ordered lists: custom number */
ol li {
  list-style: decimal inside;
  padding-left: 0;
}
ol li::before {
  display: none;
}

/* ==========================================================
   FOOTER
========================================================== */
footer {
  background: var(--color-primary);
  color: #fff;
  width: 100%;
  margin-top: 60px;
}
footer section {
  padding: 36px 0 24px 0;
}
footer .container {
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  gap: 20px 40px;
  flex-wrap: wrap;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  opacity: 0.85;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: opacity 0.12s, color 0.12s;
  border-radius: var(--radius-s);
  padding: 6px 3px;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-secondary);
  background: rgba(252,163,17,0.11);
  opacity: 1;
}
footer .text-section {
  color: #fff;
  font-size: 0.97rem;
  gap: 8px;
}
footer .text-section img {
  height: 18px;
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 0;
}
footer .text-section a {
  display: inline-block;
  margin-right: 12px;
}
footer .text-section a img {
  border: none;
  box-shadow: none;
  background: transparent;
  height: 28px;
  width: 28px;
}

/* ==========================================================
   BUTTONS & INTERACTIONS
========================================================== */
button, .cta-primary, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-m);
  padding: 12px 28px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.18s;
  box-shadow: 0 2px 10px var(--color-shadow);
}
button:hover, button:focus, .cta-primary:hover, .cta-primary:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #cc8010;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 14px rgba(252,163,17,0.14);
}

.cookie-btn.cookie-reject {
  background: var(--color-danger);
}
.cookie-btn.cookie-reject:hover,
.cookie-btn.cookie-reject:focus {
  background: #b82c2c;
}
.cookie-btn.cookie-settings {
  background: var(--color-primary);
}
.cookie-btn.cookie-settings:hover,
.cookie-btn.cookie-settings:focus {
  background: #324e82;
}

/* Subtle links */
.text-section a:not(.cta-primary) {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 500;
  border-radius: var(--radius-s);
  padding: 2px 3px;
  transition: background 0.18s;
}
.text-section a:not(.cta-primary):hover {
  background: var(--color-tertiary);
}

/* ==========================================================
   RESPONSIVE DESIGN
========================================================== */
@media (max-width: 1020px) {
  .container { max-width: 94vw; }
  .content-wrapper {
    gap: 16px;
  }
  .card, .testimonial-card {
    padding: 20px 10px;
    font-size: 1rem;
  }
}
@media (max-width: 830px) {
  .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  /* MAIN: stack side by side into vertical */
  .content-grid,
  .card-container,
  .content-wrapper,
  .footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 8px;
  }
  .card {
    padding: 18px 7px;
    font-size: 0.97rem;
  }
  h1 {font-size: 1.75rem;}
  h2 {font-size: 1.25rem;}
  h3 {font-size: 1.07rem;}
  .footer .text-section {
    font-size: 0.95rem;
  }
  .section {
    padding: 24px 4px;
    margin-bottom: 34px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .footer .content-wrapper {
    gap: 10px 0;
  }
}

/* ==========================================================
   COOKIE CONSENT BANNER & MODAL
========================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20000;
  background: #fffdfa;
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -3px 16px rgba(20,33,61,0.10);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  animation: slideUpIn 0.6s cubic-bezier(.97,.12,.13,.93);
}
@keyframes slideUpIn { from { transform:translateY(100%); opacity: 0;} to {transform:translateY(0); opacity: 1;} }
.cookie-consent-banner__message {
  color: var(--color-text);
  font-size: 1rem;
  flex: 1 1 0;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  margin: 0 4px;
}
@media (max-width:600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px;
    gap: 12px;
  }
  .cookie-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }
}

/* Cookie Preferences Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 21000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,33,61,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.45s cubic-bezier(.73,.17,.22,.91);
}
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 6px 42px rgba(20,33,61,0.19);
  width: 98vw;
  max-width: 420px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: popIn 0.36s cubic-bezier(.62,1.31,.75,.89);
}
@keyframes popIn { from { transform: scale(0.91); opacity: 0;} to { transform: scale(1); opacity: 1;} }
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  font-size: 1.7rem;
  border-radius: var(--radius-m);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #ffe3bf;
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.24rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-card);
  border-radius: var(--radius-s);
  padding: 10px 14px;
  margin-bottom: 10px;
}
.cookie-toggle {
  min-width: 42px;
}
.cookie-toggle input[type="checkbox"] {
  width: 28px;
  height: 14px;
  accent-color: var(--color-secondary);
}
.cookie-config-desc {
  font-size: 0.97rem;
  color: #595959;
}

/* Essential cookies: always enabled */
.cookie-category.essential {
  opacity: 0.76;
}
.cookie-category.essential .cookie-toggle input {
  display: none;
}

/* ==========================================================
   VISUAL HIERARCHY & TYPOGRAPHY SCALE
========================================================== */

h1 {margin-top: 24px;}
h2 {margin-top: 18px;}
h3, h4, h5, h6 {margin-top: 14px;}
.text-section p, .text-section ul, .text-section ol {margin-bottom: 10px;}

/* Micro-interactions */
.card, .testimonial-card, .cta-primary, button, .cookie-btn,
.mobile-menu, .cookie-modal, .cookie-modal-close {
  will-change: transform, box-shadow;
}

/* ==========================================================
   SCROLLBAR (modern, non-intrusive)
========================================================== */
::-webkit-scrollbar {
  width: 11px;
  background: var(--color-accent);
  border-radius: var(--radius-m);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: var(--radius-m);
  min-height: 25px;
}

/* ==========================================================
   MODERN INPUT STYLES (for forms/newsletter)
========================================================== */
input, textarea, select {
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-s);
  padding: 9px 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: none;
  box-shadow: 0 2px 8px rgba(252,163,17,0.07);
}
label {
  display: block;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
  color: var(--color-primary);
}

/* ==========================================================
   MISCELLANEOUS
========================================================== */
::-webkit-input-placeholder { color: #b5b5b5; }
::-moz-placeholder { color: #b5b5b5; }
:-ms-input-placeholder { color: #b5b5b5; }
::placeholder { color: #b5b5b5; }

hr {
  border: none;
  border-top: 1px solid var(--color-accent);
  margin: 28px 0;
}

/* Hide outlines except for keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}

/* Responsive fixes for list icon alignment */
@media (max-width:600px) {
  ul li > img:first-child {
    margin-left: -8px;
  }
}

/* Fix extra spacing in section on mobile */
@media (max-width:480px) {
  .section, section {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* Prevent overlapping & enforce min spacing between cards/sections */
.card, .testimonial-card, .section, section {
  margin-bottom: 20px;
}
/* Final spacing for main layout on smallest screens */
@media (max-width:420px) {
  .card, .testimonial-card, .section, section {
    margin-bottom: 16px;
  }
}
