/* ===== SABII AUTO — HOME CSS ===== */

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-lines {
  width: 100%;
  height: 100%;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at 80% 50%, rgba(240,90,0,0.08), transparent 65%);
  top: 0; right: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 6rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  animation: fadeSlide 0.8s 0.1s both;
}

.tag-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  margin-bottom: 1.75rem;
  animation: fadeSlide 0.8s 0.2s both;
}

.hero-sub {
  color: var(--cream-dim);
  font-size: 1.05rem;
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  animation: fadeSlide 0.8s 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlide 0.8s 0.4s both;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BADGE RING */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlide 1s 0.5s both;
}

.hero-badge-ring {
  position: relative;
  width: 340px;
  height: 340px;
}

.badge-track {
  position: absolute;
  inset: 0;
  animation: rotateSlow 18s linear infinite;
}

.badge-item {
  position: absolute;
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--orange);
  background: var(--surface);
  border: 1px solid rgba(240,90,0,0.25);
  padding: 0.4rem 0.8rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  white-space: nowrap;
}

.bi1 { top: 0; left: 50%; transform: translateX(-50%); }
.bi2 { right: 0; top: 50%; transform: translateY(-50%); }
.bi3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.bi4 { left: 0; top: 50%; transform: translateY(-50%); }

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Counter-rotate text */
.badge-item { animation: counterRotate 18s linear infinite; }

@keyframes counterRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.bi1 { transform: translateX(-50%); animation: counterRotateCenter1 18s linear infinite; }
.bi2 { transform: translateY(-50%); animation: counterRotateCenter2 18s linear infinite; }
.bi3 { transform: translateX(-50%); animation: counterRotateCenter3 18s linear infinite; }
.bi4 { transform: translateY(-50%); animation: counterRotateCenter4 18s linear infinite; }

@keyframes counterRotateCenter1 { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(-360deg); } }
@keyframes counterRotateCenter2 { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(-360deg); } }
@keyframes counterRotateCenter3 { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(-360deg); } }
@keyframes counterRotateCenter4 { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(-360deg); } }

.badge-center {
  position: absolute;
  inset: 50px;
  background: var(--surface);
  border: 2px solid rgba(240,90,0,0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 0 60px rgba(240,90,0,0.1), inset 0 0 40px rgba(0,0,0,0.5);
}

.badge-icon {
  width: 64px;
  height: 64px;
}

.badge-icon svg { width: 100%; height: 100%; }

.badge-center span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-align: center;
  line-height: 1.2;
}

/* TICKER */
.hero-ticker {
  position: relative;
  z-index: 1;
  background: var(--orange);
  padding: 0.9rem 0;
  overflow: hidden;
  margin-top: auto;
}

.ticker-inner {
  display: flex;
  gap: 2.5rem;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.ticker-inner span {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
}

.ticker-inner .tsep { color: rgba(255,255,255,0.4); font-size: 0.7rem; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* STATS BAR */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-block {
  flex: 1;
  text-align: center;
  padding: 1rem;
}

.stat-n {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  display: inline;
}

.stat-suf {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--orange);
}

.stat-block p {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.4rem;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* SERVICES OVERVIEW */
.services-overview {
  padding: 8rem 0;
  background: var(--bg);
}

.so-header {
  margin-bottom: 4rem;
}

.so-header h2 { margin: 0.5rem 0 1rem; }

.so-header p {
  color: var(--cream-dim);
  font-size: 1.05rem;
  max-width: 460px;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.sc-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.sc-card:hover { background: var(--surface2); }

.sc-card:hover .sc-accent-bar { width: 100%; }
.sc-card:hover .scc-icon { color: var(--orange); }

.sc-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}

.scc-icon {
  width: 44px;
  height: 44px;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.scc-icon svg { width: 100%; height: 100%; }

.sc-card h3 {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.sc-card p {
  color: var(--cream-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.sc-link {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.sc-link:hover { gap: 0.75rem; }

.sc-num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.04em;
  line-height: 1;
}

/* WHY US */
.why-strip {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: var(--bg2);
}

.why-bg {
  position: absolute;
  inset: 0;
}

.why-bg svg { width: 100%; height: 100%; }

.why-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-text h2 { margin: 0.5rem 0 1.25rem; }
.why-text p { color: var(--cream-dim); margin-bottom: 2rem; line-height: 1.75; }

.why-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pillar {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}

.pillar:hover { border-color: rgba(240,90,0,0.3); background: rgba(240,90,0,0.04); }

.pillar-icon {
  font-size: 1.25rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.pillar h4 {
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.pillar p { font-size: 0.875rem; color: var(--cream-dim); line-height: 1.6; }

/* PROJECTS PREVIEW */
.projects-preview {
  padding: 8rem 0;
  background: var(--bg);
}

.pp-header { margin-bottom: 3.5rem; }

.pp-list {
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.pp-item {
  display: grid;
  grid-template-columns: 140px 1fr auto auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s;
  position: relative;
}

.pp-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--orange);
  transition: width 0.3s;
}

.pp-item:hover { background: var(--surface2); }
.pp-item:hover::before { width: 3px; }
.pp-item:hover .pp-arrow { color: var(--orange); transform: translateX(6px); }

.pp-item:last-child { border-bottom: none; }

.pp-cat {
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(240,90,0,0.25);
  background: rgba(240,90,0,0.06);
  white-space: nowrap;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.pp-item h3 {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.pp-item p { color: var(--cream-dim); font-size: 0.875rem; max-width: 360px; }

.pp-tags { display: flex; gap: 0.5rem; }

.pp-tags span {
  font-family: var(--font-cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  color: var(--cream-dim);
}

.pp-arrow {
  font-size: 1.2rem;
  color: var(--steel-light);
  transition: transform 0.2s, color 0.2s;
}

.pp-cta { text-align: center; }

/* TESTIMONIALS */
.testimonials {
  padding: 8rem 0;
  background: var(--bg2);
}

.section-heading-row { margin-bottom: 4rem; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  transition-delay: calc(var(--i,0) * 0.1s);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.testi-card:hover { border-color: rgba(240,90,0,0.3); transform: translateY(-6px); }

.testi-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(240,90,0,0.06);
  line-height: 1;
  pointer-events: none;
}

.testi-stars {
  color: var(--orange);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.testi-text {
  color: var(--cream-dim);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cream);
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--cream-dim);
}

/* CTA BAND */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
}

.cta-band-bg svg { width: 100%; height: 100%; }

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  flex-wrap: wrap;
}

.btn-cta-band {
  background: #fff;
  color: var(--orange);
  font-size: 1rem;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  white-space: nowrap;
}

.btn-cta-band:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 3rem); }
  .hero-visual { display: none; }
  .services-cards { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .stats-row { flex-wrap: wrap; gap: 0; }
  .stat-block { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .stat-divider { display: none; }
  .services-cards { grid-template-columns: 1fr; }
  .pp-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .pp-item p, .pp-tags { display: none; }
  .pp-arrow { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .hero-title { font-size: 3rem; }
}
