/* ================= CORE 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #F5F1EA;
  color: #2C3E36;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
img {
  max-width: 100%;
  display: block;
}
tag,body {
  min-height: 100vh;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ================= BRAND FONTS & ROOT VARS ================== */
:root {
  --color-primary: #2C3E36;
  --color-secondary: #F5F1EA;
  --color-accent: #B95D1B;
  --color-accent-dark: #7C3700;
  --color-background: #FFFDF8;
  --color-card: #F8F6F2;
  --color-success: #61892F;
  --color-warning: #B95D1B;
  --color-text: #2C3E36;
  --color-heading: #233529;
  --color-neutral-dark: #333e2c;
  --color-shadow: rgba(56, 66, 51, 0.06);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-full: 999px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: .18s cubic-bezier(.42,0,.58,1);
}

@media (max-width: 600px) {
  html { font-size: 15px; }
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem;  margin-bottom: 15px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 8px; }

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* ================== LAYOUT SPACING =================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 14px var(--color-shadow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}
.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: 20px;
  background: #fff;
  box-shadow: 0 1px 8px var(--color-shadow);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-success);
  max-width: 500px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 24px;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========== NATURAL/ORGANIC DESIGN: COLORS & TEXTURE ========== */
body, .section {
  background: var(--color-secondary);
}
.card, .testimonial-card, .newsletter {
  background: var(--color-card);
}
.section, .features, .services {
  background: var(--color-secondary);
  border-radius: var(--radius-md);
}

/* Subtle organic blob deco (pure CSS shape) */
.hero::before {
  content: '';
  position: absolute;
  left: -45px; top: 0;
  width: 160px; height: 160px;
  background: var(--color-success);
  opacity: 0.11;
  border-radius: 55% 45% 60% 39%/42% 66% 32% 56%;
  z-index: 0;
  pointer-events: none;
}
.hero { position: relative; overflow: hidden; }

/* ===================== HEADER & NAVIGATION ===================== */
header {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
  margin-bottom: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 70px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  font-family: var(--font-display);
}
.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(185,93,27,0.12);
  color: var(--color-accent);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border-radius: var(--radius-full);
  line-height: 1;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: rgba(185,93,27,0.09);
  outline: none;
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* ============= MOBILE MENU ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: var(--color-primary);
  color: #fff;
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,.2,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: #fff;
  position: absolute;
  top: 22px;
  right: 20px;
  background: none;
  border: none;
  z-index: 1200;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  transition: background 0.12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: rgba(185,93,27,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 14px;
  margin-top: 80px;
  padding: 10px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.22rem;
  padding: 18px 0 8px 0;
  border-bottom: 1px solid rgba(245,241,234,0.12);
  transition: color 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus {
  color: var(--color-accent);
  outline: none;
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-nav,
  .mobile-menu-toggle { display: none !important; }
}


/* ================= HERO / HEADERS ================== */
.hero {
  padding: 60px 0 40px 0;
  background: var(--color-secondary);
  position: relative;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.22rem;
  color: var(--color-text);
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .hero { padding: 36px 0 18px 0; }
  .hero h1 { font-size: 2rem; }
}

/* =============== CALL TO ACTION BUTTONS =============== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  background: var(--color-success);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: none;
  outline: none;
  margin-top: 5px;
  transition: background 0.18s, transform 0.16s;
}
.cta-btn:hover, .cta-btn:active, .cta-btn:focus {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* ============= FEATURES, INTRO, SERVICES, INFO ============ */
.features, .services, .intro, .about, .story, .info, .newsletter, .highlight, .faq, .contact, .confirmation {
  margin-bottom: 60px;
  background: var(--color-secondary);
  border-radius: var(--radius-md);
}
.features ul, .services ul, .about ul, .story ul, .intro ul, .faq ul, .team ul, .newsletter ul, .highlights ul, .contact ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features li, .services li, .about li, .story li, .intro li, .faq li, .team li, .newsletter li, .highlights li, .contact li {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: 0 1px 6px var(--color-shadow);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 6px;
  border-left: 4px solid var(--color-success);
}
.features h2, .features h3, .services h2, .intro h2,
.about h2, .story h2, .team h2, .info h2, .newsletter h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.quicklinks a {
  color: var(--color-success);
  font-weight: 500;
  margin-right: 8px;
  transition: color 0.14s;
}
.quicklinks a:hover { color: var(--color-accent); }
@media (max-width: 768px) {
  .section, .features, .services, .intro, .about, .story, .info, .newsletter, .faq, .contact, .confirmation {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .features li, .services li, .about li, .story li, .faq li, .team li, .newsletter li, .highlights li, .contact li {
    padding: 10px 10px;
    font-size: 1rem;
  }
}

/* =============== HIGHLIGHTS cards =============== */
.highlights ul { gap: 18px; }
.highlights li { background: #f3f1ea; border-left-color: var(--color-accent); }

/* ============= TESTIMONIALS ============ */
.testimonials {
  margin-bottom: 60px;
  background: var(--color-background);
  border-radius: var(--radius-md);
}
.testimonials h2 {
  color: var(--color-success);
  margin-bottom: 24px;
}
.testimonial-card {
  color: #222;
  background: #fff;
  border-left: 6px solid var(--color-success);
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 24px;
  max-width: 540px;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #333;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-success);
}
@media (max-width: 600px) {
  .testimonial-card { padding: 16px; }
}

/* =========== NEWSLETTER ========= */
.newsletter {
  margin-bottom: 60px;
  padding: 35px 15px;
  background: #eaf7e2;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px var(--color-shadow);
}
.newsletter h2 { color: var(--color-success); }

/* =========== CTA =========== */
.cta {
  background: var(--color-success);
  border-radius: var(--radius-md);
  color: #fff;
  text-align: center;
}
.cta h2, .cta p {
  color: #fff;
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 22px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-nav a {
  color: #fff;
  padding: 6px 0;
  border-radius: var(--radius-sm);
  transition: background 0.13s;
}
.footer-nav a:hover { background: rgba(185,93,27,0.13); }
.footer-brand img {
  height: 46px;
  margin-bottom: 18px;
}
.contact-snippet {
  font-size: 1rem;
  color: #fbeedb;
  margin-top: 12px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =========== COOKIE CONSENT =========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-card);
  color: #23281E;
  box-shadow: 0 -2px 14px var(--color-shadow);
  padding: 22px 20px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  justify-content: space-between;
  border-radius: 24px 24px 0 0;
  transition: transform 0.39s cubic-bezier(.7,.2,.3,1);
  transform: translateY(0%);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 70%;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin-right: 0;
  background: var(--color-success);
  color: #fff;
  transition: background 0.14s, box-shadow 0.14s;
  box-shadow: 0 1px 4px var(--color-shadow);
}
.cookie-btn.reject {
  background: var(--color-accent-dark);
}
.cookie-btn.settings {
  background: #e5e5e5;
  color: var(--color-primary);
  border: 1px solid var(--color-success);
}
.cookie-btn:hover, .cookie-btn:active, .cookie-btn:focus {
  filter: brightness(0.96);
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:active {
  background: #cbe6b6;
  color: var(--color-text);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 15px 8px;
    border-radius: 16px 16px 0 0;
    font-size: .98rem;
  }
  .cookie-banner .cookie-banner-actions {
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========== COOKIE MODAL (PREFERENCES) ============= */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,62,54,0.42);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.18s;
}
.cookie-modal.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: var(--color-text);
  padding: 32px 26px 24px 26px;
  border-radius: var(--radius-md);
  min-width: 320px; max-width: 94vw;
  box-shadow: 0 4px 32px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieSlide .19s cubic-bezier(.56,.2,.49,1);
}
@keyframes cookieSlide {
  from {transform: translateY(45px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-modal-content h3 {
  color: var(--color-success);
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-modal-content label {
  font-size: 1rem;
  color: #333a23;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  transform: scale(1.2);
  accent-color: var(--color-success);
  margin-right: 7px;
}
.cookie-category.essential label,
.cookie-category.essential input {
  cursor: not-allowed;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 13px;
  font-size: 1.7rem;
  color: var(--color-primary);
  background: none;
  border: none;
  border-radius: var(--radius-full);
  transition: background 0.13s;
  width: 40px; height: 40px;
  display: flex;
  align-items: center; justify-content: center;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  background: #eaf7e2;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 100px;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    min-width: 0;
    padding: 14px 8px 12px 10px;
  }
  .cookie-modal-actions {
    gap: 7px;
  }
}

/* ============== FORMS/INPUTS (for future use) =============== */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1.5px solid #ceddc5;
  padding: 10px 14px;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  font-family: var(--font-body);
  transition: border 0.15s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--color-success);
  outline: none;
}
::placeholder {
  color: #a0b097;
  opacity: 1;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--color-primary);
}

/* ============== LEGAL PAGES ============= */
.legal {
  margin-bottom: 60px;
  padding: 40px 18px;
  background: #fcf9f3;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 14px var(--color-shadow);
}
.legal h1 {
  color: var(--color-success);
}
.legal ul li {
  background: #fff;
  border-left: 5px solid var(--color-accent);
}
@media (max-width: 600px) {
  .legal {
    margin-bottom: 32px; padding: 22px 5px;
  }
}

/* ============== ACCESSIBILITY FOCUS STATES ============== */
:focus {
  outline: 2px solid var(--color-success);
  outline-offset: 2px;
}

/* ============== HOVER/INTERACTIONS ================ */
a, .cta-btn, button, .cookie-btn {
  transition: color 0.13s, background 0.15s, box-shadow 0.17s, transform 0.15s;
}
a:focus, .cta-btn:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-success);
  outline-offset: 2px;
}

/* ========== EXTRA: ORGANIC/DECORATIVE SHAPES for SECTIONS ========= */
.section::after {
  content: '';
  display: block;
  width: 80px; height: 30px;
  background: var(--color-success);
  opacity: 0.085;
  border-radius: 30% 66% 29% 70% / 40% 50% 60% 50%;
  margin: 22px auto 0 auto;
}

/* ========== PRINT HELPERS (optional) =========== */
@media print {
  nav, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .section, .features, .testimonials, .legal { box-shadow: none !important; background: #fff !important; }
}
