/* RESET & NORMALIZE -------------------------------------------------*/
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,
main, 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 { scroll-behavior: smooth; }
body {
  background: #1a232c;
  color: #F1F5F9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #152435;
}
img {max-width:100%;height:auto;border:0;display:block;}
*, *:before, *:after {box-sizing:inherit;}
a {text-decoration:none;color:inherit;transition:color 0.2s cubic-bezier(.4,0,.2,1);}
ul, ol {list-style: none;}
button, input[type=button], input[type=submit] {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* FONTS -------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Playfair+Display:wght@700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #F1F5F9;
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.35rem; margin-bottom: 12px;}
h4 {font-size: 1.15rem; margin-bottom: 8px;}
.subtitle {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #C9A063;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}
p {margin-bottom: 14px;}
strong {font-weight: 700; color: #C9A063;}

/* BASIC STRUCTURE ---------------------------------------------------*/
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
main {padding-bottom: 80px;}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: rgba(28,36,48,0.66);
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(4,8,14,0.07);
  padding: 40px 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  align-items: flex-start;
  background: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 32px;
}

/* HEADER ------------------------------------------------------------*/
header {
  background: #181f27;
  border-bottom: 2.5px solid #2C3642;
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  min-height: 72px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
}
header > a img {
  height: 44px;
  width: auto;
  margin-left: 22px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  color: #F1F5F9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 2px 8px 2px;
  font-size: 1rem;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
.main-nav a:hover, .main-nav a:focus {
  color: #C9A063;
}
header .cta.primary {
  margin-left: auto;
  margin-right: 24px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #C9A063;
  padding: 6px 14px 6px 14px;
  margin-right: 12px;
  line-height: 1;
  z-index: 250;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #F1F5F9;
}

/* MOBILE MENU -------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 380px;
  height: 100vh;
  background: #181f27;
  box-shadow: -4px 0px 24px 0 rgba(20,28,43,0.72);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.75,0,.18,1);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #F1F5F9;
  font-size: 2.2rem;
  margin: 0 18px 12px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {color: #C9A063;}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav a {
  font-size: 1.09rem;
  color: #F1F5F9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: none;
  display: block;
  padding: 18px 38px 18px 32px;
  border-bottom: 1px solid #283041;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C9A063;
  background: #202836;
}

/* MAIN -------------------------------------------------------------*/
main section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

/* FLEX LAYOUTS -----------------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #232f3b;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,.11);
  padding: 28px 28px 26px 28px;
  min-width: 240px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.23s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(201,160,99,0.13), 0 4px 16px 0 rgba(0,0,0,.14);
  transform: translateY(-4px) scale(1.011);
}
.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;
}

/* TESTIMONIALS -----------------------------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1F5F9;
  color: #152435;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(34,34,44,0.07);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  flex-direction: column;
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  margin: 0 0 10px 0;
  line-height: 1.35;
  color: #212430;
}
.testimonial-card strong {
  color: #152435;
  font-size: 1rem;
}

/* FEATURE LIST/MULTIPLE ITEMS --------------------------------------*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}
.service-list > div {
  flex: 1 1 280px;
  min-width: 260px;
  background: #232f3b;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.10);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid #283041;
  transition: box-shadow 0.17s, border 0.18s;
}
.service-list > div:hover,
.service-list > div:focus-within {
  border: 1.5px solid #C9A063;
  box-shadow: 0 6px 24px 0 rgba(201,160,99,0.06);
}
.service-list h3 {
  color: #C9A063;
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
}

ol {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
}
ol > li {
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: #F1F5F9;
  font-family: 'Montserrat', Arial, sans-serif;
}
ul > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F1F5F9;
}
ul > li img {
  width: 32px;
  height: 32px;
  margin-top: 2px;
  filter: grayscale(0.15) brightness(1.03) contrast(1.15) drop-shadow(0 3px 4px #181f271c);
}

/* CTAs & BUTTONS ---------------------------------------------------*/
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #F1F5F9;
  background: #23304a;
  border: 2px solid #C9A063;
  box-shadow: 0 1px 5px 0 rgba(201,160,99,0.07);
  letter-spacing: 0.02em;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s, border 0.17s;
}
.cta:hover, .cta:focus {
  background: #C9A063;
  color: #152435;
  border-color: #C9A063;
  box-shadow: 0 2px 14px 0 rgba(201,160,99,0.19);
}
.cta.primary {
  background: #C9A063;
  color: #152435;
  border-color: #C9A063;
}
.cta.primary:hover, .cta.primary:focus {
  background: #F1F5F9;
  color: #152435;
  border-color: #C9A063;
  box-shadow: 0 3px 24px 0 rgba(201,160,99,0.18);
}

/* FOOTER -----------------------------------------------------------*/
footer {
  background: #181f27;
  border-top: 2px solid #2C3642;
  padding: 32px 0 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}
footer nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
footer nav a {
  color: #C9A063;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.93;
  transition: color 0.14s, opacity 0.14s;
}
footer nav a:hover, footer nav a:focus {color: #F1F5F9; opacity: 1;}
footer div {color: #b5babb; letter-spacing: 0.01em;}

/* SPECIAL COMPONENTS & MODALS --------------------------------------*/

/* COOKIE BANNER -----------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #232f3b;
  color: #F1F5F9;
  box-shadow: 0 -2px 30px 0 rgba(20,24,36,0.24);
  padding: 22px 14px 20px 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  font-size: 1rem;
  animation: cookieBannerAppear 0.5s 1 cubic-bezier(.33,.88,.45,1.29);
}
@keyframes cookieBannerAppear {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  padding: 8px 22px;
  border: none;
  border-radius: 5.5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  margin-right: 8px;
  background: #2C3642;
  color: #C9A063;
  transition: background 0.12s, color 0.12s;
  box-shadow: 0 2px 6px 0 rgba(201,160,99,0.07);
  cursor: pointer;
}
.cookie-banner button.accept {
  background: #C9A063;
  color: #152435;
}
.cookie-banner button.accept:hover {background: #F1F5F9; color: #152435;}
.cookie-banner button.settings {
  background: #232f3b;
  color: #C9A063;
  border: 1.5px solid #C9A063;
}
.cookie-banner button.settings:hover {background: #2C3642; color:#F1F5F9;}
.cookie-banner button.reject {
  background: #2C3642;
  color: #F1F5F9;
  border: 1.5px solid #C9A063;
}
.cookie-banner button.reject:hover {background: #C9A063; color:#152435;}

/* COOKIE PREFERENCES MODAL -------------------------------------------*/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(24,31,39,0.80);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.31s 1 cubic-bezier(.36,.85,.45,1.15);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #232f3b;
  color: #F1F5F9;
  border-radius: 13px;
  padding: 42px 34px 34px 34px;
  max-width: 406px;
  width: 93vw;
  box-shadow: 0 6px 50px 0 #181f2745;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
.cookie-modal h2 {
  color: #C9A063;
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  font-size: 1.08rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: #C9A063;
  width: 22px;
  height: 22px;
  margin: 0 0 0 0;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal button {
  padding: 8px 22px;
  border-radius: 5.5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  background: #C9A063;
  color: #152435;
  border: none;
  transition: background 0.1s, color 0.1s;
}
.cookie-modal button:hover {
  background: #F1F5F9;
  color: #152435;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 20px;
  background:none;
  border:none;
  font-size: 2.2rem;
  color: #C9A063;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover { color: #F1F5F9; }

/* Z-INDEX STAGING ---------------------------------------------------*/
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay { z-index: 1000; }

/* SHADOWS, BORDERS & ACCENTS ----------------------------------------*/
hr {
  border: none;
  border-top: 1px solid #283041;
  margin: 38px 0;
}

/* INTERACTIONS & ANIMATIONS -----------------------------------------*/
a, .cta, .cta.primary, button, .card, .service-list > div {
  transition: color 0.21s, background 0.17s, box-shadow 0.25s, border 0.17s, transform 0.19s;
}

/* UTILITIES ---------------------------------------------------------*/
.text-center {text-align: center;}
.align-left {text-align: left;}
.align-right {text-align: right;}
.hide {display: none !important;}
.flex-row {display: flex; flex-direction: row;}
.flex-col {display: flex; flex-direction: column;}
.gap8 {gap: 8px;} .gap16 {gap: 16px;} .gap24 {gap:24px;}

/* RESPONSIVE --------------------------------------------------------*/
@media (max-width: 1100px) {
  .container {
    max-width: 990px;
  }
  .service-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {max-width: 780px;}
  .content-wrapper {padding: 28px 12px;}
  .service-list > div {padding: 18px 10px;}
  h1 {font-size: 2rem;}
  h2 {font-size: 1.5rem;}
}
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    min-height: 62px;
    padding: 0 0 0 0;
  }
  header > a img {
    height: 32px;
    margin-left: 10px;
  }
  .main-nav {display: none;}
  .mobile-menu-toggle {display: inline-block;}
  header .cta.primary {display:none;}
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  .section, main section {
    padding: 24px 0 24px 0;
    margin-bottom: 36px;
  }
  .content-wrapper, .content-grid {
    padding: 14px 0px 12px 0px;
  }
  .service-list {
    flex-direction: column;
    gap: 12px;
  }
  .service-list > div, .card-container > .card {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .card-container {gap: 14px;}
  .testimonial-card {
    padding: 16px;
    font-size: 1rem;
  }
  .content-grid {gap: 12px;}
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
@media (max-width: 450px) {
  h1 {font-size: 1.35rem;}
  h2 {font-size: 1.12rem;}
  .cookie-modal {padding:30px 6vw 24px 6vw;}
}

/* END CSS -----------------------------------------------------------*/
