/* 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F6F9FB;
  color: #232628;
  font-family: 'Roboto', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* FONT IMPORTS (hosted or fallback) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --color-primary: #1F3B57;
  --color-secondary: #D9E6EE;
  --color-accent: #E9B552;
  --color-background: #F6F9FB;
  --color-white: #fff;
  --color-black: #232628;
  --heading-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
  --shadow-card: 0 6px 24px rgba(31,59,87,0.07);
  --shadow-hover: 0 8px 32px rgba(31,59,87,0.16);
  --border-radius: 18px;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* LUXURY & PREMIUM UTILITY CLASSES */
.golden {
  color: var(--color-accent);
}
.bg-golden {
  background: var(--color-accent);
  color: var(--color-black);
}

/* ------ LAYOUT CONTAINERS ------ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
  border-left: 6px solid var(--color-accent);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-left: 6px solid var(--color-primary);
}

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

/* Feature grid used in multiple sections */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.feature {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius);
  padding: 28px 22px;
  flex: 1 1 235px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .2s, border-color .2s;
  border-bottom: 3px solid transparent;
}
.feature img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 8px #f2efd3);
}
.feature:hover {
  box-shadow: var(--shadow-hover);
  border-bottom: 3px solid var(--color-accent);
}
.feature h3 {
  font-family: var(--heading-font);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.feature p {
  font-size: 15px;
  color: var(--color-black);
}


/* ------ TYPOGRAPHY ------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, blockquote {
  color: var(--color-black);
  font-size: 1rem;
  margin-bottom: 12px;
}
blockquote {
  font-size: 1.18rem;
  border-left: 5px solid var(--color-accent);
  padding-left: 18px;
  color: var(--color-primary);
  background: var(--color-secondary);
  margin-bottom: 8px;
  font-family: var(--body-font);
  font-style: italic;
}
cite {
  font-size: 1rem;
  color: var(--color-accent);
  font-family: var(--body-font);
}
ul, ol {
  margin-bottom: 18px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 5px;
}
strong {
  color: var(--color-primary);
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .18s;
  font-weight: 500;
}
a:hover, a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

/* BUTTONS & CTA */
.cta-primary,
button.cta-primary {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 32px;
  box-shadow: 0 4px 18px rgba(31,59,87,0.08);
  border: none;
  padding: 15px 36px;
  margin-top: 18px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  position: relative;
  outline: none;
}
.cta-primary:before {
  content: '';
  position: absolute;
  top: -3px; left: -3px;
  right: -3px; bottom: -3px;
  border-radius: 34px;
  border: 2px solid var(--color-accent);
  opacity: 0;
  transition: opacity .23s;
  pointer-events: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: var(--color-black);
  box-shadow: 0 6px 24px rgba(31,59,87,0.21);
}
.cta-primary:focus:before {
  opacity: 1;
}
.cta-secondary,
button.cta-secondary {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 1rem;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
  padding: 12px 28px;
  border-radius: 30px;
  margin-top: 10px;
  transition: background .17s, color .17s, border .18s;
  cursor: pointer;
  position: relative;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.button-group {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* ------- HEADER & NAVIGATION ------- */
header {
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(31,59,87,0.04);
  position: sticky;
  top: 0;
  z-index: 99;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  padding: 28px 20px 18px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.main-nav img {
  height: 44px;
  margin-right: 28px;
}
.main-nav a {
  font-family: var(--heading-font);
  font-size: 1.04rem;
  color: var(--color-primary);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .16s, color .18s;
}
.main-nav a.cta-primary {
  margin-left: auto;
  margin-right: 0;
  background: var(--color-accent);
  color: var(--color-black);
  font-weight: 700;
}
.main-nav a:not(.cta-primary):hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* ------ MOBILE NAVIGATION ------ */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  height: 44px;
  width: 44px;
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 2rem;
  z-index: 302;
  align-items: center;
  justify-content: center;
  transition: background .16s, box-shadow .25s;
  box-shadow: 0 2px 6px rgba(31,59,87,0.08);
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,59,87,0.98);
  box-shadow: 0 0 40px rgba(31,59,87,0.28);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 20px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 16px;
  margin-left: auto;
  margin-right: 24px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  z-index: 800;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 34px 28px;
  gap: 20px;
}
.mobile-nav a {
  font-family: var(--heading-font);
  color: var(--color-white);
  font-size: 1.19rem;
  background: transparent;
  padding: 15px 0;
  border-bottom: 1px solid rgba(233,181,82,0.13);
  transition: color .17s, background .19s;
  border-radius: 0;
  font-weight: 500;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(233,181,82,0.10);
}

/* ------ HERO / CTAs / STRUCTURE ------ */
.hero {
  background: var(--color-secondary);
  padding: 72px 0 48px 0;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 3px 10px rgba(31,59,87,0.06);
  margin-bottom: 44px;
}
.hero .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  color: var(--color-primary);
}
.hero p {
  color: var(--color-black);
  margin-bottom: 19px;
}

.cta, .contact-cta, .newsletter-cta {
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  padding: 40px 16px 36px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.contact-cta h2, .newsletter-cta h2 {
  color: var(--color-primary);
}

/* Contact Details Grid */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin: 28px 0 20px 0;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31,59,87,0.04);
  padding: 10px 16px;
}
.contact-details img {
  width: 24px;
  height: 24px;
  filter: none;
}

/* ------ BLOG FILTERS ------ */
.filters {
  margin-bottom: 20px;
}
.filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.filters li {
  font-family: var(--heading-font);
  color: var(--color-primary);
  font-size: 1.01rem;
  background: #f7f6f3;
  border-radius: 16px;
  padding: 6px 16px;
}
.filters li strong {
  color: var(--color-accent);
}

/* ------ FOOTER ------- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 32px 0 20px 0;
  margin-top: 48px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--heading-font);
  font-size: .98rem;
  text-decoration: none;
  transition: color .18s, text-decoration .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-white);
  text-decoration: underline;
}
footer p {
  text-align: center;
  color: #fffbe6;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ------- TESTIMONIALS & REVIEW SECTION ------- */
.testimonials-preview, .testimonials {
  margin-bottom: 52px;
}
.testimonials-preview h2, .testimonials h2 {
  margin-bottom: 30px;
  text-align: center;
  color: var(--color-primary);
}
.testimonial-card blockquote {
  background: #f8f7f3;
  color: var(--color-primary);
  border-left: 6px solid var(--color-accent);
}
.testimonial-card cite {
  color: var(--color-primary);
  margin-top: 6px;
  font-weight: 500;
}
.testimonial-card p {
  margin-top: 6px;
  font-size: .96rem;
  color: var(--color-black);
}

/* ------- LEGAL/TEXT SECTION ------- */
.legal {
  margin: 54px 0 54px 0;
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}
.legal .text-section {
  padding: 24px 8px 8px 8px;
}
.legal h1, .legal h2 {
  color: var(--color-primary);
}

/* ------ PAGE-SPECIFIC: BLOG LIST ------ */
.blog-list article {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  margin-bottom: 24px;
}
.blog-list h3 {
  font-size: 1.17rem;
  margin-bottom: 8px;
}

/* -------- FORM/CONFIRMATION ------- */
.confirmation {
  text-align: center;
  margin: 60px 0;
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 60px 18px;
}
.confirmation h1 {
  color: var(--color-primary);
  margin-bottom: 18px;
}

/* ------ RESPONSIVE DESIGN ------ */
@media (max-width: 990px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 11px;
  }
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    padding: 28px 5px;
    margin-bottom: 36px;
    box-shadow: 0 2px 10px rgba(31,59,87,0.12);
  }
  .feature-grid {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature {
    padding: 20px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 8px;
  }
  .content-grid, .contact-details {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .cta, .contact-cta, .newsletter-cta {
    padding: 24px 4px 28px 4px;
  }
  .hero {
    padding: 46px 0 24px 0;
    margin-bottom: 24px;
  }
  footer {
    margin-top: 18px;
    padding: 20px 0 10px 0;
  }
  .footer-nav {
    gap: 15px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to   {opacity: 1; transform: translateY(0);}
}
.section, .feature, .testimonial-card, .cta, .blog-list article,
.contact-cta, .newsletter-cta, .confirmation {
  animation: fadeIn 0.6s .06s both;
}

/* ----------- COOKIE CONSENT ----------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: var(--color-white);
  box-shadow: 0 -2px 18px rgba(31,59,87,0.18);
  border-top: 2px solid var(--color-accent);
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  animation: fadeIn .42s .04s both;
}
.cookie-banner p {
  margin-bottom: 0;
  color: var(--color-black);
}
.cookie-banner .button-group {
  gap: 10px;
}
.cookie-btn {
  font-family: var(--heading-font);
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 10px 24px;
  cursor: pointer;
  transition: background .16s, color .14s;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-black);
}
.cookie-btn.reject {
  background: #DBDBDB;
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: .80;
}

/* Modal Overlay */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(31,59,87,0.48);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .5s both;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--color-white);
  padding: 38px 24px;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(31,59,87,0.18);
  min-width: 320px;
  max-width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn .42s both;
}
.cookie-modal-content h2 {
  color: var(--color-primary);
  font-size: 1.4rem;
  font-family: var(--heading-font);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: var(--body-font);
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  transform: scale(1.4);
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2rem;
  cursor: pointer;
}

/* -------- MISC FIXES --------- */
::-webkit-input-placeholder { color: #8e95a3; }
::-moz-placeholder { color: #8e95a3; }
:-ms-input-placeholder { color: #8e95a3; }
::placeholder { color: #8e95a3; }

img {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: middle;
}
hr {
  border: none;
  border-top: 1px solid #ede7ce;
  margin: 36px 0;
}

/* Hide scroll on mobile menu */
body.mobile-menu-open {
  overflow: hidden;
}

/**** END OF CSS ****/
