:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --text: #152033;
  --muted: #5f6b7a;
  --primary: #1f3f66;
  --primary-dark: #152c47;
  --accent: #c9822b;
  --accent-soft: #fff3e3;
  --border: #dfe5ec;
  --shadow: 0 20px 60px rgba(21, 32, 51, 0.13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.1rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; color: #344158; }
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--primary); color: #fff !important; padding: 10px 16px; border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; color: var(--text); }

.hero {
  padding: 86px 0 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,130,43,0.22), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #e8edf3 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: 42px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.78rem; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(2.45rem, 6vw, 5.1rem); line-height: 0.95; letter-spacing: -0.07em; color: var(--primary-dark); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.055em; color: var(--primary-dark); }
h3 { margin-bottom: 10px; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--primary-dark); }
h4 { margin-bottom: 6px; color: var(--primary-dark); }
.hero-text { max-width: 730px; color: var(--muted); font-size: 1.18rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; cursor: pointer; font-size: 1rem; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px rgba(201, 130, 43, 0.25); }
.btn.secondary { color: var(--primary); border-color: var(--primary); background: #fff; }

.hero-card, .feature-card, .capability-card, .product-card, .spec-card, .forms-box, .applications, .cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 30px; }
.card-label { color: var(--muted); font-weight: 800; margin-bottom: 14px; }
.check-list { padding: 0; list-style: none; margin: 0; }
.check-list li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--border); position: relative; font-weight: 800; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.check-list.large li { font-size: 1.05rem; }

.section { padding: 82px 0; }
.band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 54px; align-items: start; }
.rich-text p { color: var(--muted); font-size: 1.04rem; }
.section-heading { max-width: 860px; margin-bottom: 36px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.feature-grid, .capability-grid, .product-grid, .comparison-grid { display: grid; gap: 20px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 28px; }
.feature-card p, .capability-card li, .product-card p, .spec-card p, .forms-box p, .applications p { color: var(--muted); }
.capability-grid { grid-template-columns: repeat(3, 1fr); }
.capability-card { padding: 26px; box-shadow: none; }
.capability-card ul { margin: 0; padding-left: 20px; }
.capability-card li { margin: 9px 0; }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.product-card { padding: 26px; box-shadow: none; min-height: 245px; display: flex; flex-direction: column; }
.product-card.highlight { border-color: rgba(201, 130, 43, 0.45); background: linear-gradient(180deg, #fff, var(--accent-soft)); }
.product-card span { margin-top: auto; display: block; color: var(--primary); font-weight: 800; font-size: 0.92rem; }
.forms-box, .applications { margin-top: 24px; padding: 28px; box-shadow: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row span { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--primary-dark); font-weight: 800; }
.comparison-grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
.spec-card { padding: 30px; box-shadow: none; }
.accent-card { background: linear-gradient(180deg, #fff, #eef6fb); }
.spec-block { margin: 22px 0; padding-top: 18px; border-top: 1px solid var(--border); }
.spec-list { display: grid; gap: 10px; margin-top: 20px; }
.spec-list span { padding: 12px 14px; background: var(--surface-2); border-radius: 12px; font-weight: 800; color: var(--primary-dark); }
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.cta-section h2, .cta-section h3 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.78); }
.cta-card { display: grid; grid-template-columns: 1fr 0.8fr; gap: 34px; padding: 34px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); box-shadow: none; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: #fff; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,0.24); border-radius: 14px; padding: 13px 14px; font: inherit; color: var(--text); background: #fff; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { border: 0; }
.site-footer { padding: 46px 0 24px; background: #101827; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 0.7fr; gap: 30px; }
.footer-logo .logo-mark { background: var(--accent); }
.site-footer p, .footer-bottom { color: rgba(255,255,255,0.68); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; margin-top: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 84px; display: none; flex-direction: column; align-items: stretch; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-grid, .split, .cta-card, .comparison-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid.three, .capability-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { padding: 58px 0; }
  .section { padding: 58px 0; }
  .feature-grid.three, .capability-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .logo span:last-child { display: none; }
}

.hero-media {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}
.overlay-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
}
.gallery-section {
  background: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 38px rgba(21, 32, 51, 0.12);
  background: var(--surface-2);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 39, 0.86));
}

@media (max-width: 960px) {
  .hero-media, .hero-media img { min-height: 430px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
}

@media (max-width: 640px) {
  .hero-media, .hero-media img { min-height: 390px; }
  .overlay-card { left: 14px; right: 14px; bottom: 14px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
}

.pattern-gallery {
  margin-top: 28px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pattern-gallery p {
  color: var(--muted);
  max-width: 850px;
}
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.pattern-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-2);
  box-shadow: 0 12px 34px rgba(21, 32, 51, 0.10);
}
.pattern-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.pattern-card figcaption {
  padding: 12px 14px;
  font-weight: 900;
  color: var(--primary-dark);
  background: #fff;
}

@media (max-width: 960px) {
  .pattern-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pattern-grid { grid-template-columns: 1fr; }
  .pattern-card img { height: 300px; }
}
