/* ===== CSS RESET & NORMALIZATION ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Roboto", Arial, sans-serif;
  background: #F3F6F9;
  color: #1B2838;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 18px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  color: #1B2838;
  line-height: 1.15;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.17rem; }
h4 { font-size: 1.05rem; }

/* ===== BRAND COLORS (luxury_premium) ===== */
:root {
  --primary: #1B2838;
  --secondary: #E2A517;
  --accent: #F3F6F9;
  --dark: #141c27;
  --mid: #8C8C8C;
  --light: #FDFDFD;
  --error: #B00020;
  --focus: #FFF7E3;
  --card-bg: #fff;
  --card-shadow: 0 5px 18px 0 rgba(27,40,56,0.09), 0 1.5px 3px 0 rgba(226,165,23,0.03);
  --radius: 18px;
  --button-radius: 24px;
}

/* ===== LAYOUT & UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(27,40,56,0.18);
  transform: translateY(-3px) scale(1.015);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--accent);
  border-left: 5px solid var(--secondary);
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(27,40,56,0.09);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(27,40,56,0.14);
}
.testimonial-card p {
  color: #1B2838;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.team-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  padding: 18px 20px;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(27,40,56,0.06);
  margin-bottom: 22px;
}

/* ==== FEATURE GRID (for homepage) ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 18px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.18s;
  margin-bottom: 20px;
}
.feature img {
  width: 40px;
  height: 40px;
}
.feature h3 {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--primary);
  font-size: 1.17rem;
  font-weight: 600;
  margin-bottom: 0;
}
.feature p {
  color: var(--mid);
  font-size: 0.97rem;
}
.feature:hover {
  box-shadow: 0 6px 28px rgba(226,165,23,0.09);
  transform: translateY(-2px) scale(1.025);
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature {
    padding: 18px 10px;
    min-width: 150px;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    width: 100%;
    min-width: unset;
    margin-bottom: 16px;
  }
}

/* ===== TABLES ===== */
table {
  width: 100%;
  background: var(--card-bg);
  border-collapse: separate;
  border-radius: 12px;
  box-shadow: 0 1px 11px 0 rgba(27,40,56,0.07);
  overflow: hidden;
  margin-bottom: 24px;
}
thead {
  background: var(--primary);
  color: #fff;
}
th, td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid #e7e7e7;
}
th {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(even) {
  background: var(--accent);
}
tbody tr:hover {
  background: #fffbe2;
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  table {
    min-width: unset;
    margin-bottom: 20px;
    overflow-x: auto;
  }
  th, td {
    padding: 9px 7px;
    text-align: left;
    font-size: 0.98rem;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px 0 rgba(27,40,56,0.05);
  }
}

/* ===== HEADER, NAVIGATION, MOBILE MENU ===== */
header {
  background: var(--primary);
  color: #fff;
  padding: 0 0 0 0;
  box-shadow: 0 2px 10px 0 rgba(27,40,56,0.13);
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 24px 0 0 0;
}
nav a {
  font-family: "Montserrat", Arial, sans-serif;
  padding: 8px 13px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  transition: background 0.16s, color 0.12s;
}
nav a:hover,
nav a:focus {
  background: var(--secondary);
  color: #1B2838;
}
nav a.button-primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  display: inline-block;
  border-radius: var(--button-radius);
  font-size: 1rem;
  padding: 10px 26px;
  box-shadow: 0 1px 6px 0 rgba(226,165,23,0.13);
  margin-left: auto;
  margin-bottom: 8px;
  transition: background 0.22s, color 0.18s, transform 0.14s;
}
nav a.button-primary:hover {
  background: #fff7e2;
  color: var(--primary);
  transform: translateY(-1px) scale(1.04);
}
nav img {
  height: 40px;
  width: auto;
  margin-right: 8px;
}
/* --- Responsive header nav --- */
@media (max-width: 990px) {
  nav {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  nav a {
    font-size: 0.99rem;
    padding: 7px 8px;
  }
}

@media (max-width: 800px) {
  nav {
    display: none;
  }
  header {
    position: relative;
  }
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  right: 22px;
  top: 20px;
  z-index: 1102;
  transition: color 0.18s;
  padding: 8px 11px;
  border-radius: 50%;
}
.mobile-menu-toggle:focus {
  background: var(--focus);
  color: var(--primary);
  outline: none;
}
@media (max-width:800px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 82vw;
  max-width: 350px;
  height: 100vh;
  background: var(--primary);
  color: #fff;
  transform: translateX(-105%);
  z-index: 1200;
  box-shadow: 3px 0 24px 0 rgba(27,40,56,0.23);
  transition: transform 0.37s cubic-bezier(0.77,0,0.175,1);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.1rem;
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  z-index: 1400;
  border-radius: 50%;
  transition: background 0.14s;
  padding: 8px 14px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--focus);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 84px 26px 30px 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.08rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  padding: 14px 6px;
  border-radius: 18px;
  transition: background 0.17s, color 0.15s;
  margin-bottom: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Mobile nav overlay background (when open) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(27,40,56,0.35);
  z-index: 1199;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  display: block;
}

@media (min-width:801px) {
  .mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav {
    display: none !important;
  }
  nav {
    display: flex !important;
  }
}

/* ===== MAIN, SECTION SPACING ===== */
main {
  padding-bottom: 70px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width:768px) {
  section {
    margin-bottom: 32px;
    padding: 24px 0;
  }
}

/* ===== BUTTONS & CTA ===== */
.button-primary,
.button-primary:visited {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(90deg,#F3E9C3 0%,#E2A517 65%,#B18A16 100%);
  color: #1B2838;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.025em;
  border: none;
  border-radius: var(--button-radius);
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(226,165,23,0.17);
  text-align: center;
  text-decoration: none;
  transition: background 0.22s, box-shadow 0.18s, color 0.13s, transform 0.14s;
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg,#E2A517 0%,#F3E9C3 90%);
  color: #111;
  transform: translateY(-2px) scale(1.025);
}
.button-secondary {
  display: inline-block;
  padding: 10px 26px;
  border-radius: var(--button-radius);
  background: var(--dark);
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1.5px 6px 0 rgba(27,40,56,0.10);
  transition: background 0.13s, transform 0.13s, color 0.09s;
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-1px) scale(1.01);
}

/* ===== TYPOGRAPHY, SPACING, HIERARCHY ===== */
.subheadline {
  color: var(--mid);
  font-size: 1.16rem;
  margin-bottom: 10px;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
a.underline {
  text-decoration: underline;
}

/* Info highlights, key findings */
.text-section strong {
  color: var(--secondary);
}

/* Spacing for ul, li */
ul > li, ol > li {
  margin-bottom: 9px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 40px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  padding: 0 0 20px 0;
}
footer nav a {
  color: var(--secondary);
  font-size: 1rem;
  padding: 7px 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  border-radius: 10px;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  margin-top: 8px;
}
.footer-contact address {
  font-style: normal;
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact img {
  display: inline-block;
  vertical-align: sub;
  margin-right: 7px;
  height: 1.1em;
  width: auto;
}
footer span {
  color: var(--secondary);
  font-size: 0.98rem;
  margin-top: 2px;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  background: rgba(27,40,56,0.97);
  color: #fff;
  padding: 20px 12px 20px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  z-index: 1510;
  box-shadow: 0 -3px 18px 0 rgba(27,40,56,0.18);
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.87,0,0.13,1);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  flex: 2 1 260px;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  outline: none;
  border: none;
  border-radius: var(--button-radius);
  padding: 10px 20px;
  font-size: 1rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0;
  box-shadow: 0 1px 5px rgba(27,40,56,0.11);
  transition: background 0.17s, color 0.11s, transform 0.11s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .accept:hover {
  background: #fff7e2;
  color: var(--primary);
  transform: translateY(-1px);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--dark);
  border: 1px solid #e2a517;
}
.cookie-banner .reject:hover {
  background: #fff7e2;
  color: var(--primary);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-banner .settings:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 15px 7px;
    font-size: 0.98rem;
  }
  .cookie-banner-buttons {
    gap: 12px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(27,40,56,0.65);
  z-index: 1600;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
  animation: fadeInCookieModal 0.33s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-dialog {
  background: var(--card-bg);
  color: var(--primary);
  border-radius: 24px;
  box-shadow: 0 10px 40px 0 rgba(27,40,56,0.23);
  padding: 36px 28px 28px 28px;
  max-width: 420px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popupIn 0.4s cubic-bezier(0.64,0,0.36,1);
}
@keyframes popupIn {
  from { transform: translateY(40px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-dialog h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: "Montserrat", Arial, sans-serif;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-option label {
  font-weight: 500;
  color: var(--primary);
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cookie-option .essential {
  accent-color: var(--secondary);
}
.cookie-modal-controls {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: space-between;
}
.cookie-modal-controls button {
  border: none;
  outline: none;
  padding: 9px 19px;
  font-size: 1rem;
  border-radius: 19px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 4px 0 rgba(27,40,56,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-controls .save {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal-controls .cancel {
  background: #fff;
  color: var(--dark);
  border: 1px solid #e2a517; 
}
.cookie-modal-controls button:hover, .cookie-modal-controls button:focus {
  background: #fff7e2;
  color: var(--primary);
}

/* ===== ACCESSIBILITY: FOCUS ===== */
a:focus, .button-primary:focus, .button-secondary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ===== MICRO-INTERACTIONS ===== */
.button-primary, .button-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal-controls button {
  transition: background 0.18s, color 0.14s, box-shadow 0.20s, transform 0.15s;
}

/* ===== RESPONSIVE TYPOGRAPHY SCALE ===== */
html {
  font-size: 16px;
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.16rem; }
}

/* ===== CUSTOM SCROLLBAR for luxury effect ===== */
body::-webkit-scrollbar {
  width: 9px;
  background: var(--card-bg);
}
body::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 9px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) var(--card-bg);
}

/* ===== PRINT FRIENDLY ===== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}
