/* RESET AND NORMALIZE */
html[data-theme] { color-scheme: light; }

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, 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;
}

html { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  background: #F8F4EF;
  color: #223149;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}
button, [type="button"], [type="submit"] { cursor: pointer; }

/* GEOMETRIC STRUCTURED STYLES */
:root {
  --color-primary: #223149;
  --color-secondary: #F8F4EF;
  --color-accent: #B29360;
  --color-neutral: #ffffff;
  --color-dark: #1a2435;
  --color-shadow: rgba(34,49,73,0.06);
  --radius-card: 16px;
  --radius-btn: 6px;
  --shadow-card: 0 2px 8px var(--color-shadow);
  --transition-main: all 0.25s cubic-bezier(.22,.68,.54,1);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
h1 { font-size: 2.7rem; line-height: 1.12; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.13; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.05rem; }
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #343a43;
  margin-bottom: 12px;
}
.text-section ul,
.text-section ol {
  padding-left: 1px;
  margin-bottom: 16px;
}
ul li, ol li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
}
ul li img, ol li img { margin-right: 8px; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; }
ul li:before, ol li:before { display: none; }
a { transition: color 0.15s; }
a:hover, a:focus { color: var(--color-accent); outline: none; }

/* CONTAINER AND GRID SYSTEM */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-neutral);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(34,49,73,0.11);
  transform: translateY(-4px) scale(1.01);
}
.card-content { display: flex; flex-direction: column; justify-content: center; }
.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;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--color-neutral);
  border-bottom: 1.5px solid #ECEFF3;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 1px 6px rgba(34,49,73,0.03);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 4px;
  border-radius: 3px;
  color: var(--color-primary);
  position: relative;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-accent);
  background: #f5efe5;
}
header img {
  max-height: 48px;
  margin-right: 16px;
}

/* CTA BUTTONS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  padding: 12px 32px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 2px 7px rgba(34,49,73, 0.07);
  letter-spacing: 0.11em;
  margin-top: 18px;
  margin-bottom: 0;
  transition: var(--transition-main);
  position: relative;
}
.cta-btn.primary {
  background: var(--color-primary);
  color: var(--color-neutral);
  border: 2px solid var(--color-primary);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-2px) scale(1.042);
}
.cta-btn:hover, .cta-btn:focus {
  background: #f7efe3;
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-2px) scale(1.032);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 2010;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-neutral);
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  border: none;
  outline: none;
  box-shadow: 0 2px 11px rgba(34,49,73, 0.08);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 2500;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-neutral);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22,.68,.54,1);
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  overscroll-behavior: contain;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  box-shadow: -3px 0 18px 0 rgba(34,49,73,0.27);
}
.mobile-menu-close {
  background: none;
  color: var(--color-neutral);
  font-size: 2.2rem;
  position: absolute;
  top: 15px;
  right: 22px;
  border: none;
  outline: none;
  z-index: 2610;
  cursor: pointer;
  transition: color .16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 90px;
  margin-left: 40px;
}
.mobile-nav a {
  color: var(--color-neutral);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 0;
  border-radius: 7px;
  transition: background .14s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* SECTION STYLES */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  position: relative;
}
section:last-child { margin-bottom: 0; }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 780px;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(34,49,73, 0.06);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-accent);
  position: relative;
  color: #223149;
  max-width: 540px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-style: italic;
  color: #223149;
  margin-bottom: 7px;
}
.testimonial-card div {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #555;
  letter-spacing: 0.01em;
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-neutral);
  padding: 36px 0;
  border-top: 4px solid var(--color-accent);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 28px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--color-neutral);
  font-size: 1rem;
  opacity: 0.96;
  letter-spacing: 0.05em;
  padding: 4px 6px;
  border-radius: 3px;
  transition: background .14s, color .14s;
}
.footer-nav a:hover, .footer-nav a.active {
  background: var(--color-accent);
  color: var(--color-primary);
}
.footer-contact,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1rem;
}
.footer-contact img { width: 18px; height: 18px; margin-right: 4px; vertical-align: middle; display: inline-block; }
.footer-brand img { height: 36px; margin-right: 9px; }
.footer-brand span {
  font-size: 0.97rem;
  opacity: 0.77;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 4200;
  width: 100vw;
  background: #fffefc;
  color: #223149;
  border-top: 3.5px solid var(--color-accent);
  box-shadow: 0 -2px 18px rgba(34,49,73, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 15px 22px 15px;
  gap: 20px;
  font-size: 1.01rem;
  transition: transform 0.45s cubic-bezier(.22,.68,.54,1);
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  border-radius: 6px;
  padding: 8px 20px;
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-primary);
  cursor: pointer;
  transition: background .13s, color .13s;
  margin-right: 5px;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: #fff2dd;
  color: var(--color-dark);
}
.cookie-btn.accept:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-modal-overlay {
  position: fixed;
  z-index: 5200;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,49,73,0.13);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.cookie-modal-overlay.active { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 13px 13px 0 0;
  box-shadow: 0 7px 23px rgba(34,49,73,0.13);
  padding: 36px 22px 26px 22px;
  min-width: 310px;
  max-width: 382px;
  width: 94vw;
  color: #223149;
  position: relative;
  animation: fadeInUp 0.34s;
  margin-bottom: 0;
}
@keyframes fadeInUp { 0% { opacity:0; transform: translateY(80px);} 100% { opacity:1; transform: translateY(0);} }
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  color: #223149;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0 12px 0;
}
.cookie-category label {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  background: #ddd;
  border-radius: 12px;
  position: relative;
  transition: background 0.13s;
  cursor: pointer;
  margin-left: 6px;
}
.cookie-toggle input { display: none; }
.cookie-toggle span {
  display: block;
  width: 20px; height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left .18s;
}
.cookie-toggle input:checked ~ span { left: 18px; background: var(--color-primary); }
.cookie-category[aria-disabled="true"] label, .cookie-category[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .container { max-width: 960px; }
}
@media (max-width: 900px) {
  .container { max-width: 780px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.55rem; }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 12px 4px;
    justify-content: flex-start;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .section, section {
    padding: 30px 0;
    margin-bottom: 45px;
  }
  .content-wrapper, .text-section {
    gap: 16px;
  }
  .card, .testimonial-card {
    padding: 16px 12px;
    max-width: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact, .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    min-width: 0;
    max-width: 97vw;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.21rem;
  }
}

/* VISUAL GEOMETRIC ACCENTS */
h1, h2, h3 {
  text-transform: none;
  letter-spacing: 0.02em;
}
h1 {
  position: relative;
  padding-left: 16px;
}
h1:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 15%;
  width: 6px; height: 75%;
  background: var(--color-accent);
  border-radius: 6px;
}
h2 {
  position: relative;
  padding-left: 14px;
}
h2:before {
  content: '';
  position: absolute;
  left: 0; top: 30%;
  width: 4px; height: 70%;
  background: var(--color-accent);
  border-radius: 4px;
}

/* MICRO-INTERACTIONS */
.card, .cta-btn, .testimonial-card {
  transition: box-shadow .19s, transform .18s, border-color .23s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 20px 0 rgba(178,147,96,0.17);
}
.card:active, .cta-btn:active { transform: scale(.98); }

/* FORMS - For any contact form in the future */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
input, textarea, select {
  border: 1.5px solid #d8d1c1;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 1.01rem;
  background: #fff;
  transition: border-color .18s;
  color: #223149;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Accessibility Focus States */
a:focus-visible, .cta-btn:focus-visible, button:focus-visible {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

/* Hide scrollbars from mobile-menu when open (iOS fix) */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* Add spacing between major cards/sections */
section .content-wrapper > * { margin-bottom: 20px; }
section .content-wrapper > *:last-child { margin-bottom: 0; }

/* Utility Classes */
.mt-24 { margin-top: 24px; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }
.w100 { width: 100%; }

/* Ensure proper z-index stacking for overlays/menus */
.mobile-menu, .cookie-banner, .cookie-modal-overlay, .cookie-modal { z-index: 5000; }

/* --- END OF STYLE.CSS --- */