/* ===== 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;
}
body {
  background: #1F2A36;
  color: #F2EFEA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin: 0 0 16px 24px;
}
li {
  margin-bottom: 8px;
  line-height: 1.5;
}
a {
  color: #D1842E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e59c41;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F2EFEA;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #F2EFEA;
  margin-bottom: 16px;
  line-height: 1.7;
}
strong, b {
  color: #fff;
  font-weight: 700;
}

/* ==== CONTAINER AND SPACING ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  margin-bottom: 24px;
  background: rgba(31, 42, 54, 0.96);
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.19);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.text-section {
  background: none;
  box-shadow: none;
  padding: 0;
}

/* ===================== HEADER ===================== */
header {
  background: #232e3d;
  box-shadow: 0 2px 14px rgba(0,0,0,0.14);
  position: relative;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
.logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #F2EFEA;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #D1842E;
  border-bottom: 2px solid #D1842E;
}

/* CTA BUTTONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  border: none;
}
.cta.primary {
  background: linear-gradient(90deg,#1f2336 0,#344357 100%);
  color: #FFD89A;
  box-shadow: 0 2px 6px 0 rgba(74,61,39,.19);
}
.cta.primary:hover, .cta.primary:focus {
  background: #D1842E;
  color: #1F2A36;
  transform: translateY(-2px) scale(1.04);
}
.cta.secondary {
  background: #232e3d;
  color: #FFD89A;
  border: 2px solid #D1842E;
  margin-top: 12px;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #D1842E;
  color: #131820;
  border-color: #FFD89A;
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger / Mobile toggle */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FFD89A;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  margin-left: 10px;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover {
  color: #D1842E;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31, 42, 54, 0.97);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.35), box-shadow 0.22s;
  box-shadow: 0 2px 22px 6px rgba(40,30,16,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFD89A;
  font-size: 2.1rem;
  margin: 18px 0 0 18px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: #D1842E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 40px 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFD89A;
  letter-spacing: 0.06em;
  padding: 12px 0 8px 0;
  border-bottom: 1px solid #232e3d;
  transition: color 0.19s, border-color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D1842E;
  border-bottom: 1px solid #D1842E;
}

@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 24px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    gap: 7px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
      display: block;
  }
  .cta.primary {
      font-size: 1rem;
      padding: 10px 18px;
  }
}
/* ============= HERO, SECTION, CONTENT GRID ============= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 34px;
  }
  section {
    padding: 24px 0 24px 0;
    margin-bottom: 32px;
  }
  .content-wrapper {
    padding: 20px 9px;
  }
  .card-container, .feature-grid, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* ========== CARD & FEATURE ITEM STYLES ========== */
.card-container {
  margin: 0;
}
.card {
  background: #232e3d;
  border-radius: 9px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid #D1842E;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
  align-items: stretch;
}
.feature-item {
  background: #242f3b;
  border-radius: 8px;
  box-shadow: 0 1px 7px 0 rgba(0,0,0,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 20px 23px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  border-left: 3px solid #D1842E;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.feature-item img {
  max-width: 44px;
  height: auto;
  margin-bottom: 8px;
  filter: grayscale(40%) contrast(130%);
}
.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #FFD89A;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.feature-item:hover {
  box-shadow: 0 8px 26px 0 rgba(209,132,46,0.14);
  transform: translateY(-3px) scale(1.015);
}

@media (max-width: 600px) {
  .feature-item {
    min-width: 0;
    padding: 18px 10px 14px 12px;
    font-size: 0.98rem;
  }
  .feature-item img {
    max-width: 32px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========== TESTIMONIAL CARD ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F2EFEA;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px 0 rgba(31, 42, 54, 0.11);
  border-left: 4px solid #D1842E;
  font-size: 1.08rem;
  color: #1F2A36;
  transition: box-shadow 0.18s, border-color 0.17s;
  position: relative;
}
.testimonial-card p {
  color: #1F2A36;
  margin: 0; /* Override text-section/p default bottom margin */
}
.testimonial-card .author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #D1842E;
  font-weight: 600;
  margin-left: 10px;
}
.testimonial-card:hover {
  box-shadow: 0 3px 20px 0 rgba(209,132,46,0.18);
  border-left: 4px solid #b56b25;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 14px 8px;
    font-size: 1rem;
  }
  .testimonial-card .author {
    margin-left: 0;
    font-size: 0.99rem;
  }
}

/* ========== FOOTER ============ */
footer {
  background: #1F2A36;
  padding: 26px 0 14px 0;
  box-shadow: 0 -2px 24px 0 rgba(31,42,54,0.10);
  border-top: 1px solid #232e3d;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #FFD89A;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: #D1842E;
}
footer .text-section {
  margin: 0;
  color: #445263;
  font-size: 0.98rem;
}
footer .text-section p {
  color: #bcbabb;
  margin-bottom: 9px;
}

@media (max-width: 700px) {
  .footer-menu {
    gap: 17px;
    font-size: 0.96rem;
  }
}
@media (max-width: 600px) {
  .footer-menu {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

/* ========== MISC. LAYOUT CLASSES ========== */
.card {
  margin-bottom: 20px;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}

/* Ensure proper spacing between ALL cards/sections */
section > .container > .content-wrapper > * + * {
  margin-top: 20px;
}
section ul, section ol {
  margin-bottom: 12px;
}

/* Responsive - section layout on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2400;
  width: 100vw;
  background: #232e3d;
  color: #FFD89A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 22px 16px 14px 16px;
  box-shadow: 0 -2px 22px 0 rgba(1,0,0,0.14);
  font-size: 1rem;
  transition: transform 0.28s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner p {
  margin: 0 20px 0 0;
  font-size: 1.01rem;
  color: #FFD89A;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #D1842E;
  color: #1F2A36;
  border: none;
  border-radius: 5px;
  padding: 9px 22px;
  font-weight: 600;
  margin-right: 5px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, box-shadow 0.15s;
}
.cookie-btn.reject {
  background: #232e3d;
  color: #FFD89A;
  border: 2px solid #FFD89A;
}
.cookie-btn.settings {
  background: #242f3b;
  color: #FFD89A;
  border: 1px solid #FFD89A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #b56b25;
  color: #FFF;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffd891;
  color: #1F2A36;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #333f4c;
  color: #D1842E;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 6px 9px 6px;
    gap: 10px;
  }
  .cookie-banner p {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
  }
  .cookie-btn {
    padding: 7px 12px;
    font-size: 0.97rem;
    margin: 0 4px 0 0;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2500;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(31,42,54,0.86);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.34s ease;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #232e3d;
  color: #FFD89A;
  padding: 38px 34px 26px 34px;
  border-radius: 20px;
  box-shadow: 0 5px 32px 10px rgba(31,42,54, 0.23);
  min-width: 300px;
  max-width: 98vw;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPop .38s cubic-bezier(.75,-0.1,.27,1.13) both;
}
@keyframes modalPop {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #FFD89A;
  font-size: 1.44rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 19px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0 9px 0;
  border-bottom: 1px solid #2b3946;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #FFD89A;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #D1842E;
  width: 22px;
  height: 22px;
  margin-right: 5px;
}
.cookie-category input[disabled] {
  opacity: 0.5;
  accent-color: #bcbabb;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #FFD89A;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #D1842E;
}
.cookie-modal .cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 7px 13px 7px;
    min-width: 0;
    width: 96vw;
  }
}

/* ======= SCROLLBAR STYLES ======= */
::-webkit-scrollbar {
  width: 10px;
  background: #242f3b;
}
::-webkit-scrollbar-thumb {
  background: #313d47;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D1842E;
}

/* ====== FOCUS OUTLINE for accessibility ===== */
:focus-visible {
  outline: 2px solid #D1842E;
  outline-offset: 2px;
}

/* ======= FORMS & INPUTS ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #bcbabb;
  margin-bottom: 14px;
  color: #232e3d;
  background: #fcfbf9;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #D1842E;
}

/* ========== MISC CLASSES FOR LAYOUT ========== */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.w-100 {
  width: 100%;
}
.mt-1 {margin-top:8px;}
.mt-2 {margin-top:16px;}
.mt-3 {margin-top:32px;}
.mb-1 {margin-bottom:8px;}
.mb-2 {margin-bottom:16px;}
.mb-3 {margin-bottom:32px;}

/* Utility: Divider */
.divider {
  width: 100%;
  height: 1px;
  background: #313d47;
  margin: 18px 0;
}

/* ====== MICRO-INTERACTIONS ======= */
button, .cta, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle {
  transition: background 0.15s, color 0.13s, box-shadow 0.2s, transform 0.13s;
}
button:active, .cta:active, .cookie-btn:active, .mobile-menu-close:active, .mobile-menu-toggle:active {
  transform: scale(0.98);
}

/* === PRINT ==== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {display:none!important;}
  section, main {padding: 0; margin: 0;}
  body {background: #fff; color: #000;}
}

/* ========== BRAND META ========== */
body, html {
  background: #1F2A36;
}

/* ======= END OF CSS ======= */
