/* RESET & BASE TYPOGRAPHY */
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: #202A2D;
  color: #F4F8F7;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  /* For mobile keyboard covers */
  min-height: -webkit-fill-available; 
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #A9D4C3;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F9D47C;
  outline: none;
}

/* FONT FAMILIES */
h1, h2, h3, h4, h5, h6,
.logo, .logo-footer {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
}

/* BRAND COLORS (industrial_modern tweaks) */
:root {
  --color-primary: #275A65;
  --color-secondary: #A9D4C3;
  --color-accent: #F4F8F7;
  --color-dark: #202A2D;
  --color-mid: #384046;
  --color-metal: #727C82;
  --color-card-bg: #23282B;
  --color-card-border: #4C575C;
  --color-btn: #2E6876;
  --color-btn-hover: #244C51;
  --color-shadow: rgba(30, 38, 44, 0.15);
  --color-testimonial-bg: #F4F8F7;
  --color-testimonial-text: #23282B;
  --color-btn-text: #F4F8F7;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* HEADER NAVIGATION */
header {
  background: var(--color-dark);
  position: sticky;
  z-index: 60;
  top: 0;
  box-shadow: 0 3px 16px rgba(30,38,44,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  margin: 0 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}
.main-nav a {
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  transition: color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F9D47C;
}
.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  background: none;
  color: var(--color-secondary);
  border: none;
  cursor: pointer;
  margin-left: 16px;
  padding: 8px 16px;
  line-height: 1;
  z-index: 120;
  transition: background .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-btn);
  color: var(--color-btn-text);
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 12px 32px;
  font-size: 18px;
  border: none;
  box-shadow: 0 3px 10px var(--color-shadow);
  text-shadow: 0 1px 2px #0003;
  cursor: pointer;
  margin-left: 30px;
  transition: background .2s, transform .15s, box-shadow .15s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-btn-hover);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 18px var(--color-shadow);
  color: #fffbea;
  outline: none;
}

/* MOBILE BURGER MENU (Slide in) */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: var(--color-dark);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.85,0,.15,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px 0;
  min-width: 230px;
  box-shadow: 6px 0 60px #00060022;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 34px;
  padding: 16px 20px 8px 8px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0 0 38px;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 0;
  border-left: 4px solid transparent;
  transition: color .19s, border-color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F9D47C;
  border-left: 4px solid #F9D47C;
}

/* Main layout sections ----------------------------------- */
main {
  width: 100%;
  margin-top: 0;
  z-index: 1;
}
section {
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  background: linear-gradient(120deg, #232E31 70%, #202A2D 100%);
  box-shadow: 0 8px 32px rgba(30,38,44,0.13);
  border-bottom: 2px solid var(--color-metal);
  padding: 56px 0 48px 0;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--color-secondary);
  line-height: 1.12;
  margin-bottom: 21px;
  text-shadow: 0 2px 12px #11222222;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: #B7CFCB;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
  gap: 0px;
}

/* Common section spacing, card, grid patterns */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 8px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border: 1.5px solid var(--color-card-border);
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  padding: 28px 24px 22px 24px;
  min-width: 240px;
  max-width: 370px;
  transition: box-shadow .17s, border-color .17s, transform .17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px var(--color-shadow);
  border-color: var(--color-metal);
  transform: translateY(-2px) scale(1.04);
  z-index: 1;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  padding: 26px 38px;
  border-radius: 13px;
  box-shadow: 0 6px 22px rgba(30,38,44,0.11);
  margin-bottom: 20px;
  max-width: 500px;
  font-size: 1.11rem;
  line-height: 1.65;
  border-left: 6px solid var(--color-secondary);
  position: relative;
}
.testimonial-card p {
  color: #1B2327;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 0.96em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Features, Offerings */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.team .content-wrapper ul li,
.services .content-wrapper ul li,
.content-wrapper ul li {
  margin-bottom: 20px;
  padding-left: 0;
  color: var(--color-accent);
  font-size: 1.05em;
  position: relative;
}
.content-wrapper ul li strong {
  color: var(--color-secondary);
  font-weight: bold;
}

/* CTA Sections */
.cta {
  background: var(--color-mid);
  text-align: center;
  padding: 46px 0 40px 0;
  border-radius: 16px;
  margin: 56px 0 18px 0;
  box-shadow: 0 2px 18px rgba(68,90,104,0.13);
}
.cta h2 {
  color: var(--color-secondary);
  font-size: 1.85rem;
  margin-bottom: 18px;
}
.cta .btn-primary {
  margin-left: 0;
}

/* Article previews - Guide page */
.article-preview {
  background: var(--color-card-bg);
  border-radius: 10px;
  border: 1.5px solid var(--color-card-border);
  box-shadow: 0 1px 7px rgba(40,50,60,0.10);
  padding: 24px 22px 17px 22px;
  margin-bottom: 20px;
  font-size: 1.02em;
  transition: box-shadow .18s, border-color .19s;
}
.article-preview h3 {
  color: var(--color-secondary);
  margin-bottom: 13px;
  font-size: 1.17em;
}
.article-preview:hover, .article-preview:focus-within {
  border-color: var(--color-metal);
  box-shadow: 0 8px 30px var(--color-shadow);
}

/* Miscellaneous Lists */
ul {
  list-style: none;
  padding-left: 0;
}
.content-wrapper ul li:before {
  content: '\25A0';
  color: var(--color-metal);
  font-size: 1em;
  position: absolute;
  left: -22px; top: 0;
  font-family: Arial, sans-serif;
  display: none;
}

/* FAQ section - contact page */
.faq .content-wrapper ul li {
  background: var(--color-card-bg);
  border-radius: 10px;
  border: 1.5px solid var(--color-card-border);
  box-shadow: 0 1px 8px rgba(50,60,70,0.09);
  margin-bottom: 22px;
  padding: 18px 18px 12px 18px;
  color: var(--color-accent);
  position: relative;
  font-size: 1em;
}
.faq .content-wrapper ul li strong {
  color: var(--color-secondary);
}

/* Footer ------------------------------------------------ */
footer {
  background: #232E31;
  color: var(--color-accent);
  width: 100%;
  border-top: 2px solid var(--color-metal);
  padding: 35px 0;
  margin-top: 35px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.logo-footer {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.logo-footer img {
  height: 38px;
}
.footer-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F9D47C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97em;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--color-accent);
  margin-bottom: 0;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  filter: grayscale(90%) brightness(2.2);
}

/* Typography ---------------------------------------------------- */
h1 { font-size: 2.2rem; font-family: 'Montserrat', Arial, sans-serif; margin-bottom: 22px; color: var(--color-secondary); font-weight: 800; line-height: 1.1; }
h2 { font-size: 1.5rem; margin-bottom: 19px; font-family: 'Montserrat', Arial, sans-serif; color: var(--color-secondary); font-weight: 700; letter-spacing: 0.03em; }
h3 { font-size: 1.18rem; font-family: 'Montserrat', Arial, sans-serif; color: var(--color-secondary); font-weight: 600; margin-bottom: 13px; }
.text-section h2 { color: var(--color-primary); margin-top: 24px; }
p, li, ul, ol, label { font-family: 'Open Sans', Arial, sans-serif; font-size: 1.02em; color: var(--color-accent); }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.05em;
}
.text-section p, .text-section ul li { color: #E5EEEC; }
.text-section ul {
  padding-left: 0;
}

/* For price highlights in offers */
.services .content-wrapper ul li h3 span {
  color: #F9D47C;
  font-size: 1em;
  margin-left: 15px;
  font-weight: 700;
}
.services ul li {
  margin-bottom: 24px;
  background: var(--color-card-bg);
  border-radius: 10px;
  border: 1px solid var(--color-card-border);
  box-shadow: 0 1px 7px rgba(40,50,60,0.08);
  padding: 20px 26px 14px 22px;
  color: var(--color-accent);
}
.services ul li h3 {
  font-size: 1.07em;
}

/* Card overflow fix */
.card,.article-preview,.faq .content-wrapper ul li{overflow:hidden;}

/* Cookie Banner ---------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #1B2327;
  color: #F4F8F7;
  box-shadow: 0 -2px 22px #00000027;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px 28px 18px 28px;
  z-index: 10002;
  font-size: 1.01em;
  gap: 18px;
  opacity: 1;
  transition: transform .27s cubic-bezier(.86,0,.19,1), opacity .18s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner__text {
  flex: 3 1 350px;
  font-size: 1em;
  max-width: 920px;
  color: #E5EEEC;
  margin-right: 28px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: var(--color-btn);
  color: var(--color-btn-text);
  border: none;
  border-radius: 5px;
  font-size: inherit;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .17s, box-shadow .13s;
  box-shadow: 0 2px 10px rgba(32,42,45,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-btn-hover);
  color: #fffbea;
}
.cookie-btn.reject {
  background: var(--color-metal);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #556069;
}
.cookie-btn.settings {
  background: #2B383D;
  color: var(--color-secondary);
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus{
  background: #22282C;
  color: #F9D47C;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  /* full overlay for modal */
  position: fixed;
  left:0;top:0;right:0;bottom:0;
  background: rgba(30,34,40,0.55);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .19s;
}
.cookie-modal {
  background: #232A2F;
  border-radius: 12px;
  box-shadow: 0 3px 40px rgba(30,38,44,0.33);
  min-width: 340px;
  max-width: 98vw;
  padding: 36px 30px 32px 30px;
  color: #F4F8F7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  z-index: 10020;
  position: relative;
  animation: modal-in .30s cubic-bezier(.91,0,.16,1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(70px) scale(0.92); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1em;
  padding: 7px 0;
}
.cookie-modal__category label {
  color: #E5EEEC;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 48px; height: 26px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
}
.toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 15px;
  background: var(--color-metal);
  transition: background .16s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--color-secondary);
}
.toggle-slider:before {
  content: "";
  position: absolute;
  left: 5px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1px 4px #0001;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 16px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal-close:focus {
  outline: 2px solid var(--color-secondary);
}
/* Cookie modal animation off state */
.cookie-modal.hide {
  opacity: 0; pointer-events: none; transform: translateY(60px) scale(.93);
  transition: opacity .2s, transform .19s;
}

/* ----------------------------------------- */
/* RESPONSIVE QUERIES - MOBILE FIRST DESIGN  */

@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
  }
  .main-nav {
    gap: 17px;
    margin: 0 12px;
    font-size: 15px;
  }
  .footer-nav {
    gap: 14px;
    font-size: 13.5px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }
  .content-wrapper,
  .text-section {
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 7px;
  }
  .hero {
    padding: 33px 0 27px 0;
    margin-bottom: 25px;
  }
  .cta {
    padding: 28px 0 17px 0;
    margin: 32px 0 12px 0;
  }
  .footer-contact p {
    font-size: 1em;
  }
}
@media (max-width: 590px) {
  .hero h1 {
    font-size: 1.27rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
  .testimonial-card {
    padding: 16px 13px;
    max-width: 97vw;
    font-size: 1em;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 13px 12px 13px;
    gap: 15px;
    font-size: .99em;
  }
  .cookie-banner__text {
    margin-right: 0;
    max-width: none;
  }
}
@media (max-width: 420px) {
  .cookie-modal {
    min-width: 99vw;
    padding: 19px 7px 19px 12px;
    font-size: .98em;
  }
}

/* Flex direction fixes on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .footer-contact, .footer-nav {
    align-items: flex-start;
  }
}

/********* VISUAL HIERARCHY & MODERN INDUSTRIAL INSPIRATION *********/
body {
  /* Imitate urban texture with subtle noise */
  background: #202A2D url('assets/bg-noise.png');
  background-size: contain;
}
section, .section, .card, .testimonial-card, .article-preview {
  box-shadow: 0 1.5px 9px var(--color-shadow);
}
.card, .article-preview, .testimonial-card {
  border-radius: 11px;
  border: 1.5px solid var(--color-card-border);
}

/* Industrial/Urban font tweaks */
.logo, .logo-footer, h1, h2, h3, h4, nav, .btn-primary {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Metallic accent bars */
h2:before, h1:before {
  content: '';
  display: inline-block;
  width: 46px;
  height: 5px;
  background: linear-gradient(90deg, #9EB4B9 0%, #3B4F54 100%);
  border-radius: 2px;
  margin-right: 14px;
  vertical-align: middle;
}
@media (max-width:700px) {
  h2:before, h1:before{width:27px;}
}

/* Icon color tweaks */
img[alt*="icon-"] {
  filter: grayscale(95%) brightness(2.0) contrast(.8);
  opacity: .87;
}

/* Microinteractions & Focus States */
.btn-primary:focus, .cookie-btn:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 2px solid var(--color-secondary) !important;
  box-shadow: 0 0 0 2px #25574B44;
}
.card:focus-within, .article-preview:focus-within {
  outline: 1.5px solid var(--color-secondary);
}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border-radius: 5px;
}

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

/************ Utility classes *************/
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }

/********** End *********/
