/* 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,
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;
  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: #1D3557;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1D3557;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E63946;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}
button {
  cursor: pointer;
}
hr {
  border: 0;
  border-top: 1px solid #e0e0e0;
  margin: 32px 0;
}

/* FONTS --------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  color: #1D3557;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  color: #E63946;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  h1 {font-size: 1.7rem;}
  h2 {font-size: 1.3rem;}
  h3 {font-size: 1.05rem;}
}
.lead {
  font-size: 1.18rem;
  color: #35698d;
  font-weight: 500;
  margin-bottom: 20px;
}
strong { font-weight: 700; }

/* CONTAINER, SECTIONS & WRAPPERS ----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(29,53,87,0.06);
  transition: box-shadow 0.2s;
}
.section:last-child, section:last-child {margin-bottom: 0;}
@media (max-width: 800px) {
  .section, section { padding: 28px 5vw; }
  .container { padding: 0 8px; }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #233b53;
}

/* NAVIGATION & HEADER --------------------------------------------------- */
header {
  background: #1D3557;
  color: #F1FAEE;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 12px 20px;
}
header img {
  height: 38px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.main-nav a {
  color: #F1FAEE;
  font-size: 1.05rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #E63946;
  border-bottom: 2px solid #E63946;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  background: #E63946;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 30px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px 0 rgba(230,57,70,0.11);
  transition: background 0.22s, transform 0.12s;
  margin-left: 24px;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B2222C;
  transform: translateY(-2px) scale(1.05);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  background: #fff;
  color: #E63946;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 30px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border: 2px solid #E63946;
  box-shadow: 0 1px 6px 0 rgba(230,57,70,0.07);
  transition: background 0.2s, color 0.2s, border 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #E63946;
  color: #fff;
  border: 2px solid #E63946;
}

@media (max-width: 1050px) {
  .main-nav { gap: 16px; }
  .btn-primary { margin-left: 12px; padding: 0 23px; font-size: 0.98rem; }
}
/* MOBILE NAVIGATION --------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #E63946;
  border: none;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B2222C;
  box-shadow: 0 0 0 3px #F1FAEE;
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,53,87, 0.97);
  color: #F1FAEE;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.85,0,.13,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 22px 0 24px 24px;
  align-self: flex-start;
  transition: color 0.2s;
  z-index: 2100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E63946;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 34px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 20px 0 2px 0;
  font-weight: 700;
  border-bottom: 1px solid rgba(241,250,238,0.16);
  transition: color 0.16s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E63946;
  background: none;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {display: none !important;}
}

/* HERO & DYNAMIC HEADINGS --------------------------------------------------- */
section:first-of-type {
  background: linear-gradient(113deg,#F1FAEE 70%,#E63946 360%);
  background: #F1FAEE;
  box-shadow: none;
}
h1, .hero-title {
  color: #E63946;
  text-shadow: 0 2px 12px rgba(29,53,87,0.04);
}

/* FEATURE LISTS, ICONS --------------------------------------------------- */
ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
ul li {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
  font-weight: 500;
  gap: 17px;
  padding-left: 4px;
}
ul li img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F1FAEE;
  box-shadow: 0 2px 6px 0 rgba(29,53,87,0.1);
  margin-right: 3px;
}
@media (max-width: 600px) {
  ul { gap: 16px; }
  ul li { font-size: 0.98rem; }
  ul li img { width: 26px; height: 26px; }
}

/* CARDS --------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(29,53,87,0.08);
  border-radius: 22px;
  margin-bottom: 20px;
  padding: 28px 24px 24px 24px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.11s;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(230,57,70,0.13);
  transform: translateY(-3px) scale(1.025);
}

/* TESTIMONIALS --------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F1FAEE;
  border-left: 5px solid #E63946;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(29,53,87,0.04);
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-weight: 500;
  color: #212a36;
  margin-bottom: 0;
}
.testimonial-author {
  font-weight: 700;
  font-size: 1rem;
  color: #E63946;
  font-family: 'Montserrat', Arial, sans-serif;
  display: block;
  margin-left: 14px;
}
@media (max-width: 550px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
    gap: 12px;
  }
  .testimonial-author { margin-left: 0; }
}

/* CONTENT GRIDS --------------------------------------------------- */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid { flex-direction: column; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PRICES -------------------------------------------------- */
.price {
  color: #1D3557;
  background: #E63946;
  padding: 3px 10px 3px 10px;
  border-radius: 11px;
  font-weight: 700;
  margin-left: 9px;
  font-size: 1.01rem;
  letter-spacing: 0.03em;
  display: inline-block;
}

/* FOOTER --------------------------------------------------- */
footer {
  background: #1D3557;
  color: #F1FAEE;
  padding: 36px 0 16px 0;
  margin-top: 40px;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: #F1FAEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E63946;
  border-bottom: 2px solid #E63946;
}
.footer-info {
  font-size: 0.99rem;
  color: #F1FAEE;
  opacity: 0.82;
}
@media (max-width: 600px) {
  .footer-nav {
    gap: 14px;
    font-size: 0.93rem;
  }
}

/* ADDRESS & CONTACT DATA --------------------------------------------------- */
address {
  font-style: normal;
  line-height: 1.6;
  font-size: 1rem;
  color: #233b53;
  margin-bottom: 0;
}
address a {
  color: #E63946;
  font-weight: 600;
}

/* COOKIES CONSENT BANNER & DIALOG ----------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(29,53,87,0.10), 0 -1.5px #E63946;
  z-index: 3000;
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  animation: cookieSlideUp 0.56s cubic-bezier(.74,0,.32,1);
}
@keyframes cookieSlideUp {
  0% { transform: translateY(170px); opacity: 0; } 100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  color: #1D3557;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 1px;
}
.cookie-banner button {
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 28px;
  border: none;
  margin: 0 7px 0 0;
  transition: background 0.19s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(29,53,87,0.04);
}
.cookie-accept {
  background: #E63946;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #B2222C;
}
.cookie-reject {
  background: #fff;
  color: #1D3557;
  border: 2px solid #B2222C;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #f4e7e8;
  color: #B2222C;
}
.cookie-settings {
  background: #1D3557;
  color: #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #233b53;
}

/* COOKIES DIALOG MODAL ---------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(29,53,87,0.48);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.2s;
}
@keyframes fadeInModal {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 400px;
  width: 98vw;
  padding: 36px 26px 28px 26px;
  position: relative;
  box-shadow: 0 8px 40px rgba(29,53,87,0.14);
  z-index: 3800;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalSlideDown .41s cubic-bezier(.8,0,.2,1);
}
@keyframes modalSlideDown {
  0% { transform: translateY(-90px); opacity: 0; } 100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #E63946;
  margin-bottom: 10px;
  font-weight: 900;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.04rem;
  font-weight: 600;
  color: #1D3557;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E63946;
  width: 22px; height: 22px;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject { width: 100%; margin: 10px 0 0 0; }
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #1D3557;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #E63946;
}

/* RESPONSIVE & FLEX SPACING --------------------------------------------- */
@media (max-width: 600px) {
  .container {max-width: 100vw;}
  .section, section {border-radius: 14px;}
  h1, h2 {margin-bottom: 13px;}
  .content-wrapper {gap: 15px;}
}

/* MISC UTILITY CLASSES --------------------------------------------- */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 36px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* MICRO-ANIMATIONS & INTERACTIONS --------------------------------------------- */
a, button, .btn-primary, .btn-secondary {
  transition: color 0.15s, background 0.19s, transform 0.12s, box-shadow 0.18s;
}
.card, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.11s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(230,57,70,0.13);
  transform: translateY(-2px) scale(1.012);
}

/* SCROLLBAR STYLING (ENERGETIC) ------------------------------------------ */
::-webkit-scrollbar {
  width: 10px;
  background: #F1FAEE;
}
::-webkit-scrollbar-thumb {
  background: #E63946;
  border-radius: 14px;
}

/* VIBRANT OVERRIDES / SHADOWS & EFFECTS ---------------------------------- */
.section, section {
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(230,57,70,0.08), 0 1.5px 0 #f1faee;
}

/* SELECTED DETAILS (FOR AA CONTRAST & ENERGY) --------------------------- */
.text-section h3 {
  color: #1D3557;
}
.text-section p {
  color: #212a36;
}

/* Feature icons vibrant bg on hover */
ul li img:hover {
  background: #E63946;
  box-shadow: 0 8px 24px rgba(230,57,70,0.16) !important;
  transition: background 0.2s, box-shadow 0.19s;
}

/* Abnormal large vibrant button for cta */
.cta-main {
  font-size: 1.18rem;
  padding: 0 44px;
  height: 58px;
  letter-spacing: 0.03em;
  background: #E63946;
  box-shadow: 0 2px 12px rgba(230,57,70,0.18);
}

/* DL, ADDRESS, CODE (FOR POLICY PAGES) ---------------------------------- */
dt {font-weight:700; color:#1D3557; margin-bottom:5px;}
dd {margin-bottom:14px; color:#212a36;}
code {background:#f8dbdf; color:#BF2230; border-radius:4px; padding:2px 5px;}

/* FLEXBOX MANDATORY LAYOUTS --------------------------------------------- */
.section, section,
.card-container,
.content-grid,
.text-image-section,
.testimonial-card,
.feature-item {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.section, section, .content-grid, .feature-item {
  flex-direction: column;
}
@media (min-width: 900px) {
  .content-grid, .card-container, .feature-item {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* ENERGETIC FOCUS RING ------------------------------------------ */
:focus {
  outline: 2px solid #E63946 !important;
  outline-offset: 2px;
}

/* VISUAL HIERARCHY - TYPOGRAPHY SYSTEM ---------------------------------- */
.display-1 { font-size: 2.7rem; font-family:'Montserrat'; font-weight:900; color:#E63946; margin-bottom:28px; }
.display-2 { font-size:2.0rem; font-family:'Montserrat'; font-weight:900; color:#1D3557; margin-bottom:20px; }
.subtitle { font-size:1.1rem; color:#E63946; font-weight:700; margin-bottom:4px; }

/* HIDE WHERE NEEDED */
.hide { display: none !important; }

/* PRINT CLEANUP ----------------------------------------------------------- */
@media print{ *,*:before,*:after{background: #fff !important; color:#000 !important; box-shadow:none !important; text-shadow:none !important;} .btn-primary,.btn-secondary,.mobile-menu-toggle,.mobile-menu-close,.cookie-banner,.cookie-modal-overlay{display:none!important;} }
