/* === CSS RESET & NORMALIZATION === */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1FAEE;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #457B9D;
  text-decoration: none;
  transition: color .25s;
}
a:hover, a:focus {
  color: #1D3557;
  text-decoration: underline;
}

/* === BRAND TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #1D3557;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.42rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}
p, li, dt, dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #212529;
  line-height: 1.7;
}
strong {
  font-weight: bold;
  color: #1D3557;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* === CONTAINER AND GENERAL LAYOUT === */
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  padding: 0;
  margin: 0 auto;
}
main {
  min-height: 60vh;
}

/* === SECTION SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* === CREATIVE_ARTISTIC BACKGROUND DECOR === */
section:first-of-type {
  background: linear-gradient(135deg, #F1FAEE 60%, #A8DADC 100%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 2px 24px 0 rgba(69, 123, 157, 0.07);
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 22px 0 rgba(29,53,87,0.06);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1D3557;
  padding: 4px 12px;
  border-radius: 5px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F1FAEE;
  color: #457B9D;
}
.main-nav a.cta-btn {
  background: #457B9D;
  color: #F1FAEE;
  font-weight: 800;
  border-radius: 27px;
  padding: 9px 24px;
  margin-left: 6px;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 12px rgba(69,123,157,0.10);
  transition: background .2s, transform .2s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #1D3557;
  color: #F1FAEE;
  transform: translateY(-2px) scale(1.04);
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 12px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 28px;
  top: 21px;
  width: 44px;
  height: 44px;
  background: #457B9D;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 3px 16px rgba(29,53,87,0.13);
  transition: background .2s;
  z-index: 1050;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1D3557;
}
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F1FAEE;
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 4px 0 36px rgba(29,53,87,0.25);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 32px 28px 18px 0;
  background: #1D3557;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 6px 18px 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #457B9D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0 34px;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.38rem;
  color: #1D3557;
  padding: 12px 0;
  border-radius: 8px;
  background: none;
  width: 100%;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #457B9D;
  color: #F1FAEE;
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-close {
    display: none !important;
  }
  .main-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
}

/* === HERO / PROMO CTAs === */
.cta-btn, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  background: #457B9D;
  color: #F1FAEE;
  border: none;
  border-radius: 36px;
  padding: 12px 29px;
  margin-top: 18px;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(69,123,157,0.13);
  transition: background .19s, transform .19s, box-shadow .19s;
  text-align: center;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1D3557;
  color: #F1FAEE;
  transform: translateY(-3px) scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 22px rgba(29,53,87,0.18);
}
.cta-secondary {
  background: #F1FAEE;
  color: #457B9D;
  border: 2px solid #457B9D;
  margin-left: 10px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #457B9D;
  color: #F1FAEE;
}

/* === CREATIVE LIST ICONS & FEATURES === */
ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  font-size: 1.03rem;
}
li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #F1FAEE;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(29,53,87,0.04);
}

/* === FLEXBOX PATTERNS required by MISSION === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(29,53,87,0.09);
  padding: 27px 22px 22px 22px;
  transition: box-shadow .19s, transform .19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(69,123,157,0.15);
  transform: translateY(-2px) scale(1.024) rotate(-1.5deg);
}
.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;
  padding: 20px;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 20px 50px 16px 22px;
  box-shadow: 0 8px 34px rgba(69,123,157,0.07);
  border-left: 5px solid #A8DADC;
  max-width: 500px;
}
.testimonial-card p {
  color: #1D3557;
  font-style: italic;
  font-size: 1.13rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #FFD43B;
  font-size: 1.15em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(69,123,157,0.09);
  border-radius: 17px;
  padding: 18px 21px;
  margin-bottom: 20px;
}

/* === PROMOTIONS BANNER === */
.promotions-banner {
  background: #457B9D;
  color: #F1FAEE;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(29,53,87,0.09);
  padding: 26px 19px;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.02em;
}
.promotions-banner h2 {
  color: #F1FAEE;
  margin-bottom: 12px;
}
.promotions-banner a {
  color: #FFD43B;
  font-weight: bold;
}
.promotions-banner a:hover {
  color: #fff;
}

/* === BLOG POST CARDS === */
.blog-post-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 34px;
}
.blog-post-cards article {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 10px rgba(69,123,157,0.07);
  flex: 1 1 265px;
  min-width: 250px;
  padding: 26px 24px 18px 24px;
  position: relative;
}
.blog-post-cards article h3 {
  color: #1D3557;
  font-size: 1.22rem;
}
.blog-post-cards article a {
  color: #1D3557;
  font-weight: bold;
  margin-top: 18px;
  display: inline-block;
  transition: color .16s;
}
.blog-post-cards article a:hover {
  color: #457B9D;
}

/* === TEAM GRID === */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.team-grid > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(69,123,157,0.07);
  padding: 22px 18px;
  font-family: 'Montserrat', Arial,sans-serif;
  min-width: 220px;
  flex: 1 1 200px;
}

/* === FAQ / QUESTIONS === */
dl {
  margin-top: 12px;
}
dt {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #457B9D;
  margin-bottom: 4px;
  margin-top: 10px;
}
dd {
  margin-bottom: 16px;
  margin-left: 0;
  color: #212529;
}

/* === TEXT SECTIONS === */
.text-section {
  margin-bottom: 16px;
  font-size: 1.11rem;
  line-height: 1.72;
}

/* === FOOTER === */
footer {
  background: #1D3557;
  color: #F1FAEE;
  letter-spacing: 0.01em;
}
footer .pre-fade-in {
  background: transparent !important;
  margin-bottom: 0;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: 43px 0 15px 0;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-info > img {
  width: 70px;
  margin-bottom: 13px;
}
.footer-info nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-info nav a {
  color: #F1FAEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  opacity: 0.97;
  text-decoration: none;
  margin-bottom: 2px;
  transition: color .17s, opacity .15s;
}
.footer-info nav a:hover, .footer-info nav a:focus {
  color: #FFD43B;
  text-decoration: underline;
  opacity: 1;
}
.contact-short {
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F1FAEE;
  margin-top: 7px;
}
.contact-short img {
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}

/* === COOKIES CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #457B9D;
  color: #F1FAEE;
  padding: 24px 17px 17px 17px;
  box-shadow: 0 -2px 14px rgba(29,53,87,0.18);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  z-index: 1200;
  transition: transform .33s cubic-bezier(.81,-0.41,.08,1.44), opacity .18s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(160%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  color: #F1FAEE;
  flex: 1 1 auto;
  margin-right: 20px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
  padding: 11px 22px;
  color: #1D3557;
  background: #FFD43B;
  cursor: pointer;
  margin-right: 0;
  transition: background .17s, color .15s;
}
.cookie-btn.accept {
  background: #FFD43B;
  color: #1D3557;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F1FAEE;
  color: #457B9D;
}
.cookie-btn.reject {
  background: #F1FAEE;
  color: #457B9D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E63946;
  color: #fff;
}
.cookie-btn.settings {
  background: #A8DADC;
  color: #1D3557;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #457B9D;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 8px 8px 8px;
    font-size: .97rem;
  }
  .cookie-banner-actions {
    gap: 10px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1300;
  background: rgba(29,53,87,0.55);
  opacity: 1;
  transition: opacity .21s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #1D3557;
  border-radius: 22px;
  padding: 36px 28px 26px 28px;
  width: 95vw;
  max-width: 410px;
  box-shadow: 0 8px 36px rgba(69,123,157,0.21);
  animation: cookiePopin .41s cubic-bezier(.75,-0.32,.38,1.81);
}
@keyframes cookiePopin {
  from { transform: scale(0.75) translateY(120px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #457B9D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 13px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #457B9D;
}
.cookie-category label { font-size: 1.11rem; color: #1D3557; }
.cookie-category.essential label {
  font-weight: bold;
  color: #1D3557;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
}
.cookie-modal-actions .cookie-btn {
  flex: 1 1 0px;
}

/* === RESPONSIVE LAYOUT === */
@media (max-width: 1024px) {
  .footer-info {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .promotions-banner {
    font-size: 1.045rem;
  }
}
@media (max-width: 900px) {
  .team-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .blog-post-cards {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.08rem; }
  section, .section {
    padding: 20px 5px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 7px;
  }
  .main-nav {
    display: none;
  }
  .testimonial-card:not(:last-child) {
    margin-bottom: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}
@media (max-width: 540px) {
  .footer-info > img {
    width: 52px;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 18px 7px 14px 7px;
  }
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .feature-item, .testimonial-card, .blog-post-cards article {
  transition: box-shadow .178s, transform .19s;
}
.card:hover, .feature-item:hover,
.blog-post-cards article:hover {
  transform: translateY(-2px) scale(1.018) rotate(-2deg);
  box-shadow: 0 6px 38px rgba(29,53,87,0.15);
}

button, .cta-btn, .cta-secondary, input[type="submit"] {
  transition: background .12s, color .14s, box-shadow .14s, transform .14s;
}

input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  border: 1px solid #A8DADC;
  padding: 8px 12px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  margin-bottom: 12px;
  width: 100%;
  transition: border .15s, background .12s;
}
input:focus, select:focus, textarea:focus {
  border-color: #457B9D;
  background: #F1FAEE;
}
input[type="checkbox"], input[type="radio"] {
  width: 18px;
  height: 18px;
  padding: 0;
  margin-right: 7px;
  accent-color: #457B9D;
}

/* === SPACING AND GAPS (MINIMUM 20px BETWEEN CARDS/SECTIONS) === */
.card + .card, .feature-item + .feature-item, .testimonial-card + .testimonial-card, .blog-post-cards article + article {
  margin-left: 0;
  margin-top: 20px;
}
section + section {
  margin-top: 20px;
}

/* === ACCESSIBLE FOCUS STATES === */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px dashed #457B9D;
  outline-offset: 1.5px;
}

/* === CREATIVE/ARTISTIC UNIQUE ELEMENTS === */
section h2, .promotions-banner h2, .footer-info nav a {
  position: relative;
}
section h2::after, .promotions-banner h2::after {
  content: '';
  display: block;
  width: 58px;
  height: 4px;
  background: #FFD43B;
  border-radius: 3px;
  margin: 12px 0 0 0;
}

/* Artistic font touches on headings */
h1, h2, .cta-btn, .main-nav a.cta-btn {
  letter-spacing: .02em;
  font-variant: small-caps;
}

/* Fun squiggle / splash accent under cta-btn on hero section */
.cta-btn::after {
  content: '';
  display: block;
  margin: 0 auto;
  margin-top: -15px;
  width: 46px;
  height: 11px;
  background: url('assets/squiggle.svg') center/contain no-repeat;
  pointer-events: none;
}

/* === Z-INDEX ADJUSTMENTS === */
header { z-index: 10; position:relative; }
.mobile-menu { z-index: 1100; }
.cookie-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 1300; }

/* === HIDE VISUALLY === */
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  outside:none;
  border:0;
  clip:rect(0,0,0,0);
  overflow:hidden;
}

/* === END OF CSS === */
