/* CSS RESET AND 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;
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #FAFBFC;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A2433;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #15376D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #27AE60;
  outline: none;
}
ul, ol {
  margin-left: 28px;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #EAEEF2;
  margin: 32px 0;
}

/* VARS AND FONTS */
:root {
  --brand-primary: #15376D;
  --brand-secondary: #27AE60;
  --brand-accent: #F2C230;
  --text-main: #1A2433;
  --text-muted: #595f6c;
  --bg-light: #FAFBFC;
  --bg-white: #fff;
  --border: #EAEEF2;
  --shadow: 0 2px 8px rgba(24,38,54,0.04), 0 1.5px 6px rgba(24,38,54,0.07);
  --radius: 12px;
  --radius-sm: 8px;
  --oswald: 'Oswald', Arial, sans-serif;
  --roboto: 'Roboto', Arial, sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&family=Roboto:wght@400;500;700&display=swap');

/* CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(21,55,109,0.06), 0 3px 10px rgba(39,174,96,0.05);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 24px;
  min-width: 0;
  max-width: 510px;
  color: var(--text-main);
}
.testimonial-card span:last-child {
  color: var(--brand-accent);
  letter-spacing: 0.12em;
  font-size: 1.2em;
}

/* NAVIGATION */
header {
  background: var(--bg-white);
  box-shadow: 0 1px 10px rgba(24,38,54,0.07);
  z-index: 1002;
  position: sticky;
  top: 0;
}
header .container {
  padding: 18px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--oswald);
  font-size: 1.1em;
  color: var(--brand-primary);
  font-weight: 600;
  padding: 6px 0;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--brand-secondary);
}
.cta-button {
  padding: 10px 26px;
  font-family: var(--oswald);
  font-size: 1em;
  background: var(--brand-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(39,174,96,0.10);
  transition: background 0.2s, box-shadow 0.22s;
  outline: none;
  margin-left: 12px;
}
.cta-button:hover, .cta-button:focus {
  background: #208C4A;
  box-shadow: 0 4px 16px rgba(39,174,96,0.12);
}

.mobile-menu-toggle {
  display: none;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  margin-left: 10px;
  align-self: center;
  z-index: 1101;
  transition: color 0.16s;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  transform: translateX(-110%);
  z-index: 1200;
  transition: transform 0.4s cubic-bezier(0.6,0,0.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px 28px 24px 28px;
  box-shadow: 2px 0 16px rgba(21,55,109,0.09);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  margin-left: auto;
  margin-bottom: 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: var(--oswald);
  font-size: 1.25em;
  padding: 12px 0;
  color: var(--brand-primary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.18s;
  border-radius: var(--radius-sm);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F9FC;
  color: var(--brand-secondary);
}

/* HERO SECTION HEADERS & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--oswald);
  color: var(--brand-primary);
  margin-bottom: 12px;
  font-weight: 600;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.2rem;
}
p, ul, ol {
  font-family: var(--roboto);
  font-size: 1rem;
  color: var(--text-main);
}
.text-section p,
.content-wrapper > p {
  color: var(--text-muted);
}

.text-section {
  margin-bottom: 0 !important;
  max-width: 720px;
}

/* FEATURES GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
  width: 100%;
}
.feature-grid > div {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 300px;
  padding: 28px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid var(--border);
  transition: box-shadow 0.17s, border-color 0.16s;
  margin-bottom: 12px;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 18px rgba(21,55,109,0.11);
  border-color: var(--brand-secondary);
}
.feature-grid h3 {
  font-size: 1.1rem;
}
.feature-grid img {
  width: 38px;
  height: 38px;
}

/* NEWSLETTER/CTA */
.text-section a.cta-button {
  margin-top: 18px;
  align-self: flex-start;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 30px 0 22px 0;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.footer-nav a {
  color: var(--text-muted);
  font-family: var(--oswald);
  font-size: 1em;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color 0.16s, border-bottom 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-secondary);
  border-bottom: 1.5px solid var(--brand-secondary);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.95em;
}
.contact-info img {
  width: 18px;
  margin-right: 4px;
  vertical-align: middle;
  display: inline-block;
}
.social-media {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.social-media a img {
  width: 28px;
  height: 28px;
  filter: grayscale(60%) brightness(0.82);
  transition: filter 0.15s;
}
.social-media a:hover img {
  filter: grayscale(0%) brightness(1.04);
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: var(--roboto);
  font-size: 1em;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #FAFBFC;
  margin-bottom: 18px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-secondary);
}
button, [type="submit"] {
  font-family: var(--oswald);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s;
}

/* ULTRA MINIMALIST CARD DESIGN/ULS */
ul {
  padding-left: 18px;
  margin-top: 0px;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
  color: var(--text-main);
  line-height: 1.7;
}

/* SECTION SPACING (ALWAYS MIN 20px BELOW) */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:last-child {
  margin-bottom: 0 !important;
}

/* Utilities */
.w-100 {
  width: 100%;
}
.center {
  text-align: center!important;
}

/* COOKIES CONSENT BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(21,55,109,0.08);
  border-top: 1px solid var(--border);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 12px;
  gap: 24px;
  font-size: 1em;
  transition: transform 0.3s cubic-bezier(0.42,0,0.3,1);
}
#cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
#cookie-banner p {
  max-width: 420px;
  color: var(--text-muted);
  font-size: 1em;
}
.cookie-btn {
  display: inline-block;
  border-radius: var(--radius-sm);
  padding: 8px 24px;
  font-family: var(--oswald);
  font-weight: 600;
  font-size: 1em;
  margin-left: 10px;
  margin-right: 2px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  transition: background 0.18s, transform 0.15s;
}
.cookie-btn.reject {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--brand-accent);
  color: #15376D;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #102553;
  transform: translateY(-2px) scale(1.03);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #229a4f;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f6d04a;
}

/* COOKIES MODAL OVERLAY */
#cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21,55,109,0.21);
  z-index: 3000;
  display: none;
}
#cookie-modal-backdrop.show {
  display: block;
}
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96%;
  max-width: 370px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 50px rgba(21,55,109,0.12);
  transform: translate(-50%, -52%) scale(0.97);
  z-index: 4000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.52, 0, 0.15, 1);
}
#cookie-modal.show {
  display: flex;
  transform: translate(-50%, -52%) scale(1);
}
#cookie-modal header {
  font-family: var(--oswald);
  font-size: 1.2em;
  color: var(--brand-primary);
  padding: 18px 26px 8px 26px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
#cookie-modal .modal-body {
  padding: 24px 26px 22px 26px;
  color: var(--text-main);
  background: #fff;
  font-size: 1em;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 14px;
  background: #EAEEF2;
  border: 1px solid #CCC;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  flex-shrink: 0;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}
.cookie-toggle-switch {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-switch {
  left: 18px;
  background: #fff;
}
.cookie-category label {
  font-size: 1em;
  color: var(--brand-primary);
}
.cookie-category .desc {
  font-size: 0.96em;
  color: var(--text-muted);
  margin-left: 2px;
}
.cookie-category input[disabled] + .cookie-toggle {
  opacity: 0.7;
  pointer-events: none;
}
#cookie-modal footer {
  padding: 18px 26px 18px 26px;
  border-top: 1px solid var(--border);
  background: #F6F8FA;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
#cookie-modal .cookie-btn {
  margin: 0;
  padding: 8px 20px;
}

/* TRANSITIONS & MICRO-INTERACTIONS */
.card, .feature-grid > div, .testimonial-card, .cta-button, .cookie-btn, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.17s, border-color 0.16s, background 0.17s, color 0.13s, transform 0.15s, opacity 0.19s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .feature-grid {
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-nav {
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    gap: 10px;
    flex-direction: row;
    padding: 13px 12px 13px 12px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    padding: 9px 20px;
    font-size: 1em;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 20px;
    font-size: 2rem;
  }
  .section {
    padding: 32px 6px;
    margin-bottom: 38px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .feature-grid > div {
    max-width: 98vw;
    width: 100%;
    padding: 20px 11px;
  }
  .testimonial-card {
    max-width: 98vw;
    width: 100%;
    padding: 16px 8px;
    font-size: 0.98em;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
  }
  .contact-info {
    font-size: 0.96em;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    padding: 0 11px;
    align-items: flex-start;
  }
  .mobile-menu {
    padding: 24px 11px;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.06rem;
  }
  .testimonial-card {
    padding: 14px 4px;
    font-size: 0.95em;
  }
  #cookie-banner p {
    font-size: 0.98em;
    max-width: 210px;
  }
}

/* Z-INDEX LAYERING AND OVERLAP PREVENTION */
header, .mobile-menu, #cookie-banner, #cookie-modal, #cookie-modal-backdrop {
  z-index: 1000;
}
.mobile-menu.open {
  z-index: 1200;
}
#cookie-banner, #cookie-modal-backdrop, #cookie-modal {
  z-index: 3000;
}

/* ACCESSIBILITY OUTLINES */
:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

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