/* Amtar Engineering Solutions */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --divider: #d2d2d7;
  --footer-text: #86868b;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.47;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(251, 251, 253, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img { height: 22px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  position: relative;
}

.nav-links a {
  display: block;
  position: relative;
  z-index: 2;
  font-size: 13px;
  padding: 7px 14px;
  color: rgba(0, 0, 0, 0.72);
  border-radius: 980px;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); font-weight: 500; }

.nav-pill {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.06);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 120px 22px 100px; }
.hero.alt { background: var(--bg-alt); }

.hero .eyebrow {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.06;
  max-width: 820px;
  margin: 0 auto;
}

.hero p.sub {
  font-size: clamp(19px, 2.3vw, 24px);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 640px;
  margin: 22px auto 0;
  line-height: 1.4;
}

.hero .cta-row { margin-top: 34px; display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--text);
  color: #fff;
  font-size: 17px;
  padding: 12px 26px;
  border-radius: 980px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { opacity: 0.82; text-decoration: none; }

.btn.light { background: var(--bg); color: var(--text); border: 1px solid var(--divider); }

.btn-link { font-size: 17px; }
.btn-link::after { content: " \203A"; }

/* ---------- Sections ---------- */
.section { max-width: 1024px; margin: 0 auto; padding: 96px 22px; }
.section.tight { padding: 70px 22px; }
.band { background: var(--bg-alt); }

.section-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }

.section-header h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.section-header p {
  font-size: 19px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.45;
}

.statement {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
  max-width: 800px;
}
.statement .dim { color: var(--text-secondary); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 38px 32px;
}
.band .card { background: var(--bg); }

.card .index {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.card p { font-size: 15px; color: var(--text-secondary); line-height: 1.55; }

.card ul { margin-top: 12px; list-style: none; }
.card ul li {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.card ul li:last-child { border-bottom: none; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.chip {
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 980px;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid transparent;
}
.band .chip { background: var(--bg); border-color: rgba(0,0,0,0.06); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; text-align: center; }

.stats .num {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stats .label { font-size: 15px; color: var(--text-secondary); margin-top: 6px; }

/* ---------- Two column text ---------- */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 734px) { .cols { grid-template-columns: 1fr; gap: 30px; } }

.cols h2 {
  font-size: clamp(28px, 3.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.cols p { color: var(--text-secondary); font-size: 17px; margin-bottom: 14px; }

/* ---------- Forms ---------- */
.form { max-width: 640px; margin: 0 auto; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  padding: 13px 16px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.field textarea { resize: vertical; min-height: 120px; }

.form .btn { width: 100%; margin-top: 8px; }

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

.dropzone {
  display: block;
  border: 1.5px dashed var(--divider);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--bg);
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(0, 113, 227, 0.04); }
.dropzone input { display: none; }
.dropzone .file-name { display: block; margin-top: 6px; font-weight: 500; color: var(--text); }

/* ---------- Info list ---------- */
.info-list { list-style: none; }
.info-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.info-list li:last-child { border-bottom: none; }
.info-list .k { font-weight: 600; }
.info-list .v { color: var(--text-secondary); text-align: right; }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; padding: 96px 22px; }
.cta-banner.band { background: var(--bg-alt); }

.cta-banner h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cta-banner p { font-size: 19px; color: var(--text-secondary); margin: 14px 0 28px; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--divider);
  padding: 50px 22px 34px;
}

.footer-inner { max-width: 1024px; margin: 0 auto; }

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 34px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--divider);
}
@media (max-width: 734px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; color: var(--text); }
.footer-brand img { height: 20px; }

.footer-tagline { font-size: 13px; color: var(--footer-text); margin-top: 12px; max-width: 240px; }

.footer-cols h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-cols ul { list-style: none; }
.footer-cols ul li { padding: 4px 0; }
.footer-cols ul a { color: #424245; font-size: 13px; }
.footer-cols ul span { color: #424245; font-size: 13px; }

.footer-legal { font-size: 12px; color: var(--footer-text); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

@media (max-width: 734px) {
  .nav-links a { padding: 7px 9px; font-size: 12px; }
  .hero { padding: 88px 22px 66px; }
}
