/* RESET & NORMALIZATION */
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%;
  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: #151919;
  color: #F6F4F0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #BC9649;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AA801E;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
  margin-left: 1em;
}
img {
  display: block;
  max-width: 100%;
}
:focus {
  outline: 2px solid #AA801E;
  outline-offset: 2px;
}
h1, h2, h3, h4, h5, h6 {
  color: #F6F4F0;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-shadow: 1px 2px 12px #111c;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  border-left: 4px solid #AA801E;
  padding-left: 12px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
h4 { font-size: 1.125rem; margin-bottom: 8px; }
p, li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  color: #E6E1D7;
}
strong { color: #FFFFFF; font-weight: 700; }

/* BRAND COLOR VARIABLES FOR FALLBACKS */
:root {
  --primary: #1A365D;
  --secondary: #F6F4F0;
  --accent: #AA801E;
  --gray-dark: #23262A;
  --gray-med: #373A40;
  --gray-light: #AFB2B7;
  --footer-bg: #181B1E;
}

/* GENERAL CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  background: none;
  padding: 0;
}

/* HEADER */
header {
  padding-top: 18px;
  padding-bottom: 18px;
  background: #101217;
  box-shadow: 0 4px 24px #0005;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
header img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #F6F4F0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  padding: 8px 0;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.25s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #AA801E;
  border-bottom: 2px solid #AA801E;
}

/* CTA BUTTON */
.cta-btn {
  background: #BC9649;
  color: #F6F4F0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 11px 28px;
  margin-left: 20px;
  box-shadow: 0 3px 14px #0008, 0 1px 0 #AA801E;
  cursor: pointer;
  transition: background 0.2s, color 0.15s, transform 0.17s;
  display: inline-block;
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #AA801E;
  color: #181B1E;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 24px #AA801E33, 0 2px 0 #F6F4F0;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: #23262A;
  border: none;
  border-radius: 8px;
  color: #F6F4F0;
  font-size: 2rem;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 101;
  box-shadow: 0 2px 10px #0007;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #AA801E;
  color: #181B1E;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #161A1Eef;
  z-index: 200;
  padding-top: 38px;
  padding-left: 32px;
  padding-right: 32px;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.7,0.1,0.2,1);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: #23262A;
  color: #F6F4F0;
  border: none;
  border-radius: 7px;
  font-size: 2rem;
  position: absolute;
  top: 20px;
  right: 32px;
  cursor: pointer;
  padding: 7px 16px;
  z-index: 201;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #AA801E;
  color: #181B1E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 64px;
  width: 100%;
}
.mobile-nav a {
  color: #F6F4F0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 15px 0;
  border-bottom: 1px solid #23262A;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #AA801E;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #23262A 0%, #1A365D 100%);
  box-shadow: 0 8px 34px #14161A63;
  border-bottom: 1px solid #23262A;
  margin-bottom: 56px;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  min-height: 320px;
}
.hero .content-wrapper {
  max-width: 700px;
  padding: 58px 0 48px 0;
  text-shadow: 1px 2px 12px #0007;
}
.hero h1 {
  color: #F6F4F0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero p {
  color: #D2CEF2;
  font-size: 1.13rem;
  margin-bottom: 30px;
  text-shadow: none;
}
.hero .cta-btn {
  margin-top: 6px;
}

/* SECTION SPACING */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.features, .about, .services, .testimonials, .contact, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #181B1E;
  border-radius: 13px;
  box-shadow: 0 3px 16px #1118;
}
.features {
  background: #161A1E;
}
.services {
  background: #181B1E;
}

/* FLEXBOX PATTERNS & CONTENT GRIDS */
.feature-grid, .service-grid, .team-bio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.feature-grid > div, .service-grid > div, .team-bio-list > .text-section {
  background: #23262A;
  border-radius: 10px;
  box-shadow: 0 3px 14px #0007;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 360px;
  padding: 22px 24px 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  border-left: 4px solid #AA801E;
  transition: box-shadow 0.18s, transform 0.16s;
  position: relative;
}
.feature-grid > div:hover, .service-grid > div:hover, .team-bio-list > .text-section:hover {
  box-shadow: 0 7px 28px #AA801E22, 0 2px 0 #AA801Eaa;
  transform: translateY(-4px) scale(1.03);
  z-index: 5;
}
.feature-grid img, .service-grid img, .team-bio-list img {
  height: 36px;
  width: 36px;
  margin-bottom: 6px;
  filter: grayscale(60%) brightness(1.25) drop-shadow(0 1px 6px #AA801E66);
}
.feature-grid h3, .service-grid h3 {
  color: #F6F4F0;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #23262A;
  border-radius: 10px;
  box-shadow: 0 3px 14px #0007;
}
.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;
  background: #F6F4F0;
  color: #23262A;
  border-radius: 10px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px #1115;
  border-left: 5px solid #AA801E;
  flex: 1 1 280px;
  max-width: 700px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.15s;
}
.testimonial-card p {
  color: #23262A;
  font-size: 1.08rem;
  font-weight: 400;
  margin: 0 0 6px 0;
}
.testimonial-card .testimonial-meta {
  color: #8A7D63;
  font-size: 0.94rem;
  font-weight: 600;
  margin-left: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px #AA801E55, 0 2px 0 #23262A99;
  transform: translateY(-3px) scale(1.02);
  z-index: 3;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* THANK YOU PAGE */
.thank-you .cta-btn {
  margin-top: 30px;
}

/* ABOUT PAGE - TEAM */
.team-bio-list {
  flex-wrap: wrap;
  gap: 24px;
}
.team-bio-list .text-section {
  flex: 1 1 250px;
  background: #23262A;
  border-radius: 10px;
  padding: 20px 20px 10px 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px #0005;
  border-left: 4px solid #AA801E;
}
.team-bio-list ul {
  margin-top: 10px;
  margin-left: 0;
  color: #D2CEF2;
}

/* CONTACT DETAILS */
.contact strong {
  color: #AA801E;
}
.contact a {
  font-weight: bold;
}
.map-mini {
  margin: 20px 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-mini img {
  height: 90px;
  width: auto;
  opacity: 0.86;
}

/* FOOTER */
footer {
  background: #181B1E;
  padding: 44px 0 24px 0;
  color: #F6F4F0;
  border-top: 1px solid #23262A;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F6F4F0;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #AA801E;
}
.footer-info {
  font-size: 0.98rem;
  color: #AFB2B7;
  text-align: center;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a img {
  height: 28px;
  filter: grayscale(40%) brightness(1.2);
  transition: filter 0.18s, transform 0.13s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: drop-shadow(0 2px 14px #AA801Eaa);
  transform: scale(1.1);
}
.footer-legal {
  font-size: 0.9rem;
  margin-top: 6px;
  color: #79786b;
  text-align: center;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #181B1Eee;
  color: #F6F4F0;
  padding: 28px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1001;
  box-shadow: 0 -2px 24px #0009;
  gap: 14px;
  font-size: 1.02rem;
  animation: fadeInBanner 0.6s;
}
@keyframes fadeInBanner {0%{opacity:0;transform:translateY(70px);}100%{opacity:1;transform:translateY(0);}}
.cookie-consent-banner p {
  color: #F6F4F0;
  text-align: center;
  margin-bottom: 7px;
}
.cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  background: #23262A;
  color: #AA801E;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 6px;
  cursor: pointer;
  margin: 0 2px;
  font-size: 1rem;
  box-shadow: 0 2px 7px #0004;
  transition: background 0.16s, color 0.13s, transform 0.13s;
}
.cookie-btn-accept {
  background: #AA801E;
  color: #181B1E;
}
.cookie-btn-reject {
  background: #373A40;
  color: #F6F4F0;
}
.cookie-btn-settings {
  background: #23262A;
  color: #AA801E;
}
.cookie-btn:hover, .cookie-btn-accept:hover, .cookie-btn-reject:hover, .cookie-btn-settings:hover, .cookie-btn:focus, .cookie-btn-accept:focus, .cookie-btn-reject:focus, .cookie-btn-settings:focus {
  background: #BC9649;
  color: #181B1E;
  transform: translateY(-2px) scale(1.05);
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  top:0; bottom:0; left:0; right:0;
  background: #161A1Ebb;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1030;
  transition: opacity 0.22s;
  animation: fadeInModal 0.4s;
}
@keyframes fadeInModal {0%{opacity:0;transform:scale(0.99);}100%{opacity:1;transform:scale(1);}}
.cookie-modal {
  background: #23262A;
  color: #F6F4F0;
  border-radius: 14px;
  box-shadow: 0 3px 28px #0009;
  padding: 36px 28px;
  min-width: 320px;
  max-width: 98vw;
  width: 410px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: fadeInModal 0.3s;
}
.cookie-modal h2 {
  color: #F6F4F0;
  font-size: 1.25rem;
  margin-bottom: 4px;
  border-left: 4px solid #AA801E;
  padding-left: 7px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: #AA801E;
  font-size: 2rem;
  cursor: pointer;
  padding: 3px 11px;
  border-radius: 6px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #191A1E55; color: #F6F4F0; }
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.04rem;
  padding: 10px 0;
  border-bottom: 1px solid #373A40;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category .toggle {
  position: relative;
  width: 42px;
  height: 24px;
  background: #373A40;
  border-radius: 16px;
  margin-right: 10px;
}
.cookie-modal-category .toggle input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-category .toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  height: 20px; width: 20px;
  background: #AA801E;
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-modal-category .toggle input[type=checkbox]:checked + .toggle-slider {
  left: 20px;
  background: #BC9649;
}
.cookie-modal-category .toggle input[type=checkbox]:disabled + .toggle-slider {
  opacity: 0.65;
  background: #D2CEF2;
}
.cookie-modal-category label {
  color: #F6F4F0;
  font-weight: 500;
}
.cookie-modal-bottom {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 18px;
}

/* Responsive Design - Mobile First */
@media (max-width: 1100px) {
  .container { max-width: 970px; }
  .feature-grid > div, .service-grid > div { max-width: 44vw; }
}
@media (max-width: 900px) {
  .container { max-width: 760px; }
  .feature-grid, .service-grid, .team-bio-list { flex-direction: column; gap: 18px; }
  .feature-grid > div, .service-grid > div, .team-bio-list > .text-section { max-width: 100%; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; padding-left: 9px; padding-right: 9px; }
  header .container { flex-direction: column; align-items: flex-start; gap: 11px; }
  .main-nav { display: none !important; }
  .cta-btn { margin-left: 0; margin-top: 7px; width: 100%; text-align: center; }
  .mobile-menu-toggle { display: block; }

  .hero .container { min-height: 160px; }
  .hero .content-wrapper { padding: 32px 0 18px 0; }

  .feature-grid, .service-grid, .team-bio-list { flex-direction: column; gap: 16px; }
  .feature-grid > div, .service-grid > div, .team-bio-list > .text-section { min-width: 95vw; max-width: 99vw; }

  .card-container, .content-grid, .testimonial-card, .feature-item {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .testimonial-card { max-width: 99vw; }
  .footer-nav { flex-direction: column; gap: 7px; }
  .footer-info, .footer-legal { font-size: 0.93rem; }
  .section, main > section, .features, .about, .services, .testimonials, .contact {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .team-bio-list {
    margin-top: 16px;
    gap: 11px;
  }
  .cookie-consent-banner {
    padding-left: 7px; padding-right: 7px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 13vw 2vw;
    min-width: 50vw;
    width: 98vw;
    max-width: 99vw;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
}

/* Animations & Microinteractions */
.cta-btn, .main-nav a, .footer-nav a, .cookie-btn, .cookie-btn-settings, .cookie-modal-close, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.15s, box-shadow 0.16s, transform 0.15s;
}
.card, .feature-grid > div, .service-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
}

/* SCROLLBAR FOR DARK UI */
::-webkit-scrollbar {
  width: 8px;
  background: #1A365D;
}
::-webkit-scrollbar-thumb {
  background: #23262A;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #AA801E;
}

/* METALLIC ACCENTS & URBAN FEEL */
.hero, .features, .services, .about, .card, .testimonial-card, .team-bio-list > .text-section, .cookie-modal {
  border: 1px solid #22252A;
}
.features, .services {
  box-shadow: 0 2px 14px #AA801E20, 0 1.5px 0 #AA801E50;
}

/* INDUSTRIAL MODERN TYPOGRAPHY */
body, p, li { font-family: 'Open Sans', Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, .main-nav a, .footer-nav a, .cta-btn, .cookie-btn, .cookie-btn-settings, .cookie-btn-accept, .cookie-btn-reject, .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* VISUAL HIERARCHY */
.section h2 {
  margin-top: 0;
}
.section:not(:first-child) { margin-top: 14px; }

/* PREVENT OVERLAP / Z-LEVELS */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
  z-index: 200;
}
.mobile-menu { z-index: 200; }
.cookie-modal-overlay { z-index: 1030; }

/* Hide scroll on mobile nav open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}
