/* ======== 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #222C3E;
  background: #F5F7FA;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #5CA6A6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #222C3E;
  outline: none;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e3e8ee;
}
th {
  background: #eef1f7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222C3E;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  font-weight: 600;
}
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}
blockquote {
  border-left: 4px solid #5CA6A6;
  padding: 8px 24px;
  font-style: italic;
  background: #f0f5f9;
  margin: 24px 0 24px 0;
  color: #1e2634;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-weight: 700;
  color: #222C3E;
}

/* ==== LAYOUT & STRUCTURE ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(34,44,62,0.05);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 6px;
    border-radius: 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 25px 0 rgba(34,44,62,0.09);
  padding: 32px 24px;
  min-width: 260px;
  max-width: 100%;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid #eef1f7;
}
.card:hover {
  box-shadow: 0 12px 26px 0 rgba(92,166,166,0.16);
  transform: translateY(-4px) scale(1.01) skew(-1deg, -0.5deg);
  border-color: #5CA6A6;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F7FA;
  border-radius: 16px;
  border: 1.5px solid #5CA6A6;
  box-shadow: 0 2px 8px 0 rgba(92,166,166,0.12);
  margin-bottom: 20px;
  font-size: 1rem;
  color: #222C3E;
  position: relative;
  min-width: 0;
  word-break: break-word;
}
.testimonial-card .testimonial-author {
  margin-left: auto;
  font-size: 0.95em;
  font-style: normal;
  color: #222C3E;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 16px 0;
}

/* ===== MAIN NAVIGATION ===== */
header {
  position: relative;
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(34,44,62,0.07);
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
.main-nav .logo {
  margin-right: 36px;
  margin-bottom: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #222C3E;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #5CA6A6;
  color: #fff;
}

.cta-btn {
  background: #222C3E;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 26px;
  margin-left: 12px;
  box-shadow: 0 2px 6px 0 rgba(34,44,62,0.10);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.16s;
  position: relative;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #5CA6A6;
  color: #222C3E !important;
  transform: translateY(-2px) scale(1.03) skew(-2deg, -1deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: #5CA6A6;
  color: #fff;
  font-size: 2rem;
  padding: 8px 14px;
  border: none;
  border-radius: 7px;
  margin-left: auto;
  cursor: pointer;
  z-index: 201;
  transition: background 0.18s, transform 0.18s;
}
.mobile-menu-toggle:focus { outline: 2px solid #222C3E; }

@media (max-width: 1020px) {
  .main-nav {
    gap: 13px;
  }
}
@media (max-width: 880px) {
  .main-nav {
    gap: 6px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #222C3E;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  max-width: 100vw;
  min-height: 100vh;
  padding: 32px 24px;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.21s;
  box-shadow: 6px 0 30px 0 rgba(34,44,62,0.25);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 24px;
  padding: 8px;
  cursor: pointer;
  z-index: 205;
  transition: color 0.2s, transform 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid #5CA6A6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 14px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5CA6A6;
  color: #222C3E;
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== HERO & BRANDING ===== */
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.brand-tagline {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #5CA6A6;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 12px 0 0 0;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 1px #fff0;
}
footer {
  background: #fff;
  border-top: 2px solid #eef1f7;
  margin-top: 50px;
  padding: 28px 0 0 0;
}
footer .content-wrapper {
  align-items: center;
  gap: 8px;
}
footer .cta-btn {
  margin-top: 18px;
  margin-bottom: 12px;
}

/* ===== FEATURE/EXPERTISE SECTIONS ===== */
ul, ol {
  list-style-type: none;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 14px;
  padding-left: 0;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #252e42;
}
ul li img {
  height: 46px;
  width: 46px;
  background: #eef1f7;
  border-radius: 10px;
  padding: 7px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px 0 rgba(92,166,166,0.08);
}
ul li h3 {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222C3E;
  letter-spacing: 0.02em;
}

/* ===== TABLES (Pricing) ===== */
table {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(92,166,166,0.07);
  background: #fff;
}
tr {
  border-bottom: 1px solid #eef1f7;
}
tr:last-child {
  border-bottom: none;
}
tbody tr:hover {
  background: #E7F1F1;
}

/* ===== BUTTONS & LINKS ===== */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #5CA6A6;
  outline-offset: 2px;
}

/* ===== MICROTOMOTIONS ===== */
section, .card, .testimonial-card, .cta-btn, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, transform 0.22s, background 0.20s, color 0.20s;
}

/* ===== RESPONSIVE RULES ===== */
@media (max-width: 1020px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .footer-menu, .content-grid, .card-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 300;
  width: 100vw;
  background: #222C3E;
  color: #fff;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  box-shadow: 0 -2px 18px 0 rgba(34,44,62,0.18);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(.42,0,.58,1), opacity 0.21s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 8px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0 3px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, transform 0.17s;
}
.cookie-banner .cookie-accept {
  background: #5CA6A6;
  color: #222C3E;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #fff;
  color: #222C3E;
}
.cookie-banner .cookie-reject {
  background: transparent;
  border: 2px solid #5CA6A6;
  color: #5CA6A6;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #5CA6A6;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #222C3E;
  color: #fff;
  border: 2px solid #5CA6A6;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #5CA6A6;
  color: #222C3E;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,44,62, 0.5);
  z-index: 340;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #222C3E;
  border-radius: 20px;
  padding: 36px 32px 26px 32px;
  box-shadow: 0 12px 48px 0 rgba(34,44,62,0.10);
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 350;
  opacity: 0;
  transform: translateY(-36px) scale(.94);
  transition: opacity 0.28s, transform 0.23s;
}
.cookie-modal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  color: #222C3E;
  font-size: 1.6rem;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #222C3E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  accent-color: #5CA6A6;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-category .essential {
  color: #5CA6A6;
  font-weight: bold;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal .cta-btn {
  padding: 10px 22px;
  border-radius: 7px;
  background: #5CA6A6;
  color: #222C3E;
  font-size: 1rem;
  font-weight: 600;
  border: none;
}
.cookie-modal .cta-btn:hover, .cookie-modal .cta-btn:focus {
  background: #222C3E;
  color: #fff;
}
.cookie-modal .cta-secondary {
  background: transparent;
  color: #5CA6A6;
  border: 2px solid #5CA6A6;
}
.cookie-modal .cta-secondary:hover, .cookie-modal .cta-secondary:focus {
  background: #5CA6A6;
  color: #222C3E;
}

@media (max-width: 550px) {
  .cookie-modal {
    padding: 20px 9px 12px 9px;
    border-radius: 10px;
    min-width: 0;
  }
}

/* ===== GEOMETRIC STRUCTURED DECORATIVE ELEMENTS ===== */
/* Accent geometric backgrounds for section/hero */
.section:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: -24px;
  left: -38px;
  width: 98px;
  height: 98px;
  background: #E7F1F1;
  border-radius: 40% 60% 60% 40%/60% 40% 60% 40%;
  opacity: 0.16;
  pointer-events: none;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  bottom: -28px;
  right: -44px;
  width: 44px;
  height: 44px;
  background: #5CA6A6;
  border-radius: 25% 75% 75% 25%/70% 30% 60% 40%;
  opacity: 0.14;
  pointer-events: none;
}

@media (max-width: 768px) {
  .section:before, .section:after { display: none; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mt-4 { margin-top: 4px !important; }
.mt-12 { margin-top: 12px !important; }
.mb-12 { margin-bottom: 12px !important; }
.space-y-8 > * + * { margin-top: 8px !important; }

/* ===== FORMS ===== */
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid #5CA6A6;
  border-radius: 7px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 12px;
  background: #F5F7FA;
  width: 100%;
  margin-bottom: 12px;
  color: #222C3E;
}
input:focus, textarea:focus {
  outline: 2px solid #5CA6A6;
  background: #fff;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #222C3E;
}

/* ===== GEOMETRIC STRUCTURED HINTS ===== */
hr {
  border: none;
  border-top: 2.2px solid #5CA6A6;
  margin: 44px 0;
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid #5CA6A6 !important;
  outline-offset: 1.5px;
}

/* ===== PRINT ===== */
@media print {
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu { display: none !important; }
  body { background: #fff; }
}
