:root {
  --red: #d6001c;
  --dark: #111111;
  --metal: #2b2b2b;
  --light: #f5f5f5;
  --white: #ffffff;
  --muted: #b8bcc2;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--light);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0;
  line-height: 0.92;
}

h1 {
  max-width: 680px;
  font-size: clamp(4.4rem, 8.4vw, 9rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(3rem, 7vw, 7.2rem);
}

h3 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

p {
  line-height: 1.6;
}

.nav {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: min(1220px, calc(100% - 24px));
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(1.4);
  transition: all 300ms var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(214, 0, 28, 0.2));
}

.sail-partner-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 71, 161, 0.12);
  border: 1px solid rgba(13, 71, 161, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
}

.sail-mini-logo {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
}

.sail-partner-tag span {
  font-size: 0.68rem;
  font-weight: 800;
  color: #1565c0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .sail-partner-tag span {
    display: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-links a {
  position: relative;
  padding: 8px 4px;
  color: var(--dark);
  transition: color 200ms ease;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a::after {
  position: absolute;
  right: 4px;
  bottom: 2px;
  left: 4px;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
  border-radius: 2px;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-quote-btn {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.quote-btn,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), background 250ms var(--ease);
}

.quote-btn,
.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, #e6001f, #b30017);
  box-shadow: 0 10px 28px rgba(214, 0, 28, 0.35);
}

.quote-btn:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(214, 0, 28, 0.45);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

.menu-btn {
  display: none;
}

.section-dark {
  color: var(--white);
  background: var(--dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(420px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  padding: 130px clamp(22px, 5vw, 86px) 68px;
  overflow: hidden;
}

.hero-bg,
.grain,
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.98) 0%, rgba(17, 17, 17, 0.8) 43%, rgba(17, 17, 17, 0.15) 100%),
    url("images/assets/warehouse-inventory.jpeg") center / cover;
  filter: saturate(0.82) contrast(1.18);
  transform: scale(1.04);
}

.grain {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
}

.particles {
  background:
    radial-gradient(circle at 20% 28%, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 38%, rgba(214, 0, 28, 0.56) 0 2px, transparent 4px),
    radial-gradient(circle at 48% 74%, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px);
  animation: drift 12s linear infinite alternate;
}

.hero-copy,
.hero-collage {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-line {
  max-width: 470px;
  margin: 20px 0 0;
  color: #d9dde2;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  gap: 30px;
  color: #d4d8de;
}

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.3rem;
  line-height: 0.9;
}

.hero-collage {
  display: grid;
  min-height: 590px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 16px;
}

.collage-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--metal);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.collage-card::after,
.product-card::after,
.blog-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78));
}

.collage-card img,
.product-card img,
.blog-card img,
.service-card::before {
  transition: transform 900ms var(--ease), filter 500ms var(--ease);
}

.collage-card:hover img,
.product-card:hover img,
.blog-card:hover img {
  filter: contrast(1.12) saturate(0.82);
  transform: scale(1.08);
}

.collage-card span {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 18px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.1rem;
}

.collage-card.large {
  grid-area: 1 / 1 / 4 / 5;
}

.collage-card.tall {
  grid-area: 3 / 4 / 7 / 7;
}

.collage-card:not(.large):not(.tall):nth-child(2) {
  grid-area: 1 / 5 / 3 / 7;
}

.collage-card:not(.large):not(.tall):nth-child(4) {
  grid-area: 4 / 1 / 7 / 4;
}

.product-showcase,
.blog,
.contact,
.split-section,
.services,
.why {
  padding: clamp(76px, 10vw, 140px) clamp(18px, 5vw, 82px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section-head h2 {
  max-width: 900px;
}

.product-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 240px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--metal);
}

.product-card {
  min-height: 240px;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.product-card.wide {
  grid-column: span 2;
}

.product-card.tall {
  grid-row: span 2;
}

.product-card div,
.blog-card div {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: var(--white);
  transform: translateY(12px);
  transition: transform 400ms var(--ease);
}

.product-card p,
.blog-card p {
  margin: 6px 0 0;
  color: #d9dde2;
  font-weight: 700;
}

.product-card:hover div,
.blog-card:hover div {
  transform: translateY(0);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: clamp(30px, 6vw, 82px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(245, 245, 245, 0.96)),
    repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.06) 0 1px, transparent 1px 12px);
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.main-img,
.float-img {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.2);
}

.main-img {
  inset: 0 12% 12% 0;
}

.float-img {
  right: 0;
  bottom: 0;
  width: 44%;
  height: 46%;
  border: 8px solid var(--light);
}

.section-copy p:not(.eyebrow) {
  max-width: 500px;
  color: #555b63;
  font-size: 1.05rem;
}

.stat-grid,
.why-grid,
.service-grid,
.blog-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.stat-grid span {
  min-height: 118px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 55px rgba(17, 17, 17, 0.08);
}

.stat-grid strong {
  display: block;
  color: var(--red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3rem;
  line-height: 0.9;
}

.services,
.why {
  background:
    radial-gradient(circle at 15% 10%, rgba(214, 0, 28, 0.24), transparent 28%),
    linear-gradient(135deg, #111111, #1d1d1d 48%, #080808);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 24px;
  isolation: isolate;
}

.service-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--bg) center / cover;
}

.service-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82));
}

.service-card:hover::before {
  transform: scale(1.08);
}

.cinema-band {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  color: var(--white);
}

.cinema-band img {
  position: absolute;
  inset: 0;
  filter: saturate(0.75) contrast(1.18);
  transform: scale(1.08);
}

.cinema-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.18));
}

.band-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 74vh;
  max-width: 860px;
  align-content: center;
  padding: clamp(30px, 6vw, 92px);
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glow-card {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 60px rgba(0, 0, 0, 0.22);
  transition: border 300ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.glow-card:hover {
  border-color: rgba(214, 0, 28, 0.72);
  box-shadow: 0 0 46px rgba(214, 0, 28, 0.18);
  transform: translateY(-6px);
}

.glow-card p {
  color: var(--muted);
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  min-height: 430px;
}

.testimonials {
  overflow: hidden;
  padding: 46px 0;
}

.testimonial-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(60px, 10vw, 180px);
  content: "";
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark), transparent);
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark), transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 8px 16px;
  animation: testimonial-scroll 34s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial {
  display: grid;
  width: min(560px, 78vw);
  min-height: 178px;
  flex: 0 0 auto;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    #232323;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.testimonial img {
  width: 86px;
  height: 86px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.stars {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
}

blockquote {
  margin: 0 0 12px;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 800;
  line-height: 1.32;
}

.testimonial h3 {
  font-size: clamp(1.6rem, 2vw, 2.1rem);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 30px;
  background: var(--white);
}

.contact-visual {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-radius: 8px;
}

.contact-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.floating-contact,
.map-card {
  position: absolute;
  z-index: 2;
  right: 24px;
  left: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.58);
  backdrop-filter: blur(14px);
}

.floating-contact {
  bottom: 112px;
  display: grid;
  gap: 8px;
  padding: 22px;
}

.floating-contact strong {
  font-size: 1.5rem;
}

.map-card {
  bottom: 24px;
  min-height: 70px;
  padding: 24px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  align-content: center;
  gap: 16px;
}

.contact-form h2 {
  margin-bottom: 10px;
}

label {
  display: grid;
  gap: 8px;
  color: #3d4249;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d7dbe0;
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--dark);
  background: #f9fafb;
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(214, 0, 28, 0.14);
}

.whatsapp {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #16a34a;
  box-shadow: 0 16px 42px rgba(22, 163, 74, 0.35);
  font-size: 1.4rem;
}

.whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 44px clamp(18px, 5vw, 82px);
  color: var(--dark);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 245, 245, 0.78)),
    repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.04) 0 1px, transparent 1px 16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(1.2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: #4f5660;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translate3d(-1%, -1%, 0);
  }
  to {
    transform: translate3d(1.8%, 1.2%, 0);
  }
}

@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 11px));
  }
}

@keyframes navSlide {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .nav {
    height: 58px;
    padding: 0 14px;
  }

  .nav-links,
  .nav-actions .quote-btn {
    display: none;
  }

  .menu-btn {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 200ms ease;
  }

  .menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 300ms var(--ease), opacity 300ms var(--ease);
  }

  .nav.open .menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.open .menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .nav.open .menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav.open .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 8px;
    border-radius: 20px;
    padding: 20px;
    color: var(--white);
    background: rgba(18, 18, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
    animation: navSlide 280ms var(--ease);
    transform: none;
  }

  .nav.open .nav-links a {
    color: #e5e7eb;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav.open .nav-links a:hover {
    color: var(--white);
    background: rgba(214, 0, 28, 0.2);
  }

  .nav.open .nav-links a::after {
    display: none;
  }

  .mobile-quote-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 6px;
    color: var(--white) !important;
    background: linear-gradient(135deg, #e6001f, #b30017) !important;
    border-radius: 999px;
    font-weight: 900 !important;
    box-shadow: 0 10px 30px rgba(214, 0, 28, 0.4);
  }

  .hero,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-collage {
    min-height: 480px;
  }

  .product-grid,
  .service-grid,
  .why-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  .hero {
    min-height: auto;
    padding: 100px 16px 40px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-collage {
    min-height: 380px;
    gap: 8px;
  }

  .product-grid,
  .service-grid,
  .why-grid,
  .blog-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-auto-rows: 240px;
  }

  .product-card.wide,
  .product-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .image-stack,
  .contact-visual {
    min-height: 380px;
  }

  .testimonial {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial img {
    margin: auto;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 32px 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Big Pure 4 Mill Logos Stream Line Bar (SAIL, RINL, JSPL, JSW) */
.pure-mill-logos-bar {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 22px;
  border-radius: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.mill-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 240ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 240ms ease;
  border: 2px solid transparent;
}

.mill-logo-tile:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(214, 0, 28, 0.4);
  border-color: rgba(214, 0, 28, 0.6);
}

.mill-logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Specs Section Side-by-Side Header & 2x2 Mill Logos Grid */
.specs-top-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 44px;
}

.specs-header-text {
  flex: 1;
  max-width: 720px;
}

.specs-mill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px;
  border-radius: 22px;
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.specs-mill-grid .mill-logo-tile {
  width: 76px;
  height: 76px;
}

@media (max-width: 960px) {
  .specs-top-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .specs-mill-grid {
    align-self: center;
    width: 100%;
    max-width: 340px;
  }

  .specs-mill-grid .mill-logo-tile {
    width: 100%;
    height: 68px;
  }
}

.footer-logos {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 8px 14px;
  gap: 12px;
}

.footer-logos .mill-logo-tile {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  padding: 5px;
}

/* --- Steel Specs Section, Visual Category Cards & Modal Sheet --- */
.steel-specs {
  scroll-margin-top: 80px;
  background: radial-gradient(circle at 85% 15%, rgba(214, 0, 28, 0.18), transparent 35%), #121214;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 82px);
}

.specs-header {
  margin-bottom: 36px;
}

.specs-heading {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  margin: 6px 0 14px;
  max-width: 760px;
  color: var(--white);
}

.specs-desc {
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Category Cards Grid */
.specs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.spec-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}

.spec-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 0, 28, 0.65);
  box-shadow: 0 20px 60px rgba(214, 0, 28, 0.25);
}

.spec-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.spec-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1);
  transition: transform 650ms var(--ease), filter 400ms var(--ease);
}

.spec-card:hover .spec-card-img img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.15);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 15, 18, 0.88);
  backdrop-filter: blur(10px);
  color: #ff5266;
  border: 1px solid rgba(214, 0, 28, 0.4);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-card-body {
  padding: 20px;
  display: grid;
  gap: 8px;
}

.spec-card-body h3 {
  font-size: 1.65rem;
  margin: 0;
  color: var(--white);
}

.spec-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.view-specs-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 0, 28, 0.14);
  color: #ff6b7e;
  border: 1px solid rgba(214, 0, 28, 0.35);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 250ms ease;
  width: 100%;
}

.spec-card:hover .view-specs-btn {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 6px 22px rgba(214, 0, 28, 0.45);
}

/* Specs Modal Sheet Overlay */
.specs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}

.specs-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.specs-modal-content {
  width: min(1180px, 95vw);
  max-height: 88vh;
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 300ms var(--ease);
}

.specs-modal-overlay.active .specs-modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.modal-eyebrow {
  margin: 0 0 2px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-title {
  margin: 0;
  font-size: 1.8rem;
  color: var(--white);
}

.close-modal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 200ms ease;
  line-height: 1;
}

.close-modal-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.specs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
}

.specs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  background: transparent;
  color: #c0c5cc;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 250ms var(--ease);
}

.tab-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 18px rgba(214, 0, 28, 0.4);
}

.specs-search input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  min-width: 280px;
}

.specs-search input:focus {
  border-color: var(--red);
  outline: none;
}

.specs-table-container {
  flex: 1;
  overflow: auto;
  padding: 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.specs-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #222226;
  color: #e2e6eb;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.14);
}

.specs-table td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d1d5db;
}

.specs-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.weight-badge {
  display: inline-block;
  background: rgba(214, 0, 28, 0.18);
  color: #ff6b7e;
  border: 1px solid rgba(214, 0, 28, 0.35);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
}

.type-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.select-spec-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
}

.select-spec-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

/* Calculator Box Below Cards */
.calculator-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.calc-header {
  margin-bottom: 20px;
}

.calc-header h3 {
  font-size: 1.8rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-header p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 20px;
  align-items: end;
}

.calc-field label {
  color: #cfd3da;
}

.calc-field select,
.calc-field input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 14px;
}

.calc-field select option {
  background: #222;
  color: #fff;
}

.calc-result-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(214, 0, 28, 0.35);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}

.result-label {
  color: var(--muted);
}

.result-value {
  font-weight: 700;
  color: var(--white);
}

.result-item.main-result {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 6px;
  margin-top: 4px;
}

.result-item.main-result .result-label {
  color: var(--white);
  font-weight: 800;
}

.result-item.main-result .result-value {
  color: #ff4d63;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
}

.calc-quote-btn {
  width: 100%;
  margin-top: 6px;
  font-size: 0.82rem;
}

@media (max-width: 1024px) {
  .specs-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calc-result-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .specs-cards-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .specs-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .specs-search input {
    width: 100%;
    min-width: auto;
  }
  .specs-modal-overlay {
    padding: 10px;
  }
  .specs-modal-content {
    max-height: 94vh;
    border-radius: 16px;
    width: 100%;
  }
  .specs-table thead {
    display: none; /* Hide squeezed desktop table header on mobile */
  }
}

/* Mobile Specs Card List View */
.mobile-specs-list {
  display: grid;
  gap: 12px;
  padding: 4px 0;
}

.mobile-spec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.mobile-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-card-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
}

.mobile-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-mini-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pill-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}

.pill-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
}

.mobile-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.mobile-calc-btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 8px 14px;
}

/* Mobile Bottom Navigation Bar (App-Like Bar) */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 1024px) {
  body {
    padding-bottom: 74px; /* Ensure page content is not obscured by bottom bar */
  }

  a.whatsapp {
    display: none !important; /* Hide floating circle button on mobile to prevent button overlap */
  }

  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    height: 62px;
    background: rgba(16, 16, 20, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
  }

  .mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #9ca3af;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 4px;
    border-radius: 8px;
    transition: all 200ms ease;
    flex: 1;
  }

  .mobile-bar-item svg {
    transition: transform 200ms ease;
  }

  .mobile-bar-item:hover,
  .mobile-bar-item.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-bar-item.active svg {
    stroke: var(--red);
  }

  .mobile-bar-item.whatsapp-item {
    color: #25d366;
  }

  .mobile-bar-item.whatsapp-item svg {
    fill: #25d366;
  }

  .mobile-bar-item.whatsapp-item:hover {
    background: rgba(37, 211, 102, 0.12);
  }
}



