/**
 * index.css — Homepage styles only
 * Requires: styles.css loaded first
 */

/* ── Hero ── */
.hero {
  position: relative;
  height: min(640px, 88vh);
  min-height: 500px;
  overflow: hidden;
  background: var(--blue-xdk);
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.slide-1 .hero-slide-bg {
  background-image:
    linear-gradient(108deg, rgba(20,32,96,0.94) 0%, rgba(43,69,163,0.78) 55%, rgba(20,32,96,0.88) 100%),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80');
}
.slide-2 .hero-slide-bg {
  background-image:
    linear-gradient(108deg, rgba(20,32,96,0.92) 0%, rgba(43,69,163,0.75) 55%, rgba(20,32,96,0.90) 100%),
    url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?w=1600&q=80');
}
.slide-3 .hero-slide-bg {
  background-image:
    linear-gradient(108deg, rgba(20,32,96,0.94) 0%, rgba(43,69,163,0.80) 55%, rgba(20,32,96,0.92) 100%),
    url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1600&q=80');
}
.hero-slide-content {
  position: relative; z-index: 3;
  height: 100%; display: flex; align-items: center;
}
.hero-text { max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,180,0,0.12);
  border: 1px solid rgba(232,180,0,0.35);
  color: var(--gold);
  padding: 5px 14px; border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-desc {
  font-size: 16px; font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.7; margin-bottom: 30px; max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Slide animations */
.hero-slide.active .hero-tag   { animation: fadeUp 0.5s ease 0.2s both; }
.hero-slide.active .hero-title { animation: fadeUp 0.55s ease 0.32s both; }
.hero-slide.active .hero-desc  { animation: fadeUp 0.55s ease 0.44s both; }
.hero-slide.active .hero-actions { animation: fadeUp 0.5s ease 0.54s both; }
/* Hero side pills */
.hero-side {
  position: absolute;
  right: 40px; top: 50%; transform: translateY(-50%);
  z-index: 10;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-pill {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center; min-width: 96px;
}
.hero-pill strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 24px; font-weight: 800; color: var(--white); line-height: 1;
}
.hero-pill span {
  font-size: 10px; font-weight: 500;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 3px; display: block;
}
/* Slider dots */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.3);
  border: none; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.hero-dot.active { width: 26px; background: var(--gold); }

/* ── Trust Strip ── */
.trust-strip {
  background: var(--blue);
  padding: 13px 0;
}
.trust-items {
  display: flex; align-items: center;
  gap: 0; overflow-x: auto; scrollbar-width: none;
}
.trust-items::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.18);
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  white-space: nowrap; flex-shrink: 0;
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }

/* ── Section Spacing ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--blue-xdk); }

/* ── Section Header ── */
.section-hd { margin-bottom: 48px; }
.section-hd.center { text-align: center; }
.section-hd.center .section-sub { margin: 14px auto 0; }
.section-hd .section-sub { margin-top: 14px; }

/* ── About Snapshot ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 44%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--white); box-shadow: var(--shadow);
}
.about-badge {
  position: absolute; top: -18px; left: -18px;
  background: var(--gold); color: var(--text);
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(232,180,0,0.4);
}
.about-badge strong {
  font-family: 'Outfit', sans-serif;
  font-size: 26px; font-weight: 800; line-height: 1;
}
.about-badge span {
  font-family: 'Outfit', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; text-align: center;
}
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-text p {
  font-size: 15.5px; color: var(--text-mid); line-height: 1.8;
}
.about-firms-box {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  display: flex; flex-direction: column; gap: 9px;
}
.firm-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.firm-item::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.astat {
  text-align: center; padding: 14px 8px;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.astat strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 24px; font-weight: 800; color: var(--blue); line-height: 1;
}
.astat span {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-lt); margin-top: 3px; display: block;
  font-family: 'Outfit', sans-serif;
}

/* ── Specializations ── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all var(--t) var(--ease);
  position: relative; overflow: hidden;
}
.spec-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.spec-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.spec-card:hover::after { transform: scaleX(1); }
.spec-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.spec-icon svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 1.8; }
.spec-card h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 9px; color: var(--text);
}
.spec-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; }

/* ── Product Cards ── */
.products-hd {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 40px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
  transition: all var(--t) var(--ease);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue-lt); }
.pc-img {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg-alt); position: relative;
}
.pc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-brand {
  position: absolute; top: 10px; left: 10px;
  background: rgba(20,32,96,0.82);
  backdrop-filter: blur(4px);
  color: white; font-family: 'Outfit', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 3px;
}
.pc-body { padding: 18px; }
.pc-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.pc-body p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.pc-footer { display: flex; align-items: center; justify-content: space-between; }
.pc-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); cursor: pointer; background: none; border: none;
  padding: 0; transition: gap var(--t);
}
.pc-link:hover { gap: 9px; }
.pc-link svg { width: 13px; height: 13px; }
.pc-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: #b07e00;
  background: rgba(232,180,0,0.1);
  border: 1px solid rgba(232,180,0,0.28);
  padding: 3px 8px; border-radius: 3px;
}

/* ── Why Choose Us ── */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--t) var(--ease);
}
.why-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(232,180,0,0.35);
  transform: translateY(-4px);
}
.why-num {
  font-family: 'Outfit', sans-serif;
  font-size: 44px; font-weight: 800;
  color: rgba(255,255,255,0.05);
  line-height: 1; margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.why-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-bottom: 14px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 9px; }
.why-card p { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.7; }
/* Section dark overrides */
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.6); }
.section-dark .label { color: rgba(255,255,255,0.45); }

/* ── Partners ── */
.partners-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  text-align: center;
  transition: all var(--t) var(--ease); cursor: pointer;
}
.partner-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.partner-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 18px; font-weight: 800;
  color: var(--text-mid); transition: color var(--t);
}
.partner-card:hover .partner-logo-text { color: var(--blue); }
.partner-role-text {
  font-family: 'Outfit', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-lt); line-height: 1.4; text-align: center;
}
.partner-arr {
  width: 18px; height: 18px; color: var(--blue);
  opacity: 0; transform: translateX(-4px);
  transition: all var(--t) var(--ease);
}
.partner-card:hover .partner-arr { opacity: 1; transform: translateX(0); }

/* ── Stats Bar ── */
.stats-bar { background: var(--blue); padding: 52px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center; padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.14);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 4.5vw, 50px);
  font-weight: 800; color: var(--white);
  line-height: 1; margin-bottom: 6px;
}
.stat-num sup { font-size: 55%; vertical-align: super; }
.stat-num.gold { color: var(--gold); }
.stat-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── CTA Box ── */
.cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; overflow: hidden; position: relative;
}
.cta-box::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
}
.cta-text { position: relative; z-index: 1; }
.cta-text .label { color: rgba(255,255,255,0.45); }
.cta-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700; color: var(--white); margin-bottom: 10px;
}
.cta-text p { font-size: 15px; color: rgba(255,255,255,0.7); max-width: 460px; line-height: 1.7; }
.cta-btns {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 1; flex-shrink: 0;
}
.btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  background: #25d366; color: white;
  padding: 12px 22px; border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em; transition: all var(--t) var(--ease);
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 5px 16px rgba(37,211,102,0.35); }
.btn-wa svg { width: 18px; height: 18px; fill: white; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .cta-box { flex-direction: column; padding: 40px 32px; text-align: center; }
  .cta-text p { margin: 0 auto; }
  .cta-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-side { display: none; }
  .products-hd { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .spec-grid, .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .hero-title { font-size: 30px; }
  .trust-item { padding: 0 16px; font-size: 11px; }
  .cta-box { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
