/* === CSS RESET & NORMALIZE === */
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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F5F5F5;
  color: #113568;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* === BRAND VARIABLES & CUSTOM FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
:root {
  --color-primary: #113568;
  --color-secondary: #F5F5F5;
  --color-accent: #00C6AE;
  --color-text: #10243E;
  --color-heading: #10243E;
  --color-bg: #F5F5F5;
  --color-light: #fff;
  --color-card: #fff;
  --color-shadow: rgba(0, 198, 174, 0.18);
  --color-accent-hover: #10A08E;
  --color-footer-bg: #10243E;
  --color-border: #E0E7EF;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-md: 18px;
  --radius-lg: 36px;
  --transition: 0.25s cubic-bezier(.2, .8, .4, 1);
  --shadow-card: 0 6px 48px var(--color-shadow);
  --shadow-btn: 0 2px 12px rgba(0,198,174,0.09);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--color-primary);
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, address {
  font-family: var(--font-body);
  font-size: 1.07rem;
  margin-bottom: 12px;
  color: var(--color-text);
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
em {
  font-style: italic;
  color: var(--color-accent);
}

/* === STRUCTURE & LAYOUT === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: var(--radius-lg);
}
/* SPACING PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 12px 64px rgba(17,53,104,0.23);
  transform: translateY(-4px) scale(1.012);
}
.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;
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  font-size: 1.07rem;
  color: var(--color-text);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: var(--color-light);
  padding: 0;
  box-shadow: 0 4px 22px rgba(17,53,104,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
}
header logo, header img {
  height: 52px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.03rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
nav a.cta {
  margin-left: 10px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 24px;
  padding: 8px 26px;
  box-shadow: var(--shadow-btn);
  letter-spacing: 1.5px;
  font-size: 1.01rem;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
nav a:hover,
nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
nav a.cta:hover, nav a.cta:focus {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 32px rgba(0,198,174,0.13);
  color: #fff;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  padding: 8px 14px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-left: 12px;
  z-index: 1101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 24px 0 24px;
  background: var(--color-light);
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  box-shadow: 0 24px 48px rgba(17,53,104,0.15);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.72,.03,.69,.99);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  padding: 10px 18px;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 1.24rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  padding: 8px 0;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

/* === HERO/BANNERS, CARDS & SECTION PATTERNS === */
.text-section {
  text-align: center;
  gap: 16px;
}
.features-grid > div {
  flex: 1 1 230px;
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 215px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 0;
}
.features-grid img {
  width: 48px;
  margin-bottom: 12px;
}
.features-grid > div:hover {
  box-shadow: 0 10px 36px rgba(0,198,174,0.16);
  transform: translateY(-6px) scale(1.05) rotate(-1deg);
}

/* === BUTTONS & CALLS TO ACTION === */
.cta, .btn, button, .cookie-banner button {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: bold;
  padding: 12px 32px;
  font-size: 1.01rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  letter-spacing: 1.1px;
  margin-top: 12px;
  margin-bottom: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus, .cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 8px 37px rgba(0,198,174,0.19);
  transform: translateY(-2px) scale(1.08);
}

/* === TABLES === */
table {
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  overflow: hidden;
}
thead th {
  background: var(--color-accent);
  color: #fff;
  padding: 18px 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
tbody td {
  padding: 16px 10px;
  color: var(--color-primary);
  font-family: var(--font-body);
  border-bottom: 1px solid var(--color-border);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* === TESTIMONIALS === */
.testimonial-card {
  border-left: 6px solid var(--color-accent);
  background: var(--color-light);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
  font-style: italic;
  font-size: 1.01rem;
  margin-bottom: 24px;
  gap: 20px;
  position: relative;
}
.testimonial-card strong {
  display: block;
  font-size: 0.98rem;
  color: var(--color-primary);
  margin-top: 10px;
  font-style: normal;
}

/* === FORMS (if present) === */
input, textarea, select {
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: #fff;
  width: 100%;
  margin-bottom: 16px;
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent);
}
label {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

/* === FOOTER === */
footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 44px 0 24px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.01rem;
  border-radius: 6px;
  padding: 3px 0;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
  background: #fff2;
}
footer img {
  width: 44px;
  height: auto;
  margin-bottom: 16px;
}
footer small {
  font-size: 0.94rem;
  color: #d9eeeb;
  font-family: var(--font-body);
}

/* === ARTISTIC/CREATIVE DECORATIVE ELEMENTS === */
h1::after, h2::after {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  margin: 9px auto 0 auto;
  background: var(--color-accent);
  border-radius: 2.5px;
  opacity: 0.4;
}
h2::after {
  width: 24px;
  margin: 8px auto 0 auto;
}
.features-grid > div {
  position: relative;
}
.features-grid > div::before {
  content: '';
  display: block;
  position: absolute;
  left: -8px; top: -8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.14;
  z-index: 1;
}
.features-grid > div:not(:first-child)::before {
  left: auto;
  right: -8px;
  background: var(--color-primary);
  opacity: 0.08;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-card);
  color: var(--color-primary);
  box-shadow: 0 -4px 36px rgba(17,53,104,0.14);
  z-index: 5001;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 22px 22px 0 0;
  transition: transform 0.37s cubic-bezier(.6,.19,.33,.97);
  transform: translateY(0);
}
.cookie-banner.closed {
  transform: translateY(130%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-banner button {
  padding: 10px 20px;
  font-size: 0.97rem;
  font-family: var(--font-display);
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(0,198,174,0.11);
  margin: 0 2px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-accent);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-primary);
  border: none;
  text-decoration: underline;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  transform: scale(1.1);
}

/* COOKIE MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(17,53,104,0.25);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition);
}
#cookie-modal.open {
  display: flex;
  animation: fadeIn 0.28s ease;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal-content {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 38px 28px 28px 28px;
  min-width: 320px;
  max-width: 96vw;
  font-family: var(--font-body);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--color-primary);
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1.01rem;
}
.cookie-modal-content .cookie-category {
  font-weight: bold;
}
.cookie-modal-content .category-desc {
  font-size: 0.96rem;
  color: #3d5068;
  margin-bottom: 8px;
}
.cookie-modal-content .modal-close {
  position: absolute;
  top: 16px; right: 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal-content .modal-close:hover {
  background: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-actions button {
  border-radius: 18px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1199px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .features-grid {
    gap: 16px;
  }
  .features-grid > div {
    min-width: 170px;
    padding: 20px 8px 14px 8px;
  }
  .footer-section img {
    width: 38px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    min-height: 60px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 44px;
  }
  .content-wrapper, .text-section {
    gap: 12px;
    border-radius: 14px;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .features-grid > div {
    min-width: unset;
    padding: 18px 6px 10px 6px;
    margin-bottom: 0;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-section {
    width: 100%;
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 13px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .footer-section img {
    width: 30px;
  }
  .cookie-modal-content {
    min-width: 90vw;
    padding: 18px 6vw 14px 6vw;
  }
}

/* === ADDITIONAL MICRO-INTERACTIONS === */
.card, .features-grid > div, .testimonial-card, .cta, .btn, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
  will-change: transform, box-shadow;
}
.card, .features-grid > div, .testimonial-card {
  transition: box-shadow 0.25s cubic-bezier(.69,.18,.38,1.09), transform 0.25s cubic-bezier(.65,.19,.52,.94);
  user-select: none;
}
.card:active, .features-grid > div:active, .testimonial-card:active {
  transform: scale(0.97);
}
.cta:active, .btn:active, .cookie-banner button:active {
  transform: scale(0.97);
}

/* === UTILITY CLASSES === */
.d-none { display: none !important; }
.align-center { align-items: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.gap-20 { gap: 20px !important; }

/* === GENERAL ACCESSIBILITY === */
a:focus, button:focus, .cta:focus {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

/* === PRINT STYLES (simple) === */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, html, main { background: #fff; color: #000; }
  .container, .content-wrapper, section, .section { padding: 0 !important; margin: 0 !important; }
  table, th, td { border: 1px solid #bbb !important; }
}
