/* --- CSS RESET & NORMALIZATION --- */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, table, th, td, pre, address {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  line-height: inherit;
}
img {
  max-width: 100%;
  display: block;
}
html, body {
  min-height: 100%;
  background: #E3E6EC;
}

/* --- BRAND AND TYPOGRAPHY --- */
:root {
  --color-primary: #1A2142;
  --color-secondary: #E3E6EC;
  --color-accent: #199DB2;
  --color-bg: #FFFFFF;
  --color-text: #222831;
  --color-light-text: #54607A;
  --color-shadow: rgba(26,33,66,0.07);
  --radius: 12px;
  --radius-sm: 6px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-secondary);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--color-primary);
}
h1 { font-size: 2.5rem; margin-bottom: 32px; line-height: 1.1; }
h2 { font-size: 1.75rem; margin-bottom: 24px; }
h3 { font-size: 1.2rem; margin-bottom: 16px; }

p, ul, ol, address, table {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
a {
  color: var(--color-accent);
  transition: color 0.18s cubic-bezier(.5,0,.5,1);
  font-weight: 500;
}
a:hover, a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

/* --- GENERAL LAYOUT CLASSES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 260px;
  max-width: 325px;
  flex: 1 1 260px;
}
.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: #F6F8FB;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 20px;
  flex-direction: row;
  max-width: 740px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-bg);
  box-shadow: 0 1px 6px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 102;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}
header img[alt="Sleek Scrubber Sale"] {
  height: 45px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  padding: 8px 10px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.17s, color 0.17s;
  letter-spacing: 0.03em;
  color: var(--color-primary);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

.btn, a.btn {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: 13px 30px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: background 0.22s, color 0.22s, box-shadow 0.24s;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 6px var(--color-shadow);
  outline: none;
}
.btn-primary, a.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover, a.btn-primary:hover,
.btn-primary:focus, a.btn-primary:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--color-shadow);
}
.btn-accent, a.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover, a.btn-accent:hover, .btn-accent:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px var(--color-shadow);
}

/* --- HERO AND PROMO BANNER --- */
.promo-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--color-accent);
  color: #fff;
  padding: 24px 32px;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px var(--color-shadow);
  gap: 20px;
}
.promo-banner p {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.18rem;
  margin-bottom: 0;
}
.promo-banner .btn-accent {
  background: #fff;
  color: var(--color-accent);
  border: 2px solid #fff;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.promo-banner .btn-accent:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
  border: 2px solid var(--color-secondary);
}

/* --- UL/OL/LIST & ICON-LIST --- */
ul, ol {
  margin-bottom: 18px;
  padding-left: 0;
}
ul li, ol li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--color-light-text);
  font-weight: 500;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
}
dt {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1.08rem;
}
dd {
  color: var(--color-text);
  margin-bottom: 14px;
  margin-left: 0;
  font-size: 1.01rem;
  padding-left: 16px;
}

/* --- TABLE --- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #F6F8FB;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 1rem;
  box-shadow: 0 2px 8px var(--color-shadow);
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid #E3E6EC;
}
th {
  background: var(--color-primary);
  color: #fff;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}
tbody tr:last-child td {
  border-bottom: none;
}
td {
  color: var(--color-text);
  background: #F6F8FB;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  color: var(--color-primary);
  border-left: 6px solid var(--color-accent);
  font-family: var(--font-body);
  padding: 24px 30px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-right: 20px;
  margin-bottom: 0;
  flex: 1;
}
.testimonial-card strong {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card span {
  display: inline-block;
  color: #FFA934;
  font-size: 1.1rem;
  margin-top: 4px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 34px 0 0 0;
  margin-top: 64px;
}
footer .container {
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.18s;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
footer address {
  font-style: normal;
  font-size: 0.95rem;
  color: #EEF1F7;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer address img {
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  display: inline-block;
  position: relative;
  top: 3px;
}
footer span {
  font-family: var(--font-body);
  color: #D6D9E1;
  font-size: 0.90rem;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 110;
  transition: background 0.22s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  max-width: 96vw;
  height: 100vh;
  background: #fff;
  box-shadow: 4px 0 22px var(--color-shadow);
  z-index: 1100;
  padding: 34px 28px 28px 28px;
  transform: translateX(-110%);
  transition: transform 0.36s cubic-bezier(.4,0,.32,1);
  opacity: 1;
  overflow-y: auto;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  display: block;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 3px 14px;
  border-radius: var(--radius-sm);
  position: absolute;
  right: 18px;
  top: 14px;
  cursor: pointer;
  transition: background 0.19s;
  z-index: 1200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding-top: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.19rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid #E3E6EC;
  transition: color 0.18s, background 0.18s;
  border-radius: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: var(--color-secondary);
}
/* Overlay for rest of screen */
body.mobile-menu-active:after {
  content: "";
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 33, 66, 0.55);
  z-index: 1095;
  pointer-events: auto;
  transition: opacity 0.28s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 98vw;
  max-width: 460px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 18px var(--color-shadow);
  z-index: 3000;
  padding: 30px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  opacity: 1;
  transition: bottom 0.35s cubic-bezier(.68,-.55,.27,1.55), opacity 0.19s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; bottom: -250px; }
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner .btn {
  min-width: 110px;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.cookie-banner .btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus {
  background: #fff;
  color: var(--color-accent);
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #fff;
  border-bottom: 1px dashed #fff;
  padding: 0 2px;
  margin-left: 4px;
  font-weight: 500;
}
.cookie-banner .btn-settings:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,33,66,0.38);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  min-width: 320px;
  max-width: 420px;
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 24px 28px 24px;
  animation: cookie-modal-show 0.38s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes cookie-modal-show {
  0% { transform: scale(0.8) translateY(50px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-modal label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--color-light-text);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
}
.cookie-modal .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  min-width: 100px;
  padding: 10px 0;
}
.cookie-modal .btn-close {
  background: transparent;
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  text-decoration: underline;
  border: none;
  cursor: pointer;
}
.cookie-modal .btn-close:hover, .cookie-modal .btn-close:focus {
  color: var(--color-primary);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
  .container { max-width: 92vw; }
  .main-nav a, .footer-nav a {
    font-size: 0.92rem;
  }
  h1 { font-size: 2.02rem; }
  h2 { font-size: 1.45rem; }
}
@media (max-width: 900px) {
  .content-wrapper, .section {
    gap: 18px;
    padding: 28px 12px;
  }
  .card {
    min-width: 180px;
    padding: 16px 8px;
    max-width: 100%;
  }
  table th, table td {
    padding: 9px 7px;
    font-size: 0.99rem;
  }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding-left: 8px; padding-right: 8px; }
  .section {
    padding: 22px 4px;
    margin-bottom: 40px;
  }
  header .container {
    min-height: 60px;
    gap: 7px;
    padding-left: 6px; padding-right: 6px;
  }
  .main-nav {
    display: none;
  }
  .btn.btn-primary, a.btn.btn-primary {
    font-size: 0.85rem;
    padding: 9px 18px;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .promo-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
    gap: 14px;
  }
  .promo-banner .btn-accent { min-width: 120px; }
  .testimonials, .testimonial-card {
    flex-direction: column;
    padding: 14px 9px;
    gap: 11px;
    max-width: 99vw;
  }
  .card-container {
    gap: 11px;
  }
  .content-grid {
    gap: 9px;
  }
  .card {
    box-shadow: 0 1px 3px var(--color-shadow);
    min-width: 135px;
    margin-bottom: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
  }
  footer .container { padding-bottom: 4px; gap: 8px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.34rem; margin-bottom: 16px; }
  h2 { font-size: 1rem; margin-bottom: 11px; }
  .cookie-banner {
    max-width: 98vw;
    min-width: 0;
    padding: 18px 8px 11px 12px;
    font-size: 0.98rem;
    border-radius: 16px 16px 0 0;
  }
  .cookie-modal {
    max-width: 95vw;
    min-width: 0;
    padding: 18px 9px 12px 8px;
  }
  .mobile-menu {
    width: 90vw;
    padding: 19px 7px 7px 13px;
  }
  .mobile-menu-close {
    right: 3px;
    top: 3px;
  }
}

/* --- MICRO-INTERACTIONS & GEOMETRIC STRUCTURES --- */
.btn, a.btn {
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: box-shadow 0.18s, background 0.16s, color 0.13s;
  letter-spacing: 0.09em;
  outline: none;
}
.btn:active, a.btn:active {
  box-shadow: 0 1px 2px var(--color-shadow);
}
section {
  position: relative;
}
.section {
  border: 1.6px solid var(--color-secondary);
  position: relative;
  overflow: visible;
}
.section::before {
  /* Subtle geometric accent in upper-left */
  content: "";
  display: block;
  position: absolute;
  top: -20px;
  left: -14px;
  width: 46px;
  height: 46px;
  background: var(--color-accent);
  opacity: 0.08;
  border-radius: 12% 27% 34% 13%/18% 11% 31% 9%;
  z-index: 1;
}
.section::after {
  /* Subtle geometric accent in lower-right */
  content: "";
  display: block;
  position: absolute;
  bottom: -18px;
  right: -11px;
  width: 46px;
  height: 34px;
  background: var(--color-primary);
  opacity: 0.10;
  border-radius: 30% 60% 13% 44%;
  z-index: 1;
}
.content-wrapper {
  position: relative;
  z-index: 10;
}

/* --- FOCUS VISIBLE --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 4px rgba(25,157,178,0.11);
}

/* --- CUSTOM SCROLLBAR for modern browsers --- */
::-webkit-scrollbar { width: 10px; background: #E3E6EC; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }


/* --- KEY VISUAL GEOMETRIC/STRUCTURED DESIGN ELEMENTS --- */
.card, .testimonial-card, .section, .promo-banner {
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--color-shadow);
  border: 1.3px solid var(--color-secondary);
}

/* --- UTILITY CLASSES (OPTIONAL) --- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* --- PRINT & NON-SCREEN --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container, main { background: none !important; box-shadow: none !important; }
  body { background: #fff !important; color: #000; }
}
