/* ==========================================================================
   TINCUBE — Brand Style Guide v2
   Primary:  Navy  #1B3A6B  |  Red  #E53935
   Accent:   Silver #A8B4C0  |  Light #F4F6F9
   ========================================================================== */

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

:root {
  --navy:    #1B3A6B;
  --navy-dk: #112549;
  --navy-lt: #2C5095;
  --red:     #E53935;
  --red-dk:  #C62828;
  --silver:  #A8B4C0;
  --light:   #F4F6F9;
  --white:   #FFFFFF;
  --text:    #1A1A2E;
  --muted:   #5A6A7E;
  --border:  #DDE3EC;
  --radius:  8px;
  --max-w:   1200px;
  --font:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --shadow:  0 2px 16px rgba(27,58,107,.10);
  --shadow-lg: 0 8px 40px rgba(27,58,107,.15);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }

h1,h2,h3,h4 { line-height: 1.2; font-weight: 800; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--muted); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section    { padding: 80px 0; }
.section--navy  { background: var(--navy); }
.section--navy  h2, .section--navy h3 { color: #fff; }
.section--navy  p { color: rgba(255,255,255,.7); }
.section--light { background: var(--light); }

/* Label above headings */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.eyebrow::before { content: '— '; }

/* Red underline accent */
.heading-line {
  display: block; width: 44px; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  border-radius: 2px; margin: 12px 0 28px;
}
.heading-line--center { margin-left: auto; margin-right: auto; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy-dk);
  border-bottom: 2px solid var(--red);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--red); border-radius: 5px;
  font-size: 1rem; font-weight: 900; color: #fff; letter-spacing: -1px;
}
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__logo-name { font-size: 1.1rem; font-weight: 900; color: #fff; letter-spacing: 0.06em; }
.nav__logo-sub  { font-size: 0.6rem; font-weight: 600; color: var(--red); letter-spacing: 0.12em; text-transform: uppercase; }
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: 0.02em; transition: color .2s; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav__links a:hover, .nav__links a.active { color: #fff; border-bottom-color: var(--red); }
.nav__cta {
  background: var(--red); color: #fff;
  padding: 10px 22px; border-radius: var(--radius);
  font-size: 0.83rem; font-weight: 700; letter-spacing: 0.02em;
  transition: background .2s, transform .1s; white-space: nowrap;
}
.nav__cta:hover { background: var(--red-dk); transform: translateY(-1px); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__hamburger span { width: 24px; height: 2px; background: #ccc; border-radius: 2px; }

/* ===================== HERO ===================== */
.hero {
  background: var(--navy-dk);
  padding: 72px 0 0;
  overflow: hidden; position: relative;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232C5095' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none; opacity: .5;
}
.hero__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero__left { padding-bottom: 72px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(229,57,53,.15); border: 1px solid rgba(229,57,53,.35);
  color: #ff8a80; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero__badge-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.hero__title { color: #fff; margin-bottom: 16px; }
.hero__title em { color: var(--red); font-style: normal; display: block; }
.hero__sub { color: rgba(255,255,255,.65); font-size: 1rem; max-width: 480px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
  background: var(--red); color: #fff;
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(229,57,53,.35);
}
.btn-primary:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(229,57,53,.4); }
.btn-secondary {
  border: 1.5px solid rgba(255,255,255,.35); color: #fff;
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.hero__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px;
}
.hero__kpi { text-align: center; padding: 0 12px; }
.hero__kpi:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); }
.hero__kpi-num   { font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1; }
.hero__kpi-num span { color: var(--red); }
.hero__kpi-label { font-size: 0.68rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; }

.hero__right { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hero__img-wrap {
  width: 100%; border-radius: 12px 12px 0 0; overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero__img-wrap img { width: 100%; display: block; }
.hero__img-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
}

/* ===================== TRUST BAR ===================== */
.trust-bar { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); padding: 14px 28px; }
.trust-bar__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,.8);
  padding: 6px 28px;
}
.trust-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.15); }
.trust-item__icon { font-size: 1rem; }
.trust-item strong { color: #fff; }

/* ===================== PRODUCT GRID ===================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prod-card {
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; background: var(--white);
  transition: box-shadow .25s, transform .2s;
  display: flex; flex-direction: column;
}
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.prod-card__img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  background: var(--light);
}
.prod-card__body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.prod-card__tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px;
}
.prod-card__title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.prod-card__desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.prod-card__specs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px;
}
.prod-card__spec {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  background: var(--light); color: var(--muted);
  padding: 3px 9px; border-radius: 100px; border: 1px solid var(--border);
}
.prod-card__link {
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border: 1.5px solid var(--navy); border-radius: 6px;
  transition: background .2s, color .2s; align-self: flex-start;
}
.prod-card__link:hover { background: var(--navy); color: #fff; }

/* Featured (wide) card */
.prod-card--wide { grid-column: span 2; }
.prod-card--wide .prod-card__img { aspect-ratio: 16/9; }
.prod-card--wide .prod-card__body { padding: 22px 24px 24px; }

/* ===================== FACTORY STATS ===================== */
.stats-band {
  background: var(--navy);
  padding: 56px 0;
}
.stats-band__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
}
.stat-item { text-align: center; padding: 20px 16px; }
.stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); }
.stat-item__num  { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-item__num span { color: var(--red); }
.stat-item__label { font-size: 0.7rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; line-height: 1.4; }

/* ===================== FACTORY SHOWCASE ===================== */
.factory-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.factory-imgbox { position: relative; border-radius: 10px; overflow: hidden; }
.factory-imgbox img { width: 100%; display: block; border-radius: 10px; }
.factory-imgbox__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(17,37,73,.85));
  color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 24px 16px 14px;
}
.factory-features { display: flex; flex-direction: column; gap: 20px; }
.factory-feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; background: var(--light); border-radius: 8px;
  border-left: 3px solid var(--red);
}
.factory-feat__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--navy); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.factory-feat__title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.factory-feat__desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ===================== CAPABILITIES ROW ===================== */
.caps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 24px 20px; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.cap-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cap-card__icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.cap-card__title { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.cap-card__desc  { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* ===================== WHO WE SERVE ===================== */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.serve-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 22px 20px;
  transition: background .2s, border-color .2s;
}
.serve-card:hover { background: rgba(255,255,255,.12); border-color: rgba(229,57,53,.4); }
.serve-card__emoji { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.serve-card__title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.serve-card__desc  { font-size: 0.8rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ===================== PROCESS STEPS ===================== */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--navy), var(--red));
  z-index: 0;
}
.process-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.process-step__num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: #fff;
  margin: 0 auto 14px; position: relative;
}
.process-step:last-child .process-step__num { background: var(--red); border-color: var(--red); }
.process-step__title { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.process-step__desc  { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

/* ===================== FAQ ===================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 20px 22px; background: var(--white);
}
.faq-q { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; display: flex; gap: 10px; align-items: flex-start; }
.faq-q::before { content: 'Q'; min-width: 22px; height: 22px; background: var(--red); color: #fff; border-radius: 4px; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.faq-a { font-size: 0.82rem; color: var(--muted); line-height: 1.7; padding-left: 32px; }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 60%, #1a2f5e 100%);
  padding: 72px 28px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(229,57,53,.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute; bottom: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(44,80,149,.3) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto 32px; font-size: 1.02rem; }
.cta-banner__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-banner__note { margin-top: 18px; font-size: 0.75rem; color: rgba(255,255,255,.4); }

/* ===================== CONTACT STRIP ===================== */
.contact-strip { background: var(--light); border-top: 1px solid var(--border); padding: 36px 28px; }
.contact-strip__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.contact-info { display: flex; gap: 36px; flex-wrap: wrap; }
.contact-info__item { display: flex; align-items: center; gap: 12px; }
.contact-info__icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.contact-info__label { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-info__value { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.contact-info__value a { color: var(--navy); }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy-dk); color: rgba(255,255,255,.5); padding: 56px 28px 28px; }
.footer__top {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer__brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__brand-mark {
  width: 36px; height: 36px; background: var(--red); border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 900; color: #fff;
}
.footer__brand-name { font-size: 1.05rem; font-weight: 900; color: #fff; letter-spacing: 0.06em; }
.footer__brand-sub  { font-size: 0.58rem; color: var(--red); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer__brand-desc { font-size: 0.82rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 20px; }
.footer__col-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.82rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer__links a:hover { color: rgba(255,255,255,.9); }
.footer__bottom {
  max-width: var(--max-w); margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,.3); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card--wide { grid-column: span 1; }
  .prod-card--wide .prod-card__img { aspect-ratio: 1/1; }
  .stats-band__inner { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .process-steps::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .hero__kpis { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero__kpi:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .stats-band__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust-item:not(:last-child) { border-right: none; }
  .contact-info { flex-direction: column; gap: 16px; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .serve-grid { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr 1fr; }
  .hero__kpis { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.8rem; }
}
