/* ==== RESET + BASE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #F1F3F6;
  background: #23282d;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  cursor: pointer;
  border: none;
}
:focus {
  outline: 2px solid #FFCA21;
  outline-offset: 2px;
}


/* ==== COLORS & TYPOGRAPHY ==== */
:root {
  --primary: #124099;
  --primary-dark: #0c295a;
  --primary-light: #2159c2;
  --secondary: #F1F3F6;
  --accent: #FFCA21;
  --dark-bg: #23282d;
  --darker-bg: #171b1f;
  --card-bg: #282c31;
  --border-metal: #505357;
  --shadow-dark: rgba(0,0,0,0.19);
  --shadow-metal: 0 2px 8px 0 rgba(40,44,49,0.20),0 1.5px 1px 0 #23272c;
  --text-main: #F1F3F6;
  --text-light: #c8ccd2;
  --text-dark: #23282d;
  --success: #12803b;
  --danger: #c81b1b;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-light);
}
p, li, address, strong {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
}
strong {
  font-weight: 700;
  color: var(--accent);
}
.text-section {
  margin-bottom: 18px;
}


/* ==== CONTAINER, LAYOUT & SPACING ==== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-metal);
  color: var(--text-main);
  border-radius: 16px;
  position: relative;
  box-shadow: var(--shadow-metal);
  transition: transform 0.14s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 6px 26px 0 rgba(25,30,35,0.25);
  border-color: var(--accent);
}
.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: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: var(--secondary);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--text-dark);
  box-shadow: var(--shadow-metal);
  border-left: 6px solid var(--accent);
  transition: box-shadow 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(25,30,35,0.19);
  border-left: 6px solid var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* List style for sections that use UL as card-grid */
section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
section ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1.5px solid var(--border-metal);
  box-shadow: var(--shadow-metal);
  padding: 22px 20px 20px 22px;
  margin-bottom: 20px;
  flex: 1 1 min(285px, 100%);
  min-width: 240px;
  max-width: 340px;
  transition: box-shadow 0.16s, border-color 0.16s;
}
section ul li img {
  width: 36px;
  height: 36px;
  filter: grayscale(85%) contrast(128%) brightness(0.9);
}
section ul li:hover, section ul li:focus-within {
  box-shadow: 0 8px 28px 0 rgba(25,40,45,0.26);
  border-color: var(--accent);
}


/* ==== HEADER ==== */
header {
  width: 100%;
  background: var(--darker-bg);
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  position: sticky;
  top: 0;
  z-index: 800;
  box-shadow: 0 2px 8px 0 rgba(30,34,39,0.22);
  border-bottom: 1.5px solid var(--border-metal);
}
header > a img {
  height: 48px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  color: var(--text-light);
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.14s, color 0.12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--primary);
  color: var(--accent);
}

.cta-btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark-bg);
  background: linear-gradient(90deg,#FFCA21 80%,#fac800 100%);
  border-radius: 7px;
  padding: 10px 28px;
  box-shadow: 0 2px 8px 0 rgba(255,202,33,0.09);
  margin-left: 28px;
  letter-spacing: 0.06em;
  border: none;
  transition: background 0.16s, color 0.13s, transform 0.13s, box-shadow 0.13s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,#FFCA21 67%, #124099 100%);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px 0 rgba(255,202,33,0.19);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1100;
  font-size: 2.4rem;
  color: var(--accent);
  background: var(--dark-bg);
  border: 2.5px solid var(--border-metal);
  border-radius: 8px;
  padding: 6px 14px 7px 14px;
  transition: background 0.2s, color 0.12s, box-shadow 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--darker-bg);
  box-shadow: 4px 0 32px 0 rgba(0,0,0,0.51);
  transform: translateX(-105vw);
  transition: transform 0.34s cubic-bezier(.7,.1,0,1);
  z-index: 1200;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  color: var(--accent);
  background: transparent;
  margin: 17px 16px 10px 0;
  border-radius: 8px;
  border: 2.5px solid var(--border-metal);
  padding: 3px 13px 6px 13px;
  z-index: 1300;
  transition: background 0.12s, color 0.12s, box-shadow 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-nav {
  width: 100%;
  height: 100%;
  padding: 14px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 10vh;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent);
  padding: 14px 8px 12px 3px;
  border-bottom: 1.6px solid var(--border-metal);
  width: 100%;
  transition: background 0.15s, color 0.13s;
  border-radius: 0 8px 8px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: var(--darker-bg);
  padding: 34px 0 24px 0;
  border-top: 1.5px solid var(--border-metal);
}
footer .content-wrapper {
  flex-direction: row;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}
footer img {
  height: 38px;
  margin-bottom: 12px;
  filter: grayscale(40%) contrast(90%);
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
footer nav a {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 1rem;
  transition: color 0.13s, text-decoration 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}


/* ==== FORMS & ADDITIONAL LAYOUTS ==== */
address {
  font-style: normal;
  padding: 10px 0;
  color: var(--accent);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--card-bg);
  color: var(--text-main);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px 18px 30px;
  box-shadow: 0 -5px 24px rgba(0,0,0,0.15);
  border-top: 2.5px solid var(--border-metal);
  animation: cookieBannerFadeIn 0.48s;
  gap: 18px;
  flex-wrap: wrap;
}
@keyframes cookieBannerFadeIn {
  from { bottom: -80px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}
.cookie-banner p {
  color: var(--text-main);
  margin-right: 24px;
  font-size: 1.01rem;
  flex: 1;
}
.cookie-banner-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-btn, .cookie-btn-accept, .cookie-btn-reject {
  font-family: var(--font-body);
  padding: 9px 26px;
  font-size: 0.98rem;
  border-radius: 7px;
  border: none;
  margin: 0 3px;
  box-shadow: 0 1.5px 7px 0 rgba(30,35,39,0.07);
  transition: background 0.14s, color 0.11s, box-shadow 0.13s;
  font-weight: 700;
}
.cookie-btn-accept {
  background: var(--accent);
  color: var(--dark-bg);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-btn-reject {
  background: var(--border-metal);
  color: var(--text-light);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--danger);
  color: #fff;
}
.cookie-btn-settings {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--accent);
  color: var(--dark-bg);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(20,24,32,0.79);
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: cookieModalFadeIn 0.37s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-box {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 40px 38px 34px 38px;
  max-width: 420px;
  width: 92vw;
  box-shadow: 0 8px 38px rgba(0,0,0,0.21);
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--text-main);
  border: 2px solid var(--primary-light);
  animation: cookieBoxBounceIn 0.42s;
}
@keyframes cookieBoxBounceIn {
  from { transform: scale(0.88); opacity:0.5; }
  60% { transform: scale(1.09); }
  to { transform: scale(1.00); opacity:1; }
}
.cookie-box h2 {
  color: var(--accent);
  font-size: 1.33rem;
  margin-bottom: 3px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--darker-bg);
  border-radius: 8px;
  padding: 11px 14px 10px 14px;
  color: var(--text-main);
  border-left: 5px solid var(--primary-light);
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  accent-color: var(--accent);
}
.cookie-category .essential {
  color: #96e58d;
  font-weight: 700;
  font-size: 1.03rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}


/* ==== RESPONSIVE DESIGN & MEDIA QUERIES ==== */
@media (max-width: 1024px) {
  .container {
    max-width: 970px;
  }
  header {
    padding: 0 11px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 6px;
  }
  .content-wrapper {
    max-width: 100%;
    gap: 16px;
  }
  .section {
    padding: 29px 6px;
  }
  section ul {
    gap: 16px;
  }
  .card-container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  header {
    min-height: 60px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 6px;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    font-size: 1rem;
    padding: 9px 20px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 3px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .section {
    padding: 20px 2px;
    margin-bottom: 34px;
  }
  .card-container,
  .content-grid,
  section ul {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .testimonial-card { padding: 16px 10px; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 0 8px;
  }
  footer nav {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 430px) {
  h1{ font-size: 1.15rem; }
  .cta-btn {
    padding: 8px 11px;
    font-size: 0.93rem;
  }
  .section {
    padding: 8px 0;
    margin-bottom: 20px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 8px;
    padding: 9px 6px 7px 7px;
  }
  .cookie-banner-buttons {
    gap: 9px;
  }
}


/* ==== MICRO-INTERACTIONS ==== */
.cta-btn, .cookie-btn, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings, .main-nav a, .mobile-nav a {
  transition: background 0.17s, color 0.13s, transform 0.14s, box-shadow 0.13s;
}
.cta-btn:active, .cookie-btn:active, .cookie-btn-accept:active, .cookie-btn-reject:active, .cookie-btn-settings:active {
  transform: scale(0.98);
}

/* ==== SCROLLBAR STYLE (Optional) ==== */
body::-webkit-scrollbar {
  width: 9px;
  background: var(--darker-bg);
}
body::-webkit-scrollbar-thumb {
  background: var(--border-metal);
  border-radius: 8px;
}

/* ==== ACCENT DETAILS ==== */
section, .card, .testimonial-card, .cookie-box {
  border-bottom: 2.5px solid var(--border-metal);
}

/* ==== TYPOGRAPHY HIERARCHY ==== */
.text-section h2, .text-section h3 {
  color: var(--primary-light);
  margin-top: 18px;
  margin-bottom: 7px;
}
.text-section ul {
  margin-left: 19px;
}
.text-section ul li {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0 0 7px 0;
  color: var(--text-light);
}

/* ==== UTILITIES ==== */
.hidden { display: none !important; }
.d-block { display: block !important; }
.center { justify-content: center; align-items: center; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ==== ANIMATIONS ==== */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .main-nav a, .mobile-nav a, .card, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-box {
    transition: all 0.19s cubic-bezier(.23,1.01,.32,1) !important;
  }
}

/* ==== INDUSTRIAL MODERN EMBELLISHMENTS ==== */
.card, section ul li, .testimonial-card, .cookie-box {
  box-shadow: 0 2px 8px 0 #23282d45, 0 1.5px 1px 0 #23272c;
  border: 1.5px solid var(--border-metal);
}

section ul li strong, .testimonial-card strong {
  letter-spacing: 0.01em;
  color: var(--primary-light);
}

.card, section ul li, .testimonial-card, .cookie-box {
  background: linear-gradient(125deg, var(--card-bg) 65%, #202226 100%);
  border-radius: 16px;
}

/* metallic highlights */
.card::before, section ul li::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: 0 1.5px 8px 0 rgba(160,174,201,0.09) inset, 0 -3px 22px 0 rgba(182,173,135,0.04) inset;
}


/*************************************
 * END OF SPARKLING PIXEL STYLE.CSS *
 *************************************/
