/* ===================================================================
   SPORTX — Premium Sports Brand Stylesheet
   Signature element: the "Slash System" — a recurring diagonal cut
   (clip-path) used on hero edges, section dividers, image frames and
   ctas, evoking a finish-line / speed-stripe motif consistent with
   the Nike/Adidas/Puma-inspired brief.
=================================================================== */

/* -------------------------------------------------------------
   1. CSS VARIABLES
------------------------------------------------------------- */
:root{
  --red: #E10600;
  --red-dark: #B30500;
  --green: #00df43;
  --green-dark: #009c2f;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-dark: #1A1A1A;
  --gray-light: #F5F5F5;
  --gray-mid: #6b6b6b;
  --border-soft: rgba(255,255,255,0.12);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --container: 1280px;
  --gutter: 24px;

  --radius-sm: 4px;
  --radius-md: 8px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --speed-fast: .25s;
  --speed-med: .45s;
  --speed-slow: .8s;

  --shadow-card: 0 10px 30px rgba(0,0,0,.12);
  --shadow-card-hover: 0 20px 45px rgba(0,0,0,.22);
}

/* -------------------------------------------------------------
   2. RESET
------------------------------------------------------------- */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body,h1,h2,h3,h4,h5,h6,p,ul,ol,figure{ margin: 0; }
ul,ol{ padding: 0; list-style: none; }
img{ max-width: 100%; display: block; }
a{ text-decoration: none; color: inherit; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }
input,select,textarea{ font-family: inherit; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5{
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-transform: uppercase;
}

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

:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* -------------------------------------------------------------
   3. UTILITIES
------------------------------------------------------------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section{
  padding: 100px 0;
  position: relative;
}
.section-tight{ padding: 64px 0; }
.section-dark{ background: var(--black); color: var(--white); }
.section-gray{ background: var(--gray-light); }

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2{ font-size: clamp(2rem, 3.4vw, 2.9rem); }
.section-head p{ margin-top: 16px; color: var(--gray-mid); font-size: 1.02rem; }
.section-dark .section-head p{ color: rgba(255,255,255,0.65); }

/* Slash divider — signature device used between major sections */
.slash-divider{
  position: relative;
  height: 70px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 100%);
  margin-top: -1px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 38px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary{
  background: var(--red);
  color: var(--white);
}
.btn-whatsapp{
  background: var(--green);
  color: var(--white);
}
.btn-whatsapp:hover{
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(225,6,0,0.35);
}
.btn-primary:hover{
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(225,6,0,0.35);
}
.btn-outline{
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding: 15.5px 36px;
}
.btn-outline:hover{
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-3px);
}
.btn-dark{
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover{ background: var(--red); transform: translateY(-3px); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 12px 24px; font-size: 0.75rem; }

/* Fade-in on scroll */
.reveal{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1{ transition-delay: .1s; }
.reveal-delay-2{ transition-delay: .2s; }
.reveal-delay-3{ transition-delay: .3s; }
.reveal-delay-4{ transition-delay: .4s; }

/* -------------------------------------------------------------
   4. NAVBAR
------------------------------------------------------------- */
.navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: background var(--speed-med) var(--ease), padding var(--speed-med) var(--ease), box-shadow var(--speed-med) var(--ease);
}
.navbar.is-scrolled{
  background: rgba(10,10,10,0.95);
  padding: 16px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}
.navbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo span{ color: var(--red); }
.logo img,
.auth-logo img,
.admin-brand img{
  max-width: 100%;
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-links{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
  margin-right: auto;
}
.nav-links a{
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--speed-fast) var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after{ width: 100%; }
.nav-links a.active{ color: var(--red); }

/* Products dropdown */
.nav-item-dropdown{
  position: relative;
}
.dropdown-trigger{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dropdown-trigger .caret{
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--speed-fast) var(--ease);
}
.nav-item-dropdown:hover .dropdown-trigger .caret{
  transform: rotate(225deg);
  margin-top: 3px;
}

.dropdown-menu{
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--black);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 0;
  box-shadow: var(--shadow-card-hover);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease), visibility var(--speed-fast) var(--ease);
  z-index: 50;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.is-open .dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a{
  display: block;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease), padding-left var(--speed-fast) var(--ease);
}
.dropdown-menu a:hover{
  background: rgba(225,6,0,0.12);
  color: var(--red);
  padding-left: 28px;
}
.dropdown-menu a::after{ display: none; } /* cancel the underline effect inherited from .nav-links a */

/* Mobile: dropdown becomes an inline expandable list inside the slide-in menu */
@media (max-width: 900px){
  .nav-item-dropdown{ width: 100%; }
  .dropdown-trigger{ width: 100%; justify-content: space-between; }
  .dropdown-menu{
    position: static;
    top: auto; left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height var(--speed-med) var(--ease);
  }
  .nav-item-dropdown.is-open .dropdown-menu{
    max-height: 300px;
  }
  .dropdown-menu a{ padding: 10px 0 10px 14px; }
}

.nav-cta{ display:flex; align-items:center; gap: 18px; }
.nav-cta .btn{ padding: 12px 26px; font-size: 0.74rem; }

.hamburger{
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1100;
}
.hamburger span{
  height: 2px;
  background: var(--white);
  width: 100%;
  transition: transform var(--speed-fast) var(--ease), opacity var(--speed-fast) var(--ease);
}
.hamburger.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2){ opacity: 0; }
.hamburger.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* On non-hero (light) inner pages, navbar needs solid bg from the start */
.navbar.solid{
  background: var(--black);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

/* -------------------------------------------------------------
   5. AUTH & ADMIN SHELLS
------------------------------------------------------------- */
.auth-page,
.admin-page{
  margin: 0;
  background: #f5f5f5;
  color: #111;
  font-family: var(--font-body);
}

.auth-shell{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(225,6,0,0.28) 0, transparent 32%),
    linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.auth-shell::before,
.auth-shell::after{
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,0.12);
  transform: rotate(25deg);
}

.auth-shell::before{
  left: -120px;
  bottom: -140px;
}

.auth-shell::after{
  right: -120px;
  top: -140px;
}

.auth-brand{
  margin-bottom: 24px;
}

.auth-logo{
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-family: var(--font-display);
}

.auth-logo span{
  color: var(--red);
}

.auth-card{
  width: 100%;
  max-width: 460px;
  padding: 32px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  border-top: 4px solid var(--red);
  position: relative;
}

.auth-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(225,6,0,0.08), transparent 45%);
}

.admin-sidebar{
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--black) 0%, #151515 100%);
  color: var(--white);
  padding: 32px 24px;
  box-shadow: 6px 0 24px rgba(0,0,0,0.18);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.admin-shell{
  display: flex;
  min-height: 100vh;
}

.admin-brand{
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.admin-nav-links{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-nav-links a,
.admin-logout button{
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-nav-links a{
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  transition: background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}

.admin-nav-links a:hover,
.admin-nav-links a:focus-visible{
  color: var(--white);
  background: rgba(225,6,0,0.16);
}

.admin-logout{
  margin-top: auto;
  display: flex;
  align-items: center;
}

.admin-main{
  flex: 1;
  padding: 40px 32px;
  margin-left: 260px;
  max-width: calc(100% - 260px);
}

.admin-alert{
  background: linear-gradient(90deg, rgba(225,6,0,0.08), rgba(225,6,0,0.03));
  color: #7a120e;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(225,6,0,0.16);
}

.auth-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form-label{
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.auth-form-input{
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(10,10,10,0.16);
  border-radius: 6px;
  background: #fafafa;
  color: var(--black);
  font-size: 0.95rem;
  transition: border-color var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}

.auth-form-input:focus{
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.12);
  background: var(--white);
}

.auth-form-error{
  color: var(--red);
  font-size: 0.82rem;
}

.auth-form-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.auth-remember{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-mid);
  font-size: 0.9rem;
}

.auth-remember input{
  width: 15px;
  height: 15px;
  accent-color: var(--red);
}

.auth-link{
  color: var(--red);
  font-size: 0.9rem;
  text-decoration: none;
}

.auth-link:hover{
  text-decoration: underline;
}

.auth-submit-btn{
  width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--red) 0%, #ff2b1f 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
}

.auth-submit-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(225,6,0,0.25);
}

/* -------------------------------------------------------------
   6. ADMIN UI
------------------------------------------------------------- */
.admin-page-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-page-header h2,
.admin-card-title{
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
}

.admin-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.admin-stat-card,
.admin-card{
  background: var(--white);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.admin-stat-card{
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-stat-label{
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.admin-stat-value{
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--black);
}

.admin-card{
  overflow: hidden;
}

.admin-card-header,
.admin-card-body{
  padding: 20px 22px;
}

.admin-card-header{
  border-bottom: 1px solid rgba(10,10,10,0.08);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
}

.admin-list-item{
  padding: 12px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.admin-list-item:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-empty{
  padding: 20px 0;
  text-align: center;
  color: var(--gray-mid);
}

.admin-filter-bar{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}

.admin-input,
.admin-select,
.admin-textarea{
  width: 100%;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 7px;
  border: 1px solid rgba(10,10,10,0.14);
  background: #fcfcfc;
  color: var(--black);
  font-size: 0.95rem;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus{
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.12);
}

.admin-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}

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

.admin-btn-primary{
  background: linear-gradient(90deg, var(--red) 0%, #ff2b1f 100%);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(225,6,0,0.18);
}

.admin-btn-secondary{
  background: var(--white);
  color: var(--black);
  border-color: rgba(10,10,10,0.14);
}

.admin-btn-danger{
  background: #fff2f0;
  color: #a22414;
  border-color: rgba(162,36,20,0.18);
}

.admin-table-wrap{
  overflow-x: auto;
}

.admin-table{
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td{
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}

.admin-table th{
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.admin-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-inline-form{
  display: inline-block;
}

.admin-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-form-full{
  grid-column: 1 / -1;
}

.admin-form-label{
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.admin-file-input{
  padding: 10px 12px;
}

.admin-check-row{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-mid);
  font-size: 0.95rem;
}

.admin-check-row input{
  accent-color: var(--red);
}

.admin-form-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

@media (max-width: 900px){
  .admin-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-form-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .admin-grid{
    grid-template-columns: 1fr;
  }

  .admin-page-header{
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-filter-bar{
    flex-direction: column;
    align-items: stretch;
  }

  .admin-btn,
  .admin-input,
  .admin-select{
    width: 100%;
  }
}

/* -------------------------------------------------------------
   7. FRONTEND PAGE SHELLS
------------------------------------------------------------- */
.page-shell{
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
  min-height: 100vh;
}

.page-intro{
  max-width: 760px;
  margin-bottom: 34px;
  padding-top: 12px;
}

.page-intro h1{
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  margin-bottom: 10px;
  color: var(--black);
}

.page-intro p{
  color: var(--gray-mid);
  font-size: 1rem;
}

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

.product-card,
.contact-info-card,
.contact-form-card,
.page-category-card{
  background: var(--white);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  overflow: hidden;
}

.product-card img,
.page-category-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card-body,
.contact-info-card,
.contact-form-card,
.category-content{
  padding: 22px;
}

.product-chip{
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(225,6,0,0.08);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3,
.page-category-card h3{
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--black);
  text-transform: none;
}

.product-card p,
.page-category-card p,
.contact-info-card p,
.contact-list li{
  color: var(--gray-mid);
}

.product-card-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.page-empty{
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(10,10,10,0.14);
  border-radius: 10px;
  color: var(--gray-mid);
  background: #fafafa;
}

.page-pagination{
  margin-top: 24px;
}

.page-pagination nav{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-pagination a,
.page-pagination span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(10,10,10,0.12);
  color: var(--black);
  text-decoration: none;
}

.page-pagination .page-current,
.page-pagination .active{
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

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

.contact-shell{
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: start;
  padding-top: 10px;
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.map-frame{
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(10,10,10,0.08);
}

.map-frame iframe{
  display: block;
  width: 100%;
  min-height: 220px;
  border: 0;
}

@media (max-width: 900px){
  .product-grid,
  .page-category-grid,
  .contact-shell{
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   8. HERO (HOME)
------------------------------------------------------------- */
.hero{
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.72) 55%, rgba(10,10,10,0.92) 100%);
  z-index: 1;
}
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-content .eyebrow{ color: var(--red); }
.hero-content h1{
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  margin-bottom: 22px;
}
.hero-content h1 .accent{ color: var(--red); }
.hero-content p{
  font-size: 1.1rem;
  max-width: 520px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 38px;
}
.hero-actions{ display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue{
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.scroll-cue .line{
  width: 1px; height: 34px;
  background: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after{
  content:"";
  position: absolute;
  top:-100%; left:0; width:100%; height:100%;
  background: var(--red);
  animation: scrollLine 1.8s infinite var(--ease);
}
@keyframes scrollLine{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}

/* Page hero (non-home pages) */
.page-hero{
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.page-hero-img{
  position: absolute; inset: 0;
}
.page-hero-img img{ width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,10,10,0.92) 20%, rgba(225,6,0,0.35) 100%);
}
.page-hero .container{ position: relative; z-index: 2; padding-top: 120px; padding-bottom: 64px; }
.page-hero .eyebrow{ color: var(--red); }
.page-hero h1{ font-size: clamp(2.2rem, 5vw, 3.6rem); }
.breadcrumb{
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.breadcrumb a{ color: rgba(255,255,255,0.7); }
.breadcrumb a:hover{ color: var(--red); }
.breadcrumb .sep{ margin: 0 8px; }
.breadcrumb .current{ color: var(--red); }

/* -------------------------------------------------------------
   6. CATEGORIES (HOME)
------------------------------------------------------------- */
.cat-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card{
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%);
}
.cat-card img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--speed-slow) var(--ease);
}
.cat-card::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.05) 30%, rgba(10,10,10,0.92) 100%);
  transition: background var(--speed-med) var(--ease);
}
.cat-card:hover img{ transform: scale(1.1); }
.cat-card:hover::after{ background: linear-gradient(180deg, rgba(225,6,0,0.18) 0%, rgba(10,10,10,0.95) 100%); }
.cat-info{
  position: absolute;
  left: 22px; bottom: 22px;
  z-index: 2;
  color: var(--white);
}
.cat-info .num{
  display: block;
  font-size: 0.72rem;
  color: var(--red);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.cat-info h3{ font-size: 1.3rem; }
.cat-info .arrow{
  display: inline-flex;
  margin-top: 10px;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  align-items: center; justify-content: center;
  transition: background var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease);
}
.cat-card:hover .arrow{ background: var(--red); border-color: var(--red); }

/* -------------------------------------------------------------
   7. PRODUCT CARDS (shared: home featured + products grid + related)
------------------------------------------------------------- */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card{
  background: var(--white);
  border: 1px solid #ececec;
  transition: box-shadow var(--speed-med) var(--ease), transform var(--speed-med) var(--ease), border-color var(--speed-med) var(--ease);
}
.product-card:hover{
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
  border-color: transparent;
}
.product-thumb{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--gray-light);
}
.product-thumb img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--speed-slow) var(--ease);
}
.product-card:hover .product-thumb img{ transform: scale(1.08); }
.product-badge{
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);
  z-index: 2;
}
.product-quick{
  position: absolute;
  inset: auto 14px 14px 14px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
}
.product-card:hover .product-quick{ opacity: 1; transform: translateY(0); }
.product-body{ padding: 22px; }
.product-cat{
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
}
.product-body h3{
  font-size: 1.02rem;
  margin: 8px 0 10px;
  text-transform: none;
  letter-spacing: 0;
}
.product-price-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.price{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.price .old{
  text-decoration: line-through;
  color: var(--gray-mid);
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 8px;
}
.view-link{
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--speed-fast) var(--ease), gap var(--speed-fast) var(--ease);
}
.view-link:hover{ color: var(--red); gap: 10px; }

/* -------------------------------------------------------------
   8. WHY CHOOSE US
------------------------------------------------------------- */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
}
.feature-item{
  background: var(--black);
  padding: 48px 34px;
  transition: background var(--speed-med) var(--ease);
}
.feature-item:hover{ background: #141414; }
.feature-icon{
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background var(--speed-fast) var(--ease);
}
.feature-item:hover .feature-icon{ background: var(--red); }
.feature-icon svg{ width: 24px; height: 24px; stroke: var(--red); transition: stroke var(--speed-fast) var(--ease); }
.feature-item:hover .feature-icon svg{ stroke: var(--white); }
.feature-item h3{ font-size: 1.1rem; color: var(--white); margin-bottom: 10px; }
.feature-item p{ color: rgba(255,255,255,0.6); font-size: 0.92rem; }

/* -------------------------------------------------------------
   9. STATS
------------------------------------------------------------- */
.stats-band{
  background: var(--red);
  color: var(--white);
  padding: 64px 0;
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stats-grid .stat + .stat{ border-left: 1px solid rgba(255,255,255,0.3); }
.stat .num{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  display: block;
}
.stat .label{
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 6px;
}

/* -------------------------------------------------------------
   10. TESTIMONIALS
------------------------------------------------------------- */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card{
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimonial-card .stars{ color: var(--red); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 18px; }
.testimonial-card p{ color: #3a3a3a; font-size: 0.96rem; margin-bottom: 24px; }
.testi-person{ display: flex; align-items: center; gap: 14px; }
.testi-person img{ width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-person h4{ font-size: 0.9rem; text-transform: none; letter-spacing: 0; }
.testi-person span{ font-size: 0.78rem; color: var(--gray-mid); }

/* -------------------------------------------------------------
   11. CTA BANNER
------------------------------------------------------------- */
.cta-banner{
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 110px 0;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before{
  content: "";
  position: absolute;
  top: 0; left: -10%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, rgba(225,6,0,0.25), transparent 70%);
}
.cta-banner h2{
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 760px;
  margin: 0 auto 18px;
  position: relative; z-index: 1;
}
.cta-banner p{
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative; z-index: 1;
}
.cta-banner .hero-actions{ justify-content: center; position: relative; z-index: 1; }

/* -------------------------------------------------------------
   12. FOOTER
------------------------------------------------------------- */
.footer{
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding-top: 80px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand .logo{ margin-bottom: 18px; display: inline-block; }
.footer-brand p{ font-size: 0.9rem; max-width: 320px; margin-bottom: 24px; }
.social-row{ display: flex; gap: 12px; }
.social-row a{
  width: 38px; height: 38px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease);
}
.social-row a:hover{ background: var(--red); border-color: var(--red); }
.social-row svg{ width: 16px; height: 16px; stroke: var(--white); }

.footer-col h4{
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.footer-col ul li{ margin-bottom: 13px; }
.footer-col ul a{
  font-size: 0.9rem;
  transition: color var(--speed-fast) var(--ease), padding-left var(--speed-fast) var(--ease);
}
.footer-col ul a:hover{ color: var(--red); padding-left: 4px; }
.footer-col p{ font-size: 0.9rem; margin-bottom: 14px; }

.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 0.82rem;
}
.footer-bottom a{ margin-left: 24px; }
.footer-bottom a:hover{ color: var(--red); }

/* -------------------------------------------------------------
   13. PRODUCTS PAGE
------------------------------------------------------------- */
.filter-bar{
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.filter-group{ display: flex; flex-direction: column; gap: 8px; min-width: 160px; }
.filter-group.grow{ flex: 1; min-width: 220px; }
.filter-group label{
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 700;
}
.filter-group select,
.filter-group input[type="text"]{
  border: 1px solid #e2e2e2;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  background: var(--white);
}
.filter-group select:focus,
.filter-group input:focus{ border-color: var(--red); }
.search-box{ position: relative; }
.search-box input{ width: 100%; padding-right: 40px; }
.search-box svg{
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke: var(--gray-mid);
}
.price-range{ display: flex; align-items: center; gap: 10px; }
.price-range input[type="range"]{ accent-color: var(--red); width: 130px; }
.price-range .val{ font-size: 0.8rem; font-weight: 700; font-family: var(--font-display); white-space: nowrap; }

.toolbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 26px;
}
.toolbar .count{ font-size: 0.9rem; color: var(--gray-mid); }
.toolbar .sort{ display: flex; align-items: center; gap: 10px; }
.toolbar select{ border: 1px solid #e2e2e2; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.85rem; }

.pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 64px;
}
.pagination a{
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #e2e2e2;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease);
}
.pagination a.active,
.pagination a:hover{ background: var(--red); color: var(--white); border-color: var(--red); }
.pagination a.next{ width: auto; padding: 0 18px; gap: 8px; }

/* -------------------------------------------------------------
   14. PRODUCT DETAILS PAGE
------------------------------------------------------------- */
.pd-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
.pd-gallery{ position: sticky; top: 120px; }
.pd-main-img{
  background: var(--gray-light);
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
}
.pd-main-img img{ width: 100%; height: 100%; object-fit: cover; transition: opacity var(--speed-fast) var(--ease); }
.pd-thumbs{ display: flex; gap: 14px; }
.pd-thumbs img{
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--gray-light);
  transition: border-color var(--speed-fast) var(--ease), opacity var(--speed-fast) var(--ease);
  opacity: 0.7;
}
.pd-thumbs img:hover{ opacity: 1; }
.pd-thumbs img.active{ border-color: var(--red); opacity: 1; }

.pd-info .product-cat{ font-size: 0.74rem; }
.pd-info h1{
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 12px 0 14px;
}
.pd-rating{ display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.pd-rating .stars{ color: var(--red); letter-spacing: 2px; }
.pd-rating span{ font-size: 0.85rem; color: var(--gray-mid); }
.pd-price{ font-size: 1.8rem; margin-bottom: 22px; }
.pd-price .old{ font-size: 1.1rem; }
.pd-desc{ color: #4a4a4a; margin-bottom: 28px; font-size: 0.96rem; }

.pd-option{ margin-bottom: 26px; }
.pd-option > label{
  display: block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.size-row,.color-row{ display: flex; gap: 12px; flex-wrap: wrap; }
.size-swatch{
  width: 50px; height: 44px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.size-swatch:hover{ border-color: var(--black); }
.size-swatch.active{ background: var(--black); color: var(--white); border-color: var(--black); }
.color-swatch{
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.color-swatch.active::after{
  content:"";
  position: absolute;
  inset: -5px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
}

.qty-row{ display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.qty-stepper{
  display: flex; align-items: center;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
}
.qty-stepper button{
  width: 40px; height: 44px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
}
.qty-stepper button:hover{ color: var(--red); }
.qty-stepper input{
  width: 44px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-family: var(--font-display);
}

.pd-actions{ display: flex; gap: 16px; margin-bottom: 30px; }
.pd-actions .btn{ flex: 1; }
.pd-meta{ border-top: 1px solid #eee; padding-top: 22px; font-size: 0.86rem; color: var(--gray-mid); }
.pd-meta div{ margin-bottom: 8px; }
.pd-meta strong{ color: var(--black); font-weight: 700; width: 90px; display: inline-block; }

.pd-tabs{ margin-top: 90px; }
.tab-headers{
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 36px;
}
.tab-headers button{
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-mid);
  border-bottom: 2px solid transparent;
  transition: color var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease);
}
.tab-headers button:hover{ color: var(--black); }
.tab-headers button.active{ color: var(--red); border-color: var(--red); }
.tab-panel{ display: none; }
.tab-panel.active{ display: block; }
.tab-panel ul li{ position: relative; padding-left: 24px; margin-bottom: 12px; color: #4a4a4a; }
.tab-panel ul li::before{ content:""; position: absolute; left:0; top: 9px; width: 10px; height: 2px; background: var(--red); }

.spec-table{ width: 100%; border-collapse: collapse; }
.spec-table tr{ border-bottom: 1px solid #eee; }
.spec-table td{ padding: 14px 0; font-size: 0.92rem; }
.spec-table td:first-child{ font-weight: 700; width: 220px; color: var(--black); }
.spec-table td:last-child{ color: var(--gray-mid); }

.review-card{ display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid #eee; }
.review-card img{ width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.review-head{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-head h4{ text-transform: none; font-size: 0.95rem; letter-spacing: 0; }
.review-head .stars{ color: var(--red); font-size: 0.8rem; }
.review-card p{ color: #4a4a4a; font-size: 0.92rem; }
.review-date{ font-size: 0.76rem; color: var(--gray-mid); margin-top: 8px; display:block; }

/* -------------------------------------------------------------
   15. ABOUT PAGE
------------------------------------------------------------- */
.story-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.story-media{ position: relative; }
.story-media img{ border-radius: var(--radius-md); width: 100%; }
.story-media .floating-stat{
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--red);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  text-align: center;
}
.story-media .floating-stat .num{ font-family: var(--font-display); font-size: 2rem; font-weight: 800; display:block; }
.story-media .floating-stat .label{ font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.story-text p{ color: #4a4a4a; margin-bottom: 18px; }

.mv-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card{
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--red);
}
.mv-card h3{ font-size: 1.3rem; margin-bottom: 16px; }
.mv-card p{ color: var(--gray-mid); font-size: 0.95rem; }

.achieve-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.achieve-item .num{ font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--red); display: block; }
.achieve-item .label{ font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; color: rgba(255,255,255,0.7); }

.team-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card{ text-align: center; }
.team-photo{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  aspect-ratio: 3/4;
  background: var(--gray-light);
}
.team-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform var(--speed-slow) var(--ease); }
.team-card:hover .team-photo img{ transform: scale(1.08); }
.team-social{
  position: absolute;
  bottom: 16px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
}
.team-card:hover .team-social{ opacity: 1; transform: translateY(0); }
.team-social a{
  width: 34px; height: 34px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.team-social svg{ width: 14px; height: 14px; stroke: var(--white); }
.team-card h3{ font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.team-card span{ font-size: 0.8rem; color: var(--red); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; }

.timeline{ position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before{
  content: "";
  position: absolute;
  left: 110px;
  top: 0; bottom: 0;
  width: 2px;
  background: #e6e6e6;
}
.timeline-item{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  position: relative;
  padding-bottom: 50px;
}
.timeline-item .year{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-align: right;
  color: var(--red);
}
.timeline-item .dot{
  position: absolute;
  left: 105px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}
.timeline-item .content{ padding-left: 26px; }
.timeline-item .content h4{ font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.timeline-item .content p{ color: var(--gray-mid); font-size: 0.92rem; }

/* -------------------------------------------------------------
   16. CONTACT PAGE
------------------------------------------------------------- */
.contact-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.contact-card{
  background: var(--white);
  padding: 38px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
}
.contact-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.contact-card .icon{
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.contact-card .icon svg{ width: 24px; height: 24px; stroke: var(--red); }
.contact-card h3{ font-size: 1rem; margin-bottom: 8px; }
.contact-card p{ color: var(--gray-mid); font-size: 0.92rem; }

.contact-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
.form-group{ margin-bottom: 22px; }
.form-group label{
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea{
  width: 100%;
  border: 1.5px solid #e2e2e2;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: border-color var(--speed-fast) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus{ border-color: var(--red); }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-status{ margin-top: 16px; font-size: 0.88rem; font-weight: 600; display: none; }
.form-status.show{ display: block; }
.form-status.success{ color: #1a8a3a; }

.map-wrap{
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--gray-dark);
}
.map-placeholder{
  width: 100%; height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  gap: 14px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 40px),
    var(--gray-dark);
}
.map-placeholder svg{ width: 40px; height: 40px; stroke: var(--red); }
.map-placeholder span{ font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.05em; }

.faq-list{ max-width: 820px; margin: 0 auto; }
.faq-item{
  border-bottom: 1px solid #eaeaea;
}
.faq-q{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: left;
}
.faq-q .plus{
  width: 22px; height: 22px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-q .plus::before,
.faq-q .plus::after{
  content: "";
  position: absolute;
  background: var(--red);
  transition: transform var(--speed-fast) var(--ease);
}
.faq-q .plus::before{ left:0; top:50%; width:100%; height:2px; transform: translateY(-50%); }
.faq-q .plus::after{ top:0; left:50%; height:100%; width:2px; transform: translateX(-50%); }
.faq-item.is-open .plus::after{ transform: translateX(-50%) rotate(90deg); opacity:0; }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed-med) var(--ease);
}
.faq-a p{ padding: 0 4px 24px; color: var(--gray-mid); font-size: 0.92rem; max-width: 680px; }

/* -------------------------------------------------------------
   17. RESPONSIVE
------------------------------------------------------------- */
@media (max-width: 1180px){
  .cat-grid{ grid-template-columns: repeat(3, 1fr); }
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .achieve-grid{ grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 50px; }
  .story-grid{ grid-template-columns: 1fr; }
  .story-media{ margin-bottom: 20px; }
  .pd-layout{ grid-template-columns: 1fr; }
  .pd-gallery{ position: static; }
  .contact-layout{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .nav-links{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 80vw);
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 44px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform var(--speed-med) var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-cta{ display: none; }
  .hamburger{ display: flex; }

  .cat-grid{ grid-template-columns: repeat(2, 1fr); }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .feature-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr; gap: 30px; }
  .stats-grid .stat + .stat{ border-left: none; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 24px; }
  .testimonial-grid{ grid-template-columns: 1fr; }
  .mv-grid{ grid-template-columns: 1fr; }
  .contact-cards{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .filter-bar{ flex-direction: column; align-items: stretch; margin-top: -40px; }
  .filter-group.grow{ min-width: 0; }
}

@media (max-width: 640px){
  .section{ padding: 70px 0; }
  .cat-grid{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-body{ padding: 14px; }
  .achieve-grid{ grid-template-columns: 1fr 1fr; }
  .team-grid{ grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .timeline::before{ left: 14px; }
  .timeline-item{ grid-template-columns: 1fr; }
  .timeline-item .year{ text-align: left; }
  .timeline-item .dot{ left: 9px; top: 30px; }
  .timeline-item .content{ padding-left: 36px; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; gap: 14px; text-align: center; }
  .footer-bottom a{ margin-left: 0; margin-right: 16px; }
  .pd-actions{ flex-direction: column; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ justify-content: center; }
}

@media (max-width: 420px){
  .product-grid{ grid-template-columns: 1fr; }
  .achieve-grid{ grid-template-columns: 1fr; }
}
