/* ===== 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.5;
  background: #F7F7F9;
  color: #21293A;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
img {
  max-width: 100%;
  height: auto;
}

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

html {
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--accent, #F7F7F9);
  color: var(--primary, #21293A);
  min-height: 100vh;
}
:root {
  --primary: #21293A;
  --secondary: #7DC9E7;
  --accent: #F7F7F9;
  --gold: #D4AF37;
  --gold-dark: #B89B32;
  --white: #fff;
  --shadow: 0 4px 24px rgba(33,41,58,0.08);
  --shadow-lg: 0 6px 32px rgba(33,41,58,0.15);
}

/* ===== Container Layout ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* ===== Header ===== */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 1px solid #ede9d7;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #f4ecd8;
  color: var(--gold);
}
header a.btn-primary {
  margin-left: 20px;
}

header img {
  height: 40px;
  width: auto;
}

/* ===== Primary Button ===== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
  border-radius: 32px;
  padding: 12px 26px;
  box-shadow: var(--shadow);
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.11s;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gold-dark);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.03);
}

/* ===== Burger Menu (Mobile) ===== */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: color 0.2s;
  z-index: 110;
}

@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(33,41,58,0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px 24px 28px;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7, .2, .3, 1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.1rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 24px;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-top: 10px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  background: rgba(255,255,255,0.07);
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== Main Layout ===== */
main {
  min-height: 66vh;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  color: #36405b;
  line-height: 1.7;
  margin-bottom: 14px;
}
ul, ol {
  margin: 14px 0 18px 24px;
  padding: 0;
  color: #333b51;
  font-size: 1em;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
  position: relative;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 13px;
  margin-bottom: 2px;
  vertical-align: middle;
}
ol li {
  list-style-type: decimal;
  margin-left: 19px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* ===== Spacing Patterns ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 24px 18px 24px;
  min-width: 280px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 20px 30px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  border-left: 4px solid var(--gold);
  max-width: 700px;
}
.testimonial-card blockquote {
  color: #21293A;
  font-style: italic;
  font-family: 'Montserrat',serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}
.testimonial-card span {
  margin-left: 18px;
  font-size: 0.97rem;
  color: #93743a;
  font-family: 'Roboto',sans-serif;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Banner/offer/cta cards extra styles */
.offer-banner {
  background: var(--accent);
  border: 1.5px solid var(--gold);
  border-radius: 15px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

/* ===== Feature Grids / Icon Grids ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  margin-top: 14px;
}
.feature-grid > div {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 24px 24px 24px;
  flex: 1 1 270px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.12s;
  border-left: 3.5px solid var(--gold);
  margin-bottom: 20px;
  position: relative;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  object-fit: contain;
}
.feature-grid h3 {
  color: var(--primary);
}
.feature-grid p, .feature-grid span {
  color: #3a4661;
  font-size: 1rem;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.025) translateY(-3px);
}

/* ===== Footer ===== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0 32px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-right: 35px;
}
footer nav a {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1rem;
  padding: 4px 0;
}
footer nav a:hover,footer nav a:focus {
  color: var(--gold);
  text-decoration: underline;
}
footer img {
  filter: invert(1) saturate(50%) brightness(1.4);
  height: 32px;
}
footer .text-section {
  color: #f5e5be;
  font-size: 0.95rem;
  margin-top: 8px;
  font-family: 'Roboto',sans-serif;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  background: var(--primary);
  color: var(--white);
  padding: 26px 20px 20px 20px;
  box-shadow: 0 -3px 18px rgba(33,41,58,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.38s, opacity 0.33s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 2px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  border-radius: 24px;
  font-size: 1rem;
  padding: 9px 22px;
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--gold);
  color: var(--primary);
  margin-right: 4px;
  transition: background 0.2s, color 0.19s, box-shadow 0.17s;
  box-shadow: var(--shadow);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--gold-dark);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cookie-btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--gold);
  box-shadow: none;
}
.cookie-btn--secondary:hover, .cookie-btn--secondary:focus {
  background: #232a32;
  color: var(--gold);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%) scale(0.91);
  background: #f9f7f2;
  color: var(--primary);
  border-radius: 14px;
  box-shadow: 0 4px 48px rgba(33,41,58,0.14);
  z-index: 500;
  width: 90vw;
  max-width: 420px;
  padding: 36px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.34s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-51%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-modal__category input[type='checkbox'] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal__close {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.4rem;
  align-self: flex-end;
  margin-bottom: 2px;
  cursor: pointer;
}

/* ===== Responsive (Mobile-First) ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 14px;
  }
  header .container {
    height: 64px;
    gap: 14px;
  }
  footer .container {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  header nav, header a.btn-primary {
    display: none;
  }
}
@media (max-width: 860px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 26px 9px 32px 9px;
    margin-bottom: 36px;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  main, .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 18px 12px;
    gap: 10px;
    max-width: 100%;
  }
}
@media (max-width: 520px) {
  .content-wrapper {
    gap: 8px;
  }
  section, .section {
    padding: 15px 4vw 15px 4vw;
  }
  .cookie-banner {
    padding: 17px 7px 14px 7px;
    font-size: 0.97rem;
  }
}

/* ===== Forms (Newsletter) ===== */
input[type="text"],input[type="email"],textarea {
  border: 1.2px solid #e1e1e7;
  border-radius: 7px;
  font-size: 1rem;
  padding: 10px;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  color: var(--primary);
  transition: border 0.17s;
}
input[type="text"]:focus,input[type="email"]:focus,textarea:focus {
  border-color: var(--gold);
  outline: none;
}
label {
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
}

/* ===== Subtle Decorative Gold Accents ===== */
h1, h2, h3, h4, h5, h6 {
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 13px;
  margin-bottom: 3px;
}

/* ===== Animations / Microinteractions ===== */
.btn-primary, .cookie-btn {
  will-change: transform;
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.98);
  box-shadow: none;
}
.feature-grid > div, .card {
  transition: box-shadow 0.18s, transform 0.13s;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #dfd6bb;
  border-radius: 9px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* ===== Accessibility: Focus Styles ===== */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold);
}

/* Hide focus if not focus-visible */
:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* ===== Utility ===== */
.d-none {
  display: none !important;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Gold Icon Style ===== */
.icon-gold {
  filter: drop-shadow(0px 2px 2px #2222) brightness(1.09) sepia(70%) hue-rotate(25deg) saturate(2.36);
}

/* ===== Customization for accent links (CTA) ===== */
a.cta-link {
  color: var(--gold);
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  transition: color .17s;
}
a.cta-link:hover, a.cta-link:focus {
  color: var(--gold-dark);
  text-decoration-thickness: 2px;
}

/* ===== END OF STYLE ===== */