/* === RESET & BASE === */
html, body, div, section, article, header, nav, main, footer, ul, li, h1, h2, h3, h4, h5, h6, p, img, figure, figcaption, blockquote, pre, code, a, button, table, thead, tbody, tr, th, td, input, textarea {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: #F5F3EE;
  color: #294F48;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul {
  list-style: none;
}
a {
  color: #294F48;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A2BCB6;
  outline-offset: 3px;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
strong {
  font-weight: 700;
}
.text-section, .content-wrapper > ul {
  margin-bottom: 20px;
}

/* === NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(41, 79, 72, 0.05);
  position: relative;
  z-index: 101;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 20px 18px 20px;
  justify-content: flex-start;
}
.desktop-nav > a img {
  height: 38px;
  width: auto;
  margin-right: 14px;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  position: relative;
  transition: background .2s, color .2s;
}
.desktop-nav a:hover,
.desktop-nav a:focus {
  background: #A2BCB6;
  color: #294F48;
}
.desktop-nav .cta-primary {
  background: #294F48;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(41, 79, 72, 0.07);
  border-radius: 18px;
  padding: 8px 22px;
  margin-left: 10px;
  letter-spacing: .05em;
  transition: background .2s, transform .18s;
}
.desktop-nav .cta-primary:hover,
.desktop-nav .cta-primary:focus {
  background: #A2BCB6;
  color: #294F48;
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: #294F48;
  color: #fff;
  border-radius: 8px;
  padding: 4px 18px;
  margin: 10px 12px 10px auto;
  z-index: 120;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #A2BCB6;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 84vw;
  max-width: 340px;
  background: #A2BCB6;
  box-shadow: -8px 0 16px rgba(41, 79, 72, .10);
  z-index: 200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.58,.37,.61,1.2);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #294F48;
  background: transparent;
  padding: 13px 22px 8px 0;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  gap: 12px;
}
.mobile-nav a {
  color: #294F48;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  padding: 14px 22px;
  border-radius: 9px;
  background: transparent;
  position: relative;
  transition: background .18s, color .18s;
  margin: 0 16px 0 10px;
  min-width: 80px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #fff;
  color: #294F48;
}

/* === HERO & CTA === */
.hero, .cta {
  background: #F5F3EE;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 56px 0 28px 0;
}
.hero .container, .cta .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero h1, .cta h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.hero p, .cta p {
  font-size: 1.13rem;
  color: #294F48;
  margin-bottom: 16px;
}

.cta-primary {
  display: inline-block;
  background: #294F48;
  color: #fff;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 1rem;
  padding: 12px 32px;
  margin-top: 12px;
  box-shadow: 0 4px 14px rgba(41,79,72,.10);
  border: 2px solid transparent;
  transition: background .22s, color .22s, transform .16s, box-shadow .18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #A2BCB6;
  color: #294F48;
  border-color: #294F48;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(41,79,72,.14);
  text-decoration: none;
}

/* === SPACING & LAYOUT PATTERNS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(41,79,72,.045);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(41,79,72,.07);
  padding: 30px 22px;
  min-width: 270px;
}
.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: #fff;
  border: 2px solid #A2BCB6;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(41,79,72,.08);
  margin-bottom: 20px;
  position: relative;
  transition: border-color .18s, box-shadow .16s;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #294F48;
  margin-bottom: 0;
}
.testimonial-meta {
  color: #294F48;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .98rem;
  font-weight: bold;
  margin-left: 12px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: #294F48;
  box-shadow: 0 6px 24px rgba(41,79,72,.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.icon-grid {
  display: flex;
  gap: 24px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.icon-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #F5F3EE;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(41,79,72,.08);
  padding: 16px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  min-width: 90px;
  font-size: 1rem;
}
.icon-grid img {
  height: 34px;
  width: auto;
  margin-bottom: 6px;
}

/* === SERVICES === */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 0 0;
  justify-content: space-between;
}
.service-card {
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 350px;
  background: #fff;
  border: 2.5px solid #A2BCB6;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(41,79,72,.09);
  padding: 28px 22px 20px 22px;
  transition: border-color .17s, box-shadow .15s, transform .13s;
  margin-bottom: 20px;
  position: relative;
}
.service-card:hover, .service-card:focus-within {
  border-color: #294F48;
  box-shadow: 0 10px 36px rgba(41,79,72,.17);
  transform: translateY(-2px) scale(1.02);
}
.service-card h3 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 11px;
  color: #294F48;
}

/* === FEATURES LISTS === */
.features, .benefits {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(41,79,72,.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features ul, .benefits ul {
  list-style: disc inside;
  color: #294F48;
  font-size: 1.03rem;
  margin-bottom: 20px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features li, .benefits li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1.03rem;
  letter-spacing: .01em;
}

/* === ABOUT, CONTACT, LEGAL TEXT === */
.about, .contact, .legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(41,79,72,.045);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section ul {
  list-style: disc inside;
  padding-left: 18px;
  margin: 18px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section li {
  font-size: 1rem;
  line-height: 1.5;
}
.text-section img {
  margin-right: 10px;
  vertical-align: middle;
  height: 18px;
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 11px;
  overflow: hidden;
  background: #F5F3EE;
  margin-bottom: 20px;
  margin-top: 8px;
}
thead {
  background: #A2BCB6;
}
th, td {
  text-align: left;
  padding: 14px 10px;
  font-size: 1rem;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #294F48;
}
tbody tr {
  border-bottom: 1.5px solid #A2BCB6;
}
tbody tr:last-child {
  border-bottom: none;
}
tbody td {
  color: #294F48;
  background: #fff;
}
tbody tr:hover td {
  background: #A2BCB6;
  color: #294F48;
  transition: background .14s, color .17s;
}

/* === FOOTER === */
footer {
  background: #294F48;
  color: #fff;
  padding: 40px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  box-shadow: 0 -2px 10px rgba(41,79,72,0.05);
  position: relative;
}
.footer-menu {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: color .15s, text-decoration .17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #A2BCB6;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.footer-contact img {
  height: 22px;
  width: auto;
}
.footer-copy {
  text-align: center;
  font-size: .95rem;
  color: #A2BCB6;
  margin-top: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  padding: 20px 24px 20px 24px;
  background: #294F48;
  color: #fff;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -6px 24px rgba(41,79,72,0.12);
  transition: transform .25s cubic-bezier(.8,.19,.09,.89), opacity .21s;
  gap: 16px;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner-message {
  font-size: 1.02rem;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  border-radius: 9px;
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background .16s, color .13s, box-shadow .17s;
  box-shadow: 0 2px 6px rgba(41,79,72,.09);
  cursor: pointer;
}
.cookie-btn.accept {
  background: #A2BCB6;
  color: #294F48;
}
.cookie-btn.reject {
  background: #fff;
  color: #294F48;
  border: 2px solid #A2BCB6;
}
.cookie-btn.settings {
  background: #294F48;
  color: #fff;
  border: 2px solid #A2BCB6;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F5F3EE;
  color: #294F48;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41,79,72,.18);
  z-index: 5950;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #294F48;
  border-radius: 16px;
  max-width: 402px;
  width: 94vw;
  box-shadow: 0 12px 48px rgba(41,79,72,.20);
  padding: 32px 28px 20px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
  color: #294F48;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.03rem;
}
.cookie-category label {
  font-weight: 600;
  color: #294F48;
}
.cookie-category input[type="checkbox"] {
  accent-color: #294F48;
  width: 19px;
  height: 19px;
}
.cookie-category input[disabled] {
  opacity: 0.55;
}
.cookie-modal-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 6px;
}
.cookie-modal-close {
  position: absolute;
  right: 11px;
  top: 12px;
  background: transparent;
  color: #294F48;
  font-size: 1.4rem;
  border: none;
}
.cookie-modal-close:focus {
  outline: 2px solid #A2BCB6;
}

/* === FORMS (if needed in extended site) === */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border: 2px solid #A2BCB6;
  border-radius: 7px;
  background: #fff;
  margin-bottom: 16px;
  transition: border .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #294F48;
}

/* === RESPONSIVE FLEXBOX === */
@media (max-width: 1020px) {
  .container { max-width: 95vw; }
  .services-grid { gap: 12px; }
  .card-container { gap: 14px; }
}
@media (max-width: 850px) {
  .desktop-nav { gap: 16px; font-size: .98rem; }
  .service-card { min-width: 170px; padding: 24px 12px; }
  .footer-contact { gap: 14px; }
}
@media (max-width: 768px) {
  header { min-height: 0; }
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero, .cta, .features, .about, .contact, .legal, .services, .benefits { padding: 32px 7px; }
  .section { padding: 32px 7px; }
  .container { padding: 0 7px; }
  .icon-grid { gap: 10px; }
  .service-card, .card { margin-bottom: 18px; }
  .services-grid, .card-container, .content-grid, .icon-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .footer-contact { flex-direction: column; align-items: center; gap: 5px; }
  .footer-menu { gap: 10px; }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .content-wrapper { gap: 15px; }
}
@media (max-width: 540px) {
  .hero, .cta { padding: 26px 0; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .service-card, .card, .testimonial-card { padding: 18px 8px; }
}
@media (max-width: 420px) {
  .desktop-nav, .mobile-nav { font-size: .96rem; }
  .cookie-banner { padding: 16px 6px; }
  .cookie-modal-content { padding: 16px 4px 10px 4px; }
}

/* === GEOMETRIC/STRUCTURED VISUAL ELEMENTS === */
/* Add angular corners, thin border lines, and geometric shape cues */
.hero, .cta, .features, .services, .about, .contact, .legal, .benefits, .section {
  border-radius: 18px 18px 0 18px;
  border: 2px solid #A2BCB6;
  box-shadow: 0 3px 17px rgba(41,79,72,.07);
}
.card, .service-card, .testimonial-card {
  border-radius: 12px 30px 12px 12px;
  border-width: 2.5px;
}

/* Interactivity */
a, .cta-primary, .service-card, .card, .testimonial-card, .cookie-btn {
  transition: background .17s, color .17s, box-shadow .17s, border-color .18s, transform .13s;
}

/* === SCROLLBAR & SELECTION === */
::-webkit-selection, ::selection {
  background: #A2BCB6;
  color: #294F48;
}
::-webkit-scrollbar {
  width: 8px;
  background: #A2BCB6;
}
::-webkit-scrollbar-thumb {
  background: #294F48;
  border-radius: 5px;
}

/* === ACCESSIBILITY: REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
