/* ===== 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,
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;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F1F7F3;
  color: #1a3839;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #245152;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E49518;
}
ul, ol {
  list-style: disc inside;
  margin-left: 20px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.16;
  color: #245152;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
}
h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li {
  color: #1a3839;
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section,
.hero-section,
.feature-section,
.about-section,
.usp-section,
.team-section,
.services-section,
.features-section,
.pricing-section,
.cta-section,
.testimonial-section,
.hours-section,
.contact-section,
.privacy-section,
.thank-you-section,
.gdpr-section,
.cookie-section,
.terms-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(36, 81, 82, 0.05), 0 1.5px 2px 0 rgba(36, 81, 82, 0.04);
}
.hero-section {
  background: #245152;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(36,81,82,0.08);
}
.hero-section h1, .hero-section h2, .hero-section p {
  color: #fff;
}

.text-section {
  margin-bottom: 24px;
}

/* ===== FLEXBOX GRIDS & ALIGNMENT ===== */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card, .service-card {
  flex: 1 1 260px;
  background: #F1F7F3;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(36, 81, 82, 0.07);
  padding: 28px 22px 22px 22px;
  min-width: 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 2.5px solid transparent;
  transition: border-color 0.17s, box-shadow 0.23s, transform 0.14s;
}
.feature-card:hover, .service-card:hover {
  border-color: #E49518;
  box-shadow: 0 8px 24px 0 rgba(36,81,82,0.13);
  transform: translateY(-4px) scale(1.018);
}
.feature-card img, .service-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.price {
  font-weight: bold;
  font-size: 1.15rem;
  color: #E49518;
  margin-top: 14px;
}

.team-member-card {
  background: #F1F7F3;
  border-left: 6px solid #E49518;
  border-radius: 12px;
  padding: 28px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(36,81,82,0.07);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 26px 22px 26px;
  background: #fff8ed;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(36,81,82,0.06);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 480px;
  border: 2px solid #E49518;
}
.testimonial-card p {
  color: #1a3839;
  font-size: 1.08rem;
  text-align: center;
}
.testimonial-card strong {
  color: #245152;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 30px 0 12px 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}
.footer-brand img {
  width: 36px; height: 36px;
}

/* ===== BUTTONS ===== */
.cta-button, button, .mobile-menu-close, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  padding: 12px 32px;
  background: #E49518;
  color: #fff;
  border: none;
  border-radius: 42px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 1.5px 6px 0 rgba(36,81,82,0.08);
  cursor: pointer;
  transition: background 0.15s, color 0.18s, box-shadow 0.19s, transform 0.13s;
  outline: none;
  z-index: 3;
}
.cta-button:hover, button:hover, .cookie-btn:hover,
.cta-button:focus, button:focus, .cookie-btn:focus {
  background: #245152;
  color: #fff;
  box-shadow: 0 3px 12px 0 rgba(36,81,82,0.17);
  transform: scale(1.03);
}
button[disabled], .cta-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Secondary button (used in cookie banner/settings) */
.button-secondary, .cookie-settings {
  background: #fff;
  color: #245152;
  border: 2px solid #245152;
  transition: background 0.14s, color 0.15s, border 0.18s;
}
.button-secondary:hover, .cookie-settings:hover{
  background: #E49518;
  color: #fff;
  border-color: #E49518;
}

/* ===== NAVIGATION ===== */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36,81,82,0.04);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 20px 16px 20px;
  justify-content: flex-start;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #245152;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.11s, color 0.15s;
}
.main-nav > a:not(.cta-button):hover { background: #F1F7F3; color: #E49518; }
.main-nav img {
  height: 34px; width: auto; margin-right: 10px; vertical-align: middle;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
  background: #F1F7F3;
  color: #245152;
  font-size: 2.1rem;
  border: none;
  border-radius: 12px;
  padding: 6px 14px;
  margin: 0 20px 0 0;
  cursor: pointer;
  z-index: 20;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E49518;
  color: #fff;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; right: 0;
  width: 90vw;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 16px 3px rgba(36,81,82,0.12);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.55,.06,.68,.19);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  transition: transform 0.36s cubic-bezier(.17,.67,.58,1.29);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 25px 24px 22px 0;
  font-size: 2.3rem;
  min-width: unset;
  background: none;
  color: #245152;
  border: none;
  transition: color 0.16s;
  box-shadow: none;
  padding: 0;
  border-radius: 8px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #E49518;
  background: #F1F7F3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 20px 30px 30px 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.17rem;
  color: #245152;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 0 8px 0;
  border-radius: 0px 22px 22px 0;
  transition: background 0.13s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E49518;
  background: #F1F7F3;
}

/* ===== PRICING TABLE ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 1rem;
  background: #fff;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 2px 8px 0 rgba(36,81,82,0.08);
}
.pricing-table th, .pricing-table td {
  padding: 15px 10px;
  text-align: left;
  border-bottom: 1px solid #F1F7F3;
}
.pricing-table th {
  background: #F1F7F3;
  color: #245152;
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ===== MISC STRUCTURAL FLEX LAYOUTS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
}
.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;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #245152;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 16px;
  box-shadow: 0 -2px 16px 0 rgba(36,81,82,0.19);
  z-index: 140;
  font-size: 1rem;
  border-top-left-radius: 21px;
  border-top-right-radius: 21px;
}
.cookie-banner p { flex: 1 1 0%; margin-bottom: 0; color: #fff; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn, .cookie-settings {
  min-width: 132px;
  padding: 10px 22px;
  border-radius: 34px;
  font-size: 0.98rem;
}
.cookie-btn.accept {
  background: #E49518;
  color: #fff;
  border: none;
}
.cookie-btn.reject {
  background: #fff;
  color: #245152;
  border: 2px solid #245152;
}
.cookie-btn.reject:hover {
  background: #E49518;
  color: #fff;
  border-color: #E49518;
}
.cookie-settings {
  background: none;
  color: #fff;
  border: 2px solid #fff;
  transition: background 0.14s, color 0.12s, border 0.13s;
}
.cookie-settings:hover {
  background: #E49518;
  border-color: #E49518;
  color: #fff;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -53%) scale(0.98);
  min-width: 320px;
  max-width: 98vw;
  background: #fff;
  color: #245152;
  z-index: 160;
  box-shadow: 0 8px 38px 0 rgba(36,81,82,0.23), 0 3px 14px 0 rgba(36,81,82,0.08);
  padding: 36px 28px 32px 28px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  pointer-events: auto;
  transition: transform 0.23s cubic-bezier(.47,1.64,.41,.88), opacity 0.18s;
}
.cookie-modal[hidden] {
  display: none !important;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #245152;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cookie-category {
  margin-bottom: 18px;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  margin-right: 12px;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.cookie-toggle {
  appearance: none;
  width: 42px; height: 24px;
  background: #F1F7F3;
  border-radius: 12px;
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #E49518;
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.14s, background 0.12s;
  box-shadow: 0 1.5px 6px 0 rgba(36,81,82,0.07);
}
.cookie-toggle:checked::before {
  left: 22px;
  background: #fff8ed;
}
.category-desc {
  font-size: 0.97rem;
  color: #245152b3;
  margin-top: 5px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 3px solid #E49518;
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* ===== GEOMETRIC STRUCTURED AESTHETIC ===== */
.section, .card, .feature-card, .service-card, .team-member-card, .testimonial-card, .cta-section, .pricing-table, .cookie-modal {
  box-shadow: 0 2.5px 14px 0 rgba(36,81,82,0.08), 0 1.5px 8px 0 rgba(36,81,82,0.03);
  border-radius: 20px;
}
.cta-section {
  background: linear-gradient(93deg, #F1F7F3 80%, #fff8ed 100%);
  border: 2px solid #E49518;
}
.hero-section {
  border-radius: 0 0 48px 48px;
  min-height: 260px;
}
.content-wrapper {
  border-radius: 12px;
  padding: 3px 0;
}

/* ===== RESPONSIVE DESIGN (MOBILE FIRST) ===== */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 9px;
  }
  .hero-section {
    border-radius: 0 0 24px 24px;
    padding: 26px 9px;
  }
  .feature-grid, .service-grid, .footer-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-card, .service-card {
    min-width: 0;
    width: 100%;
  }
  .footer-nav {
    gap: 13px;
  }
  .main-nav {
    gap: 11px;
    padding: 9px 6px 9px 10px;
    font-size: 0.97rem;
  }
  .main-nav > a {
    font-size: 0.97rem;
    padding: 8px 7px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 16px;
    top: 13px;
    z-index: 16;
  }
  .main-nav {
    display: none !important;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container {
    padding: 0 3px;
  }
  .section, .hero-section, .about-section, .feature-section, .testimonials-section, .contact-section, .pricing-section, .team-section, .usp-section, .features-section {
    padding: 22px 5px;
    border-radius: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 7px 21px 7px;
    font-size: 0.97rem;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
  }
  .cookie-modal {
    min-width: 210px;
    padding: 26px 8px 22px 8px;
    border-radius: 13px;
  }
}
@media (max-width: 1023px) {
  .feature-grid, .service-grid, .content-grid {
    gap: 18px;
  }
  .container { max-width: 95vw; }
}
@media (max-width: 650px) {
  .feature-grid, .service-grid, .content-grid {
    flex-direction: column;
  }
}
@media (max-width: 890px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
  }
}

/* ===== OTHER UTILITIES ===== */
.hide { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: 4px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 4px !important; }

/* ===== SCROLLBAR ===== */
body::-webkit-scrollbar {
  width: 10px;
  background: #F1F7F3;
}
body::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: #24515299;
}

/* ===== Z-INDEX STRATEGY ===== */
.header, .main-nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {
  z-index: 100;
}

/* ===== ANIMATION & MICRO-INTERACTIONS ===== */
.cta-button, .feature-card, .service-card, .card, .testimonial-card, .cookie-btn, .cookie-settings, .button-secondary {
  transition: box-shadow 0.17s, transform 0.14s, border-color 0.17s, color 0.15s, background 0.16s;
}
.mobile-menu,
.cookie-modal {
  transition: transform 0.36s cubic-bezier(.55,.06,.68,.19), opacity 0.18s;
}

/* ===== BRAND COLORS IN CONTEXT ===== */
::selection {
  color: #fff;
  background: #E49518;
}

/* END OF CSS */
