/* =============================
   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 {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #22262B;
  color: #ECECEC;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #E7C591;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9F9F6;
  outline: none;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

hr {
  border: 0;
  height: 1px;
  background: #22314A;
  margin: 24px 0;
}

/* =============================
   Fonts (industrial_modern)
   ============================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');

h1, h2, h3, h4, h5, h6, .brand-tagline {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #F9F9F6;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
  font-weight: 900;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #E7C591;
  letter-spacing: 0.04em;
}
h4, h5, h6 {
  color: #E7C591;
}

p, li, blockquote, cite {
  font-size: 1rem;
  color: #ECECEC;
  line-height: 1.8;
}
.subheadline {
  font-size: 1.24rem;
  color: #E7C591;
  margin-bottom: 24px;
  font-weight: 500;
}
.brand-tagline {
  font-size: 1.11rem;
  color: #E7C591;
  margin-top: 14px;
  letter-spacing: 0.03em;
}

blockquote {
  color: #22314A;
  background: #F9F9F6;
  border-left: 4px solid #E7C591;
  padding: 18px 24px;
  font-family: 'Merriweather', serif;
  font-size: 1.18rem;
  margin-bottom: 8px;
  border-radius: 8px 2px 16px 2px;
  box-shadow: 0 2px 12px rgba(34,49,74,0.08);
}
cite {
  display: block;
  color: #22314A;
  font-size: 0.99rem;
  margin-top: 6px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.01em;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =============================
   Flex Layouts (MANDATORY)
   ============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #262D34;
  border-radius: 16px;
  box-shadow: 0 4px 24px -6px rgba(34,49,74,0.14);
  border: 1px solid #32383F;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 10px 28px -3px #22314A99;
  border-color: #E7C591;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F9F9F6;
  color: #22314A;
  border-radius: 12px;
  box-shadow: 0 3px 22px -6px #2e3034cc;
  padding: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  border: 1.5px solid #E7C591;
  min-width: 250px;
  max-width: 600px;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #22314A;
  box-shadow: none;
}
.testimonial-card cite {
  color: #22314A;
}

.feature-grid, .feature-list, .service-list, .article-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 8px;
}
.feature-grid li, .feature-list li, .service-list li, .article-list li, .team-list li {
  flex: 1 1 270px;
  background: #262D34;
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 340px;
  box-shadow: 0 3px 16px -8px #14181c66;
  border: 1.5px solid #32383F;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-grid li:hover, .feature-list li:hover, .service-list li:hover, .article-list li:hover, .team-list li:hover {
  border-color: #E7C591;
  box-shadow: 0 8px 28px -6px #22314A88;
}

.team-list li { min-width: 230px; max-width: 400px; }

.service-price {
  color: #E7C591;
  font-weight: 600;
  margin-left: 8px;
  font-size: 1.05em;
}

.text-section {
  background: #252C32;
  border-radius: 8px;
  padding: 18px 20px;
  color: #ECECEC;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.99em;
  margin-bottom: 18px;
  color: #E7C591;
}
.breadcrumb a {
  color: #E7C591;
  text-decoration: underline;
}

/* =============================
   Header & Navigation
   ============================= */
header {
  background: #23272E;
  width: 100%;
  box-shadow: 0 1px 12px -3px #10131b88;
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 40px;
}
.main-nav > a img {
  height: 40px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 28px;
}
.main-nav li {
  list-style: none;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #ECECEC;
  font-size: 1.04rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E7C591;
  background: #252C32;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 20px;
  background: #252C32;
  color: #E7C591;
  border: 2px solid #E7C591;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 111;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border-color: #ECECEC;
  box-shadow: 0 4px 18px -7px #E7C59199;
  outline: none;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,74, 0.98);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  box-shadow: 6px 0 20px -8px #23272e77;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
  color: #E7C591;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 201;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F9F9F6;
  background: #252C32;
  outline: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-top: 84px;
  padding: 18px 36px;
}
.mobile-nav a {
  color: #ECECEC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E7C591;
  border-bottom: 2px solid #E7C591;
}

@media (max-width: 1040px) {
  .main-nav ul {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 6px;
  }
  .container {
    padding: 0 5vw;
  }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav > a img {
    height: 30px;
  }
}

/* =============================
   CTA & Buttons
   ============================= */
.cta,
button.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #E7C591;
  color: #22314A;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px -4px #22314A88;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.1s;
}
.cta.primary, .cta.primary:visited {
  background: #22314A;
  color: #E7C591;
  border: 2px solid #E7C591;
}
.cta:hover, .cta:focus, button.cta:hover, button.cta:focus {
  background: #22314A;
  color: #F9F9F6;
  border-color: #E7C591;
  box-shadow: 0 5px 20px -6px #E7C591aa;
  outline: none;
  transform: translateY(-2px) scale(1.017);
}
.cta.primary:hover, .cta.primary:focus {
  background: #E7C591;
  color: #22314A;
  border-color: #22314A;
}

/* =============================
   Footer
   ============================= */
footer {
  background: #1a1d20;
  color: #E7C591;
  padding: 48px 0 32px 0;
  width: 100vw;
  border-top: 2px solid #22314A;
  margin-top: 60px;
}
.footer-menu {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
}
.footer-menu a {
  color: #E7C591;
  text-decoration: none;
  font-size: 1.04rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.16s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #F9F9F6;
  text-decoration: underline;
}
.contact-info {
  margin-top: 10px;
  color: #ECECEC;
  font-size: 0.99rem;
  font-family: 'Montserrat', sans-serif;
}
.contact-info strong {
  color: #E7C591;
  font-weight: 700;
}

/* =============================
   Miscellaneous UI Elements
   ============================= */
.map-location {
  margin: 8px 0 18px 0;
  display: flex;
  align-items: center;
}
.team-role {
  color: #E7C591;
  font-style: italic;
  font-size: 0.96em;
}

/* =============================
   Cookie Consent Banner & Modal
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #23272E;
  color: #E7C591;
  z-index: 9999;
  padding: 26px 18px 22px 18px;
  box-shadow: 0 -2px 22px -3px #22314A99;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookies-slideIn 0.35s cubic-bezier(.65,0,.29,1);
}
@keyframes cookies-slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 26px;
  background: #E7C591;
  color: #22314A;
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
  cursor: pointer;
  margin: 0 2px;
  box-shadow: 0 2px 10px -6px #E7C591BB;
}
.cookie-btn.accept {
  background: #E7C591;
  color: #22314A;
}
.cookie-btn.reject {
  background: #22314A;
  color: #E7C591;
  border: 2px solid #E7C591;
}
.cookie-btn.settings {
  background: #252C32;
  color: #E7C591;
  border: 1.5px solid #E7C591;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #22314A;
  color: #F9F9F6;
  border-color: #E7C591;
  outline: none;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 98vw;
  max-width: 410px;
  background: #23272E;
  color: #E7C591;
  border-radius: 18px;
  box-shadow: 0 12px 48px -8px #22314Aaa;
  z-index: 10100;
  padding: 30px 24px 24px 24px;
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  animation: cookie-modal-pop 0.39s cubic-bezier(.8,0,.18,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
@keyframes cookie-modal-pop {
  from { opacity: 0; transform: translate(-50%, -40%) scale(0.9); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  color: #E7C591;
  font-size: 1.18rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 8px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #252C32;
  border-radius: 7px;
  padding: 10px 1px 9px 14px;
  color: #E7C591;
}
.cookie-category label {
  font-weight: 600;
  color: #E7C591;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #E7C591;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* =============================
   Responsive Design
   ============================= */
@media (max-width: 1024px) {
  .content-wrapper { max-width: 94vw; }
  .feature-grid li, .feature-list li, .service-list li, .article-list li, .team-list li {max-width: 48vw;}
}
@media (max-width: 900px) {
  .card, .feature-grid li, .feature-list li, .service-list li, .article-list li, .team-list li { max-width: 330px; }
  .section { padding: 34px 8px; }
  .testimonial-card { max-width: 430px; }
}
@media (max-width: 768px) {
  .section { padding: 20px 3vw; }
  .container { padding: 0 2vw; }
  .content-wrapper { gap: 16px; }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.32rem; }
  .feature-grid, .feature-list, .service-list, .article-list, .team-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .feature-list li, .service-list li, .article-list li, .team-list li { max-width: 98vw; min-width: 0; }
  .testimonial-card { max-width: 98vw; }
  .card-container { flex-direction: column; gap: 18px; }
  .card { max-width: 97vw; }
  .main-nav { gap: 18px; }
  .main-nav > a img { height: 26px; }
  .mobile-menu { padding: 0; }
  .mobile-nav { padding: 12vw 6vw; margin-top: 65px; }
  .brand-tagline { font-size: 0.97rem; }
  .text-image-section { flex-direction: column; gap: 14px; align-items: flex-start; }
}
@media (max-width: 520px) {
  .card, .feature-grid li, .feature-list li, .service-list li, .article-list li, .team-list li {
    padding: 15px 8px;
  }
  .cookie-modal {
    padding: 18px 5px 18px 6px;
  }
  .footer-menu ul { gap: 7px; }
}

/* =============================
   Industrial Modern Tweaks
   ============================= */
.card, .feature-grid li, .feature-list li, .service-list li, .article-list li, .team-list li,
.text-section, .testimonial-card {
  border-radius: 12px;
  box-shadow: 0 3px 16px -8px #16192333;
}
.card::before, .feature-grid li::before, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  top: -9px; left: 16px;
  width: 38px; height: 4px;
  background: linear-gradient(90deg, #E7C591 41%, #C4B07344 100%);
  border-radius: 2px;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}
.card:hover::before, .feature-grid li:hover::before {
  opacity: 0.22;
}

/* Metallic accent on buttons */
.cta, .cookie-btn {
  box-shadow: 0 2px 10px -3px #E7C59150, 0 1px 3px -1px #22314A44;
}

/* Urban lines & accents */
hr {
  background: repeating-linear-gradient(90deg, #E7C591, #E7C591 12px, #23272E 12px, #23272E 20px);
  height: 3px;
  border-radius: 6px;
  margin-top: 32px;
  margin-bottom: 32px;
}

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

/* =============================
   Utility Classes/Alignment
   ============================= */
.align-center { text-align: center; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-20 { gap: 20px !important; }

/* =============================
   Form Styles (Basic)
   ============================= */
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #32383F;
  background: #22262B;
  color: #ECECEC;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 18px;
  font-size: 1rem;
  transition: border 0.18s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E7C591;
  box-shadow: 0 0 0 2px #E7C59144;
}

label {
  color: #E7C591;
  font-size: 1.03em;
  margin-bottom: 7px;
  display: block;
}

/* =============================
   Animations & Micro-interactions
   ============================= */
.cta, button.cta, .cookie-btn, .card, .feature-grid li, .feature-list li, .service-list li, .article-list li, .team-list li {
  transition: box-shadow 0.2s, border-color 0.18s, background 0.18s, color 0.13s, transform 0.13s;
}
.card:active, .feature-grid li:active, .cta:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #E7C591;
  outline-offset: 2px;
}

/* =============================
   Spacing & Flex Consistency
   ============================= */
.section:not(:first-child) {
  margin-top: 16px;
}
.feature-grid li:not(:last-child),
.feature-list li:not(:last-child),
.service-list li:not(:last-child),
.article-list li:not(:last-child),
.team-list li:not(:last-child),
.card:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* =============================
   Hide non-interactive elements
   ============================= */
.mobile-menu {
  display: flex;
}
.hide { display: none !important; }

/* =============================
   End of File
   ============================= */
