/* Palette (HEX):
   --bg: #FBFBF9 (page background)
   --card: #FFFFFF (card background)
   --text: #1E293B (primary text)
   --muted: #475569 (muted text)
   --accent: #7C9A6D (primary accent - olive)
   --accent-2: #F6A560 (secondary accent - warm)
   --link: #1E6FB7 (links)
   --border: #E6E9EE (borders)
   --shadow: rgba(16,24,40,0.06)
*/

/* Root variables */
:root{
  --bg:#FBFBF9;
  --card:#FFFFFF;
  --text:#1E293B;
  --muted:#475569;
  --accent:#7C9A6D;
  --accent-2:#F6A560;
  --link:#1E6FB7;
  --border:#E6E9EE;
  --shadow: rgba(16,24,40,0.06);

  --radius:16px;
  --gap:24px;
  --container-width:1200px;
  --max-width:min(var(--container-width), 90%);
}

/* Global reset & typography */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-size:16px;
}

/* Container */
.container{
  width:var(--max-width);
  margin-left:auto;
  margin-right:auto;
  padding:28px 18px;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  background:linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
  backdrop-filter: blur(6px);
  border-bottom:1px solid var(--border);
  z-index:50;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
  font-weight:600;
}
.brand .logo{ color:var(--accent) }
.brand-name{ font-size:1.05rem }

/* Navigation */
.main-nav ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  gap:12px;
  align-items:center;
}
.main-nav a{
  text-decoration:none;
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
}
.main-nav a:focus,
.main-nav a:hover{
  color:var(--text);
  background:rgba(124,154,109,0.06);
  outline:none;
}
.main-nav a[aria-current="page"]{
  font-weight:700;
  color:var(--text);
}

/* Hero */
.hero{
  padding:36px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 560px;
  gap:28px;
  align-items:center;
}
.hero-copy h1{
  font-weight:700;
  font-size:clamp(1.5rem, 3vw, 2.4rem);
  margin:0 0 12px;
}
.lead{ color:var(--muted); margin:0 0 18px; max-width:60ch }
.hero-visual img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  box-shadow: 0 6px 18px var(--shadow);
  border:1px solid var(--border);
  object-fit:cover;
}

/* Buttons */
.btn{
  display:inline-block;
  text-decoration:none;
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
}
.btn.small{ padding:8px 10px; font-size:0.95rem }
.btn.primary{
  background:var(--accent);
  color:white;
  border-color:transparent;
}
.btn.ghost{
  background:transparent;
  color:var(--accent);
  border:1px solid rgba(124,154,109,0.16);
}
.btn:focus{
  outline:3px solid rgba(30,111,183,0.16);
  outline-offset:3px;
}

/* Cards and grid */
.cards{
  display:grid;
  gap:28px;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
}
.card{
  background:var(--card);
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow: 0 8px 20px var(--shadow);
  overflow:hidden;
}
.card-img{
  width:100%;
  height:auto;
  aspect-ratio:4 / 3;
  object-fit:cover;
  display:block;
}
.card-body{ padding:16px }
.card h3{ margin:0 0 8px; font-size:1.05rem }
.muted{ color:var(--muted) }
.price{ margin:8px 0; font-weight:700 }

/* Info grids */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.info-card{
  background:transparent;
  border-radius:12px;
  padding:14px;
  border:1px dashed rgba(30,41,59,0.04);
}

/* Product page layout */
.product-grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:28px;
}
.product-aside{
  background:var(--card);
  padding:16px;
  border-radius:12px;
  border:1px solid var(--border);
}

/* Table */
.product-table{
  width:100%;
  border-collapse:collapse;
  margin-top:18px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.product-table th,
.product-table td{
  padding:12px 14px;
  text-align:left;
  border-bottom:1px solid var(--border);
}
.product-table thead th{
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
}

/* Forms */
.contact-form .form-row{ margin-bottom:12px; display:flex; flex-direction:column }
.contact-form label{ font-weight:600; margin-bottom:6px }
.contact-form input,
.contact-form select,
.contact-form textarea{
  padding:10px;
  border-radius:10px;
  border:1px solid var(--border);
  font:inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline:3px solid rgba(30,111,183,0.12);
  outline-offset:2px;
}

/* FAQ styles */
.faq details{ background:var(--card); padding:12px; border-radius:10px; margin-bottom:10px; border:1px solid var(--border) }
.faq summary{ font-weight:700; cursor:pointer }
.faq p{ margin:8px 0 0 }

/* Footer */
.site-footer{ border-top:1px solid var(--border); margin-top:40px; padding:20px 0; background:transparent }
.footer-inner{ display:flex; justify-content:space-between; gap:12px; align-items:center }

/* Utility */
.link{ color:var(--link); text-decoration:underline }

/* Responsive breakpoints */
@media (max-width:900px){
  .hero-grid{ grid-template-columns: 1fr }
  .product-grid{ grid-template-columns: 1fr }
  .grid-3{ grid-template-columns:repeat(2,1fr) }
}
@media (max-width:600px){
  .grid-3{ grid-template-columns: 1fr }
  .header-inner{ flex-direction:column; align-items:flex-start; gap:8px; padding-bottom:8px }
  .main-nav ul{ flex-wrap:wrap; gap:8px }
}
