/* ============================================================
   Computer Express — Shared Stylesheet
   Used by: index, pc-mac-repairs, mobile-repairs,
            accessories, about, location
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple-900: #1a1745;
  --purple-800: #26215C;
  --purple-700: #3C3489;
  --purple-600: #534AB7;
  --purple-400: #7F77DD;
  --purple-200: #AFA9EC;
  --purple-100: #CECBF6;
  --purple-50:  #EEEDFE;
  --orange-400: #EF9F27;
  --orange-300: #FAC775;
  --orange-100: #FAEEDA;
  --white: #ffffff;
  --text-muted: #AFA9EC;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--purple-900);
  color: var(--white);
  overflow-x: hidden;
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--purple-900); }
::-webkit-scrollbar-thumb { background: var(--purple-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-400); }

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--orange-400);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(239, 159, 39, 0.6);
}

/* ── CURSOR GLOW ── */
#cursor-glow {
  position: fixed;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 119, 221, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease;
}

/* ── KEYFRAMES ── */
@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.07); }
}
@keyframes shimmer {
  0%   { left: -70%; }
  100% { left: 120%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes callPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.hidden  { opacity: 0; transform: translateY(28px); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-left.hidden  { opacity: 0; transform: translateX(-28px); }

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-right.hidden  { opacity: 0; transform: translateX(28px); }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: rgba(26, 23, 69, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(175, 169, 236, 0.15);
  animation: navFadeIn 0.6s var(--ease-out) both;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.logo-mark {
  width: 34px; height: 34px;
  background: var(--orange-400);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange-400); }

.nav-cta {
  position: relative;
  overflow: hidden;
  background: var(--orange-400);
  color: var(--purple-900);
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.nav-cta:hover { transform: scale(1.04); background: var(--orange-300); }
.nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  animation: shimmer 2.8s ease-in-out infinite;
}

/* ── HAMBURGER / MOBILE MENU ── */
.ham-line {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.mob-link {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-link:hover { color: var(--orange-400); }

/* ── BUTTONS ── */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--orange-400);
  color: var(--purple-900);
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); background: var(--orange-300); }

.btn-secondary {
  background: rgba(175, 169, 236, 0.1);
  color: var(--purple-100);
  border: 0.5px solid rgba(175, 169, 236, 0.25);
  border-radius: 10px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-secondary:hover {
  background: rgba(175, 169, 236, 0.18);
  color: var(--white);
  border-color: rgba(175, 169, 236, 0.5);
}

/* ── STICKY WHATSAPP BUTTON ── */
#sticky-whatsapp {
  position: fixed;
  bottom: 92px; right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 22px 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  text-decoration: none;
  animation: fadeUp 0.6s var(--ease-out) 1s both;
}
#sticky-whatsapp:hover { transform: scale(1.06) translateY(-2px); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45); }

.wa-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50px;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: callPulse 2s ease-out 0.4s infinite;
}
.wa-icon {
  width: 28px; height: 28px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── STICKY CALL BUTTON ── */
#sticky-call {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-400);
  color: var(--purple-900);
  border: none;
  border-radius: 50px;
  padding: 13px 22px 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(239, 159, 39, 0.35);
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.6s var(--ease-out) 1.2s both;
}
#sticky-call:hover { transform: scale(1.06) translateY(-2px); box-shadow: 0 8px 32px rgba(239, 159, 39, 0.45); }

.call-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50px;
  border: 2px solid rgba(239, 159, 39, 0.4);
  animation: callPulse 2s ease-out infinite;
}
.call-icon {
  width: 28px; height: 28px;
  background: var(--purple-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

/* ── SECTION SHARED STYLES ── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
}

/* ── PAGE HERO (inner pages) ── */
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(239, 159, 39, 0.15);
  border: 0.5px solid rgba(239, 159, 39, 0.35);
  color: var(--orange-400);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  animation: fadeUp 0.6s var(--ease-out) 0.1s both;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--orange-400);
  border-radius: 50%;
  animation: blinkDot 1.5s ease-in-out infinite;
}

.page-hero {
  position: relative;
  background: var(--purple-800);
  padding: 80px 48px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 420px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(175, 169, 236, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 169, 236, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 119, 221, 0.14) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.page-hero-text { position: relative; z-index: 1; }
.page-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  animation: fadeUp 0.6s var(--ease-out) 0.2s both;
}
.page-title span { color: var(--orange-400); }
.page-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s var(--ease-out) 0.35s both;
}
.page-hero-btns {
  display: flex;
  gap: 12px;
  animation: fadeUp 0.6s var(--ease-out) 0.45s both;
}
.page-hero-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 340px;
  border: 0.5px solid rgba(175, 169, 236, 0.2);
  animation: fadeIn 0.8s ease 0.2s both;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 23, 69, 0.5) 0%, transparent 50%);
}

/* ── INNER PAGE: REPAIR CARDS ── */
.repairs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.repair-card {
  background: rgba(60, 52, 137, 0.3);
  border: 0.5px solid rgba(175, 169, 236, 0.18);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.repair-card:hover { transform: translateY(-5px); border-color: rgba(239, 159, 39, 0.45); }
.repair-icon {
  width: 44px; height: 44px;
  background: rgba(239, 159, 39, 0.12);
  border: 0.5px solid rgba(239, 159, 39, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.2s;
}
.repair-card:hover .repair-icon { background: rgba(239, 159, 39, 0.22); }
.repair-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.repair-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.repair-price {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--orange-400);
  background: rgba(239, 159, 39, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── INNER PAGE: PROCESS STEPS ── */
.process-section { background: var(--purple-800); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(175, 169, 236, 0.3), transparent);
  pointer-events: none;
}
.step-card { text-align: center; padding: 24px 16px; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--purple-700);
  border: 0.5px solid rgba(175, 169, 236, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange-400);
}
.step-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.step-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── INNER PAGE: BRANDS ── */
.brands-section { background: var(--purple-900); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.brand-card {
  background: rgba(60, 52, 137, 0.25);
  border: 0.5px solid rgba(175, 169, 236, 0.15);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.brand-card:hover { border-color: rgba(239, 159, 39, 0.4); transform: translateY(-3px); }
.brand-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.brand-sub  { font-size: 12px; color: var(--text-muted); }

/* ── CTA BANNER (inner pages) ── */
.cta-banner {
  background: var(--purple-800);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-banner h2 span { color: var(--orange-400); }
.cta-banner p  { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.cta-banner-btns { display: flex; gap: 12px; justify-content: center; }
.cta-glow {
  position: absolute;
  width: 600px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 74, 183, 0.15) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ── FOOTER ── */
footer {
  background: #0f0d36;
  padding: 56px 48px 32px;
  border-top: 0.5px solid rgba(175, 169, 236, 0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin-top: 12px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange-400); }
.footer-bottom {
  border-top: 0.5px solid rgba(175, 169, 236, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(175, 169, 236, 0.5); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar { padding: 14px 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .page-hero { padding: 60px 32px; }
  .page-title { font-size: 36px; }
  section { padding: 60px 32px; }
  .repairs-grid { grid-template-columns: 1fr 1fr; }
  .brands-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* MOBILE */
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  #navCtaDesktop { display: none !important; }
  #hamburger { display: flex !important; }

  .page-hero {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 28px;
    min-height: auto;
  }
  .page-title    { font-size: 32px; }
  .page-subtitle { font-size: 14px; }
  .page-hero-btns { flex-direction: column; }
  .page-hero-img  { height: 220px; }

  .btn-primary,
  .btn-secondary { width: 100%; justify-content: center; }

  section { padding: 48px 20px; }
  .section-title { font-size: 26px; }

  .repairs-grid  { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .brands-grid   { grid-template-columns: 1fr 1fr; }

  .cta-banner { padding: 48px 20px; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner-btns { flex-direction: column; align-items: center; }

  footer { padding: 40px 20px 24px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand  { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  #sticky-call      { bottom: 20px; right: 16px; padding: 11px 16px 11px 13px; font-size: 13px; }
  #sticky-whatsapp  { bottom: 76px; right: 16px; padding: 11px 16px 11px 13px; font-size: 13px; }
  .call-icon, .wa-icon { width: 24px; height: 24px; }
}

/* ── HALF STAR UTILITY ── */
.half-star {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: rgba(239, 159, 39, 0.2);
  line-height: 1;
}
.half-star::after {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: var(--orange-400);
  line-height: 1;
}

