/* Prism Vista – style.css (Elegant Classic Style, Flexbox Only) */

/*************************
 * CSS RESET & BASE STYLES
 *************************/
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #f2f7fa;
  color: #232946;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #232946;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #eebbc3;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}

/********************
 * TYPOGRAPHY
 ********************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  color: #232946;
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }

p, ul, ol, blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  color: #232946;
  border-left: 4px solid #eebbc3;
  padding-left: 16px;
  margin: 24px 0;
  background: #fff;
  border-radius: 4px;
}
.editor-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #6a6b7c;
  border-left: 4px solid #eebbc3;
  background: #f6f4f5;
  padding: 16px 22px;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 5px;
}
small {
  color: #7b7b8a;
  font-size: 0.95rem;
}

/********************
 * LAYOUT CONTAINERS
 ********************/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/********************
 * HEADER NAVIGATION
 ********************/
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(35, 41, 70, 0.04);
  border-bottom: 1px solid #e6e7ef;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header a img {
  max-height: 46px;
  min-height: 28px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1.05rem;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  color: #232946;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #eebbc3;
}
.mobile-menu-toggle {
  display: none;
  background: #eebbc3;
  border: none;
  color: #232946;
  font-size: 2rem;
  padding: 10px 14px;
  border-radius: 6px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #232946;
  color: #fff;
}
.btn-primary {
  display: inline-block;
  background: #232946;
  color: #fff;
  border-radius: 6px;
  padding: 10px 28px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(35, 41, 70, 0.04);
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #eebbc3;
  color: #232946;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(35, 41, 70, 0.12);
}

/*******************
 * MOBILE NAV MENU
 *******************/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 330px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 28px rgba(35, 41, 70, 0.18);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  padding: 28px 28px 28px 32px;
  gap: 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #232946;
  padding: 4px 4px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #eebbc3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 14px 0;
  color: #232946;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #eebbc3;
}

/*******************
 * HERO BLOCK
 *******************/
.hero {
  background: #fff;
  box-shadow: 0 3px 32px rgba(35, 41, 70, 0.045);
  border-radius: 14px;
  margin-top: 24px;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 38px 0 42px 0;
}
.hero h1 {
  font-size: 2.6rem;
  color: #232946;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.2rem;
  color: #454664;
  margin-bottom: 24px;
}

/*******************************
 * FLEXBOX CONTENT/SECTION STYLES
 *******************************/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(35,41,70,0.07);
}
.feature-grid,
.article-list,
.tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 14px;
}
.article-list {
  flex-direction: column;
  gap: 24px;
}
/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 32px;
  margin-bottom: 20px;
  background: #f2f7fa;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(35,41,70,0.05);
  border: 1px solid #e6e7ef;
  color: #232946;
  max-width: 520px;
}
.testimonial-card span:last-child {
  color: #eebbc3;
  font-size: 1.3rem;
}
.feature-grid > div,
.tip-card {
  flex: 1 1 220px;
  background: #fafaff;
  border-radius: 7px;
  border: 1px solid #e6e7ef;
  padding: 22px 18px 20px 18px;
  min-width: 180px;
  box-shadow: 0 1px 10px rgba(35,41,70,0.04);
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid > div:hover,
.tip-card:hover {
  box-shadow: 0 8px 26px rgba(35,41,70,0.10);
  transform: translateY(-2px) scale(1.025);
}
.tip-cards {
  margin-bottom: 12px;
}
.tip-card {
  margin-bottom: 0;
}

/***********************
 * ARTICLE TAGS & CARDS
 ***********************/
.tag {
  display: inline-block;
  background: #eebbc3;
  color: #232946;
  border-radius: 5px;
  font-size: 0.92rem;
  padding: 2px 10px;
  margin-right: 10px;
  margin-top: 6px;
  margin-bottom: 8px;
  vertical-align: middle;
  font-family: 'Montserrat', Arial, sans-serif;
}
.article-list article {
  background: #fafaff;
  border: 1px solid #e6e7ef;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 1px 12px rgba(35,41,70,0.06);
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
  gap: 6px;
  transition: box-shadow 0.21s, transform 0.21s;
}
.article-list article:hover {
  box-shadow: 0 7px 20px rgba(35,41,70,0.13);
  transform: translateY(-4px) scale(1.01);
}
.article-list a {
  color: #232946;
  font-weight: 600;
  margin-top: 4px;
  transition: color 0.18s;
}
.article-list a:hover {
  color: #eebbc3;
}

/*****************
 * BUTTON STYLES
 *****************/
button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
}
button:focus, .btn-primary:focus {
  outline: 2px solid #eebbc3;
  outline-offset: 2px;
}
form input[type="email"] {
  width: 260px;
  padding: 10px 14px;
  border-radius: 5px;
  border: 1px solid #cacadb;
  font-family: inherit;
  font-size: 1.05rem;
  margin-right: 14px;
  transition: border 0.21s;
  margin-bottom: 14px;
}
form input[type="email"]:focus {
  border: 1.5px solid #eebbc3;
  outline: none;
}
form button {
  vertical-align: middle;
}

/*****************
 * CARDS & LISTS
 *****************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 290px;
  background: #fafaff;
  border: 1px solid #e6e7ef;
  border-radius: 8px;
  box-shadow: 0 1px 11px rgba(35,41,70,0.05);
  transition: box-shadow 0.17s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 26px rgba(35,41,70,0.10);
  transform: translateY(-2px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 18px;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*****************
 * FOOTER STYLES
 *****************/
footer {
  background: #232946;
  color: #fff;
  padding: 40px 0 24px 0;
  border-top: 2px solid #eebbc3;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-logo img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.93;
  padding: 7px 12px;
  transition: background 0.18s, color 0.18s, opacity 0.22s;
  border-radius: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #232946;
  background: #eebbc3;
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #e5e7ef;
  font-size: 0.97rem;
}
.contact-info img {
  height: 18px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}
.contact-info a {
  color: #eebbc3;
  text-decoration: underline;
}
.social-media {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 8px 0;
}
.social-media a img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.20) contrast(1.3);
  opacity: 0.94;
  transition: filter 0.16s, opacity 0.16s;
}
.social-media a:hover img {
  filter: none;
  opacity: 1;
}
.footer-copy {
  width: 100%;
  font-size: 0.93rem;
  color: #cacadb;
  margin-top: 16px;
}

/*********************
 * COOKIE CONSENT BANNER
 *********************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #232946;
  color: #fff;
  padding: 24px 12px 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 34px rgba(35,41,70,0.14);
  gap: 18px;
  font-size: 1.1rem;
  animation: cookieSlideIn 0.7s cubic-bezier(.68,-0.45,.27,1.1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-right: 12px;
  margin-top: 6px;
  margin-bottom: 0;
  background: #eebbc3;
  color: #232946;
  border-radius: 5px;
  border: none;
  padding: 8px 21px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35,41,70,0.08);
  transition: filter 0.13s, background 0.16s, color 0.16s;
}
.cookie-banner button:hover {
  background: #fff;
  color: #232946;
  filter: brightness(1.08);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #eebbc3;
  border: 1.2px solid #eebbc3;
  padding: 8px 15px;
  margin-right: 0;
  margin-left: 6px;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #eebbc3;
  color: #232946;
}

/**********************
 * COOKIE MODAL POPUP
 **********************/
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 4000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,41,70,0.32);
  justify-content: center;
  align-items: center;
  animation: cookieModalIn 0.33s cubic-bezier(.68,-0.45,.27,1.1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #232946;
  border-radius: 10px;
  min-width: 315px;
  max-width: 96vw;
  padding: 36px 40px 32px 40px;
  box-shadow: 0 8px 40px rgba(35,41,70,0.23);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  position: relative;
}
.cookie-modal .cookie-modal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}
.cookie-modal .cookie-category {
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.cookie-modal .cookie-switch {
  margin-left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cookie-modal .cookie-modal-actions {
  width: 100%;
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  color: #eebbc3;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #232946;
}

/***********************
 * RESPONSIVE LAYOUT (MOBILE FIRST)
 ***********************/
@media (max-width: 1080px) {
  .container {
    max-width: 930px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-nav, .main-nav {
    gap: 16px;
  }
  .hero .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 760px;
  }
  footer .container {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 12px;
  }
  header .container {
    flex-wrap: wrap;
    gap: 7px;
  }
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    margin-top: 6px;
    margin-bottom: 30px;
  }
  .hero .container {
    min-height: 140px;
    flex-direction: column;
    text-align: center;
    padding: 22px 0 26px 0;
  }
  section {
    padding: 26px 5vw;
    margin-bottom: 40px;
  }
  .feature-grid, .article-list, .tip-cards, .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 12px;
  }
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
  .footer-logo img {
    height: 32px;
  }
}
@media (max-width: 500px) {
  .hero h1 { font-size: 1.6rem; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.16rem; }
  .cookie-modal .cookie-modal-content {
    min-width: 0;
    padding: 16px 7vw;
  }
}

/******************************
 * UTILITIES & MICRO-INTERACTIONS
 ******************************/
::-webkit-input-placeholder { color: #b0b1c9; opacity: 1; }
::-moz-placeholder          { color: #b0b1c9; opacity: 1; }
:-ms-input-placeholder      { color: #b0b1c9; opacity: 1; }
::placeholder              { color: #b0b1c9; opacity: 1; }

hr {
  border: none;
  border-top: 1.5px solid #e6e7ef;
  margin: 30px 0;
}

/*********************************
 * SECTION AND CARD SPACING RULES
 *********************************/
section, .card, .testimonial-card, .tip-card, .feature-grid>div {
  margin-bottom: 20px;
}

/******************************
 * NO GRID/COLUMNS ALLOWED
 * (Flexbox-Only enforced in above selectors)
 ******************************/
