/* ===========================
   CSS RESET & BASELINE 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.4;
  background: #fff;
  color: #253143;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ===========================
   GLOBAL BRAND VARIABLES
   =========================== */
:root {
  --color-primary: #253143;
  --color-secondary: #DAA520;
  --color-accent: #FFFFFF;
  --color-grey-light: #F6F7FA;
  --color-grey-mid: #E1E5EC;
  --color-grey-dark: #5B6777;
  --color-border: #D8DCE2;
  --shadow1: 0 2px 12px 0 rgba(37,49,67,0.08);
  --shadow2: 0 4px 16px 0 rgba(37,49,67,0.12);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* Montserrat - for geometric/angular feel (if webfonts are provided elsewhere) */
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-grey-light);
  color: var(--color-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-grey-dark);
}
strong {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
}
ul li, ol li {
  margin-bottom: 8px;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.text-section {
  max-width: 670px;
  font-size: 1.08rem;
}

/* ==========
   HEADER/NAV
   ========== */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 8px 0 rgba(37,49,67,0.03);
  position: relative;
  z-index: 100;
}
header .container {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  border-color: var(--color-secondary);
}
header .cta {
  background: var(--color-secondary);
  color: #fff;
  padding: 10px 26px;
  font-family: var(--font-display);
  border-radius: 8px 28px 8px 28px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow1);
  transition: background 0.2s, box-shadow 0.25s, color 0.2s, transform 0.2s;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 12px;
  display: inline-block;
}
header .cta:hover, header .cta:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: var(--shadow2);
  transform: translateY(-2px) scale(1.03);
}
header img {
  display: block;
  height: 36px;
}

/* ============
   MOBILE MENU
   ============ */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  border-radius: 8px;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.19s, color 0.21s, border 0.2s;
  margin-left: 16px;
  z-index: 450;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-primary);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.65,.05,.36,1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 0;
  opacity: 0.98;
  box-shadow: 3px 0 32px 0 rgba(37,49,67,0.29);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-secondary);
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  padding: 22px 28px 4px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 60px 32px 0 40px;
  font-family: var(--font-display);
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1.5px solid transparent;
  padding: 10px 0;
  border-radius: 0 0 8px 8px;
  transition: color 0.18s, background 0.21s, border-color 0.2s;
  min-width: 160px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.06);
  border-color: var(--color-secondary);
}

/* Hide main nav on mobile and show burger */
@media (max-width: 900px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  header .cta {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  header .container {
    height: 60px;
  }
  header img {
    height: 30px;
  }
}

/* Show main nav on desktop, hide mobile menu button */
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ============
   HERO SECTION
   ============ */
section:first-of-type {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow2);
  border-radius: 0 0 32px 32px;
  padding: 60px 0 !important;
  margin-bottom: 48px !important;
}
section:first-of-type h1 {
  color: #fff;
  font-size: 2.75rem;
  margin-bottom: 18px;
}
section:first-of-type .cta {
  margin-top: 20px;
  background: var(--color-secondary);
  color: #fff;
}
section:first-of-type .cta:hover, section:first-of-type .cta:focus {
  background: #fff;
  color: var(--color-primary);
}

/* ============
   STRUCTURED GRIDS & FEATURES
   ============ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 10px;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: var(--color-accent);
  padding: 24px 22px;
  border-radius: 20px;
  box-shadow: var(--shadow1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 250px;
  max-width: 340px;
  border: 1.5px solid var(--color-border);
  transition: box-shadow 0.19s, border-color 0.23s, transform 0.2s;
  position: relative;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: var(--shadow2);
  border-color: var(--color-secondary);
  transform: translateY(-4px) scale(1.035);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

/* List features (not grid) */
.features-list li, .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ============
   CARDS & TESTIMONIALS
   ============ */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: var(--shadow1);
  border: 1.5px solid var(--color-border);
  padding: 32px 22px;
  min-width: 240px;
  flex: 1 1 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow2);
  border-color: var(--color-secondary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 24px;
  background: var(--color-grey-light);
  border: 1.5px solid var(--color-border);
  border-left: 8px solid var(--color-secondary);
  box-shadow: var(--shadow1);
  border-radius: 18px;
  font-size: 1rem;
  font-style: italic;
  color: var(--color-primary);
  transition: box-shadow 0.17s, border-color 0.2s, border-left 0.2s;
}
.testimonial-card p {
  color: var(--color-primary);
}
.testimonial-card strong {
  color: var(--color-secondary);
  margin-left: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.97rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow2);
  border-color: var(--color-secondary);
  border-left: 12px solid var(--color-primary);
}

/* ============
   SPACING AND STRUCTURE
   ============ */
.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;
}
.map-snippet {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 18px 0 0 0;
  border-radius: 12px;
  background: var(--color-grey-mid);
  padding: 12px 16px;
  min-height: 60px;
  max-width: 70vw;
}

/* ============
   BUTTONS & INTERACTIVE
   ============ */
.cta, .btn, .cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 8px 22px 8px 22px;
  padding: 12px 32px;
  font-size: 1.09rem;
  text-transform: none;
  letter-spacing: 0.02em;
  border: none;
  margin-top: 12px;
  box-shadow: var(--shadow1);
  cursor: pointer;
  transition: background 0.21s, color 0.18s, box-shadow 0.17s, transform 0.14s;
  display: inline-block;
}
.cta:hover, .cta:active, .cta:focus,
.btn:hover, .btn:active, .btn:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: var(--shadow2);
  transform: translateY(-3px) scale(1.025);
}

/* Cookie banner special: neutral and reject/accept colors */
.cookie-btn.cookie-accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.cookie-accept:focus, .cookie-btn.cookie-accept:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cookie-btn.cookie-reject {
  background: #F6F7FA;
  color: var(--color-primary);
  border: 1.2px solid var(--color-primary);
}
.cookie-btn.cookie-reject:focus, .cookie-btn.cookie-reject:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: var(--color-grey-mid);
  color: var(--color-secondary);
}
.cookie-btn.cookie-settings:focus, .cookie-btn.cookie-settings:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* ==========================
   FORMS, INPUTS, MISC BLOCKS
   ========================== */
input, textarea, select {
  border: 1.2px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  font-family: var(--font-body);
  margin-bottom: 12px;
  transition: border 0.18s;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
}

/* ============
   FOOTER
   ============ */
footer {
  background: var(--color-primary);
  color: #fff;
  padding-top: 32px;
  padding-bottom: 40px;
  margin-top: 64px;
  border-radius: 52px 52px 0 0;
  font-family: var(--font-display);
}
footer .container, footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}
footer nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 600;
  margin-right: 18px;
  transition: color 0.17s;
}
footer nav a:focus,
footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.footer-info img {
  height: 32px;
}
footer p {
  margin: 0;
  color: var(--color-grey-mid);
  font-family: var(--font-body);
  font-size: 0.98rem;
}

/* ===========
   COOKIE CONSENT BANNER + MODAL
   =========== */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: var(--color-grey-light);
  color: var(--color-primary);
  box-shadow: 0 -4px 28px 0 rgba(37,49,67,0.09);
  border-top: 2.5px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 20px 24px;
  gap: 18px;
  transition: transform 0.34s cubic-bezier(.5,.99,.42,1);
  opacity: 0.98;
}
#cookie-banner.hide {
  transform: translateY(100%);
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
  align-items: center;
}

#cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(37,49,67,0.35);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.42s;
}
#cookie-modal-overlay.open {
  display: flex;
}
#cookie-modal {
  background: #fff;
  color: var(--color-primary);
  padding: 36px 32px;
  border-radius: 17px;
  box-shadow: 0 4px 38px 0 rgba(37,49,67,0.19);
  width: 92vw;
  max-width: 400px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalSlideIn 0.36s cubic-bezier(.77,.06,.75,1);
}
#cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  border: 1.2px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-grey-light);
  padding: 11px 14px;
  font-size: 1.06rem;
  font-family: var(--font-body);
}
.cookie-category input[type='checkbox']:not(:disabled) + label {
  cursor: pointer;
}
.cookie-category [disabled] + label {
  color: var(--color-grey-dark);
  opacity: 0.55;
  font-style: italic;
}
#cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}
#cookie-modal .close {
  position: absolute;
  top: 15px; right: 18px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.42rem;
  cursor: pointer;
}
#cookie-modal .close:focus,
#cookie-modal .close:hover {
  color: var(--color-primary);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ===============
   RESPONSIVE DESIGN
   =============== */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 22px;
  }
  .card-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6vw;
    min-width: 0;
  }
  .section {
    padding: 32px 8px;
  }
  section:first-of-type {
    padding: 32px 0 !important;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .feature-grid, .card-container, .card-grid, .testimonial-card {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .feature-grid > div, .card {
    min-width: 0;
    max-width: 97vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .map-snippet {
    max-width: 98vw;
    padding: 8px 8px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 15px 2px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  .testimonial-card {
    padding: 16px 10px;
    border-radius: 10px;
  }
  footer {
    padding-top: 22px;
    padding-bottom: 24px;
    font-size: 0.95rem;
    border-radius: 22px 22px 0 0;
  }
  .footer-info img {
    height: 20px;
  }
  #cookie-modal {
    padding: 22px 5px;
    max-width: 97vw;
    font-size: 0.97rem;
  }
}

/* ===============
   MISC GEOMETRIC DECORATIONS (design style)
   =============== */
.section, .feature-grid > div, .card, .testimonial-card {
  /* Simple geometric accent triangle at top right, using :after pseudo for structure */
  position: relative;
}
.feature-grid > div::after, .card::after, .testimonial-card::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--color-secondary) 75%, rgba(255,255,255,0) 76%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.08;
  pointer-events: none;
  z-index: 2;
}

/* Remove accent for small screens */
@media (max-width: 600px) {
  .feature-grid > div::after, .card::after, .testimonial-card::after {
    display: none;
  }
}

/* ============
   UTILITIES
   ============ */
.gap-20 { gap: 20px !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-top { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.m-t-20 { margin-top: 20px !important; }
.m-b-20 { margin-bottom: 20px !important; }
.m-b-32 { margin-bottom: 32px !important; }

/* ============================
   VISUALLY DISTINCTIVE HEADINGS
   ============================ */
h1, h2 {
  text-transform: none;
  border-left: 6px solid var(--color-secondary);
  padding-left: 17px;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h3 {
  text-transform: none;
  letter-spacing: 0.01em;
}


/******************************
 *      END OF STYLESHEET     *
 ******************************/
