/* ==========================================================
   ITZAMNA PRIVATE LIMITED
   Modern minimal — infrastructure consulting & construction
   ========================================================== */

:root {
  --cyan:        #00E5E5;
  --cyan-deep:   #00B8B8;
  --cyan-soft:   #E6FBFB;
  --ink:         #0A1414;
  --ink-2:       #1B2A2A;
  --gray-1:      #F6F8F8;
  --gray-2:      #E8ECEC;
  --gray-3:      #B8C2C2;
  --gray-4:      #6B7878;
  --gray-5:      #3A4848;
  --paper:       #FBFCFC;
  --white:       #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius:      4px;
  --radius-lg:   12px;

  --container:   1200px;
  --section-y:   clamp(72px, 11vw, 140px);

  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; color: var(--gray-5); }

em {
  font-style: italic;
  color: var(--cyan-deep);
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn-primary:hover {
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gray-3);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.btn-block { width: 100%; padding: 16px 24px; }

/* ==========================================================
   NAVBAR
   ========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(251, 252, 252, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--gray-2); }

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo { width: 32px; height: 32px; }
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 24px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-5);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--cyan-deep);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 10px 18px; font-size: 13px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 20, 20, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 20, 20, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s var(--ease) infinite;
}
.orb-1 {
  width: 480px; height: 480px;
  background: var(--cyan);
  top: -120px; right: -120px;
  opacity: 0.18;
}
.orb-2 {
  width: 360px; height: 360px;
  background: var(--cyan-deep);
  bottom: -100px; left: -100px;
  opacity: 0.12;
  animation-delay: -10s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, -30px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--gray-2);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-5);
  margin-bottom: 32px;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-deep);
  box-shadow: 0 0 0 4px rgba(0, 184, 184, 0.15);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 184, 184, 0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 184, 184, 0); }
}

.hero-title {
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 300;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}

.hero-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  max-width: 620px;
  color: var(--gray-5);
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s var(--ease) both;
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.meta-label {
  font-size: 12px;
  color: var(--gray-4);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.meta-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-2);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-4);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-3), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
  background: var(--white);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
}
.marquee-track span:nth-child(even) {
  color: var(--cyan-deep);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================
   SECTIONS — SHARED
   ========================================================== */
.section { padding: var(--section-y) 0; position: relative; }
.section-alt { background: var(--gray-1); }
.section-contact {
  background: var(--ink);
  color: var(--paper);
}
.section-contact h2,
.section-contact .section-tag {
  color: var(--paper);
}

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.025em;
}
.section-sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--gray-4);
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-text .lead {
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.about-text p { font-size: 16px; line-height: 1.7; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pillar {
  border-top: 1px solid var(--gray-2);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--cyan-deep);
  letter-spacing: -0.01em;
  padding-top: 4px;
}
.pillar h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.pillar p { font-size: 15px; line-height: 1.6; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-2);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--paper);
  padding: 40px 32px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
}
.service:hover {
  background: var(--white);
  z-index: 1;
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--cyan-deep);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.service-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-5);
  margin-bottom: 24px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--gray-2);
  padding-top: 20px;
}
.service-list li {
  font-size: 14px;
  color: var(--gray-5);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 1px;
  background: var(--cyan-deep);
}

/* ==========================================================
   APPROACH
   ========================================================== */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--cyan-deep);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  display: block;
}
.step h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step p { font-size: 14px; line-height: 1.6; }

/* ==========================================================
   CONTACT
   ========================================================== */
.title-accent {
  font-style: italic;
  color: var(--cyan);
  font-weight: 300;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 36px; }
.info-block {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}
.info-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.info-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.01em;
  display: block;
  transition: color 0.2s var(--ease);
}
a.info-value:hover { color: var(--cyan); }

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--paper);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  resize: none;
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--cyan);
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--ink); color: var(--paper); }

.section-contact .btn-primary {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
}
.section-contact .btn-primary:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.hp { display: none; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--ink-2);
  color: var(--gray-3);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo { width: 36px; height: 36px; opacity: 0.9; }
.footer-name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--paper);
}
.footer-tag {
  font-size: 12px;
  color: var(--gray-4);
  margin-top: 2px;
}
.footer-meta {
  font-size: 12px;
  text-align: right;
  color: var(--gray-4);
  line-height: 1.7;
}
.footer-legal { color: var(--gray-4); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: var(--paper);
    border-top: 1px solid var(--gray-2);
    border-bottom: 1px solid var(--gray-2);
    margin: 0;
  }
  .nav-links.open a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--gray-2);
  }
  .nav-links.open a:last-child { border-bottom: none; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-meta { gap: 20px; }
  .meta-divider { display: none; }
  .meta-num { font-size: 28px; }

  .services-grid,
  .approach-steps {
    grid-template-columns: 1fr;
  }

  .field-row { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }

  .marquee-track { font-size: 18px; }
}
