/* =========================
   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, 
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #181b1e;
  color: #dde2e7;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; } 
:focus { outline-color: #E28C32; }

/* =========================
   VARIABLES (fallbacks included)
   ========================= */
:root {
  --primary: #205373;
  --secondary: #F7F7FB;
  --accent: #E28C32;
  --accent-dark: #b26b24;
  --muted: #23262a;
  --muted-light: #35393c;
  --metal: #8e9093;
  --card-bg: #22262a;
  --card-border: #2d3236;
  --card-shadow: 0 2px 10px 0 rgba(16,20,28,0.17),0 1.5px 3px 0 rgba(50, 50, 50, 0.10);
  --heading-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Open Sans', Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 3px 12px rgba(15,24,36,0.16);
  --shadow-hover: 0 7px 28px rgba(15,24,36,0.23);
  --transition: 0.23s cubic-bezier(.77,0,.18,1);
  --border-width: 1.5px;
  --card-elevation: 0 1.5px 6px #19202980;
}

/* =========================
   LAYOUT: FLEXBOX UTILITIES
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  position: relative;
  border: var(--border-width) solid var(--card-border);
  display: flex;
  flex-direction: column;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7f7fb50;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  color: #212326;
  border-left: 5px solid var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: #f7f7fb;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.325rem; line-height: 1.25; color: #c6c8cb; }
h4 { font-size: 1.1rem; color: #c6c8cb; }
p, ul, ol, li, blockquote {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1rem;
  color: #dde2e7;
}
strong, b { font-weight: 700; }

/* Headings in light backgrounds */
.testimonial-card h3, .testimonial-card h4,
.cta-banner h2, .cta-banner p, .cta-banner a {
  color: var(--primary);
}

/* List items */
ul li, ol li {
  margin-bottom: 8px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* =========================
   BUTTONS & LINKS
   ========================= */
.cta-btn {
  background: var(--accent);
  color: #fff;
  font-family: var(--heading-font);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius);
  padding: 0.8em 2.4em;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  text-shadow: 0 1px 0 #78420740;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.035);
}
a.cta-btn { text-decoration: none; }
a, .directions-link {
  color: var(--accent);
  transition: color var(--transition);
  font-weight: 500;
}
a:hover, .directions-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* =========================
   NAVIGATION & HEADER
   ========================= */
header {
  background: #23262a;
  width: 100%;
  border-bottom: var(--border-width) solid var(--card-border);
  box-shadow: 0 1.5px 6px #10141c1a;
  z-index: 20;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  min-height: 76px;
}
.logo {
  height: 54px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 36px;
  width: auto;
  filter: brightness(1.10);
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a, .mobile-nav a {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 6px;
  color: #dde2e7;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
nav a:hover, nav a:focus, nav a.active {
  color: var(--accent);
  background: #23262a;
}

/* Hide .mobile-menu-toggle on desktop, show on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f7f7fb;
  font-size: 2.3rem;
  padding: 4px 16px;
  cursor: pointer;
  z-index: 50;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #23262a;
  color: var(--accent);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #181b1eee;
  box-shadow: 0 6px 32px #111;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.9,0,.1,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 32px 10px 0;
  background: none;
  border: none;
  color: #f7f7fb;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 250;
  border-radius: 6px;
  transition: background 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #23262a;
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding: 16px 40px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #f7f7fb;
  padding: 10px 4px;
  border-radius: 5px;
  width: 100%;
  background: none;
  transition: background 0.19s, color 0.19s;
  margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #23262a;
  color: var(--accent);
}

/* =========================
   HERO AREA
   ========================= */
.hero {
  background: linear-gradient(120deg, #22272c 70%, #1e2023 100%);
  border-bottom: 2.5px solid var(--card-border);
  box-shadow: 0 2px 20px #11202d2b;
  padding-top: 44px;
  padding-bottom: 46px;
  margin-bottom: 32px;
}
.hero h1 {
  color: #fff;
}
.hero p {
  font-size: 1.18rem;
  color: #bac1cb;
  margin-bottom: 16px;
}
.hero .content-wrapper {
  max-width: 700px;
}

/* =========================
   FEATURES, CARDS & SERVICE-CARDS
   ========================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature {
  flex: 1 1 190px;
  min-width: 250px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 30px 28px 26px 28px;
  border: var(--border-width) solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  filter: grayscale(0.13) contrast(1.5) brightness(1.3);
}
.feature:hover, .feature:focus {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}
.service-card {
  flex: 1 1 250px;
  min-width: 220px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 28px 23px 23px 23px;
  border: var(--border-width) solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card .price-tag {
  margin-top: 10px;
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 5px;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  box-shadow: 0 1px 3px #10161c2a;
}
.service-card:hover, .service-card:focus {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.03);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 18px;
}
.pricing-table thead {
  background: #23262a;
}
.pricing-table th, .pricing-table td {
  padding: 18px 12px;
  text-align: left;
  border-bottom: 1px solid var(--metal);
  font-family: var(--body-font);
  font-size: 1rem;
}
.pricing-table th {
  font-family: var(--heading-font);
  font-weight: 700;
  color: #F7F7FB;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table td:last-child {
  color: var(--accent);
  font-weight: 600;
}

.information-box, .info-box, .next-steps-info {
  background: #25282c;
  color: #E6EBF4;
  border-left: 4px solid var(--accent);
  padding: 18px 25px 16px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 1rem;
  box-shadow: 0 3px 12px #141a2114;
}
.info-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.info-box {
  margin-bottom: 0;
  flex: 1 1 200px;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 26px;
}
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 22px 24px;
  border: var(--border-width) solid var(--card-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover {
  border-color: var(--accent); box-shadow: var(--shadow-hover);
}
.faq-item h3 {
  font-size: 1.15rem; color: var(--primary); margin-bottom: 9px;
}

/* Contact details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
  margin-bottom: 7px;
  color: #dde2e7;
}
.contact-details a {
  color: var(--accent);
}

/* Next steps info */
.next-steps-info ul {
  margin-left: 15px;
  list-style: disc inside;
  color: #dde2e7;
}
.next-steps-info ul li {
  margin-bottom: 4px;
}
.next-steps-info strong { color: var(--accent); }

/* =========================
   CTA BANNER
   ========================= */
.cta-banner {
  background: #f7f7fb;
  padding: 36px 0;
  margin-bottom: 0;
  border-top: 2.5px solid var(--card-border);
  box-shadow: 0 -1.5px 10px #1e222700;
}
.cta-banner h2 { color: var(--primary); }
.cta-banner p {
  color: #22262a;
  margin-bottom: 16px;
}
.cta-banner .cta-btn {
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow);
}
.cta-banner .cta-btn:hover, .cta-banner .cta-btn:focus {
  background: var(--accent);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #22262a;
  padding: 36px 0 16px 0;
  border-top: var(--border-width) solid var(--card-border);
  width: 100%;
  font-size: 0.97rem;
}
footer .container {
  gap: 18px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
footer nav {
  display: flex;
  gap: 17px;
  margin: 12px 0 6px 0;
}
footer nav a {
  font-family: var(--heading-font);
  color: #bac1cb;
  font-size: 0.97rem;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
footer img {
  width: 40px; height: 40px;
  margin-bottom: 4px;
  filter: grayscale(0.15) brightness(1.08);
}
footer p {
  color: #8e9093;
  font-size: 0.92rem;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
   ========================= */
@media (max-width: 980px) {
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid, .info-boxes {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 13px;
    padding-right: 13px;
  }
  header .container {
    flex-direction: row;
    gap: 7px;
    padding: 0 9px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature, .service-card, .info-box { min-width: 0; }
  .hero {
    padding-top: 26px;
    padding-bottom: 34px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 32px;
  }
  .content-wrapper { gap: 16px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.54rem; }
  h2 { font-size: 1.19rem; }
  .hero { padding-top: 16px; padding-bottom: 26px; }
  .section { padding: 18px 3px; }
  .card, .feature, .testimonial-card, .service-card {
    padding: 18px 9px !important;
    font-size: 0.96rem;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 480px) {
  .container { padding-left: 5px; padding-right: 5px; }
  header .container { padding: 0 5px; }
  .logo img { height: 27px; }
  footer .container { gap: 9px; padding: 0 5px; }
}

/* =========================
   MICRO-INTERACTIONS & ANIMATIONS
   ========================= */
.card, .feature, .service-card, .faq-item, .info-box, .testimonial-card {
  transition: box-shadow 0.21s cubic-bezier(.5,0,.80,1), border-color var(--transition), transform var(--transition);
}
.card:hover, .feature:hover, .service-card:hover, .faq-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.021);
}

/* =========================
   ACCESSIBILITY: HIGH CONTRAST TESTIMONIALS
   ========================= */
.testimonial-card {
  color: #22262a !important;
  border-left: 5px solid var(--primary);
}
.testimonial-card .testimonial-name {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--primary);
  margin-left: 6px;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
}

/* =========================
    COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #23262a;
  color: #dde2e7;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 -3px 36px #15202b44;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 18vw 24px 24px;
  gap: 30px;
  font-size: 0.99rem;
  animation: cookie-slide-in 0.6s cubic-bezier(.71,0,.22,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner.hidden { display: none !important; }
.cookie-banner .cookie-message {
  max-width: 600px;
  line-height: 1.5;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
}
.cookie-btn {
  border: none;
  border-radius: var(--radius);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6em 1.6em;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  margin-left: 0;
  box-shadow: 0 1px 7px #19171a08;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.reject {
  background: #35393c;
  color: #ffebe0;
}
.cookie-btn.settings {
  background: none;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.6em 1.6em;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent-dark);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2d3236; color: #ffe0c2;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181b1efd;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: backdrop-fade 0.38s;
}
@keyframes backdrop-fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #23262a;
  border-radius: 13px;
  box-shadow: 0 6px 52px #11181c60;
  min-width: 320px;
  max-width: 420px;
  padding: 38px 32px 28px 32px;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: modal-fadein 0.4s cubic-bezier(.91,0,.21,1);
  position: relative;
}
@keyframes modal-fadein {
  from { transform: scale(.92) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.17rem;
  color: var(--accent);
}
.cookie-modal .cookie-category {
  background: var(--muted-light);
  padding: 13px 15px;
  border-radius: 7px;
  margin-bottom: 13px;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.cookie-category .category-switch {
  margin-left: auto;
}
/* Toggle Switches */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 25px;
}
.switch input { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #bac1cb;
  border-radius: 25px;
  transition: background 0.19s;
}
.switch input:checked + .slider {
  background: var(--accent);
}
.slider:before {
  position: absolute;
  content: '';
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1px 4px #1f2630aa;
}
.switch input:checked + .slider:before {
  transform: translateX(21px);
}
/* Category required label */
.category-required {
  color: #50e363;
  font-size: 0.93em;
  margin-left: 6px;
}
/* Cookie Modal Actions */
.cookie-modal-actions {
  margin-top: 9px;
  display: flex;
  gap: 14px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 21px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #dde2e7;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.14s, color 0.16s;
  z-index: 11;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #23262a;
  color: var(--accent);
}

/* Responsive Cookie Banner/Modal */
@media (max-width: 900px) {
  .cookie-banner { padding: 19px 8vw 19px 13px; gap: 14px; font-size: 0.97rem; }
  .cookie-modal { max-width: 96vw; }
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 15px 4vw 15px 5px; font-size: 0.93rem; }
  .cookie-btn { font-size: 0.98rem; padding: 0.5em 1.15em; }
  .cookie-modal { padding: 18px 7px 17px 13px; }
}

/* =========================
   MISC
   ========================= */
table { width: 100%; border-spacing: 0; border-collapse: collapse; }
th, td { vertical-align: top; }

ol { margin-left: 1.2em; }
ol li { list-style-type: decimal; }

div.directions-link {
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  font-size: 1.03rem;
  margin-top: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.17s;
}
div.directions-link:hover { color: var(--primary); text-decoration: underline; }

/* Info box inside tables, pricing hints etc. */
.information-box strong, .info-box strong { color: var(--accent); }

/* Accessibility: remove outline only for mouse, not keyboard */
:focus:not(:focus-visible) { outline: none; }

/* Checkbox label in cookie modal */
label.category-label {
  font-weight: 600;
  font-size: 1.01rem;
  color: #ebdebe;
  padding-left: 3px;
}
section {
  padding: 15px;
}
/* Custom fonts - Montserrat & Open Sans - for mounting in HTML <link> */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600|Open+Sans:400,600');
