/* FrostSpur Tech-Futuristic CSS Theme - Mobile-first, responsive, modern, and exclusive Flexbox layouts (no CSS Grid or Columns) */

/* --- 1. CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #F3F6F8;
  background-color: #181D29;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}
a {
  color: #7bdff2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4be7ff;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: 0;
  padding: 0;
}
input, textarea, select {
  font-family: inherit;
  border: 1px solid #33394a;
  background: #232b3d;
  color: #fff;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 1rem;
}
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/* --- 2. BRANDING & FONT STYLES --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #F3F6F8;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.2rem;
  color: #c2e4ff;
  text-shadow: 0 2px 8px #14567866;
}
h2 {
  font-size: 1.4rem;
  color: #7bdff2;
}
h3 {
  font-size: 1.06rem;
  color: #6194aa;
}
p, li, ul, ol, span, label {
  color: #e6f5fb;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
}
strong {
  color: #1B375C;
  background: linear-gradient(90deg, #7bdff2 30%, #4be7ff 100%);
  border-radius: 4px;
  padding: 0 4px;
  font-family: inherit;
}

/* --- 3. LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.header-container, .footer-container, .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.footer-container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

/* --- Responsive content spacing pattern --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #223650;
  border: 1px solid #36537399;
  box-shadow: 0 2px 16px #18203644;
  border-radius: 16px;
  padding: 28px 22px;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.14s, box-shadow 0.17s;
}
.card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 32px #43ffee22, 0 0 0 2px #7bdff2;
  z-index: 2;
}
.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;
  background: #F3F6F8;
  color: #1B375C;
  border-radius: 16px;
  box-shadow: 0 2px 12px #26f6ff11;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  min-width: 0;
}
.testimonial-card p {
  color: #1B375C;
  font-size: 1.04rem;
  margin-bottom: 3px;
}
.testimonial-card span {
  color: #4F6176;
  font-size: 0.98rem;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(28,53,92,0.40);
  border-radius: 14px;
  border: 1px solid #355C8277;
  min-width: 180px;
  max-width: 340px;
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  gap: 15px;
  box-shadow: 0 1px 8px #50faff21;
  transition: box-shadow 0.18s, border 0.15s;
}
.feature-item:hover {
  border-color: #7bdff2;
  box-shadow: 0 4px 32px #43ffee22;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 2px #8ff9e1);
}

/* --- 4. NAVIGATION --- */
header {
  background: linear-gradient(90deg, #172242 80%, #1b375c 100%);
  border-bottom: 1px solid #29344b;
  position: relative;
  z-index: 994;
}
.header-container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.header-container a img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: #F3F6F8;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 1.02rem;
  position: relative;
  transition: background 0.16s, color 0.12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #253a71;
  color: #83f7f7;
}
.main-nav .button.primary {
  background: #7bdff2;
  color: #182138;
  margin-left: 10px;
  border: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px #81f7e61a;
  transition: background 0.15s, color 0.12s, box-shadow 0.15s;
}
.main-nav .button.primary:hover {
  background: #1B375C;
  color: #fff;
  box-shadow: 0 4px 16px #43ffee33;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  color: #F3F6F8;
  background: #162a40;
  border: 2px solid #283757;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  z-index: 1001;
  box-shadow: 0 1px 5px #00000033;
  transition: border 0.13s, background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border-color: #7bdff2;
  background: #283757;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(18,30,54,0.98);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
  padding-left: 0;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.9,0.2,0.1,1), opacity 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 24px;
  margin-top: 10px;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #294a6c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  padding: 14px 32px 32px 32px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #F3F6F8;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 0;
  border-bottom: 1px solid #22365022;
  width: 100%;
  transition: color 0.13s;
}
.mobile-nav a:hover {
  color: #7bdff2;
}

/* Hide desktop nav & show toggle on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}

/* --- 5. HERO / SECTION STYLES --- */
.hero {
  background: linear-gradient(100deg, #1B375C 70%, #162a3c 100%);
  border-bottom: 2px solid #233040;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .container {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 640px;
  padding: 24px 18px 18px 10px;
  margin: 0 auto;
  background: rgba(32,53,87,0.39);
  border-radius: 18px;
  box-shadow: 0 2px 20px #62cef544;
}
.hero h1 {
  font-size: 2.4rem;
}
.hero p {
  font-size: 1.13rem;
  color: #b7eaf6;
}

.section:not(.hero){
  background: #202d43;
  border-radius: 18px;
  box-shadow: 0 1px 10px #19bfff14;
  margin-bottom: 60px;
  padding: 36px 20px;
}

.features .feature-grid, .location-grid .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
}

.about-preview, .about, .team, .news, .newsletter, .tips-list, .benefits, .contact-section, .contact-form-info, .map-info, .legal, .confirmation, .articles-preview {
  background: #182138;
  border-radius: 16px;
  box-shadow: 0 1px 8px #60dfef12;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.articles-preview ul,
.articles ul,
.article-list {
  margin-bottom: 16px;
}
.articles-preview .article-list li,
.articles .article-list li {
  margin-bottom: 12px;
}
.articles-preview .article-list a,
.articles .article-list a {
  color: #7bdff2;
  font-weight: 600;
  font-size: 1.02rem;
  transition: text-shadow 0.13s, color 0.17s;
}
.articles-preview .article-list a:hover,
.articles .article-list a:hover {
  color: #fff;
  text-shadow: 0 1px 8px #62cef644;
}

.newsletter, .cta {
  background: #17365c;
  border-radius: 16px;
  margin-bottom: 44px;
  box-shadow: 0 2px 12px #5aecf623;
}
.benefits-list li, .tips-list li {
  background: #252f44;
  border-radius: 6px;
  padding: 7px 14px;
  margin-bottom: 8px;
  color: #c9f5ff;
  position: relative;
  font-size: 1.01rem;
  box-shadow: 0 1px 4px #167cb41a;
}
.benefits-list li:before, .tips-list li:before {
  content: '\2022';
  color: #7bdff2;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.cta h2 {
  margin-bottom: 11px;
}

.cta a.button.primary, .newsletter a.button.primary {
  margin-top: 14px;
}

/* --- 6. BUTTONS --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  border-radius: 10px;
  outline: 0;
  min-width: 140px;
  padding: 11px 26px;
  background: #284e6b;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px #14d0c414;
  transition: background 0.14s, color 0.14s, box-shadow 0.16s, transform 0.17s;
  margin-bottom: 8px;
}
.button.primary {
  background: #7bdff2;
  color: #223650;
  text-shadow: 0 1px 2px #fff5, 0 0 2px #6b889880;
  box-shadow: 0 2px 12px #6ffcff25;
}
.button.primary:hover, .button.primary:focus {
  background: #1B375C;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 2px 24px #17f5ff59, 0 0 0 3px #7bdff2;
}
.button:hover, .button:focus {
  background: #1B375C;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 2px 20px #14f7fc3d;
}

/* --- 7. FOOTER --- */
footer {
  background: #1B375C;
  border-top: 2px solid #29344b;
  padding-top: 36px;
  padding-bottom: 32px;
}
.footer-container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 180px;
}
.footer-nav a {
  color: #c9f5ff;
  font-size: 1.01rem;
  padding: 3px 3px;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: #6debf7;
}
.footer-contact {
  font-size: 0.98rem;
  color: #e9ecf2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 210px;
}
.footer-contact img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  height: 18px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.footer-social a img {
  width: 34px;
  height: 34px;
  transition: filter 0.13s, transform 0.14s;
  filter: drop-shadow(0 0 3px #6ffcff3d);
}
.footer-social a:hover img {
  filter: drop-shadow(0 0 8px #fff) brightness(1.85);
  transform: scale(1.18);
}

/* --- 8. COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #222f41;
  color: #e3eafa;
  z-index: 2100;
  box-shadow: 0 -2px 18px #1ad1ed2a;
  padding: 18px 0 20px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: transform 0.36s cubic-bezier(0.85,0.09,0.09,1), opacity 0.23s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 0;
  max-width: 600px;
  font-size: 1.01rem;
  color: #e3eafa;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .button {
  font-size: 1rem;
  border-radius: 6px;
  padding: 7px 20px;
  min-width: 130px;
}
.cookie-banner .button.accept {
  background: #7bdff2;
  color: #233650;
}
.cookie-banner .button.reject {
  background: #253d6b;
  color: #fff;
}
.cookie-banner .button.settings {
  background: #317bbd;
  color: #fff;
}
.cookie-banner .button:hover {
  background: #1B375C;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 2200;
  background: rgba(6,14,28,0.91);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.29s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: #f0f6fd;
  border-radius: 16px;
  padding: 42px 28px 26px 28px;
  width: 96vw;
  max-width: 420px;
  color: #223650;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 2px 40px #00e6e960;
  position: relative;
  animation: cookieModalIn 0.4s cubic-bezier(0.72,0.1,0.22,1);
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1B375C;
  cursor: pointer;
}
.cookie-modal__title {
  font-size: 1.21rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-size: 1.06rem;
  color: #113755;
  font-weight: 600;
}
.cookie-toggle {
  accent-color: #7bdff2;
  width: 20px;
  height: 20px;
}
.cookie-description {
  font-size: 0.99rem;
  color: #194564;
  margin-bottom: 8px;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal__actions .button {
  border-radius: 7px;
  font-size: 1rem;
  padding: 7px 15px;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(50px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- 9. CARDS, TIPS, LISTS, AND SPECIALS --- */
.article-list, .benefits-list, .tips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.article-list li, .benefits-list li, .tips-list li {
  margin-bottom: 6px;
}
.map-placeholder {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 10px;
  min-height: 120px;
}
.map-placeholder img {
  display: block;
  width: 100%;
  max-width: 320px;
}
.privacy-notice {
  color: #78bbf7;
  font-size: 0.96rem;
}

/* --- 10. LEGAL PAGES & MISC --- */
.legal {
  background: #182138;
  border-radius: 14px;
  padding: 38px 18px;
  box-shadow: 0 1px 9px #5aecf618;
}
.legal h2 {
  color: #7bdff2;
  font-size: 1.11rem;
  margin-top: 14px;
}

/* --- 11. UTILITIES --- */
.gap-20 { gap: 20px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }
.no-select { user-select: none; }

/* --- 12. RESPONSIVE DESIGN (Mobile-First) --- */
@media (max-width: 768px) {
  .header-container, .footer-container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .section {
    padding: 24px 5vw;
    margin-bottom: 40px;
  }
  .features .feature-grid, .location-grid .feature-grid, .card-container, .content-grid, .footer-social{
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
    gap: 14px;
  }
  .hero .content-wrapper {
    padding: 16px 2vw 14px 2vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-social {
    gap: 12px;
  }
}

@media (min-width: 769px) {
  .content-wrapper {
    padding-left: 25px;
    padding-right: 25px;
    gap: 18px;
  }
  .features .feature-grid, .location-grid .feature-grid, .card-container, .content-grid{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
  }
  .footer-container {
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* --- 13. FOCUS & ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid #7bdff2;
  outline-offset: 2px;
}

/* --- End FrostSpur Tech-Futuristic Theme CSS --- */
