/* =========================================================
   AURIC WEALTH: STYLE.CSS — GEOMETRIC STRUCTURED DESIGN
   ========================================================= */

/* ==== CSS RESET & BASE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #fff;
  color: #22314d;
  line-height: 1.65;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
a {
  color: #224D67;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #B4A67A;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #224D67;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, ul li, ol li { margin-bottom: 14px; }
strong, b { font-weight: 700; }

/* ==== GEOMETRIC STRUCTURED COLORS (FALLBACKS) ==== */
:root {
  --primary: #224D67;
  --secondary: #B4A67A;
  --accent: #E7EAF0;
  --text: #22314d;
  --white: #fff;
  --shadow: rgba(34, 77, 103, 0.06);
  --shadow-elevated: rgba(180, 166, 122, 0.12);
}

/* ========================
  LAYOUT & FLEX CONTAINERS
======================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
  HEADER & NAVIGATION
======================== */
header {
  background: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-link img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  padding: 6px 10px;
  transition: color 0.2s, background 0.2s, border 0.2s;
  border-radius: 6px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
.cta.primary {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 10px;
  padding: 12px 30px;
  margin-left: 16px;
  box-shadow: 0 2px 8px var(--shadow);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, translate 0.2s;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 16px var(--shadow-elevated);
  translate: 0 -2px;
}

/* ========================
  MOBILE BURGER MENU
======================== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 2.1rem;
  padding: 5px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus{
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.27s cubic-bezier(.71,.01,.68,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 32px 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -4px 0 32px var(--shadow);
}
.mobile-menu-close {
  font-size: 2rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: 8px;
  padding: 5px 12px;
  border: none;
  margin-bottom: 24px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  padding: 12px 0;
  border-bottom: 2px solid var(--secondary);
  transition: color 0.15s, border 0.15s, background 0.25s;
  border-radius: 0 0 8px 8px;
  text-align: left;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--white);
  border-bottom: 2px solid var(--primary);
}

/* Hide desktop menu on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hide mobile menu on desktop */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================
  HERO SECTION
======================== */
.hero {
  background: linear-gradient(110deg, #E7EAF0 60%, rgba(180,166,122,0.07) 100%);
  padding: 42px 0 40px 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.hero h1 {
  font-size: 2.4rem;
  text-align: left;
  margin-bottom: 18px;
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.hero p {
  font-size: 1.22rem;
  max-width: 580px;
  margin-bottom: 32px;
}

/* ========================
  GRID & CARD STYLES
======================== */
.feature-grid, .service-grid, .blog-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.text-section {
  background: var(--white);
  border-radius: 12px 40px 12px 12px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 28px 26px;
  max-width: 440px;
  min-width: 260px;
  flex: 1 1 300px;
}
.service-card {
  background: var(--accent);
  border: 2.5px solid var(--secondary);
  border-radius: 20px 20px 8px 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px var(--shadow);
  padding: 32px 28px 24px 28px;
  min-width: 230px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, border-color 0.2s, translate 0.2s;
  position: relative;
}
.service-card:hover, .service-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 6px 32px var(--shadow-elevated);
  translate: 0 -4px;
}

.card {
  background: var(--white);
  border-radius: 12px 30px 12px 12px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 28px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px var(--shadow-elevated);
}

.blog-summary-list article {
  background: var(--accent);
  border-radius: 16px 7px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 24px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  transition: box-shadow 0.2s;
}
.blog-summary-list article:hover {
  box-shadow: 0 6px 36px var(--secondary);
}

.featured-article {
  background: var(--white);
  border-left: 5px solid var(--secondary);
  border-radius: 0 20px 20px 0;
  padding: 32px 32px 26px 28px;
  margin-top: 32px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: box-shadow 0.2s;
  max-width: 560px;
}
.featured-article:hover {
  box-shadow: 0 12px 48px var(--shadow-elevated);
}

/* ========================
  TESTIMONIALS
======================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 2px solid var(--secondary);
  border-radius: 8px 20px 8px 8px;
  box-shadow: 0 2px 12px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 18px 24px;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--shadow-elevated);
}
.testimonial-card p, .testimonial-card blockquote {
  color: #324057;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 14px;
  font-style: italic;
}
.testimonial-card strong, .testimonial-card cite {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1rem;
  margin-top: 10px;
}

/* Dark text on testimonials for contrast */
.testimonial-card {
  color: #222b38;
}

/* ========================
  CTA SECTION
======================== */
section.cta {
  background: var(--primary);
  color: var(--white);
  padding: 44px 0 44px 0;
  border-radius: 40px 40px 0 0;
  position: relative;
  box-shadow: 0 -4px 32px var(--shadow);
  margin-bottom: 0;
}
section.cta h2, section.cta p {
  color: var(--white);
}
section.cta .cta.primary {
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.13rem;
}
section.cta .cta.primary:hover, section.cta .cta.primary:focus {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 8px 24px var(--secondary);
}

/* ========================
  FOOTER
======================== */
footer {
  background: var(--accent);
  color: var(--primary);
  font-size: 1rem;
  margin-top: 44px;
  box-shadow: 0 -2px 8px var(--shadow);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0;
}
.footer-content > * {
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  padding: 3px 0px;
  border-radius: 2px;
  transition: color 0.14s, background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
  background: var(--secondary);
}
.footer-contact {
  font-size: 0.98rem;
  color: #28384c;
  max-width: 290px;
}
.footer-legal {
  font-size: 0.88rem;
  color: #475065;
  margin-top: 14px;
  margin-bottom: 8px;
  line-height: 1.45;
}
.footer-legal a {
  color: var(--primary);
  margin: 0 2px;
}
.footer-legal a:hover {
  color: var(--secondary);
}
.footer-copy {
  text-align: center;
  font-size: 0.95rem;
  padding: 12px 0 12px 0;
  background: var(--primary);
  color: var(--white);
  letter-spacing: 0.04em;
  border-radius: 0 0 16px 16px;
}

/* ========================
  BLOG & CATEGORIES
======================== */
.blog-categories {
  margin-top: 16px;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.blog-categories a {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 7px 20px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
}
.blog-categories a:hover, .blog-categories a:focus {
  background: var(--primary);
  color: var(--accent);
}

/* ========================
  SECTION & SPACING STYLES
======================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   BUTTONS, INTERACTION
======================== */
button, .button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 28px;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, outline 0.15s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 3px 18px var(--shadow-elevated);
  outline: 2px solid var(--secondary);
}

/* ========================
   COOKIE CONSENT BANNER
======================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 18px var(--shadow);
  padding: 22px 20px 18px 20px;
  gap: 20px;
  z-index: 2000;
  border-top: 3.5px solid var(--secondary);
  animation: cookie-fade-in 0.3s 1;
  font-size: 1rem;
}
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
#cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
#cookie-banner button {
  min-width: 120px;
  font-size: 1rem;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 8px;
  border: none;
}
#cookie-banner .accept {
  background: var(--primary);
  color: var(--white);
}
#cookie-banner .accept:hover {
  background: var(--secondary);
  color: var(--primary);
}
#cookie-banner .reject {
  background: var(--secondary);
  color: var(--white);
}
#cookie-banner .settings {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--primary);
}
#cookie-banner .settings:hover {
  background: var(--primary);
  color: var(--white);
}

/* === Cookie Modal === */
#cookie-modal {
  position: fixed;
  left: 50vw;
  top: 50vh;
  transform: translate(-50%, -50%) scale(0.98);
  background: var(--white);
  border-radius: 20px;
  border: 3px solid var(--secondary);
  box-shadow: 0 14px 70px var(--shadow);
  min-width: 316px;
  max-width: 95vw;
  width: 390px;
  z-index: 3000;
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 32px 32px 20px 32px;
  animation: cookie-modal-fade-in 0.33s 1;
}
#cookie-modal.open {
  display: flex;
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; transform: scale(0.84) translate(-50%, -30%); }
  to { opacity: 1; transform: scale(0.98) translate(-50%, -50%); }
}
#cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 4px;
}
#cookie-modal ul {
  padding-left: 12px;
  margin-bottom: 18px;
}
#cookie-modal li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-toggle {
  margin-left: 10px;
}
/* Toggle switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  margin-left: 10px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #c7d4e8;
  border-radius: 24px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.18s;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--primary);
  border-radius: 50%;
  transition: transform 0.18s, background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
  background: var(--secondary);
}
.cookie-switch input:disabled + .cookie-slider {
  background: #eee;
  cursor: not-allowed;
}
#cookie-modal .close-modal {
  background: none;
  color: var(--primary);
  padding: 0;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 20px;
}

/* ========================
   UTILS, BADGES, MISC
======================== */
.badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 16px 4px 16px 4px;
  font-size: 0.98rem;
  font-weight: 700;
  margin-left: 8px;
  vertical-align: middle;
}

/* ========================
  RESPONSIVE DESIGN
======================== */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  .footer-content { flex-direction: column; gap: 20px; }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid, .blog-summary-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    gap: 12px;
    padding: 12px 0;
  }
  .content-wrapper {
    gap: 18px;
  }
  section, .section {
    margin-bottom: 40px;
    padding: 22px 6px 30px 6px;
  }
  .footer-content {
    gap: 12px;
    padding: 22px 0;
  }
  .card-container, .content-grid, .testimonial-slider, .feature-grid, .service-grid, .blog-summary-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav {
    gap: 16px;
  }
  .hero .container {
    min-height: 200px;
    align-items: flex-start;
    padding: 0 4px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  section.cta {
    padding: 26px 0 34px 0;
  }
}
@media (max-width: 540px) {
  .logo-link img {
    height: 36px;
  }
  .footer-contact { font-size: 0.93rem; }
  .footer-legal { font-size: 0.8rem; }
  .footer-copy { font-size: 0.85rem; }
  #cookie-modal, #cookie-banner { padding: 14px 8px; font-size: 0.99rem; }
}

/* ========================
   GEOMETRIC DECORATIVE SHAPES (DECORATIVE USE ONLY)
======================== */
.section::before, .section::after,
.service-card::before, .service-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
}
.section::after {
  bottom: 16px; right: 18px;
  width: 58px; height: 58px;
  border-radius: 16px 6px;
  background: var(--secondary);
  z-index: 0;
}
.service-card::before {
  top: -22px; left: -16px;
  width: 30px; height: 30px;
  border-radius: 6px 12px 6px 16px;
  background: var(--primary);
  z-index: 0;
}
.service-card::after {
  display: none;
}
/* /decorative geometries/ */

/* ========================
   ACCESSIBILITY & FOCUS
======================== */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
input, select, textarea:focus {
  outline: 2px solid var(--primary);
}

/* ========================
   PRINT / OVERRIDE
======================== */
@media print {
  header, footer, #cookie-banner, #cookie-modal {
    display: none !important;
  }
  main {
    padding: 0;
  }
}

/* ========================
   END OF STYLE.CSS
======================== */
