/* CSS Reset & Normalize (modern minimal) */
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.5;
  background-color: #F6F7F9;
  color: #232836;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

/* Brand Variables */
:root {
  --color-primary: #31496A;
  --color-secondary: #8FC4E3;
  --color-accent: #E6E6E6;
  --color-bg: #F6F7F9;
  --color-title: #233151;
  --color-text: #232836;
  --color-gold: #D2B866; /* Luxury gold accent */
  --color-footer-bg: #25354A;
  --color-white: #fff;
  --color-link: #31496A;
  --shadow-s: 0 1px 8px rgba(44,52,86,.05);
  --shadow-m: 0 4px 32px rgba(44,52,86,.08);
  --shadow-gold: 0 2px 16px rgba(210,184,102,0.15);
  --border-radius: 16px;
  --border-radius-s: 8px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* Font Face Loading */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

html {
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  color: var(--color-text);
  min-width: 320px;
  transition: background 0.25s;
  line-height: 1.7;
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 16px;
  color: var(--color-title);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  font-weight: 800;
}
h3 {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}
h4, h5, h6 {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* Links */
a {
  color: var(--color-link);
  text-decoration-thickness: 2px;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: var(--color-gold);
  text-decoration: underline;
  outline: none;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Spacing & Sections */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-s);
  transition: box-shadow 0.2s;
}
.section:last-of-type {
  margin-bottom: 0;
}

/* Card Grid & Cards */
.features-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.card-container {
  gap: 24px;
}

.card-grid {
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: var(--border-radius-s);
  box-shadow: var(--shadow-m);
  padding: 28px 24px 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(210,184,102,0.17), var(--shadow-m);
  transform: translateY(-3px) scale(1.015);
  z-index: 2;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* Feature Items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Text-Image Flex Section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--border-radius-s);
  box-shadow: var(--shadow-gold);
  position: relative;
  margin-bottom: 20px;
  border: 1px solid #ececec;
}
.testimonial-card p {
  color: #1A202C;
  font-style: italic;
  text-align: center;
  font-size: 1.13rem;
}
.testimonial-author {
  color: var(--color-gold);
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* CTAs & Buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 100px;
  border: none;
  background: linear-gradient(93deg, var(--color-gold) 70%, #E3D8B3 100%);
  color: #232836;
  box-shadow: 0 2px 12px rgba(210,184,102,0.12);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.18s, color 0.18s, transform 0.18s;
  position: relative;
  outline: none;
  margin: 10px 0;
  border-bottom: 2px solid #c5ae63;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(87deg, #E3D8B3 40%, var(--color-gold) 100%);
  color: var(--color-primary);
  box-shadow: 0 6px 36px rgba(210,184,102,0.22), var(--shadow-s);
  transform: translateY(-2px) scale(1.03);
}

button, .button {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 100px;
  border: none;
  background: #eee;
  color: var(--color-primary);
  padding: 9px 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--color-gold);
  color: var(--color-title);
  box-shadow: 0 2px 14px rgba(210,184,102,0.16);
  outline: none;
}

/* NAVIGATION */
header {
  background: #fff;
  padding: 0;
  border-bottom: 1.5px solid #E3E6ED;
  position: sticky;
  z-index: 30;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 30px;
}
nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  position: relative;
  padding: 8px 4px;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  outline: none;
}

/* Mobile Navigation (Burger) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 120;
  font-size: 2rem;
  background: var(--color-gold);
  color: var(--color-title);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-s);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ece7d2;
  color: var(--color-primary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: rgba(40, 52, 78, 0.95);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.38,.6,.57,1), opacity 0.18s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 30px;
  font-size: 2rem;
  background: transparent;
  color: var(--color-gold);
  border: none;
  z-index: 2010;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100vw;
  padding: 0 28px;
}
.mobile-nav a {
  color: var(--color-gold);
  font-size: 1.28rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-white);
  border-bottom: 1.5px solid var(--color-gold);
}

@media (max-width: 1023px) {
  header .container { gap: 12px; }
  nav { gap: 18px; }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 5vw;
  }
  .section {
    padding: 28px 8px;
    border-radius: 10px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    padding: 18px 0;
    gap: 16px;
  }
  .features-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 14px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  header .container {
    flex-direction: row;
    gap: 11px;
  }
  .cta-btn {
    padding: 11px 18px;
    min-width: 130px;
    font-size: 1rem;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.15rem;
  }
}

/* Footer */
footer {
  background: var(--color-footer-bg);
  color: #d2d5df;
  padding: 0 0 0 0;
  border-top: 2px solid #e6e6e9;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 30px 20px 30px 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-gold);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 2px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #fffbe6;
  border-bottom: 1.5px solid var(--color-gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 7px;
  color: #f4eeda;
  font-size: 0.98rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer img {
  max-width: 100px;
  margin-bottom: 5px;
}

@media (max-width: 700px) {
  footer .container {
    padding: 22px 8px;
    gap: 15px;
  }
  .footer-contact {
    gap: 7px;
    font-size: 0.92rem;
  }
  footer img {
    margin-bottom: 11px;
    max-width: 80px;
  }
  footer nav {
    gap: 12px;
  }
}

/* Utility Classes (gap, flex, etc.) */
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.d-flex { display: flex; }
.ai-center { align-items: center; }
.jc-space-between { justify-content: space-between; }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 -3px 24px rgba(44, 52, 86, 0.08);
  border-top: 2px solid var(--color-gold);
  z-index: 2300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 32px;
  font-size: 1rem;
  animation: cookieIn 0.45s cubic-bezier(.38,.6,.57,1);
  min-width: 0;
  transition: transform 0.35s, opacity 0.25s;
}
@keyframes cookieIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  padding: 9px 24px;
  border: none;
  border-radius: 30px;
  background: var(--color-gold);
  color: var(--color-title);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 0.97rem;
  margin: 0;
  box-shadow: 0 1px 8px rgba(210,184,102,0.09);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}
.cookie-accept:hover, .cookie-settings:hover, .cookie-reject:hover, .cookie-accept:focus, .cookie-settings:focus, .cookie-reject:focus {
  background: #e3d8b3;
  color: var(--color-primary);
  box-shadow: 0 4px 18px rgba(210,184,102,0.21), var(--shadow-s);
  outline: none;
}
.cookie-reject {
  background: #ececec;
  color: var(--color-title);
  border: 1px solid #ddd7b2;
}
.cookie-reject:hover {
  background: #f6eeda;
  color: #8B7913;
}
.cookie-settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-settings:hover {
  background: #b2e0fa;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 14px 9px;
    font-size: 0.94rem;
  }
  .cookie-banner .buttons {
    gap: 8px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2350;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,49,66,0.40);
  justify-content: center;
  align-items: center;
  animation: fadeInBg 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInBg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--color-title);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 48px rgba(44, 52, 86, 0.18);
  padding: 38px 36px 30px 36px;
  min-width: 320px;
  max-width: 410px;
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn 0.37s cubic-bezier(.38,.6,.57,1);
}
@keyframes modalIn {
  0% { transform: translateY(60px) scale(0.93); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-cat {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 30px;
  background: #EEE;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
  border: 1.5px solid #E4E0CC;
  display: inline-flex;
  align-items: center;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: var(--color-gold);
}
.cookie-modal .cookie-toggle span {
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(44,52,86,0.05);
  transition: left 0.18s, background 0.18s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] span {
  left: 18px;
  background: #E3D8B3;
}
.cookie-cat-title {
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: .01em;
}
.cookie-essential {
  color: #bbb;
  font-size: 0.97rem;
  font-style: italic;
}
.cookie-modal .modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.cookie-modal .modal-actions button {
  min-width: 80px;
  font-weight: 700;
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal .modal-actions button.accept {
  background: var(--color-gold);
  color: var(--color-title);
}
.cookie-modal .modal-actions button.cancel {
  background: #ececec;
  color: #7D7D7D;
}
.cookie-modal .modal-actions button:hover {
  background: #b2e0fa;
  color: var(--color-primary);
}
.cookie-modal .modal-actions button.accept:hover {
  background: #E3D8B3;
  color: var(--color-primary);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.5rem;
  border: none;
  background: transparent;
  color: var(--color-gold);
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 8px 14px 12px;
    min-width: unset;
    max-width: 97vw;
  }
  .cookie-modal .close-modal {
    top: 14px;
    right: 10px;
  }
}

/* Custom Details & Visual Accents */
h2, h3, .footer-contact div {
  position: relative;
}
h2:after, h3:after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-gold) 67%, var(--color-secondary) 100%);
  margin-top: 7px;
}
h2:after {
  width: 51px;
  height: 3.5px;
  margin-top: 9px;
}
@media (max-width: 700px) {
  h2:after, h3:after {
    width: 33px;
    margin-top: 5px;
    height: 2.2px;
  }
}

/* Icon Images as accents */
.features-grid img, ul img, .footer-contact img {
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  margin-right: 5px;
  filter: drop-shadow(0 2px 5px #dad8bd57);
}
.features-grid div {
  background: var(--color-accent);
  border-radius: 13px;
  padding: 18px 10px 15px 10px;
  box-shadow: var(--shadow-s);
  transition: box-shadow 0.18s, background 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 180px;
  min-height: 160px;
}
.features-grid div:hover, .features-grid div:focus-within {
  box-shadow: 0 7px 26px rgba(210,184,102,0.13), var(--shadow-m);
  background: #faf6e7;
  outline: none;
}

/* List Styling */
ul li, ol li {
  margin-bottom: 11px;
  padding-left: 26px;
  position: relative;
  color: var(--color-primary);
  font-size: 1.02rem;
}
ul li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--color-gold);
}

.text-section li {
  color: var(--color-text);
}

/* Content-Specific Wrappers */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsive Font Sizing */
@media (max-width: 500px) {
  html { font-size: 15px; }
  h1 { font-size: 1.11rem; }
  h2 { font-size: 1.0rem; }
  h3 { font-size: 0.9rem; }
}

/* Animations */
.cta-btn, .cookie-accept, .cookie-reject, .cookie-settings {
  transition: background 0.2s, color 0.18s, box-shadow 0.15s, transform 0.13s;
}
.card, .features-grid div {
  transition: box-shadow 0.17s, transform 0.14s, background 0.18s;
}

/* Prevent Overlapping, Add White Space */
.section, .card, .content-wrapper, .features-grid div, .testimonial-card, .cookie-modal {
  margin-bottom: 20px;
}
.section:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0 !important;
}
.features-grid div:not(:last-child),
.card:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-right: 0;
}

/* Accessibility */
:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 0.5px;
}

/* Hide scrollbars in modal/mobile menu if desired */
.mobile-menu, .cookie-modal {
  -ms-overflow-style: none;  /* IE 10+ */
  scrollbar-width: none;  /* Firefox */
}
.mobile-menu::-webkit-scrollbar,
.cookie-modal::-webkit-scrollbar {
  display: none;
}

/* Form Elements */
input[type="text"], input[type="email"], input[type="password"], textarea {
  border-radius: 6px;
  border: 1.5px solid #E3E6ED;
  background: #fff;
  font-size: 1rem;
  padding: 10px 12px;
  color: var(--color-primary);
  margin-bottom: 14px;
  box-shadow: var(--shadow-s);
}
input:focus, textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}

/* Miscellaneous */
.next-steps {
  background: #F7F4E5;
  border-radius: var(--border-radius-s);
  padding: 19px 17px;
  margin: 16px 0 0 0;
  color: var(--color-primary);
  box-shadow: var(--shadow-s);
  font-size: 1.01rem;
}

/* Hide elements utility */
.d-none {
  display: none !important;
}
