/* ==== CSS Reset & Normalize ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1a1a1a;
  background: #F5F5F5;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #193153;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FFB703;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #193153;
}
h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  margin-top: 32px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 12px;
}
strong {
  color: #193153;
  font-weight: 600;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(25,49,83,0.04);
}

/* ==== Brand Colors ==== */
:root {
  --primary: #193153;
  --secondary: #F5F5F5;
  --accent: #FFB703;
  --text-dark: #193153;
  --text-light: #fff;
  --bg-gray: #F5F5F5;
  --border-gray: #e3e7ee;
}

/* ==== Container & Content ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.text-section {
  align-items: flex-start;
  text-align: left;
  gap: 18px;
}

/* ==== Header ==== */
header {
  background: var(--primary);
  color: var(--text-light);
  padding: 0 0 0 0;
  box-shadow: 0 2px 8px rgba(25,49,83,0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  padding: 0 16px;
  height: 72px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text-light);
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  padding: 11px 28px;
  font-size: 1.06rem;
  font-weight: 600;
  margin-left: 20px;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(25,49,83,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #ffd153;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(25,49,83,0.14);
}

/* ==== Mobile Menu ==== */
.mobile-menu-toggle {
  background: none;
  font-size: 2rem;
  color: var(--accent);
  border: none;
  padding: 6px 14px;
  display: none;
  cursor: pointer;
  margin-left: 16px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: rgba(255,183,3,0.14);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--text-light);
  z-index: 10000;
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  transition: transform 0.36s cubic-bezier(0.33,1,0.68,1);
  box-shadow: 2px 0 12px rgba(25,49,83,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--accent);
  background: none;
  border: none;
  padding: 22px 24px 16px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 6px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255,183,3,0.17);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 24px;
  margin-top: 24px;
}
.mobile-nav a {
  color: var(--text-light);
  font-size: 1.2rem;
  padding: 12px 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.2s, background 0.2s;
  border-radius: 5px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
  }
  .btn-primary {
    margin-left: 10px;
    padding: 10px 18px;
  }
}
@media (max-width: 900px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== Hero, Sections & Grids ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-box {
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25,49,83,0.06);
  flex: 1 1 200px;
  min-width: 180px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--border-gray);
  transition: box-shadow 0.22s, border 0.22s;
}
.feature-box:hover {
  box-shadow: 0 8px 32px rgba(25,49,83,0.12);
  border: 1px solid var(--accent);
}
.feature-box img {
  height: 42px;
  width: 42px;
  object-fit: contain;
}

/* Service Cards */
.service-cards,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25,49,83,0.05);
  flex: 1 1 225px;
  min-width: 200px;
  max-width: 290px;
  padding: 28px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
  transition: box-shadow 0.22s, border 0.22s;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(25,49,83,0.11);
  border: 1px solid var(--accent);
}
.service-card h3 {
  margin-bottom: 4px;
  font-size: 1.09rem;
}
.service-card .service-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.07rem;
  margin-top: 11px;
  letter-spacing: 0.01em;
}

/* ===== Process and FAQ Lists ===== */
ol,
ul {
  margin-bottom: 24px;
  margin-top: 8px;
}
ol li, ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 8px;
  margin-bottom: 6px;
}
.faq-item {
  flex: 1 1 270px;
  min-width: 220px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border-gray);
  box-shadow: 0 2px 8px rgba(25,49,83,0.05);
  padding: 20px 18px;
  transition: box-shadow 0.22s, border 0.22s;
}
.faq-item:hover {
  box-shadow: 0 8px 26px rgba(25,49,83,0.09);
  border: 1px solid var(--accent);
}
.faq-item h3 {
  font-size: 1.09rem;
  margin-bottom: 8px;
}

/* ===== Testimonials ===== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F7FBFF;
  border: 1.5px solid var(--border-gray);
  border-radius: 15px;
  padding: 24px 22px;
  flex: 1 1 275px;
  min-width: 220px;
  box-shadow: 0 3px 16px rgba(25,49,83,0.08);
  color: #1a1a1a;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: #193153;
}
.testimonial-card span {
  color: #485c70;
  font-size: 0.98rem;
  font-weight: 500;
}

/* ===== Footer ===== */
footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 24px 0 16px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: var(--text-light);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 10px;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.footer-logo img {
  height: 32px;
  width: 32px;
}
.footer-logo span {
  font-size: 0.97rem;
  color: var(--text-light);
}

/* ==== Cards & Flexible Containers ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(25,49,83,0.05);
  border: 1px solid var(--border-gray);
  padding: 22px 16px;
  transition: box-shadow 0.22s, border 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(25,49,83,0.12);
  border: 1.5px solid var(--accent);
}

.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;
}

/* ==== Contact/Address ==== */
address {
  font-style: normal;
  background: #f8fafc;
  padding: 19px 22px;
  border-radius: 8px;
  border: 1px solid var(--border-gray);
  font-size: 1rem;
}
address p {
  margin-bottom: 7px;
}

/* ==== Utility Spacing & Responsive Tweaks ==== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }

/* ==== Cookie Consent Banner & Modal ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15000;
  background: #193153;
  color: #fff;
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  box-shadow: 0 -2px 24px rgba(25,49,83,0.17);
  transition: transform 0.36s cubic-bezier(0.33,1,0.68,1), opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}
.cookie-banner .cookie-text {
  flex: 1 1 180px;
  font-size: 1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
  margin-right: 8px;
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(255,183,3,0.08);
}
.cookie-btn.accept:hover { background: #ffd153; }
.cookie-btn.reject {
  background: #e1e8f2;
  color: #234;
}
.cookie-btn.reject:hover {
  background: #d3dbe6;
  color: #193153;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.cookie-btn.settings:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  z-index: 16000;
  background: rgba(25,49,83,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 44px rgba(25,49,83,0.2);
  color: #193153;
  padding: 32px 24px 18px 24px;
  min-width: 330px;
  min-height: 180px;
  max-width: 96vw;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
}
.cookie-modal h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.15rem; }
.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0 6px 0;
}
.cookie-cat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
  padding: 9px 0;
}
.cookie-cat-toggle {
  width: 36px;
  height: 20px;
  background: #e3e7ee;
  border-radius: 12px;
  position: relative;
  transition: background 0.17s;
  margin-left: 8px;
  cursor: pointer;
}
.cookie-cat-toggle[data-enabled="true"] {
  background: var(--accent);
}
.cookie-cat-toggle .toggle-knob {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(25,49,83,0.11);
  transition: left 0.16s;
}
.cookie-cat-toggle[data-enabled="true"] .toggle-knob {
  left: 18px;
}
.cookie-cat-label {
  min-width: 110px;
  color: #193153;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-cat-desc {
  font-size: 0.97rem;
  color: #495160;
}
.cookie-modal .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 11px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px; top: 17px;
  background: none;
  border: none;
  color: #193153;
  font-size: 1.51rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.14s;
  padding: 3px 9px;
}
.cookie-modal .modal-close:hover {
  background: #e3e7ee;
}

/* ==== Responsive Design ==== */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    max-width: 99vw;
    padding: 0 5vw;
  }
  section {
    padding: 28px 7px;
  }
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    gap: 13px;
  }
  .footer-logo {
    flex-direction: column;
    gap: 7px;
  }
  .feature-grid, .content-grid, .service-cards, .service-list,
  .faq-list, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-box, .faq-item, .service-card, .testimonial-card {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  html { font-size: 14px; }
  .logo img {
    height: 33px;
  }
  .footer-logo img {
    height: 24px;
    width: 24px;
  }
  .cookie-modal {
    min-width: 0;
    width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ==== Micro-Interactions & Transitions ==== */
button, .btn-primary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.17s, color 0.17s, box-shadow 0.21s;
}
section, .card, .feature-box, .testimonial-card, .faq-item, .service-card {
  transition: box-shadow 0.23s, border 0.23s, transform 0.17s;
}
.testimonial-card:hover, .faq-item:hover, .feature-box:hover, .service-card:hover {
  transform: translateY(-3px) scale(1.012);
}

::-webkit-scrollbar {
  width: 10px;
  background: #e3e7ee;
}
::-webkit-scrollbar-thumb {
  background: #cfdeef;
  border-radius: 10px;
}

/* ==== Typography Scale ==== */
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p, li, address, .service-price { font-size: 1rem; }

@media (min-width: 800px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.0rem; }
  h3 { font-size: 1.16rem; }
  p, li, address, .service-price { font-size: 1.06rem; }
}

/* ==== Accessibility & Focus Outlines ==== */
a:focus-visible,
.btn-primary:focus-visible,
button:focus-visible,
.cookie-btn:focus-visible,
.mobile-menu-toggle:focus-visible,
.mobile-menu-close:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2.5px;
}

/* Remove outline for clicks, keep only for keyboard navigation */
a:focus:not(:focus-visible),
.btn-primary:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* === Custom utility classes for page adjustment (optional usage in html for fine-tuning) === */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }

/* ===== End of main CSS ===== */