/* --------------------------- */
/* CSS RESET & BASE TYPOGRAPHY */
/* --------------------------- */
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,
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;
  vertical-align: baseline;
  background: transparent;
  font: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  --color-primary: #243C5A;
  --color-secondary: #F3D493;
  --color-accent: #A23F00;
  --color-bg: #FAF7F3;
  --color-white: #fff;
  --color-black: #181818;
  --color-grey: #f6f6f6;
  --shadow-primary: 0 4px 24px rgba(36,60,90,0.07), 0 1.5px 6px rgba(36,60,90,0.08);
}
body {
  background: var(--color-bg);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
}
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, button, select { font: inherit; }
a { text-decoration: none; color: inherit; transition: color 0.25s; }
strong { font-weight: 700; }
em { font-style: italic; }

/* ---------------------------- */
/* FONT FACE FALLBACKS          */
/* ---------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1,h2,h3,h4,.cta-primary, .cta-secondary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.005em;
}

/* ---------------------------- */
/* CONTAINERS AND LAYOUT */
/* ---------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(36,60,90,0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(36,60,90,0.16);
  transform: translateY(-4px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------------- */
/* HEADINGS & TYPOGRAPHY HIERARCHY    */
/* ---------------------------------- */
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 400;
}
p, ul, li {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.hero-tagline {
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 24px;
  font-weight: 500;
}

/* ------------------------------- */
/* PRIMARY BUTTON STYLES           */
/* ------------------------------- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(98deg, #F3D493 0%, #B99746 100%);
  color: #243C5A;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(36,60,90,.09);
  padding: 15px 40px;
  margin-top: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cta-primary:after {
  content: "";
  display: block;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(98deg, #B99746 0%, #FFD98D 100%);
  color: #1a2635;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(36,60,90,0.14);
}
.cta-primary:active {
  background: #F3D493;
  color: #243C5A;
}

/* ------------------------------------------------ */
/* HEADER & MAIN NAVIGATION STYLES                   */
/* ------------------------------------------------ */
header {
  background: var(--color-white);
  border-bottom: 1.5px solid #ede4d5;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #243C5A;
  font-size: 1rem;
  position: relative;
  padding: 0 4px 3px 4px;
  transition: color 0.18s;
}
header nav a:not(.cta-primary)::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.24s;
}
header nav a:not(.cta-primary):hover,
header nav a:not(.cta-primary):focus {
  color: var(--color-accent);
}
header nav a:not(.cta-primary):hover::after,
header nav a:not(.cta-primary):focus::after {
  width: 64%;
}

/* Responsive Logo */
header img {
  max-height: 38px;
}

/* ------------------ */
/* MOBILE NAVIGATION  */
/* ------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-accent);
  cursor: pointer;
  margin-left: 12px;
}
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,60,90,0.96);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.71,.09,.33,1.27);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 28px 0 0 26px;
  background: none;
  border: none;
  font-size: 2.6rem;
  color: var(--color-secondary);
  align-self: flex-start;
  cursor: pointer;
  z-index: 2;
  border-radius: 40px;
  padding: 5px 12px;
  transition: opacity 0.2s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 45px;
  width: 100%;
  padding-left: 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.22rem;
  color: var(--color-secondary);
  font-weight: 600;
  transition: color 0.18s, background 0.22s;
  border-radius: 20px;
  padding: 9px 18px 9px 6px;
  margin-right: 16px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(243,212,147,.11);
}

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

/* Prevent scrolling when mobile-menu is open */
body.mobile-menu-open { overflow: hidden; }

/* ------------------------------- */
/* HERO AND SECTION BACKGROUND     */
/* ------------------------------- */
section:first-child {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 44px rgba(36,60,90,0.09);
}
section:first-child .container, section:first-child h1,
section:first-child .hero-tagline, section:first-child .cta-primary {
  color: var(--color-secondary);
}
section:first-child .cta-primary {
  background: linear-gradient(90deg, #fff7db 15%, #F3D493 80%);
  color: #354A6D;
}
section:first-child .cta-primary:hover {
  background: linear-gradient(90deg, #FFD98D 0%, #B99746 100%);
  color: #231f20;
}

/* --------------------------------- */
/* TESTIMONIAL CARDS & REVIEWS       */
/* --------------------------------- */
.testimonial-card {
  background: var(--color-white);
  border: 1.5px solid #F3D493;
  border-radius: 20px;
  box-shadow: 0 3px 14px rgba(36,60,90,0.06);
  padding: 20px 28px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.13rem;
  line-height: 1.55;
  position: relative;
}
.testimonial-card p {
  color: var(--color-primary);
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: var(--color-accent);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  font-weight: 600;
}

/* ------------------------------ */
/* CARD, LIST, SECTION SPACING    */
/* ------------------------------ */
ul, ol {
  margin: 0 0 10px 14px;
  padding-left: 0px;
  list-style: disc inside none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
li {
  margin-bottom: 6px;
  color: var(--color-primary);
  font-size: 1.05rem;
  position: relative;
  padding-left: 17px;
}
li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--color-secondary);
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
}

/* ----------------------------------- */
/* FOOTER                             */
/* ----------------------------------- */
footer {
  background: #232323;
  color: #F3D493;
  padding: 44px 0 24px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
}
footer img {
  max-height: 44px;
  margin-bottom: 12px;
  filter: brightness(105%) contrast(110%);
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer nav a {
  font-size: 1rem;
  color: #F3D493;
  opacity: 0.84;
  transition: color 0.18s, opacity 0.20s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff7db;
  opacity: 1;
  text-decoration: underline dotted 1.5px;
}
.footer-contact p, .footer-contact a {
  color: #f2e5c5;
  font-size: .99rem;
  margin-bottom: 2px;
}
.footer-contact a {
  text-decoration: underline dashed 1px;
  color: #FFD98D;
}

/* ------------------------------ */
/* COOKIE CONSENT BANNER & MODAL  */
/* ------------------------------ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(36,60,90,0.98);
  color: #fff6e3;
  box-shadow: 0 -8px 36px rgba(36,60,90,0.13);
  padding: 22px 16px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  padding: 9px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 7px;
  box-shadow: 0 2px 6px rgba(36,60,90,.09);
  cursor: pointer;
  transition: background 0.17s, color 0.18s, transform 0.17s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #ffd88b;
  color: #9e5e16;
  transform: translateY(-2px) scale(1.05);
}
.cookie-consent-banner .cookie-settings-btn {
  background: transparent;
  border: 1.5px solid var(--color-secondary);
  color: var(--color-secondary);
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(36,60,90,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff8ef;
  color: var(--color-primary);
  border-radius: 24px;
  padding: 34px 28px 28px 28px;
  box-shadow: 0 14px 38px rgba(36,60,90,0.12);
  max-width: 98vw;
  min-width: 320px;
  max-width: 430px;
  margin: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-accent);
}
.cookie-modal-title {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 7px;
}
.cookie-modal-category {
  margin-bottom: 14px;
  font-size: 1rem;
  padding: 10px 0 8px 0;
  border-bottom: 1px solid #ede4d5;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category span {
  font-weight: 700;
}
.cookie-modal-category .toggle-switch {
  margin-left: 12px;
}
.toggle-switch {
  display: inline-block;
  width: 44px;
  height: 24px;
  position: relative;
  vertical-align: middle;
}
.toggle-switch input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ebe9e6;
  border-radius: 22px;
  transition: background 0.18s;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  border-radius: 50%;
  background-color: #B89742;
  transition: transform 0.2s, background 0.2s;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: #F3D493;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background: #A23F00;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 7px;
}
.cookie-modal-actions button {
  padding: 10px 28px;
  border-radius: 18px;
  color: var(--color-primary);
  background: var(--color-secondary);
  border: none;
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
}
.cookie-modal-actions button:hover {
  background: #ffdb85;
  color: var(--color-accent)
}
.cookie-modal-actions .cookie-cancel-btn {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 9px 18px;
}
.cookie-modal-actions .cookie-cancel-btn:hover {
  background: #f7dfb6;
  color: #984114;
}

/* ------------------------------ */
/* RESPONSIVE DESIGN (MOBILE FIRST)*/
/* ------------------------------ */
@media (max-width: 980px) {
  .container { padding: 0 5vw; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 26px; }
  header .container { flex-direction: row; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section { margin-bottom: 40px; padding: 24px 7vw; }
  .testimonial-card {
    flex-direction: column;
    padding: 14px 8vw;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .card-content {
    padding: 22px 10px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 17px;
    font-size: 1rem;
    padding: 18px 8px;
    border-radius: 0px 0px 0px 0px;
  }
  .cookie-modal-content {
    min-width: 85vw;
    padding: 24px 8vw 22px 8vw;
  }
  .mobile-nav {
    margin-top: 24px;
    padding-left: 12vw;
  }
  .footer-contact { margin-top: 4px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  .section { margin-bottom: 22px; padding: 15px 4vw; }
  .testimonial-card { padding: 10px 3vw; }
  .card-content { padding: 10px 4vw; }
  .cookie-modal-content { padding: 14px 4vw 14px 4vw; }
}

/* ------------------------------- */
/* MISCELLANEOUS/DETAILS           */
/* ------------------------------- */
a:focus, button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
section {
  box-sizing: border-box;
}

::-webkit-scrollbar-track {
  background: #ece4d6;
}
::-webkit-scrollbar-thumb {
  background: #B89742;
  border-radius: 8px;
}
::-webkit-scrollbar {
  width: 10px;
}

/* Decorative gold accent line (for luxury feel) */
.section h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 10px 0 6px 0;
  background: linear-gradient(90deg, #F3D493 0%, #B99746 90%, #FFD98D 100%);
  border-radius: 2px;
}
/* Decorative accent on .cta-primary (gold shimmer on hover) */
.cta-primary:before {
  content: '';
  position: absolute;
  left: -75%;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2) 2%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0) 97%);
  transform: skewX(-25deg);
  transition: left 0.6s cubic-bezier(.71,.09,.33,1.27);
  pointer-events: none;
}
.cta-primary:hover:before {
  left: 100%;
}

/* Subtle Card Hover Shadow */
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.16s;
}

.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(181,151,70,0.16);
}

/* Prevent cards from overlapping */
.card, .testimonial-card {
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .card, .testimonial-card { margin-bottom: 18px; }
}

/* Form Elements */
input, textarea, select {
  border-radius: 10px;
  border: 1.5px solid #F3D493;
  background: #FFFCF4;
  color: var(--color-primary);
  padding: 11px 18px;
  transition: border-color .19s;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  outline: 1.5px solid var(--color-accent);
}

/* Hide Decorative Focus on Touch Devices */
@media (hover: none) and (pointer: coarse) {
  a:focus, button:focus {
    outline: none;
  }
}
/* Utility Classes */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/* Animations */
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(.71,.09,.33,1.27);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px); /* IE6, IE7 */
  clip-path: inset(50%);
  border: 0 !important;
}
section {
  padding: 20px 0;
}
/*--- End of Style ---*/
