/* --- CSS RESET & NORMALIZE (MOBILE-FIRST) --- */
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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #131920;
  color: #F6F7F9;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #E0C097;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #fff2c7;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* --- FONTS --- */
@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,900&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #E0C097;
  font-weight: 900;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  color: #E0C097;
}
p, li, span, label {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #F6F7F9;
  line-height: 1.7;
}

strong {
  color: #E0C097;
  font-weight: 700;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

main {
  flex: 1 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(27, 38, 59, 0.6);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(17,17,19,0.14), 0 1.5px 6px rgba(224,192,151,0.06);
}

/* --- FLEXBOX LAYOUTS PER SPEC --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 300px;
  min-width: 270px;
  margin-bottom: 20px;
  background: #202937;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(40, 46, 56, 0.18);
  border: 1.5px solid #394150;
  position: relative;
  transition: transform 0.21s cubic-bezier(.4,1.5,.8,1), box-shadow 0.21s;
}
.card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 6px 32px rgba(224,192,151,0.12), 0 4px 16px rgba(27,38,59,0.14);
  border-color: #E0C097;
}
.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;
  background: #F6F7F9;
  color: #1B263B;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(27,38,59,0.09);
  margin-bottom: 20px;
  min-width: 250px;
  border-left: 6px solid #E0C097;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(224,192,151,0.12), 0 4px 16px rgba(27,38,59,0.14);
  border-left-color: #1B263B;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1B263B;
}
.testimonial-card span {
  color: #636B74;
  font-size: 0.98rem;
  font-style: italic;
}
.testimonial-card .stars span {
  color: #E0C097;
  font-size: 1.2rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #1B263B;
  color: #E0C097;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px rgba(224,192,151,0.05);
}
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(120deg, #181f29 90%, #262c36 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
  position: relative;
  border-radius: 0 0 26px 26px;
  border-bottom: 4px solid #394150;
  box-shadow: 0 3px 18px rgba(27,38,59,0.09);
}
.hero h1 {
  font-size: 2.3rem;
  color: #E0C097;
  margin-bottom: 18px;
}
.hero p {
  color: #F6F7F9;
  font-size: 1.13rem;
  margin-bottom: 24px;
}
.hero .cta {
  margin-top: 6px;
}

/* --- HEADER --- */
header {
  background: #1B263B;
  width: 100%;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  height: 60px;
}
.logo img {
  height: 44px;
  width: auto;
  filter: brightness(0.93) sepia(0.22) contrast(1.05);
}
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: #F6F7F9;
  padding: 7px 14px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a.active,
.main-nav a:focus {
  background: #E0C097;
  color: #1B263B;
  text-decoration: none;
}
.main-nav .cta.primary {
  background: #E0C097;
  color: #1B263B;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.06rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 20px;
  margin-left: 10px;
  border: 1.4px solid #E0C097;
  box-shadow: 0 1.5px 7px rgba(224,192,151,0.07);
  transition: background 0.16s, color 0.16s, box-shadow 0.21s;
  text-shadow: none;
}
.main-nav .cta.primary:hover,
.main-nav .cta.primary:focus {
  background: #efd6b0;
  color: #1B263B;
  box-shadow: 0 4px 16px rgba(248,208,127,0.13);
}
/* --- MOBILE BURGER MENU BUTTON --- */
.mobile-menu-toggle {
  display: flex;
  background: #E0C097;
  color: #1B263B;
  border-radius: 7px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 12px;
  z-index: 114;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #efd6b0;
  color: #202937;
  box-shadow: 0 2px 11px rgba(224,192,151,0.17);
}
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,38,59, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.41,1.1,.67,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  padding: 0;
  margin: 16px 0 32px 20px;
  background: transparent;
  color: #E0C097;
  border: none;
  font-size: 2.2rem;
  font-weight: bold;
  align-self: flex-start;
  z-index: 10001;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #efd6b0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 4px 24px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #F6F7F9;
  background: transparent;
  padding: 12px 0;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E0C097;
  color: #1B263B;
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Hide desktop menu on mobile */
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
}

/* --- FOOTER --- */
footer {
  background: #222b35;
  color: #E0C097;
  border-top: 4px solid #394150;
  margin-top: 60px;
  padding-top: 30px;
  padding-bottom: 10px;
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
}
.footer-logo img {
  height: 42px;
  width: auto;
  margin-bottom: 8px;
  filter: brightness(0.95) sepia(0.25) contrast(1.09);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #E0C097;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 0;
}
.footer-nav a:hover {
  color: #fff2c7;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
  opacity: 0.78;
  filter: grayscale(0.5) brightness(1.1);
}
.footer-copy {
  margin-top: 16px;
  text-align: center;
  color: #b0ad9c;
  font-size: 0.98rem;
}
@media (min-width: 700px) {
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
    gap: 70px;
  }
  .footer-contact {
    align-items: flex-end;
    text-align: right;
  }
}

/* --- CTA BUTTONS --- */
.cta,
button.cta {
  display: inline-block;
  padding: 11px 28px;
  background: #E0C097;
  color: #1B263B;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 8px;
  border: none;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(224,192,151,0.07);
  text-transform: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s, transform 0.19s;
  margin-right: 10px;
  margin-bottom: 8px;
}
.cta.primary,
button.cta.primary {
  background: #E0C097;
  color: #202937;
  box-shadow: 0 3px 16px rgba(224,192,151,0.12);
  border: 1.5px solid #E0C097;
}
.cta:hover,
.cta:focus,
button.cta:hover,
button.cta:focus {
  background: #efd6b0;
  color: #1B263B;
  box-shadow: 0 2px 22px 0 rgba(224,192,151,0.17);
  transform: translateY(-2px) scale(1.02);
  text-decoration: none;
}

/* --- CARDS AND CARD-LISTS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 18px;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-accordion h2 {
  cursor: pointer;
  background: #202937;
  color: #E0C097;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 1.15rem;
  position: relative;
  margin-bottom: 0;
  transition: background 0.14s;
}
.faq-accordion h2:hover,
.faq-accordion h2.active {
  background: #282f39;
}
.faq-accordion .faq-answer {
  display: none;
  background: #181f29;
  border-left: 4px solid #E0C097;
  padding: 14px 28px;
  margin-bottom: 12px;
  border-radius: 0 0 10px 10px;
  color: #F6F7F9;
  font-size: 1rem;
  line-height: 1.7;
}
.faq-accordion .faq-answer.active {
  display: block;
}

/* --- LIST STYLES --- */
ul, ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
ul > li, ol > li {
  margin-bottom: 8px;
  position: relative;
  color: #F6F7F9;
  line-height: 1.65;
}
ul > li strong {
  color: #E0C097;
}

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

/* - Borders / Dividers - */
h2:after {
  content: '';
  display: block;
  width: 45px;
  height: 3px;
  background: #E0C097;
  border-radius: 2px;
  margin: 14px 0 0 0;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #222b35;
  color: #F6F7F9;
  padding: 24px 16px;
  border-top: 3px solid #E0C097;
  z-index: 15000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -2.5px 26px rgba(27,38,59,0.11);
  animation: banner-fadein 0.7s cubic-bezier(.7,0,0.24,1);
}
@keyframes banner-fadein {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  text-align: center;
  max-width: 800px;
  color: #F6F7F9;
  font-size: 1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
  margin-top: 5px;
}
.cookie-btn-group .cookie-btn {
  padding: 8px 20px;
  background: #E0C097;
  border-radius: 7px;
  color: #1B263B;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1.5px 7px rgba(224,192,151,0.08);
}
.cookie-btn-group .cookie-btn.settings {
  background: #282f39;
  color: #E0C097;
  border: 1px solid #E0C097;
}
.cookie-btn-group .cookie-btn:hover,
.cookie-btn-group .cookie-btn:focus {
  background: #efd6b0;
  color: #1B263B;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(1);
  background: #202937;
  box-shadow: 0 8px 40px rgba(27,38,59,0.18);
  border-radius: 17px;
  z-index: 17000;
  padding: 30px 24px 24px 24px;
  min-width: 300px;
  max-width: 92vw;
  max-height: 85vh;
  color: #F6F7F9;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.15s, transform 0.3s cubic-bezier(.5,1.6,.61,1);
  animation: modal-popin 0.23s cubic-bezier(.6,1.5,.8,1);
}
@keyframes modal-popin {
  from { opacity: 0; transform: scale(0.91) translate(-55%, -45%); }
  to   { opacity: 1; transform: scale(1) translate(-50%, -48%); }
}
.cookie-modal h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #E0C097;
  margin-bottom: 14px;
  font-size: 1.26rem;
}
.cookie-modal label {
  font-size: 1.07rem;
  color: #F6F7F9;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  user-select: none;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #394150;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #E0C097;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(14px);
  background: #E0C097;
}
.cookie-modal .cookie-btn-group {
  justify-content: flex-end;
  margin-top: 5px;
}
.cookie-modal .close-cookie-modal {
  margin-left: auto;
  background: transparent;
  color: #E0C097;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  margin-bottom: -6px;
  margin-right: -2px;
}
.cookie-modal .close-cookie-modal:hover {
  color: #ffd9a0;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 11px;
  }
  .hero {
    min-height: 40vh;
    border-radius: 0 0 17px 17px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .content-wrapper {
    gap: 19px;
  }
  .footer-main {
    gap: 24px;
    padding-bottom: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 16px;
    min-width: 0;
  }
  .card {
    border-radius: 8px;
    margin-bottom: 14px;
    min-width: 0;
  }
  .feature-item {
    border-radius: 8px;
    min-width: 0;
    margin-bottom: 14px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.33rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .hero h1 {
    font-size: 1.32rem;
  }
  .card-content {
    padding: 14px 7px;
  }
  .cookie-modal {
    padding: 15px 6px;
  }
}

/* --- ANIMATION CLASSES --- */
.fade-in {
  animation: fadeInAppear 0.3s ease;
}
@keyframes fadeInAppear {
  from {opacity: 0; transform: translateY(16px);} to {opacity: 1; transform: none;}
}

/* --- FOCUS & ACCESSIBILITY --- */
:focus {
  outline: 2px solid #E0C097;
  outline-offset: 2px;
}
a:focus-visible {
  background: #E0C097;
  color: #1B263B;
}
button:focus-visible {
  outline: 2px solid #E0C097;
  outline-offset: 1.5px;
  box-shadow: 0 0 3px #E0C097;
}

/* --- Z-INDEX LAYERING for overlays --- */
body > .cookie-modal { z-index: 17001; }

/* --- INDUSTRIAL MODERN METALLIC STYLE --- */
.section, .card, .testimonial-card, .feature-item {
  border: 1.5px solid #394150;
  background-clip: padding-box;
}

/* --- ICON STYLES --- */
p img, .footer-contact img {
  vertical-align: middle;
  margin-right: 7px;
  height: 18px;
  width: 18px;
  filter: grayscale(30%) brightness(0.94) sepia(0.13);
}

/* --- CUSTOM SCROLLBAR (INDUSTRIAL TOUCH) --- */
::-webkit-scrollbar {
  width: 8px;
  background: #181f29;
}
::-webkit-scrollbar-thumb {
  background: #394150;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E0C097;
}

/* --- MODALS/BANNER TRANSITIONS (SMOOTH UX) --- */
.cookie-modal[aria-hidden="true"],
.cookie-banner[aria-hidden="true"] {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  display: none !important;
}

/* --- OVERRIDES FOR CARD-LIKE ELEMENTS --- */
.card:not(:last-child), .testimonial-card:not(:last-child), .feature-item:not(:last-child) {
  margin-bottom: 20px !important;
}

/* --- ENSURE NO GRID USED & LAYOUT GAPS --- */
.card-container, .content-grid, .footer-main, .main-nav, .mobile-nav {
  gap: 20px;
}

/* --- PREVENT OVERLAPPING & ADEQUATE SPACING --- */
.card, .testimonial-card, .feature-item, .section {
  margin-bottom: 20px;
}

/* --- END --- */
