/* ============================================
   TATA.CSS  -  Tata Steel supply pages
   (home.css ke BAAD load hona chahiye)
   ============================================ */

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

.t-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Buttons ---------- */
.t-btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border: 1.5px solid var(--color-primary);
  padding: 14px 34px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.t-btn:hover {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(10, 58, 125, 0.2);
  transform: translateY(-2px);
}

.t-btn-outline {
  background: transparent;
  color: var(--color-primary);
}

.t-btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.t-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Image slots ---------- */
.img-slot {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f4f2ee;
  border: 1.5px dashed #cfc8dc;
}

.img-slot.loaded {
  border: 1px solid transparent;
}

.img-slot.fit-contain.loaded {
  background: #fff;
  border-color: #eee;
}

.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-slot.fit-contain img {
  object-fit: contain;
  padding: 18px;
}

.img-slot.loaded img {
  opacity: 1;
}

.img-slot.loaded:hover img {
  transform: scale(1.06);
}

.slot-note {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  gap: 6px;
}

.slot-note span {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a7fa0;
}

.slot-note strong {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

.slot-note em {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-size: 11px;
  color: #a09ab0;
}

.img-slot.loaded .slot-note {
  display: none;
}

.r-43   { aspect-ratio: 4 / 3; }
.r-wide { aspect-ratio: 16 / 10; }
.r-tall { aspect-ratio: 4 / 5; }
.r-fill { width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.t-hero {
  background: #ffffff;
  padding: 150px 0 90px;
}

.t-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.t-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.t-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--color-primary);
}

.t-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 22px;
}

.t-lead {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  color: #555;
}

.t-hero .t-lead {
  margin-bottom: 34px;
  max-width: 560px;
}

.t-hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 540px;
}

.t-hero-mosaic .img-slot:first-child {
  grid-row: 1 / span 2;
}

/* ---------- Quick facts ---------- */
.t-facts {
  background: #faf9f7;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 46px 0;
}

.t-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.t-fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.t-fact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 58, 125, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-fact-icon svg {
  width: 22px;
  height: 22px;
}

.t-fact h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.t-fact p {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: #777;
}

/* ---------- Section heading ---------- */
.t-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.t-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.t-heading h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 16px auto 0;
}

.t-heading p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #777;
  line-height: 1.7;
}

/* ---------- Overview cards ---------- */
.t-overview {
  background: #ffffff;
  padding: 100px 0 100px;
}

.t-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.t-cat {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 30px 22px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease,
              opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.t-cat:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.09);
  border-color: transparent;
}

.t-cat-no {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.t-cat h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.t-cat p {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: #777;
  flex: 1;
}

.t-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}

.t-cat-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s ease;
}

.t-cat:hover .t-cat-link svg {
  transform: translateX(5px);
}

/* ---------- Category sections ---------- */
.t-section {
  background: #ffffff;
  padding: 100px 0;
}

.t-section.alt {
  background: #faf9f7;
}

.t-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.t-section.flip .t-split {
  direction: rtl;
}

.t-section.flip .t-split > * {
  direction: ltr;
}

.t-tag {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-primary);
  background: rgba(10, 58, 125, 0.08);
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.t-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
  margin-bottom: 18px;
}

.t-text .t-lead {
  margin-bottom: 26px;
}

.t-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 24px;
  margin-bottom: 30px;
}

.t-list li {
  position: relative;
  padding-left: 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: #444;
}

.t-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(10, 58, 125, 0.14);
}

.t-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.t-gal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.t-gal .span2 {
  grid-column: 1 / span 2;
}

/* ---------- Brands ---------- */
.t-brands {
  border-top: 1px solid #e8e5ee;
  padding-top: 22px;
  margin-bottom: 30px;
}

.t-brands-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
}

.t-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.t-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid #e3dff0;
  border-radius: 14px;
  padding: 10px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.t-chip small {
  font-size: 11.5px;
  font-weight: 400;
  color: #888;
}

/* ---------- Process ---------- */
.t-process {
  background: #ffffff;
  padding: 100px 0;
}

.t-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.t-step {
  background: #faf9f7;
  border-radius: 18px;
  padding: 44px 32px;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.t-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.t-step-no {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.t-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.t-step p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* ---------- Contact ---------- */
.t-contact {
  background: #faf9f7;
  padding: 100px 0;
}

.t-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.t-contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.t-contact-info .t-lead {
  margin-bottom: 34px;
}

.t-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.t-info-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.t-info-item p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.t-info-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.t-info-item a:hover {
  color: var(--color-primary);
}

.t-form {
  background: #fff;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.t-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.t-field {
  margin-bottom: 20px;
}

.t-field label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 8px;
}

.t-field input,
.t-field select,
.t-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #222;
  outline: none;
  resize: vertical;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.t-field input:focus,
.t-field select:focus,
.t-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(10, 58, 125, 0.1);
}

.t-submit {
  width: 100%;
  padding: 16px;
}

.t-form-note {
  margin-top: 14px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: #999;
}

/* ---------- Footer social icon fix (Tata pages only) ---------- */
.footer-col a.social-icon {
  display: flex;
  margin-bottom: 0;
}

.footer-col a.social-icon:hover {
  padding-left: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .t-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .t-hero {
    padding: 130px 0 70px;
  }

  .t-hero-grid,
  .t-split,
  .t-contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .t-section.flip .t-split {
    direction: ltr;
  }

  .t-hero-mosaic {
    height: 440px;
  }

  .t-facts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .t-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .t-cat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .t-wrap {
    padding: 0 20px;
  }

  .t-hero {
    padding: 110px 0 55px;
  }

  .t-hero h1 {
    font-size: 34px;
  }

  .t-hero-mosaic {
    height: 340px;
    gap: 10px;
  }

  .t-facts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .t-overview,
  .t-section,
  .t-process,
  .t-contact {
    padding: 60px 0;
  }

  .t-heading h2,
  .t-contact-info h2 {
    font-size: 30px;
  }

  .t-text h2 {
    font-size: 28px;
  }

  .t-list {
    grid-template-columns: 1fr;
  }

  .t-cat-grid {
    grid-template-columns: 1fr;
  }

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

  .t-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .t-gal {
    gap: 10px;
  }
}