:root {
  --bg: #faf7f2; /* warm ivory */
  --surface: #ffffff;
  --muted-surface: #f4efe8;
  --text: #272525; /* soft charcoal */
  --muted: #6a6259; /* taupe */
  --primary: #3b5d50; /* requested green */
  --primary-600: #324f44;
  --accent: #c6d7cf; /* soft sage accent */
  --border: #e6e1d9;
  --shadow: 0 6px 20px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; }
.brand span { font-weight: 700; letter-spacing: 0.3px; }

.menu { display: flex; gap: 20px; align-items: center; }
.menu a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; transition: color .15s ease, background .15s ease; }
.menu a:hover { color: var(--text); background: var(--muted-surface); }

.cta { background: var(--primary); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; box-shadow: var(--shadow); }
.cta:link, .cta:visited { color: #fff; }
.cta:hover { background: var(--primary-600); color: #fff; }
.menu a.cta { color: #fff; background: var(--primary); border: 1px solid rgba(255,255,255,0.18); }
.menu a.cta:hover { background: var(--primary-600); color: #fff; }

.hero { padding: 56px 0 28px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0 0 18px; }
.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.badge { font-size: 12px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: #fff; }

.section { padding: 36px 0; }
.section h2 { margin: 0 0 18px; font-size: clamp(22px, 2.6vw, 32px); }
.section p.lead { color: var(--muted); margin: 0 0 22px; }

.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .hero-inner { grid-template-columns: 1fr; } .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid.cols-3, .grid.cols-5, .grid.cols-4 { grid-template-columns: repeat(1, 1fr); } .menu { display:none; } .mobile-nav { display:block; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.card .content { padding: 12px 14px; }
.card h3 { margin: 8px 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery a { display:block; border-radius: 12px; overflow:hidden; border: 1px solid var(--border); background: var(--muted-surface); position: relative; cursor: pointer; }
.gallery img { width:100%; height: 180px; object-fit: cover; }
.gallery .video-item { position: relative; }
.gallery .video-item video { width:100%; height: 180px; object-fit: cover; display: block; }
.gallery .video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); border-radius: 12px; pointer-events: none; transition: background 0.2s ease; }
.gallery .video-item:hover .video-overlay { background: rgba(0,0,0,0.1); }
.gallery .video-overlay::before { content: '▶'; color: #fff; font-size: 32px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* Client tiles */
.thumb-card { position: relative; height: 160px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--muted-surface); }
.thumb-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.02); }
.thumb-card .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.05)); }
.thumb-card .label { position: absolute; left: 12px; bottom: 12px; color: #fff; font-weight: 600; background: rgba(59,93,80,0.8); padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); }

/* Carousel */
.carousel-container { position: relative; margin: 24px 0; }
.carousel-track { display: flex; gap: 16px; overflow-x: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .carousel-slide { flex: 0 0 calc(50% - 8px); } }
@media (min-width: 1024px) { .carousel-slide { flex: 0 0 calc(33.333% - 11px); } }
.carousel-slide .thumb-card { width: 100%; flex-shrink: 0; }
.carousel-slide .testimonial { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 120px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--surface); border: 1px solid var(--border); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 24px; color: var(--text); z-index: 10; box-shadow: var(--shadow); transition: all 0.2s ease; }
.carousel-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel-btn:active { transform: translateY(-50%) scale(0.95); }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }
@media (max-width: 768px) { .carousel-prev { left: 8px; } .carousel-next { right: 8px; } }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; padding: 0; transition: all 0.2s ease; }
.carousel-dot.active { background: var(--primary); width: 24px; border-radius: 5px; }

.testimonials { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.testimonial .who { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--muted); font-size: 14px; }

.footer { margin-top: 32px; padding: 24px 0 40px; border-top: 1px solid var(--border); color: var(--muted); background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }

.breadcrumbs { color: var(--muted); margin-bottom: 10px; font-size: 14px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); }
.table th { color: var(--muted); font-weight: 500; }

.form { display: grid; gap: 12px; }
.input, .textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--muted-surface); color: var(--text); }
.button { background: var(--primary); color: #fff; padding: 10px 14px; border-radius: 10px; border: none; font-weight: 600; cursor: pointer; }
.button.secondary { background: var(--muted-surface); color: var(--text); }

.mobile-nav { display:none; }
.mobile-toggle { background: none; border: 1px solid var(--border); color: var(--text); padding: 8px 10px; border-radius: 10px; }

.map { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; height: 320px; }

kbd { background: var(--muted-surface); border: 1px solid var(--border); border-bottom-color: #000; border-radius: 6px; padding: 1px 6px; color: var(--text); font-size: 12px; }

