/* 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, menu, ol, ul, li, fieldset, form, label, legend, caption, 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;
  background: transparent;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: none;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  box-sizing: border-box;
}
/* BRAND COLOR VARIABLES */
:root {
  --primary: #174A74;
  --secondary: #ffffff;
  --accent: #B06A18;
  --neutral-dark: #111111;
  --neutral: #232323;
  --gray-light: #F5F7FA;
  --gray: #cacaca;
  --gray-mid: #A8A8A8;
  --gray-dark: #333333;
  --shadow-lg: 0 6px 32px 0 rgba(30,30,32,0.12);
  --shadow-md: 0 2px 8px 0 rgba(0,0,0,0.09);
}
/* TYPOGRAPHY (Montserrat for headings, Roboto for text) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: var(--gray-light);
  color: var(--neutral-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--neutral-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.23;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--neutral);
}
strong {
  font-weight: 700;
}
section .container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* FLEX LAYOUTS */
.feature-grid, .card-container, .content-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.card-container {
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--secondary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 28px 22px;
  margin-bottom: 20px;
  flex: 1 1 225px;
  min-width: 220px;
  transition: box-shadow .22s, transform .18s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.012);
  z-index: 3;
}
.features, .content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--gray-light);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 280px;
  color: var(--neutral-dark);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--neutral-dark);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-item {
  min-width: 240px;
  flex: 1 1 300px;
  background: var(--secondary);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  color: var(--neutral);
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.faq-item:hover {
  box-shadow: var(--shadow-lg);
}
.text-section {
  margin-bottom: 16px;
}
/* TABLES */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--secondary);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 26px;
}
.pricing-table thead th {
  background: var(--gray-dark);
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 16px 10px;
  font-size: 1.12rem;
  border-bottom: 2px solid var(--primary);
  letter-spacing: 0.02em;
  text-align: left;
}
.pricing-table tbody tr {
  border-bottom: 1px solid var(--gray);
}
.pricing-table tbody td {
  padding: 13px 10px;
  color: var(--neutral);
  border-bottom: 1px solid var(--gray-light);
  font-size: 1rem;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
/* BUTTONS */
.cta-primary, .button, .cookie-banner .cookie-btn {
  background: var(--neutral-dark);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  border-radius: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: 
    background .20s, 
    color .16s, 
    transform .14s;
  border: none;
  display: inline-block;
  margin-top: 10px;
}
.cta-primary:hover, .button:hover, .cookie-banner .cookie-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.045);
}
.cta-primary:active, .button:active, .cookie-banner .cookie-btn:active {
  background: var(--accent);
  color: #fff;
}
.button-secondary {
  background: var(--gray-mid);
  color: var(--neutral-dark);
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 13px 26px;
  transition: background .13s, color .13s;
  border: none;
}
.button-secondary:hover {
  background: var(--gray-dark);
  color: #fff;
}
/* HEADER/NAVIGATION */
header {
  background: var(--secondary);
  box-shadow: 0 1px 12px -8px var(--gray-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 20px;
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}
.main-nav img {
  height: 36px;
  margin-right: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-size: 1.07rem;
  color: var(--neutral-dark);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 16px;
  transition: background .14s, color .16s;
  position: relative;
}
.main-nav a:hover {
  background: var(--gray-light);
  color: var(--primary);
}
.main-nav .cta-primary {
  background: var(--primary);
  color: #fff;
  margin-left: 16px;
  border-radius: 22px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 2px 10px 0 rgba(23,74,116,.11);
}
.main-nav .cta-primary:hover {
  background: var(--accent);
}
/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--neutral-dark);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 4px 8px;
  margin-left: auto;
  border: none;
  cursor: pointer;
  z-index: 180;
  transition: background .16s;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .37s cubic-bezier(.7,.05,.6,1);
  box-shadow: 0 0 64px 0 rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--neutral-dark);
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 28px 28px 0 0;
  cursor: pointer;
  padding: 0 10px 0 10px;
  transition: background .15s;
  z-index: 202;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 42px 34px 0 34px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  font-size: 1.13rem;
  padding: 12px 0;
  color: var(--neutral-dark);
  font-weight: 600;
  border-radius: 10px;
  transition: background .13s, color .12s;
}
.mobile-nav a:hover {
  background: var(--gray-light);
  color: var(--primary);
}
/* HERO SECTION & CONTAINERS */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  max-width: 1160px;
  padding: 0 20px;
}
.hero {
  padding: 64px 0 48px 0;
  background: var(--secondary);
  box-shadow: 0 4px 28px -12px rgba(21,21,22,0.09);
}
/* FEATURES */
.feature {
  background: var(--secondary);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 22px 18px;
  min-width: 210px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: box-shadow .19s, transform .11s;
}
.feature img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
  filter: brightness(0) contrast(1.1);
  opacity: 0.93;
}
.feature:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.027);
}
/* CONTACT SECTION */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.contact-details img {
  height: 16px;
  width: 16px;
  margin: 0 3px 0 0;
}
/* FOOTER */
footer {
  background: var(--neutral-dark);
  color: #fff;
  padding: 36px 20px 22px 20px;
  margin-top: 64px;
  font-size: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-links a {
  color: #fff;
  opacity: 0.93;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 5px 9px;
  transition: background .11s, color .11s;
}
.footer-links a:hover {
  background: var(--gray-dark);
  color: var(--accent);
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-contact img {
  height: 14px;
  width: 14px;
  margin: 0 2px 0 0;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  font-weight: 400;
  opacity: 0.93;
  transition: color .1s;
}
.footer-contact a:hover {
  color: var(--accent);
}
.footer-brand {
  text-align: center;
  color: var(--gray);
  font-size: 0.98rem;
  margin-top: 8px;
}
/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--neutral-dark);
  color: #fff;
  padding: 22px 18px;
  z-index: 2100;
  box-shadow: 0 -4px 24px rgba(0,0,0,.15);
  font-size: 1rem;
  gap: 18px;
  animation: cookieFadeIn .7s ease;
}
@keyframes cookieFadeIn {
  from {opacity: 0; transform: translateY(80px);}
  to {opacity: 1; transform: translateY(0);}
}
.cookie-banner .cookie-btn {
  margin-left: 10px;
  margin-right: 2px;
  min-width: 110px;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 28px;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .13s;
}
.cookie-banner .cookie-btn.reject {
  background: var(--gray-mid);
  color: var(--neutral-dark);
}
.cookie-banner .cookie-btn.settings {
  background: var(--secondary);
  color: var(--neutral-dark);
  border: 1px solid var(--gray-mid);
}
.cookie-banner .cookie-btn:hover {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.settings:hover {
  background: var(--gray-dark);
  color: #fff;
}
/* COOKIE SETTINGS MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0;
  left: 0; right: 0; bottom: 0;
  background: rgba(17,17,17, 0.56);
  justify-content: center;
  align-items: center;
  animation: fadeInModal .19s cubic-bezier(.6,.13,.5,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity:0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: var(--secondary);
  padding: 36px 26px;
  border-radius: 16px;
  max-width: 92vw;
  width: 410px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--neutral-dark);
  animation: modalIn .2s cubic-bezier(.7,0,.6,1);
}
@keyframes modalIn {
  from {transform: translateY(36px) scale(0.96); opacity:0;}
  to {transform: translateY(0) scale(1);  opacity:1;}
}
.cookie-modal-close {
  background: var(--gray-dark);
  color: #fff;
  border: none;
  border-radius: 7px;
  position: absolute;
  top: 13px;
  right: 13px;
  font-size: 1.29rem;
  cursor: pointer;
  padding: 2px 8px;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  appearance: none;
  border: 2px solid var(--gray-dark);
  border-radius: 4px;
  background: #fff;
  margin: 0;
  cursor: pointer;
  transition: border .14s, box-shadow .14s;
  position: relative;
}
.cookie-category input[type="checkbox"]:checked {
  border-color: var(--primary);
  background: var(--primary);
}
.cookie-category input[type="checkbox"]:checked:after {
  content: '';
  display: block;
  width: 10px; height:10px;
  margin: 3px auto 0 auto;
  border-radius: 1px;
  background: #fff;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
/* ANIMATIONS */
a, button, .cta-primary, .card, .feature, .testimonial-card, .faq-item, .mobile-nav a, .main-nav a, .button-secondary, .cookie-banner .cookie-btn {
  transition: background .20s, color .15s, box-shadow .18s, transform .13s;
}
/* FORM ELEMENTS */
input, select, textarea {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 5px;
  padding: 10px 13px;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: border .13s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
}
/* RESPONSIVE DESIGN */
@media (max-width: 1160px) {
  .main-nav, .container { max-width: 100%; }
}
@media (max-width: 992px) {
  .main-nav { gap: 12px; padding: 19px 12px; }
  .card, .feature, .testimonial-card, .faq-item { min-width: 170px; }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid, .testimonial-slider, .faq-list {
    gap: 16px;
    justify-content: flex-start;
  }
}
@media (max-width: 808px) {
  .main-nav { gap: 4px; }
  .footer-links { gap: 10px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
}
@media (max-width: 768px) {
  /* NAVIGATION */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 18px;
  }
  /* CONTAINERS+LAYOUT */
  section {
    padding: 30px 0;
  }
  .feature-grid, .card-container, .content-grid, .testimonial-slider, .faq-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card, .feature, .faq-item, .card {
    min-width: 0;
    padding: 18px 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .footer-contact, .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  .footer-contact {
    justify-content: flex-start;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 10px;
  }
}
@media (max-width: 510px) {
  .mobile-menu {
    padding: 0;
    padding-top: 12px;
  }
  .mobile-nav {
    padding: 28px 10px 0 10px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .cookie-modal-dialog {
    padding: 20px 7vw 18px 7vw;
    width: 96vw;
  }
}

/* PRINT SMALL SCREENS - ensure no overlapping */
@media (max-width:400px) {
  .footer-contact, .footer-links {
    font-size: 0.87rem;
  }
  .feature, .card, .faq-item {
    padding: 14px 5px;
    font-size: 0.97rem;
  }
}

/* Z-INDEX LAYERING */
header { z-index: 100; }
.mobile-menu { z-index: 300; }
.cookie-banner { z-index: 2100; }
.cookie-modal { z-index: 3000; }

/* VISUAL HIERARCHY MARKS */
h1, h2, h3 {
  border-left: 4px solid var(--primary);
  padding-left: 13px;
  background: none;
}
h1 { border-width: 6px; }

/* MISC UTILS */
.mt-24 { margin-top: 24px!important; }
.mb-16 { margin-bottom: 16px!important; }
.gap-24 { gap: 24px!important; }

/* Error / ready state for cookie checkboxes */
.cookie-category input[type="checkbox"].error {
  border: 2px solid red;
}
