/* ========== 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181C22;
  color: #E6E8EA;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ========== FONT IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;900&display=swap');

/* ========== BRAND COLORS ========== */
:root {
  --color-primary: #224D74;
  --color-secondary: #E6E8EA;
  --color-accent: #8C6B2D;
  --color-bg: #181C22;
  --color-section: #22252C;
  --color-metal: #7B8A99;
  --color-metal-dark: #31424F;
  --color-card: #21242A;
  --color-light: #F8F8F8;
  --color-success: #48B77A;
  --color-error: #B74848;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  color: var(--color-secondary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(34,77,116, 0.13);
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  line-height: 1.15;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--color-metal);
  font-weight: 700;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-secondary);
  font-weight: 700;
}
p, li, span, strong {
  color: var(--color-secondary);
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: var(--color-accent);
}

/* ========== GLOBAL CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  background: var(--color-section);
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 rgba(34,77,116, 0.08);
  padding: 40px 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ========== SECTION / CARD LAYOUTS ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 24px 0 rgba(34,77,116, 0.12);
  min-width: 280px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(140, 107, 45, 0.18);
  transform: translateY(-3px) scale(1.02);
  z-index: 2;
}
.card-content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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 {
  background: var(--color-light);
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(49, 66, 79, 0.10);
  color: #21242A;
  min-width: 260px;
}
.testimonial-card p, .testimonial-card span {
  color: #181C22;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-metal-dark);
}

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

/* ========== FEATURE GRID (re-usable for icons etc) ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--color-card);
  border-radius: 10px;
  box-shadow: 0 2px 14px 0 rgba(49,66,79,0.11);
  padding: 32px 20px 20px 20px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .18s, transform .18s;
  border: 1.5px solid var(--color-metal);
}
.feature-grid > div:hover {
  box-shadow: 0 4px 32px 0 rgba(140, 107, 45, 0.16);
  transform: translateY(-5px) scale(1.02);
  border-color: var(--color-accent);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  filter: grayscale(15%) brightness(1.1) contrast(1.05);
}

/* ========== TEAM MEMBERS ========= */
.team-member {
  background: var(--color-card);
  padding: 22px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(34,77,116, 0.10);
  margin-bottom: 20px;
  border-left: 4px solid var(--color-primary);
  transition: border-color .2s, box-shadow .2s;
}
.team-member:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px 0 rgba(140, 107, 45, 0.13);
}

/* ========== BLOG HIGHLIGHTS ========= */
.blog-highlight {
  background: var(--color-card);
  border-radius: 10px;
  border-left: 6px solid var(--color-accent);
  box-shadow: 0 2px 10px 0 rgba(140,107,45,0.07);
  padding: 18px 20px 18px 28px;
  margin-bottom: 18px;
  transition: box-shadow .19s;
}
.blog-highlight:hover {
  box-shadow: 0 6px 20px 0 rgba(140, 107, 45, 0.13);
}

/* ========== FAQ LIST ========= */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  background: var(--color-card);
  border-radius: 6px;
  padding: 18px 18px 14px 22px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-primary);
  transition: border-color .18s;
}
.faq-list > div:hover {
  border-left-color: var(--color-accent);
}

/* ========== SERVICE HIGHLIGHTS ========= */
.service-highlights {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px 0 rgba(49,66,79,0.11);
  margin-top: 20px;
  font-size: 1.12rem;
  font-weight: 500;
}
.service-highlights p {
  color: var(--color-secondary);
}

/* ========== SECTION SPACING (MANDATORY) ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== BUTTONS, CTA, INTERACTION ========== */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 16px 36px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 2px 8px 0 rgba(140, 107, 45, 0.07);
  margin-top: 10px;
  cursor: pointer;
  border: none;
  transition: background .18s, box-shadow .18s, transform .13s;
  position: relative;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B78E48;
  color: #181C22;
  box-shadow: 0 8px 28px 0 rgba(140,107,45,0.15);
  transform: translateY(-2px) scale(1.03);
}

button, .btn {
  font-family: inherit;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 20px;
  background: var(--color-metal);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: var(--color-accent);
  color: #181C22;
  box-shadow: 0 3px 14px 0 rgba(140,107,45,0.11);
}

/* ========== NAVIGATION & HEADER ========== */
header {
  background: var(--color-bg);
  box-shadow: 0 4px 16px rgba(34,77,116,.10);
  border-bottom: 2px solid var(--color-metal-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px 18px 20px;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 32px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
nav a:hover, nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
header .cta-btn {
  margin-left: 40px;
  background: linear-gradient(92deg, var(--color-accent) 75%, #B78E48 100%);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: none;
  color: var(--color-accent);
  border-radius: 30px;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 20px;
  z-index: 250;
  transition: background .18s, color .18s;
  padding: 6px 14px 4px 14px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(140,107,45,0.11);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,28,34,0.97);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.7,.02,.26,.99);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-accent);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 26px 32px 12px 0;
  cursor: pointer;
  z-index: 301;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: rgba(140,107,45,0.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-left: 38px;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--color-secondary);
  font-weight: 700;
  padding: 12px 0 10px 0;
  border-bottom: 1.5px solid transparent;
  transition: color .17s, border-color .12s;
  min-width: 180px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

@media (max-width: 1100px) {
  nav {
    gap: 18px;
  }
}
@media (max-width: 932px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 20px 8px 12px 8px;
  }
  nav {
    gap: 9px;
  }
  header .cta-btn {
    margin-left: 15px;
    padding: 14px 9vw;
  }
}
@media (max-width: 800px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-btn {
    display: none;
  }
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-card);
  border-top: 3.5px solid var(--color-metal-dark);
  color: var(--color-secondary);
  font-size: 1rem;
  margin-top: 40px;
  letter-spacing: 0.013em;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  padding: 38px 20px 28px 20px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-secondary);
  opacity: 0.85;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  transition: color .15s, opacity .12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  max-width: 350px;
  flex: 1 1 300px;
}
.footer-logo img {
  height: 44px;
  width: auto;
  filter: grayscale(10%) contrast(1.13);
  margin-top: 10px;
}

/* ========== CONTACT INFO ========== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-info p, .contact-info a {
  display: flex;
  align-items: center;
  font-size: 1.06rem;
  color: var(--color-secondary);
}
.contact-info img {
  width: 26px;
  height: 26px;
  margin-right: 12px;
  filter: grayscale(12%) brightness(1.05);
}
.map-embed p {
  font-size: 1rem;
  color: var(--color-accent);
  margin-top: 10px;
}

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2px; }
.mt-12 { margin-top: 12px; }
.mb-16 { margin-bottom: 16px; }
.gap-16 { gap: 16px; }
.no-shadow { box-shadow: none !important; }

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-card);
  color: var(--color-light);
  box-shadow: 0 -4px 24px 0 rgba(49,66,79,0.14);
  width: 100%;
  z-index: 950;
  padding: 22px 18px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  transition: transform .27s cubic-bezier(.58,.04,.17,1.02);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .btn {
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  transition: background .16s, color .14s;
  cursor: pointer;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #B78E48;
  color: #181C22;
}
.cookie-banner .btn-secondary {
  background: var(--color-metal);
  color: #fff;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: var(--color-accent);
  color: #181C22;
}

/* ========== COOKIE MODAL POPUP ========== */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,28,34,0.70);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: opacity .24s, visibility .1s;
}
.cookie-modal-backdrop.active {
  visibility: visible;
  opacity: 1;
  align-items: center;
}
.cookie-modal {
  background: var(--color-card);
  color: var(--color-light);
  border-radius: 18px;
  min-width: 318px;
  max-width: 95vw;
  width: 420px;
  margin: 0 auto;
  box-shadow: 0 8px 56px 8px rgba(34,77,116,0.23);
  padding: 38px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-fadein .4s cubic-bezier(.7,.02,.26,.99);
  position: relative;
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; transform: translateY(80px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.24rem;
  color: var(--color-accent);
  margin-bottom: 8px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-secondary);
}
.cookie-modal .cookie-toggle {
  width: 40px; height: 22px;
  margin-right: 8px;
  border-radius: 13px;
  background: var(--color-metal);
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background .18s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle span {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-light);
  transition: left .22s cubic-bezier(.7,.02,.26,.99), background .19s;
}
.cookie-modal .cookie-toggle input:checked + span {
  left: 20px;
  background: var(--color-success);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  padding: 10px 18px;
  border-radius: 6px;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 18px; right: 16px;
  font-size: 1.4rem;
  background: none;
  color: var(--color-metal);
  border: none;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  color: #fff;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 22px 8px 18px 8px;
    margin-bottom: 22px;
  }
  section {
    margin-bottom: 32px;
    padding: 22px 7px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .feature-grid, .content-grid, .faq-list, .card-container {
    gap: 9px !important;
  }
  .feature-grid, .card-container {
    flex-direction: column;
  }
  .feature-grid > div, .card {
    min-width: 240px;
    padding: 18px 10px 16px 10px;
  }
  .blog-highlight, .team-member, .testimonial-card, .faq-list > div {
    padding: 14px 7px 12px 13px;
    font-size: 1rem;
  }
  .service-highlights {
    padding: 12px 7px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .footer-nav {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 28px 7px 18px 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 7px;
    font-size: 0.96rem;
    gap: 9px;
  }
  .cookie-banner__buttons {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal {
    width: 97vw;
    min-width: unset;
    padding: 18px 6vw 14px 6vw;
  }
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.card, .feature-grid > div, .team-member, .faq-list > div, .blog-highlight {
  transition: box-shadow .18s, border-color .18s, transform .19s;
}
.cta-btn, button, .btn, nav a {
  transition: background .18s, color .18s, border-color .16s, box-shadow .12s, transform .15s;
}
.mobile-menu, .cookie-banner {
  transition: transform .32s cubic-bezier(.7,.02,.26,.99);
}

/* ========== FOCUS STYLES FOR ACCESSIBILITY ========== */
a:focus, button:focus, .cta-btn:focus, .btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========== MISCELLANEOUS ========== */
::-webkit-scrollbar {
  background: var(--color-card);
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-metal);
  border-radius: 7px;
}
::-webkit-input-placeholder { color: #B5B9BC; }
::-moz-placeholder { color: #B5B9BC; }
:-ms-input-placeholder { color: #B5B9BC; }
::placeholder { color: #B5B9BC; }

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