/* =====================================================================
   Brass Currency – Geometric Structured Style (Flexbox Only)
   ===================================================================== */

/* === 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, 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;
  box-sizing: border-box;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F8F7F4;
  color: #2C3E50;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.6em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #A37244;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2C3E50;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2C3E50;
  letter-spacing: 0.5px;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.1;
  text-transform: uppercase;
}
h2 {
  font-size: 1.7rem;
  margin-top: 32px;
}
h3 {
  font-size: 1.1rem;
  margin-top: 24px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, blockquote {
  font-size: 1rem;
  margin-bottom: 1em;
}
blockquote {
  margin-left: 0;
  margin-right: 0;
  padding-left: 16px;
  border-left: 5px solid #A37244;
  font-style: italic;
  background: #EFE6DA;
  border-radius: 5px 0 0 5px;
}
strong, b {
  font-weight: 700;
  color: #2C3E50;
}

/* === CONTAINERS, LAYOUTS & SECTIONS === */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(44,62,80,0.10);
  display: flex;
  flex-direction: column;
}
/* Sectionless content (for less padded areas) */
main > section:not(.hero):not(:first-child) {
  margin-bottom: 60px;
}

/* === HERO === */
.hero {
  width: 100%;
  background: #EFE6DA;
  background-image: url("../assets/pattern-dots.svg");
  background-size: 120px 120px;
  background-repeat: repeat;
  border-bottom: 5px solid #A37244;
  padding: 0;
  margin-bottom: 48px;
}
.hero .container {
  justify-content: center;
  align-items: center;
  min-height: 320px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  padding: 32px 0;
  gap: 24px;
}
.hero h1 {
  color: #2C3E50;
  text-shadow: 1px 2px 0 #EFE6DA, 0 0 1px #A37244;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* === NAVIGATION === */
header {
  background: #2C3E50;
  color: #EFE6DA;
  border-bottom: 3px solid #A37244;
  position: relative;
  z-index: 20;
}
.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.main-nav > a img {
  max-height: 48px;
  margin-right: 20px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  background: none;
}
.main-nav li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #EFE6DA;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  transition: width 0.2s;
  background: #A37244;
}
.main-nav li a:hover, .main-nav li a:focus {
  color: #A37244;
}
.main-nav li a:hover::after, .main-nav li a:focus::after {
  width: 100%;
}
.cta-btn {
  background: #A37244;
  color: #FFF;
  padding: 12px 28px;
  border-radius: 8px 24px 8px 24px;
  font-family: 'Playfair Display', Arial, serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.07em;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(44,62,80,0.13);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2C3E50;
  color: #A37244;
  box-shadow: 0 4px 14px 0 rgba(44,62,80,0.19);
  transform: translateY(-2px) scale(1.04);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #EFE6DA;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 105;
  margin-left: 16px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #A37244;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 350px;
  background: #2C3E50;
  box-shadow: -2px 0 18px 0 rgba(44,62,80,0.25);
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.74,-0.19,.19,1.05);
  will-change: transform;
  padding: 32px 32px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #EFE6DA;
  font-size: 2.6rem;
  cursor: pointer;
  margin-bottom: 16px;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #A37244;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFF;
  font-weight: 700;
  background: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 10px 0 10px 10px;
  transition: background 0.16s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:active {
  background: #A37244;
  color: #2C3E50;
}
/* Overlay background for mobile menu when open */
body.mobile-menu-active::before {
  content: '';
  display: block;
  position: fixed;
  z-index: 140;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,62,80,0.25);
  pointer-events: auto;
}

@media (max-width: 1060px) {
  .main-nav ul {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* Hide mobile menu by default */
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === FEATURE GRID (Home Page) === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #FFF;
  border: 2.5px solid #EFE6DA;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(44,62,80,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 22px 18px;
  min-width: 210px;
  max-width: 240px;
  gap: 12px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.18s, border-color 0.18s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 20px 0 rgba(44,62,80,0.17);
  border-color: #A37244;
  transform: translateY(-4px) scale(1.04);
}
.feature-grid img {
  height: 42px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  font-size: 1.06rem;
  font-family: 'Playfair Display', 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  margin-bottom: 4px;
  margin-top: 0;
}

/* === CARDS & CARD CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(44,62,80,0.10);
  border: 2px solid #EFE6DA;
  padding: 22px 18px;
  transition: box-shadow 0.2s, border-color 0.15s;
  min-width: 200px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 16px 0 rgba(44,62,80,0.18);
  border-color: #A37244;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* === FLEX PATTERNS: TEXT & IMAGE BLOCKS === */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.text-section {
  flex: 1 1 220px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .hero .container {
    min-height: 210px;
  }
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #EFE6DA;
  border-left: 7px solid #A37244;
  border-radius: 12px 0 12px 0;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(44,62,80,0.09);
  min-width: 220px;
}
.testimonial-card blockquote {
  border: none;
  background: none;
  color: #2C3E50;
  font-size: 1.03rem;
  margin: 0;
}
.testimonial-card p {
  margin-bottom: 0;
  margin-top: 0;
  color: #2C3E50;
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3E50;
}

/* === CTA BUTTONS (Generic) === */
button, .cta-btn {
  cursor: pointer;
  outline: none;
  transition: background 0.19s, color 0.18s, box-shadow 0.16s, transform 0.12s;
}

/* === FEATURE ITEMS (List blocks) === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FORM (Contact/Inputs Generic, if used) === */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #EFE6DA;
  color: #2C3E50;
  border: 2px solid #A37244;
  border-radius: 7px;
  padding: 10px 14px;
  margin-bottom: 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2C3E50;
}

/* === FOOTER === */
footer {
  background: #2C3E50;
  color: #EFE6DA;
  padding: 24px 0 0 0;
  border-top: 4px solid #A37244;
  position: relative;
  z-index: 2;
}
.footer-navigation {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: center;
  margin-bottom: 24px;
  color: #EFE6DA;
}
.footer-navigation a {
  color: #A37244;
  margin: 0 10px;
  font-weight: 600;
  transition: color 0.16s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #EFE6DA;
}
.footer-contact, .footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
  color: #EFE6DA;
  margin-bottom: 16px;
}
.footer-social span {
  font-weight: 700;
  margin-right: 8px;
}
.footer-contact img, .footer-social img {
  height: 18px;
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
  filter: grayscale(20%) brightness(0.83);
}
.footer-contact strong {
  color: #A37244;
  margin-right: 2px;
}
.footer-copy {
  text-align: center;
  font-size: 0.93rem;
  color: #b8bfc8;
  margin-top: 18px;
  padding-bottom: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .footer-contact, .footer-social {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #2C3E50;
  color: #EFE6DA;
  box-shadow: 0 -2px 16px 0 rgba(44,62,80,0.18);
  z-index: 200;
  padding: 18px 12px 18px 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.26s cubic-bezier(.74,-0.19,.19,1.05);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner .cookie-message {
  flex: 1 1 220px;
  color: #fff;
  margin-right: 16px;
  min-width: 180px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-banner button {
  border: none;
  border-radius: 8px 20px 8px 20px;
  padding: 9px 22px;
  font-family: 'Playfair Display', 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  background: #A37244;
  color: #fff;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
  box-shadow: 0 1px 7px 0 rgba(44,62,80,0.12);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #EFE6DA;
  color: #2C3E50;
  box-shadow: 0 4px 14px 0 rgba(44,62,80,0.22);
}
.cookie-banner .cookie-settings-btn {
  background: #2C3E50;
  color: #A37244;
  border: 2px solid #A37244;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #A37244;
  color: #fff;
}

/* --- Cookie Consent Modal --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  z-index: 230;
  background: rgba(44,62,80,0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.23s linear;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #EFE6DA;
  color: #2C3E50;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(44,62,80,0.21);
  max-width: 430px;
  min-width: 320px;
  margin: 2vw;
  padding: 28px 26px 18px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideUp 0.33s cubic-bezier(.74,-0.19,.19,1.05);
}
@keyframes slideUp {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-family: 'Playfair Display', Arial, serif;
  font-size: 1.24rem;
  color: #2C3E50;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.cookie-modal .cookie-category label {
  font-weight: 700;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #A37244;
  height: 18px;
  width: 18px;
}
.cookie-modal .cookie-category .essential {
  color: #85929E;
  font-size: 0.93rem;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 15px;
  margin-top: 6px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 15px;
  right: 21px;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #A37244;
  cursor: pointer;
  z-index: 400;
}
.cookie-modal .cookie-close:focus {
  outline: 2px solid #2C3E50;
}

@media (max-width: 430px) {
  .cookie-modal {
    padding: 14px 7vw 10px 7vw;
    min-width: unset;
    max-width: 99vw;
  }
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 10px 12px 12px;
  }
}

/* === MICRO-INTERACTIONS & DETAILS === */
.feature-grid > div, .card, .testimonial-card, .cta-btn, .cookie-banner button, .mobile-nav a {
  transition: box-shadow 0.18s, border-color 0.18s, background 0.18s, color 0.18s, transform 0.13s;
}

/* === CUSTOM GEOMETRIC ELEMENTS === */
.section {
  position: relative;
  overflow: visible;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: 10px;
  bottom: 15px;
  width: 54px;
  height: 54px;
  background: url('../assets/geo-corner.svg') center/contain no-repeat;
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}
.section:first-child:after, .hero:after { display: none; }

/* === MISCELLANEOUS & TYPOGRAPHY SCALE === */
.confirmation-message, .next-steps-info {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  color: #A37244;
  text-align: center;
  margin: 16px auto 8px auto;
}

/* --- Responsive Typography Steps --- */
@media (max-width: 600px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .container, .content-wrapper, .card-container, .feature-grid, .content-grid {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* === UTILITY CLASSES === */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.m-auto { margin: auto !important; }

/* === VISUAL ACCESSIBILITY: CONTRAST === */
 
.testimonial-card {
  background: #EFE6DA; /* Light background for dark text */
}

/* === GEOMETRIC STRUCTURED SHAPES === */
/* No circles: more rectangles, diagonals or sharp borders */
.section, .card, .testimonial-card {
  border-radius: 18px 0 18px 0;
}
.feature-grid > div {
  border-radius: 18px 0 18px 0;
}
.cta-btn, .cookie-banner button {
  border-radius: 8px 24px 8px 24px;
}

/* === Z-INDEX LAYERING === */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 999 !important;
}

/* === PRINT FRIENDLY === */
@media print {
  .cookie-banner, .cookie-modal, .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* === SPACING BETWEEN CARDS & BLOCKS (MANDATORY RULES) === */
.section > .card-container > .card,
.section > .testimonial-card,
.section > .feature-grid > div {
  margin-bottom: 20px;
}
main > section, .section {
  margin-bottom: 60px;
}
div[class^='card-'], .card, .testimonial-card, .feature-grid > div {
  margin-bottom: 20px;
}

/* ================ END ================ */
