/* ========================== */
/*      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,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {line-height: 1.15; -webkit-text-size-adjust: 100%;height:100%;}
body {min-height:100vh; background: #F4F7FA; font-family: 'Roboto', 'Georgia', serif; color: #23211D;}
*,*:before,*:after {box-sizing: inherit;}
img {max-width: 100%; height: auto; display: block; border: 0;}
a {text-decoration: none; color: #005488; transition: color 0.2s;}
a:focus {outline: 2px solid #005488; outline-offset: 2px;}

/* ============================= */
/*      TYPOGRAPHY & BRANDING    */
/* ============================= */
:root {
  --primary: #005488;
  --secondary: #057A37;
  --accent: #F4F7FA;
  --text: #23211D;
  --text-invert: #fff;
  --muted: #E9EEF1;
  --cta-hover: #003860;
  --shadow: 0 2px 16px 0 rgba(30,40,80,0.07);
  --radius: 14px;
  --border: #E3E5E8;
  --tc-testimonial: #2d2b26;
  --bg-footer: #F7F9FC;
  --font-head: 'Merriweather', 'Georgia', serif;
  --font-body: 'Roboto', 'Georgia', serif;
}
@font-face {
  font-family: 'Merriweather';
  src: local('Merriweather'), url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&display=swap');
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
}
body {
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.6rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { margin-bottom: 16px; }
strong { font-weight: 700; }

/* Typography for buttons and CTAs */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-consent-btn {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing:0.02em;
}

/* ==================== */
/*    LAYOUT SYSTEM     */
/* ==================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  flex: 1 1 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.text-section {
  flex: 1;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  border: 1px solid var(--border);
  min-width: 260px;
  max-width: 400px;
}
.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;
  background: #fff;
  color: var(--tc-testimonial);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  min-width: 250px;
  max-width: 440px;
}
.testimonial-card p {
  font-style: italic;
  color: var(--tc-testimonial);
  font-size: 1.09rem;
}
.testimonial-meta {
  font-size: 0.96rem;
  color: #777;
  font-family: var(--font-body);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius);
}
.section:last-child {
  margin-bottom: 0;
}

/* ==================== */
/*    HEADER & NAV      */
/* ==================== */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px -8px rgba(0,30,70,0.1);
  position: relative;
  z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
header nav a {
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 1rem;
  padding: 4px 0;
  position: relative;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
}

.cta-btn {
  background: var(--primary);
  color: #fff;
  padding: 16px 30px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px 0 rgba(0,72,136,0.10);
  transition: background 0.2s, transform 0.15s, box-shadow 0.18s;
  cursor: pointer;
  display: inline-block;
  margin-top: 6px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(5,122,55,0.10), 0 4px 16px -8px rgba(0,84,136,0.09);
  transform: translateY(-2px) scale(1.03);
}

/* ==================== */
/*     FOOTER           */
/* ==================== */
footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 36px 0 20px 0;
  margin-top: 64px;
  font-size: 1rem;
  color: var(--primary);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.07rem;
  color: var(--primary);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
footer img {
  width: 28px;
  height: 28px;
}

/* ==================== */
/*      LISTS, TABLES   */
/* ==================== */
ul, ol {
  margin-bottom: 20px;
  padding-left: 24px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 12px;
}
ul li strong, ol li strong {
  color: var(--secondary);
  font-weight: 700;
}
.price {
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 1.04em;
  font-weight: 600;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 1rem;
  overflow: hidden;
}
th, td {
  padding: 14px 10px;
  border: 1px solid var(--border);
  text-align: left;
}
th {
  background: var(--muted);
  font-family: var(--font-head);
  color: var(--primary);
}

/* ==================== */
/*       BUTTONS        */
/* ==================== */
button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  font-family: var(--font-head);
}
button:hover, button:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 7px 0 rgba(5,122,55,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* ==================== */
/*     MOBILE MENU      */
/* ==================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 150;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px -8px rgba(0,44,77,0.10);
  transition: background 0.18s, color 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,0,.24,1);
  box-shadow: 0 8px 32px -4px rgba(0,68,111,0.17);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
  z-index: 60;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--primary);
}
.mobile-nav {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 30px;
}
.mobile-nav a {
  color: var(--primary);
  background: none;
  padding: 12px 8px 12px 0;
  font-family: var(--font-head);
  font-size: 1.12rem;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.13s;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--muted);
  color: var(--secondary);
}
@media (max-width: 1020px) {
  header nav { gap: 18px; }
}
@media (max-width: 900px) {
  header nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 900px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* ==================== */
/*      SECTIONS        */
/* ==================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 1000px) {
  .content-wrapper {
    flex-direction: row;
    gap: 40px;
  }
  .text-section {
    min-width: 320px;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .content-grid,
  .card-container,
  .features,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  section { padding: 32px 0 28px 0; }
  .section { padding: 28px 0 22px 0; }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  section, .section { padding: 14px 0 14px 0; margin-bottom: 32px; }
  h1 { font-size: 1.23rem; }
  h2 { font-size: 1.07rem; }
  .cta-btn, button { font-size: 0.97rem; padding: 12px 20px; }
}

/* =============================== */
/*    COOKIE CONSENT BANNER/MODAL  */
/* =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 1700;
  background: #fff;
  color: var(--text);
  box-shadow: 0 -4px 24px -8px rgba(20,25,72,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 20px 16px;
  font-size: 1rem;
  border-top: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(.62,0,.16,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.cookie-consent-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 600;
  transition: background 0.14s, color 0.12s, box-shadow 0.11s;
}
.cookie-consent-btn[aria-pressed="true"] {
  background: var(--secondary);
}
.cookie-consent-btn:hover,.cookie-consent-btn:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(5,122,55,0.09);
}

/* Cookie modal */
.cookie-modal-bg {
  position: fixed;
  z-index: 1705;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,44,50,0.38);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.cookie-modal-bg.active {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 400px;
  width: 90vw;
  box-shadow: 0 8px 36px -10px rgba(10,30,66,0.13);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  animation: fadeInUp 0.33s cubic-bezier(.3,0,.1,1);
  position: relative;
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(60px); } to { opacity:1; transform: none; }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  opacity: 0.82;
  transition: color 0.12s;
}
.cookie-modal .modal-close:hover { color: var(--secondary); }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: var(--font-head);
  font-size: 1.05em;
  color: var(--primary);
}
.cookie-toggle {
  width: 40px; height: 24px;
  border-radius: 12px;
  background: var(--muted);
  position: relative;
  margin-left: 6px;
  outline: none; border: none;
  cursor: pointer;
  transition: background 0.18s;
  vertical-align: middle;
}
.cookie-toggle[aria-pressed="true"] {
  background: var(--secondary);
}
.cookie-toggle .dot {
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  left: 2px;
  top: 2px;
  transition: left 0.17s;
}
.cookie-toggle[aria-pressed="true"] .dot {
  left: 18px;
}
.cookie-category.essential label {
  color: var(--secondary);
  font-weight: 700;
}
.cookie-category.essential .cookie-toggle {
  filter: grayscale(1);
  pointer-events: none;
  opacity: 0.7;
}

/* ==================== */
/*    UTILITIES         */
/* ==================== */
.hide { display: none !important; }
.flex { display: flex; }
.none { display: none; }
.text-center {text-align: center;}

/* ===================== */
/*   CUSTOM FORMS        */
/* ===================== */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  margin-bottom: 14px;
  width: 100%;
  outline: none;
  transition: border 0.13s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid var(--primary);
}

/* ==================== */
/*    RESPONSIVE RULES  */
/* ==================== */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .content-wrapper,
  .content-grid,
  .card-container,
  .footer-nav {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .text-image-section,
  .content-wrapper,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  section, .section {
    padding: 18px 0 18px 0;
    margin-bottom: 32px;
  }
  .card, .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding: 20px 12px;
  }
}

/* ==================== */
/*    MICROINTERACTIONS */
/* ==================== */
a, button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-consent-btn {
  transition: color .17s, background .17s, box-shadow .17s, transform .14s;
}
.testimonial-card {
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(27,44,97,0.10), 0 2px 12px 0 rgba(5,122,55,0.08);
  transform: translateY(-2px) scale(1.01);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(0,53,136,0.09), 0 2px 10px 0 rgba(5,122,55,0.08);
  border-color: var(--secondary);
  transform:translateY(-2px) scale(1.01);
}

/* ==================== */
/*  FOCUS VISIBLE       */
/* ==================== */
a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* ==================== */
/*  Z-INDEX MANAGEMENT  */
/* ==================== */
header { z-index: 60; }
.mobile-menu { z-index: 1200; }
.cookie-banner, .cookie-modal-bg { z-index: 1700; }

/* ==================== */
/*  ELEGANT CLASSIC EXTRAS  */
/* ==================== */
.card, .testimonial-card, table, .section {
  /* Elegant spacing and subtle shadow */
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 {
  text-shadow: 0 1px 0 rgba(18,24,33,0.03);
}
section {
  border-left: 6px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff;
}


/* ==================== */
/* PRINT + ACCESSIBILITY  */
/* ==================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-bg, footer { display:none !important; }
  body, html { background: #fff; color: #23211D; }
  section, .section { border: none; background: none; }
}

/* ==================== */
/*   END OF STYLES      */
/* ==================== */
