/* =======================================================================
   Frosty Glimpse – Scandinavian Clean CSS
   Author: Senior CSS Developer & UI Designer
   ======================================================================= */

/* --- CSS RESET & BASE --- */
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; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #212529;
  background: #F3F6FA;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}
a {
  color: #212529;
  text-decoration: none;
  transition: color 0.25s;
}
a:focus, button:focus {
  outline: 2px solid #8FC1DF;
  outline-offset: 2px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #212529;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote, pre, .text-section {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

blockquote {
  border-left: 4px solid #8FC1DF;
  padding-left: 16px;
  color: #212529;
  font-style: italic;
  background: #F3F6FA;
}

strong { font-weight: 600; }

/* --- REUSABLE LAYOUTS: CONTAINER & SECTIONS --- */
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.section,
.features,
.services,
.testimonials,
.policy,
.about,
.about-short,
.contact,
.contact-short {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(33,37,41,0.04);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 32px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* --- CARD/PRESENTATION-GRID LAYOUTS (only FLEX) --- */
.feature-grid,
.service-list,
.service-grid,
.tips-grid,
.blog-list,
.quick-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature-grid li,
.service-list li,
.service-grid li,
.tips-grid li,
.blog-list li {
  background: #F3F6FA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(33,37,41,0.03);
  padding: 32px 22px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid li:hover,
.service-list li:hover,
.service-grid li:hover,
.tips-grid li:hover,
.blog-list li:hover {
  box-shadow: 0 6px 18px rgba(33,37,41,0.09);
  transform: translateY(-2px) scale(1.015);
}
.quick-guides li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 1rem;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(33,37,41,0.04);
}

@media (max-width: 768px) {
  .feature-grid,
  .service-list,
  .service-grid,
  .tips-grid,
  .blog-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li,
  .service-list li,
  .service-grid li,
  .tips-grid li,
  .blog-list li {
    padding: 20px 12px;
    flex-basis: 100%;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: #F3F6FA;
  padding: 70px 0 40px;
  border-radius: 0 0 36px 36px;
  margin-bottom: 48px;
  box-shadow: 0 2px 16px rgba(33,37,41,0.03);
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  font-size: 2.3rem;
  letter-spacing: -1px;
}
.hero p {
  color: #636F7B;
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 44px 0 28px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 32px;
  }
  .hero h1 { font-size: 1.55rem; }
}

/* --- BUTTONS --- */
.cta, .feature-item a, .service-list li a, .mobile-nav a.cta, .cookie-banner button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #8FC1DF;
  color: #212529;
  padding: 14px 30px;
  border-radius: 28px;
  border: none;
  outline: none;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(33,37,41,0.03);
  transition: background 0.2s, color 0.18s, box-shadow 0.18s;
}
.cta:hover, .feature-item a:hover, 
.service-list li a:hover, 
.mobile-nav a.cta:hover,
.cookie-banner button.accept:hover {
  background: #6CAAD2;
  color: #fff;
  box-shadow: 0 6px 18px rgba(33,37,41,0.09);
}
.cookie-banner button.reject {
  background: #fff;
  color: #8FC1DF;
  border: 1px solid #8FC1DF;
}
.cookie-banner button.reject:hover {
  background: #F3F6FA;
  color: #212529;
  border-color: #6CAAD2;
}
.cookie-banner button.settings {
  background: #F3F6FA;
  color: #636F7B;
  border: 1px solid #C6D6E3;
}
.cookie-banner button.settings:hover {
  background: #e5eff9;
  color: #212529;
}

/* --- TAGS / BADGES --- */
.tag {
  display: inline-block;
  font-size: 0.95rem;
  background: #8FC1DF;
  color: #212529;
  border-radius: 8px;
  padding: 3px 10px;
  margin-top: 10px;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #636F7B;
  margin-top: 10px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #F3F6FA;
  border-radius: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 23px 30px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(140,174,205,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(140,174,205,0.13);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card blockquote {
  font-size: 1.14rem;
  font-style: italic;
  color: #212529;
  background: none;
  border-left: 4px solid #8FC1DF;
  padding-left: 15px;
  margin-bottom: 10px;
}
.testimonial-card footer {
  font-size: 1rem;
  color: #636F7B;
  font-style: normal;
  margin-top: 0;
}

/* --- SECTIONS --- */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.about {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.about-short,
.contact-short {
  background: #F3F6FA;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(140,174,205,0.07);
}

.policy {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #E3E8EE;
  padding: 42px 0 16px;
  font-size: 1rem;
  margin-top: 16px;
}
footer .container {
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #636F7B;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: #212529;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  display: flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #F3F6FA;
  transition: background 0.18s;
}
.social-links a:hover {
  background: #8FC1DF;
}
.contact-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 38px;
  align-items: flex-start;
  font-size: 1rem;
  color: #636F7B;
}
.contact-summary div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
}

@media (max-width: 900px) {
  footer .content-wrapper, .contact-summary {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .contact-summary div {
    min-width: 0;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(33,37,41,0.04);
  position: relative;
  z-index: 25;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  gap: 12px;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 44px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.main-nav ul li a {
  color: #212529;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 7px 8px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F3F6FA;
  color: #8FC1DF;
}
.main-nav .cta {
  margin-left: 18px;
}

/* ------- MOBILE MENU ------- */
.mobile-menu-toggle {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  background: #8FC1DF;
  color: #212529;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 102;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 1px 4px rgba(33,37,41,0.10);
}
.mobile-menu-toggle:hover {
  background: #6CAAD2;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,37,41,0.79);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.64,.09,.08,1), opacity 0.24s;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  background: #fff;
  width: 86vw;
  max-width: 340px;
  height: 100vh;
  border-radius: 0 0 0 18px;
  padding: 38px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: -5px 0 32px rgba(140,174,205,0.07);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 30vw;
  width: 44px;
  height: 44px;
  background: #F3F6FA;
  color: #212529;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 99999;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover {
  background: #8FC1DF;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 56px;
}
.mobile-nav a {
  padding: 13px 0 13px 7px;
  font-size: 1.23rem;
  border-radius: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #212529;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover {
  background: #8FC1DF;
  color: #fff;
}
.mobile-nav a.cta {
  background: #8FC1DF;
  color: #212529;
  font-size: 1.08rem;
  padding: 10px 28px;
  margin-top: 22px;
  align-self: flex-start;
  border-radius: 25px;
  box-shadow: 0 1px 4px rgba(33,37,41,0.08);
}
.mobile-nav a.cta:hover {
  background: #6CAAD2;
  color: #fff;
}
@media (min-width: 1010px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1009px) {
  .main-nav ul,
  .main-nav .cta {
    display: none;
  }
  .main-nav {
    padding-right: 60px;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* --- SECTION & CARD RESPONSIVENESS --- */
@media (max-width: 600px) {
  .section,
  .features,
  .about,
  .about-short,
  .services,
  .testimonials,
  .policy {
    padding: 22px 5px;
    margin-bottom: 36px;
    border-radius: 8px;
  }
  .testimonial-card {
    padding: 15px 8px;
  }
}

/* --- FLEXBOX UTILS: (MANDATORY CLASSES) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(33,37,41,0.04);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* --- LISTS --- */
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.5;
  font-size: 1rem;
}
ul:last-child, ol:last-child { margin-bottom: 0; }

/* --- ACCENT ON ICONS FOR MATERIALS FEEL --- */
img[alt*="icon"], .social-links img {
  width: 28px;
  height: 28px;
  display: block;
  filter: grayscale(22%) brightness(1.08) contrast(1.15);
  opacity: 0.93;
  transition: opacity 0.18s;
}
.social-links a:hover img {
  opacity: 1;
  filter: none;
}

/* --- LINKS --- */
a {
  color: #8FC1DF;
  transition: color 0.22s;
}
a:hover {
  color: #212529;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 99999;
  background: #fff;
  color: #212529;
  box-shadow: 0 -2px 16px rgba(33,37,41,0.10);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 19px 28px;
  font-size: 1rem;
  border-radius: 13px 13px 0 0;
  animation: fadeInUp 0.45s;
}
.cookie-banner__text {
  flex: 1 1 auto;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  margin: 0;
  min-width: 110px;
  min-height: 41px;
}

@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px;
    gap: 16px;
  }
  .cookie-banner__actions {
    gap: 10px;
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 500px) {
  .cookie-banner {
    font-size: 0.97rem;
    padding: 13px 4px;
    border-radius: 7px 7px 0 0;
  }
  .cookie-banner button {
    min-width: 90px;
    min-height: 36px;
    font-size: .98rem;
  }
}

@keyframes fadeInUp {
  0% { opacity:0; transform: translateY(60px); }
  100% { opacity:1; transform: translateY(0); }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 100000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,37,41,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #212529;
  width: 98%;
  max-width: 430px;
  border-radius: 24px;
  box-shadow: 0 6px 38px rgba(33,37,41,0.12), 0 1.5px 5px rgba(140,174,205,0.04);
  padding: 34px 25px 22px 25px;
  position: relative;
  animation: fadeModalIn 0.32s;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes fadeModalIn {
  0% { opacity:0; transform: translateY(24px) scale(.96); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 14px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 19px;
  font-size: 1.6rem;
  background: #F3F6FA;
  color: #212529;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10012;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal .modal-close:hover {
  background: #8FC1DF;
  color: #fff;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 20px;
}
.cookie-modal .cookie-category:last-child {
  margin-bottom: 0;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 46px;
  height: 24px;
  display: inline-block;
}
.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E3E8EE;
  border-radius: 18px;
  transition: background 0.18s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #8FC1DF;
}
.toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s cubic-bezier(.77,.14,.36,.84);
  box-shadow: 0 1px 5px rgba(33,37,41,0.08);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}
.cookie-modal .cookie-desc {
  color: #636F7B;
  font-size: 0.97rem;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 11px;
}
.cookie-modal .modal-actions button {
  margin-top: 0;
  margin-bottom: 0;
}

/* --- MISC/UTILITY CLASSES --- */
.hidden,
[hidden] {
  display: none !important;
  visibility: hidden !important;
}
.visually-hidden{
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
.m-b-20 {
  margin-bottom: 20px !important;
}
.m-b-32 {
  margin-bottom: 32px !important;
}
.flex-row {
  display: flex !important;
}
.flex-column {
  display: flex !important;
  flex-direction: column !important;
}
.gap-16 {
  gap: 16px !important;
}

/* --- FORMS (should you later use forms) --- */
input, textarea, select {
  background: #F3F6FA;
  border: 1px solid #C6D6E3;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 1rem;
  transition: border .18s, box-shadow .2s;
  margin-bottom: 10px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #8FC1DF;
  box-shadow: 0 1px 8px rgba(33,37,41,0.07);
}
label {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: #212529;
  font-size: 1.01rem;
}

/* --- PRINT (optional) --- */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay {display:none !important;}
}

/* --- END --- */
