/* Pepe's Auto Shop — Cathedral City  */
/* Brand DNA: trusted family shop, desert proud, Cathedral City */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;700&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  --color-deep-blue: #0A1128;
  --color-darker: #060914;
  --color-orange: #FF5A1F;
  --color-silver: #A9B4CC;
  --color-white: #F4F6F9;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --glow-orange: rgba(255, 90, 31, 0.4);
  --grad-orange: linear-gradient(135deg, #FF5A1F 0%, #FF8C42 100%);
  --grad-dark: linear-gradient(to bottom, #0A1128, #060914);

  --section-pad: 8rem 0;
  --container-w: 1400px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  cursor: none;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-deep-blue);
  color: var(--color-silver);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-orange);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 90, 31, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-hover.cursor-dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-white);
}

.cursor-hover.cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-white);
}

@media (max-width: 1024px) {
  html { cursor: auto; }
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 4vw;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.orange-text { color: var(--color-orange); }
.italic-text { font-style: italic; }
.overflow-hidden { overflow: hidden; }

.noise-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  pointer-events: none; z-index: 9990; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: 2rem 0; mix-blend-mode: difference;
}

.header-inner {
  max-width: 1600px; margin: 0 auto; padding: 0 4vw;
  display: flex; justify-content: space-between; align-items: center;
}

.logo {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--color-white); text-decoration: none; letter-spacing: -0.02em;
}

.logo-dot { color: var(--color-orange); }

.nav-wrapper {
  display: flex; gap: 3rem; align-items: center;
}

.nav-link {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  text-transform: uppercase; color: var(--color-white);
  text-decoration: none; letter-spacing: 0.05em;
  position: relative; overflow: hidden;
}

.nav-link::before {
  content: attr(data-text);
  position: absolute; top: 100%; left: 0;
  color: var(--color-orange);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover { color: transparent; }
.nav-link:hover::before { transform: translateY(-100%); }

.contact-btn {
  background: var(--color-white); color: var(--color-deep-blue);
  padding: 0.8rem 2rem; border-radius: 50px;
  font-weight: 700; display: flex !important;
  align-items: center; gap: 0.5rem;
}

#headerContactBtn {
  background: var(--color-orange); color: var(--color-white);
  opacity: 0; transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 1s ease, transform 1s ease, background-color 0.3s, color 0.3s;
}

#headerContactBtn.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

.contact-icon { width: 18px; height: 18px; }
.contact-btn::before { display: none; }
.contact-btn:hover { background: var(--color-orange); color: var(--color-white); }
.mobile-toggle { display: none; }

.hero-section {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center;
  background: var(--color-darker); overflow: hidden;
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); z-index: 0; opacity: 0.6;
}

.orb-1 {
  width: 600px; height: 600px;
  background: rgba(255, 90, 31, 0.15);
  top: -100px; right: -100px;
  animation: floatOrb 15s ease-in-out infinite alternate;
}

.orb-2 {
  width: 500px; height: 500px;
  background: rgba(169, 180, 204, 0.1);
  bottom: -50px; left: -100px;
  animation: floatOrb 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1600px; margin: 0 auto; padding: 0 4vw;
  display: flex; flex-direction: column; gap: 4rem;
}

.hero-text-wrapper { margin-top: 5rem; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8.5vw, 7rem);
  font-weight: 800; line-height: 0.9;
  letter-spacing: -0.03em; color: var(--color-white);
  text-transform: uppercase;
}

.hero-title .line { display: block; }

.stroke-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.alt-color { color: var(--color-orange); }

.reveal-text { display: block; transform: translateY(0); opacity: 1; transition: none; }
body.hero-ready .reveal-text { transform: translateY(0); opacity: 1; }
.delay-1, .delay-2, .delay-3, .delay-4, .delay-5 { transition-delay: 0s; }

.hero-meta { max-width: 500px; margin-left: auto; margin-top: -3rem; }

.hero-desc {
  font-size: 1.1rem; color: var(--color-silver); margin-bottom: 2rem;
}

.rating-box {
  display: inline-flex; align-items: center; gap: 1rem;
  border-left: 2px solid var(--color-orange); padding-left: 1rem;
}

.stars {
  color: var(--color-orange); letter-spacing: 2px; font-size: 1.2rem;
}

.rating-text {
  font-family: var(--font-display); font-weight: 600; color: var(--color-white);
}

.scroll-cue {
  position: absolute; bottom: 3rem; left: 4vw; z-index: 2;
  display: flex; align-items: center; gap: 1.5rem;
  transform: rotate(-90deg); transform-origin: left bottom;
}

.cue-text {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--color-white); text-transform: uppercase;
}

.cue-line {
  width: 60px; height: 1px; background: var(--color-silver);
  position: relative; overflow: hidden;
}

.cue-line::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: var(--color-orange);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

.marquee-section {
  padding: 4rem 0; background: var(--color-orange);
  color: var(--color-deep-blue); overflow: hidden; position: relative; z-index: 5;
}

.marquee-container { width: 100%; overflow: hidden; }

.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800; white-space: nowrap;
  display: flex; align-items: center; flex-shrink: 0;
}

.divider { margin: 0 2rem; font-size: 1.5rem; opacity: 0.5; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.services-section {
  padding: var(--section-pad); background: var(--color-deep-blue); position: relative;
}

.services-container {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: start;
}

.services-header { position: sticky; top: 8rem; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--color-white); line-height: 1.1; margin-bottom: 2rem;
}

.section-subtitle { font-size: 1.2rem; max-width: 400px; }

.services-list { display: flex; flex-direction: column; }

.service-item { border-bottom: 1px solid rgba(169, 180, 204, 0.2); }
.service-item:first-child { border-top: 1px solid rgba(169, 180, 204, 0.2); }

.service-header-trigger {
  padding: 3rem 0; display: flex; justify-content: space-between;
  align-items: center; cursor: pointer; transition: padding 0.4s ease;
}

.service-title-wrap { display: flex; align-items: baseline; gap: 2rem; }

.service-num {
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 700; color: var(--color-orange);
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-white); transition: color 0.3s;
}

.service-icon {
  width: 40px; height: 40px; color: var(--color-white);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.service-item:hover .service-name { color: var(--color-orange); }
.service-item:hover .service-icon { transform: rotate(15deg) scale(1.1); color: var(--color-orange); }

.service-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-body-inner { overflow: hidden; padding-right: 20%; }
.service-body p { padding-bottom: 3rem; font-size: 1.1rem; color: var(--color-silver); }
.service-item.active .service-body { grid-template-rows: 1fr; }
.service-item.active .service-icon { transform: rotate(45deg); color: var(--color-orange); }

.stats-impact {
  padding: 10rem 0; background: var(--color-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.massive-statement {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800; line-height: 1; color: var(--color-white);
  letter-spacing: -0.02em; margin-bottom: 6rem;
}

.outline-glow {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 90, 31, 0.5);
  text-shadow: 0 0 30px rgba(255, 90, 31, 0.2);
}

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

.stat-card { position: relative; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700; color: var(--color-white);
  line-height: 1; display: flex; align-items: baseline;
}

.stat-sym { color: var(--color-orange); font-size: 3rem; }

.stat-label {
  font-size: 1.1rem; color: var(--color-silver);
  margin-top: 1rem; text-transform: uppercase; letter-spacing: 0.1em;
}

.stat-line {
  margin-top: 2rem; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--color-orange) 0%, transparent 100%);
}

.testimonial-immersive {
  padding: 12rem 0; position: relative; overflow: hidden;
  background: var(--color-deep-blue); display: flex;
  align-items: center; justify-content: center;
}

.testimonial-bg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(169, 180, 204, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonial-content {
  position: relative; z-index: 2; text-align: center; max-width: 1000px;
}

.quote-mark {
  font-family: var(--font-display); font-size: 15rem;
  color: var(--color-orange); line-height: 0; opacity: 0.2;
  position: absolute; top: -2rem; left: 50%;
  transform: translateX(-50%); z-index: -1;
}

.featured-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500; color: var(--color-white);
  line-height: 1.3; margin-bottom: 3rem;
}

.quote-author strong {
  display: block; font-size: 1.2rem; color: var(--color-orange); margin-bottom: 0.5rem;
}

.quote-author .verified {
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7;
}

.footer-mega {
  background: var(--color-darker); padding-top: 8rem; position: relative; overflow: hidden;
}

.footer-cta-area {
  text-align: center; padding-bottom: 8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  line-height: 1; margin-bottom: 3rem;
}

.mega-btn {
  display: inline-block; padding: 2rem 4rem;
  background: var(--color-orange); border-radius: 100px;
  text-decoration: none; position: relative;
}

.mega-btn .btn-text {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 800; color: var(--color-white);
  display: inline-block; pointer-events: none;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; padding: 6rem 4vw;
}

.footer-info h3 {
  font-family: var(--font-display); font-size: 2rem;
  color: var(--color-white); margin-bottom: 1.5rem;
}

.footer-info p { max-width: 350px; }

.footer-links h4 {
  color: var(--color-white); font-size: 1.1rem;
  margin-bottom: 1.5rem; font-weight: 700;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; color: var(--color-silver); }

.inline-link {
  color: var(--color-orange); text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s;
}

.inline-link:hover { text-decoration-color: var(--color-orange); }

.em-phone { font-size: 1.2rem; font-weight: 700; }

.footer-copyright {
  display: flex; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 4vw; font-size: 0.9rem;
}

.footer-legal a { color: var(--color-silver); text-decoration: none; margin-left: 2rem; }
.footer-legal a:hover { color: var(--color-white); }

.testimonial-bg { background-size: cover; background-position: center; background-color: #111; background-blend-mode: overlay; opacity: 0.3; }
.author-photo { object-fit: cover; }

@media (max-width: 1024px) {
  .services-container { grid-template-columns: 1fr; gap: 3rem; }
  .services-header { position: relative; top: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-wrapper { display: none; }
  .mobile-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
  .mobile-toggle span { display: block; width: 30px; height: 2px; background: var(--color-white); }
  .contact-btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  .hero-meta { margin-left: 0; }
  .rating-box { flex-direction: column; align-items: flex-start; border-left: none; padding-left: 0; }
  .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-title-wrap { flex-direction: column; gap: 0.5rem; }
  .mega-btn { padding: 1.5rem 2rem; }
  .mega-btn .btn-text { font-size: 1.2rem; }
  .hero-title { font-size: clamp(1.2rem, 8vw, 2.5rem); }
  .massive-statement { font-size: clamp(1.8rem, 8vw, 3rem); }
}