/* RESET & BASELINE */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #F6F2ED 0%, #ffffff 100%);
  color: #164635;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #136347;
  text-decoration: none;
  transition: color 0.23s;
  outline: none;
}
a:hover, a:focus {
  color: #B97A14;
}
ul, ol {
  margin-left: 20px;
  padding-left: 0;
}
li {
  margin-bottom: 12px;
  font-size: 16px;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #136347;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6875rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
}
h4 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 12px;
  color: #164635;
}

.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* SECTIONS & FLEX LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(19, 99, 71, 0.07);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(19, 99, 71, 0.11);
  transform: translateY(-4px) scale(1.012);
}
.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;
  padding: 24px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #F6F2ED;
  box-shadow: 0 2px 12px rgba(19, 99, 71, 0.06);
  color: #2f3a34;
  min-width: 220px;
  max-width: 450px;
}
.testimonial-card blockquote {
  color: #214230;
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-meta {
  color: #136347;
  font-size: 0.93rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & CTA */
section:first-of-type {
  background: linear-gradient(90deg, #F6F2ED 60%, #B97A14 120%);
  margin-bottom: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #136347 55%, #B97A14 110%);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(19,99,71,0.09);
  transition: background 0.28s, color 0.22s, box-shadow 0.2s;
  cursor: pointer;
  margin-top: 8px;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #136347 20%, #E0A437 88%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(19,99,71,0.12);
}

/* HEADER AND NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(19, 99, 71, 0.05);
  position: sticky;
  top: 0;
  z-index: 98;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #136347;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E0A437;
  color: #fff;
}
.main-nav a.cta {
  background: #136347;
  color: #fff;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #B97A14;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: #F6F2ED;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 2rem;
  line-height: 1;
  color: #136347;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:focus {
  background: #E0A437;
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(246, 242, 237, 0.99);
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.86,0,.07,1.0);
  overflow-y: auto;
  padding: 0;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  font-size: 2rem;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  color: #B97A14;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 125;
  box-shadow: 0 2px 8px rgba(19, 99, 71, 0.09);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F6F2ED;
  color: #136347;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 38px;
  padding-left: 40px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #136347;
  padding: 12px 4px 12px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E0A437;
  color: #fff;
}
.mobile-nav a.cta {
  background: #136347;
  color: #fff;
  align-self: stretch;
}
.mobile-nav a.cta:hover, .mobile-nav a.cta:focus {
  background: #B97A14;
}
/* Hide mobile menu by default */
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
}

/* FOOTER */
footer {
  background: #136347;
  padding: 42px 0 18px 0;
  color: #fff;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 2px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  text-decoration: underline transparent;
  transition: text-decoration 0.2s, color 0.19s;
}
.footer-menu a:hover, .footer-menu a:focus {
  text-decoration: underline #E0A437 2px;
  color: #E0A437;
}
.footer-contact, .footer-social {
  color: #F6F2ED;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.footer-social{
  gap: 15px;
}
.footer-social a img{
  width: 27px; height: 27px;
  filter: brightness(0) invert(1);
  transition: filter 0.19s;
}
.footer-social a:hover img{
  filter: brightness(2) sepia(1) hue-rotate(-25deg) saturate(4);
}
.footer-copy{
  color: #A6B8AA;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 4px;
}

/* UTILITY CLASSES */
@media (max-width: 1300px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 1100px) {
  .container {
    max-width: 90vw;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .container{padding-left: 14px;padding-right: 14px;}
}
@media (max-width: 799px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 800px) {
  .container { max-width: 100vw; }
  .section { padding: 24px 7px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section { margin-bottom: 36px; padding: 24px 0;}
  .testimonial-card { min-width: 160px; max-width: 100%;}
}
@media (max-width: 500px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .section { padding: 16px 0px; }
  .footer-copy { font-size: 0.85rem; }
}

/* SPACING & FLEX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {margin-bottom: 20px; position: relative; }
.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; }
.feature-item {display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* FORM ELEMENTS (if any) */
input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  padding: 12px;
  border: 1px solid #D5E0DA;
  border-radius: 7px;
  outline: none;
  color: #164635;
  margin-bottom: 15px;
  background: #fff;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, select:focus, textarea:focus {
  border-color: #B97A14;
  box-shadow: 0 2px 8px rgba(185,122,20,0.08);
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #136347;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.17s, color 0.19s;
}
button:hover, button:focus {
  background: #B97A14;
  color: #fff;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F6F2ED;
  border-top: 2px solid #B97A14;
  box-shadow: 0 -2px 12px rgba(19,99,71,0.11);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  z-index: 200;
  padding: 24px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #136347;
  animation: cookies-slidein 0.55s ease;
}
@keyframes cookies-slidein {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner button,
.cookie-banner .cookie-banner-btn {
  padding: 9px 22px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-left: 0;
  background: #136347;
  color: #fff;
  cursor: pointer;
  transition: background 0.23s, color 0.15s;
}
.cookie-banner .cookie-banner-btn.rejected {
  background: #B97A14;
}
.cookie-banner .cookie-banner-btn.settings {
  background: #E0A437;
  color: #136347;
}
.cookie-banner .cookie-banner-btn:hover, .cookie-banner .cookie-banner-btn:focus {
  background: #164635;
  color: #fff;
}
/* COOKIES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(19, 99, 71, 0.25);
  z-index: 210;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 40px 20px 32px 20px;
  box-shadow: 0 8px 40px rgba(19,99,71,0.14);
  min-width: 320px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  animation: modalpop 0.31s cubic-bezier(.9,0,.11,1.1);
}
@keyframes modalpop {
  from {transform: scale(.85) translateY(80px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-header {
  font-size: 1.32rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  color: #136347;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: #f2e7d7;
  border: none;
  border-radius: 12px;
  color: #B97A14;
  padding: 7px 13px;
  font-size: 1.7rem;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFEBBA;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"]:disabled + label {
  color: #A3A3A3;
}
.cookie-category.essential label {
  font-weight: 600;
}
.cookie-modal-footer {
  display: flex;
  gap: 17px;
}
.cookie-modal-footer button{
  padding: 9px 26px;
}

/* MISC */
blockquote {
  border-left: 3px solid #B97A14;
  padding-left: 16px;
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid #E0A437;
  outline-offset: 2px;
}

/* ENSURE NO GRID/COLUMNS */
/* (No display:grid or column properties in use) */

/* VISUAL HIERARCHY AND GRADIENTS */
.section {
  background: linear-gradient(114deg, #fff 80%, #F6F2ED 105%);
  box-shadow: 0 2px 16px 0 rgba(19,99,71,0.03);
}
section:nth-of-type(even) {
  background: linear-gradient(92deg, #F6F2ED 55%, #fff 100%);
}

/* MODERN SHADOWS & EFFECTS */
.card, .testimonial-card, .cookie-modal-content {
  box-shadow: 0 2px 16px 0 rgba(19,99,71,0.07);
  transition: box-shadow 0.29s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(185, 122, 20, 0.12);
}

/* LISTS & UL APPEARANCE */
ul {
  list-style: disc inside none;
}
ol {
  list-style: decimal inside none;
}
li {
  margin-bottom: 11px;
}

/* CONTACT ICONS INSIDE PARAGRAPHS */
.content-wrapper p img {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 10px;
  filter: sepia(0.2) hue-rotate(-15deg) brightness(0.85);
}

/* THANK YOU & OTHER CENTERED SECTIONS */
main > section:first-of-type .content-wrapper {
  align-items: center;
  text-align: center;
}

/* VISUAL HIERARCHY BETWEEN SECTIONS */
main > section:not(:first-of-type) {
  margin-top: 18px;
}

/* PREVENT ABSOLUTE FOR CONTENT CARDS */
.card, .testimonial-card, .feature-item, .content-wrapper {
  position: relative;
}

/* ENSURE MINIMUM SPACING FOR FLEX CHILDREN */
.card-container > *, .content-grid > *, .text-image-section > * {
  margin-bottom: 0 !important;
}

/**** END OF FILE ****/
