/* === 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  --brand-primary: #1A2530;
  --brand-secondary: #FFFFFF;
  --brand-accent: #1D7A53;
  --gray-100: #FFFFFF;
  --gray-200: #F7F7F9;
  --gray-300: #DADADA;
  --gray-600: #707070;
  --gray-900: #17181c;
  --danger: #9D2626;
  background-color: var(--gray-100);
  color: var(--brand-primary);
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--brand-primary);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--brand-accent);
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 6px;
}

/* === TYPOGRAPHY === */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--brand-primary);
  letter-spacing: -1px;
  line-height: 1.15;
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 1.7rem; }
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--brand-primary);
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--brand-primary);
}
h4, .h4 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 400;
}
p, address {
  margin-bottom: 18px;
  color: var(--brand-primary);
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 800px;
}
strong { font-weight: 600; }
blockquote {
  font-style: italic;
  border-left: 4px solid var(--brand-accent);
  color: var(--gray-900);
  background: var(--gray-200);
  padding: 18px 24px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}


/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 3px 32px 0 rgba(24,28,33,0.06);
}

/* === HEADER NAVIGATION === */
header {
  background: var(--gray-100);
  box-shadow: 0 1px 12px rgba(25, 32, 45, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
nav > a img {
  height: 38px;
  width: auto;
  vertical-align: middle;
}
nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
nav ul li a {
  color: var(--brand-primary);
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: .02em;
  padding: 7px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-size: 1.05rem;
  text-decoration: none;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--gray-200);
  color: var(--brand-accent);
}
nav .btn-primary {
  margin-left: 18px;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  display: none;
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.2s;
  z-index: 501;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-accent);
}
/* RESPONSIVE NAVIGATION */
@media (max-width: 1024px) {
  nav ul {
    gap: 18px;
  }
  nav .btn-primary { margin-left: 8px; }
}
@media (max-width: 850px) {
  nav ul {
    display: none;
  }
  nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* === MOBILE BURGER MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,37,48,0.98);
  color: var(--brand-secondary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.62,0.005,0.225,1);
  box-shadow: 3px 0 32px 0 rgba(25,32,50,0.15);
  padding-top: 24px;
  padding-left: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 12px 24px 0 0;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--gray-100);
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-accent);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 38px 38px 0 38px;
  gap: 18px;
}
.mobile-nav a {
  color: var(--gray-100);
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
  border-radius: 0;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-accent);
  background: rgba(255,255,255,0.05);
}
@media (min-width: 851px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}


/* === BUTTONS === */
.btn-primary,
a.btn-primary {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--gray-100) !important;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 11px 28px;
  border-radius: 22px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
  box-shadow: 0 2px 12px 0 rgba(26,37,48,0.10);
  text-decoration: none;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-accent);
  color: var(--gray-100) !important;
  box-shadow: 0 5px 18px 0 rgba(19,131,72,0.14);
}
.btn-secondary, a.btn-secondary {
  display: inline-block;
  background: var(--gray-200);
  color: var(--brand-primary);
  padding: 9px 22px;
  border-radius: 22px;
  border: 1.5px solid var(--gray-300);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border 0.18s;
  margin-top: 10px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--gray-300);
  color: var(--brand-accent);
  border-color: var(--brand-accent);
}


/* === FEATURE/CONTENT LAYOUTS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature {
  flex: 1 1 220px;
  background: var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(32,36,39,0.07);
  padding: 30px 20px 20px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  max-width: 320px;
}
.feature img {
  width: 30px; height: 30px;
  margin-bottom: 5px;
}


/* === SERVICE CARDS === */
.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.service {
  flex: 1 1 220px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(18,24,33,0.05);
  padding: 26px 20px 18px 22px;
  min-width: 210px; max-width: 290px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.service:hover, .service:focus-within {
  border-color: var(--brand-accent);
  box-shadow: 0 5px 24px 0 rgba(19,131,72,0.13);
  z-index: 2;
}
.service span {
  display: inline-block;
  margin-top: 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--brand-accent);
}


/* === PROCESS TIMELINE / STEP CARDS === */
.process-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.step {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  box-shadow: 0 2px 9px 0 rgba(32,36,39,0.08);
  padding: 18px 18px 14px 18px;
  min-width: 180px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.step img {
  width: 28px; height: 28px;
  margin-bottom: 2px;
}


/* === CARD CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--gray-100);
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(24,28,33,0.07);
  margin-bottom: 20px;
  padding: 24px 18px;
  position: relative;
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 350px;
}

/* --- CONTENT GRID PATTERN --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- TEXT & IMAGE SECTION --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--gray-100);
  border-left: 6px solid var(--brand-accent);
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(32,36,39,0.07);
  max-width: 620px;
}
.testimonial-card p {
  color: var(--brand-primary);
  font-style: italic;
  margin: 0 0 8px 0;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  color: var(--gray-600);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* --- FEATURE ITEM --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}


/* === TIP BOX === */
.tip-box {
  background: var(--gray-200);
  border-left: 5px solid var(--brand-accent);
  border-radius: 7px;
  padding: 18px 22px;
  margin-top: 16px;
  margin-bottom: 20px;
}
.tip-box h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: var(--brand-primary);
}


/* === FAQ ACCORDION === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(37,37,38,0.07);
  padding: 20px 18px;
  transition: border 0.18s;
}
.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}
.faq-item p {
  margin: 0;
  color: var(--brand-primary);
}
.faq-item:hover, .faq-item:focus-within {
  border-color: var(--brand-accent);
}

.faq-snippet {
  background: var(--gray-200);
  border-radius: 7px;
  padding: 16px 18px;
  margin-bottom: 16px;
}


/* === ADDRESS & CONTACT === */
address {
  font-style: normal;
  background: var(--gray-100);
  border-radius: 8px;
  box-shadow: 0 1px 8px 0 rgba(32,36,39,0.04);
  padding: 20px 18px 12px 18px;
  margin-bottom: 20px;
}
.contact-map {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--brand-primary);
  font-size: 1rem;
}

/* === FOOTER === */
footer {
  background: var(--brand-primary);
  color: var(--gray-100);
  padding: 32px 0 12px 0;
  font-size: 1rem;
  letter-spacing: .01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-nav a img {
  height: 36px;
  margin-bottom: 12px;
}
.footer-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
  padding-left: 0;
}
.footer-nav ul li a {
  color: var(--gray-200);
  font-size: 0.98rem;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.20s, color 0.20s;
}
.footer-nav ul li a:hover, .footer-nav ul li a:focus {
  color: var(--brand-accent);
  background: rgba(255,255,255,0.06);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--gray-200);
  font-size: 1rem;
  margin-top: 6px;
}
.footer-contact a {
  color: var(--gray-200);
  text-decoration: underline;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--brand-accent);
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}


/* === COOKIES BANNER === */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--brand-primary);
  color: var(--gray-100);
  z-index: 12000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 16px;
  box-shadow: 0 -2px 18px 0 rgba(20, 28, 34, 0.13);
  font-size: 1.07rem;
  opacity: 1;
  transition: opacity 0.35s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  padding: 7px 18px;
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.14s, color 0.14s;
  color: var(--brand-primary);
  background: var(--gray-300);
}
.cookie-btn.accept {
  background: var(--brand-accent);
  color: #fff !important;
}
.cookie-btn.reject {
  background: var(--danger);
  color: #fff !important;
}
.cookie-btn.settings {
  background: var(--gray-300);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(0.95);
  outline: 2px solid var(--brand-accent);
}


/* === COOKIE SETTINGS MODAL === */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 12500;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,24,33,0.60);
  align-items: center;
  justify-content: center;
}
#cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: var(--gray-100);
  border-radius: 16px;
  max-width: 400px;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 4px 38px 0 rgba(22,32,44,0.13);
  color: var(--brand-primary);
  flex-direction: column;
}
.cookie-modal-content h2 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.cookie-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.cookie-preference input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--brand-accent);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  justify-content: flex-end;
}
#cookie-modal .cookie-btn {
  width: auto;
}


/* === UTILITY & GENERAL === */
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 16px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }


/* === RESPONSIVE RULES === */
@media (max-width: 1024px) {
  .feature-grid, .service-cards, .service-list, .process-timeline, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .service, .card, .feature {
    min-width: 175px;
    max-width: 100%;
  }
}
@media (max-width: 720px) {
  .feature-grid,
  .service-cards,
  .service-list,
  .process-timeline,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section, .card, .feature, .service, .testimonial-card, .step {
    min-width: unset;
    max-width: 100%;
    padding-left: 12px; padding-right: 12px;
  }
  .container {
    padding: 0 6px;
  }
  nav {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 4px;
  }
  .testimonial-card, .faq-item, .tip-box, .address, .step {
    padding-left: 8px;
    padding-right: 8px;
  }
}


/* === ANIMATIONS === */
.btn-primary,
.btn-secondary,
.card,
.service,
.feature,
.testimonial-card,
.faq-item,
.section,
#cookie-banner,
#cookie-modal .cookie-modal-content {
  transition: box-shadow 0.22s, border 0.22s, background 0.23s, color 0.18s, transform 0.15s;
}
.card:hover, .feature:hover, .service:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 6px 24px 0 rgba(19,131,72,0.14);
}

/* === FOCUS STATES === */
a:focus, button:focus, .service:focus-within, .feature:focus-within, .card:focus-within {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

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

/***** MISC. *****/
hr {
  border: none;
  border-bottom: 1px solid var(--gray-300);
  margin: 32px 0;
}

/* ==== END CSS ==== */
