/* =====================
   ARGENT BRIDGE MODEHAUS
   ELEGANT CLASSIC THEME
   ===================== */

/* 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #FAFAF9;
  color: #23282D;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #23282D;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #B59700;
}

strong {
  font-weight: 600;
  color: #23282D;
  letter-spacing: 0.01em;
}

/* =======================
   TYPOGRAPHY HIERARCHY
   ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #23282D;
  letter-spacing: 0.01em;
  font-weight: 600;
  line-height: 1.13;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 10px;
}

p, li, span {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  color: #393B3D;
  margin-bottom: 12px;
}
p:last-child, li:last-child, span:last-child {
  margin-bottom: 0;
}

.text-section {
  font-size: 1.06rem;
}

/* =====================
   LAYOUT CONTAINERS
   ===================== */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(35,40,45,0.06);
}

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

@media (min-width: 900px) {
  .content-wrapper.text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}
@media (max-width: 899px) {
  .content-wrapper.text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35,40,45,0.05);
  position: relative;
  flex: 1 1 260px;
  min-width: 240px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(35,40,45,0.11);
  z-index: 1;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: 14px;
  background: #F2F4F8;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(35,40,45,0.08);
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 3px 16px rgba(35,40,45,0.14);
  transform: translateY(-2px) scale(1.012);
  background: #FFFFFF;
}
.testimonial-card p {
  font-size: 1.06rem;
  font-style: italic;
  color: #23282D;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-family: 'Georgia', serif;
  color: #5D5E60;
  font-style: normal;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 16px;
}

/* Flex utility for main navigation, aligns logo and links */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
}

.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #23282D;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F4F8;
  color: #B59700;
}
.main-nav img {
  height: 37px;
  width: auto;
  margin-right: 10px;
  margin-bottom: -9px;
  display: inline-block;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =========================
   BUTTONS & CTA
   ========================= */
.cta-btn, button, .cookie-banner button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.06rem;
  background: #23282D;
  color: #FFF;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s, color 0.14s, transform 0.14s;
  box-shadow: 0 1px 10px rgba(35,40,45,0.08);
  letter-spacing: 0.025em;
  font-weight: 600;
}
.cta-btn:hover, .cta-btn:focus,
button:hover, button:focus,
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFC700;
  color: #23282D;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 4px 20px rgba(35,40,45,0.16);
}

/* Secondary / Outline button */
.cta-btn.cta-outline, .cookie-banner .secondary-btn {
  background: none;
  color: #23282D;
  border: 2px solid #23282D;
  transition: background 0.16s, color 0.16s, border 0.14s;
}
.cta-btn.cta-outline:hover, .cta-btn.cta-outline:focus,
.cookie-banner .secondary-btn:hover, .cookie-banner .secondary-btn:focus {
  background: #23282D;
  color: #FFC700;
  border: 2px solid #FFC700;
}

/* =========================
   MOBILE NAVIGATION
   ========================= */
.mobile-menu-toggle {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 45px;
  height: 45px;
  background: #23282D;
  color: #FFF;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 110;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #333C45;
  color: #FFC700;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,40,45,0.87);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
}

.mobile-menu-close {
  margin: 18px 18px 0 auto;
  font-size: 2.15rem;
  background: none;
  border: none;
  color: #FFC700;
  cursor: pointer;
  display: block;
  line-height: 1;
  z-index: 121;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFF;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 38px 38px 42px 30px;
}
.mobile-nav a {
  font-size: 1.26rem;
  color: #FFF;
  font-family: 'Georgia', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: none;
  border: none;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #FFC700;
  color: #23282D;
  padding-left: 12px;
}

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

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =========================
   GENERAL SPACING & LAYOUT
   ========================= */
main {
  margin-top: 0;
  padding-bottom: 60px;
  min-height: 70vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section, section {
    margin-bottom: 38px;
    padding: 26px 5px;
  }
  h1 {
    font-size: 1.55rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.17rem;
    margin-bottom: 12px;
  }
  h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .content-wrapper,
  .content-grid {
    gap: 13px;
  }
  .testimonial-card {
    padding: 13px;
    border-radius: 10px;
  }
  .card {
    min-width: 120px;
    border-radius: 8px;
  }
  .card-container {
    gap: 12px;
  }
  .footer-nav {
    gap: 15px;
    margin-bottom: 10px;
  }
  .text-section {
    font-size: 0.97rem;
  }
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #F2F4F8;
  padding: 36px 0 16px;
  border-top: 1px solid #E9ECEF;
}
footer .text-section {
  color: #8D9095;
  font-size: 1rem;
  text-align: center;
}

.footer-nav a {
  color: #5D5E60;
  font-family: 'Georgia', serif;
  font-size: 0.98rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #23282D;
}

/* =========================
   HERO, ABOUT, CARDS, MISC
   ========================= */
section > .container > h1,
section > .container > h2 {
  text-align: left;
  margin-bottom: 18px;
}

.content-wrapper.text-section ul,
.content-wrapper.text-section ol {
  margin-left: 24px;
  margin-bottom: 10px;
  padding-left: 0;
}
.content-wrapper.text-section li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.content-wrapper.text-section ul li::before {
  content: "\2022";
  color: #FFC700;
  font-size: 1.06em;
  position: absolute;
  left: 0;
  top: 3px;
}
.content-wrapper.text-section ol {
  counter-reset: list;
}
.content-wrapper.text-section ol li {
  counter-increment: list;
  padding-left: 28px;
}
.content-wrapper.text-section ol li::before {
  content: counter(list) ".";
  color: #B59700;
  position: absolute;
  left: 0;
  top: 1px;
  font-weight: 600;
}

/* =========================
   HELPER CLASSES/ANIMATION
   ========================= */
.fade-in {
  opacity: 0;
  animation: fadeInTop 0.9s ease forwards;
}
@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 18px;
  background: #FFF;
  color: #23282D;
  border-radius: 17px;
  box-shadow: 0 2px 22px rgba(35,40,45,0.12);
  padding: 24px 16px 18px 26px;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  max-width: 410px;
  font-size: 1.03rem;
  border: 1.5px solid #F2F4F8;
  transition: opacity 0.23s, transform 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
}
.cookie-banner strong {
  color: #23282D;
  font-weight: 600;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-banner button {
  padding: 8px 24px;
  font-size: 1rem;
  border-radius: 25px;
  border: none;
  font-family: 'Georgia', serif;
  font-weight: 600;
  margin-right: 0;
}
.cookie-banner .accept-btn {
  background: #FFC700;
  color: #23282D;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #23282D;
  color: #FFC700;
}
.cookie-banner .reject-btn {
  background: #E9ECEF;
  color: #23282D;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #23282D;
  color: #FFC700;
}
.cookie-banner .settings-btn {
  background: none;
  color: #8D9095;
  border: 2px solid #23282D;
  padding: 8px 20px;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #23282D;
  color: #FFC700;
  border: 2px solid #FFC700;
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(35,40,45,0.58);
  z-index: 1301;
  display: none;
  justify-content: center;
  align-items: center;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #FFF;
  color: #23282D;
  padding: 38px 26px 26px 28px;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(35,40,45,0.22);
  min-width: 270px;
  max-width: 98vw;
  width: 390px;
  z-index: 1302;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: fadeInTop 0.5s;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 14px;
  background: none;
  border: none;
  color: #B59700;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #23282D;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category label {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #23282D;
}
.cookie-modal .cookie-toggle-switch {
  width: 48px;
  height: 24px;
  background: #E9ECEF;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .cookie-toggle-switch.enabled {
  background: #FFC700;
}
.cookie-modal .cookie-toggle-circle {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(35,40,45,0.11);
  transition: left 0.15s;
}
.cookie-modal .cookie-toggle-switch.enabled .cookie-toggle-circle {
  left: 26px;
}
.cookie-modal .cookie-category.essential label {
  color: #5D5E60 !important;
}
.cookie-modal .cookie-category.essential .cookie-toggle-switch {
  background: #FFD950;
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential .cookie-toggle-circle {
  opacity: 0.55;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  border-radius: 20px;
  padding: 7px 18px;
  font-family: 'Georgia', serif;
}
/* =========================
   RESPONSIVE UTILITIES
   ========================= */
@media (max-width: 600px) {
  .main-nav img {
    height: 23px;
    margin-right: 7px;
    margin-bottom: -3px;
  }
  .cookie-banner {
    padding-left: 11px;
    padding-right: 7px;
    font-size: 0.95rem;
    max-width: 97vw;
  }
  .cookie-modal {
    min-width: 90vw;
    width: 90vw;
    padding: 18px 7px 10px 12px;
  }
}

/* =========================
   FORM ELEMENTS (if needed)
   ========================= */
input, textarea, select {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.01rem;
  padding: 10px 12px;
  color: #23282D;
  background: #F2F4F8;
  border: 1.4px solid #E9ECEF;
  border-radius: 7px;
  outline: none;
  box-shadow: none;
  margin-bottom: 16px;
  transition: border 0.15s, background 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid #23282D;
  background: #FFF;
}

/* =========================
   ACCENT ELEMENTS
   ========================= */
::-webkit-selection { background: #FFC700; color: #23282D; }
::selection { background: #FFC700; color: #23282D; }

hr {
  border: none;
  border-top: 1.5px solid #E9ECEF;
  margin: 32px 0 24px 0;
}

/* Hide scrollbars for mobile menu if possible */
.mobile-menu::-webkit-scrollbar { display: none; }
.mobile-menu { -ms-overflow-style: none; scrollbar-width: none; }

/* ===========================
   ACCESSIBILITY IMPROVEMENTS
   =========================== */
:focus {
  outline: 2px dashed #FFC700;
  outline-offset: 2px;
}

/* ========================
   PRINT STYLES (minimal)
   ======================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, footer { display: none !important; }
  .container { max-width: 100vw !important; padding: 0 !important; }
  body { color: #222; background: #fff; }
}

/* END OF ARGENT BRIDGE MODEHAUS BASE THEME */
