/* ===== CSS RESET & BASE STYLES ===== */
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, menu, 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, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #23272F;
  background: #F5F7FA;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-color: #F5F7FA;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #B89B4A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #917331;
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.3em;
  margin-top: 12px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 6px;
  font-size: 1rem;
}

/* ===== BRAND COLOR PALETTE + GOLD ===== */
:root {
  --color-primary: #1D2B36;
  --color-secondary: #96B0BE;
  --color-accent: #F5F7FA;
  --color-gold: #B89B4A;
  --color-gold-dark: #917331;
  --color-shadow: rgba(30, 35, 40, 0.08);
  --color-white: #fff;
  --color-black: #23272F;
  --color-grey-bg: #EDF0F3;
  --color-error: #c13f3f;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--color-secondary);
}
p, span, a, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  color: var(--color-primary);
  background: var(--color-accent);
  border-left: 4px solid var(--color-gold);
  padding: 18px 20px;
  margin-bottom: 10px;
}

/* ===== GENERAL LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: inherit;
  border-radius: 18px;
}

.cta-section {
  margin-bottom: 60px;
  padding: 48px 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 8px 32px var(--color-shadow);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.text-section {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 24px 24px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

/* ===== FLEXBOX MANDATORY LAYOUT PATTERNS ===== */
.feature-grid,
.card-container,
.card-grid,
.blog-list,
.team-bio-list,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  padding: 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--color-shadow), 0 0 0 2px var(--color-gold);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 28px;
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--color-shadow);
  position: relative;
  border-left: 5px solid var(--color-gold);
  color: var(--color-black);
}
.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  border: none;
  color: var(--color-black);
  font-size: 1.11rem;
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-gold) 100%);
  color: var(--color-white);
  padding: 64px 0 72px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-white);
  font-size: 2.3rem;
  margin-bottom: 12px;
}
.hero p {
  color: #f6ecc8;
  font-size: 1.15rem;
  margin-bottom: 18px;
  max-width: 470px;
}

/* ===== BUTTONS - CTAs ===== */
.cta-primary,
.cta-secondary,
button,
input[type="submit"],
.mobile-menu-toggle,
.mobile-menu-close {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.13s;
  outline: none;
  display: inline-block;
}
.cta-primary {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1.5px solid var(--color-gold-dark);
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-gold-dark);
  color: var(--color-white);
  box-shadow: 0 4px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.02);
}
.cta-secondary {
  background: var(--color-white);
  color: var(--color-gold);
  border: 1.4px solid var(--color-gold);
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--color-gold);
  color: var(--color-white);
}
button, input[type="submit"] {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
}
button:hover, input[type="submit"]:hover,
button:focus, input[type="submit"]:focus {
  background: var(--color-gold-dark);
  color: var(--color-white);
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
  display: flex;
  align-items: center;
  height: 76px;
  background: var(--color-white);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 2px 18px var(--color-shadow);
  padding: 0 18px 0 0;
  gap: 20px;
  position: relative;
  z-index: 10;
}
.main-nav img {
  height: 48px;
  margin-right: 24px;
}
.main-nav > a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 19px;
  border-radius: 22px;
  transition: background 0.15s, color 0.15s;
  margin-left: 1px;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: var(--color-gold);
  color: var(--color-white);
}
.main-nav .cta-primary {
  margin-left: 16px;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 20px;
  background: var(--color-gold);
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 120;
  font-size: 1.5rem;
}
.mobile-menu-toggle:focus {
  background: var(--color-gold-dark);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29, 43, 54, 0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 2020;
  background: var(--color-gold);
  border: none;
  color: var(--color-white);
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 12px var(--color-shadow);
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-gold-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 310px;
  margin-top: 90px;
  background: var(--color-primary);
  box-shadow: 0 2px 18px rgba(0,0,0,0.09);
  padding: 32px 0 28px 38px;
  border-radius: 22px 0 0 22px;
  min-height: 360px;
  gap: 25px;
}
.mobile-nav a {
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 12px 6px;
  border-radius: 22px;
  transition: background 0.15s, color 0.15s;
  display: block;
  margin-right: 12px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-gold);
  color: var(--color-white);
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 42px 0 0 0;
  border-top: 7px solid var(--color-gold);
  margin-top: 70px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 25px;
}
.footer-nav img {
  height: 50px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav nav a {
  color: var(--color-gold);
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.19s;
}
.footer-nav nav a:hover {
  color: var(--color-accent);
}
.footer-contact p, .footer-contact a {
  color: #bac6d3;
  font-size: 0.98rem;
  margin: 2px 0 0 0;
}
.footer-contact a:hover {
  color: var(--color-gold);
}

/* ===== FEATURE & CARD GRID ===== */
.feature-grid > div,
.team-bio-list > div,
.blog-list article {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 240px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, border 0.12s;
  border-left: 4px solid var(--color-gold);
}
.feature-grid > div:hover,
.team-bio-list > div:hover,
.blog-list article:hover {
  box-shadow: 0 8px 32px var(--color-shadow);
  border-color: var(--color-gold-dark);
}
.feature-grid img,
.team-bio-list img {
  height: 41px;
  margin-bottom: 8px;
}

/* ===== BLOG LISTING ===== */
.blog-list {
  width: 100%;
  gap: 24px;
  margin-bottom: 30px;
}
.blog-list article h2 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.blog-list article span {
  font-size: 0.98rem;
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===== TEAM PAGE 
.team-bio-list > div { ... see feature-grid } ===== */

/* ===== CONTACT DETAILS ===== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
}
.contact-details img {
  height: 28px;
}

/* ===== FORM ELEMENTS ===== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--color-secondary);
  margin-bottom: 18px;
  background: var(--color-accent);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-gold);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: var(--color-white);
  box-shadow: 0 -2px 18px var(--color-shadow);
  border-top: 5px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 8vw 20px 8vw;
  gap: 18px;
  animation: fadeUpIn 0.55s ease;
}
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(64px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-consent-banner p {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 5px;
}
.cookie-actions .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  padding: 9px 22px;
  font-size: 1.02rem;
  border: 1.5px solid transparent;
  transition: background 0.19s, color 0.19s, border 0.19s;
  cursor: pointer;
}
.cookie-actions .accept {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold-dark);
}
.cookie-actions .accept:hover,
.cookie-actions .accept:focus {
  background: var(--color-gold-dark);
  color: var(--color-white);
}
.cookie-actions .reject {
  background: var(--color-white);
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}
.cookie-actions .reject:hover,
.cookie-actions .reject:focus {
  background: var(--color-gold);
  color: var(--color-white);
}
.cookie-actions .settings {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-actions .settings:hover,
.cookie-actions .settings:focus {
  background: var(--color-gold);
  color: var(--color-white);
}

/* ===== COOKIE CONSENT MODAL ===== */
.cookie-modal {
  position: fixed;
  z-index: 3500;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(29,43,54, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalIn 0.38s;
}
@keyframes fadeModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 8px 32px var(--color-shadow);
  min-width: 320px;
  max-width: 420px;
  padding: 38px 32px 24px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-top: 5px solid var(--color-gold);
}
.cookie-modal-content h3 {
  color: var(--color-primary);
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-content label {
  font-size: 1rem;
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  cursor: pointer;
}
.cookie-modal-content input[type=checkbox] {
  accent-color: var(--color-gold);
  width: 20px;
  height: 20px;
  margin-right: 0;
}
.cookie-modal-content .category-essential {
  opacity: 0.7;
}
.cookie-modal-content .category-essential input[type=checkbox] {
  pointer-events: none;
}
.cookie-modal-content .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.75rem;
  cursor: pointer;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-gold-dark);
}

/* ===== ICONS ===== */
img[alt*="Icon"] {
  filter: grayscale(25%) brightness(0.9);
  opacity: 0.98;
}

/* ===== LISTS / ULs with icons (in About, Team, etc) ===== */
ul > li img {
  margin-right: 9px;
  vertical-align: middle;
  height: 23px;
}

/* ===== UTILS & MICROINTERACTIONS ===== */
@media (hover: hover) and (pointer: fine) {
  .feature-grid > div,
  .team-bio-list > div,
  .blog-list article,
  .card {
    transition: box-shadow 0.18s, border 0.15s;
  }
  .feature-grid > div:hover,
  .team-bio-list > div:hover,
  .blog-list article:hover,
  .card:hover {
    box-shadow: 0 8px 32px var(--color-shadow), 0 0 0 1.5px var(--color-gold-dark);
    border-color: var(--color-gold-dark);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
  }
  .footer-nav {
    padding: 24px 5vw;
    gap: 26px;
  }
  .blog-list,
  .feature-grid,
  .team-bio-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 38px 0 38px 0;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  .section, .cta-section, .thank-you-section {
    margin-bottom: 32px;
    padding: 24px 9px;
  }
  .card, .feature-grid > div, .team-bio-list > div, .card-container > *, .blog-list article {
    padding: 19px 11px;
    min-width: 80%;
    font-size: 0.98rem;
  }
  .content-wrapper {
    gap: 22px;
  }
  .feature-grid, .card-container, .team-bio-list, .blog-list {
    gap: 15px;
    flex-direction: column;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cookie-consent-banner {
    padding-left: 11px;
    padding-right: 11px;
    font-size: 0.98rem;
    gap: 10px;
  }
  .cookie-modal-content {
    padding: 23px 10px 16px 10px;
    min-width: 83vw;
    max-width: 90vw;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  body  { font-size: 0.97rem; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.04rem; }
  .feature-grid > div, .team-bio-list > div, .blog-list article {
    min-width: 97vw;
    padding: 11px 7px;
  }
  .container { padding: 0 4px; }
}
/* ===== END ===== */
