/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage:       #4a7c59;
  --sage-dark:  #2d4f38;
  --sage-light: #6b9e7a;
  --gold:       #c9a84c;
  --dark:       #111a14;
  --text:       #2c3e30;
  --muted:      #6b7c6e;
  --border:     #dde5de;
  --bg-light:   #f6f8f6;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.14);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

/* ===== TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-sub { margin: 0 auto; }

.section-header--light .section-title,
.section-header--light .section-sub { color: rgba(255,255,255,.85); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,124,89,.3);
}

.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== NAVIGATION ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--sage);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  transition: color var(--transition);
}

.header.scrolled .logo-text { color: var(--dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--white); }

.header.scrolled .nav-links a { color: var(--muted); }
.header.scrolled .nav-links a:hover { color: var(--sage); }
.header.scrolled .btn-outline { color: var(--sage); border-color: var(--sage); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .burger span { background: var(--dark); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18,30,22,.88) 0%, rgba(45,79,56,.75) 60%, rgba(74,124,89,.6) 100%),
    url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1600&q=80') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 760px;
}

.hero-tag {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll span {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transform: rotate(90deg);
  margin-bottom: 8px;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--dark);
}

.section--accent {
  background: var(--bg-light);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card--featured {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.service-card--featured:hover {
  border-color: var(--sage-dark);
  background: var(--sage-dark);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--gold);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--sage);
  margin-bottom: 24px;
}

.service-card--featured .service-icon { color: rgba(255,255,255,.85); }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card--featured h3 { color: var(--white); }

.service-card > p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-card--featured > p { color: rgba(255,255,255,.75); }

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: .85rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

.service-card--featured .service-list li { color: rgba(255,255,255,.7); }
.service-card--featured .service-list li::before { background: var(--gold); }

/* ===== EQUIPMENT GRID ===== */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eq-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.eq-img {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}

.eq-card:hover .eq-img { transform: scale(1.03); }

.eq-img--cooking      { background-image: url('https://images.unsplash.com/photo-1574966739987-65a3b2b35a7c?w=600&q=80'); }
.eq-img--refrigeration { background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=600&q=80'); }
.eq-img--warewashing  { background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=600&q=80'); }
.eq-img--bar          { background-image: url('https://images.unsplash.com/photo-1511920170033-f8396924c348?w=600&q=80'); }
.eq-img--ventilation  { background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=600&q=80'); }
.eq-img--storage      { background-image: url('https://images.unsplash.com/photo-1543353071-087092ec393a?w=600&q=80'); }

.eq-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  transition: background var(--transition);
}

.eq-card:hover .eq-overlay {
  background: linear-gradient(to top, rgba(45,79,56,.85) 0%, rgba(45,79,56,.4) 60%, transparent 100%);
}

.eq-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  color: white;
}

.eq-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.eq-content p {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  line-height: 1.4;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 520px;
}

.about-img-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.aimg {
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.aimg-1 {
  grid-row: 1 / 3;
  background-image: url('https://images.unsplash.com/photo-1579871494447-9811cf80d66c?w=600&q=80');
}

.aimg-2 {
  background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=400&q=80');
}

.aimg-3 {
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=400&q=80');
}

.about-badge {
  position: absolute;
  bottom: 32px;
  right: -20px;
  z-index: 2;
  background: var(--sage);
  color: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  font-size: .8rem;
  font-weight: 500;
  opacity: .85;
  line-height: 1.4;
}

.about-desc {
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  width: 28px;
  height: 28px;
  background: rgba(74,124,89,.12);
  color: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item strong {
  display: block;
  font-size: .95rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.why-item p {
  font-size: .85rem;
  color: var(--muted);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text);
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail span {
  font-size: .9rem;
  line-height: 1.6;
}

.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group:last-of-type { margin-bottom: 28px; }

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(74,124,89,.1);
}

.form-note {
  margin-top: 14px;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.form-success.visible { display: block; }

.form-success .check {
  width: 56px;
  height: 56px;
  background: var(--sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-brand .logo-text { color: var(--white); }

.footer-brand p {
  font-size: .85rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 240px;
}

.footer-links {
  display: contents;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: .85rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--sage-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .services-grid--4 { grid-template-columns: 1fr; max-width: 480px; }
  .eq-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 320px; }
  .about-badge { right: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a { color: var(--muted); }

  .burger { display: flex; }

  .hero-title { font-size: 2.4rem; }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-divider { display: none; }
  .stat { padding: 0 16px; }

  .eq-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .hero-scroll { display: none; }

  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-content { padding: 100px 24px 60px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 28px 20px; }
  .footer-links { grid-template-columns: 1fr; }
}
