/* ============================================================
   DEVKI STEEL & BUILDING SOLUTIONS
   Complete responsive stylesheet matched to index.html
   ============================================================ */

/* DESIGN TOKENS */
:root {
  --red: #d71920;
  --red-dark: #a90f15;
  --red-bright: #ef2b31;
  --ink: #111827;
  --ink-2: #1f2937;
  --ink-3: #374151;
  --steel: #4b5563;
  --steel-soft: #e5e7eb;
  --white: #ffffff;
  --bg: #f7f7f5;
  --bg-soft: #efefed;
  --line: #dedede;
  --text: #252525;
  --muted: #6b7280;
  --whatsapp: #25d366;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.07);
  --shadow-md: 0 18px 45px rgba(17, 24, 39, 0.11);
  --shadow-lg: 0 26px 70px rgba(17, 24, 39, 0.15);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1220px;
  --header-height: 82px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

/* RESET / BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

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

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--red);
  color: var(--white);
}

/* GLOBAL HELPERS */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-eyebrow,
.hero-eyebrow,
.mini-label,
.news-category,
.contact-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-eyebrow,
.hero-eyebrow,
.mini-label {
  color: var(--red);
}

#about-title,
#steel-feature-title,
#contact-title {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background-color 0.25s ease,
    color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.28);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.2);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 16px 32px rgba(215, 25, 32, 0.24);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

/* HEADER / NAVIGATION */
.site-header {
  position: fixed;
  z-index: 1200;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.07);
}

.nav-container {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 2px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--white);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 1.03rem;
  letter-spacing: 0.11em;
}

.brand-text span {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 0.58rem;
  letter-spacing: 0.075em;
  white-space: nowrap;
}

.main-navigation {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  bottom: 5px;
  left: 12px;
  width: calc(100% - 24px);
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--ease);
}

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

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

.nav-links .nav-whatsapp {
  margin-left: 7px;
  padding-inline: 17px;
  background: var(--red);
  color: var(--white);
}

.nav-links .nav-whatsapp::after {
  display: none;
}

.nav-links .nav-whatsapp:hover {
  background: var(--red-dark);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero-section {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background: #080b10;
}

.hero-background,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  background: var(--ink);
}

.hero-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
}

.hero-slide-1 {
  background-image: url("../images/hero-steel-sparks.jpg");
  opacity: 1;
}

.hero-slide-2 {
  background-image: url("../images/hero-rebar-bundles.jpg");
}

.hero-slide-3 {
  background-image: url("../images/hero-steel-detail.jpg");
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 11, 17, 0.76) 0%, rgba(8, 11, 17, 0.53) 45%, rgba(8, 11, 17, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 11, 17, 0.4), rgba(8, 11, 17, 0.04) 68%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(calc(100% - 48px), var(--container));
  min-height: 720px;
  margin-inline: auto;
  padding: calc(var(--header-height) + 54px) 0 78px;
}

.hero-eyebrow {
  margin-bottom: 17px;
  color: #ff757a;
}

.hero-content h1,
#hero-title {
  max-width: 790px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(3.1rem, 6.4vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.99;
  overflow-wrap: break-word;
}

.hero-content > p {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-scroll-indicator {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 27px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll-indicator span {
  display: inline-block;
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.65);
}

/* IMAGE SLOTS */
.image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e9ea, #cfd2d5);
  color: #5c6168;
}

.image-placeholder img {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.image-placeholder span,
.image-placeholder strong,
.image-placeholder small {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* ABOUT */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(48px, 7vw, 90px);
}

.about-image {
  min-height: 570px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-image .image-placeholder {
  height: 100%;
  min-height: 570px;
}

.about-content {
  max-width: 660px;
}

.about-content h2,
#about-title {
  margin-top: 13px;
  color: var(--ink);
  font-size: clamp(2.45rem, 4.2vw, 4rem);
}

.about-content > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
}

.about-highlights {
  display: grid;
  gap: 11px;
  margin-top: 30px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.highlight-item::before {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.highlight-item strong {
  display: block;
  min-width: 112px;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.highlight-item span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CEO / LEADERSHIP */
.ceo-section {
  background: var(--ink);
  color: var(--white);
}

.ceo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.ceo-photo {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.ceo-image-placeholder {
  height: 100%;
  min-height: 560px;
  background: #252b34;
}

.ceo-content .section-eyebrow {
  color: #ff7479;
}

.ceo-content h2 {
  margin-top: 12px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(2.35rem, 4.1vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.ceo-content > p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.ceo-message {
  margin-top: 27px;
  padding: 20px 0 20px 22px;
  border-left: 2px solid var(--red);
  color: rgba(255, 255, 255, 0.82);
}

.ceo-message > span {
  color: #ff7479;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.ceo-message p {
  margin-top: 8px;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* PRODUCTS */
.products-section {
  background: var(--bg);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-top: 11px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(2.55rem, 4.7vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-heading p {
  max-width: 700px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.product-category {
  margin-top: 76px;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.product-category:first-of-type {
  margin-top: 0;
}

.category-heading {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 24px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.category-heading > div {
  min-width: 0;
}

.category-heading h3 {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.category-heading p {
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.category-number {
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-showcase {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  align-items: stretch;
  gap: 0;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand-poster,
.brand-poster.image-placeholder {
  min-height: 290px;
  border-radius: 0;
}

.brand-showcase-content {
  align-self: center;
  padding: 35px 40px;
}

.brand-showcase-content h4 {
  margin-top: 9px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.12;
}

.brand-showcase-content p {
  max-width: 580px;
  margin-top: 13px;
  color: var(--muted);
}

.brand-showcase-content .product-whatsapp {
  margin-top: 22px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 17px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.025);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 25, 32, 0.2);
  box-shadow: var(--shadow-md);
}

.product-image {
  aspect-ratio: 1.18 / 0.92;
  min-height: 0;
  flex: 0 0 auto;
  background: #e8e9ea;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 19px;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-code {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-price {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
  white-space: normal;
}

.product-body h4 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-body p {
  margin-top: 9px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 8px 14px;
  border: 1px solid rgba(37, 211, 102, 0.38);
  border-radius: 999px;
  color: #168b43;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-whatsapp:hover {
  border-color: var(--whatsapp);
  background: var(--whatsapp);
  color: var(--white);
}

/* STEEL CAPABILITY */
.steel-feature {
  background: var(--white);
}

.steel-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.steel-feature-content h2,
#steel-feature-title {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(2.45rem, 4.3vw, 4.05rem);
}

.steel-feature-content > p {
  margin-top: 21px;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list-item::before {
  flex: 0 0 32px;
  padding-top: 2px;
  color: var(--red);
  content: "01";
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-list-item:nth-child(2)::before {
  content: "02";
}

.feature-list-item:nth-child(3)::before {
  content: "03";
}

.feature-list-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
}

.feature-list-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.steel-feature-images {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.75fr);
  align-items: stretch;
  gap: 14px;
}

.steel-main-image,
.steel-detail-image {
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.steel-detail-image {
  align-self: end;
  min-height: 310px;
}

/* INDUSTRIAL VIDEO
   The video, overlay, and content are positioned as layers so the
   heading sits ON the footage instead of appearing below it. */
.industrial-section {
  padding: 0;
  background: #080b10;
}

.industrial-video {
  position: relative;
  min-height: clamp(420px, 43vw, 540px);
  overflow: hidden;
  isolation: isolate;
  background: #080b10;
}

.industrial-video-slot {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
  overflow: hidden;
  background: #080b10;
}

.industrial-video-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(1.2) contrast(1.02) saturate(1.06);
}

.industrial-video-slot::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.48) 0%, rgba(8, 11, 16, 0.25) 48%, rgba(8, 11, 16, 0.06) 100%),
    linear-gradient(0deg, rgba(8, 11, 16, 0.27), rgba(8, 11, 16, 0.02) 66%);
  content: "";
  pointer-events: none;
}

.video-slot-label {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.industrial-video-slot.video-ready .video-slot-label {
  opacity: 0;
  visibility: hidden;
}

.industrial-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 72%);
  pointer-events: none;
}

.industrial-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(calc(100% - 48px), var(--container));
  min-height: clamp(420px, 43vw, 540px);
  margin-inline: auto;
  padding: 64px 0;
}

.industrial-content .section-eyebrow {
  color: #ff7a7f;
}

.industrial-content h2,
#industrial-title {
  max-width: 760px;
  margin-top: 12px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
}

.industrial-content p {
  max-width: 620px;
  margin-top: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.industrial-content .btn {
  margin-top: 27px;
}

/* PROJECTS */
.projects-section {
  background: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card .project-image {
  min-height: 360px;
}

.project-content {
  padding: 24px 26px 28px;
}

.project-location {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.project-content h3 {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.75rem;
  line-height: 1.12;
}

.project-content p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* BRANDS */
.brands-section {
  padding: 64px 0;
  background: var(--white);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.brand-item:last-child {
  border-right: 0;
}

.brand-item span {
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* STATISTICS */
.stats-section {
  padding: 66px 0;
  background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #e2242c);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 12px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-number {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.5vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  white-space: nowrap;
}

.stat-label {
  display: block;
  max-width: 175px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* NEWS */
.news-section {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: stretch;
  gap: 18px;
}

.news-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.05);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-image {
  min-height: 260px;
}

.featured-news .news-image {
  min-height: 330px;
}

.news-content {
  padding: 23px 24px 26px;
}

.news-category {
  color: var(--red);
}

.news-content h3 {
  margin-top: 9px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.12;
}

.featured-news .news-content h3 {
  font-size: 1.85rem;
}

.news-content p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.91rem;
}

.news-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-link:hover {
  color: var(--red-dark);
}

/* CONTACT */
.contact-section {
  padding: 96px 0;
  background: var(--ink);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 64px);
}

.contact-content {
  align-self: center;
}

.contact-content .section-eyebrow {
  color: #ff7379;
}

.contact-content h2,
#contact-title {
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(2.55rem, 4.4vw, 4.15rem);
}

.contact-content > p {
  max-width: 650px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-label {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
}

.contact-detail strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #07381b;
  font-size: 0.79rem;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-whatsapp:hover {
  transform: translateY(-2px);
  background: #47e77f;
  color: #062b16;
}

.contact-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #dd2028 0%, #bd151d 58%, #941018 100%);
  color: var(--white);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

.contact-panel::before {
  position: absolute;
  z-index: -1;
  right: -40px;
  bottom: -130px;
  color: rgba(255, 255, 255, 0.075);
  content: "D";
  font-family: var(--font-head);
  font-size: clamp(19rem, 27vw, 27rem);
  font-weight: 700;
  line-height: 1;
}

.contact-panel::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 5px;
  background: rgba(255, 255, 255, 0.85);
  content: "";
}

.contact-panel-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding: clamp(28px, 4vw, 46px);
}

.contact-panel-inner > span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.6;
}

.contact-panel-inner h3 {
  max-width: 390px;
  margin-top: 21px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.contact-panel-inner p {
  max-width: 370px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.97rem;
}

/* FOOTER */
.site-footer {
  padding: 70px 0 0;
  background: #0b0e13;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr 0.9fr;
  gap: 34px;
  padding-bottom: 52px;
}

.footer-brand {
  max-width: 390px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.footer-logo > img {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 2px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.footer-logo > div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-logo strong {
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-logo span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.footer-brand > p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-column h4 {
  color: var(--white);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column > ul:not(.company-list) {
  margin-top: 15px;
}

.footer-column > ul:not(.company-list) li a {
  display: inline-block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-column > ul:not(.company-list) li a:hover {
  color: var(--white);
}

.company-list {
  margin-top: 15px;
}

.company-list li {
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-contact {
  margin-top: 14px;
}

.footer-contact p {
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.footer-contact p span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 13px;
  padding: 0 15px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 999px;
  color: #79eda1;
  font-size: 0.77rem;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-whatsapp:hover {
  background: var(--whatsapp);
  color: #07381b;
}

.footer-bottom {
  padding: 19px 0 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
}

/* RESPONSIVE: 1100 PX */
@media (max-width: 1100px) {
  .nav-container {
    gap: 14px;
  }

  .brand-text span {
    font-size: 0.52rem;
  }

  .nav-links a {
    padding-inline: 9px;
    font-size: 0.7rem;
  }

  .nav-links a::after {
    left: 9px;
    width: calc(100% - 18px);
  }

  .about-grid,
  .ceo-grid,
  .steel-feature-grid {
    gap: 42px;
  }

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

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

  .featured-news {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }

  .stats-grid .stat-item:nth-child(3) {
    border-right: 0;
  }

  .stats-grid .stat-item:nth-child(4) {
    border-right: 1px solid rgba(255, 255, 255, 0.28);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 0.9fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 650px;
  }
}

/* RESPONSIVE: 900 PX */
@media (max-width: 900px) {
  .section {
    padding: 82px 0;
  }

  .container {
    width: min(calc(100% - 38px), var(--container));
  }

  .hero-section,
  .hero-content {
    min-height: 680px;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 38px);
  }

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

  .about-image,
  .about-image .image-placeholder {
    min-height: 480px;
  }

  .ceo-photo,
  .ceo-image-placeholder {
    min-height: 470px;
  }

  .steel-feature-images {
    grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr);
  }

  .contact-grid {
    gap: 36px;
  }

  .contact-panel,
  .contact-panel-inner {
    min-height: 340px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* RESPONSIVE: 760 PX — MOBILE NAV */
@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  html {
    scroll-padding-top: var(--header-height);
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .nav-container {
    min-height: var(--header-height);
  }

  .brand-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text span {
    font-size: 0.49rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1202;
    flex: 0 0 42px;
  }

  .main-navigation {
    position: absolute;
    z-index: 1201;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    margin-left: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    border-top: 1px solid transparent;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: max-height 0.35s ease, opacity 0.25s ease,
      visibility 0.25s ease, padding 0.35s ease, border-color 0.25s ease;
  }

  .main-navigation.active,
  .main-navigation.open,
  body.nav-open .main-navigation {
    max-height: min(76vh, 560px);
    padding: 11px 0 15px;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    border-top-color: var(--line);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(calc(100% - 24px), 520px);
    margin-inline: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
  }

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

  .nav-links a:hover {
    background: var(--bg-soft);
  }

  .nav-links .nav-whatsapp {
    justify-content: center;
    margin: 5px 0 0;
    background: var(--red);
    color: var(--white);
  }

  .section {
    padding: 72px 0;
  }

  .hero-section,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    width: min(calc(100% - 30px), var(--container));
    padding-top: calc(var(--header-height) + 43px);
    padding-bottom: 75px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 11, 17, 0.82), rgba(8, 11, 17, 0.42)),
      linear-gradient(0deg, rgba(8, 11, 17, 0.48), rgba(8, 11, 17, 0.04));
  }

  .hero-content h1,
  #hero-title {
    max-width: 640px;
    font-size: clamp(2.75rem, 10.5vw, 4.1rem);
  }

  .hero-content > p {
    max-width: 560px;
    font-size: 0.96rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    min-width: 160px;
  }

  .hero-scroll-indicator {
    right: 16px;
    bottom: 17px;
  }

  .about-grid,
  .ceo-grid,
  .steel-feature-grid {
    gap: 35px;
  }

  .about-image,
  .about-image .image-placeholder,
  .ceo-photo,
  .ceo-image-placeholder {
    min-height: 390px;
  }

  .brand-showcase {
    grid-template-columns: 1fr;
  }

  .brand-poster,
  .brand-poster.image-placeholder {
    min-height: 250px;
  }

  .brand-showcase-content {
    padding: 27px 24px 30px;
  }

  .products-grid,
  .projects-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .featured-news {
    grid-column: auto;
  }

  .project-card .project-image,
  .news-image,
  .featured-news .news-image {
    min-height: 270px;
  }

  .steel-feature-images {
    grid-template-columns: 1fr;
  }

  .steel-main-image,
  .steel-detail-image {
    min-height: 320px;
  }

  .industrial-video,
  .industrial-content {
    min-height: 440px;
  }

  .industrial-content {
    width: min(calc(100% - 30px), var(--container));
    padding: 54px 0;
  }

  .industrial-content h2,
  #industrial-title {
    font-size: clamp(2.45rem, 9.5vw, 3.8rem);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }

  .stats-grid .stat-item,
  .stats-grid .stat-item:nth-child(3),
  .stats-grid .stat-item:nth-child(4) {
    min-height: 126px;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .stats-grid .stat-item:nth-child(2n) {
    border-right: 0;
  }

  .stats-grid .stat-item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .stat-number {
    font-size: clamp(2.2rem, 8vw, 3.1rem);
  }

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

  .brand-item {
    min-height: 100px;
  }

  .brand-item:nth-child(2) {
    border-right: 0;
  }

  .brand-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .contact-section {
    padding: 72px 0;
  }

  .contact-grid {
    gap: 28px;
  }

  .contact-panel,
  .contact-panel-inner {
    min-height: 330px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* RESPONSIVE: 600 PX */
@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-text span {
    font-size: 0.45rem;
    letter-spacing: 0.035em;
  }

  .hero-content {
    width: min(calc(100% - 26px), var(--container));
  }

  .hero-content h1,
  #hero-title {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

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

  .about-content h2,
  #about-title,
  .ceo-content h2,
  .steel-feature-content h2,
  #steel-feature-title,
  .contact-content h2,
  #contact-title {
    font-size: clamp(2.15rem, 9vw, 3.15rem);
  }

  .highlight-item {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .highlight-item strong {
    min-width: 100px;
  }

  .highlight-item span {
    flex-basis: 100%;
    padding-left: 20px;
  }

  .category-heading {
    align-items: flex-start;
    gap: 8px;
  }

  .category-number {
    padding-top: 4px;
  }

  .product-body {
    padding: 17px;
  }

  .industrial-video,
  .industrial-content {
    min-height: 410px;
  }

  .industrial-content h2,
  #industrial-title {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  .industrial-video-element {
    object-position: center center;
  }

  .stats-section {
    padding: 42px 0;
  }

  .stat-item {
    padding-inline: 10px;
  }

  .stat-number {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .contact-detail {
    flex-direction: column;
    gap: 5px;
  }

  .contact-detail strong {
    text-align: left;
  }

  .contact-panel-inner {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* RESPONSIVE: 420 PX */
@media (max-width: 420px) {
  .brand-mark {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .brand-text strong {
    font-size: 0.82rem;
  }

  .brand-text span {
    max-width: 155px;
    white-space: normal;
    font-size: 0.42rem;
  }

  .nav-links {
    width: calc(100% - 18px);
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 30px);
  }

  .hero-scroll-indicator {
    display: none;
  }

  .category-heading h3 {
    font-size: 1.8rem;
  }

  .brand-showcase-content {
    padding: 23px 18px 25px;
  }

  .product-top {
    flex-wrap: wrap;
  }

  .product-price {
    text-align: left;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid .stat-item,
  .stats-grid .stat-item:nth-child(2),
  .stats-grid .stat-item:nth-child(3),
  .stats-grid .stat-item:nth-child(4),
  .stats-grid .stat-item:last-child {
    grid-column: auto;
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .stats-grid .stat-item:last-child {
    border-bottom: 0;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }

  .brand-item,
  .brand-item:nth-child(2) {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-item:last-child {
    border-bottom: 0;
  }
}

/* ACCESSIBILITY: REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* CLICKABLE FOOTER EMAIL */
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #ff7379;
  text-decoration: underline;
}

.footer-contact a:focus-visible {
  outline: 2px solid #ff7379;
  outline-offset: 3px;
}
