/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: linear-gradient(135deg, #F1FAEE 0%, #e9f3fd 100%);
  color: #222;
  min-height: 100vh;
  line-height: 1.65;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1D3557;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #457B9D;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1D3557;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}

strong {
  color: #1D3557;
  font-weight: 700;
}

p {
  margin-bottom: 16px;
}

/* LAYOUT SPACING & PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(29,53,87,0.06);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.card-container,
.card-grid,
.feature-grid,
.review-list,
.news-list,
.event-list{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(69,123,157,0.08);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}
.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: 20px;
  background: #F1FAEE;
  border-left: 5px solid #457B9D;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(69,123,157,0.09);
  max-width: 540px;
  color: #1D3557;
}
.testimonial-meta {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.1px;
  opacity: 0.9;
}
blockquote {
  quotes: "\201C" "\201D";
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  font-style: italic;
  color: #222;
}
blockquote:before {
  content: open-quote;
  color: #457B9D;
  font-size: 2rem;
}
blockquote:after {
  content: close-quote;
  color: #457B9D;
  font-size: 2rem;
}

.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px 16px 16px;
  box-shadow: 0 2px 10px rgba(69,123,157,0.08);
  min-width: 220px;
  flex: 1 1 220px;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}

.service-list,
.feature-list,
.step-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
  padding-left: 0;
  list-style: none;
}
.service-list li,
.feature-list li,
.step-list li{
  background: #F1FAEE;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(69,123,157,0.05);
}

/* HERO & CTA */
.hero {
  background: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
  color: #fff;
  border-radius: 0 0 32px 32px;
  padding: 60px 0 40px 0;
  margin-bottom: 50px;
}
.hero h1,
.hero p {
  color: #fff;
}
.cta {
  background: linear-gradient(120deg, #457B9D 0%, #F1FAEE 100%);
  color: #1D3557;
  border-radius: 24px;
  margin-bottom: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  box-shadow: 0 6px 24px rgba(29,53,87,0.06);
}
.cta h2,
.cta p {
  color: #1D3557;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(69,123,157,0.06);
}
thead th {
  background: #457B9D;
  color: #fff;
  padding: 12px 10px;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid #F1FAEE;
  font-size: 1rem;
  color: #1D3557;
}
tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #457B9D 0%, #1D3557 100%);
  color: #fff;
  padding: 40px 0 20px 0;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.98rem;
  flex: 1 1 220px;
}
.footer-info img {
  width: 48px;
  height: 48px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-end;
  font-size: 1rem;
  margin-top: 16px;
}
.footer-menu a {
  color: #F1FAEE;
  opacity: 0.88;
  transition: opacity 0.18s;
}
.footer-menu a:hover {
  opacity: 1;
}
address {
  font-style: normal;
  color: #F1FAEE;
}

/* BUTTONS & LINKS */
.button-primary,
.button-secondary {
  padding: 13px 30px;
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.22s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 16px rgba(29,53,87,0.08);
  margin-top: 10px;
  display: inline-block;
  outline: none;
}
.button-primary {
  background: linear-gradient(90deg,#1D3557 60%, #457B9D 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(69,123,157,0.12);
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg,#457B9D 60%, #1D3557 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(29,53,87,0.16);
}
.button-secondary {
  background: transparent;
  color: #457B9D;
  border: 2px solid #457B9D;
}
.button-secondary:hover, .button-secondary:focus {
  background: #f1faee;
  color: #1D3557;
  border-color: #1D3557;
}

/* FORMS & SELECT */
input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}
select {
  padding: 9px 15px;
  border-radius: 7px;
  border: 1px solid #BFD7EA;
  outline: none;
  background: #fff;
  color: #1D3557;
  margin-left: 8px;
  transition: border 0.18s;
}
select:focus {
  border: 1.5px solid #457B9D;
}
label {
  margin-right: 10px;
  font-weight: 500;
}

/* HIGHLIGHTED, INFO & MESSAGING */
.highlighted-models, .pricing-info {
  background: #e1f0fd;
  color: #1D3557;
  border-left: 4px solid #457B9D;
  border-radius: 7px;
  font-size: 1rem;
  padding: 16px 22px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.consultation-details, .support-descriptions, .next-steps {
  background: #f7fafd;
  border-radius: 8px;
  padding: 14px 18px;
  color: #222;
  font-size: 1rem;
  margin-bottom: 18px;
}

/* REVIEW & NEWS CONTROLS */
.review-controls, .news-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  margin-bottom: 10px;
}
.news-category {
  display: inline-block;
  background: #457B9D;
  color: #fff;
  border-radius: 7px;
  padding: 3px 11px;
  font-size: 0.98rem;
  margin-bottom: 7px;
}

/* CONTACT DATA */
.contact-data {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1.05rem;
  background: #F1FAEE;
  border-radius: 10px;
  padding: 17px 14px;
  margin-bottom: 18px;
  color: #1D3557;
}

/* THANK YOU MESSAGE */
.thank-you-message {
  background: #ECF5F8;
  border-radius: 11px;
  padding: 18px 20px 18px 20px;
  color: #1D3557;
  font-size: 1.08rem;
  margin-bottom: 16px;
}

/* LEGAL PAGE SECTIONS */
.legal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(29,53,87,0.07);
  margin: 42px 0 32px 0;
  padding: 38px 0;
}

/* HEADER + NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 22px rgba(29,53,87,0.09);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header > img {
  margin: 20px 0 18px 0;
  max-height: 46px;
  display: block;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1D3557;
  opacity: 0.93;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
}
nav a:not(.button-primary):hover {
  background: #F1FAEE;
  color: #457B9D;
}
nav a.button-primary {
  margin-left: 4px;
}
nav a.button-primary {
  padding: 8px 22px;
  font-size: 1rem;
}

/* BURGER MENU / MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #457B9D;
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1012;
  outline: none;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #1D3557;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg,#1D3557 80%, #457B9D 100%);
  color: #fff;
  z-index: 11000;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px 20px 28px;
  box-shadow: 0 0 90px 0 rgba(30,52,87,0.42);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  font-weight: bold;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  outline: none;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F1FAEE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
  width: 100%;
}
.mobile-nav a {
  color: #F1FAEE;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 10px 0 10px 6px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover {
  background: rgba(241,250,238,0.13);
}

@media (max-width: 1050px) {
  .container {
    max-width: 95vw;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .footer-menu {
    flex-wrap: wrap;
    gap: 8px;
  }
  .feature-grid {
    gap: 15px;
  }
}
@media (max-width: 860px) {
  .feature-grid, .content-grid, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .hero, .cta {
    padding-left: 0;
    padding-right: 0;
    border-radius: 0 0 20px 20px;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header {
    padding-bottom: 0;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-info, .footer-menu {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .feature-item, .feature, .testimonial-card, .section {
    padding: 16px 6px;
    border-radius: 10px;
  }
  .container {
    padding: 0 4px;
  }
}

/* ANIMATIONS & MICROINTERACTIONS */
.button-primary, .button-secondary, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: all 0.25s cubic-bezier(.23,1.04,.62,1.11);
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 4px 20px rgba(29,53,87,0.21);
  transform: translateY(-2px) scale(1.01);
}
.service-list li:hover, .feature-list li:hover, .step-list li:hover {
  background: #e9f3fd;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 12010;
  background: #fff;
  color: #1D3557;
  border-radius: 19px;
  padding: 24px 28px 22px 28px;
  box-shadow: 0 4px 32px rgba(29,53,87,0.14);
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  padding: 8px 23px;
  cursor: pointer;
  margin-right: 4px;
  margin-bottom: 4px;
  transition: background 0.17s, color 0.16s, box-shadow 0.2s;
  outline: none;
}
.cookie-banner button.accept {
  background: #457B9D;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #1D3557;
}
.cookie-banner button.reject {
  background: #F1FAEE;
  color: #1D3557;
  border: 2px solid #457B9D;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #bed7ea;
}
.cookie-banner button.settings {
  background: transparent;
  color: #457B9D;
  border: 2px solid #457B9D;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #e1f0fd;
}

.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29,53,87,0.38);
  z-index: 12200;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(29,53,87,0.19);
  max-width: 480px;
  width: 93vw;
  padding: 30px 22px 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #1D3557;
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cookie-modal .category label {
  font-weight: 600;
  min-width: 120px;
  margin-right: 7px;
}
.cookie-modal .category input[type='checkbox'] {
  transform: scale(1.4);
  accent-color: #457B9D;
  margin-right: 7px;
  margin-left: 14px;
}
.cookie-modal .category input[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  color: #457B9D;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  outline: none;
  transition: color 0.13s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #1D3557;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .modal-btns button {
  border-radius: 24px;
  padding: 8px 22px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  background: #457B9D;
  color: #fff;
  transition: background 0.16s;
}
.cookie-modal .modal-btns button:hover,
.cookie-modal .modal-btns button:focus {
  background: #1D3557;
}

@media (max-width: 480px) {
  .cookie-modal-content {
    max-width: 94vw;
    padding: 17px 5px 12px 8px;
  }
  .cookie-banner {
    padding: 13px 8px 11px 10px;
    font-size: 0.97rem;
  }
}

/* OVERRIDES FOR SPECIFIC PAGES / UTILITIES */
.about-section {
  background: #F1FAEE;
  border-radius: 10px;
  padding: 14px 15px 10px 15px;
  color: #1D3557;
  font-size: 1.11rem;
  margin-bottom: 14px;
}

/* Helper classes */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-0 { gap:0 !important; }
.text-center { text-align:center; }
.text-right { text-align:right; }

/* Hide visually */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
