/* 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: inherit;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #111;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  border: none;
  display: block;
}

/* MONOCHROME/SOPHISTICATED COLORS - TOKEN DEFINITIONS */
:root {
  --primary-dark: #111;
  --grey-lighter: #F6F8F9;
  --grey-light: #EEE;
  --grey-medium: #c1c1c1;
  --grey-dark: #666;
  --grey-darker: #252525;
  --brand-primary: #111;
  --brand-contrast: #fff;
  --accent: #06566A;
  --accent-em: #1BA877;
  --border-radius: 10px;
  --shadow-light: 0 2px 8px rgba(0,0,0,0.055);
  --shadow-medium: 0 8px 32px rgba(0,0,0,0.14);
  --focus-outline: #222;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #111;
  font-weight: 700;
  letter-spacing: -0.03em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, .text-section {
  font-family: 'Open Sans', Arial, sans-serif;
}
p, ul, ol, table, .text-section {
  margin-bottom: 16px;
  color: #252525;
  font-size: 1rem;
}
strong, b {
  font-weight: bold;
}
small {
  font-size: 0.92em;
  color: #666;
}
blockquote {
  font-style: italic;
  border-left: 3px solid #111;
  padding-left: 20px;
  color: #252525;
  margin-bottom: 20px;
}

/* BODY LAYOUT CONTAINERS */
.container {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--grey-lighter);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

/* HEADER, NAVIGATION & LOGO */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,0.04);
  position: relative;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 74px;
}
.logo img {
  max-height: 46px;
  display: block;
  filter: grayscale(100%);
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-right: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 8px;
  color: #222;
  letter-spacing: .01em;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
  background: #ececec;
  outline: none;
}
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: 0;
  border-radius: var(--border-radius);
  cursor: pointer;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  margin-left: 28px;
  text-align: center;
  transition: background .23s, color .2s, box-shadow .22s;
  background: #222;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: var(--shadow-medium);
  outline: none;
}
.btn-secondary {
  background: #fff;
  color: #222;
  border: 1px solid #b9b9b9;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #222;
  color: #fff;
  box-shadow: var(--shadow-light);
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  font-size: 2rem;
  color: #222;
  border: none;
  margin-left: 20px;
  padding: 0 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e3e3e3;
  outline: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: #fff;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.74,.15,.28,1);
  box-shadow: -2px 0 18px rgba(0,0,0,.10);
  display: flex;
  flex-direction: column;
  padding: 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #111;
  font-size: 2rem;
  position: absolute;
  top: 24px;
  right: 28px;
  cursor: pointer;
  z-index: 1002;
  transition: background .18s, color .13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
  background: #ececec;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 100px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  color: #1f1f1f;
  padding: 12px 20px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  min-width: 200px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ececec;
  color: var(--accent);
}

/* HERO SECTION */
.hero {
  background: #f5f5f5;
  padding: 64px 0 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #111;
  margin-bottom: 18px;
}
.hero p {
  margin-bottom: 32px;
  font-size: 1.16rem;
}

/* FEATURE SECTION & GRID */
.features {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.feature-grid > div {
  background: var(--grey-lighter);
  flex: 1 1 260px;
  min-width: 210px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow .19s, transform .17s;
  border: 1px solid #eeeeee;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px) scale(1.012);
}
.feature-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 8px;
  filter: grayscale(100%) contrast(1.15);
}
.features h3 {
  margin-bottom: 10px;
}

/* CARDS & FLEX-CONTAINERS (abstraction for various grids) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
  padding: 24px 28px;
  margin: 0 0 24px 0;
  background: #fafafa;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow .14s;
}
.testimonial-card p {
  font-size: 1.1em;
  font-style: italic;
  color: #232323;
  margin-bottom: 4px;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: var(--shadow-medium);
  border-left: 4px solid var(--accent-em);
}

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

/* SERVICE/PRICING/LIST SECTIONS */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 38px;
}
.service-list > div {
  flex: 1 1 260px;
  min-width: 205px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid #eeeeee;
  transition: box-shadow .18s, transform .17s;
}
.service-list > div:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.01);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.pricing-table th, .pricing-table td {
  border: 1px solid #dddddd;
  padding: 12px 16px;
  text-align: left;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.pricing-table th {
  background: #f7f7f7;
  color: #222;
  font-size: 1.09em;
}
.pricing-table tbody tr:nth-child(odd) {
  background: #F8F8F8;
}

.faq ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
}
.faq li {
  background: #fafafa;
  border-radius: 8px;
  padding: 20px 16px;
  box-shadow: var(--shadow-light);
  color: #222;
}
.faq li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.faq li div {
  margin-top: 6px;
}

/* CONTACT SECTION */
.contact-summary, .contact {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 32px 20px;
}
.contact .text-section p, .contact-summary p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.contact .text-section img, .contact-summary img {
  height: 24px;
  width: 24px;
  margin-right: 4px;
  filter: grayscale(100%) contrast(1.1);
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 22px 0 8px 0;
  margin: 12px 0 0 0;
}
.map-placeholder img {
  height: 62px;
  width: 62px;
  margin-bottom: 6px;
}

/* ABOUT SECTIONS, TERMS, GDPR, ETC. */
.about, .why-us, .privacy-policy, .gdpr-compliance, .cookie-policy, .terms-of-use, .thank-you {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 40px 20px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-light);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.09rem;
}
.text-section h3 {
  margin-bottom: 8px;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  margin-bottom: 14px;
  list-style: disc inside none;
}
.text-section li {
  margin-bottom: 4px;
}

/* FOOTER */
footer {
  background: #191919;
  color: #fafafa;
  padding: 38px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #bfbfbf;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .18s;
  padding: 4px 0;
  border-radius: 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #222;
  outline: none;
  padding: 4px 7px;
}
footer p {
  margin-bottom: 0;
  color: #cccccc;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  text-align: center;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2200;
  background: #111;
  color: #fff;
  padding: 22px 20px;
  box-shadow: 0 -2px 16px rgba(0,0,0,.18);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: 1rem;
  transition: transform .26s cubic-bezier(.74,.15,.28,1), opacity .19s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 60%;
  color: #fff;
  margin-right: 16px;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .19s, color .16s;
}
.cookie-accept {
  background: var(--accent-em);
  color: #fff;
  font-weight: 600;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--accent) !important;
  outline: none;
}
.cookie-reject {
  background: #232323;
  color: #fff;
  font-weight: 600;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #515151 !important;
  outline: none;
}
.cookie-settings {
  background: transparent;
  color: #f7f7f7;
  border: 1px solid #555;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #333 !important;
  color: #fff !important;
  outline: none;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  background: rgba(0,0,0,0.42);
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .18s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #222;
  padding: 34px 24px 24px 24px;
  border-radius: var(--border-radius);
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 12px 54px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2500;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-modal-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal-category input[type="checkbox"] {
  width: 21px; height: 21px;
  accent-color: var(--accent);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .18s, color .15s;
}
.cookie-modal .cookie-accept {
  background: var(--accent-em);
  color: #fff;
  font-weight: 600;
}
.cookie-modal .cookie-accept:hover {
  background: var(--accent);
}
.cookie-modal .cookie-reject {
  background: #232323;
  color: #fff;
}
.cookie-modal .cookie-reject:hover {
  background: #515151;
}
.cookie-modal .cookie-close {
  background: transparent;
  color: #111;
  position: absolute;
  font-size: 2rem;
  top: 12px; right: 20px;
  cursor: pointer;
  border: none;
  z-index: 3;
  padding: 0 6px;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: var(--accent);
  background: #eeeeee;
  outline: none;
}
.cookie-modal .disabled-info {
  font-size: 0.98rem;
  color: #aaa;
  margin-left: 6px;
}

/* THANK-YOU/CTA SECTIONS */
.cta {
  background: #222;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  padding: 40px 20px;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}
.cta .btn-primary {
  background: var(--accent-em);
  color: #fff;
  margin: 0 auto;
}
.cta .btn-primary:hover {
  background: var(--accent);
}

/* UTILITIES */
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* TRANSITIONS & MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .footer-nav a, .main-nav a, .mobile-nav a {
  transition: color .18s, background .18s, box-shadow .18s, border .13s, transform .16s;
}
.card, .testimonial-card, .feature-grid > div, .service-list > div, .faq li {
  transition: box-shadow .18s, transform .13s;
}
.card:hover, .service-list > div:hover, .feature-grid > div:hover, .faq li:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.01);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1000px) {
  .container {
    max-width: 970px;
  }
  header {
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .section, .about, .why-us, .privacy-policy, .cookie-policy, .terms-of-use, .thank-you, .gdpr-compliance, .cta {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .card-container, .feature-grid, .service-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  header {
    min-height: 58px;
    height: 58px;
    flex-direction: row;
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 8px;
    padding: 11px 16px;
    font-size: 0.98rem;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    order: 3;
  }
  .logo img {
    max-height: 36px;
  }
  .testimonial-card, .faq li {
    padding: 18px 10px;
  }
  .feature-grid > div, .service-list > div, .card {
    min-width: 0;
    padding: 16px 10px 12px 10px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.38rem; }
  .pricing-table th, .pricing-table td {
    font-size: .96rem;
    padding: 7px 7px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-banner button:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
  background: #ececec;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
