:root {
  --bg: #f6f1e8;
  --surface: #fffdf8;
  --surface-strong: #f0e4cf;
  --text: #1a1d1a;
  --muted: #5f675e;
  --brand: #1f3c36;
  --brand-soft: #2f5b52;
  --accent: #be7a34;
  --line: rgba(31, 60, 54, 0.14);
  --shadow: 0 18px 50px rgba(23, 37, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(31, 60, 54, 0.08), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(190, 122, 52, 0.1), transparent 18%),
    radial-gradient(circle at 85% 75%, rgba(47, 91, 82, 0.08), transparent 20%),
    linear-gradient(180deg, #fbfcfa 0%, #eff4f0 48%, #e6ede8 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-logo {
  width: 220px;
  max-width: min(220px, 45vw);
  height: auto;
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 6px 10px;
}

.nav-actions,
.hero-actions,
.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 60, 54, 0.24);
}

.secondary-button,
.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.ghost-button.dark {
  background: rgba(31, 60, 54, 0.08);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.floating-contact:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.hero-copy,
.hero-card,
.service-card,
.accent-panel,
.about-box,
.quote-form,
.process-grid article {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-copy {
  padding: 42px;
  border-radius: 34px;
}

.hero-card {
  padding: 32px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(31, 60, 54, 0.96), rgba(26, 41, 38, 0.9)),
    #1f3c36;
  color: #fff;
}

.eyebrow,
.card-label {
  margin: 0 0 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-card .card-label {
  color: #e8c087;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.1;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p,
li,
label,
input,
textarea,
select,
button {
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text,
.section-heading p,
.about-copy p,
.accent-panel li,
.service-card p,
.process-grid p,
.footer p {
  color: var(--muted);
}

.hero-points,
.service-tags,
.accent-panel ul,
.about-box ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-points li,
.accent-panel li,
.about-box li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.hero-points li::before,
.accent-panel li::before,
.about-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat-grid article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-grid strong,
.trust-strip strong {
  display: block;
  margin-bottom: 4px;
}

.section {
  padding: 42px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 10px 0 22px;
}

.trust-strip div {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-weight: 600;
}

.gallery-wide {
  grid-column: span 2;
}

.factory-gallery .gallery-card img {
  height: 320px;
}

.service-card,
.process-grid article {
  padding: 26px;
  border-radius: 28px;
}

.section-accent {
  position: relative;
}

.split-layout,
.about-layout,
.cta-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.accent-panel,
.about-box {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 244, 230, 0.9), rgba(245, 234, 218, 0.8));
}

.process-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: rgba(190, 122, 52, 0.14);
  color: var(--accent);
  font-weight: 800;
}

.cta-section {
  padding: 36px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(31, 60, 54, 0.95), rgba(61, 93, 85, 0.9)),
    #1f3c36;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-section .eyebrow,
.cta-section p,
.cta-section h2,
.cta-section .ghost-button {
  color: #fff;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-family: inherit;
}

.quote-form .full-width,
.submit-button,
.form-note {
  grid-column: 1 / -1;
}

.submit-button {
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 44px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1c8d59, #1faa68);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 18px 30px rgba(13, 68, 42, 0.26);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .about-layout,
  .cta-section,
  .service-grid,
  .process-grid,
  .trust-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-wide {
    grid-column: auto;
  }

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

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

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .hero-copy,
  .hero-card,
  .service-card,
  .accent-panel,
  .about-box,
  .cta-section,
  .process-grid article {
    padding: 24px;
  }

  .floating-contact {
    left: 12px;
    right: 12px;
    justify-content: center;
  }
}
