/* ============================================
   MONART PTY LTD — STATIC PORTAL STYLES
   Clean, responsive, SEO-optimized
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  --bg-warm: #F6F5F2;
  --bg-dark: #111111;
  --text-primary: #111111;
  --text-secondary: #6E6E6E;
  --text-light: #FFFFFF;
  --accent: #D93A3A;
  
  --stm-primary: #8B4513;
  --stm-bg: #FAF6F1;
  
  --sma-primary: #1B4D72;
  --sma-bg: #F0F5FA;
  
  --stanmart-primary: #2C3E50;
  --stanmart-bg: #F5F5F5;
  
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  --nav-height: 64px;
  --section-pad-x: clamp(24px, 6vw, 80px);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
}

address {
  font-style: normal;
}

/* ===== Grain Overlay ===== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ===== Navigation ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(246, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(246, 245, 242, 0.98);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-logo-pty {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(17, 17, 17, 0.05);
}

.nav-link-stm:hover { color: var(--stm-primary); }
.nav-link-sma:hover { color: var(--sma-primary); }
.nav-link-stanmart:hover { color: var(--stanmart-primary); }
.nav-link-contact:hover { color: var(--accent); }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text-primary);
  z-index: 1001;
}

.mobile-menu-btn .hidden {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(246, 245, 242, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 100px var(--section-pad-x) 40px;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-item {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: color 0.25s;
}

.menu-stm:hover, .menu-stm:focus { color: var(--stm-primary); }
.menu-sma:hover, .menu-sma:focus { color: var(--sma-primary); }
.menu-stanmart:hover, .menu-stanmart:focus { color: var(--stanmart-primary); }
.menu-contact:hover, .menu-contact:focus { color: var(--accent); }

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-warm);
  z-index: -1;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}

.hero-content {
  padding: 40px 0;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.headline-line {
  display: block;
}

.hero-subhead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-height: 52px;
}

.hero-cta:hover,
.hero-cta:focus {
  background: var(--accent);
  color: white;
  gap: 14px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.02);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.6;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== Brand Sections ===== */
.brand-section {
  padding: clamp(80px, 12vh, 140px) 0;
}

.stm-section {
  background: var(--stm-bg);
}

.sma-section {
  background: var(--sma-bg);
}

.stanmart-section {
  background: var(--stanmart-bg);
}

.brand-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.brand-reverse {
  direction: rtl;
}

.brand-reverse > * {
  direction: ltr;
}

.brand-image-grid {
  display: block;
}

.brand-img-main {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.brand-img-secondary {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease;
}

.brand-img-main:hover,
.brand-img-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.brand-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.brand-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.brand-description {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}

/* Product Categories */
.product-categories {
  margin-bottom: 28px;
}

.product-categories-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: default;
  min-height: 32px;
}

.product-tag:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(17, 17, 17, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.product-tag:hover .tag-dot {
  transform: scale(1.3);
}

/* Brand Actions */
.brand-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-stm, .btn-sma, .btn-stanmart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-height: 48px;
}

.btn-stm {
  border-color: var(--stm-primary);
  color: var(--stm-primary);
}
.btn-stm:hover { background: var(--stm-primary); color: white; }

.btn-sma {
  border-color: var(--sma-primary);
  color: var(--sma-primary);
}
.btn-sma:hover { background: var(--sma-primary); color: white; }

.btn-stanmart {
  border-color: var(--stanmart-primary);
  color: var(--stanmart-primary);
}
.btn-stanmart:hover { background: var(--stanmart-primary); color: white; }

.btn-text-stm, .btn-text-sma, .btn-text-stanmart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: gap 0.25s ease;
  min-height: 44px;
}

.btn-text-stm { color: var(--stm-primary); }
.btn-text-sma { color: var(--sma-primary); }
.btn-text-stanmart { color: var(--stanmart-primary); }

.btn-text-stm:hover,
.btn-text-sma:hover,
.btn-text-stanmart:hover {
  gap: 10px;
}

/* ===== Capabilities Section ===== */
.capabilities {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: clamp(80px, 12vh, 140px) 0;
}

.capabilities-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.capabilities-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 16px;
}

.capabilities .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.cap-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.cap-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 20px;
  color: var(--accent);
}

.cap-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cap-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Contact Section ===== */
.contact {
  background: var(--bg-warm);
  padding: clamp(80px, 12vh, 140px) 0;
}

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.contact-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.contact-subhead {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: white;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.contact-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 58, 58, 0.08);
  border-radius: 8px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-link {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-address,
.contact-hours {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Brands */
.contact-brands-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.contact-brand-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-brand-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border-radius: 10px;
  border: 2px solid;
  transition: all 0.3s ease;
}

.contact-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.contact-brand-url {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.6;
}

.contact-brand-stm {
  border-color: var(--stm-primary);
  color: var(--stm-primary);
  background: rgba(139, 69, 19, 0.04);
}
.contact-brand-stm:hover {
  background: var(--stm-primary);
  color: white;
}

.contact-brand-sma {
  border-color: var(--sma-primary);
  color: var(--sma-primary);
  background: rgba(27, 77, 114, 0.04);
}
.contact-brand-sma:hover {
  background: var(--sma-primary);
  color: white;
}

.contact-brand-stanmart {
  border-color: var(--stanmart-primary);
  color: var(--stanmart-primary);
  background: rgba(44, 62, 80, 0.04);
}
.contact-brand-stanmart:hover {
  background: var(--stanmart-primary);
  color: white;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: clamp(60px, 8vh, 100px) 0 32px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-pty {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-credit {
  margin-top: 4px;
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text-primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===== Responsive: Tablet ===== */
@media (max-width: 1023px) {
  :root {
    --nav-height: 56px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    order: 1;
    padding: 20px 0;
  }
  
  .hero-subhead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-image-wrapper {
    order: 0;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-headline {
    font-size: clamp(36px, 10vw, 56px);
  }
  
  .brand-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .brand-reverse {
    direction: ltr;
  }
  
  .brand-image-grid {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .brand-content-col {
    text-align: center;
  }
  
  .brand-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .product-tags {
    justify-content: center;
  }
  
  .brand-actions {
    justify-content: center;
  }
  
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-tagline {
    max-width: 100%;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 60px;
  }
  
  .hero-headline {
    font-size: clamp(32px, 12vw, 48px);
    line-height: 0.95;
  }
  
  .hero-subhead {
    font-size: 15px;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .brand-section {
    padding: 60px 0;
  }
  
  .brand-headline {
    font-size: clamp(28px, 8vw, 40px);
  }
  
  .brand-image-grid {
    grid-template-columns: 1fr;
  }
  
  .brand-img-secondary {
    display: none;
  }
  
  .product-tag {
    padding: 6px 12px 6px 8px;
    font-size: 11px;
    min-height: 30px;
  }
  
  .brand-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-stm, .btn-sma, .btn-stanmart {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }
  
  .capabilities {
    padding: 60px 0;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .cap-card {
    padding: 24px;
  }
  
  .contact {
    padding: 60px 0;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .mobile-menu-item {
    font-size: 28px;
  }
}

/* ===== Small Mobile ===== */
@media (max-width: 479px) {
  .hero-headline {
    font-size: clamp(28px, 11vw, 40px);
  }
  
  .section-headline {
    font-size: clamp(26px, 8vw, 36px);
  }
  
  .brand-headline {
    font-size: clamp(24px, 7vw, 32px);
  }
  
  .product-tags {
    gap: 6px;
  }
  
  .product-tag {
    padding: 5px 10px 5px 7px;
    font-size: 10px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .contact-brand-name {
    font-size: 16px;
  }
  
  .contact-brand-card {
    padding: 20px;
  }
}

/* ===== Large Desktop ===== */
@media (min-width: 1440px) {
  .hero-headline {
    font-size: clamp(48px, 5vw, 78px);
  }
  
  .brand-headline {
    font-size: clamp(40px, 3.5vw, 56px);
  }
  
  .section-headline {
    font-size: clamp(40px, 3.5vw, 56px);
  }
  
  .body-text {
    font-size: 18px;
  }
  
  .product-tag {
    padding: 8px 16px 8px 10px;
    font-size: 13px;
  }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .scroll-indicator {
    animation: none;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  background-color: rgba(217, 58, 58, 0.2);
  color: var(--text-primary);
}

/* ===== Touch Device Optimizations ===== */
@media (pointer: coarse) {
  .product-tag:hover {
    transform: none;
    box-shadow: none;
  }
  
  .cap-card:hover {
    transform: none;
  }
  
  .brand-img-main:hover,
  .brand-img-secondary:hover {
    transform: none;
  }
  
  .contact-card:hover {
    transform: none;
  }
}

/* ===== Print Styles ===== */
@media print {
  .grain-overlay,
  #navbar,
  .mobile-menu-btn,
  .scroll-indicator,
  .scroll-top,
  .btn-primary,
  .btn-stm,
  .btn-sma,
  .btn-stanmart,
  .btn-text-stm,
  .btn-text-sma,
  .btn-text-stanmart,
  .footer {
    display: none !important;
  }
  
  .hero,
  .brand-section,
  .capabilities,
  .contact {
    padding: 30px 0 !important;
    min-height: auto !important;
  }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-warm);
}

::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 17, 17, 0.3);
}
