/* RESET & BASE --------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  color: #23395D;
  background: #F9FAFB;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #E53935;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23395D;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}
main {
  flex: 1 0 auto;
}

/* CONTAINER ------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4 {
  color: #23395D;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}
h4 {
  font-size: 1.1rem;
}
p, li, blockquote {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
blockquote {
  font-size: 1.125rem;
  color: #23395D;
  font-style: italic;
  background: #FFFFFF;
  border-left: 5px solid #E53935;
  padding: 16px 24px;
  margin: 0;
  border-radius: 8px 16px 16px 8px;
  box-shadow: 0 2px 16px 0 rgba(35,57,93,0.07);
  margin-bottom: 12px;
}
blockquote span {
  display: block;
  font-size: 0.9375rem;
  font-style: normal;
  color: #E53935;
  margin-top: 12px;
}
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
li strong {
  color: #E53935;
  font-weight: bold;
}

/* LAYOUT SECTION SPACING ------------------------------------------------ */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.section:last-child, section:last-child {
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 6px 32px 0 rgba(229,57,53,0.10), 0 1.5px 6px 0 rgba(35,57,93,0.07);
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}
.quick-stats {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 1.1875rem;
  color: #E53935;
  font-weight: 700;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* HERO ------------------------------------------------------------------ */
.hero {
  background: #23395D linear-gradient(90deg, #23395D 75%, #E53935 100%);
  color: #fff;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 2.5px 32px 0 rgba(35,57,93,0.18);
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  padding: 64px 20px 48px 20px;
}
.hero .content-wrapper {
  gap: 24px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 6px 32px rgba(35,57,93,0.20);
}
.hero p {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
}
.hero .cta {
  background: #fff;
  color: #E53935;
}


/* NAVIGATION (DESKTOP & MOBILE) ----------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 1.5px 12px 0 rgba(35,57,93,0.07);
  position: sticky;
  top: 0;
  z-index: 1030;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 16px 20px 16px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
header nav a {
  color: #23395D;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a.cta {
  background: #E53935;
  color: #fff;
  font-weight: 700;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 1.1rem;
  box-shadow: 0px 4px 18px -6px #E5393520;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #23395D;
  color: #fff;
}
header nav a:hover, header nav a:focus {
  background: #f5f5f5;
  color: #E53935;
}
header nav img {
  max-height: 48px;
  margin-right: 10px;
  margin-left: 0;
}

.mobile-menu-toggle {
  display: none;
  background: #E53935;
  color: #fff;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 1201;
  cursor: pointer;
  box-shadow: 0px 4.5px 21px -8px #E5393529;
  transition: box-shadow 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  box-shadow: 0px 1.5px 6px #23395D33;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #fff;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.36,1.14,.28,1);
  box-shadow: 2px 0 44px 0 rgba(229,57,53,0.07);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 21px 0 0;
  background: transparent;
  color: #23395D;
  font-size: 2.25rem;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1220;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E53935;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 30px;
  font-size: 1.35rem;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: #23395D;
  padding: 10px 0 10px 8px;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FBE7E6;
  color: #E53935;
}
/* Hide navigation bar links on smaller screens, show burger */
@media (max-width: 960px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}


/* CTA BUTTONS ----------------------------------------------------------- */
.cta, .cta-form a.cta {
  display: inline-block;
  background: #E53935;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 24px;
  padding: 13px 32px;
  cursor: pointer;
  box-shadow: 0 6px 32px 0 rgba(229,57,53,0.10), 0 1.5px 6px 0 rgba(35,57,93,0.07);
  text-shadow: none;
  margin: 0 8px 0 0;
  transition: background 0.13s, color 0.13s, box-shadow 0.33s;
  text-align: center;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #23395D;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(35,57,93,0.12);
}
.cta-form {
  margin-top: 25px;
}

/* CARDS, FEATURES ------------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: flex-start;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(35,57,93,0.08);
  flex: 1;
  min-width: 230px;
  max-width: 320px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.feature-item img {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 12px 48px 0 rgba(229,57,53,0.13), 0 2.5px 10px 0 rgba(35,57,93,0.11);
  transform: translateY(-8px) scale(1.025);
}
.feature-item h3 {
  font-size: 1.15rem;
  color: #E53935;
  margin-bottom: 2px;
}
.feature-item p {
  font-size: 1rem;
}

/* TESTIMONIALS ---------------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9FAFB;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 9px 0 rgba(35,57,93,0.07);
  border: 1.5px solid #E4E9F3;
}
.testimonial-card .stars {
  display: flex;
  gap: 2px;
  align-items: center;
  min-width: 85px;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 5px solid #E53935;
  color: #23395D;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0 0 0 16px;
  font-size: 1.08rem;
}
.testimonial-card blockquote span {
  color: #E53935;
  margin-top: 5px;
}
/* Testimonial responsive text color for contrast */
@media (max-width: 768px) {
  .testimonial-card blockquote, .testimonial-card { color: #23395D; }
}

/* CONTACT INFO ---------------------------------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #23395D;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 0;
}
.map-placeholder {
  background: #fff;
  border: 1px dashed #E53935;
  border-radius: 12px;
  padding: 32px 0;
  color: #23395D99;
  text-align: center;
  font-style: italic;
  font-size: 1rem;
  margin-top: 14px;
  margin-bottom: 32px;
}

/* TABLES (Prices) ------------------------------------------------------ */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 18px;
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(35,57,93,0.06);
}
thead tr {
  background: #23395D;
  color: #fff;
  font-size: 1.15rem;
}
th, td {
  padding: 16px 18px;
  border-bottom: 1px solid #FBE7E6;
  text-align: left;
}
th:last-child, td:last-child {
  text-align: right;
}
tbody tr:hover {
  background: #FBE7E6;
}

/* FOOTER --------------------------------------------------------------- */
footer {
  background: #23395D;
  color: #fff;
  padding: 36px 0 0 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 24px 20px;
}
.footer-content nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-content nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.92;
  transition: color 0.11s, opacity 0.19s;
}
.footer-content nav a:hover, .footer-content nav a:focus {
  color: #E53935;
  opacity: 1;
}
.footer-content img {
  margin-bottom: 8px;
  max-height: 44px;
}
.company-address p {
  font-size: 0.95rem;
  opacity: 0.79;
}
.social-media {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.social-media a img {
  width: 32px; height: 32px;
  transition: filter 0.16s, transform 0.19s;
}
.social-media a:hover img, .social-media a:focus img {
  filter: brightness(1.35) saturate(2);
  transform: scale(1.14) rotate(-9deg);
}
.legal-disclaimer {
  margin-top: 14px;
  font-size: 0.88rem;
  opacity: 0.66;
}

/* MEDIA QUERIES -------------------------------------------------------- */
@media (max-width: 1024px) {
  .container { max-width: 860px; }
  .footer-content { max-width: 960px; }
}
@media (max-width: 850px) {
  .feature-grid { gap: 20px; }
  .footer-content nav { gap: 12px; }
}
@media (max-width: 768px) {
  .container, .footer-content {
    max-width: 100%;
    padding: 0 12px 12px 12px;
  }
  .content-wrapper { gap: 23px; }
  .hero .container { padding: 40px 12px 28px 12px; }
  .section, section { padding: 32px 8px 32px 8px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.37rem; }
  .feature-item {
    min-width: 180px;
    max-width: unset;
    padding: 16px 11px;
  }
  .feature-grid {
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 14px;
  }
  .quick-stats {
    gap: 14px; font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-content { gap: 13px; padding: 0 10px 16px 10px; }
  .footer-content nav { flex-direction: column; gap: 7px; }
  .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .hero { min-height: 165px; border-radius: 0 0 15px 15px; }
  .hero .container { padding: 32px 6px 17px 6px; }
  .container, .footer-content { padding: 0 2.5vw 10px 2.5vw; }
  .section, section { padding: 16px 2px 18px 2px; }
  .cta, .cta-form a.cta { font-size: 1rem; padding: 12px 18px; }
  .card { padding: 16px 8px; }
}

/* ANIMATIONS & TRANSITIONS ---------------------------------------------- */
.feature-item, .testimonial-card, .card, .cta, .mobile-menu {
  transition: box-shadow 0.21s cubic-bezier(.27,.77,.48,1.02),
              background 0.16s, color 0.17s, transform 0.18s;
}

/* COOKIE CONSENT BANNER ------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #23395D;
  color: #fff;
  box-shadow: 0 -2px 16px 0 rgba(35,57,93,0.19), 0 -1.5px 12px 0 rgba(229,57,53,0.11);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1999;
  font-size: 1.05rem;
  animation: showCookieBanner 0.7s cubic-bezier(.27,1,.48,1.03) 0.2s both;
}
@keyframes showCookieBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 6px;
}
.cookie-banner button {
  background: #E53935;
  color: #fff;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.19s;
  margin-right: 3px;
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: #E53935;
  border: 2px solid #E53935;
}
.cookie-banner button.cookie-settings {
  background: #23395D;
  color: #fff;
  border: 1.1px solid #FBE7E6;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #23395D;
  color: #fff;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #FBE7E6;
  color: #E53935;
}

/* COOKIE PREFERENCES MODAL ---------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,57,93,0.67);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #23395D;
  padding: 36px 26px 24px 26px;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(35,57,93,0.16);
  max-width: 96vw;
  width: 370px;
  animation: cookieModalIn 0.38s cubic-bezier(.16,.77,.68,1.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: translateY(70px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #E53935;
  font-size: 2.05rem;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 12px;
  line-height: 1;
  z-index: 2010;
}
.cookie-modal h2 {
  color: #23395D;
  font-size: 1.37rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: #23395D;
}
.cookie-toggle {
  width: 44px;
  height: 28px;
  border-radius: 14px;
  background: #FBE7E6;
  position: relative;
  transition: background 0.14s;
  cursor: pointer;
  border: 1.5px solid #E53935;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 24px;
  height: 24px;
  background: #E53935;
  border-radius: 50%;
  transition: left 0.21s, background 0.14s;
}
.cookie-toggle input:checked + .toggle-slider {
  left: 18px;
  background: #23395D;
}
.cookie-category .always-on {
  color: #E53935;
  font-weight: 700;
  font-size: 0.98rem;
  margin-left: 8px;
}
.cookie-modal .cookie-btn-row {
  justify-content: flex-end;
  gap: 11px;
  margin-top: 10px;
}

/* CONFIRMATION (THANK YOU PAGE) ---------------------------------------- */
.confirmation .content-wrapper {
  align-items: center;
  gap: 35px;
  justify-content: center;
}
.confirmation h1 {
  color: #E53935;
}
.confirmation .cta {
  margin-top: 16px;
}

/* GENERAL UI ENHANCEMENTS ---------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #F9FAFB;
}
::-webkit-scrollbar-thumb {
  background: #E4E9F3;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E53935;
}
:focus-visible {
  outline: 2px solid #E53935;
  outline-offset: 2px;
}

/* HIGH ENERGY DECORATIVE FX -------------------------------------------- */
.card:before, .feature-item:before, .cta:before {
  content: '';
  display: none;
}
/* (Room for further high-energy animated elements) */

/* ENSURE NO GRID OR COLUMN PROPERTIES; FLEX ONLY ----------------------- */

/*-- END OF STYLE.CSS --------------------------------------------------- */
