/* ============================================================
   AtlasTeeco Projects Pvt. Ltd. — Global Industrial Design System
   ============================================================ */
:root {
  --navy-900: #081A2E;
  --navy-800: #0C2340;
  --navy-700: #12315A;
  --navy-600: #1B4278;
  --steel-700: #3D4C5E;
  --steel-500: #5F7285;
  --steel-300: #9AAABB;
  --steel-100: #DDE4EB;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F9;
  --bg-deep: #0C2340;
  --accent: #B8860B;
  --accent-dark: #8F680A;
  --gold: #D4A72C;
  --text: #22303F;
  --text-light: #5F7285;
  --white: #FFFFFF;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(12, 35, 64, 0.10);
  --shadow-sm: 0 2px 10px rgba(12, 35, 64, 0.08);
  --font-head: 'Archivo', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-800); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); }

.lead { font-size: 1.12rem; color: var(--text-light); max-width: 720px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900); color: var(--steel-300);
  font-size: 0.78rem; padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar span strong { color: var(--white); font-weight: 600; }
.topbar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--steel-100);
  backdrop-filter: blur(8px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  height: 48px; width: auto; border-radius: 4px;
  background: var(--white); border: 1px solid var(--steel-100); padding: 4px;
}
.brand-text { line-height: 1.2; }
.brand-text .name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--navy-800); letter-spacing: 0.02em; }
.brand-text .tag { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--steel-700); padding: 6px 0; border-bottom: 2px solid transparent; transition: all .2s; }
.nav a:hover { color: var(--navy-800); }
.nav a.active { color: var(--navy-800); border-bottom-color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  padding: 12px 26px; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all .2s; letter-spacing: 0.02em;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--steel-300); color: var(--navy-800); background: transparent; }
.btn-outline:hover { border-color: var(--navy-800); }
.btn-light { background: var(--white); color: var(--navy-800); }
.btn-light:hover { background: var(--steel-100); }
.nav .btn { padding: 10px 20px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--navy-800); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.hero.compact .container { padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: var(--white); max-width: 780px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { margin-top: 20px; font-size: 1.15rem; color: var(--steel-300); max-width: 640px; }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero-badges { margin-top: 42px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.82rem; color: var(--steel-300); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 16px; height: 16px; stroke: var(--gold); flex: none; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--navy-900); color: var(--white); }
.stat-band .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 40px; padding-bottom: 40px; gap: 24px;
}
.stat .num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--gold); }
.stat .lbl { font-size: 0.85rem; color: var(--steel-300); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }
.section.deep { background: var(--bg-deep); color: var(--steel-300); }
.section.deep h2, .section.deep h3 { color: var(--white); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lead, .section-head.center .eyebrow { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }
.section-head .lead { margin-top: 12px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--steel-100);
  border-radius: var(--radius); padding: 30px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 6px; margin-bottom: 18px;
  background: linear-gradient(135deg, #EFF3F8, #E2E9F1);
  display: grid; place-items: center;
}
.card .icon svg { width: 28px; height: 28px; stroke: var(--navy-700); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; color: var(--text-light); }
.card ul { margin-top: 14px; }
.card ul li {
  font-size: 0.9rem; color: var(--steel-700); padding: 5px 0 5px 20px; position: relative;
}
.card ul li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 8px; height: 2px; background: var(--accent);
}
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.88rem; color: var(--accent); }
.card .card-link:hover { color: var(--accent-dark); }

/* Product detail rows */
.product-row {
  display: grid; grid-template-columns: 380px 1fr; gap: 48px;
  padding: 56px 0; border-bottom: 1px solid var(--steel-100); align-items: start;
}
.product-row:last-child { border-bottom: none; }
.product-visual {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius); padding: 34px;
  align-self: start; margin-top: 70px; /* aligns panel top with the start of the description paragraph */
}
.product-visual svg { width: 100%; height: auto; }
.product-row h3 { font-size: 1.55rem; }
.product-row .sub { color: var(--accent); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 8px; }
.product-row p { margin-top: 14px; color: var(--text-light); }
.spec-list { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.spec-list li { font-size: 0.92rem; padding: 8px 0 8px 24px; position: relative; border-bottom: 1px dashed var(--steel-100); }
.spec-list li::before {
  content: '▸'; position: absolute; left: 0; color: var(--accent); font-size: 0.8rem; top: 9px;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ''; position: absolute; left: 89px; top: 8px; bottom: 8px;
  width: 2px; background: var(--steel-100);
}
.tl-item { display: grid; grid-template-columns: 70px 40px 1fr; gap: 0; padding: 26px 0; position: relative; }
.tl-year { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1rem; text-align: right; padding-top: 2px; }
.tl-dot { position: relative; }
.tl-dot::before {
  content: ''; position: absolute; left: 13px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--accent);
}
.tl-body h3 { margin-bottom: 4px; }
.tl-body .client { font-weight: 600; color: var(--navy-700); font-size: 0.95rem; }
.tl-body p { color: var(--text-light); font-size: 0.94rem; margin-top: 8px; max-width: 640px; }

/* ---------- Checklist / feature list ---------- */
.check-list li { display: flex; gap: 12px; padding: 10px 0; font-size: 0.98rem; }
.check-list svg { width: 20px; height: 20px; stroke: var(--accent); flex: none; margin-top: 3px; }
.section.deep .check-list li { color: var(--steel-300); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .panel {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius); padding: 40px; color: var(--steel-300);
}
.split .panel h3 { color: var(--white); }

/* ---------- Client logo marquee ---------- */
.logo-marquee {
  overflow: hidden; position: relative; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex; align-items: center; gap: 72px; width: max-content;
  animation: marquee-ltr 40s linear infinite;
}
.logo-track img { height: 54px; width: auto; flex: none; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy-900), var(--navy-700));
  color: var(--white); text-align: center; padding: 80px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--steel-300); margin: 16px auto 32px; max-width: 560px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 0.82rem; font-weight: 600; color: var(--navy-800); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem;
  border: 1.5px solid var(--steel-100); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 12px; }
.form-success {
  display: none; background: #E8F5EC; border: 1px solid #9CD3AC; color: #1E6B37;
  padding: 16px 20px; border-radius: var(--radius); margin-top: 18px; font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact-card { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.contact-card h3 svg { width: 22px; height: 22px; stroke: var(--accent); }
.contact-card p, .contact-card a { color: var(--text-light); font-size: 0.95rem; }
.contact-card a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--steel-300); padding: 70px 0 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 50px; }
.site-footer h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.site-footer li { padding: 4px 0; }
.site-footer a:hover { color: var(--white); }
.footer-brand p { margin-top: 14px; max-width: 300px; font-size: 0.86rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--steel-500);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .product-row { grid-template-columns: 1fr; }
  .product-visual { margin-top: 0; max-width: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-band .container { grid-template-columns: repeat(2, 1fr); }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 20px 28px; gap: 14px; border-bottom: 1px solid var(--steel-100); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .tl-item { grid-template-columns: 56px 30px 1fr; }
  .timeline::before { left: 69px; }
  .tl-dot::before { left: 8px; }
}

/* ---------- Hover photo crossfade ---------- */
.product-visual { position: relative; overflow: hidden; }
.split .panel { position: relative; overflow: hidden; }
.product-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius);
  opacity: 0; transform: scale(1.08);
  transition: opacity .45s ease, transform .7s ease;
  pointer-events: none;
}
.product-visual:hover .product-photo,
.split .panel:hover .product-photo { opacity: 1; transform: scale(1); }

.photo-note {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 16px 12px; font-size: 0.8rem; line-height: 1.4; color: #fff;
  background: linear-gradient(transparent, rgba(8,26,46,0.88));
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.product-visual:hover .photo-note,
.split .panel:hover .photo-note { opacity: 1; }

/* ---------- Photo gallery with captions ---------- */
.figure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.figure-grid figure { margin: 0; }
.figure-grid img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block;
}
.figure-grid figcaption { font-size: 0.82rem; color: var(--text-light); margin-top: 10px; line-height: 1.45; }
@media (max-width: 960px) { .figure-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .figure-grid { grid-template-columns: 1fr; } }

/* ---------- Form: mandatory markers & phone code ---------- */
.form-grid label.req::after { content: " *"; color: #C0392B; }
.phone-row { display: flex; gap: 8px; }
.phone-row #phone-code { width: 88px; flex: none; }
