/* 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, 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #161A1E;
  color: #F9F6F1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-width: 320px;
  overflow-x: hidden;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #EF365C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #c21e42;
  outline: none;
  text-decoration: underline;
}
strong, b {
  font-weight: 700;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #dce2ea;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; }
p {
  margin-bottom: 16px;
  max-width: 650px;
}
@media (max-width: 450px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.12rem; }
  p { font-size: 15px; }
}

/* GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX SPACING & LAYOUTS (MANDATORY RULES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23272f;
  border-radius: 10px;
  box-shadow: 0 4px 12px 0 #11151a1a;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px #0008, 0 1px 3px #fff2;
  transform: translateY(-4px) scale(1.025);
}
.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;
  background: #F9F6F1;
  color: #23272f;
  border-radius: 12px;
  box-shadow: 0 1.5px 6px #11151a11;
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  max-width: 560px;
  flex: 1 1 260px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px #23272f44, 0 1px 3px #11151a11;
  transform: translateY(-2px) scale(1.0125);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  padding: 70px 0 40px 0;
  background: linear-gradient(to right, #19232a 80%, #23272f 100%);
  border-bottom: 2px solid #313941;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 30px;
}
.hero h1 {
  color: #F9F6F1;
  text-shadow: 0 2px 8px #23272f44;
}
.hero p {
  color: #dce2ea;
  font-size: 1.15rem;
}

/* NAV MENU */
header {
  background: #161A1E;
  border-bottom: 1.5px solid #313941;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 45px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #b9bcc2;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s, border-color 0.24s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: #F9F6F1;
  border-color: #EF365C;
}

/* CTA BUTTON */
.cta-btn {
  background: #EF365C;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  margin-left: 16px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 2px 8px #11151a22;
  cursor: pointer;
  transition: background 0.18s, color 0.2s, box-shadow 0.22s, transform 0.13s;
  font-size: 1rem;
  outline: none;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #c21e42;
  color: #FFF;
  box-shadow: 0 4px 12px #EF365C40;
  transform: translateY(-2px);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #F9F6F1;
  cursor: pointer;
  z-index: 120;
  padding: 5px 12px;
  transition: background 0.1s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #23272f;
  border-radius: 6px;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #161A1EEA;
  z-index: 5999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.55,.05,.28,.91);
  width: 100vw;
  height: 100vh;
  padding-top: 32px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F9F6F1;
  font-size: 2rem;
  align-self: flex-end;
  margin-right: 36px;
  margin-bottom: 22px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #F9F6F1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 0;
  text-align: center;
  transition: color 0.2s, background 0.2s;
  width: 100vw;
  max-width: 450px;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EF365C;
  background: #23272fcc;
}
@media (max-width: 990px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* SECTIONS SPACING & BACKGROUNDS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 25px 6px;
  }
}

/* CARDS & LISTS */
.feature-grid, .category-list, .service-list, .tips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.feature-grid li, .category-list li, .service-list li, .tips-list li {
  background: #23272f;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0a0c0f22;
  padding: 24px 22px 16px 22px;
  flex: 1 1 225px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.feature-grid li:hover, .category-list li:hover, .service-list li:hover, .tips-list li:hover {
  box-shadow: 0 8px 16px #18232a33;
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  height: 38px;
  width: auto;
  margin-bottom: 10px;
}
.ups-list, .usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 15px 0;
}
.ups-list li, .usp-list li {
  font-size: 1.04rem;
  color: #EF365C;
  background: #1d2530;
  padding: 8px 16px;
  border-radius: 7px;
  font-weight: 600;
  flex: 1 1 180px;
}

/* CARDS (GENERAL) */
.card {
  flex-basis: 320px;
  padding: 30px 22px 22px 22px;
  border: 1.5px solid #2d3d4c;
}

/* CTA BANNER */
.cta-banner {
  background: #174058;
  background-image: linear-gradient(100deg, #19232a 60%, #283649 100%);
  box-shadow: 0 3px 19px #12181e21;
  border-radius: 18px;
  margin: 46px 0 40px 0;
  text-align: center;
}
.cta-banner .content-wrapper {
  align-items: center;
  gap: 22px;
}
.cta-banner p, .cta-banner h3 {
  color: #F9F6F1;
  font-size: 1.15rem;
}

/* TESTIMONIALS */
.testimonials {
  background: #23272f;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0a0c0f22;
  padding: 35px 0 30px 0;
}
.testimonials h2 {
  margin-bottom: 32px;
  color: #F9F6F1;
  font-size: 2rem;
  text-align: left;
}
.testimonial-card {
  background: #F9F6F1;
  color: #23272f;
  border-left: 7px solid #174058;
  margin-bottom: 26px;
  font-size: 1.08rem;
  box-shadow: 0 1.5px 6px #1b273311;
  padding: 22px 28px;
  border-radius: 16px 10px 18px 10px;
  position: relative;
  align-items: flex-start;
  transition: box-shadow 0.24s, transform 0.2s;
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.14rem;
  letter-spacing: 0.01em;
  margin: 0 0 6px 0;
  line-height: 1.5;
  color: #23272f;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  margin-top: 4px;
  color: #174058;
}

/* FORMATTING FOR LEGAL PAGES */
.legal {
  background: #23272f;
  color: #b9bcc2;
  border-radius: 12px;
  box-shadow: 0 1.5px 6px #0a0c0f18;
  padding: 30px 18px;
  margin: 38px 0 26px 0;
}
.legal h1, .legal h2 {
  color: #F9F6F1;
}
.legal ul {
  margin: 18px 0 16px 24px;
  padding-left: 0;
}
.legal ul li {
  list-style: disc inside;
  margin-bottom: 12px;
}

/* FOOTER */
footer {
  background: #181d22;
  border-top: 2px solid #23272f;
  padding: 28px 0 14px 0;
  color: #b9bcc2;
  font-size: 0.98rem;
  margin-top: 40px;
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.footer-logo img {
  height: 36px;
  margin-bottom: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  flex: 1 1 200px;
}
.footer-nav a {
  color: #EF365C;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F9F6F1;
  text-decoration: underline;
}
.footer-contact {
  flex: 1 1 200px;
  margin-bottom: 12px;
}
footer small {
  width: 100%;
  display: block;
  margin-top: 14px;
  color: #7d868d;
  letter-spacing: 0.01em;
}

/* SPACING/TEXT BLOCKS for Sections */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 10px;
}

/* Lists in Services/Benefits/Process/Faq */
.service-highlights ul,
.process ol,
.benefits .usp-list,
.faq-list,
.hours ul,
.next-steps ul,
.newslist ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.service-highlights ul li,
.process ol li,
.benefits .usp-list li,
.faq-list li,
.hours ul li,
.next-steps ul li,
.newslist ul li {
  background: #1d2530;
  color: #EF365C;
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Montserrat';
}

/* Responsive: MOBILE-FIRST (CORE LOGIC) */
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid, .category-list, .service-list, .tips-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-nav, footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .hero .container, main .container, footer .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 140px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 520px) {
  .footer-logo img {
    height: 28px;
  }
  .cta-btn, .main-nav a {
    font-size: 0.97rem;
    padding: 9px 15px;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .testimonials, .cta-banner, .card, .legal {
    border-radius: 10px;
    padding: 17px 4px;
  }
}

/* FOCUS STYLING for Accessibility */
a:focus, button:focus, .cta-btn:focus, .mobile-nav a:focus {
  outline: 3px solid #EF365C;
  outline-offset: 2px;
  background: #2d3d4c40;
}

/* CUSTOM CHECKBOXES, COOKIE TOGGLES */
input[type="checkbox"].cookie-toggle {
  accent-color: #174058;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* COOKIES CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background: #1d2530ee;
  color: #F9F6F1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 22px #23272f32;
  width: 94vw;
  max-width: 490px;
  padding: 24px 20px 18px 20px;
  z-index: 7000;
  font-size: 1rem;
  animation: slideInCookie .45s cubic-bezier(0.38,1.4,0.3,1.18); 
}
@keyframes slideInCookie {
  from { transform: translate(-50%, 100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-btn-primary,
.cookie-btn-secondary{
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.15s;
  font-weight: 600;
}
.cookie-btn-primary {
  background: #174058;
  color: #F9F6F1;
  box-shadow: 0 1.5px 7px #23272f30;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #EF365C;
  color: #FFF;
}
.cookie-btn-secondary {
  background: #F9F6F1;
  color: #174058;
  border: 1px solid #17405899;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #EF365C;
  color: #FFF;
}
.cookie-btn {
  background: #23272f99;
  color: #F9F6F1;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #EF365C;
  color: #F9F6F1;
}

/* COOKIES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 7100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25, 30, 39, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.3s ease;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #222933;
  color: #F9F6F1;
  border-radius: 16px;
  box-shadow: 0 3px 20px #0007;
  padding: 35px 22px 30px 22px;
  width: 90vw;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popupOpen 0.3s cubic-bezier(.5,1.5,.5,1);
}
@keyframes popupOpen {
  from {transform: scale(0.88) translateY(30px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-content h3 {
  color: #EF365C;
  font-size: 1.22rem;
}
.cookie-modal-content .preference-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
.preference-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
}
.preference-item label {
  cursor: pointer;
}
.preference-item.essential label {
  opacity: 0.75;
}

.close-cookie-modal {
  background: none;
  border: none;
  color: #F9F6F1;
  font-size: 1.6rem;
  position: absolute;
  right: 16px;
  top: 14px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.17s;
}
.close-cookie-modal:hover, .close-cookie-modal:focus {
  background: #23272f6b;
}

/* UTILITY CLASSES */
.d-none { display: none !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-32 { margin-top: 32px !important; }

/* INDUSTRIAL MODERN SPECIALS */
body, section, .card, .testimonial-card, .feature-grid li, .category-list li, .usp-list li {
  /* Subtle metallic-like text shadow for headlines */
  text-shadow: 0 1.2px 1.7px #23272f29, 0 0.5px 1.1px #F9F6F111;
}
.card, .testimonial-card, .feature-grid li, .category-list li, .service-list li, .tips-list li {
  border: 1.5px solid #1f2831;
  box-shadow: 0 3px 18px #161b2088;
}

/* HEADLINE HIGHLIGHTS (Industrial 'beam') */
h1, h2, h3, h4 {
  position: relative;
}
h1:after, h2:after, h3:after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 38px;
  height: 4px;
  vertical-align: middle;
  background: #EF365C;
  border-radius: 2px;
  box-shadow: 0 1px 4px #23272f3a;
  opacity: .16;
}

@media (max-width: 650px) {
  h1:after, h2:after, h3:after {
    width: 28px;
    height: 3px;
    margin-left: 6px;
  }
}

/* INDUSTRIAL BUTTONS */
button, .cta-btn, .cookie-btn, .cookie-btn-primary, .cookie-btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  border-radius: 30px;
  font-weight: 700;
}

/* METALLIC ACCENT DIVIDERS FOR INDUSTRIAL FEEL */
hr, .metal-divider {
  border: none;
  border-top: 2px solid #aab5c0cc;
  background: none;
  margin: 18px 0;
  border-radius: 3px;
  width: 100%;
}

/* FANCY QUOTE ICON FOR TESTIMONIALS */
.testimonial-card:before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: #EF365C;
  position: absolute;
  left: 10px;
  top: 5px;
  opacity: 0.23;
  pointer-events: none;
}

/* Ensuring SPACING BETWEEN ELEMENTS */
section > *, .section > *, main > section {
  margin-bottom: 22px;
}
main > section:last-child {
  margin-bottom: 0;
}

/* FORM STYLING (if used) */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #23272f;
  color: #F9F6F1;
  border: 1px solid #17405877;
  border-radius: 7px;
  padding: 9px 13px;
  margin-bottom: 16px;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #EF365C;
  outline: none;
}

/* RESPONSIVE FONT (fallback, not using clamp) */
@media (max-width: 370px) {
  html { font-size: 14px; }
}

/* Z-INDEX CONTROLS */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal { z-index: 9000; }

/* AVOID ABSOLUTE POSITIONING FOR ALL CONTENT CARDS */
/* Only decorative :before pseudo-elements (e.g., quote) allowed - all content stays positioned naturally via flexbox or normal flow. */
