/* 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,main,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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #191e22;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #eaf8f3;
  box-sizing: border-box;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
a {
  color: #A15A00;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #B9823A;
  text-decoration: underline;
}
ul,ol {
  list-style: none;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: block;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
*::selection {
  background: #B9823A;
  color: #fff;
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #eaf8f3;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 13px;
}
h4 {
  font-size: 1.08rem;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #eaf8f3;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  color: #b8bfc6;
  margin-bottom: 23px;
  font-weight: 400;
}
strong, b {
  font-weight: bold;
  color: #B9823A;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.06rem;
  color: #34393e;
  background: #eaf8f3;
  border-left: 4px solid #B9823A;
  padding: 18px 22px;
  margin-bottom: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(27, 97, 84, 0.04);
}
.author {
  color: #23272a;
  font-weight: 700;
  font-size: 0.98rem;
  margin-top: 3px;
}


/* LAYOUT CONTAINERS */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23272a;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(27, 97, 84, 0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  min-width: 270px;
  flex: 1 0 270px;
  border: 1px solid #2e3539;
  transition: box-shadow 0.23s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(161, 90, 0, 0.13);
  border-color: #B9823A;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  align-items: flex-start;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #eaf8f3;
  color: #21272a;
  border-radius: 12px;
  box-shadow: 0 3px 24px rgba(27,97,84,0.14);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 235px;
  max-width: 410px;
  border: 1.5px solid #c0d2ca;
  transition: box-shadow 0.2s, border-color 0.17s;
}
.testimonial-card:hover {
  border-color: #B9823A;
  box-shadow: 0 8px 40px rgba(161,90,0,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Special feature grid for icon/feature lists */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 15px;
}
.feature_grid li {
  background: #23272a;
  border-radius: 10px;
  border: 1.5px solid #215444;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 21px 21px 21px;
  box-shadow: 0 1px 16px rgba(27,97,84,.07);
  color: #eaf8f3;
  margin-bottom: 0; /* For gap spacing only */
  transition: border-color 0.23s, box-shadow 0.23s;
}
.feature_grid li:hover {
  border-color: #B9823A;
  box-shadow: 0 6px 32px rgba(161,90,0,.15);
}
.feature_grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: grayscale(20%) drop-shadow(0 1px 1px #1b261b08);
}


/* HEADER & NAVIGATION */
header {
  background: #1b1e20;
  border-bottom: 2px solid #23272a;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Merriweather', Georgia, serif;
  color: #eaf8f3;
  letter-spacing: 0.02em;
  font-size: 1rem;
  text-transform: none;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  background: #23272a;
  color: #B9823A;
}
header .cta-btn {
  margin-left: 28px;
}
.logo {
  height: 40px;
  width: auto;
}

/* Desktop Only Burger Off */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #B9823A;
  font-size: 2.1rem;
  display: none;
  cursor: pointer;
  margin-left: 26px;
  z-index: 103;
  transition: background 0.17s, color 0.14s;
  padding: 8px 14px 8px 8px;
  border-radius: 6px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #23272a;
  color: #EAF8F3;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1b1e20;
  z-index: 1100;
  transform: translateX(-104vw);
  transition: transform 0.33s cubic-bezier(.75,0,.25,1);
  display: flex;
  flex-direction: column;
  padding: 18px 32px 32px 32px;
  overflow-y: auto;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 32px; top: 22px;
  background: none;
  color: #EAF8F3;
  font-size: 2.2rem;
  border: none;
  padding: 0 10px;
  cursor: pointer;
  z-index: 1110;
  transition: color 0.18s, background 0.17s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #B9823A;
  background: #23272a;
  border-radius: 5px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 56px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #eaf8f3;
  font-size: 1.12rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  text-transform: none;
  padding: 8px 0;
  transition: color 0.20s, background 0.13s;
  border-radius: 6px;
  width: 100%;
  text-align: left;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #B9823A;
  background: #23272a;
}


/* HERO/BANNER SECTION */
.hero-section {
  background: linear-gradient(120deg, #21272b 50%, #23272a 100%);
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
  box-shadow: 0 4px 35px 0 rgba(27,97,84,0.09);
  border-bottom: 2px solid #23332d;
}
.hero-section .container {
  align-items: flex-start;
}
.hero-section h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-family: 'Merriweather', Georgia, serif;
  color: #B9823A;
  margin-bottom: 13px;
}
.hero-section .cta-btn {
  margin-top: 13px;
}


/* BUTTONS */
.cta-btn, .cookie-btn {
  display: inline-block;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
  background: #B9823A;
  color: #eaf8f3;
  padding: 13px 35px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 3px 15px rgba(161,90,0,0.10);
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.18s, box-shadow 0.18s, color 0.15s, transform 0.09s;
  text-align: center;
}
.cta-btn:focus,
.cta-btn:hover, .cookie-btn:focus, .cookie-btn:hover {
  background: #A15A00;
  color: #FFF;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 9px 22px rgba(161,90,0,0.13);
}


/* CARDS & TESTIMONIALS */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.team-list > div {
  background: #23272a;
  border-radius: 10px;
  box-shadow: 0 1.5px 12px rgba(27,97,84,0.07);
  padding: 25px 21px;
  min-width: 220px;
  flex: 1 0 220px;
  border: 1.5px solid #23544e;
  transition: border-color 0.22s, box-shadow 0.20s;
}
.team-list > div:hover {
  border-color: #B9823A;
  box-shadow: 0 6px 32px rgba(161,90,0,.12);
}


/* FOOTER */
footer {
  background: #181c20;
  color: #d3eaeb;
  width: 100%;
  border-top: 2px solid #25332d;
  font-size: .95rem;
  padding: 44px 0 20px 0;
  margin-top: 60px;
}
footer .container {
  align-items: stretch;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-columns > div {
  flex: 1 0 230px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #EAF8F3;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: .98rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
footer nav a:hover,footer nav a:focus {
  color: #B9823A;
}
footer img {
  max-width: 58px;
}


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #21272a;
  color: #fff;
  z-index: 1300;
  box-shadow: 0 -3px 24px rgba(27,97,84,0.13);
  width: 100%;
  padding: 24px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
  transition: transform .4s cubic-bezier(.6,0,.4,1.1), opacity .25s;
}
.cookie-banner.closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-btn.accept {
  background: #1B6154;
  color: #fff;
}
.cookie-btn.accept:focus,.cookie-btn.accept:hover {
  background: #218984;
}
.cookie-btn.reject {
  background: #21272a;
  color: #aaa;
  border: 1px solid #354544;
}
.cookie-btn.reject:focus,.cookie-btn.reject:hover {
  background: #292e34;
  color: #fff;
}
.cookie-btn.settings {
  background: #B9823A;
  color: #fff;
  border: 1.5px solid #B9823A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A15A00;
  border-color: #A15A00;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  z-index: 1350;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33, 39, 42, 0.84);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.28s cubic-bezier(.55,0,.35,1);
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #23272a;
  min-width: 300px;
  max-width: 97vw;
  width: 400px;
  padding: 34px 34px 22px 34px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(27,97,84,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal-content h3 {
  font-family: 'Merriweather', Georgia, serif;
  margin-bottom: 7px;
  font-size: 1.25rem;
  color: #1B6154;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
}
.cookie-toggle {
  width: 36px; height: 20px;
  border-radius: 10px;
  background: #d5dbda;
  position: relative;
  cursor: pointer;
  transition: background .19s;
}
.cookie-toggle.enabled {
  background: #1B6154;
}
.cookie-toggle.disabled {
  background: #d5dbda;
}
.cookie-toggle .circle {
  position: absolute;
  top: 2.2px;
  left: 2.2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.14s;
}
.cookie-toggle.enabled .circle {
  left: 17.2px;
}
.cookie-toggle.disabled .circle {
  left: 2.2px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 22px;
  background: none;
  color: #1B6154;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  transition: color 0.14s, background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #B9823A;
  background: #eaf8f3;
  border-radius: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top:7px;
}
@keyframes fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}


/* FORMS & INPUTS */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  background: #23272a;
  color: #eaf8f3;
  padding: 10px 18px;
  border: 1px solid #31444d;
  border-radius: 5px;
  margin-bottom: 13px;
  width: 100%;
  font-size: 1rem;
  transition: border-color .12s, box-shadow .12s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #B9823A;
  outline: none;
  box-shadow: 0 2px 11px rgba(161,90,0,0.06);
}


/* SPECIAL SECTIONS */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  margin-bottom: 18px;
}
.categories li {
  background: #2a3035;
  border-radius: 16px;
  padding: 7px 15px;
  color: #eaf8f3;
  font-size: 0.96rem;
  font-weight: 600;
}
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.articles-list li {
  background: #23272a;
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 1px 10px rgba(27,97,84,0.07);
  transition: border-color .13s, box-shadow .13s;
  border: 1.5px solid #26322f;
}
.articles-list li:hover {
  border-color: #B9823A;
  box-shadow: 0 6px 18px rgba(161,90,0,.09);
}


/* GENERAL SPACING */
.text-section {
  margin-bottom: 22px;
}
ul, ol {
  margin-bottom: 12px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 10px;
}


/* ACCESSIBILITY & HIERARCHY */
:focus {
  outline: 2px solid #B9823A;
  outline-offset: 2px;
}


/* RESPONSIVENESS */
@media (max-width: 1100px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .footer-columns, .team-list, .feature_grid, .content-grid { flex-direction: column; gap: 28px; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.39rem; }
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .hero-section {
    padding: 36px 0 24px 0;
  }
  .section { padding: 25px 8px; margin-bottom: 36px; }
  .feature_grid { gap: 20px; }
  .team-list { gap: 19px; }
  .footer-columns { gap: 25px; }
  .footer-columns > div { min-width: 160px; }
  /* -- NAVIGATION MOBILE -- */
  header nav, header .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
  /* Responsive content alignment */
  .text-image-section,.content-grid,.card-container,.feature_grid,.team-list {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card { max-width: 97vw; padding: 15px; }
}
@media (max-width: 530px) {
  .cookie-modal-content { min-width: initial; width: 99vw; padding: 15px 7px 9px 11px; }
  .cookie-modal-close { top: 10px; right: 10px; }
}


/* MICRO-INTERACTIONS */
.cta-btn, .cookie-btn, .cookie-toggle {
  transition: background .16s, color .11s, border-color .13s, box-shadow .17s, transform .10s;
}
.articles-list li:active, .card:active, .feature_grid li:active, .team-list > div:active {
  transform: scale(0.984);
}


/* INDUSTRIAL MODERN ACCENTS & METALLIC DETAILS */
.card, .feature_grid li, .team-list > div, .articles-list li {
  box-shadow: 0 1.5px 14px rgba(156,161,167,0.08), 0 1px 0.5px #51585c21 inset;
  border-bottom: 2.5px solid #5f626722;
}

@media (hover: hover) {
  .card:hover,.feature_grid li:hover,.articles-list li:hover,.team-list > div:hover {
    box-shadow: 0 8px 34px rgba(161,90,0,0.08), 0 1.5px 22px #B9823A21;
    border-color: #B9823A;
  }
}

/* SHADOWS for Urban Feel */
.hero-section, .cta-section, .testimonials-section, .features-section, .services-section {
  box-shadow: 0 0.5px 30px rgba(27,97,84,0.09);
}

/* CTA Section Highlight */
.cta-section {
  background: #26322f;
  border-radius: 18px;
  border: 2.3px solid #B9823A44;
  margin-bottom: 60px;
  box-shadow: 0 2px 24px #B9823A12;
}
.cta-section h2 {
  color: #B9823A;
}

/* Hide scrollbars on mobile menu/modal overlays for better UX */
.mobile-menu,
.cookie-modal {
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar,
.cookie-modal::-webkit-scrollbar {
  display: none;
}

/* Utility spacing for at least 20px gaps between cards/sections */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Fix min spacing between all cards regardless of nesting */
.card, .testimonial-card, .team-list > div, .feature_grid li, .articles-list li {
  margin-bottom: 20px;
}

/* Prevent overlapping by always adding padding between stacked elements */
main > section + section,
.footer-columns > * + * {
  margin-top: 20px;
}

/* Fix boxed images (icons, logos) with industrial vibe */
img[alt~="SanatoRado"], img[src*="logo"], img[src*="icon-"] {
  border-radius: 8px;
  background: #24272c;
  border: 1.2px solid #22292D;
  box-shadow: 0 1px 10px #1B615410;
  padding: 6px;
  margin-bottom: 10px;
}

/* Content utility for text sections */
.text-section h3 { 
  color: #B9823A; 
  margin-bottom: 7px; 
}

/* -- END OF CSS -- */
