@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fafafa;
  --fg: #1a2b1f;
  --card: #ffffff;
  --card-fg: #1a2b1f;
  --primary: hsl(144, 60%, 16%);
  --primary-fg: #fafafa;
  --muted: hsl(140, 10%, 94%);
  --muted-fg: hsl(150, 5%, 45%);
  --accent: hsl(144, 40%, 22%);
  --border: hsl(140, 10%, 88%);
  --radius: 0.5rem;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.header-logo img { height: 56px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  padding: 8px 16px; font-size: 14px; font-weight: 500;
  border-radius: var(--radius); transition: background 0.2s, color 0.2s;
}
.header-nav a:hover { background: var(--muted); }
.header-nav a.active { background: var(--primary); color: var(--primary-fg); }
.header-cta {
  display: inline-flex; align-items: center;
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  border-radius: var(--radius);
  background: var(--primary); color: var(--primary-fg);
  transition: background 0.2s;
}
.header-cta:hover { background: var(--accent); }

/* Mobile menu */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none; position: absolute; right: 1.5rem; top: 100%;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 8px 0; min-width: 200px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 10px 16px; font-size: 14px;
  transition: background 0.2s;
}
.mobile-menu a:hover { background: var(--muted); }
.mobile-menu a.active { background: var(--primary); color: var(--primary-fg); }

@media (max-width: 768px) {
  .header-nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* Hero */
.hero {
  position: relative; min-height: 500px; height: 70vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--primary); opacity: 0.8;
}
.hero-content {
  position: relative; z-index: 1; max-width: 640px;
  animation: fadeIn 0.8s ease-out;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--primary-fg); margin-bottom: 1.5rem; line-height: 1.1;
}
.hero p {
  font-size: 1.125rem; color: rgba(250,250,250,0.8);
  margin-bottom: 2rem; line-height: 1.7;
}
.hero-btn {
  display: inline-flex; align-items: center;
  padding: 14px 32px; border-radius: var(--radius);
  background: var(--primary-fg); color: var(--primary);
  font-weight: 600; transition: opacity 0.2s;
}
.hero-btn:hover { opacity: 0.9; }

/* Sections */
.section { padding: 5rem 0; }
.section-muted { background: var(--muted); }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); text-align: center; margin-bottom: 1rem; }
.section-subtitle {
  text-align: center; color: var(--muted-fg);
  max-width: 560px; margin: 0 auto 3rem;
}

/* About grid */
.about-grid {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 3rem; align-items: center; margin-bottom: 4rem;
}
.about-text p { color: var(--muted-fg); font-size: 1.125rem; line-height: 1.7; margin-top: 1rem; }
.about-text p:first-child { margin-top: 0; }

.photo-montage {
  position: relative; height: 480px;
}
.photo-montage img {
  position: absolute; border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border: 2px solid var(--card); object-fit: cover;
}
.photo-montage img:nth-child(1) { top: 0; left: 0; width: 55%; height: 55%; z-index: 10; }
.photo-montage img:nth-child(2) { top: 10%; right: 0; width: 50%; height: 45%; z-index: 20; }
.photo-montage img:nth-child(3) { bottom: 5%; left: 5%; width: 48%; height: 42%; z-index: 30; }
.photo-montage img:nth-child(4) { bottom: 0; right: 2%; width: 50%; height: 48%; z-index: 40; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .photo-montage { height: 360px; max-width: 400px; margin: 0 auto; }
}

/* MVV cards */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.mvv-card {
  text-align: center; padding: 2rem; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-fg);
}
.mvv-icon {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 50%; background: rgba(250,250,250,0.2);
  display: flex; align-items: center; justify-content: center;
}
.mvv-icon svg { width: 32px; height: 32px; }
.mvv-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.mvv-card p { font-size: 0.875rem; opacity: 0.8; line-height: 1.6; }

@media (max-width: 768px) { .mvv-grid { grid-template-columns: 1fr; } }

/* Actions */
.action-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 2rem;
}
.action-card:first-of-type { margin-top: 0; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; }
.action-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.action-photos img { width: 100%; height: 192px; object-fit: cover; }
.action-content {
  padding: 2rem; display: flex; flex-direction: column; justify-content: center;
}
.action-date {
  font-size: 0.75rem; font-weight: 500; color: var(--muted-fg);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.action-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.action-content p { color: var(--muted-fg); line-height: 1.7; margin-top: 1rem; }
.action-content p:first-of-type { margin-top: 0; }

@media (max-width: 1024px) { .action-grid { grid-template-columns: 1fr; } }

/* Instagram */
.instagram { text-align: center; padding: 5rem 0; }
.instagram-header { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 1rem; }
.instagram-header svg { width: 32px; height: 32px; color: var(--primary); }
.instagram p { color: var(--muted-fg); max-width: 480px; margin: 0 auto 2rem; }
.instagram-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-fg);
  font-weight: 600; transition: background 0.2s;
}
.instagram-btn:hover { background: var(--accent); }
.instagram-btn svg { width: 20px; height: 20px; }

/* Footer */
.footer {
  background: var(--primary); color: var(--primary-fg);
  padding: 4rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.footer h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer h4 { font-size: 1.125rem; margin-bottom: 1rem; }
.footer p, .footer a { font-size: 0.875rem; color: rgba(250,250,250,0.7); }
.footer a:hover { color: var(--primary-fg); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: rgba(250,250,250,0.7); }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(250,250,250,0.2);
  margin-top: 3rem; padding: 1.5rem 0;
  text-align: center; font-size: 0.875rem;
  color: rgba(250,250,250,0.5);
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* Products page */
.page-header {
  background: var(--primary); color: var(--primary-fg);
  padding: 5rem 0; text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-header p { font-size: 1.125rem; opacity: 0.8; max-width: 640px; margin: 0 auto; }

.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--card);
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.product-img {
  height: 192px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }

/* Carousel */
.carousel { position: relative; width: 100%; height: 100%; }
.carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
.carousel img.active { opacity: 1; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); color: white; border: none;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 2;
}
.carousel-btn:hover { background: rgba(0,0,0,0.6); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none; cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: white; }

.product-body { padding: 1.5rem; }
.product-cat {
  font-size: 0.75rem; font-weight: 500; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.product-id { font-size: 0.75rem; color: var(--muted-fg); }
.product-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.product-body h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.product-body ul {
  font-size: 0.875rem; color: var(--muted-fg);
  list-style: disc inside; margin-bottom: 1rem;
}
.product-body ul li { margin-bottom: 4px; }

.btn-add {
  width: 100%; padding: 10px; font-size: 0.875rem; font-weight: 500;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: transparent; color: var(--fg); cursor: pointer;
  transition: background 0.2s;
}
.btn-add:hover { background: var(--muted); }
.btn-add.added { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

.qty-row {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.qty-row label { font-size: 0.875rem; color: var(--muted-fg); }
.qty-controls {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.qty-controls button {
  padding: 4px 8px; background: none; border: none;
  cursor: pointer; font-size: 14px; transition: background 0.2s;
}
.qty-controls button:hover { background: var(--muted); }
.qty-controls input {
  width: 48px; text-align: center; border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 4px; font-size: 14px; background: var(--bg);
}

/* Floating quote */
.floating-quote {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  display: none;
}
.floating-quote.visible { display: block; }
.floating-quote a {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  background: var(--primary); color: var(--primary-fg);
  font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: background 0.2s;
}
.floating-quote a:hover { background: var(--accent); }
.floating-quote svg { width: 16px; height: 16px; }

/* Careers page */
.benefits-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
}
.benefit-card {
  width: calc(33.333% - 1rem); min-width: 280px;
  padding: 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--card);
  text-align: center; transition: box-shadow 0.2s;
}
.benefit-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.benefit-icon {
  width: 48px; height: 48px; margin: 0 auto 1rem;
  border-radius: 50%; background: rgba(26,78,42,0.1);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 24px; height: 24px; color: var(--primary); }
.benefit-card h3 { font-weight: 600; margin-bottom: 4px; }
.benefit-card p { font-size: 0.875rem; color: var(--muted-fg); }

.jobs-list { max-width: 768px; margin: 0 auto; }
.job-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  margin-bottom: 1rem; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem; transition: box-shadow 0.2s;
}
.job-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.job-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.job-title-row h3 { font-size: 1.125rem; }
.job-badge {
  padding: 2px 8px; font-size: 0.75rem; font-weight: 500;
  border-radius: var(--radius); background: rgba(26,78,42,0.1); color: var(--primary);
}
.job-area { font-size: 0.75rem; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.job-desc { font-size: 0.875rem; color: var(--muted-fg); }
.btn-apply {
  flex-shrink: 0; display: flex; align-items: center; gap: 4px;
  padding: 8px 16px; font-size: 0.875rem; font-weight: 500;
  border-radius: var(--radius); border: none;
  background: var(--primary); color: var(--primary-fg);
  cursor: pointer; transition: background 0.2s;
}
.btn-apply:hover { background: var(--accent); }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.5); align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card); border-radius: var(--radius);
  padding: 2rem; max-width: 480px; width: 90%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.modal h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.modal label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 4px; }
.modal input, .modal textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.875rem; font-family: inherit;
  margin-bottom: 1rem; background: var(--bg);
}
.modal textarea { resize: vertical; min-height: 100px; }
.modal .btn-primary {
  width: 100%; padding: 12px; border: none; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-fg);
  font-weight: 600; cursor: pointer; font-size: 0.875rem;
  transition: background 0.2s;
}
.modal .btn-primary:hover { background: var(--accent); }
.modal .btn-outline {
  width: 100%; padding: 12px; border: 1px solid var(--border);
  border-radius: var(--radius); background: transparent;
  color: var(--fg); font-weight: 500; cursor: pointer;
  font-size: 0.875rem; margin-top: 0.75rem; transition: background 0.2s;
}
.modal .btn-outline:hover { background: var(--muted); }
.modal .divider {
  position: relative; text-align: center; margin: 1rem 0;
  border-top: 1px solid var(--border);
}
.modal .divider span {
  position: relative; top: -0.7em;
  background: var(--card); padding: 0 8px;
  font-size: 0.75rem; color: var(--muted-fg); text-transform: uppercase;
}
.modal .hint { font-size: 0.75rem; color: var(--muted-fg); text-align: center; margin-top: 0.5rem; }
.modal-close {
  float: right; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--muted-fg);
  line-height: 1;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
