/* ScentGlow Industrial Modern CSS v1.0 */
/* RESET (normalize-like, condensed) */
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,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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 16px;
}
body {
  background: #232629;
  color: #F5F0EB;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%; height: auto; display: block;
}
a {
  color: #E9B52F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD24A;
}
ul,ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  letter-spacing: .5px;
  color: #F5F0EB;
  font-weight: 700;
}
strong { font-weight: bold; }

/* TYPOGRAPHY SCALE */
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 8px; }
h1,h2,h3,h4 { line-height: 1.15; }
p { margin-bottom: 16px; color: #DAD4CC; font-size: 1rem; }
@media (min-width:900px){
  h1{font-size:3rem;} h2{font-size:2.2rem;} h3{font-size:1.6rem;} h4{font-size:1.2rem;}
}

/* INDUSTRIAL MODERN COLORS (with metallic, urban feel) */
:root {
  --color-primary: #1A3E4C;
  --color-secondary: #F5F0EB;
  --color-accent: #E9B52F;
  --color-bg: #232629;
  --color-surface: #282C31;
  --color-metal: #7E868C;
  --color-block: #17191C;
  --color-shadow: rgba(20,26,30,0.25);
  --color-border: #35383B;
  --color-outline: #2B3136;
  --color-danger: #B43939;
}

/* LAYOUT GENERICS */
.container {
  width: 100%; max-width: 1260px; padding: 0 20px; margin: 0 auto;
}
.content-wrapper {
  background: var(--color-surface);
  border-radius: 14px;
  box-shadow: 0 3px 28px var(--color-shadow);
  padding: 32px 22px;
  margin-bottom: 40px;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-surface);
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 12px var(--color-shadow);
  position: relative; /* only for deco, never for content layout */
  display: flex;
  flex-direction: column;
  min-width: 240px; max-width: 370px;
}
.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; padding: 20px; margin-bottom: 20px; background: #F5F0EB;
  box-shadow: 0 2px 10px var(--color-shadow);
  border-left: 5px solid var(--color-primary);
  color: #212429;
  border-radius: 10px;
  flex-direction: column;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(122deg, #22282D 70%, #222 CURLY 100%);
  background: var(--color-block);
  display: flex;
  align-items: center;
  min-height: 320px;
  margin-bottom: 0;
}
.hero .content-wrapper {
  background: transparent;
  box-shadow: none;
  color: #F5F0EB;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 0;
}
.hero h1, .hero p { color: #F5F0EB; }

/* HEADER */
header {
  width: 100%; background: var(--color-primary); box-shadow: 0 4px 32px rgba(24,32,38,0.14);
  position: sticky; top: 0; z-index: 50;
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.desktop-nav a {
  color: #F5F0EB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 6px;
  letter-spacing: 0.5px;
  transition: color 0.16s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: var(--color-accent);
}
.cta-primary {
  background: linear-gradient(90deg, #E9B52F 90%, #D4A21C);
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-size: 1.05rem;
  font-weight:700;
  border-radius: 7px;
  padding: 12px 28px;
  box-shadow: 0 2px 7px var(--color-shadow);
  text-transform: uppercase;
  letter-spacing: 1.0px;
  margin-left: 12px;
  transition: background 0.22s, color 0.19s, box-shadow 0.18s, transform 0.25s cubic-bezier(.15,.81,.64,.94);
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFD24A;
  color: #111;
  box-shadow: 0 4px 18px var(--color-shadow);
  transform: translateY(-3px) scale(1.02);
}
.cta-link {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.1px;
  border-bottom: 2px dotted var(--color-accent);
  font-size: 1rem;
  transition: color .16s, border-bottom-color 0.18s;
}
.cta-link:hover, .cta-link:focus {
  color: #FFD24A;
  border-bottom-color: #FFD24A;
}

/* MOBILE MENU (burger) */
.mobile-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: rgba(20,29,35,0.93);
  color: #E9B52F; border-radius: 7px; font-size: 2rem;
  z-index: 102;
  border: 2px solid var(--color-metal);
  cursor: pointer;
  transition: background 0.17s, color 0.22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #232629;
  color: #FFD24A;
  border-color: var(--color-accent);
}
.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: #22282D;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.25,1,.35,1.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 2px 0 40px #0C0E11;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 19px 0 0 19px;
  color: #E9B52F;
  background: none;
  font-size: 2.3rem;
  border: 2px solid #FFD24A;
  width: 46px; height: 46px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.14s, border 0.18s, color 0.19s;
  z-index: 1002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #232629;
  color: var(--color-accent);
  border-color: var(--color-metal);
}
.mobile-nav {
  display: flex; flex-direction: column;
  width: 100%; padding: 40px 30px 0 30px;
  gap: 24px;
}
.mobile-nav a {
  color: #F5F0EB;
  font-size: 1.3rem;
  padding: 16px 0;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #36373a;
  transition: color 0.17s, border-bottom 0.13s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Responsive - hide/show navs */
.desktop-nav, .cta-primary {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
  .cta-primary {
    display: inline-block;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* MAIN LAYOUT */
main {
  width: 100%;
  margin-top: 0;
  min-height: 70vh;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ABOUT/CONTENT SECTIONS */
.text-section {
  background: var(--color-surface);
  border-radius: 8px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 26px 18px;
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 20px;
  color: #DAD4CC;
}

/* CARDS & SHADOWS */
.card, .text-section, .feature-comparison, .faq-accordion > div {
  box-shadow: 0 2px 10px var(--color-shadow);
  background: var(--color-block);
  padding: 20px 18px;
}
.card, .text-section { border-radius: 12px; }

/* Feature Lists with icons */
.features ul, ul {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 0;
}
.features li, ul li {
  display: flex; align-items: center; gap: 14px;
  color: #B8B1A9; font-size: 1rem;
  letter-spacing: 0.1px;
}
ul li img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: grayscale(22%) contrast(1.5) brightness(1.08);
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  background: #F5F0EB;
  color: #252424;
  border-left: 5px solid #1A3E4C;
  border-radius: 9px;
  box-shadow: 0 3px 10px var(--color-shadow);
  margin-bottom: 20px;
  padding: 22px 22px;
  font-size: 1.01rem;
  max-width: 670px;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1A3E4C;
  letter-spacing: 0.1px;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #35383B;
  font-weight: 500;
}

/* Cards and .results-highlight for portfolio */
.results-highlight ul { gap: 12px; }
.results-highlight li img {
  width: 22px; height: 22px;
}
.results-highlight li {
  color: #F5F0EB; font-size: 1rem; gap: 12px;
  align-items: center;
}

/* FAQ Accordion (simple style) */
.faq-accordion {
  display: flex; flex-direction: column; gap: 20px;
}
.faq-accordion > div {
  background: #23282C;
  border-radius: 8px;
  border-left: 4px solid var(--color-metal);
  padding: 17px 16px 11px 16px;
  color: #F5F0EB;
  transition: box-shadow 0.2s;
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 16px var(--color-shadow);
}

/* Feature-comparison style in pricing */
.feature-comparison {
  background: #262830;
  margin-top: 18px;
  margin-bottom: 20px;
  border-left: 4px solid #E9B52F;
  border-radius: 8px;
  padding: 14px 18px;
  color: #F5F0EB;
}
.feature-comparison h4 {
  color: #E9B52F;
  margin-bottom: 11px;
  font-size: 1.1rem;
}

/* Newsletter info box */
.newsletter-info {
  background: #292B2F;
  color: #E9B52F;
  font-weight: 600;
  border-radius: 7px;
  padding: 12px 18px;
  margin-top: 16px;
  font-size: 1.01rem;
  letter-spacing: 0.11px;
  box-shadow: 0 1.5px 4px var(--color-shadow);
}

/* MAP PLACEHOLDER FOR CONTACT */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: #25282B;
  color: #ACABAB;
  border: 2px dashed #373A3D;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: #191D20;
  color: #B8B1A9;
  padding: 34px 0 32px 0;
}
footer .container {
  display: flex; flex-wrap: wrap; gap: 32px 26px;
  align-items: flex-start; justify-content: space-between;
}
.footer-nav {
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #B8B1A9; font-size: 1rem; font-family: 'Montserrat', sans-serif; transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E9B52F;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px; font-size: 0.97rem; color: #777A7C;
}
.footer-contact a { color: #E9B52F; }
.footer-contact a:hover, .footer-contact a:focus { color: #FFD24A; }
footer img {
  height: 36px; margin-bottom: 10px;
}

/* LEGAL PAGE LAYOUT */
.legal {
  background: #232629;
  padding: 44px 12px;
  color: #F5F0EB;
  min-height: 420px;
  margin-bottom: 40px;
}
.legal h1, .legal h2, .legal h3 { color: #F5F0EB; }

/* BUTTONS GENERIC */
button, .button, input[type=submit] {
  background: var(--color-block);
  color: #E9B52F;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 24px;
  border: 2px solid #E9B52F;
  font-size: 1rem;
  margin: 7px 0;
  transition: background 0.15s, color 0.13s, border 0.18s, box-shadow 0.23s;
}
button:hover, .button:hover, button:focus, .button:focus, input[type=submit]:hover {
  background: #E9B52F;
  color: #191D20;
}

/* SPACING / FLEXBOX ENFORCEMENT */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* CRITICAL: FLEX ONLY */
/* Prevent grid: Ensure card grids use only flexbox with wrap! */
.card-grid, .features, .footer-nav, .content-grid, .card-container, .footer .container {
  display: flex; flex-wrap: wrap; gap: 20px;
}

/* HORIZONTAL LAYOUT ON DESKTOP for .text-image-section and .content-wrapper when needed */


/* VERTICAL LAYOUT ON MOBILE */
@media (max-width: 768px) {

  .testimonial-card {
    padding: 14px 10px;
    font-size: 0.99rem;
  }
  .footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start; justify-content: flex-start;
  }
  main {
    padding-bottom: 90px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-primary, .button, button {
  transition: background 0.18s, color 0.19s, box-shadow 0.22s, transform 0.15s;
}
.card, .faq-accordion > div, .testimonial-card, .feature-comparison, .newsletter-info {
  transition: box-shadow 0.23s, transform 0.16s;
}
.card:hover, .faq-accordion > div:hover, .testimonial-card:hover, .feature-comparison:hover {
  box-shadow: 0 6px 32px var(--color-shadow);
  transform: translateY(-2px) scale(1.015);
}

/* VISUAL DETAILS */
.card, .newsletter-info, .testimonial-card {
  border: 1.5px solid var(--color-outline);
}

/* Cookie Consent Banner (fixed, with modal preferences) */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #262830;
  color: #F5F0EB;
  box-shadow: 0 -4px 24px rgba(23,28,34,0.13);
  padding: 19px 22px 15px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  gap: 18px;
  font-size: 1rem;
  transition: transform .34s cubic-bezier(.24,1,.35,1.08);
}
.cookie-banner .cookie-text {
  flex-basis: 60%;
  color: #E9E5DE;
  font-size: 0.99rem;
  margin-right: 10px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  border-radius: 6px;
  font-weight: 700;
  border: 2px solid #E9B52F;
  background: #25282B;
  color: #E9B52F;
  padding: 8px 20px;
  font-size: 1rem;
  transition: background 0.13s, color 0.14s, border 0.15s;
  margin: 0 2px;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #E9B52F 80%, #FFD24A 100%);
  color: #212429;
  border-color: #FFD24A;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFD24A;
  color: #111;
  border-color: #E9B52F;
}
.cookie-btn.reject {
  background: #232629;
  border-color: #7E868C;
  color: #7E868C;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #3B4042;
  color: #F5F0EB;
}
.cookie-btn.settings {
  background: #192329;
  border-color: #E9B52F;
  color: #E9B52F;
  font-size: 0.99rem;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #FFD24A;
  background: #262A2F;
}

@media (max-width:600px){
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 8px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-text { margin-right: 0; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 6002;
  background: rgba(24,28,35,0.79);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0; transition: opacity 0.23s;
}
.cookie-modal-overlay.open { pointer-events: all; opacity: 1; }
.cookie-modal {
  background: #25282B;
  border-radius: 11px;
  box-shadow: 0 3px 34px #21242988;
  padding: 38px 24px 28px 24px;
  max-width: 400px;
  color: #F5F0EB;
  z-index: 7000;
}
.cookie-modal h2 {
  color: #E9B52F;
  font-size: 1.26rem;
  margin-bottom: 17px;
}
.cookie-category {
  display: flex; align-items: center; gap: 12px; margin-bottom: 15px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: #F5F0EB;
}
.cookie-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: #E9B52F;
  border-radius: 4px;
  margin-right: 4px;
}
.cookie-category input[disabled] { opacity: 0.5; }
.cookie-modal .cookie-modal-close {
  position: absolute; top: 15px; right: 18px;
  font-size: 1.6rem; color: #E9B52F; background: none; border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #FFD24A;
}
.cookie-modal .cookie-modal-actions {
  display: flex; justify-content: flex-end; gap: 14px; margin-top: 18px;
}
.cookie-modal .cookie-btn {
  min-width: 104px;
}

/* Scrollbar styling for urban/industrial touch */
body::-webkit-scrollbar {
  width: 13px;
  background: #232629;
}
body::-webkit-scrollbar-thumb {
  background: #414547;
  border-radius: 7px;
  border: 3px solid #232629;
}
body::-webkit-scrollbar-thumb:hover {
  background: #E9B52F44;
}

/* INPUTS (if any custom forms added later) */
input, textarea, select {
  background: #232629;
  color: #F5F0EB;
  border: 2px solid #35383B;
  border-radius: 7px;
  font-size: 1rem;
  padding: 12px 14px;
  margin-bottom: 16px;
  outline: none;
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: border-color 0.19s, background 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E9B52F;
}

/* Hide visually only */
.visually-hidden {
  border: 0 !important; clip: rect(0 0 0 0) !important;
  height: 1px !important; margin: -1px !important;
  overflow: hidden !important; padding: 0 !important;
  position: absolute !important; width: 1px !important;
}

/* Z-index enforcement: header/menu/banner always above */
header { z-index: 100; }
.mobile-menu { z-index: 999; }
.cookie-banner { z-index: 5000; }

/* Utility: prevent overlapping anywhere */
.card, .text-section, .feature-comparison, .content-wrapper, .results-highlight, .newsletter-info, .faq-accordion > div, .testimonial-card {
  margin-bottom: 24px;
}
.section:last-child, .content-wrapper:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* Font face fallback */
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), local('OpenSans'), url('https://fonts.gstatic.com/s/opensans/v34/mem8YaGs126MiZpBA-U1Ug.ttf') format('truetype');
  font-weight: 400 700;
}
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.gstatic.com/s/montserrat/v15/JTUQjIg1_i6t8kCHKm45pbg.ttf') format('truetype');
  font-weight: 400 700;
}

/* === End ScentGlow Industrial Modern CSS === */
