/*------------------------------------------------------
RESET & BASE
------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f9fafc;
  color: #16314a;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.5em;
}
a {
  color: #1A446D;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #FFC857;
}
strong {
  font-weight: 700;
  color: #1A446D;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.5px;
  color: #1A446D;
  font-weight: 900;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5 { font-size: 1rem; margin-bottom: 10px; }
p, li, th, td, label, em { font-size: 1rem; }
p, ul, ol { margin-bottom: 1.3em; }
em { color: #1A446D; opacity: 0.82; }

/*------------------------------------------------------
VIBRANT ENERGETIC COLORS
------------------------------------------------------*/
:root {
  --color-primary: #1A446D;
  --color-secondary: #E2E6EB;
  --color-accent: #FFC857;
  --color-accent2: #20DEDC;
  --color-pink: #FA3582;
  --color-bg: #f9fafc;
  --color-card-bg: #fff;
  --color-dark: #16314a;
  --color-footer-bg: #132C48;
  --color-border: #d0dbeb;
}

/*------------------------------------------------------
CONTAINER & SECTION
------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(36,55,109,0.06);
  padding: 36px 30px 34px 30px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-block {
  background: linear-gradient(90deg, var(--color-accent) 20%, var(--color-accent2) 90%);
  color: #16314a;
  box-shadow: 0 4px 28px 0 rgba(250,53,130,0.10);
  border-radius: 24px;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
}
.cta-block h2, .cta-block p {
  color: #16314a;
}
/*------------------------------------------------------
HEADER & NAVIGATION
------------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 4px 26px 0 rgba(26,68,109,0.03);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 8px 20px;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.2s cubic-bezier(.8,-0.41,.19,1.31);
}
.logo-link:hover img {
  transform: rotate(-4deg) scale(1.06);
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 10px;
  transition: background 0.19s, color 0.19s;
  letter-spacing: .5px;
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: #16314a;
}
.btn-primary {
  background: linear-gradient(90deg, var(--color-pink) 20%, var(--color-accent2) 90%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: none;
  border-radius: 13px;
  padding: 13px 28px;
  margin-left: 26px;
  box-shadow: 0 3px 14px 0 rgba(31,68,109,0.11);
  cursor: pointer;
  transition: background 0.23s, color 0.23s, transform 0.14s;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-accent2), var(--color-pink));
  color: #fff200;
  transform: translateY(-2px) scale(1.035);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 18px;
  z-index: 110;
  transition: color 0.19s, transform 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-accent);
  transform: scale(1.18);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  background: rgba(239,250,255,0.92);
  backdrop-filter: blur(3px);
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(105vw);
  transition: transform 0.37s cubic-bezier(.73,-0.03,.53,1.18);
  z-index: 2002;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #FA3582;
  padding: 18px 28px 10px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.13s, transform 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #20DEDC;
  transform: scale(1.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 52px;
  gap: 20px;
  width: 100%;
  padding-right: 28px;
}
.mobile-nav a {
  background: #fff;
  color: #FA3582;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 17px 24px;
  border-radius: 14px;
  margin-right: 0;
  margin-bottom: 0;
  width: 100%;
  text-align: right;
  box-shadow: 0 2px 12px 0 rgba(31,68,109,0.04);
  transition: background 0.23s, color 0.2s, transform 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #20DEDC;
  color: #FFF;
  transform: translateX(-6px) scale(1.033);
}

/*------------------------------------------------------
MAIN LAYOUTS & SECTIONS
------------------------------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  list-style: none;
  justify-content: space-between;
}
.feature-grid li {
  background: linear-gradient(110deg, rgba(250,53,130,0.07), rgba(32,222,220,0.10));
  border-radius: 20px;
  flex: 1 1 250px;
  min-width: 210px;
  margin-bottom: 20px;
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 16px 0 rgba(26,68,109,0.07);
  border: 2px solid var(--color-border);
  transition: box-shadow 0.17s, border-color 0.21s, transform 0.16s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 32px 0 rgba(26,68,109,0.14);
  border-color: var(--color-accent);
  transform: translateY(-2px) scale(1.034);
}
.feature-grid img {
  height: 38px;
  width: 38px;
}
.feature-grid strong {
  font-size: 1.12rem;
  letter-spacing: .8px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #16314a;
  margin-bottom: 0;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  justify-content: space-between;
}
.service-item {
  flex: 1 1 240px;
  min-width: 200px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(250,53,130,0.06);
  padding: 24px 20px 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.21s, transform 0.12s, border-color 0.16s;
  border: 2px solid var(--color-secondary);
}
.service-item:hover {
  box-shadow: 0 10px 32px 0 rgba(31,68,109,0.14);
  transform: translateY(-2px) scale(1.025);
  border-color: var(--color-pink);
}
.service-item img {
  height: 33px;
  width: 33px;
}
.service-item h3 {
  margin-bottom: 0;
  font-size: 1.18rem;
  color: #FA3582;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-price {
  font-weight: 700;
  color: var(--color-accent2);
  font-size: 1.04rem;
}

.latest-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.article-teaser {
  flex: 1 1 220px;
  padding: 20px 16px;
  border-radius: 14px;
  background: linear-gradient(80deg, #E2E6EB 55%, #fff 100%);
  box-shadow: 0 2px 12px 0 rgba(32,222,220,0.09);
  transition: box-shadow 0.19s, transform 0.20s;
  margin-bottom: 20px;
}
.article-teaser:hover {
  box-shadow: 0 7px 22px 0 rgba(250,53,130,0.10);
  transform: scale(1.03);
}

.newsletter-placeholder {
  border-radius: 16px;
  background: #f2f9fc;
  padding: 18px 23px;
  margin: 18px 0 0 0;
  font-style: italic;
  font-size: 1rem;
  color: #1A446D;
}

.pricing-table {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  border-collapse: separate;
  background: #fff;
  margin-bottom: 28px;
  box-shadow: 0 2px 20px 0 rgba(32,222,220,0.09);
}
.pricing-table th, .pricing-table td {
  padding: 16px 8px;
  text-align: left;
  border-bottom: 2px solid #E2E6EB;
}
.pricing-table th {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
}
.pricing-table tbody tr:hover {
  background: #FCF4F9;
}

.faq-list {
  margin: 22px 0 0 0;
  padding-left: 1.65em;
  list-style: disc;
}
.faq-list li {
  margin-bottom: 19px;
}

.contact-details-block {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 10px 0 10px 0;
  align-items: center;
  justify-content: flex-start;
}
.text-section {
  flex: 1 1 220px;
  font-size: 1.04rem;
  color: #16314a;
}
.address-map {
  flex: 1 1 220px;
  background: #E2E6EB;
  border-radius: 14px;
  padding: 16px 17px;
  font-size: 1rem;
  color: #1A446D;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FDF6EA;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(250,200,87,0.11);
  margin-bottom: 20px;
  border-left: 8px solid #FFC857;
}
.testimonial-content p {
  margin-bottom: 0;
  color: var(--color-dark);
  font-style: italic;
  font-size: 1.09rem;
}
.testimonial-content strong {
  display: block;
  font-size: 1rem;
  color: #1A446D;
  margin-top: 8px;
}

/*-----------------------------------
FOOTER
-----------------------------------*/
footer {
  background: var(--color-footer-bg);
  padding: 44px 0 0 0;
  color: #ffffff;
  box-shadow: 0 -4px 22px 0 rgba(36,55,109,0.09);
  margin-top: 32px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 14px 20px;
  gap: 28px;
}
.footer-content a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-decoration: underline dotted 1px #FFC857;
  margin-right: 18px;
  font-size: 1.03rem;
}
.footer-content a:hover {
  color: #FFC857;
}
.footer-contact {
  font-size: 1.04rem;
  color: #E2E6EB;
  line-height: 1.5;
  padding-left: 0;
}
.footer-bottom {
  background: #112544;
  color: #C7E3FA;
  padding: 18px 0 18px 0;
  text-align: center;
  font-size: 0.99rem;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/*------------------------------------------------------
COOKIE CONSENT BANNER + MODAL
------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1900;
  width: 100vw;
  background: #122d46 linear-gradient(90deg, #1A446D 60%, #FA3582 110%);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 32px 18px 32px 22px;
  box-shadow: 0 -7px 40px 0 rgba(250,53,130,0.08);
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  font-size: 1rem;
  gap: 30px;
  transition: transform 0.3s cubic-bezier(.74,-0.19,.41,1.08), opacity 0.2s 0.09s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-text {
  flex: 3 1 220px;
  color: #FFF;
  font-size: 1.08rem;
  margin-right: 12px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.01rem;
  border: none;
  border-radius: 11px;
  padding: 12px 22px;
  box-shadow: 0 2px 7px 0 rgba(32,222,220,0.09);
  cursor: pointer;
  transition: background 0.2s, color 0.13s, transform 0.17s;
  margin-left: 0;
}
.cookie-btn.accept {
  background: linear-gradient(95deg,#20DEDC 60%, #FA3582 110%);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #20DEDC;
  color: #fff200;
}
.cookie-btn.reject {
  background: #fff;
  color: #FA3582;
  border: 2px solid #FA3582;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FA3582;
  color: #fff;
}
.cookie-btn.settings {
  background: #E2E6EB;
  color: #1A446D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFC857;
  color: #122d46;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,40,68,0.73);
  z-index: 2400;
  display: none;
  justify-content: center;
  align-items: center;
  transition: background 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #16314a;
  border-radius: 20px;
  box-shadow: 0 6px 42px 0 rgba(250,53,130,0.13);
  padding: 36px 28px 30px 28px;
  width: 94vw;
  max-width: 400px;
  position: relative;
  z-index: 2500;
  animation: cookie-popup-in .3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@keyframes cookie-popup-in {
  from { transform: scale(0.87) translateY(40px); opacity: 0.2; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #FA3582;
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  margin-bottom: 9px;
  gap: 10px;
}
.cookie-toggle-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E2E6EB;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-toggle-switch:checked {
  background: #20DEDC;
}
.cookie-toggle-switch:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(32,222,220,.06);
  transition: left 0.14s cubic-bezier(.6,-0.22,.31,1.27), background 0.13s;
}
.cookie-toggle-switch:checked:before {
  left: 19px;
  background: #FA3582;
}
.cookie-modal .category-desc {
  font-size: 0.95rem;
  color: #767676;
  margin-bottom: 5px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #FA3582;
  cursor: pointer;
  transition: color 0.12s, transform 0.15s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: #20DEDC;
  transform: scale(1.10);
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}

/*------------------------------------------------------
RESPONSIVE MEDIA QUERIES (MOBILE FIRST)
------------------------------------------------------*/
@media (max-width: 1000px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .footer-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid, .services-list, .latest-articles {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 7px 7vw 7px 7vw;
  }
  nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .services-list, .latest-articles, .footer-content, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .feature-grid li, .service-item, .article-teaser {
    min-width: 100%;
    width: 100%;
    flex: 1 1 100%;
    margin-bottom: 16px;
  }
  .content-wrapper, .cta-block {
    padding: 21px 12px;
    border-radius: 12px;
  }
  .footer-contact {
    padding-left: 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    padding: 15px 8px 16px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.95rem;
    padding: 19px 9px 24px 11px;
  }
  .cookie-banner-actions {
    gap: 10px;
  }
  .cookie-banner-text {
    margin-right: 0;
    margin-bottom: 8px;
  }
}
@media (max-width: 480px) {
  header .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .feature-grid li, .service-item, .article-teaser, .content-wrapper, .cta-block {
    padding: 12px 5vw;
  }
  .cookie-modal {
    padding: 16px 6vw 18px 6vw;
    font-size: .96rem;
  }
}

/*------------------------------------------------------
UTILITY CLASSES & SPACING
------------------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(26,68,109,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 21px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*------------------------------------------------------
FORM ELEMENTS
------------------------------------------------------*/
input, textarea, select, button {
  font-family: inherit;
}
input[type="text"], input[type="email"], textarea, select {
  border: 2px solid #E2E6EB;
  border-radius: 7px;
  padding: 11px 12px;
  font-size: 1.04rem;
  width: 100%;
  background: #FCFCFD;
  transition: border 0.16s;
  margin-bottom: 16px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
  border-color: #20DEDC;
  outline: none;
}
button, .btn, .btn-primary {
  cursor: pointer;
  outline: none;
}

/*------------------------------------------------------
ANIMATIONS & MICRO-INTERACTIONS
------------------------------------------------------*/
.card, .feature-grid li, .service-item, .article-teaser, .btn-primary {
  transition: box-shadow 0.17s, transform 0.15s, background 0.19s, color 0.19s, border-color 0.19s;
}
.card:hover, .feature-grid li:hover, .service-item:hover, .article-teaser:hover {
  box-shadow: 0 7px 28px 0 rgba(26,68,109,0.16);
  transform: translateY(-2px) scale(1.024);
  border-color: var(--color-accent2);
}

::-webkit-input-placeholder { color: #8292ad; opacity: 1; }
::-moz-placeholder { color: #8292ad; opacity: 1; }
:-ms-input-placeholder { color: #8292ad; opacity: 1; }
::placeholder { color: #8292ad; opacity: 1; }

/*-----------------------------------
ACCESSIBILITY
-----------------------------------*/
:focus {
  outline: 2px solid #FA3582 !important;
  outline-offset: 2px;
}
[tabindex]:focus {
  outline: 2px solid #FACF87;
}

/*-----------------------------------
PRINT OVERRIDE
-----------------------------------*/
@media print {
  * { background: #fff !important; color: #222 !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .content-wrapper, .section { box-shadow: none !important; }
}
