/* === CSS RESET & NORMALIZE === */
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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #102542;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Oswald:500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.38rem;
  font-weight: 500;
  margin-bottom: 10px;
}

p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}


/* === COLOR VARIABLES (with fallback) === */
:root {
  --nc-primary: #102542;
  --nc-secondary: #FFD100;
  --nc-secondary-vivid: #FDC500;
  --nc-accent: #E63946;
  --nc-accent-dark: #C40024;
  --nc-bg: #ffffff;
  --nc-text: #102542;
  --nc-text-inverse: #fff;
}

/* === CONTAINER & LAYOUT HELPERS === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  max-width: 780px;
}

/* === SECTION SPACING (MANDATORY) === */
section {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === FLEXBOX SPACING/ALIGNMENT PATTERNS (MANDATORY) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px 0 rgba(16,37,66,0.07);
  padding: 28px 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 7px 28px 0 rgba(230,57,70,0.13), 0 4px 22px 0 rgba(16,37,66,0.10);
  transform: translateY(-5px) scale(1.023);
}
.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;
  background: #F9F9F9;
  border-left: 5px solid var(--nc-secondary);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
  max-width: 420px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card span {
  display: block;
  font-size: 0.95rem;
}
.testimonial-card p {
  font-size: 17px;
  color: #212121;
  font-weight: 500;
}
.testimonial-card strong {
  color: var(--nc-accent-dark);
}
.testimonial-card:hover {
  border-left-color: var(--nc-accent);
  box-shadow: 0 7px 32px 0 rgba(254,209,0,0.11),0 6px 18px 0 rgba(16,37,66,0.12);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.13rem;
  font-weight: 500;
  color: var(--nc-primary);
  margin-top: 30px;
}
.rating-summary img {
  width: 34px;
  height: 34px;
}

.testimonials-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}


/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(16,37,66,0.09);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 18px;
}
header img {
  height: 38px;
  width: auto;
  min-width: 48px;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  color: var(--nc-primary);
  padding: 6px 8px;
  border-radius: 7px;
  transition: background 0.18s, color 0.16s;
  position: relative;
}
.main-nav a:hover {
  background: var(--nc-secondary);
  color: var(--nc-accent);
}
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 1.95em;
  border-radius: 22px;
  font-size: 1.13rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  background: var(--nc-accent);
  color: #fff;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 12px 0 rgba(230,57,70,0.11);
  border: none;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.18s, transform 0.15s;
  margin-left: 12px;
}
.button-primary:hover,
.button-primary:focus {
  background: var(--nc-secondary);
  color: var(--nc-primary);
  box-shadow: 0 6px 22px 0 rgba(230,57,70,0.16);
  transform: translateY(-1px) scale(1.035);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7em 1.7em;
  border-radius: 19px;
  font-size: 1.05rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  background: var(--nc-primary);
  color: #fff;
  border: 2px solid var(--nc-secondary);
  letter-spacing: 0.04em;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.18s, border 0.18s, color 0.16s;
}
.button-secondary:hover,
.button-secondary:focus {
  background: var(--nc-secondary);
  color: var(--nc-primary);
  border-color: var(--nc-accent);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--nc-accent);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  padding: 7px 15px;
  border-radius: 12px;
  align-items: center;
  cursor: pointer;
  transition: background 0.19s, color 0.16s;
  z-index: 24;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--nc-secondary);
  color: var(--nc-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--nc-primary);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.78,.01,.33,.99);
  z-index: 100;
  box-shadow: 0 5px 48px 0 rgba(16,37,66,0.17);
  padding-top: 32px;
  padding-bottom: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: var(--nc-secondary);
  color: var(--nc-primary);
  border-radius: 12px;
  padding: 6px 16px 8px 16px;
  margin-bottom: 34px;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  z-index: 110;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--nc-accent);
  color: #fff;
  transform: rotate(6deg) scale(1.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  height: 100%;
  justify-content: center;
  width: 100%;
  padding-left: 10vw;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--nc-secondary);
  padding: 7px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
  font-weight: 700;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--nc-accent-dark);
  color: #fff;
}

/* === HERO AND CTA === */
section:first-of-type .content-wrapper,
section .content-wrapper {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 0;
}

section .content-wrapper h1,
section .content-wrapper h2,
section .content-wrapper h3 {
  color: var(--nc-primary);
  font-weight: 800;
}
section .content-wrapper h1 {
  color: var(--nc-accent);
  /* Electric punch! */
  text-shadow: 0 4px 16px rgba(230,57,70,0.12),0 1px 0 var(--nc-secondary);
}
section .content-wrapper p {
  color: #2c3c54;
  font-size: 1.09rem;
  font-weight: 500;
}

/* === LISTS (BENEFITS, FEATURES, USPs) === */
ul {
  padding-left: 0;
  margin-bottom: 16px;
  list-style: none;
}
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  color: #222;
  margin-bottom: 11px;
}
ul li img {
  width: 28px;
  height: 28px;
}

.text-section ul li{
  font-size: 1.05rem;
  font-weight: 500;
}


/* === FOOTER === */
footer {
  background: var(--nc-primary);
  color: #fff;
  padding: 34px 0 24px 0;
  position: relative;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
}
.footer-logo img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--nc-secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  transition: color 0.12s, background 0.12s;
  border-radius: 4px;
  padding: 4px 7px;
}
.footer-nav a:hover {
  color: var(--nc-accent);
  background: rgba(255,209,0,0.09);
}

.company-info {
  max-width: 300px;
  font-size: 0.98rem;
  color: var(--nc-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.company-info img {
  margin-right: 7px;
  vertical-align: middle;
  width: 20px;
}
.company-info p {
  color: var(--nc-secondary);
  margin-bottom: 5px;
}


/* === MAP PLACEHOLDER (contact page) === */
.contact-map .map-placeholder {
  border: 3px solid var(--nc-accent);
  border-radius: 12px;
  background: #fff6;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 0 0;
  font-size: 1.1em;
  font-style: italic;
  color: #666;
}

/* === SPECIAL ELEMENTS === */

/* -- Highlight pricing -- */
ul li span {
  color: var(--nc-primary);
  font-weight: 700;
  margin-left: 5px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #102542ee;
  color: #fff;
  z-index: 1200;
  box-shadow: 0 -2px 16px 0 rgba(16,37,66,0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5vw 22px 6vw;
  font-size: 1.06rem;
  gap: 20px;
  transition: transform 0.38s cubic-bezier(.81,-0.01,.81,1.01);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  min-width: 120px;
  padding: 8px 13px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0;
  border: none;
  background: var(--nc-accent);
  color: #fff;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-banner button.cookie-accept {
  background: var(--nc-secondary);
  color: var(--nc-primary);
}
.cookie-banner button.cookie-reject {
  background: var(--nc-accent-dark);
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: var(--nc-primary);
  color: var(--nc-secondary);
  border: 2px solid var(--nc-secondary);
}
.cookie-banner button:hover {
  filter: brightness(1.17);
  box-shadow: 0 2px 12px 0 rgba(230,57,70,0.1);
}

/* === COOKIE MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 440px;
  background: #fff;
  color: #102542;
  border-radius: 17px;
  box-shadow: 0 8px 50px 0 rgba(0,0,0,0.21);
  padding: 36px 25px 29px 25px;
  z-index: 1300;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.22s, transform 0.22s;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal h3 {
  color: var(--nc-accent-dark);
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.3rem;
}
.cookie-modal ul {
  gap: 0;
  margin-bottom: 12px;
}
.cookie-modal li {
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--nc-secondary);
  width: 22px;
  height: 22px;
}
.cookie-category .always-on {
  color: #aaa;
  font-size: 0.95em;
}
.cookie-modal .cookie-modal-buttons {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(16,37,66,0.26);
  z-index: 1220;
  display: none;
}
.cookie-overlay.open {
  display: block;
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.button-primary, .button-secondary, .cookie-banner button {
  transition: box-shadow 0.18s, background 0.18s, color 0.13s, transform 0.13s;
}

.card, .testimonial-card {
  transition: box-shadow 0.20s, border-color 0.16s, transform 0.14s;
}

.card:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 9px 0 rgba(16,37,66,0.10);
}

.nav a:active {
  color: var(--nc-accent-dark);
}

.testimonial-card span:last-child {
  color: #FFD100;
  letter-spacing: 0.03em;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1280px) {
  .container {
    max-width: 98vw;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.07rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.15rem; }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  header .container {
    height: 58px;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 27px;
  }
  .footer-logo { margin-bottom: 12px; }
  .rating-summary { flex-direction: column; gap: 8px; }
  .testimonials-wrapper { flex-direction: column; gap: 18px; }
}

@media (max-width: 600px) {
  .content-wrapper, .text-section {
    padding-left: 4px;
    padding-right: 4px;
  }
  .testimonial-card, .card {
    padding: 16px 10px;
    font-size: 0.97em;
    max-width: 100vw;
  }
  .card-container, .testimonials-wrapper {
    gap: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 3vw 14px 3vw;
    font-size: 0.96rem;
  }
}

@media (max-width: 480px) {
  section, .section {
    padding: 23px 3vw;
    margin-bottom: 35px;
  }
  .cookie-modal {
    padding: 22px 7px 19px 7px;
    font-size: 0.93em;
  }
}

/* === DYNAMIC/FLEXBOX OVERRIDES === */
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .text-image-section {
    gap: 8px;
  }
}

/* === Z-INDEX CLEANUP === */
header { z-index: 20; }
.mobile-menu { z-index: 100; }
.cookie-banner { z-index: 1200; }
.cookie-overlay { z-index: 1220; }
.cookie-modal { z-index: 1300; }

/* === ELECTRIC ACCENTS & ENERGY === */
.button-primary,
.button-secondary,
.card:hover,
.testimonial-card:hover {
  box-shadow: 0 6px 34px 0 rgba(253,209,0,0.09), 0 6px 26px 0 rgba(230,57,70,0.09);
}
.button-primary {
  background: linear-gradient(90deg, var(--nc-accent) 70%, var(--nc-secondary-vivid) 100%);
  color: #fff;
}
.button-primary:hover, .button-primary:focus {
  background: var(--nc-secondary);
  color: var(--nc-primary);
}

section .content-wrapper h1,
section .content-wrapper h2 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* == Utility Spacing (if needed) == */
.mt-1  { margin-top: 7px !important; }
.mt-2  { margin-top: 16px !important; }
.mt-3  { margin-top: 26px !important; }
.mb-1  { margin-bottom: 7px !important; }
.mb-2  { margin-bottom: 16px !important; }
.mb-3  { margin-bottom: 24px !important; }

/* === ACCESSIBILITY & SELECTION === */
body, h1, h2, h3, h4, h5, h6, p, a, button {
  -webkit-tap-highlight-color: var(--nc-secondary);
  outline-color: var(--nc-accent);
}
a:focus, button:focus {
  outline: 2px solid var(--nc-accent-dark);
  outline-offset: 2px;
}

/* === END === */
