/* RESET & BOX SIZING */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

:root {
  --brand-primary: #234E70;
  --brand-secondary: #ffffff;
  --brand-accent: #C37200;
  --brand-accent-light: #FFD382;
  --lux-gold: #CBB26A;
  --lux-gold-dark: #9E8A4C;
  --lux-silver: #EFEFEF;
  --text-main: #1E252B;
  --text-secondary: #596377;
  --background-light: #FAFAFA;
  --card-bg: #fff;
  --border-radius: 20px;
  --shadow-light: 0 2px 16px 0 rgba(36,40,53,0.09);
  --shadow-lux: 0 4px 32px 0 rgba(50,46,38,0.08);
  --transition-base: 0.28s cubic-bezier(0.32,0.72,0,1);
}

html, body {
  height: 100%;
  font-size: 16px;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background: var(--background-light);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  font-weight: 600;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; margin-top: 28px; }
h3 { font-size: 1.35rem; font-weight: 500; }
h4 { font-size: 1.1rem; }

p, ul, ol, li, span, b, strong {
  color: var(--text-main);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
b, strong {
  font-weight: 600;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
  border: none;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--lux-gold);
}

/* CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

/* SECTIONS & SPACING */
section {
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX GROUPS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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: var(--card-bg);
  box-shadow: var(--shadow-light);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  border-left: 6px solid var(--lux-gold);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(190,140,6,0.25);
  transform: translateY(-2px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARDS & PROMOS */
.promo-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 24px 22px 20px 22px;
  margin-bottom: 20px;
  border-top: 4px solid var(--lux-gold);
  position: relative;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.promo-card .tag {
  align-self: flex-end;
  margin-top: 12px;
}
.promo-card:hover {
  box-shadow: 0 4px 32px 0 rgba(200,160,30,0.18);
  transform: translateY(-1px) scale(1.012);
}

/* GOLD ACCENT DECORATION & TAGS */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--lux-gold-dark);
  background: var(--lux-gold);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 14px;
  padding: 4px 15px;
  margin-right: 10px;
  box-shadow: 0 1px 8px 0 rgba(205,178,106,0.07);
  letter-spacing: 0.05em;
  border: 1px solid #e3dbb2;
  margin-bottom: 6px;
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 28px;
  background: var(--lux-gold);
  color: #29240b;
  font-size: 1.13rem;
  letter-spacing: 0.06em;
  padding: 12px 38px;
  margin-top: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 16px 0 rgba(205,178,106,0.13);
  border: none;
  cursor: pointer;
  border-bottom: 3px solid var(--lux-gold-dark);
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), border var(--transition-base), transform 0.14s cubic-bezier(.52,1.46,.23,1.02);
}
.cta:hover, .cta:focus {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 4px 28px 0 rgba(205,178,106,0.28);
  border-bottom: 3px solid var(--brand-primary);
  transform: translateY(-1.5px) scale(1.03);
}

/* HEADER & NAVIGATION */
header {
  background: var(--brand-secondary);
  box-shadow: 0 2px 14px 0 rgba(35,78,112,0.04);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  height: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
header img {
  height: 45px;
  width: auto;
  margin-right: 23px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--brand-primary);
  font-size: 1.02rem;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--lux-gold);
  color: #1a1912;
}
header .cta {
  margin-left: 28px;
}

/* Burger Menu (Mobile) */
.mobile-menu-toggle {
  background: var(--lux-gold);
  color: #29240b;
  border: none;
  border-radius: 11px;
  padding: 8px 13px;
  font-size: 1.7rem;
  box-shadow: 0 2px 8px 0 rgba(205,178,106,0.13);
  display: none;
  align-items: center;
  cursor: pointer;
  z-index: 114;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-primary);
  color: var(--lux-gold);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 2000;
  background: rgba(35,78,112,0.95);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.62,0.02,0.2,1.09);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--lux-gold);
  border: none;
  color: #29240b;
  font-size: 2rem;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 2002;
  box-shadow: 0 1px 6px 0 rgba(205,178,106,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2e2e28;
  color: var(--lux-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 90px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
  padding: 12px 0;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.18s, background 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--lux-gold);
  background: transparent;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 1023px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 1023px) {
  header .container {
    flex-wrap: nowrap;
    gap: 12px;
  }
}

/* MAIN/SPACING */
main {
  margin-top: 36px;
  min-height: 60vh;
}
section + section {
  margin-top: 42px;
}

.text-section {
  margin-bottom: 18px;
  font-size: 1.08rem;
  color: var(--text-secondary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

/* FOOTER */
footer {
  background: var(--brand-primary);
  color: #f3e9ce;
  padding: 36px 0 12px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  width: 100%;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-links a {
  color: var(--lux-gold);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.18s, background 0.13s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #fff;
  background: var(--lux-gold);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  font-size: 1.02rem;
  color: #f3e9ce;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  width: 100%;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e3ca90;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  filter: brightness(1.78) sepia(0.5);
}
.footer-copy {
  margin-top: 20px;
  font-size: 0.97rem;
  color: #CBB26A;
  letter-spacing: 0.04em;
  text-align: center;
  width: 100%;
}

/* LISTS OF FEATURES (about/etc) */
.content-wrapper > ul, .content-wrapper > ol {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 14px;
}
.content-wrapper > ul > li, .content-wrapper > ol > li {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 22px 22px 16px 22px;
  min-width: 230px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  border-left: 4px solid var(--lux-gold);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.content-wrapper > ul > li:hover, .content-wrapper > ol > li:hover {
  box-shadow: 0 4px 32px 0 rgba(200,180,74,0.12);
  transform: translateY(-2.5px) scale(1.012);
}
.content-wrapper > ul > li img, .content-wrapper > ol > li img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

/* OL step list */
.content-wrapper > ol {
  counter-reset: luxol;
  gap: 18px;
}
.content-wrapper > ol > li {
  position: relative;
  padding-left: 38px;
  font-size: 1.08rem;
  background: none;
  box-shadow: none;
  border: none;
}
.content-wrapper > ol > li:before {
  counter-increment: luxol;
  content: counter(luxol) '.';
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--brand-accent);
  font-size: 1.14rem;
  font-weight: bold;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* MODAL OVERLAY COMMON (for cookie modal) */
.modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: rgba(17,19,32,0.65);
  pointer-events: auto;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.32s;
}
.modal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 48px 0 rgba(70,55,21,0.23);
  padding: 48px 30px 36px 30px;
  min-width: 320px;
  max-width: 96vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 3100;
}
.modal h3, .modal h4 {
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 1.02rem;
}
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.switch input {
  display: none;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ddd;
  border-radius: 22px;
  transition: background 0.22s;
}
.switch input:checked + .slider {
  background: var(--brand-accent);
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.switch input:checked + .slider:before {
  transform: translateX(18px);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2500;
  background: #fffbe9;
  color: #54450B;
  box-shadow: 0 -4px 26px rgba(205,176,90,0.18);
  border-top: 3px solid var(--lux-gold);
  padding: 24px 18px 24px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  animation: slideUpCookie 0.55s cubic-bezier(0.37,1.41,0.34,1.01);
}
@keyframes slideUpCookie {
  0% { transform: translateY(100%); opacity: 0; }
  90% { opacity: 0.75; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 9px 23px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.19s;
}
.cookie-btn.accept {
  background: var(--lux-gold);
  color: #2d2305;
  box-shadow: 0 1px 8px 0 rgba(205,178,106,0.13);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-accent);
  color: #fff;
}
.cookie-btn.reject {
  background: #eee8de;
  color: #785a1b;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f1dfb1;
  color: #392806;
}
.cookie-btn.settings {
  background: #fff;
  border: 1px solid var(--lux-gold-dark);
  color: #a38a3f;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f7e7b1;
  color: #7d6622;
}

/* RESPONSIVE/MOBILE */
@media (max-width: 768px) {
  main {
    margin-top: 12px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .content-wrapper > ul, .content-wrapper > ol {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .footer-links, .footer-contact {
    flex-direction: column;
    gap: 13px;
    align-items: center;
  }
  .promo-card {
    padding: 17px 10px 14px 10px;
  }
}

/* MOBILE-SPACING/ADJUSTMENTS */
@media (max-width: 480px) {
  h1 {
    font-size: 1.42rem;
  }
  h2 {
    font-size: 1.14rem;
    margin-top: 16px;
  }
  h3 {
    font-size: 1.06rem;
  }
  header .container {
    height: 56px;
    padding-left: 8px;
    padding-right: 8px;
  }
  header img {
    height: 32px;
  }
  .card-container, .content-grid {
    gap: 8px;
  }
  .tag {
    font-size: 0.87rem;
    padding: 3.5px 9px;
  }
}

/* ANIMATIONS */
.cta, .promo-card, .testimonial-card, .card, .section, .tag, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-btn {
  transition: all var(--transition-base);
}

/* ACCESSIBILITY/FOCUS */
a:focus, button:focus, .cta:focus, input:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
  z-index: 20;
}

/* SPECIAL HIERARCHY */
h1 + p, h2 + p, h3 + p {
  margin-top: -10px;
  margin-bottom: 16px;
}

/* Hide unneeded nav on mobile */
@media (max-width: 1023px) {
  nav {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Hide on print */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .modal-overlay {
    display: none !important;
  }
}
