/*
========================================
WiFiExpert – Scandinavian Clean CSS v1.0
========================================
*/

/* CSS RESET & BASELINE */
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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F8F8FA;
  color: #22324e;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
a {
  color: #1A346D;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover,
a:focus {
  color: #14B1D8;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.4em;
}

/* ===========================================
   FONTS (brand-guidelines)
============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #1A346D;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 18px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 16px; }
h3 { font-size: 1.31rem; font-weight: 500; margin-bottom: 14px; }
h4 { font-size: 1.05rem; font-weight: 500; }

p, li, a, address {
  font-size: 1rem;
}
strong, b { font-weight: 600; }

/* ===========================================
   LAYOUT CONTAINERS & MODULES
============================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(26,52,109,0.05);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F8F8FA;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(90,110,151,0.08);
  padding: 32px 20px;
  flex: 1 1 290px;
  min-width: 250px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(26,52,109,0.18);
  transform: translateY(-3px) scale(1.01);
}

.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: #F4F7FA;
  border-left: 6px solid #14B1D8;
  border-radius: 15px;
  box-shadow: 0 3px 18px 0 rgba(26,52,109,0.10);
  margin-bottom: 24px;
  max-width: 650px;
  color: #1A346D;
  font-size: 1.11rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  width: 100%;
}

/* ======================
   HEADER & NAVIGATION
========================*/
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(26,52,109,0.06);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  min-height: 60px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1A346D;
  padding: 8px 6px;
  border-radius: 5px;
  transition: background-color 0.16s, color 0.16s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0F4F8;
  color: #14B1D8;
}
.main-nav .btn-primary {
  background: #1A346D;
  color: #fff;
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 1.05rem;
  margin-left: 22px;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 2px 12px 0 rgba(26,52,109,0.10);
  outline: none;
}
.main-nav .btn-primary:hover,
.main-nav .btn-primary:focus {
  background: #14B1D8;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2.1rem;
  color: #1A346D;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.17s;
  margin-left: 10px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ecf6fa;
}

/* ===============================
     MOBILE MENU (burger slide)
==================================*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 92vw;
  max-width: 340px;
  background: #fff;
  box-shadow: 0 12px 36px 0 rgba(26,52,109,0.20);
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.77,.2,.23,1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 36px 22px;
}
.mobile-menu.open { /* add .open via JS for menu open */
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #1A346D;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 20px;
  cursor: pointer;
  z-index: 1030;
  padding: 8px 11px;
  border-radius: 5px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f6faff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A346D;
  background: none;
  padding: 13px 4px;
  border-radius: 5px;
  font-size: 1.05rem;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ecfafd;
  color: #14B1D8;
}

/* Overlay for mobile menu when open */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(9,21,40,0.19);
  z-index: 1000;
}
.mobile-menu.open ~ .mobile-menu-overlay{
  display: block;
}

/* ======================
     HERO SECTIONS
========================*/
.hero {
  background: linear-gradient(94deg, #f8fbfd 70%, #ecf6fa 100%);
  padding: 62px 0 52px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  max-width: 640px;
}
.hero h1 {
  color: #1A346D;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero p {
  color: #3D4C64;
  font-size: 1.22rem;
  margin-bottom: 16px;
}

/* Call To Action Section */
.cta {
  background: #1A346D;
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 5px 32px 0 rgba(26,52,109,0.13);
  margin-bottom: 50px;
  padding: 44px 20px;
}
.cta h2 {
  color: #fff;
}
.cta .btn-primary {
  background: #14B1D8;
  color: #fff;
  font-weight: 600;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #fff;
  color: #1A346D;
}

/* ======================
       BUTTONS
========================*/
.btn-primary {
  display: inline-block;
  background: #1A346D;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 13px 34px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s, color 0.17s, box-shadow 0.16s, transform 0.12s;
  box-shadow: 0 1px 6px 0 rgba(25,63,131,0.13);
  outline: none;
  margin-top: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #14B1D8;
  color: #fff;
  box-shadow: 0 3px 20px 0 rgba(20,177,216,0.12);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  display: inline-block;
  background: #14B1D8;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 11px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 600;
  transition: background 0.18s, color 0.15s, box-shadow 0.15s, transform 0.11s;
  box-shadow: 0 1px 5px 0 rgba(20,177,216,0.08);
  outline: none;
  margin-top: 7px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1A346D;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(26,52,109,0.10);
  transform: translateY(-1.5px) scale(1.025);
}

/* Typography link-button */
a.btn-primary, a.btn-secondary {
  text-align: center;
}

/* ======================
     TABLES (equipments)
========================*/
table {
  border-collapse: collapse;
  margin: 14px 0 22px 0;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 8px 0 rgba(26,52,109,0.07);
}
thead {
  background: #edf6fa;
}
th, td {
  padding: 15px 12px;
  text-align: left;
  font-size: 1rem;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #1A346D;
}
td {
  color: #193c83;
  border-bottom: 1px solid #f3f5fa;
}
tr:last-child td { border-bottom: none; }

/* ======================
      FOOTER
========================*/
footer {
  background: #fff;
  color: #193c83;
  padding: 0 0 22px 0;
  box-shadow: 0 -1px 8px 0 rgba(26,52,109,0.05);
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 42px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 44px 0 0 0;
  border-top: 1.5px solid #ecf1f7;
}
.footer-columns > div {
  min-width: 205px;
  flex: 1 1 220px;
  margin-bottom: 14px;
}
.footer-brand-text {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  margin-top: 9px;
}
.footer-brand-text span {
  font-size: 0.97rem;
  font-weight: 400;
  color: #557;
}
footer nav a {
  color: #193c83;
  font-size: 0.98rem;
}
footer nav a:hover, footer nav a:focus {
  color: #14B1D8;
  text-decoration: underline;
}
footer address {
  font-size: 0.98rem;
  font-style: normal;
  margin-top: 12px;
  line-height: 1.7;
}
footer a {
  color: #1A346D;
}

/* ============================================
     COOKIE BANNER & CONSENT MODAL
============================================= */
#cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #1A346D;
  box-shadow: 0 -6px 48px 0 rgba(26,52,109,0.11);
  padding: 22px 24px;
  gap: 20px;
  z-index: 2000;
  font-size: 1.05rem;
  flex-wrap: wrap;
  border-top: 2px solid #14B1D8;
  transition: transform 0.32s cubic-bezier(.81,.06,.42,.94);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner.active {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}
#cookie-banner p {
  flex: 1 1 210px;
  margin-bottom: 8px;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
#cookie-banner button,
#cookie-banner .cookie-actions button,
#cookie-banner .cookie-settings-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #14B1D8;
  color: #fff;
  transition: background 0.14s, color 0.13s, transform 0.11s;
  box-shadow: 0 1px 4px 0 rgba(20,177,216,0.07);
  margin-right: 2px;
}
#cookie-banner .cookie-actions button.reject {
  background: #f3f3f7;
  color: #1A346D;
  border: 1.4px solid #14B1D8;
}
#cookie-banner .cookie-actions button.reject:hover, #cookie-banner .cookie-actions button.reject:focus {
  background: #eaf4f8;
}
#cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #14B1D8;
  border: 1.2px solid #14B1D8;
}
#cookie-banner .cookie-settings-btn:hover,
#cookie-banner .cookie-settings-btn:focus {
  background: #f7fcfe;
  color: #1A346D;
}

/* COOKIE MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(26,52,109,0.18);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
#cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  max-width: 410px;
  width: 90vw;
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 rgba(26,52,109,0.14);
  padding: 26px 23px 30px 23px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A346D;
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 13px;
  background: none;
  border: none;
  color: #1A346D;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 5px;
  padding: 6px 10px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f6fafe;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 17px 0 7px 0;
}
.cookie-cat-label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #193c83;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-cat-toggle {
  margin-left: auto;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e8f6fa;
  border-radius: 22px;
  transition: background-color 0.13s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #14B1D8;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 3.5px;
  background: #fff;
  border-radius: 50%;
  transition: 0.15s;
  box-shadow: 0 2px 7px 0 rgba(26,52,109,0.07);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-modal-footer {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* =============================
SPECIAL ELEMENTS & UTILITIES
=============================*/
.text-section {
  margin-bottom: 18px;
}

/* Misc cards spacing for consistent Scandinavian space */
.card + .card,
.testimonial-card + .testimonial-card {
  margin-top: 24px;
}

/* CTA & hero btns */
.cta a.btn-primary {
  margin-top: 35px;
}

/* Responsive alignment&cards */
@media (max-width: 1100px) {
  .footer-columns {
    gap: 28px 22px;
  }
  .section, .cta {
    padding: 24px 2vw;
  }
}
@media (max-width: 900px) {
  .footer-columns {
    flex-wrap: wrap;
    gap: 22px 12px;
  }
  .footer-columns > div { min-width: 170px; }
}

@media (max-width: 810px) {
  .container {
    max-width: 99vw;
  }
  .main-nav { gap: 10px 11px; }
}

@media (max-width: 768px) {
  .section {
    padding: 27px 10px;
    margin-bottom: 38px;
  }
  .cta {
    padding: 26px 8px;
    margin-bottom: 32px;
    border-radius: 15px;
  }
  .footer-columns {
    flex-direction: column;
    gap: 18px 0;
    padding: 24px 0 0 0;
  }
  .footer-columns > div {
    min-width: 0;
    flex-basis: auto;
    width: 100%;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero .content-wrapper {
    max-width: 98vw;
    gap: 17px;
    font-size: 1em;
  }
  .content-wrapper { gap: 13px; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 10px;
    font-size: 1rem;
    border-radius: 10px;
    max-width: 100vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 17px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .hero .content-wrapper {
    padding: 0 7px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 8px;
    font-size: 0.99rem;
    gap: 13px;
  }
}

/* =======================
Accessibility & Details
========================*/
:focus {
  outline: 2px dashed #14B1D8;
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #949fa4; }
::-moz-placeholder { color: #949fa4; }
:-ms-input-placeholder { color: #949fa4; }
::placeholder { color: #949fa4; }

/* ========================
  Print-Friendly Utilities
=========================*/
@media print {
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal, .btn-primary, .btn-secondary {
    display: none !important;
  }
  .section, .container {
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
  }
}

/* End Scandinavian Clean Theme */
