/* ═══════════════════════════════════════════════════════════
   SUNCONNECT — Home Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  background: url('../Gradient 1-01.png') center center / cover no-repeat;
  margin: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid #c8e8e4;
  box-shadow: 0 2px 12px rgba(55,190,175,0.15);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 200px; z-index: 1; }
.hero-content h1 {
  font-size: 20px;
  font-weight: 800;
  color: #1a2e2c;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hero-content p {
  font-size: 12px;
  color: rgba(26,46,44,0.7);
  line-height: 1.5;
  margin-bottom: 16px;
  display: none;
}
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-white {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-white:hover { background: var(--blue-dark); }
.btn-outline-white {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-white:hover { background: var(--blue); color: #fff; }
.hero-image { position: relative; z-index: 1; flex-shrink: 0; margin-right: -12px; }
.hero-image img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

/* ── PILLS ── */
.pills-row { padding: 16px 16px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.pills-row::-webkit-scrollbar { display: none; }
.pill { flex-shrink: 0; padding: 7px 16px; border-radius: 50px; border: 1.5px solid var(--border); background: var(--white); font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.15s; }
.pill.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pill:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ── SECTION ── */
.section { padding: 24px 16px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-header h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.btn-see-all { background: var(--blue-light); color: var(--blue); border: none; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; font-family: inherit; }

/* ── PRODUCT GRID ── */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card { background: var(--gray-card); border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 3 / 4; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; position: relative; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.product-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.product-img { flex: 1; overflow: hidden; position: relative; }
.product-card-overlay { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; z-index: 2; }
.product-card-action { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.95); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-secondary); box-shadow: 0 2px 8px rgba(0,0,0,0.12); transition: transform 0.15s, color 0.15s; }
.product-card-action:hover { transform: scale(1.08); color: var(--orange); }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info { padding: 11px 13px 13px; }
.product-category { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.product-name { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.product-stock-label { font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.product-stock-label.in-stock { color: #166534; }
.product-stock-label.out-of-stock { color: #991b1b; }
.product-price { font-size: 13px; font-weight: 700; color: var(--orange); }
.product-cond-chip { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-bottom: 5px; letter-spacing: 0.03em; }
.cond-new { background: #e0f2fe; color: #0369a1; }
.cond-used { background: #fef3c7; color: #92400e; }
.cond-refurbished { background: #dcfce7; color: #15803d; }
.grade-chip { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-bottom: 5px; background: #fef3c7; color: #92400e; }

/* ── CATEGORY SECTION ── */
.eyebrow { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 4px; }
.cat-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-card { flex-shrink: 0; width: 110px; border-radius: var(--radius); background: var(--gray-card); overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.cat-img { height: 80px; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-info { padding: 9px 10px 11px; }
.cat-name { font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.cat-count { font-size: 10px; color: var(--text-muted); font-weight: 500; }

/* ── STREAMLINED ── */
.streamlined { background: var(--gray-card); margin: 0 16px; border-radius: 16px; padding: 28px 20px; text-align: center; }
.streamlined h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; max-width: 280px; margin: 0 auto 24px; line-height: 1.3; }
.features-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.feature { text-align: center; padding: 20px 16px; flex: 1; }
.feature-icon { font-size: 26px; margin-bottom: 10px; display: block; color: var(--blue); }
.feature h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.55; max-width: 200px; margin: 0 auto; }
.btn-primary { background: var(--blue); color: var(--white); border: none; padding: 12px 32px; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--orange); }

/* ── WHY SECTION ── */
.why-section { padding: 24px 16px 32px; }
.why-section h2 { font-size: 17px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; }
.why-grid { display: flex; flex-direction: column; gap: 24px; }
.why-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-point h4 { font-size: 12px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 5px; }
.why-point h4 .fa-circle-play { font-size: 10px; color: var(--blue); }
.why-point p { font-size: 11.5px; color: var(--text-secondary); line-height: 1.5; }
.why-image img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

/* ── CONTACT ── */
.contact-section { padding: 24px 16px 32px; }
.contact-section h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.contact-intro { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.55; }
.contact-grid { display: flex; flex-direction: column; gap: 20px; }
.contact-methods { display: flex; flex-direction: column; gap: 10px; }
.contact-method { display: flex; align-items: flex-start; gap: 12px; background: var(--gray-card); border-radius: var(--radius); padding: 14px 16px; }
.contact-method-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.contact-method h4 { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.contact-method p, .contact-method a { font-size: 12.5px; color: var(--text-secondary); line-height: 1.45; text-decoration: none; }
.contact-method a:hover { color: var(--orange); }
.contact-form { background: var(--gray-card); border-radius: var(--radius); padding: 20px 16px; }
.contact-form h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.contact-form-notice { font-size: 12.5px; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; line-height: 1.5; }
.contact-form-notice--success { color: var(--blue); background: rgba(59, 189, 175, 0.1); border: 1px solid rgba(59, 189, 175, 0.25); }
.contact-form-notice--error { color: #991b1b; background: #fee2e2; border: 1px solid #fecaca; }
.contact-form-notice[hidden] { display: none; }
.contact-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 11px; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 13px; color: var(--text-primary); background: var(--white); transition: border-color 0.15s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-form .btn-primary { width: 100%; margin-top: 4px; }

/* ── TRADE-IN ── */
.tradein-section { background: linear-gradient(135deg, #0f2f2c 0%, #1a4d47 100%); margin: 0 16px; border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 20px; }
.tradein-text h2 { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 8px; }
.tradein-text p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; max-width: 380px; }
.tradein-steps { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.tradein-step { display: flex; align-items: center; gap: 8px; }
.tradein-step-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(59,189,175,0.15); border: 1.5px solid rgba(59,189,175,0.35); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--blue); flex-shrink: 0; }
.tradein-step-txt h5 { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 1px; }
.tradein-step-txt p { font-size: 10.5px; color: rgba(255,255,255,0.5); }
.tradein-cta { flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.btn-tradein { background: var(--orange); color: #fff; border: none; padding: 13px 28px; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background 0.15s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-tradein:hover { background: var(--orange-dark); }
.tradein-note { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ── DESKTOP ── */
@media (min-width: 640px) {
  .hero { margin: 16px 32px; padding: 40px 40px; min-height: 220px; }
  .hero-content { max-width: 320px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { display: block; }
  .hero-image img { height: 210px; width: auto; }
  .pills-row { padding: 20px 32px 0; }
  .section { padding: 32px 32px; }
  .section-header h2, .category-header h2, .why-section h2 { font-size: 20px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .streamlined { margin: 0 32px; padding: 40px 32px; }
  .streamlined h2 { font-size: 20px; }
  .features-row { flex-direction: row; align-items: stretch; }
  .why-section { padding: 32px 32px 40px; }
  .why-grid { flex-direction: row; align-items: center; }
  .why-image img { height: 280px; }
  .contact-section { padding: 32px 32px 40px; }
  .contact-section h2 { font-size: 20px; }
  .contact-grid { flex-direction: row; align-items: flex-start; }
  .contact-methods { flex: 1; }
  .contact-form { flex: 1.2; }
  .cat-card { width: 140px; }
  .cat-img { height: 100px; }
  .tradein-section { flex-direction: row; align-items: center; margin: 0 32px; }
  .tradein-cta { align-items: flex-end; }
}
@media (min-width: 1024px) {
  .cat-card { width: 160px; }
  .cat-img { height: 120px; }
  .cat-name { font-size: 13px; }
  .hero { margin: 20px 48px; }
  .hero-content h1 { font-size: 32px; }
  .pills-row { padding: 24px 48px 0; }
  .section { padding: 40px 48px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .streamlined { margin: 0 48px; }
  .why-section { padding: 40px 48px 56px; }
  .contact-section { padding: 40px 48px 56px; }
  .tradein-section { margin: 0 48px; padding: 36px 48px; }
}
