/* ============================
   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,
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, 
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  background: #1B2630;
  color: #F7F9FB;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #234E52 0%, #1B2630 100%); /* fallback, always solid */
  background-color: #234E52;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #DA532C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5E1A4;
}
strong {
  font-weight: 700;
}

/* ===============
   BRAND TYPOGRAPHY
   =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F5E1A4;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.17;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.17rem;
  margin-bottom: 8px;
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #F7F9FB;
}
ul, ol {
  padding-left: 22px;
}
li {
  margin-bottom: 6px;
}

/* =========================
   CONTAINERS & LAYOUT FLEX
   ========================= */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  background: rgba(35, 78, 82, 0.97);
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 6px 36px 0 rgba(30, 43, 56, 0.16);
  transition: box-shadow 0.3s;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #212d35;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 2px 20px 0 rgba(218, 83, 44, 0.15), 0 1.5px 9px 0 rgba(245, 225, 164, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(34,78,82,0.13), 0 0 8px 1px #B94629;
  transform: translateY(-4px) scale(1.015);
  z-index: 2;
}
.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;
  border-radius: 18px;
  background: #fff;
  color: #234E52;
  box-shadow: 0 2px 18px 0 rgba(35, 78, 82, 0.09), 0 0.5px 2px 0 rgba(218, 83, 44, 0.09);
  margin-bottom: 20px;
  position: relative;
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #234E52;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card strong {
  color: #B94629;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #212d35;
  padding: 0 0 10px 0;
  box-shadow: 0 1px 22px 0 rgba(218, 83, 44, 0.10);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 16px 0 16px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 22px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 4px 0 3px 0;
  font-weight: 500;
  color: #F5E1A4;
  position: relative;
  transition: color 0.18s;
}
nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #DA532C 0%, #F5E1A4 100%);
  transition: width 0.26s;
  border-radius: 2px;
  margin-top: 2px;
}
nav a:hover, nav a:focus {
  color: #DA532C;
}
nav a:hover::after, nav a:focus::after {
  width: 60%;
}
.cta-button {
  background: linear-gradient(90deg, #DA532C 45%, #B94629 90%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 27px;
  box-shadow: 0 2px 15px 0 rgba(245, 225, 164, 0.09), 0 0.5px 6px 1px #DA532C25;
  margin-left: 20px;
  border: none;
  cursor: pointer;
  outline: none;
  display: inline-block;
  border: 2px solid transparent;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, border 0.19s, transform 0.13s;
}
.cta-button:hover, .cta-button:focus {
  background: #B94629;
  color: #F5E1A4;
  border: 2px solid #F5E1A4;
  box-shadow: 0 8px 28px 0 #DA532C44;
  transform: scale(1.04) translateY(-2px);
  z-index: 12;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #F5E1A4;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 16px;
  display: none;
  z-index: 41;
  transition: color 0.2s;
  padding: 7px 7px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #DA532C;
  outline: 2px solid #DA532C;
  outline-offset: 2px;
}

/* =======================
   MOBILE NAV & ANIMATION
   ======================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27, 38, 48, 0.98);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.85,.01,.5,1.02);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 26px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -4px 0 40px 0 rgba(0,0,0,0.25);
}
.mobile-menu-close {
  color: #F5E1A4;
  background: none;
  border: none;
  font-size: 2.4rem;
  cursor: pointer;
  align-self: flex-end;
  margin: 0 22px 10px 0;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #DA532C;
  outline: 2px solid #DA532C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 32px 32px 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  color: #F5E1A4;
  padding: 10px 0 9px 0;
  font-weight: 500;
  width: 100%;
  transition: color 0.2s, background 0.16s;
  border-radius: 7px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #234E52;
  color: #DA532C;
}

@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
    padding: 0 9px;
  }
}
@media (max-width: 900px) {
  section, .section {
    padding: 28px 6px;
  }
  .card, .testimonial-card {
    padding: 14px 10px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .cta-button {
    margin-left: 8px;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 3vw;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 11px 7px 0 7px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 510px) {
  h1 { font-size: 1.7rem;  }
  h2 { font-size: 1.23rem; }
  .cta-button, .mobile-menu-toggle {
    font-size: 1rem;
  }
  section, .section {
    padding: 16px 2px;
    margin-bottom: 37px;
    border-radius: 13px;
  }
  .card, .testimonial-card {
    border-radius: 11px;
    font-size: 0.97rem;
  }
}

/* =========================
   LIST & CARD VISUALS
   ========================= */
ul li strong, ol li strong {
  color: #DA532C;
  font-weight: 700;
}
.card strong {
  color: #DA532C;
}
.card, .feature-item, .testimonial-card {
  border: none;
}

/* =====================
   BUTTONS
   ===================== */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
}
button:active {
  transform: scale(0.98);
}

/* ===============
   FOOTER
   =============== */
footer {
  margin-top: 28px;
  background: #1B2630;
  border-top: 2px solid #234E52;
  box-shadow: 0 -3px 25px 0 rgba(245,225,164,0.04);
  padding: 30px 0 20px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1rem;
  color: #F5E1A4;
}
footer nav {
  flex-direction: row;
  gap: 22px;
}
footer nav a {
  color: #F5E1A4;
  font-size: 1rem;
  opacity: 0.98;
  margin-right: 5px;
}
footer nav a:hover,
footer nav a:focus {
  text-decoration: underline;
  color: #DA532C;
}
footer address {
  font-style: normal;
  color: #C6D2CA;
  max-width: 260px;
}
footer div {
  margin-top: 7px;
  color: #F5E1A4;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  footer address { max-width: 98vw; }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #212d35;
  color: #F5E1A4;
  box-shadow: 0 -4px 36px 0 #1B2630cc;
  z-index: 120;
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 22px 18px;
  font-size: 0.98rem;
  animation: cookiefadein 0.68s backOut;
}
@keyframes cookiefadein {
  from { opacity:0; transform: translateY(75px); }
  to   { opacity:1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-text {
  max-width: 760px;
  flex: 1 1 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.cookie-btn, .cookie-btn-primary, .cookie-btn-secondary {
  padding: 10px 22px;
  border-radius: 21px;
  border: none;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.13s, box-shadow 0.15s;
  margin-right: 5px;
}
.cookie-btn-primary {
  background: #DA532C;
  color: #fff;
  border: 2px solid transparent;
}
.cookie-btn-secondary {
  background: transparent;
  color: #DA532C;
  border: 2px solid #DA532C;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #B94629;
  color: #F5E1A4;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #234E52;
  border: 2px solid #F5E1A4;
  color: #F5E1A4;
}
.cookie-btn {
  background: #234E52;
  color: #F5E1A4;
  border: 2px solid #234E52;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #DA532C;
  color: #fff;
  border: 2px solid #DA532C;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 19px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 13px;
  }
  .cookie-btn, .cookie-btn-primary, .cookie-btn-secondary {
    font-size: 1rem;
    padding: 9px 14px;
  }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27, 38, 48, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 130;
  animation: fadeinModal 0.38s cubic-bezier(.72,.06,.52,1);
}
@keyframes fadeinModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #212d35;
  color: #F5E1A4;
  border-radius: 22px;
  padding: 38px 30px 24px 30px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 0 42px 0 #DA532C22;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideinModal 0.41s cubic-bezier(.7,.07,.53,.92);
}
@keyframes slideinModal {
  from { transform: translateY(60px); }
  to { transform: translateY(0); }
}
.cookie-modal-content h3 {
  color: #F5E1A4;
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-category-checkbox {
  margin-right: 8px;
  accent-color: #DA532C;
  transform: scale(1.22);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 8px;
  align-items: center;
}
.cookie-modal-close {
  position: absolute;
  right: 35px;
  top: 26px;
  color: #DA532C;
  font-size: 1.7rem;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F5E1A4;
}
@media (max-width: 450px) {
  .cookie-modal-content {
    min-width: 93vw;
    padding: 18px 5vw 14px 5vw;
  }
}

/* =====================
   SPECIAL MICRO-EFFECTS
   ===================== */
.card, .cta-button, .testimonial-card, .cookie-btn, .cookie-btn-primary, .cookie-btn-secondary {
  will-change: transform, box-shadow;
  transition: box-shadow 0.16s, transform 0.16s, background 0.19s, color 0.17s;
}
.cta-button:active, .cookie-btn:active, .cookie-btn-primary:active, .cookie-btn-secondary:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px 0 #B9462922;
}
.card:focus-within, .card:focus {
  box-shadow: 0 0 0 3px #F5E1A455;
}

/* =====================
   SCROLLBAR STYLING
   ===================== */
/* Modern browsers */
::-webkit-scrollbar {
  width: 10px;
  background: #212d35;
}
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #234E52;
}
::-webkit-scrollbar-thumb:hover {
  background: #DA532C;
}

/* =====================
   SELECTION COLORS
   ===================== */
::selection { background: #DA532C; color: #fff; }
::-moz-selection { background: #DA532C; color: #fff; }


/* =============================
   MISCELLANEOUS STYLE DETAILS
   ============================= */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.6px solid #234E5295;
  padding: 10px 12px;
  outline: none;
  margin-bottom: 12px;
  background: #1B2630;
  color: #F7F9FB;
  transition: border 0.14s, box-shadow 0.18s;
  box-shadow: 0 0.5px 3px 0 #212d3580;
}
input:focus, select:focus, textarea:focus {
  border: 1.7px solid #DA532C;
  box-shadow: 0 0 0 2px #DA532C44;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #B94629;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2px;
  margin-top: 9px;
}

/* Hide scroll on mobile-menu when not open */
.mobile-menu {
  overflow-y: auto;
  scrollbar-width: thin;
}

/* =====================
   ANIMATIONS
   ===================== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
