/* ===================
 CSS RESET & BASELINE
====================== */
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;
}

html {
  box-sizing: border-box;
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1A2636;
  background: #F4F4F9;
  min-height: 100vh;
  line-height: 1.65;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1A2636;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #B49D69;
  outline: none;
}

ul, ol {
  padding-left: 28px;
  margin-bottom: 16px;
}

li:not(:last-child) {
  margin-bottom: 10px;
}

/* =============
 TYPOGRAPHY
============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', Times, serif;
  font-weight: 700;
  line-height: 1.12;
  color: #1A2636;
}

h1 {
  font-size: 2.375rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

p {
  font-size: 1rem;
  margin-bottom: 14px;
}

.text-section p,
.content-wrapper > p {
  font-size: 18px;
  color: #313a4c;
}

strong {
  font-weight: 700;
  color: #1A2636;
}

em {
  font-style: italic;
  color: #555;
}

/* =============
 LAYOUT CONTAINERS
============== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(26,38,54,0.07);
}

@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* ===========
 FLEX LAYOUT PATTERNS
============ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(26,38,54,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 320px;
  min-width: 280px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(26,38,54,0.11);
}

.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 14px 10px;
}
th {
  background: #F4F4F9;
}

/* ====== FEATURES/TESTIMONIAL ====== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 16px 0 0 0;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F4F4F9;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(26,38,54,0.05);
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 320px;
  max-width: 360px;
  transition: box-shadow 0.18s;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
}
.feature h3 {
  margin-bottom: 1px;
  color: #1A2636;
  font-size: 1.15rem;
}
.feature p {
  color: #3C4B63;
  font-size: 1rem;
}
.feature:hover {
  box-shadow: 0 4px 20px rgba(26,38,54,0.12);
}
@media (max-width: 990px) {
  .features-grid {
    gap: 18px;
  }
  .feature { min-width: 180px; }
}
@media (max-width: 680px) {
  .features-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F4F4F9;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(26,38,54,0.08);
  color: #222F3A;
  font-size: 1.1rem;
  position: relative;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 0;
  color: #1A2636;
  font-size: 1.04rem;
  flex: 1;
}
.testimonial-card span {
  color: #B49D69;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}
@media (max-width: 650px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    gap: 10px;
  }
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, border-color 0.16s;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 1px 4px 0 rgba(26,38,54,0.03);
  margin-top: 18px;
  margin-bottom: 0;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: #1A2636;
  color: #fff;
  border: 1.5px solid #1A2636;
}
.btn-primary:hover, .btn-primary:focus {
  background: #253250;
  box-shadow: 0 2px 10px 0 rgba(26,38,54,0.10);
  color: #fff;
  border-color: #253250;
}

.btn-secondary {
  background: #F4F4F9;
  color: #1A2636;
  border: 1.5px solid #B49D69;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #B49D69;
  color: #fff;
  border-color: #B49D69;
  box-shadow: 0 2px 8px 0 rgba(180,157,105,0.14);
}

/* =========
 HEADER & NAV
=========== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(26,38,54,0.05);
  z-index: 90;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  height: 72px;
  padding: 0 34px;
  background: #fff;
  position: relative;
  z-index: 101;
}
.main-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1A2636;
  padding: 8px 7px;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.13s, background 0.13s;
  display: flex;
  align-items: center;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B49D69;
  background: #F4F4F9;
}
.main-nav a.btn-primary {
  color: #fff;
  margin-left: 18px;
  min-width: 140px;
  padding-left: 22px;
  padding-right: 22px;
}
.main-nav img {
  height: 40px;
  margin-right: 16px;
}

@media (max-width: 1150px) {
  .main-nav {
    gap: 16px;
    padding: 0 14px;
  }
  .main-nav img {margin-right:8px;}
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1A2636;
  z-index: 120;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #B49D69;
}

@media (max-width: 990px) {
  .main-nav a:not(:first-child) { display: none; }
  .main-nav a.btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #1A2636;
  color: #fff;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.6,.12,.3,1.13);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 150;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B49D69;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 100px;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.32rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  padding: 10px 2px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B49D69;
  color: #fff;
}
@media (max-width: 480px) {
  .mobile-nav {
    padding-left: 18px;
    gap: 22px;
    font-size: 1.14rem;
  }
}

/* ============
 FOOTER
============= */
footer {
  background: #1A2636;
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 72px;
  width: 100%;
}
.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.76;
  padding: 6px 3px;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s, opacity 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B49D69;
  opacity: 1;
  background: #222F3A;
}
.brand-credits {
  text-align: center;
  color: #b3bbcc;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
}
@media (max-width: 650px) {
  footer {padding: 20px 0 12px 0; font-size: 0.95rem;}
  .footer-nav {gap: 10px;}
}

/* ============
 CONTACT & MISC
============== */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1A2636;
  font-size: 1.05rem;
}
.contact-list img {
  width: 28px;
  height: 28px;
}
.contact-intro {
  font-size: 1.1rem;
  color: #253250;
  margin-bottom: 14px;
}

/* Misc */
.text-section {
  margin-bottom: 18px;
}

/* ==============
 SHADOWS/CARDS
================ */
.card, .feature, .testimonial-card, .section {
  box-shadow: 0 2px 12px 0 rgba(26,38,54,0.07);
}

/* ================
 VISUAL HIERARCHY
================== */
main > section, .section {
  margin-bottom: 60px;
}
main > section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* ================
 ANIMATIONS/TRANSITIONS
======================= */
.btn-primary, .btn-secondary, .main-nav a, .feature, .card, .testimonial-card, .mobile-menu, .mobile-menu-toggle, .mobile-nav a {
  transition: all 0.18s;
}

/* ================
 RESPONSIVENESS
=================== */
@media (max-width: 920px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.38rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1.02rem; }
  .content-wrapper {gap: 12px;}
}

/* ===========
 COOKIE CONSENT BANNER
=========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1700;
  width: 100vw;
  background: #1A2636;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 24px;
  box-shadow: 0 -2px 14px 0 rgba(26,38,54,0.18);
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.52,.03,.35,.96), opacity 0.32s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  max-width: 640px;
  font-size: 1rem;
  margin-right: 16px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  border: none;
  padding: 10px 24px;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0 2px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-accept {
  background: #B49D69;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #a89255;
}
.cookie-reject {
  background: #fff;
  color: #1A2636;
  border: 1.2px solid #ddd;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #dcdcdc;
}
.cookie-settings {
  background: #F4F4F9;
  color: #1A2636;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #B49D69;
  color: #fff;
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    font-size: 0.99rem;
    padding: 20px 6px;
    text-align: left;
  }
  .cookie-banner-content {margin-right:0;}
}

/* === Cookie Modal === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,38,54,0.46);
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #1A2636;
  border-radius: 12px;
  padding: 36px 34px 24px 34px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 4px 42px 0 rgba(26,38,54,0.18);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2000;
  animation: slideModalUp 0.22s ease;
}
@keyframes slideModalUp {
  from { transform: translateY(80px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 10px 6px;
  border-radius: 7px;
  background: #F4F4F9;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-toggle input[type="checkbox"] {
  accent-color: #B49D69;
  width: 20px;
  height: 20px;
  border-radius: 7px;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 24px 6px 12px 6px;
    min-width: 0;
  }
  .cookie-modal h2 { font-size: 1rem; }
}

/* =======
 UTILITIES
======== */
.mt-2 {margin-top: 16px;}
.mb-2 {margin-bottom: 16px;}
.mt-4 {margin-top: 32px;}
.mb-4 {margin-bottom: 32px;}
.text-center {text-align: center;}
.text-right {text-align: right;}

/* ARIA-ATTRIBUTES/ACCESSIBILITY */
[tabindex="0"]:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #B49D69;
  outline-offset: 2px;
}

/* ============
 OVERRIDE/ADJUST FOR BRAND
============== */
::-webkit-scrollbar { width: 12px; background: #F4F4F9;}
::-webkit-scrollbar-thumb { background: #c2cad5; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #B49D69; }

/* ============
 PRINT ADJUSTMENTS
============== */
@media print {
  header,.mobile-menu,.cookie-banner,footer {.display: none;}
  body {background: #fff;}
}
