:root {
  --bg: #f6f3ef;
  --bg-soft: #ece8e0;
  --card: #fffdfa;
  --line: #ddd4c9;
  --text: #1f252b;
  --muted: #626a72;
  --brand: #1e6b5a;
  --brand-2: #184e42;
  --accent: #b7712e;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 14px 34px rgba(46, 39, 29, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(183, 113, 46, 0.1), transparent 32%),
    linear-gradient(220deg, rgba(30, 107, 90, 0.08), transparent 36%),
    var(--bg);
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; margin-bottom: 14px; }
h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin-bottom: 14px; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.narrow { width: min(860px, 92%); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(248, 244, 238, 0.9);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: #172329;
  font-weight: 700;
  font-size: 1.2rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 8px 11px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #2c3640;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 8px 11px;
}

.nav a:hover { background: #e8e2d8; }

.hero { padding: 72px 0 34px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.tag {
  margin: 0;
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  color: #5d421f;
  background: #efe0cc;
  border-radius: 999px;
  padding: 7px 12px;
}

.lead {
  color: #4d5561;
  max-width: 62ch;
  font-size: 1.03rem;
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
}

.btn-small { padding: 8px 12px; }

.btn-ghost {
  background: #f3ebdf;
  color: #5a3e20;
  border: 1px solid #e6d7c2;
}

.glass,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.glass {
  background: linear-gradient(160deg, #fffdfa 0%, #f4f8f6 100%);
}

.glass ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.section { padding: 42px 0 66px; }

.soft {
  background: linear-gradient(180deg, rgba(236, 232, 224, 0.8), rgba(237, 243, 239, 0.6));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(46, 39, 29, 0.15);
}

.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.muted { color: var(--muted); }

.table-wrap {
  margin: 16px 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  overflow-x: auto;
}

table { width: 100%; border-collapse: collapse; }

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #efe7dc;
}

th {
  background: #f1e8dc;
  color: #5b3f22;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

tr:last-child td { border-bottom: 0; }

.gallery-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work { min-height: 170px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 16px;
}

.form { display: grid; gap: 10px; }

input, textarea, select {
  width: 100%;
  border: 1px solid #dfd4c7;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2c8a73;
  box-shadow: 0 0 0 4px rgba(30, 107, 90, 0.16);
}

.float-wa,
.float-msg {
  position: fixed;
  right: 14px;
  z-index: 30;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 10px 13px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(30, 25, 16, 0.24);
}

.float-wa { bottom: 16px; background: #1e8b56; }
.float-msg { bottom: 64px; background: #aa6a2e; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .cards.three,
  .cards.two,
  .gallery-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .topbar { position: static; }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }

  .nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 6px;
  }

  .nav.is-open { display: grid; }

  .nav a {
    border: 1px solid var(--line);
    background: #fff;
    text-align: center;
    border-radius: 10px;
  }

  .nav a.btn { color: #fff; }

  .hero { padding: 34px 0 18px; }
  .section { padding: 28px 0 48px; }

  .actions .btn,
  .callout .btn {
    width: 100%;
  }

  .float-msg { bottom: 62px; }
}
