/* Font Faces */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

:root {
  /* Brand Colors (DESIGN.md) */
  --color-brand-primary: #1e3a5f;
  --color-brand-primary-dark: #0f2a47;
  --color-brand-accent: #d97706;
  --color-brand-accent-hover: #b56205;

  /* Grayscale */
  --gray-0: #ffffff;
  --gray-1: #f8fafc;
  --gray-2: #e2e8f0;
  --gray-3: #cbd5e1;
  --gray-4: #94a3b8;
  --gray-5: #64748b;
  --gray-6: #475569;
  --gray-7: #334155;
  --gray-8: #1e293b;
  --gray-9: #0f172a;

  /* Semantic Colors */
  --color-dark: var(--gray-9);
  --color-gray: var(--gray-5);
  --color-light: var(--gray-1);
  --color-white: var(--gray-0);

  /* Typography */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;

  /* Font Sizes */
  --ts-14: 14px;
  --ts-16: 16px;
  --ts-18: 18px;
  --ts-20: 20px;
  --ts-24: 24px;
  --ts-28: 28px;
  --ts-34: 34px;
  --ts-48: 48px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  line-height: 1.6;
  background: var(--color-white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons — industrial weight */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--color-brand-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-brand-primary-dark);
  box-shadow: 0 6px 16px rgba(30, 58, 95, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-brand-primary);
  color: var(--color-brand-primary);
}

.btn-outline:hover {
  background: var(--color-brand-primary);
  color: white;
}

.btn-accent {
  background: var(--color-brand-accent);
  color: white;
}

.btn-accent:hover {
  background: var(--color-brand-accent-hover);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

/* Links */
a {
  color: var(--color-brand-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-brand-accent);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--color-brand-primary) 0%,
    var(--color-brand-primary-dark) 100%
  );
  color: white;
  padding: 8rem 0 6rem;
  margin-top: 70px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
}

/* Product Card */
.product-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }
}

.hero-split {
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  background: linear-gradient(
    135deg,
    var(--color-brand-primary) 0%,
    var(--color-brand-primary-dark) 100%
  );
  color: white;
}

.hero-split-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 3fr 2fr;
}

.hero-split-media {
  position: relative;
  overflow: hidden;
}

.hero-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 76, 129, 0.2);
}

.hero-split-content {
  padding: 3.5rem 2.5rem;
  display: flex;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--ts-14);
  letter-spacing: 0.22em;
  opacity: 0.7;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--ts-34);
  line-height: 1.15;
  margin-top: 1rem;
}

.hero-lead {
  margin-top: 1.25rem;
  font-size: var(--ts-16);
  color: rgba(255, 255, 255, 0.82);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cert-strip {
  background: white;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.cert-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.cert-items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cert-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cert-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-light);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.cert-badge img {
  width: 28px;
  height: 28px;
}

.cert-note {
  font-size: 12px;
  color: var(--color-gray);
  font-weight: 600;
}

.cert-zoom {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translate(-50%, -100%);
  display: none;
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.1);
  place-items: center;
}

.cert-item:hover .cert-zoom {
  display: grid;
}

.cert-zoom img {
  width: 84px;
  height: 84px;
}

.scene-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.scene-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--color-light);
}

.scene-card .scene-media {
  position: relative;
  height: 220px;
}

.scene-card .scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-card .scene-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 76, 129, 0.2);
}

.product-grid-4 {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card-45 {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}

.product-card-45:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18);
}

.product-card-45 .product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--color-light);
}

.product-card-45 .product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

.product-card-45 .product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 76, 129, 0);
  transition: background 0.3s ease-out;
}

.product-card-45:hover .product-media::after {
  background: rgba(15, 76, 129, 0.2);
}

.product-hover {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.product-card-45:hover .product-hover {
  transform: translateY(0);
  opacity: 1;
}

.product-hover-box {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.product-hover-box .line-1 {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
}

.product-hover-box .line-2 {
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-gray);
}

.product-hover-box .line-3 {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brand-accent);
}

.product-card-45 .product-body {
  padding: 16px 16px 18px;
}

.product-card-45 .product-title {
  font-family: var(--font-heading);
  font-size: var(--ts-16);
  font-weight: 700;
  color: var(--color-dark);
}

.product-card-45 .product-tagline {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-gray);
}

.sticky-quote {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: none;
}

.sticky-quote-inner {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.sticky-quote-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  display: none;
}

.sticky-quote .btn {
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .hero-split-inner {
    grid-template-columns: 1fr;
  }

  .hero-split-media {
    height: 46vh;
  }

  .hero-title {
    font-size: var(--ts-28);
  }

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

  .product-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .sticky-quote-note {
    display: block;
  }
}
