/* CSS RESET & NORMALIZATION */
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 {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #174450;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
}
li {
  margin: 0.4em 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #181818;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol, blockquote {
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #222;
  margin-left: 0;
  padding-left: 16px;
  color: #222;
}
cite {
  display: block;
  margin-top: 6px;
  color: #555;
  font-style: normal;
  font-size: 0.97em;
}
/* General layout containers */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* --- Brand Monochrome Palette --- */
:root {
  --primary: #174450;
  --secondary: #F6F8F7;
  --accent: #FCC840;
  --gray-900: #181818;
  --gray-700: #222;
  --gray-500: #666;
  --gray-400: #bbb;
  --gray-300: #f0f0f0;
  --white: #fff;
}

/* Header & Navigation */
header {
  background: var(--white);
  border-bottom: 1px solid #e5e6ea;
  position: relative;
  z-index: 40;
}
.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: relative;
}
.main-nav .logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 6px;
  border-radius: 4px;
  color: var(--gray-900);
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 26px;
  margin-left: 32px;
  box-shadow: 0 2px 8px rgba(23,68,80,0.05);
  transition: background 0.18s, color 0.18s, box-shadow 0.24s;
  text-align: center;
  display: inline-block;
  border: none;
  outline: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--gray-900);
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(23,68,80,0.14);
  text-decoration: none;
}

/* Burger Menu (Mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--gray-400);
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  position: absolute;
  top: 14px;
  right: 12px;
  z-index: 80;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--white);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(30,36,38,0.97);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.73,.01,.4,1.01);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--white);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  margin-left: 24px;
  cursor: pointer;
  border: none;
  z-index: 1300;
}
.mobile-nav {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90vw;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  padding: 12px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--accent);
}

/* Hide nav on mobile */
@media (max-width: 992px) {
  .main-nav ul, .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav {
    padding-right: 56px;
  }
}

/* --- HERO SECTION --- */
.hero {
  width: 100%;
  background: var(--secondary);
  color: var(--primary);
  margin-bottom: 60px;
  padding: 40px 0 32px 0;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 700px;
  gap: 16px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 12px;
}
.hero p {
  color: var(--primary);
  font-size: 1.18rem;
}

/* --- GLOBAL SECTION SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section, .section {
    padding: 32px 4vw;
    margin-bottom: 36px;
  }
}

/* --- Card & Flex Layouts --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  padding: 24px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(24,24,24,0.07);
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(24,24,24,0.13);
}

.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;
  margin-bottom: 24px;
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 12px rgba(24,24,24,0.06);
  border-radius: 12px;
  padding: 20px 36px 20px 28px;
  font-size: 1.09rem;
  color: var(--primary);
  transition: box-shadow 0.16s;
}
.testimonial-card blockquote {
  color: var(--primary);
  border: none;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card cite {
  color: var(--gray-700);
  font-size: 0.97em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(23,68,80,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 32px;
}
.service-card {
  flex: 1 1 240px;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(24,24,24,.05);
  border-radius: 16px;
  padding: 30px 24px 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 4px solid var(--primary);
  transition: box-shadow 0.18s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(23,68,80,0.14);
}
.service-card h3 {
  color: var(--primary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 0;
  margin-bottom: 30px;
}
.service-list li {
  background: var(--secondary);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(24,24,24, 0.05);
  padding: 24px 24px 20px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2px;
  border-left: 4px solid var(--primary);
}
.service-list .price {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  border-radius: 8px;
  display: inline-block;
  margin-top: 8px;
  padding: 6px 13px;
  font-size: 1.01rem;
  box-shadow: 0 1px 6px rgba(23,68,80,0.08);
}

/**** FAQ Accordion & FAQ List ****/
.faq-accordion, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-accordion h3, .faq-list h3 {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 4px;
  margin-top: 8px;
  transition: color 0.2s;
}
.faq-accordion h3:hover, .faq-list h3:hover {
  color: var(--accent);
}
.faq-accordion p, .faq-list p {
  color: var(--gray-700);
  background: var(--gray-300);
  border-radius: 7px;
  padding: 14px 16px;
  margin-bottom: 4px;
}

/* CTA section highlighting */
.cta-section {
  background: var(--primary);
  color: var(--white);
  border-radius: 18px;
  padding: 32px 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Footer Styles --- */
footer {
  width: 100%;
  background: #181818;
  color: var(--white);
  padding: 0;
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 20px 24px 20px;
  gap: 24px;
  border-top: 3px solid var(--primary);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: var(--white);
  font-size: 1rem;
  text-decoration: underline;
  opacity: 0.87;
  transition: color 0.2s, opacity 0.18s;
}
footer nav a:hover,footer nav a:focus {
  color: var(--accent);
  opacity: 1;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 0.98rem;
  color: #eaeaea;
  text-align: right;
}
.footer-info img {
  max-width: 48px;
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 6vw 14px 6vw;
  }
  .footer-info {
    align-items: flex-start;
    text-align: left;
  }
}

/*** Thank You Section ***/
.thank-you {
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(24,24,24, 0.09);
  margin-top: 32px;
  margin-bottom: 40px;
  padding: 50px 0 54px 0;
}

/* ------------------ Cookie Consent Banner ------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--gray-900);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 16px 20px 16px;
  z-index: 3000;
  font-size: 1rem;
  box-shadow: 0 -2px 22px rgba(24,24,24,0.14);
  transition: transform 0.4s cubic-bezier(.71,.09,.55,.92), opacity 0.18s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  max-width: 1080px;
  width: 100%;
}
.cookie-banner p {
  margin: 0;
  color: var(--white);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: 32px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  padding: 9px 19px;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.18s;
}
.cookie-banner .accept-btn {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .accept-btn:hover {
  background: var(--white);
  color: var(--primary);
}
.cookie-banner .reject-btn {
  background: var(--gray-300);
  color: var(--gray-900);
}
.cookie-banner .reject-btn:hover {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .settings-btn {
  background: none;
  border: 1px solid var(--gray-400);
  color: var(--gray-400);
}
.cookie-banner .settings-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,24,24,0.93);
  z-index: 4010;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1; pointer-events: auto;
  animation: fadeInModal 0.35s cubic-bezier(.7,.02,.36,1.05);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: var(--white);
  color: var(--gray-900);
  border-radius: 18px;
  max-width: 410px;
  width: 96vw;
  box-shadow: 0 6px 28px rgba(24,24,24,0.13);
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  padding: 5px 0;
}
.cookie-modal .category-label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .toggle-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .toggle input[type="checkbox"] {
  appearance: none;
  width: 34px;
  height: 18px;
  background: var(--gray-400);
  border-radius: 18px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal .toggle input[type="checkbox"]:checked {
  background: var(--primary);
}
.cookie-modal .toggle input[type="checkbox"]:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  background: var(--white);
  border-radius: 50%;
  transition: left 0.19s, background 0.15s;
}
.cookie-modal .toggle input[type="checkbox"]:checked:before {
  left: 16px;
  background: var(--accent);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 2.25rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .modal-close:hover {
  color: var(--primary);
}
@media (max-width: 480px) {
  .cookie-modal .modal-content {
    padding: 27px 7vw 21px 7vw;
  }
}

/* --- Typography Specific --- */
strong, b {
  font-weight: 700;
  color: var(--primary);
}
em, i {
  font-style: italic;
  color: var(--gray-700);
}

/* Give slightly rounded effect to all images icons */
img, .icon {
  border-radius: 8px;
}

/* Responsive spacing and layout rules */
@media (max-width: 992px) {
  .services-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .service-card, .card {
    min-width: 0;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 24px !important;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 20px 16px;
  }
}

/* All cards and testimonials minimum spacing */
.card, .service-card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
/* Nav spacing fix */
@media (max-width: 768px) {
  .main-nav {
    padding: 8px 0 8px 0;
  }
  .hero, .section, section {
    padding: 32px 6vw;
  }
}

/* Fancy DIVIDER for monochrome effect (optional usage) */
.divider {
  height: 1.5px;
  width: 80px;
  background: var(--primary);
  border-radius: 2px;
  margin: 36px 0;
  opacity: 0.13;
}

/* Subtle animation for section fade-in up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.section, section, .card, .testimonial-card, .service-card {
  animation: fadeInUp 0.6s cubic-bezier(.61,-0.01,.16,1.02);
}

/* --- Accessibility: high contrast for review/testimonial --- */
.testimonial-card, .testimonial-card blockquote {
  color: #181818;
  background: var(--secondary);
}
.testimonial-card cite {
  color: #222;
}

/* --- Buttons, Forms, Micro-interactions --- */
button, .btn, input[type="submit"] {
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
}
button:focus, .cta-btn:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 1.5px;
}
input, textarea {
  font-size: 1rem;
  background: var(--gray-300);
  padding: 10px 13px;
  border-radius: 6px;
  border: 1px solid var(--gray-400);
  margin-bottom: 12px;
  transition: border-color 0.18s, background 0.19s;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}
::-webkit-input-placeholder { color: var(--gray-500); }
::-moz-placeholder { color: var(--gray-500); }
:-ms-input-placeholder { color: var(--gray-500); }
::placeholder { color: var(--gray-500); }

/* --- Visual hierarchy --- */
hr {
  border: 0;
  height: 1px;
  background: var(--gray-400);
  opacity: 0.2;
  margin: 36px 0;
}

/* --- Miscellaneous classes for card/group/section spacing --- */
.card-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 26px;
}

/* --- Hide scrollbars on mobile-menu for iOS/Android --- */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* --- Utility classes --- */
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-center { align-items: center; justify-content: center; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* --- Print Styles (Minimal) --- */
@media print {
  header, footer, .cta-btn, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000 !important; text-decoration: underline; }
}
