/* =========================
   CSS 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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #151d2f;
  color: #f4f9ff;
  min-height: 100vh;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
:focus {
  outline: 2px solid #D9B464;
  outline-offset: 2px;
}

/* ===============================
   BRAND TYPOGRAPHY & SCALE
   =============================== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

body {
  font-size: 16px;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: linear-gradient(120deg, #1A2947 0%, #232f48 100%);
  color: #f4f9ff;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: #cfdcf8;
}
strong {
  color: #D9B464;
  font-weight: 700;
}
em {
  color: #D9B464;
  font-style: normal;
}

/* ===============================
   LAYOUT CONTAINERS
   =============================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: rgba(26, 41, 71, 0.85);
  box-shadow: 0 8px 32px 0 rgba(20,34,64,0.22), 0 1.5px 3px 0 rgba(217,180,100,0.13);
  position: relative;
  z-index: 1;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #1a223a;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(30,45,70,0.18);
  padding: 32px 24px;
  flex: 1 1 320px;
  position: relative;
  transition: transform 0.18s cubic-bezier(.43,.13,.23,1), box-shadow 0.25s;
  border: 1.5px solid transparent;
}
.card:hover, .card:focus-within {
  transform: translateY(-7px) scale(1.018);
  box-shadow: 0 8px 28px 0 rgba(217,180,100,0.15), 0 2.5px 9px 0 rgba(26,41,71,0.16);
  border-color: #D9B464;
}

.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;
  background: #f4f9ff;
  color: #1a2947;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px 0 rgba(26,41,71,0.11);
  min-width: 0;
  transition: box-shadow 0.18s, border-color 0.22s;
  border: 1.5px solid #D9B464;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 38px 0 rgba(26,41,71,0.19);
  border-color: #7d6c30;
}
.testimonial-card p {
  color: #222948;
  font-size: 1.13rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: #877018;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

.text-section {
  margin-bottom: 32px;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  min-height: 350px;
  background: linear-gradient(120deg, #222f4b 60%, #1a2947 100%);
  padding: 56px 0 36px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 22px 62px 0 rgba(26,41,71,0.24);
}
.hero .container {
  height: 100%;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  gap: 22px;
}
.hero h1 {
  color: #fff;
  letter-spacing: 0.015em;
  font-size: 2.7rem;
}
.hero p {
  color: #cfdcf8;
  font-size: 1.15rem;
}

/* =========================
   NAVIGATION HEADER
   ========================= */
header {
  position: relative;
  width: 100%;
  background: #18213a;
  box-shadow: 0 2.5px 14px 0 rgba(26,41,71,0.10);
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  min-height: 80px;
  padding: 0 20px;
}
.main-nav > a {
  color: #f4f9ff;
  font-size: 1.03rem;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.22s, background 0.21s;
  position: relative;
}
.main-nav > a:not(.cta-primary):hover, .main-nav > a:not(.cta-primary):focus {
  color: #D9B464;
  background: #232f48;
}
.main-nav img {
  height: 40px;
  margin-right: 12px;
  vertical-align: middle;
}
.cta-primary {
  background: #D9B464;
  color: #1A2947 !important;
  font-family: 'Playfair Display', serif;
  border-radius: 14px;
  padding: 10px 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.13rem;
  box-shadow: 0 3px 12px 0 rgba(217,180,100,0.15);
  transition: background 0.2s, color 0.18s, box-shadow 0.20s;
  border: 2px solid #D9B464;
  margin-left: 12px;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #b79842;
  color: #fff !important;
  box-shadow: 0 8px 22px 0 rgba(217,180,100,0.22);
  border-color: #b79842;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #151c2d;
  color: #c0ccdf;
  padding: 32px 0 16px 0;
  border-top: 2px solid #D9B464;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #c0ccdf;
  padding: 5px 14px;
  border-radius: 7px;
  transition: color 0.20s, background 0.2s;
  font-size: 0.98rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #222948;
  background: #D9B464;
}
.footer-contact {
  font-size: 0.96rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: #ececec;
}
.footer-contact a {
  color: #D9B464;
  text-decoration: underline;
}

/* =========================
   BUTTONS & INTERACTIVES
   ========================= */
button, .cta-primary, .main-nav a.cta-primary, .mobile-nav a.cta-primary {
  transition: background 0.19s, color 0.19s, border-color 0.18s, box-shadow 0.20s, transform 0.13s;
}
button:active, .cta-primary:active {
  transform: scale(0.97);
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: #D9B464;
  color: #192545;
  border: none;
  border-radius: 9px;
  padding: 9px 17px;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 101;
  box-shadow: 0 2.5px 12px 0 rgba(26,41,71,0.15);
  transition: background 0.18s, color 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #baa04d;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(26,41,71,0.98);
  box-shadow: 0 0 0 99999px rgba(26,41,71,0.85);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.73,.22,.40,1.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 32px 24px 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #D9B464;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 16px;
  padding: 8px 12px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D9B464;
  color: #18243b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #f4f9ff;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  padding: 8px 0 8px 8px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D9B464;
  background: #273d65;
}
.mobile-nav a.cta-primary {
  background: #D9B464;
  color: #1A2947 !important;
  font-size: 1.2rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  margin-top: 24px;
  border-radius: 14px;
  padding: 13px 30px;
}
.mobile-nav a.cta-primary:hover, .mobile-nav a.cta-primary:focus {
  background: #b79842;
  color: #fff !important;
}

@media (max-width: 1024px) {
  .main-nav > a {
    font-size: 0.99rem;
  }
}
@media (max-width: 900px) {
  .main-nav > a {
    font-size: 0.95rem;
    padding: 8px 7px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    min-height: 66px;
  }
}

/* =========================
   RESPONSIVE LAYOUTS
   ========================= */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .hero .content-wrapper {
    padding-left: 0;
    max-width: 85vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 99vw;
  }
  .section {
    margin-bottom: 40px;
    padding: 30px 10px;
    border-radius: 15px;
  }
  .hero {
    padding-top: 28px;
    padding-bottom: 22px;
    border-radius: 0 0 28px 28px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero .content-wrapper {
    gap: 17px;
  }
  .testimonial-card {
    padding: 16px;
    font-size: 1rem;
    border-radius: 13px;
    margin-bottom: 17px;
  }
}
@media (max-width: 700px) {
  .content-wrapper {
    gap: 13px;
  }
}
@media (max-width: 600px) {
  .section, .hero {
    padding-left: 0;
    padding-right: 0;
  }
  h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .content-grid, .card-container, .text-image-section, .feature-list {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .card {
    padding: 22px 8px;
  }
}
.text-image-section {
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 14px !important;
  }
}

/* =========================
   LISTS, ICONS, FEATURES
   ========================= */
ul {
  margin-bottom: 18px;
  padding-left: 0;
  list-style: none;
}
ul li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 36px;
  font-size: 1.05rem;
  color: #eedecc;
  min-height: 34px;
  display: flex;
  align-items: center;
}
ul li img {
  display: inline-block;
  width: 27px;
  height: 27px;
  margin-right: 13px;
  margin-left: -36px;
  vertical-align: middle;
}
ul li strong {
  color: #D9B464;
}
ul li:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  ul li img { width: 22px; height: 22px; margin-right: 9px; }
  ul li {
    font-size: 0.96rem;
    min-height: 20px;
    padding-left: 28px;
  }
}

/* =========================
   CARDS
   ========================= */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* =========================
   VISUAL EFFECTS & NEON ACCENTS
   ========================= */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 14px;
  top: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 20px;
  border: 1.5px solid rgba(217,180,100,0.08);
  pointer-events: none;
  z-index: -1;
}
.hero:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #333f69 0%, #D9B464 50%, #333f69 100%);
  border-radius: 2px 2px 28px 28px;
  filter: blur(0.5px);
  opacity: 0.7;
}
.cta-primary, .cta-primary:focus, .cta-primary:active {
  box-shadow:
    0 0 0 2px #fff0,
    0 0 14px 4px rgba(217,180,100,0.09),
    0 4px 18px 0 rgba(217,180,100,0.23);
}
.cta-primary::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 50%, #d9b464 61%, #fff0 62%);
  vertical-align: middle;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1A2947;
  color: #fff;
  box-shadow: 0 -2px 16px 0 rgba(26,41,71,0.25);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px;
  font-size: 1.07rem;
  transition: transform 0.34s cubic-bezier(.61,.18,.40,1.18), opacity 0.24s;
  transform: translateY(0);
}
#cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: #D9B464;
  color: #1A2947;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  border: 2px solid #D9B464;
  margin-right: 0;
  transition: box-shadow 0.2s, background 0.19s, color 0.19s, border 0.18s;
  box-shadow:0 3px 13px 0 rgba(217,180,100,0.08);
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #b79842;
  color: #fff;
  border-color: #b79842;
}
#cookie-settings-btn {
  background: #232f48;
  color: #D9B464;
  border: 2px solid #D9B464;
  margin-left: 6px;
}
#cookie-settings-btn:hover, #cookie-settings-btn:focus {
  background: #D9B464;
  color: #232f48;
}

/* Cookie Modal */
#cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,24,38,0.84);
  z-index: 4010;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-backdrop.active {
  display: flex;
}
#cookie-modal {
  background: #192545;
  color: #fff;
  border-radius: 22px;
  padding: 35px 24px 30px 24px;
  min-width: 300px;
  max-width: 98vw;
  max-height: 88vh;
  box-shadow: 0 8px 48px 0 rgba(26,41,71,0.23);
  z-index: 4020;
  animation: cookie-modal-in 0.38s cubic-bezier(.68,.08,.36,1.31);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@keyframes cookie-modal-in {
  from { opacity:0; transform: translateY(50px) scale(0.94); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
#cookie-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #D9B464;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-size: 1rem;
  flex: 1;
  color: #fff;
}
.cookie-toggle {
  width: 45px;
  height: 25px;
  background: #232f48;
  border-radius: 18px;
  position: relative;
  transition: background 0.14s;
  margin: 0 7px;
}
.cookie-toggle input {
  opacity: 0;
  position: absolute;
  width: 100%; height: 100%;
  left: 0; top: 0;
  z-index: 1;
  cursor: pointer;
}
.cookie-toggle .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #D9B464;
  transition: left 0.18s cubic-bezier(.6,.1,.36,1.4), background 0.16s;
  box-shadow:0 0 4px 1px #9980387a;
}
.cookie-toggle input:checked + .slider {
  left: 23px;
  background: #8c742d;
}
.cookie-category input[disabled] + .slider {
  background: #7f822d;
  opacity: 0.72;
}
#cookie-modal .cookie-btn-row {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
#cookie-modal .cookie-btn {
  font-size: 1rem;
}

@media (max-width: 600px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px;
    gap: 13px;
    font-size: 0.98rem;
  }
}

/* =========================
   UTILITY CLASSES & OVERRIDES
   ========================= */
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-28 { margin-bottom: 28px; }
.rounded-20 { border-radius: 20px; }
.hidden { display: none !important; visibility: hidden !important; }

/* =========================
   SCROLLBAR
   ========================= */
::-webkit-scrollbar {
  width: 9px;
  background: #232f48;
}
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #D9B46499;
  box-shadow: 0 1px 8px #D9B46433;
}

/* =========================
   TRANSITIONS
   ========================= */
a, button, .cta-primary, .main-nav a, .footer-nav a, .card {
  transition: color 0.19s, background 0.20s, border-color 0.18s, box-shadow 0.22s, transform 0.18s;
}

/* =========================
   HIGHLIGHT ANIMATIONS
   ========================= */
.card, .testimonial-card {
  animation: fade-in-y 0.6s cubic-bezier(.6,.01,.54,1.1);
}
@keyframes fade-in-y {
  from { opacity:0;transform: translateY(40px); }
  to { opacity:1;transform: translateY(0); }
}

/* =============================
   END OF STYLE.CSS
   ============================= */
