/* ==== 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;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit; }
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #222;
  background: #F8F8F8;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #2EC4B6; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; pointer-events: none; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #e0e0e0; }
th { font-family: 'Montserrat', 'Roboto', Arial, sans-serif; background: #2EC4B6; color: #fff; font-size: 1rem; }

/* ==== FONT FACES ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Roboto:400,500,700&display=swap');

:root {
  --primary: #003262;
  --secondary: #2EC4B6;
  --accent: #F8F8F8;
  --danger: #E4572E;
  --success: #50C878;
  --gray: #bbb;
  --dark-gray: #444;
  --white: #fff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius: 8px;
  --shadow: 0 6px 28px rgba(44, 120, 144, 0.09), 0 1.5px 2.5px 0 rgba(46,196,182,0.05);
  --button-shadow: 0 2px 16px rgba(46,196,182,0.12), 0 2px 2px rgba(0,50,98,0.07);
}

/* ==== TYPOGRAPHY SCALE ==== */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.12;
}
@media (max-width: 768px) { h1 { font-size: 2rem; } }
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.14;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
h4,h5,h6 { font-family: 'Montserrat', Arial, sans-serif; color: var(--primary); }
p, ul, ol, li, table { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; color: #222; margin-bottom: 16px; }
strong, b { font-weight: 700; color: var(--primary); }

/* ==== CONTAINER & LAYOUT ==== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .section { padding: 28px 5px; }
  .container { padding: 0 6px; }
}

/* ==== HEADER, NAVIGATION ==== */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,50,98,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
header img { height: 38px; margin-right: 18px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
  padding: 8px 14px;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
.button.primary {
  background: var(--secondary);
  color: var(--white) !important;
  letter-spacing: 0.04em;
  font-weight: 800;
  padding: 12px 26px;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--button-shadow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin-left: 10px;
  cursor: pointer;
  transition: background .22s, box-shadow .22s, color .22s, transform .22s;
  text-shadow: 0 1.5px 6px rgba(46,196,182,0.10);
}
.button.primary:hover, .button.primary:focus {
  background: var(--primary);
  color: var(--secondary) !important;
  box-shadow: 0 8px 32px rgba(0,50,98,0.15);
  transform: translateY(-2px) scale(1.04);
}
.button.secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--secondary);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  margin-right: 10px;
  transition: background .22s, color .22s, border .22s, box-shadow .22s;
  cursor: pointer;
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--secondary);
  color: var(--white) !important;
  box-shadow: var(--button-shadow);
}

/* ==== HAMBURGER MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  margin-left: 18px;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(0,50,98,0.94);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.32,1.56,.41,0.97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 22px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0px 0 32px rgba(46,196,182,.12);
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: none;
  border: none;
  color: var(--white);
  position: absolute;
  top: 18px; right: 28px;
  cursor: pointer;
  z-index: 10000;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 56px 36px 0 36px;
  width: 100vw;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.19s, background 0.19s;
  width: 100%;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(46,196,182,0.07);
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1081px) {
  .mobile-menu { display: none; }
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(120deg, var(--secondary) 0%, var(--primary) 94%);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 52px 20px 50px 20px;
  box-shadow: 0 8px 24px rgba(0,50,98,0.13);
  position: relative;
}
.hero h1, .hero p {
  color: var(--white);
  text-shadow: 0 3px 22px rgba(0,50,98,0.08);
}
.hero .button.primary {
  background: var(--white);
  color: var(--primary) !important;
  border: 2px solid var(--secondary);
  box-shadow: 0 4px 18px rgba(255,255,255,0.07);
}
.hero .button.primary:hover,
.hero .button.primary:focus {
  color: var(--secondary) !important;
  background: var(--primary);
}

/* ==== FEATURE, CARD & FLEX TEMPLATES ==== */
.feature-grid, .core-values-grid, .benefit-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 24px 0 8px 0;
  justify-content: flex-start;
}
.feature-grid > div, .core-values-grid > div, .benefit-icons > div {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 26px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 12px 32px rgba(46,196,182,0.15);
  transform: translateY(-2px) scale(1.04);
}
.feature-grid img, .benefit-icons img {
  width: 48px; height: 48px; margin-bottom: 12px;
  filter: drop-shadow(0 2px 12px var(--secondary));
}
.core-values-grid > div h3 { color: var(--secondary); }

/* ==== TESTIMONIAL STYLES ==== */
.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 300px;
  max-width: 370px;
  flex: 1 1 330px;
  border-left: 8px solid var(--secondary);
  position: relative;
  z-index: 1;
  transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial-card p {
  font-family: 'Roboto', Arial, sans-serif;
  color: #232323;
  font-size: 1.07rem;
  margin-bottom: 0;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-weight: 700;
  margin-top: -10px;
}
.testimonial-stars {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F2A20C;
  font-size: 1.1rem;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(46,196,182,0.10);
  transform: translateY(-2px) scale(1.03);
}

/* ==== TABLES ==== */
table {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 28px 0 20px 0;
  overflow: hidden;
}
th {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 10px;
  font-weight: 700;
}
td {
  color: #232323;
  font-size: 1rem;
}
table tr:nth-child(even) { background: #F3FCFB; }
table tr:hover td { background: #edf9f8; }
table td, table th { border-bottom: 1px solid #e6e9ee; }
table tr:last-child td { border-bottom: none; }

/* ==== CARDS, SECTIONS, FLEXBOX PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { 
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.16s; 
}
.card:hover { box-shadow: 0 12px 38px rgba(46,196,182,0.12); transform: scale(1.03); }
.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 { /* already defined above per pattern */ }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== SPECIAL LISTS & FAQ ==== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 12px;
}
.faq-list li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 8px rgba(46,196,182,0.06);
  padding: 18px 20px;
  font-size: 1rem;
  line-height: 1.65;
  border-left: 4px solid var(--secondary);
}

/* ==== TIMELINES & STEPPERS ==== */
.history-timeline ul, .stepper-diagram ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0 0;
  padding-left: 20px;
}
.history-timeline ul li, .stepper-diagram ol li {
  position: relative;
  padding-left: 24px;
  font-size: 1rem;
  color: var(--primary);
}
.history-timeline ul li:before, .stepper-diagram ol li:before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 9px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(46,196,182,0.17);
}

/* ==== SUPPORT EMAIL, CONTACT BLOCK ==== */
.contact-info ul, .footer-contact > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-info img { width: 20px; opacity: .7; }

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 34px 0 16px 0;
  margin-top: 68px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 10px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-contact img { width: 64px; height: 64px; margin-right: 10px; filter: drop-shadow(0 2px 12px var(--secondary)); }
.footer-contact p, .footer-contact img { margin-bottom: 0; }
.footer-contact div > p, .footer-credits p  { margin-bottom: 0; color: #E0F6F5;}
.footer-credits { text-align: center; margin-top: 22px; font-size: 0.95rem; color: #E0F6F5; }

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 24px rgba(0,50,98,0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  gap: 24px;
  z-index: 10000;
  animation: cookie-slide-in 0.7s cubic-bezier(.44,1.6,.41,0.97);
}
@keyframes cookie-slide-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { margin-bottom: 0; font-size: 1rem; max-width: 540px; }
.cookie-banner .cookie-buttons { display: flex; gap: 14px; }
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 1.5px 10px var(--secondary, #2EC4B6, 0.09);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-banner .reject {
  background: #eee;
  color: var(--primary);
  border: 2px solid var(--danger);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--danger);
  color: var(--white);
}
.cookie-banner .settings {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,50,98,0.55);
  z-index: 11001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.55s cubic-bezier(.44,1.6,.41,0.97);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 36px rgba(0,50,98,0.16);
  padding: 34px 28px 25px 28px;
  z-index: 11002;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: modal-fade-in 0.45s cubic-bezier(.44,1.6,.41,0.97);
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--dark-gray);
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--danger);
}
.cookie-modal section { margin-bottom: 20px; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
  margin: 0;
}
.cookie-category.essential label {
  color: var(--secondary);
  font-weight: 700;
}
.cookie-category.essential input[type="checkbox"] { accent-color: var(--secondary); }
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal .cookie-modal-actions button { min-width: 100px; }

/* ==== RESPONSIVE BREAKPOINTS ==== */
@media (max-width: 950px) {
  .feature-grid, .core-values-grid, .benefit-icons, .testimonial-carousel {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div, .benefit-icons > div, .core-values-grid > div, .testimonial-card {
    min-width: unset;
    max-width: unset;
  }
}
@media (max-width: 650px) {
  .testimonial-card { padding: 16px 13px; }
  .hero { padding: 28px 6px 35px 6px; border-radius: var(--radius-md); }
  .section { padding: 18px 3px; border-radius: var(--radius-md); }
  .container { padding: 0 2px; }
  .content-wrapper { gap: 16px; }
  .card { padding: 14px 7px; border-radius: var(--radius); }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .testimonial-carousel, .benefit-icons, .feature-grid, .core-values-grid, .footer-nav, .footer-contact {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  header .container { flex-direction: row; align-items: flex-start; }
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 16px; padding: 13px 4px;}
  .cookie-banner .cookie-buttons { flex-direction: column; gap: 9px; }
  .cookie-modal { padding: 20px 5px 16px 8px; }
}

/* ==== SCROLLBARS, SELECTION ==== */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 12px;
}
::selection { background: #ffebd6; color: #222; }

/* ==== MISCELLANEOUS ==== */
hr { border: 0; height: 1px; background: var(--secondary); margin: 22px 0; }
ul, ol { padding-left: 22px; margin-bottom: 12px; }
.text-section { margin-bottom: 16px; }
.privacy-statement, .user-rights, .data-handling, .gdpr-overview, .user-rights-details, .contact-dpo, .cookies-explanation, .cookie-types, .user-control-options, .acceptable-use-policy, .liability-disclaimer {margin-bottom: 22px;}
[hidden] { display: none !important; }

/* ==== ARTISTIC/UNIQUE ELEMENTS ==== */
.hero {
  border-bottom-right-radius: 180px 60px;
  border-bottom-left-radius: 44px 110px;
  box-shadow: 0 16px 40px rgba(46,196,182,0.13), var(--shadow);
  position: relative;
}
/* Accent Dots */
.hero:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 70% 40% 90% 56% / 42% 89% 44% 80%;
  background: rgba(46,196,182,0.12);
  z-index: 0;
}
.hero:before {
  right: -50px; top: 50px;
  width: 95px; height: 92px;
}
.testimonial-card:before {
  left: -42px; bottom: -22px;
  width: 62px; height: 56px;
}

/* ==== ANIMATIONS ==== */
.button.primary, .button.secondary, .main-nav a, .mobile-nav a, .testimonial-card, .card {
  transition: box-shadow .18s, background .19s, color .18s, transform .17s;
}
.button:active { transform: scale(0.97); }

/* ==== ARTISTIC FONTS FOR HEADERS ==== */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: none;
  letter-spacing: -0.025em;
}

/* ==== VISUAL HIERARCHY with SPACING ==== */
section, .section { margin-bottom: 60px; }
.card, .testimonial-card, .feature-grid > div, .core-values-grid > div, .benefit-icons > div {
  margin-bottom: 20px;
}

/* ==== FORMS & INPUTS (for calculator, support, etc.) ==== */
input, select, textarea, button {
  font-family: inherit; font-size: 1rem;
  border-radius: var(--radius);
  border: 1.5px solid #dbe9e8;
  padding: 12px 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.16s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 12px rgba(46,196,182,0.13);
}

/* ==== OVERRIDE UTILITY CLASSES ==== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-center { align-items: center !important; }
.gap-20 { gap: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }

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