/* =========================
   CSS RESET & NORMALIZATION
   ========================= */
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, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #f5f3ec;
  color: #232a35;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #bb9457;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #232a35;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}

/* =========================
      TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #232a35;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
strong {
  font-weight: 700;
}
blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: #232a35;
  margin: 0 0 8px 0;
  padding-left: 18px;
  border-left: 4px solid #bb9457;
}

/* =========================
      LAYOUT UTILITIES
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(35,42,53,0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(35,42,53,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(35,42,53,0.13);
  transform: translateY(-3px) scale(1.02);
  z-index: 2;
}
.content-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 240px;
  background: #f5f3ec;
  border-radius: 16px;
  padding: 28px 18px 24px 18px;
  margin-bottom: 20px;
  border: 2px solid #e2e2e2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.18s;
  min-width: 220px;
}
.feature-grid > div:hover {
  border-color: #bb9457;
  box-shadow: 0 6px 24px rgba(35,42,53,0.09);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* =========================
            HERO
   ========================= */
.hero {
  background: linear-gradient(120deg, #f5f3ec 70%, #232a35 100%);
  display: flex;
  align-items: center;
  min-height: 320px;
  margin-bottom: 0;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  padding: 54px 0 48px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}
.hero h1 {
  color: #232a35;
  font-size: 2.65rem;
  text-shadow: 0 2px 12px rgba(35,42,53,0.02);
  margin-bottom: 12px;
}
.hero p {
  color: #232a35;
  font-size: 1.15rem;
  margin-bottom: 22px;
}

/* =========================
            NAVIGATION
   ========================= */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(35,42,53,0.06);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 18px 20px 18px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}
.main-nav > a {
  padding: 8px 0;
  color: #232a35;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-bottom: 2.5px solid transparent;
  transition: border 0.18s, color 0.18s;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: #bb9457;
  border-bottom: 2.5px solid #bb9457;
}
.main-nav img {
  margin-right: 18px;
  height: 40px;
}

/* =========================
        CTA & BUTTONS
   ========================= */
.cta, .btn {
  display: inline-block;
  background: #bb9457;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 32px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(35,42,53,0.08);
  margin-top: 12px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  outline: none;
}
.cta.primary, .btn.primary {
  background: #bb9457;
  color: #fff;
}
.cta:hover, .btn:hover,
.cta:focus, .btn:focus {
  background: #232a35;
  color: #fff;
  box-shadow: 0 8px 24px rgba(35,42,53,0.10);
  transform: translateY(-2px) scale(1.025);
}
.btn.secondary, .cta.secondary {
  background: #f5f3ec;
  color: #232a35;
  border: 2px solid #bb9457;
}
.btn.secondary:hover, .cta.secondary:hover {
  background: #bb9457;
  color: #fff;
}

/* =========================
             FOOTER
   ========================= */
footer {
  background: #232a35;
  color: #f5f3ec;
  padding: 0 0 36px 0;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding-top: 18px;
}
.footer-nav a {
  color: #bb9457;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  font-size: 1rem;
  align-items: center;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.social-proof {
  font-size: 1.08rem;
  color: #bb9457;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 10px;
  padding-left: 2px;
}

/* =========================
          TESTIMONIALS
   ========================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #232a35;
  border: 2px solid #bb9457;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(187,148,87,0.12);
  padding: 20px;
  margin-top: 32px;
  min-width: 260px;
  transition: box-shadow 0.18s, border-color 0.18s;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(35,42,53,0.10);
  border-color: #232a35;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  color: #232a35;
  margin: 0 18px 0 0;
  border-left: 4px solid #bb9457;
  padding-left: 16px;
}
.testimonial-card div {
  font-style: normal;
  font-size: 1rem;
  color: #232a35;
  margin: 0;
  font-weight: 600;
}

/* =========================
       MOBILE NAVIGATION
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: #232a35;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  padding: 4px 20px 4px 12px;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 101;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #bb9457;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 2200;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: #f5f3ec;
  box-shadow: 0 0 44px 12px rgba(35,42,53,0.15);
  transform: translateX(-110vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(.77,0,.18,1.03), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: #232a35;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  margin: 24px 0 14px 24px;
  align-self: flex-start;
  padding: 4px 18px 4px 10px;
  cursor: pointer;
  z-index: 2210;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #bb9457;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
  margin-left: 24px;
}
.mobile-nav a {
  color: #232a35;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
  width: 100%;
  max-width: 270px;
  box-sizing: border-box;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #bb9457;
  color: #fff;
}

/* =========================
    COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 3000;
  width: 100%;
  background: #232a35;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(35,42,53,0.08);
  padding: 20px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(110px);
  transition: transform 0.28s, opacity 0.22s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  margin: 0 2px;
  background: #bb9457;
  color: #fff;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #232a35;
  border: 2px solid #bb9457;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #bb9457;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #bb9457;
  border: 2px solid #bb9457;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #bb9457;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  z-index: 3500;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,42,53,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #232a35;
  border-radius: 18px;
  padding: 32px 24px 24px 24px;
  max-width: 390px;
  width: 95%;
  box-shadow: 0 6px 48px rgba(35,42,53,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.cookie-modal-content h2 {
  font-size: 1.25rem;
  color: #232a35;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cookie-modal-content .close-cookie-modal {
  position: absolute;
  top: 10px;
  right: 18px;
  background: #232a35;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.cookie-category .cookie-toggle {
  appearance: none;
  width: 40px;
  height: 20px;
  background: #e2e2e2;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-category .cookie-toggle:checked {
  background: #bb9457;
}
.cookie-category .cookie-toggle:disabled {
  background: #d3c196;
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-category .toggle-thumb {
  position: absolute;
  pointer-events: none;
  left: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.21s;
}
.cookie-category .cookie-toggle:checked + .toggle-thumb {
  left: 21px;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal-content .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}

/* =========================
          RESPONSIVE
   ========================= */
@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 760px;
  }
  .footer-nav, .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .hero {
    padding: 38px 0 32px 0;
    min-height: 170px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  .footer-nav {
    gap: 8px;
    padding-top: 8px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.98rem;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
    border-radius: 12px;
  }
  .hero h1 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  .hero p {
    font-size: 1rem;
  }
}
@media (max-width: 512px) {
  .container {
    padding: 0 2vw;
  }
  .section {
    padding: 12px 2vw;
    margin-bottom: 32px;
  }
  .card, .feature-grid > div {
    min-width: 0;
    padding: 18px 8px;
    font-size: 0.97rem;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px 7px;
  }
  .cookie-modal-content {
    padding: 16px 8px 14px 8px;
    min-width: 0;
  }
}

/* =========================
    GEOMETRIC STRUCTURED 
   (Visual Geometry Rules)
   ========================= */
.section, .card, .feature-grid > div, .testimonial-card, .hero, .cookie-modal-content {
  /* geometric geometric_structured: more angular look, but with rounded intersection */
  border-radius: 18px;
}

.section {
  box-shadow: 0 6px 32px rgba(35,42,53,0.05);
}
/* Add decorative accent triangles/squares to hero (geometric) */
.hero::before, .hero::after {
  content: '';
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
}
.hero::before {
  top: 30px;
  left: -30px;
  width: 70px;
  height: 70px;
  background: #bb9457;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hero::after {
  bottom: 30px;
  right: -54px;
  width: 88px;
  height: 58px;
  background: #232a35;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

/* =========================
       MISC/UTIL CLASSES
   ========================= */
.hide {
  display: none !important;
}


/* Geometric icon accents (optional, can inject with ::before on h2 etc.) */
h2::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  background: #bb9457;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  vertical-align: middle;
}
h3::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  background: #232a35;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  vertical-align: middle;
}

/* Microinteractions */
button:active, a:active {
  transform: scale(0.97);
}

/* Scrollbar styling for geometric touch */
::-webkit-scrollbar {
  width: 10px;
  background: #e2e2e2;
}
::-webkit-scrollbar-thumb {
  background: #bb9457;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #232a35;
}

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