/* Supreme Global LLC — Brand: sage teal + navy */

:root {
  --teal: #5b9a8f;
  --teal-dark: #4a8278;
  --teal-light: #7ab5a9;
  --navy: #1c2d45;
  --navy-deep: #0f1a2a;
  --cyan: #5eb8c9;
  --white: #ffffff;
  --off-white: #f6f8f7;
  --gray-100: #eef1f0;
  --gray-300: #c5ccc9;
  --gray-600: #5c6763;
  --shadow: 0 4px 24px rgba(28, 45, 69, 0.08);
  --shadow-lg: 0 12px 48px rgba(28, 45, 69, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.header--scrolled {
  border-color: var(--gray-100);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(28, 45, 69, 0.92) 0%, rgba(91, 154, 143, 0.85) 100%),
    url("images/ferrous.jpg") center / cover no-repeat;
  z-index: -1;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(94, 184, 201, 0.25), transparent);
}

.hero__content {
  padding: 4rem 0 5rem;
  color: var(--white);
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: 1.125rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cyan);
}

.stat__label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background: var(--off-white);
  color: var(--navy);
}

.btn--full {
  width: 100%;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--off-white);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.section-head h2,
.about__text h2,
.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--gray-600);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about__badge-num {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.about__badge-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.about__text p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.about__list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.about__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-weight: 500;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.about__link {
  font-weight: 600;
  font-size: 1.0625rem;
}

/* Products */
.products-sub {
  margin: 3rem 0;
}

.products-sub__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
  border-left: 4px solid var(--teal);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card--reverse {
  direction: rtl;
}

.product-card--reverse .product-card__body {
  direction: ltr;
}

.product-card--compact {
  grid-template-columns: 1fr;
}

.product-card__image {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
}

.product-card__body {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card__body h3,
.product-card__body h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.product-card--compact .product-card__body h4 {
  font-size: 1.25rem;
}

.product-card__body p {
  color: var(--gray-600);
  font-size: 0.975rem;
}

.product-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 50%, var(--teal-dark) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.88;
  margin-bottom: 1.75rem;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact__details {
  font-style: normal;
}

.contact__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact__item strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.contact__item p {
  margin: 0;
  color: var(--navy);
  font-size: 0.975rem;
}

.contact__form {
  background: var(--off-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact__form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(91, 154, 143, 0.2);
}

.contact__form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-status--success {
  background: #e8f5f0;
  color: #1e5c4a;
  border: 1px solid #9fd4c4;
}

.form-status--error {
  background: #fdeeee;
  color: #8b2e2e;
  border: 1px solid #e8b4b4;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0;
  text-align: center;
}

.footer__logo {
  margin: 0 auto 1.5rem;
  height: 48px;
  width: auto;
  filter: brightness(1.1);
}

.footer__copy {
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.75;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer__links a {
  color: var(--teal-light);
  font-size: 0.9375rem;
  font-weight: 500;
}

.footer__links a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
  .about__grid,
  .contact__grid,
  .product-card,
  .product-card--featured {
    grid-template-columns: 1fr;
  }

  .product-card--reverse {
    direction: ltr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .about__badge {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }
}
