/* CSS 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  color: #263238;
  background: #F7F8F9;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #263238;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #FFC107;
  outline: none;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
}
address {
  font-style: normal;
}

/* TYPOGRAPHY (elegant_classic style) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #263238;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-weight: 400;
}
.subtitle, .section small {
  color: #777;
  font-size: 1rem;
  margin-bottom: 10px;
}
p, .section p, .text-section p, address p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #31363B;
}
strong { font-weight: 600; }
em { font-style: italic; }

/* CONTAINER CLASSES */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper.cta {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.content-wrapper.text-section {
  gap: 20px;
  padding-bottom: 10px;
}

/************************************
   HEADER & NAVIGATION (elegant, flex)
*************************************/
header {
  background: #fff;
  box-shadow: 0px 2px 24px rgba(38,50,56,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 0 0 0;
  flex-wrap: wrap;
  gap: 16px;
}
.logo, header > a.logo { 
  display: flex; 
  align-items: center;
  padding: 12px 20px 12px 0;
  margin-right: 12px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.08rem;
}
.main-nav a {
  padding: 0 2px;
  border-bottom: 2px solid transparent;
  transition: color .22s, border-color .22s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFC107;
  border-bottom: 2px solid #FFC107;
}
.cta-btn {
  background: #263238;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 32px;
  letter-spacing: .5px;
  margin-left: 12px;
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 12px rgba(38, 50, 56, 0.06);
  transition: background .18s, color .18s, box-shadow .25s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFC107;
  color: #263238;
  box-shadow: 0 4px 18px rgba(38, 50, 56, 0.13);
}
.cta-btn.secondary {
  background: #fff;
  color: #263238;
  border: 2px solid #263238;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #FFC107;
  color: #263238;
  border-color: #FFC107;
}
button.cta-btn {
  margin-left: 0;
}

/*******************
  MOBILE NAVIGATION
*******************/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #263238;
  margin-left: auto;
  cursor: pointer;
  padding: 9px 18px 9px 10px;
  border-radius: 50%;
  transition: background .15s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #CFD8DC;
  color: #263238;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.69,.03,.23,.98);
  z-index: 1100;
  box-shadow: 0 3px 44px 0 rgba(38,50,56,0.16);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 28px 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #263238;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFC107;
  color: #263238;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  color: #263238;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.25rem;
  padding: 12px 8px;
  border-radius: 6px;
  transition: background .16s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #CFD8DC;
  color: #263238;
}

/****************************
  HERO SECTION (index/thank-you)
*****************************/
.hero-section {
  background: #CFD8DC;
  background: linear-gradient(85deg, #CFD8DC 90%, #fff 100%);
  border-radius: 0 0 54px 0 / 0 0 54px 0;
  box-shadow: 0 16px 44px 0 rgba(38,50,56,0.11);
  margin-bottom: 60px;
  padding: 40px 0 32px 0;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-section h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.hero-section p {
  font-size: 1.15rem;
  color: #343d44;
  margin-bottom: 22px;
}
.hero-section .cta-btn {
  margin-top: 8px;
}

/*************
  SECTIONS   
**************/
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0; /* Use .section class below for custom if needed */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/********************
  FLEXBOX LAYOUTS
*********************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 18px rgba(38, 50, 56, 0.10);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 340px;
  transition: box-shadow .22s, transform .18s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(38,50,56,.20);
  transform: translateY(-4px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.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: #fff;
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.07);
  border: 1px solid #ECECEC;
  flex-direction: column;
  position: relative;
}
.testimonial-card blockquote {
  font-size: 1.14rem;
  font-family: 'Montserrat', Georgia, serif;
  color: #263238;
  font-style: italic;
  margin-bottom: 10px;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-card blockquote::before {
  content: open-quote;
  color: #FFC107;
  font-size: 1.3rem;
  margin-right: 7px;
}
.testimonial-card footer {
  color: #757575;
  font-size: .96rem;
  text-align: right;
  width: 100%;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/********************
  PAGE-SPECIFIC FLEX GRIDS
**********************/
.feature-grid, .service-list, .product-categories-grid, .service-benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid li, .product-categories-grid li, .service-benefits-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(38,50,56,0.06);
  padding: 22px 18px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow .19s, transform .17s;
  margin-bottom: 0;
}
.feature-grid li:hover, .product-categories-grid li:hover, .service-benefits-grid li:hover {
  box-shadow: 0 6px 22px 0 rgba(38,50,56,0.13);
  transform: translateY(-2px);
}
.feature-grid img, .product-categories-grid img, .service-benefits-grid img {
  height: 48px;
  width: auto;
  margin-bottom: 10px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.service-list li, .accessory-highlight {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(38,50,56,0.05);
  padding: 18px 16px 16px 16px;
  flex: 1 1 190px;
  min-width: 190px;
  max-width: 330px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
}
.service-list .service-price, .accessory-highlight .service-price {
  font-size: 1.06rem;
  color: #FFC107;
  font-weight: 600;
  margin-top: 8px;
}
.promotion-banner {
  background: #FFF8E1;
  color: #795548;
  padding: 16px 22px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(255,193,7,.06);
  margin: 30px 0 22px 0;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: .2px;
}
.inspiration-cases-list, .recent-posts-list, .tip-snippets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/*********************
  FOOTER
*********************/
footer {
  background: #263238;
  color: #fff;
  padding: 38px 0 8px 0;
  border-radius: 26px 26px 0 0 / 18px 18px 0 0;
  box-shadow: 0 -2px 30px 0 rgba(38,50,56,0.13);
  margin-top: 50px;
}
footer .container {
  width: 100%;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #FFC107;
  font-family: 'Montserrat', Georgia, serif;
  margin-bottom: 0;
  font-size: 1.03rem;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #CFD8DC;
}
.footer-contact {
  font-size: .99rem;
  line-height: 1.7;
  color: #CFD8DC;
}
.footer-contact a {
  color: #FFC107;
  text-decoration: underline;
  transition: color .14s;
}
.footer-contact p{
  color: #fff;
}
.footer-contact a:hover, .footer-contact a:focus {color:#fff;}

/*****************************************
  COOKIE CONSENT BANNER & MODAL (elegant)
*****************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #263238;
  color: #fff;
  box-shadow: 0 -4px 32px 0 rgba(38,50,56,0.21);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px 3vw 22px 3vw;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform .24s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  background: #FFC107;
  color: #263238;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.02rem;
  padding: 10px 20px;
  font-weight: 600;
  margin-left: 0;
  cursor: pointer;
  transition: background .18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFF8E1;
  color: #263238;
}
.cookie-banner .secondary {
  background: #CFD8DC;
  color: #263238;
}
.cookie-banner .secondary:hover {
  background: #FFC107;
  color: #263238;
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38,50,56,0.36);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .22s;
  opacity: 1;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  color: #263238;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(38,50,56,0.22);
  max-width: 430px;
  width: 94vw;
  padding: 34px 28px 24px 28px;
  z-index: 3200;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieScaleIn .32s cubic-bezier(.6,.1,.51,1.3);
}
@keyframes cookieScaleIn {
  from { transform: scale(.9); opacity: .1; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #263238;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #FFC107;
  margin-right: 3px;
}
.cookie-category input:disabled + label {
  color: #BDC0C2;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal button,
.cookie-modal .btn {
  background: #263238;
  color: #fff;
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.04rem;
  padding: 9px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background .19s;
}
.cookie-modal button:hover, .cookie-modal .btn:hover {
  background: #FFC107;
  color:#263238;
}

/******************
  MISC COMPONENTS
*******************/
blockquote {
  color: #3a464e;
  border-left: 4px solid #FFC107;
  margin-left: 0;
  padding-left: 16px;
}
blockquote em {
  color: #757575;
}
hr {
  border: none;
  border-bottom: 1.1px solid #E7EAED;
  margin: 32px 0;
}
section:last-child, .section:last-child {
  margin-bottom: 0 !important;
}

/*********************
       RESPONSIVE
**********************/
@media (max-width: 1024px) {
  .container { max-width: 960px; }
  .main-nav { gap: 19px; }
  .card-container, .feature-grid, .product-categories-grid, .service-benefits-grid  {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  .feature-grid li, .product-categories-grid li, .service-benefits-grid li,
  .service-list li, .accessory-highlight {
    min-width: 160px;
    max-width: 100%;
    flex: 1 1 220px;
  }
}
@media (max-width: 850px) {
  .main-nav { gap: 10px; }
  .footer-nav { flex-direction: column; gap:10px; }
  .footer-contact { font-size: .95rem; }
}
@media (max-width: 768px) {
  html, body { font-size: 15px; }
  header { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .main-nav { display: none !important; }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 20px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { padding: 0 10px; }
  .hero-section {
    padding: 24px 0 20px 0;
    border-radius: 0 0 36px 0;
  }
  .content-wrapper.cta { padding: 0 2vw; }
  .feature-grid, .product-categories-grid, .service-benefits-grid, .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .product-categories-grid li, .service-benefits-grid li,
  .service-list li, .accessory-highlight {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    align-items: flex-start;
    padding: 16px 12px;
    font-size: 1.10em;
  }
  .footer-nav { gap: 9px; font-size: .97rem; }
  .footer-contact { font-size: .92rem; }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  html, body { font-size: 14px; }
  .container { padding: 0 5px; }
  .hero-section { padding: 12px 0 9px 0; }
  .cookie-banner {
    font-size: .97rem;
    padding: 18px 2vw;
    gap: 12px;
  }
  .cookie-banner .cookie-btns {
    gap: 7px;
  }
  .cookie-modal {
    padding: 17px 9px 16px 9px;
    min-width: 0;
    width: 98vw;
    font-size: .97rem;
  }
  section, .section {
    padding: 20px 2vw 0 2vw;
  }
  .footer-contact { font-size: .88rem; }
  .footer-nav { font-size: .92rem; }
}

/**********************
  BUTTON INTERACTIONS
***********************/
button,
.cta-btn,
.cookie-banner button,
.cookie-modal button {
  transition: background .16s, color .16s, box-shadow .18s, transform .11s;
}
button:active,
.cta-btn:active,
.cookie-banner button:active,
.cookie-modal button:active {
  transform: scale(.98);
}

/***********************
   UTILS & OVERRIDES
***********************/
::-webkit-input-placeholder { color: #a6adb2; }
::-moz-placeholder { color: #a6adb2; }
:-ms-input-placeholder { color: #a6adb2; }
::placeholder { color: #a6adb2; }

/* Hide outline for mouse users but keep accessibility */
:focus:not(:focus-visible) { outline: none; }

/******* Class-specific alignment for MANDATORY FLEX PATTERNS ******/
.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; }

/******* END CSS ******/
