/* ======= CSS RESET & NORMALIZE ======= */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #EFEFEF;
  color: #192024;
  min-height: 100vh;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #174C65;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FDCB08;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #13232F;
  font-weight: 700;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #174C65;
}

/* ======= BRAND VARIABLES =======*/
:root {
  --color-primary: #174C65;
  --color-secondary: #EFEFEF;
  --color-accent: #FDCB08;
  --color-dark: #13232F;
  --color-shadow: rgba(23,76,101,0.10);
  --color-cardbg: #fff;
  --radius: 18px;
  --shadow: 0 4px 16px var(--color-shadow);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition-main: all 0.20s cubic-bezier(.4,0,.2,1);
}

/* ======= TOPOLOGY & LAYOUT ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  background: var(--color-cardbg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-cardbg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  background: #fff;
  color: #192024;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(23,76,101,0.08);
  margin-bottom: 20px;
  min-width: 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======= HEADER / NAVIGATION ======= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 12px rgba(23,76,101,0.09);
  z-index: 101;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  position: relative;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  color: var(--color-dark);
}
.main-nav a.cta-primary {
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(253,203,8,0.15);
  border: 1px solid var(--color-accent);
  margin-left: 6px;
  transition: var(--transition-main);
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-primary);
  box-shadow: 0 2px 14px 0 rgba(253,203,8,0.20);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F4EF;
  color: var(--color-accent);
}
.main-nav img {
  height: 38px;
  margin-right: 10px;
  vertical-align: middle;
}

/* ======= MOBILE NAVIGATION ======= */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  padding: 6px 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19,35,47,0.96);
  z-index: 1200;
  padding: 0 0;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-accent);
  background: none;
  border: none;
  margin: 24px 24px 0 auto;
  padding: 7px 13px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 44px 0 0 34px;
  width: 80vw;
  max-width: 370px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 14px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 5px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: 24px;
    z-index: 2001;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ======= HERO, FEATURES, CATEGORIES, CTA, ETC. ======= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: block;
}
section .container {
  width: 100%;
}
ul {
  list-style-type: none;
}
ul li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 18px;
  font-size: 1.11rem;
  color: #192024;
  line-height: 1.7;
  transition: color 0.15s;
}
ul li img {
  height: 26px;
  width: 26px;
  position: absolute;
  left: 0;
  top: 2px;
}
ul li strong {
  color: var(--color-primary);
}
ul li a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.15s;
}
ul li a:hover, ul li a:focus {
  color: var(--color-accent);
}

/* ======= TESTIMONIALS ======= */
.testimonial-card {
  min-width: 260px;
  max-width: 650px;
  background: #fff;
  color: #1A222B;
  border-left: 6px solid var(--color-accent);
  font-style: italic;
  padding: 26px 28px;
}
.testimonial-card p:first-child {
  font-size: 1.09rem;
  margin-bottom: 8px;
  color: #1A222B;
}
.testimonial-card strong {
  font-style: normal;
  color: var(--color-primary);
  font-weight: 700;
}

/* Ensuring testimonial contrast on light backgrounds */
.testimonial-card, .testimonial-card * {
  background: #fff;
  color: #1A222B !important;
}

/* ======= BUTTONS, CTAS ======= */
.cta-primary {
  display: inline-block;
  padding: 14px 42px;
  font-size: 1.17rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 99px;
  background: var(--color-primary);
  color: #fff !important;
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 4px 16px rgba(23,76,101, 0.08);
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-top: 12px;
  margin-bottom: 8px;
  transition: var(--transition-main);
}
.cta-primary:focus, .cta-primary:hover {
  background: var(--color-accent);
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px 0 rgba(253,203,8,0.16);
  text-decoration: none;
}
button, .button {
  font-family: var(--font-display);
  border-radius: 8px;
  border: 1.2px solid var(--color-primary);
  padding: 10px 28px;
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
button:focus, button:hover, .button:focus, .button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 2px 10px rgba(23,76,101,0.10);
}

/* ======= SELECT, FORM ELEMENTS ======= */
input, select {
  border-radius: 8px;
  border: 1.2px solid #D8D8D8;
  padding: 8px 12px;
  font-size: 1rem;
  margin-bottom: 12px;
  background: #fff;
  color: #13232F;
  transition: border 0.16s;
}
input:focus, select:focus {
  border-color: var(--color-primary);
  outline: none;
}
label {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 3px;
  color: var(--color-primary);
}

/* ======= FOOTER ======= */
footer {
  background: #13232F;
  color: #fff;
  padding: 45px 0 25px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 46px;
}
.footer-menu, .footer-contact {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.footer-menu {
  margin-bottom: 14px;
  gap: 12px;
}
.footer-menu a {
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1.04rem;
  transition: color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  text-shadow: 0 2px 10px rgba(253, 203, 8,0.21);
  text-decoration: underline;
}
.footer-contact {
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}
.footer-contact a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.15s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
}

/* ======= COOKIE CONSENT BANNER & MODAL ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(23,76,101,0.15);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 22px 18px 22px;
  z-index: 1400;
  font-size: 1rem;
  color: var(--color-dark);
  transition: transform 0.36s, opacity 0.20s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140px);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1;
  font-size: 1.07rem;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner .button, .cookie-banner button {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.97rem;
  border: 1.4px solid var(--color-primary);
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 600;
  transition: var(--transition-main);
}
.cookie-banner .button.accept {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-accent);
}
.cookie-banner .button.accept:hover, .cookie-banner .button.accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .button.reject {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.cookie-banner .button.reject:hover, .cookie-banner .button.reject:focus {
  background: #f7f7f7;
  color: #ff6700;
}
.cookie-banner .button.settings {
  background: #f7f7f7;
  color: var(--color-dark);
  border-color: var(--color-accent);
}
.cookie-banner .button.settings:hover, .cookie-banner .button.settings:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

.cookie-modal-overlay {
  display: none;
  background: rgba(19,35,47,0.68);
  position: fixed;
  z-index: 1500;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  transition: opacity 0.20s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(23,76,101,0.19);
  width: 95vw;
  max-width: 370px;
  padding: 36px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeIn .34s cubic-bezier(.3,0,.50,1);
}
.cookie-modal h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--color-primary);
  font-family: var(--font-display);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.02rem;
  color: #192024;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  border: 1.5px solid var(--color-primary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .modal-actions .button,
.cookie-modal .modal-actions button {
  border-radius: 20px;
  border: 1.2px solid var(--color-primary);
  padding: 8px 18px;
  background: var(--color-accent);
  color: var(--color-dark);
}
.cookie-modal .modal-actions .button.close {
  background: #fff;
  color: var(--color-primary);
}
.cookie-modal .modal-actions .button.save {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-accent);
}
.cookie-modal .modal-actions .button.save:hover,
.cookie-modal .modal-actions .button.save:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0px); }
}

/* ======= RESPONSIVE / MOBILE-OPTIMIZED ======= */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .section, section {
    padding: 28px 0 36px 0;
    margin-bottom: 30px;
  }
  .content-wrapper, .content-grid {
    gap: 12px;
  }
  .card-container,
  .content-grid {
    flex-direction: column !important;
    gap: 20px;
  }
  .testimonial-card {
    padding: 16px 8px;
    font-size: 1rem;
    flex-direction: column;
    gap: 10px;
  }
  .text-section {
    padding: 20px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .footer-menu, .footer-contact {
    flex-direction: column;
    gap: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 10px 12px 10px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 1.24rem;
  }
  h2 {
    font-size: 1rem;
  }
  .footer-contact, .footer-menu {
    font-size: 0.98rem;
    padding-left: 6px;
    padding-right: 6px;
  }
  .cookie-modal {
    max-width: 94vw;
  }
}

/* ======= MICRO-INTERACTIONS ======= */
.cta-primary,
button, .button, .card, .testimonial-card, .main-nav a, .mobile-nav a {
  transition: var(--transition-main);
}
.card:hover, .text-section:hover {
  box-shadow: 0 6px 26px 0 rgba(23,76,101,0.16), 0 1.5px 6px 0 rgba(253,203,8,0.10);
  border-color: var(--color-accent);
}

/* ======= LUXURY ACCENTS (Gold Details) ======= */
.card, .testimonial-card, .text-section {
  border: 1.1px solid #E4C067;
  box-shadow: 0 4px 16px rgba(253,203,8,0.10);
}
.card:before, .testimonial-card:before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background: var(--color-accent);
  border-radius: 18px 18px 0 0;
  opacity: 0.12;
  pointer-events: none;
}

/* ======= UTILITIES & SPACING ======= */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.pt-2 { padding-top: 16px; }
.pt-4 { padding-top: 32px; }
.pb-2 { padding-bottom: 16px; }
.pb-4 { padding-bottom: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}

/* ======= HIDE/FIXED/ACCESSIBILITY ======= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ======= GOLD ACCENTS ON CERTAIN ELEMENTS ======= */
h1, h2, h3 {
  position: relative;
  z-index: 1;
}
h1:after, h2:after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 3px;
  background: var(--color-accent);
  margin-top: 8px;
}

/* Remove gold accent under h1/h2 in hero with .no-underline (optional utility) */
.no-underline:after {
  display: none !important;
}

/* ======= OVERRIDES FOR COOKIE BANNER/TESTIMONIALS COLOR CONTRAST ======= */
.testimonial-card, .testimonial-card *, .cookie-banner, .cookie-modal, .cookie-modal * {
  color: #1A222B !important;
}

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