* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary: #4d7c0f; --primary-light: #65a30d; --brown: #a16207; --cream: #fefce8; --dark: #292524; --gray: #78716c; --warm: #fffbeb; --font: 'Segoe UI', system-ui, 'Georgia', serif; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); overflow-x: hidden; line-height: 1.7; background: var(--warm); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header - organic feel */
header { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 18px 0; transition: .3s; }
header.scrolled { background: rgba(254,252,232,.95); backdrop-filter: blur(10px); box-shadow: 0 2px 30px rgba(0,0,0,.05); }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); font-family: 'Georgia', serif; }
.logo span { color: var(--brown); }
nav a { color: var(--dark); margin-left: 30px; font-size: .95rem; font-weight: 500; transition: .3s; position: relative; }
nav a:hover { color: var(--primary); }
nav a::after { content: '~~~'; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); font-size: .5rem; color: var(--primary); opacity: 0; transition: .3s; letter-spacing: 2px; }
nav a:hover::after { opacity: 1; }
nav a.active { color: var(--primary); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 28px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ===== Home Page ===== */

/* Hero - natural organic */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--warm), #fef3c7); }
.hero-bg { position: absolute; inset: 0; background: url('../images/hero.jpg') center/cover no-repeat; opacity: .12; }
.hero-shape { position: absolute; bottom: -2px; left: 0; width: 100%; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 120px 20px 60px; }
.hero-text h1 { font-size: 3.5rem; font-weight: 900; color: var(--dark); line-height: 1.15; margin-bottom: 20px; font-family: 'Georgia', serif; }
.hero-text h1 span { color: var(--primary); font-style: italic; }
.hero-text p { color: var(--gray); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.9; }
.btn { display: inline-block; padding: 16px 40px; border-radius: 100px; font-weight: 600; font-size: 1rem; transition: .3s; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 30px rgba(77,124,15,.3); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.organic-shape { width: 400px; height: 400px; border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; background: linear-gradient(135deg, rgba(77,124,15,.15), rgba(161,98,7,.1)); animation: morph 8s ease-in-out infinite; }
@keyframes morph { 0% { border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; } 50% { border-radius: 60% 40% 40% 60% / 50% 60% 40% 50%; } 100% { border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; } }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.scroll-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(77,124,15,.3); border: none; cursor: pointer; transition: .3s; }
.scroll-dot.active { background: var(--primary); width: 30px; border-radius: 5px; }

/* Section common */
.section { padding: 120px 0; position: relative; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; text-align: center; font-family: 'Georgia', serif; }
.section-title span { color: var(--primary); font-style: italic; }
.section-subtitle { text-align: center; color: var(--gray); font-size: 1.1rem; margin-bottom: 60px; }
.section.white { background: #fff; }
.section.cream { background: var(--warm); }
.section.green { background: linear-gradient(135deg, var(--primary), #365314); color: #fff; }
.section.green .section-subtitle { color: rgba(255,255,255,.7); }

/* Services - organic cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { background: #fff; padding: 40px 30px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.04); transition: .5s; position: relative; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.service-card:hover { border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%; transform: scale(1.02); box-shadow: 0 20px 60px rgba(77,124,15,.1); }
.service-icon { width: 90px; height: 90px; border-radius: 40% 60% 60% 40%; background: rgba(77,124,15,.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 2.2rem; color: var(--primary); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--dark); }
.service-card p { color: var(--gray); font-size: .95rem; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
.project-item { position: relative; border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; overflow: hidden; height: 300px; cursor: pointer; }
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.project-item:hover img { transform: scale(1.1); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(41,36,36,.8), transparent); border-radius: inherit; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; }
.project-overlay h3 { font-size: 1.3rem; margin-bottom: 5px; }

/* Advantage */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 25px; }
.adv-card { background: rgba(255,255,255,.1); padding: 40px 25px; text-align: center; border-radius: 50% 30% 60% 40% / 40% 60% 40% 60%; transition: .3s; }
.adv-card:hover { background: rgba(255,255,255,.15); transform: scale(1.03); }
.adv-card .num { font-size: 2.8rem; font-weight: 900; color: #facc15; }
.adv-card h4 { font-size: 1.1rem; margin: 10px 0 8px; color: #fff; }
.adv-card p { color: rgba(255,255,255,.6); font-size: .9rem; }

/* News cards */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: #fff; border-radius: 30% 70% 50% 50% / 40% 40% 60% 60%; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.04); transition: .4s; padding-bottom: 25px; }
.news-card:hover { border-radius: 50% 50% 40% 60% / 60% 50% 50% 40%; transform: translateY(-5px); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 0 25px; }
.news-date { color: var(--brown); font-size: .85rem; }
.news-body h3 { font-size: 1.1rem; margin: 10px 0; }

/* ===== Footer ===== */
footer { background: #292524; color: rgba(255,255,255,.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h3 { color: #fff; font-size: 1.5rem; margin-bottom: 15px; font-family: 'Georgia', serif; }
.footer-brand h3 span { color: #a16207; }
.footer-brand p { font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.5); }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,.5); margin-bottom: 12px; font-size: .9rem; transition: .3s; }
.footer-col a:hover { color: #a16207; padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 25px; text-align: center; font-size: .85rem; }

/* ===== Generic Pages ===== */

/* Page Banner */
.page-banner { min-height: 45vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; position: relative; background-size: cover; background-position: center; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(41,36,36,.6); }
.page-banner > div { position: relative; z-index: 1; }
.page-banner h1 { font-size: 3.5rem; font-weight: 900; font-family: 'Georgia', serif; }
.page-banner p { font-size: 1.2rem; opacity: .8; }

/* ===== About Page ===== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; overflow: hidden; }
.about-text h2 { font-size: 2rem; margin-bottom: 20px; font-family: 'Georgia', serif; }
.about-text p { color: var(--gray); margin-bottom: 15px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat-item { text-align: center; padding: 20px; background: var(--cream); border-radius: 40% 60% 60% 40%; }
.stat-item .num { font-size: 2rem; font-weight: 900; color: var(--primary); }
.stat-item p { color: var(--gray); font-size: .85rem; margin: 0; }

/* ===== Products Page ===== */
.product-card-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; border-radius: 30% 70% 50% 50% / 40% 40% 60% 60%; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.04); margin-bottom: 40px; }
.product-card-wide:nth-child(even) { border-radius: 60% 40% 40% 60% / 50% 60% 40% 50%; }
.product-card-wide img { width: 100%; height: 350px; object-fit: cover; }
.product-body { padding: 50px; }
.product-body h3 { font-size: 1.8rem; margin-bottom: 15px; font-family: 'Georgia', serif; }
.product-body p { color: var(--gray); margin-bottom: 15px; }
.product-tag { display: inline-block; padding: 5px 20px; background: rgba(77,124,15,.1); color: var(--primary); border-radius: 100px; font-size: .8rem; font-weight: 600; margin-bottom: 15px; }

/* Product detail page */
.product-detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.product-detail-hero img { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; width: 100%; max-height: 450px; object-fit: cover; }
.product-detail-body h2 { font-size: 2.2rem; font-family: 'Georgia', serif; margin-bottom: 15px; }
.product-detail-body .desc { color: var(--gray); font-size: 1.05rem; line-height: 1.9; margin-bottom: 25px; }

/* ===== News list page ===== */
.news-list { max-width: 900px; margin: 0 auto; }
.news-article { display: grid; grid-template-columns: 300px 1fr; gap: 30px; background: #fff; border-radius: 30% 70% 50% 50% / 40% 40% 60% 60%; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.04); margin-bottom: 30px; }
.news-article img { width: 100%; height: 100%; object-fit: cover; }
.news-article-body { padding: 30px; }
.news-article-body .tag { display: inline-block; padding: 4px 15px; background: rgba(77,124,15,.1); color: var(--primary); border-radius: 100px; font-size: .8rem; margin-bottom: 10px; }
.news-article-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.news-article-body p { color: var(--gray); font-size: .9rem; }

/* News detail page */
.news-detail-hero { position: relative; }
.news-detail-hero img { width: 100%; max-height: 450px; object-fit: cover; border-radius: 40% 60% 50% 50% / 30% 30% 70% 70%; margin-bottom: 30px; }
.news-detail-header h1 { font-size: 2.2rem; font-family: 'Georgia', serif; margin-bottom: 10px; }
.news-detail-meta { color: var(--gray); font-size: .9rem; margin-bottom: 25px; display: flex; gap: 20px; }
.news-detail-content { max-width: 800px; margin: 0 auto; color: var(--dark); line-height: 2; font-size: 1.05rem; }
.news-detail-content p { margin-bottom: 20px; }

/* ===== Contact Page ===== */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-detail { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact-detail .icon { width: 55px; height: 55px; border-radius: 40% 60% 60% 40%; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; font-size: 1.2rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 18px; border: 2px solid #e7e5e4; border-radius: 100px; font-size: .95rem; margin-bottom: 15px; transition: .3s; outline: none; font-family: inherit; background: #fff; }
.contact-form textarea { border-radius: 30px; height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(77,124,15,.08); }
.map-placeholder { width: 100%; height: 400px; border-radius: 30% 70% 50% 50% / 40% 40% 60% 60%; overflow: hidden; margin-top: 60px; }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* ===== Generic Page Show ===== */
.page-show-content { max-width: 820px; margin: 0 auto; color: var(--dark); line-height: 2; font-size: 1.05rem; }
.page-show-content p { margin-bottom: 20px; }
.page-show-content img { border-radius: 40% 60% 50% 50% / 30% 30% 70% 70%; margin: 25px 0; }

/* ===== Search ===== */
.search-form-wrap { max-width: 600px; margin: 0 auto 40px; display: flex; gap: 10px; }
.search-form-wrap input { flex: 1; padding: 16px 20px; border: 2px solid #e7e5e4; border-radius: 100px; font-size: 1rem; outline: none; font-family: inherit; transition: .3s; }
.search-form-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(77,124,15,.08); }
.search-result-item { background: #fff; padding: 25px 30px; border-radius: 30% 70% 50% 50% / 40% 40% 60% 60%; margin-bottom: 20px; box-shadow: 0 5px 20px rgba(0,0,0,.03); transition: .3s; }
.search-result-item:hover { border-radius: 50% 50% 40% 60% / 60% 50% 50% 40%; }
.search-result-item h3 { font-family: 'Georgia', serif; margin-bottom: 8px; font-size: 1.15rem; }
.search-result-item p { color: var(--gray); font-size: .9rem; }

/* ===== Milestone Timeline ===== */
.milestone-timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.milestone-timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--primary), rgba(77,124,15,.1)); }
.milestone-item { position: relative; margin-bottom: 40px; padding-left: 30px; }
.milestone-item::before { content: ''; position: absolute; left: -30px; top: 8px; width: 18px; height: 18px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 6px rgba(77,124,15,.12); }
.milestone-year { font-size: 1.5rem; font-weight: 900; color: var(--primary); font-family: 'Georgia', serif; margin-bottom: 5px; }
.milestone-desc { color: var(--gray); font-size: 1rem; }
.milestone-empty { text-align: center; color: var(--gray); padding: 40px 0; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; list-style: none; padding: 0; }
.pagination li a, .pagination li span { display: inline-block; padding: 10px 18px; border-radius: 100px; background: #fff; color: var(--dark); transition: .3s; font-size: .9rem; }
.pagination li a:hover { background: rgba(77,124,15,.1); color: var(--primary); }
.pagination li.active span { background: var(--primary); color: #fff; }
.pagination li.disabled span { opacity: .4; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-text h1 { font-size: 2.8rem; }
  .hero .container { grid-template-columns: 1fr; }
  .about-wrap, .contact-page-grid { grid-template-columns: 1fr; }
  .product-card-wide { grid-template-columns: 1fr; }
  .product-card-wide img { height: 250px; }
  .news-article { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .organic-shape { width: 300px; height: 300px; }
  .product-detail-hero { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  nav.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(254,252,232,.98); padding: 20px; }
  nav a { margin: 10px 0; }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 2rem; }
  .organic-shape { width: 200px; height: 200px; }
}
