/* ============================== */
/*   CSS RESET & NORMALIZE FIRST   */
/* ============================== */

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, html {
  height: 100%;
  background: #FAF9F6;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #252840;
  min-height: 100vh;
  line-height: 1.6;
  background-color: #f6f5f3;
  letter-spacing: 0.01em;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
}
th, td {
  padding: 14px 12px;
  text-align: left;
}

/* ===================== */
/*   BRAND COLOR SCHEME  */
/* ===================== */
:root {
  --color-primary: #252840;
  --color-secondary: #D9B08C;
  --color-accent: #EDE6E3;
  --color-green: #738C59;
  --color-brown: #B08A68;
  --color-bg: #F4F0EC;
  --color-bg-alt: #f6f5f3;
  --color-white: #FFF;
  --color-black: #181a16;
  --color-error: #bc4749;
  --color-shadow: rgba(92,110,89,0.1);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

/* ================ */
/*   TYPOGRAPHY     */
/* ================ */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}
strong, b {
  font-weight: 600;
  color: var(--color-brown);
}

@media (max-width:600px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.3rem; }
  h3, .h3 { font-size: 1.1rem; }
  p { font-size: 1rem; }
}

/* ================ */
/*   GENERAL LAYOUT */
/* ================ */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px var(--color-shadow);
}
@media (max-width: 600px){
  .section {
    margin-bottom: 34px;
    padding: 24px 8px;
  }
}

.hero {
  background-color: var(--color-accent);
  min-height: 320px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 3px 18px var(--color-shadow);
}
.hero .container {
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
}

.cta {
  background: var(--color-green);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  margin-bottom: 0;
}
.cta h2, .cta .h2, .cta p {
  color: var(--color-white);
}

/* ================ */
/*   FLEX PATTERNS  */
/* ================ */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 2px 12px var(--color-shadow);
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 330px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(115,140,89,0.14);
}
.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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #FFF;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 10px var(--color-shadow);
  min-width: 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(115,140,89,0.15);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-card p {
  color: var(--color-black);
  font-size: 1rem;
  margin-bottom: 6px;
  line-height: 1.46;
}
.testimonial-card span {
  color: var(--color-green);
  font-size: 0.98rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.feature-grid li {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 270px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 18px rgba(183, 151, 115,0.18);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  filter: grayscale(25%) opacity(0.80);
}
.feature-grid h3 {
  margin-bottom: 3px;
  color: var(--color-green);
  font-size: 1.15rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.step-list li {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 270px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.step-list li:hover {
  box-shadow: 0 4px 18px rgba(183, 151, 115,0.18);
}

/* FAQ AND TABS */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list h3 {
  color: var(--color-green);
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}
.faq-list p {
  color: var(--color-primary);
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-list li {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 24px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 270px;
}

/* CONTACT */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.contact-list img {
  width: 20px;
  height: 20px;
  opacity: 0.75;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px var(--color-shadow);
  background: var(--color-bg);
  margin-bottom: 22px;
}
.pricing-table th {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}
.pricing-table td {
  color: var(--color-primary);
  font-size: 1rem;
}
.pricing-table tbody tr {
  border-top: 1px solid #ebded0;
}

.pricing-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
}

/* ================ */
/*   BUTTON STYLES  */
/* ================ */
.cta-btn, .cta-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 38px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 36px;
  border: none;
  background: var(--color-green);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: 0 2px 11px rgba(38,80,41,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #5C715E;
  color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(38,80,41,0.14);
  transform: translateY(-2px) scale(1.02);
}
.cta-btn.secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #C19A6B;
  color: var(--color-primary);
}

button, .button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 26px;
  background: var(--color-green);
  color: #fff;
  cursor: pointer;
  transition: background 0.20s, transform 0.14s;
  outline: none;
}
button:hover, .button:hover {
  background: #5C715E;
  transform: scale(1.03);
}

/* =============== */
/*   NAVIGATION    */
/* =============== */
header {
  width: 100%;
  padding: 0;
  background: var(--color-accent);
  box-shadow: 0 2px 14px var(--color-shadow);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 0;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 29% 42% 38% 51% / 41% 48% 33% 55%; /* Playful organic blob */
  background: rgba(209,214,196,0.09);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  padding: 10px 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  transition: color 0.2s, background 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-green);
}
.main-nav .cta-btn.primary {
  margin-left: 12px;
}

/* HIDE main-nav on mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  z-index: 150;
  position: relative;
  margin-left: 22px;
  box-shadow: 0 1px 7px var(--color-shadow);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: #5C715E;
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ================ */
/*   MOBILE MENU    */
/* ================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  height: 100vh;
  width: 90vw;
  max-width: 340px;
  background: #F4F0EC;
  box-shadow: -4px 0 32px rgba(100,124,90,0.14);
  z-index: 900;
  display: flex;
  flex-direction: column;
  padding: 38px 18px 18px 22px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.52,2,.82,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1.7rem;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 950;
}
.mobile-menu-close:hover {
  background: #B08A68;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 30px;
  margin-top: 8px;
}
.mobile-nav a {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 500;
  padding: 12px 8px 12px 0px;
  border-radius: 14px;
  transition: background 0.2s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-green);
  color: var(--color-white);
  padding-left: 8px;
}

@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ================ */
/*   FOOTER STYLE   */
/* ================ */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 36px 0 0 0;
  box-shadow: 0 -3px 16px var(--color-shadow);
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  padding: 24px 18px;
}
.footer-logo img {
  height: 50px;
  width: auto;
  border-radius: 33% 55% 51% 41% / 51% 41% 55% 33%;
  background: rgba(183,210,115,0.09);
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex: 1 1;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-secondary);
  font-weight: 400;
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-green);
}
.contact-footer {
  font-size: 0.98rem;
  color: var(--color-accent);
}
.contact-footer a {
  color: var(--color-accent);
  border-bottom: 1px dashed var(--color-secondary);
  transition: color 0.17s;
}
.contact-footer a:hover {
  color: var(--color-green);
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-nav {
    margin-bottom: 10px;
    gap: 14px;
  }
}

/* ================ */
/*   LEGAL & PAGE   */
/* ================ */
.legal {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 10px var(--color-shadow);
  margin-bottom: 60px;
  padding: 40px 24px;
}
@media (max-width: 650px) {
  .legal {
    padding: 18px 6px;
  }
}

.confirmation, .contact-form-section, .about, .team, .faq {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 10px var(--color-shadow);
  margin-bottom: 60px;
  padding: 40px 18px;
}
@media (max-width: 650px) {
  .confirmation, .contact-form-section, .about, .team, .faq {
    padding: 18px 6px;
  }
}

/* ================ */
/*   COOKIE BANNER  */
/* ================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-white);
  box-shadow: 0 -2px 12px var(--color-shadow);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 14px;
  font-size: 1rem;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  animation: cookieBannerIn 0.38s cubic-bezier(.51,1.65,.58,1) 1;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  flex: 1 1 60%;
  color: var(--color-primary);
}
.cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btns button {
  border-radius: 22px;
  font-size: 1rem;
  padding: 10px 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-btns .accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-btns .accept:hover {
  background: #5C715E;
}
.cookie-btns .reject {
  background: #e8e5df;
  color: var(--color-brown);
}
.cookie-btns .reject:hover {
  background: #EEDECC;
}
.cookie-btns .settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btns .settings:hover {
  background: #C19A6B;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(38,80,41,0.25);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.27s cubic-bezier(.39,1.77,.43,1.06) both;
}
@keyframes cookieModalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 36px rgba(115,140,89,0.15);
  padding: 36px 24px 24px 24px;
  width: 95vw;
  max-width: 390px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalContentIn 0.32s cubic-bezier(.65,1.24,.56,1.05) both;
}
@keyframes cookieModalContentIn {
  0% { opacity:0; transform: translateY(50px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-modal h3 {
  color: var(--color-green);
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.cookie-category {
  padding: 12px 0 10px 0;
  border-bottom: 1px solid #EEE8E0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 20px;
  height: 20px;
  margin-right: 2px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  background: #f1ede9;
  color: var(--color-green);
  border: none;
  font-size: 1.3rem;
  border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal-close:hover {
  background: #ddd2c3;
}

/* ================ */
/*   RESPONSIVENESS */
/* ================ */
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
    padding: 0 3vw;
  }
  .section, .hero, .cta {
    padding-left: 3vw; padding-right: 3vw;
  }
  .feature-grid, .step-list, .team-list {
    gap: 12px;
    justify-content: center;
  }
  .card-container, .card-grid, .testimonials {
    gap: 16px;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .step-list, .team-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials, .card-container, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-logo img {
    height: 38px;
  }
  .card, .feature-grid li, .step-list li, .team-list li {
    min-width: 90vw;
    max-width: 100vw;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    font-size: 0.98rem;
    padding: 12px 7px;
  }
  .cookie-btns {
    gap: 7px;
  }
}

/* FOCUS STYLES */
a:focus, button:focus, .cta-btn:focus, .cookie-btns button:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
  z-index: 2;
}

/* =============================== */
/*   ORGANIC SHAPES & TEXTURES     */
/* =============================== */
.section,
.card,
.feature-grid li,
.step-list li,
.team-list li,
.legal,
.confirmation,
.contact-form-section,
.about,
.team,
.faq {
  border-radius: 34% 66% 42% 58%/60% 38% 62% 40%; /* 'organic' blob shape */
  background: linear-gradient(110deg, #EDE6E3 85%, #ddc0ab 100%);
}
.cta {
  border-radius: 54% 46% 38% 62% / 60% 59% 41% 40%;
  background: linear-gradient(90deg, #738C59 90%, #B08A68 100%);
}
.hero {
  background: linear-gradient(110deg, #EDE6E3 90%, #EBEAD8 100%);
}

.card, .feature-grid li, .step-list li, .testimonial-card, .team-list li {
  box-shadow:
    0 2px 10px 0 rgba(115, 140, 89, 0.10),
    0 0px 1.5px 0px rgba(217,176,140,0.07);
}
.card::after, .feature-grid li::after, .testimonial-card::after, .team-list li::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 16px;
  width: 44px;
  height: 14px;
  background: rgba(115,140,89,0.13);
  filter: blur(4px);
  border-radius: 21px;
  z-index: 0;
  pointer-events: none;
}

/* ============================ */
/*   MICRO-INTERACTIONS/ANIMS   */
/* ============================ */
.cta-btn, .card, .feature-grid li, .step-list li, .testimonial-card, .mobile-menu, .cookie-banner, a, button {
  transition: box-shadow 0.2s, background 0.17s, color 0.15s, transform 0.18s;
}
a:hover, a:focus {
  color: var(--color-green);
}

@media (hover: hover) {
  .cta-btn.primary:active, .card:active, .feature-grid li:active, .testimonial-card:active, .cookie-btns button:active {
    transform: scale(0.98);
  }
}

/* ============ */
/*  UTILITIES   */
/* ============ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.text-center { text-align: center; }

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

/* ============ */
/*  PRINT       */
/* ============ */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
