:root {
  --bg: #f4f7fb;
  --surface: rgba(255,255,255,0.86);
  --card: #ffffff;
  --text: #15212e;
  --muted: #5a6673;
  --brand: #d55a3a;
  --brand-dark: #a83e24;
  --border: rgba(21,33,46,0.09);
  --shadow: 0 20px 60px rgba(16, 28, 40, 0.10);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: #0f1922; color: rgba(255,255,255,.92); font-size: 13px;
}
.topbar-inner, .nav-wrap, .hero-grid, .split-layout, .footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.topbar-inner { padding: 10px 0; }
.topbar-right { display: flex; gap: 18px; flex-wrap: wrap; }
.header {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92); border-bottom: 1px solid var(--border);
}
.nav-wrap { padding: 14px 0; }
.brand-block { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 68px; height: 68px; object-fit: contain; border-radius: 18px;
  background: rgba(255,255,255,0.9); padding: 6px; box-shadow: var(--shadow);
}
.brand-title { font-size: clamp(26px, 2.2vw, 38px); font-weight: 900; letter-spacing: 1.3px; line-height: 1; }
.brand-subline { margin-top: 6px; font-size: 13px; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: #304356; font-weight: 600; }
.pill-link {
  padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(213,90,58,0.24);
  background: rgba(213,90,58,0.08); color: var(--brand-dark) !important;
}
.hero {
  position: relative; overflow: hidden; padding: 100px 0 60px; min-height: 620px;
}
.hero-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-bg-main { position:absolute; inset:0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.42); }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,12,18,0.78) 0%, rgba(8,12,18,0.58) 36%, rgba(8,12,18,0.18) 100%);
  z-index: 1;
}
.hero-grid { position: relative; z-index: 2; min-height: 460px; align-items: center; }
.hero-copy { max-width: 720px; color: #fff; }
.eyebrow {
  margin: 0 0 14px; text-transform: uppercase; letter-spacing: 2.3px; font-size: 12px; font-weight: 800;
  color: var(--brand);
}
.hero .eyebrow { color: #ffb399; }
.hero-title {
  margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 0.98; font-weight: 900; letter-spacing: 0.8px;
}
.hero-desc { margin: 18px 0 0; max-width: 720px; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.9); }
.feature-row {
  margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.feature-row span, .machine-tags span {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.10); color: #fff; border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px); font-weight: 600;
}
.only-bottom-link { margin-top: 28px; }
.text-link { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.hero-float {
  position: absolute; width: 190px; height: 190px; object-fit: cover; border-radius: 22px; z-index: 2;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25); border: 4px solid rgba(255,255,255,0.88);
}
.hero-float-1 { right: 8%; top: 18%; }
.hero-float-2 { right: 14%; bottom: 14%; }
.stats { margin-top: -18px; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid rgba(21,33,46,0.06); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.stat strong { font-size: 30px; color: var(--brand-dark); }
.stat span { color: var(--muted); font-weight: 600; }
.section { padding: 86px 0; }
.about-section, .quality-section { background: transparent; }
.capabilities-band { background: rgba(255,255,255,0.55); }
.split-layout { align-items: stretch; }
.split-layout > * { flex: 1; }
.section-title { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; letter-spacing: 0.4px; }
.section-title + p { margin-top: 18px; }
.center-title, .center-copy { text-align: center; }
.section-intro { max-width: 900px; margin: 16px auto 0; color: var(--muted); line-height: 1.85; }
p { color: var(--muted); line-height: 1.85; font-size: 16px; }
.choice-panel, .quality-panel { padding: 30px; }
.choice-panel h3, .quality-panel h3 {
  margin: 0 0 16px; font-size: 24px; letter-spacing: 0.4px;
}
ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.9; }
.capability-bands { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.band-card {
  padding: 24px; background: #fff; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.band-card span {
  display: block; font-size: 19px; font-weight: 900; letter-spacing: 0.3px; margin-bottom: 10px;
}
.portfolio-layout { margin-top: 36px; display: grid; grid-template-columns: 300px 1fr; gap: 0; overflow: hidden; }
.portfolio-tabs {
  background: linear-gradient(180deg, #f4f0ec 0%, #f6f6f6 100%); padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.portfolio-tab {
  text-align: left; border: 1px solid rgba(21,33,46,0.08); background: rgba(255,255,255,0.8); border-radius: 16px;
  padding: 14px 16px; font-size: 16px; font-weight: 700; color: #354b5e; cursor: pointer; transition: .25s ease;
}
.portfolio-tab.active, .portfolio-tab:hover {
  background: #fff; border-color: rgba(213,90,58,0.22); color: var(--brand-dark); transform: translateX(3px);
}
.portfolio-view { padding: 24px; background: #fff; }
.portfolio-panel { display: none; }
.portfolio-panel.active { display: block; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.portfolio-grid img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 18px; border: 1px solid var(--border);
}
.contact-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; overflow: hidden;
}
.contact-copy { padding: 34px; }
.contact-actions { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 20px; border-radius: 999px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; font-weight: 800; border: none; box-shadow: var(--shadow);
}
.btn-outline {
  background: #fff; color: var(--brand-dark); border: 1px solid rgba(213,90,58,0.24);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.footer { padding: 26px 0 42px; }
.footer-inner { padding-top: 12px; border-top: 1px solid var(--border); }
.footer-branding { display: flex; align-items: center; gap: 14px; }
.footer-branding img { width: 56px; height: 56px; object-fit: contain; }
.footer-name { font-weight: 900; }
.footer-sub, .footer-text { color: var(--muted); font-size: 14px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1024px) {
  .portfolio-layout, .contact-card, .split-layout { grid-template-columns: 1fr; display: grid; }
  .topbar-inner, .nav-wrap, .footer-inner { flex-direction: column; align-items: flex-start; }
  .stats-grid, .capability-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-float { display: none; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 22px, 100%); }
  .stats-grid, .capability-bands, .portfolio-grid, .feature-row { grid-template-columns: 1fr; }
  .nav-links { gap: 10px 14px; }
  .brand-title { font-size: 22px; }
  .hero { padding: 86px 0 40px; min-height: 520px; }
  .hero-title { font-size: 36px; }
  .contact-copy { padding: 24px; }
}

.hero-slide { position:absolute; inset:0; opacity:0; transition:opacity 1.1s ease-in-out; }
.hero-slide.active { opacity:1; }
