/* ================================
   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, menu, 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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F6FA;
  color: #171717;
}
ul, ol {
  list-style: none;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  outline: none;
  transition: color 0.2s cubic-bezier(0.47,0.08,0.44,1.66);
}
a:focus {
  outline: 2px solid #203464;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
  box-shadow: none;
}

/* ================
   VARIABLES
   ================ */
:root {
  --color-primary: #203464;
  --color-secondary: #F4F6FA;
  --color-accent: #E1981E;
  --color-black: #171717;
  --color-dark: #232323;
  --color-gray: #646464;
  --color-light-gray: #EDEDED;
  --color-border: #DADDE2;
  --white: #fff;
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --shadow-card: 0 3px 24px rgba(35,40,50,0.08), 0 1.5px 4px rgba(10,10,14,0.06);
  --radius-lg: 16px;
  --radius-sm: 6px;
}

/* ================
   GLOBAL TYPOGRAPHY
   ================ */
body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-black);
  background: var(--color-secondary);
  letter-spacing: 0.02em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-primary);
  line-height: 1.21;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.12rem;
}
.subheadline, .cta-text, .discussion-invite {
  color: var(--color-gray);
  font-size: 1.18rem;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-weight: 400;
}
p, li, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
}
ul, ol {
  margin-bottom: 24px;
}
strong {
  font-weight: 600;
  color: var(--color-black);
}

/* ================
   CONTAINER & SECTIONS
   ================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s cubic-bezier(0.34,1.27,0.22,1);
}
section:not(:first-child) {
  margin-top: 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 28px 8px;
    border-radius: 10px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ================
   MAIN NAVIGATION
   ================ */
header {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(25,35,50,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 66px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--color-black);
  padding: 7px 0;
  transition: color 0.18s, border-bottom 0.15s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
}
.cta-btn.primary {
  margin-left: 18px;
}

@media (max-width: 1023px) {
  .main-nav {
    gap: 10px;
  }
  .main-nav a {
    font-size: 0.99rem;
    padding: 5px 0;
  }
}
@media (max-width: 900px) {
  header .container {
    padding-left: 6px;
    padding-right: 10px;
    gap: 7px;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn.primary {
    display: none !important;
  }
}

/* ================
   MOBILE MENU
   ================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 22px;
  z-index: 110;
  background: var(--white);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 2.3rem;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(30,35,60,0.09);
  transition: background 0.17s;
  cursor: pointer;
  border: 1px solid var(--color-border);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 300;
  background: rgba(20,22,30,0.95);
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.68, -0.07, 0.43, 1.19);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 26px 18px 0;
  font-size: 2.3rem;
  background: none;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  padding: 3px 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 0.2s;
  outline: none;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
}

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

/* ================
   BUTTONS & LINKS
   ================ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.11rem;
  border-radius: var(--radius-sm);
  padding: 11px 28px;
  margin: 8px 0;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(32,52,100,0.09);
  border: none;
  outline: none;
  letter-spacing: 0.01em;
  transition: background 0.16s, box-shadow 0.19s, color 0.16s, border 0.19s;
  position: relative;
  gap: 7px;
  z-index: 1;
}
.cta-btn.primary {
  background: var(--color-primary);
  color: var(--white);
  border: none;
}
.cta-btn.secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cta-btn.small {
  font-size: 0.95rem;
  padding: 7px 16px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  color: var(--color-black);
  box-shadow: 0 2px 18px rgba(32,52,100,0.13);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--color-primary);
  color: var(--white);
  border-color: var(--color-accent);
}

button {
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}

/* ================
   FLEXBOX LAYOUT ELEMENTS
   ================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  min-width: 270px;
  flex: 1 1 290px;
  transition: box-shadow 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 36px rgba(32,52,100,0.14);
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 18px rgba(32,52,100,0.08);
  margin-bottom: 22px;
  border-left: 4px solid var(--color-accent);
  color: var(--color-black);
  font-family: var(--font-body);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--color-gray);
  font-size: 1rem;
  font-style: italic;
  opacity: 0.78;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================
   PAGE-SPECIFIC FLEX-LISTS
   ================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 6px;
}
.feature-grid > li {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: 0 2px 12px rgba(32,52,100,0.06);
  min-width: 260px;
  flex: 1 1 220px;
  transition: box-shadow 0.13s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 0;
}
.feature-grid > li img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  filter: grayscale(100%);
}
.feature-grid > li:hover, .feature-grid > li:focus-within {
  box-shadow: 0 8px 28px rgba(32,52,100,0.14);
}
@media (max-width: 900px) {
  .feature-grid,
  .card-container {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .feature-grid,
  .card-container {
    flex-direction: column;
    gap: 10px;
  }
  .feature-grid > li {
    min-width: 0;
    width: 100%;
  }
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list > li {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 0;
  box-shadow: 0 1.5px 14px rgba(30,35,65,0.09);
  padding: 20px 20px 16px 22px;
  flex: 1 1 275px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.services-list > li strong {
  font-size: 1.18rem;
  color: var(--color-primary);
  margin-bottom: 2px;
  font-family: var(--font-display);
}
.services-list > li p {
  font-size: 1rem;
}
.services-list > li span {
  font-size: 1.05rem;
  color: var(--color-accent);
  font-weight: 600;
}
.services-list > li .cta-btn.small {
  margin-top: 8px;
  align-self: flex-start;
}
@media (max-width: 768px) {
  .services-list {
    flex-direction: column;
    gap: 12px;
  }
}
.review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 22px;
}
.review-list > li {
  background: var(--color-light-gray);
  border-radius: var(--radius-lg);
  flex: 1 1 230px;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.review-list .text-section h3 {
  color: var(--color-accent);
}
@media (max-width: 768px) {
  .review-list {
    flex-direction: column;
    gap: 12px;
  }
}
.curated-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.curated-lists > li {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(30,35,60,0.06);
  flex: 1 1 220px;
  min-width: 150px;
}
@media (max-width: 600px) {
  .curated-lists {
    flex-direction: column;
    gap: 10px;
  }
}

/* ================
   TEXT SECTIONS & MAP
   ================ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.map-block {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 16px;
}
.map-block img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-primary);
}

/* ================
   FOOTER
   ================ */
footer {
  background: var(--white);
  border-top: 1.5px solid var(--color-border);
  margin-top: 84px;
}
footer .container {
  padding: 34px 22px 14px 22px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-wrapper > * {
  min-width: 180px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0px;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.footer-contact p {
  font-size: 0.97rem;
  color: var(--color-gray);
  line-height: 1.6;
}
.footer-contact a {
  color: var(--color-black);
  font-weight: 500;
  word-break: break-all;
}
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  footer .container {
    padding: 20px 8px 8px 8px;
  }
}

/* ================
   MONOCHROME SOPHISTICATED EFFECTS
   ================ */
section, .testimonial-card, .feature-grid > li, .card, .curated-lists > li, .services-list > li, .review-list > li {
  border: 1.5px solid var(--color-border);
  background: var(--white);
  /* Subtle edge shadow for depth */
}
h1, h2, h3, h4 {
  text-shadow: 0 1px 0 #fff, 0 2px 12px rgba(0,0,0,0.04);
}
svg, img {
  filter: grayscale(1) contrast(1.06);
}

/* ==========================
   COOKIES CONSENT BANNER
   ========================== */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: var(--white);
  color: var(--color-black);
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -4px 26px rgba(50,55,75,0.08);
  padding: 26px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  opacity: 1;
  transform: translateY(0%);
  transition: transform 0.4s;
  font-family: var(--font-body);
}
#cookie-banner.hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
}
#cookie-banner p {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--color-black);
}
.cookie-btn-group {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-btn {
  background: var(--color-primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 18px;
  transition: background 0.14s, color 0.14s;
  border: none;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent);
  color: var(--color-black);
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-primary);
  color: var(--white);
}

/* Modal Styling for Cookie Settings */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: rgba(25,28,40,0.54);
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.67s;
}
#cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeInModalBg {
  from { opacity: 0; } to { opacity: 1; }
}
#cookie-modal {
  background: #fff;
  color: #1e2a36;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 54px rgba(35,40,52,0.15);
  border: 2px solid var(--color-border);
  max-width: 384px;
  min-width: 256px;
  width: 95%;
  padding: 32px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popSlideIn 0.35s cubic-bezier(0.67,1.43,0.37,1);
}
@keyframes popSlideIn {
  from { opacity: 0; transform: translateY(70px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 1.5rem;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.13s;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category-item label {
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  background: var(--color-light-gray);
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background 0.12s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 0.5px 4px rgba(32,52,100,0.11);
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 17px;
}
.cookie-category-item.essential label {
  color: var(--color-gray);
  opacity: 0.9;
  font-style: italic;
}

/* ==========================
   FORMS (contact, newsletter)
   ========================== */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 14px 13px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-secondary);
  font-family: var(--font-body);
  transition: border-color 0.15s;
  font-size: 1rem;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--color-primary);
}
label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--color-primary);
}

/* ================
   MISCELLANEOUS
   ================ */
::-webkit-input-placeholder { color: #b3b3b3; }
::-moz-placeholder { color: #b3b3b3; }
:-ms-input-placeholder { color: #b3b3b3; }
::placeholder { color: #b3b3b3; opacity: 1; }

hr {
  border: none;
  border-bottom: 1px solid var(--color-border);
  margin: 26px 0;
}

/* ================
   RESPONSIVE ADJUSTMENTS
   ================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.43rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.21rem; }
  section {
    padding: 21px 3px;
  }
}

/* ================
   UTILITY CLASSES
   ================ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* ================
   PRINT
   ================ */
@media print {
  header, footer, #cookie-banner, .mobile-menu { display: none !important; }
  section { box-shadow: none !important; border: none !important; }
}

/* ================
   SCROLLBAR
   ================ */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-secondary);
}
::-webkit-scrollbar-thumb {
  background: #D5D6DA;
  border-radius: 6px;
}

/* ================
   FOCUS VISIBLE FOR ACCESSIBILITY
   ================ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ================
   TRANSITIONS & MICRO-ANIMATIONS
   ================ */
.card,
.feature-grid > li,
.curated-lists > li,
.services-list > li, 
.review-list > li,
.cta-btn,
section,
.testimonial-card,
footer,
.main-nav a,
.footer-nav a {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, border 0.11s, transform 0.19s;
}
.card:hover, .feature-grid > li:hover, .curated-lists > li:hover, .services-list > li:hover, .review-list > li:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 10px 30px rgba(32,52,100,0.15);
  z-index: 9;
}

/****** Dummy style for demonstration—Cookie Banner ******/
#cookie-banner[hidden] { display: none !important; }

/* END CSS */
