/* ===========================
   AUTO DAN — SERVICE AUTO
   Light Theme + Black & Yellow
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --white: #FFFFFF;
  --cream: #FAFAF7;
  --sand: #F0EDE6;
  --black: #111110;
  --dark: #1E1E1C;
  --body: #3A3935;
  --muted: #8A8680;
  --border: rgba(17,17,16,0.08);
  --yellow: #F5C518;
  --yellow-dark: #D4A80E;
  --yellow-soft: #FFF9E0;
  --yellow-glow: rgba(245,197,24,0.12);
  --red: #D42B2B;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  padding: 0 28px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,250,247,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo-wrap {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex; flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--black);
  line-height: 1;
}

.logo-name span { color: var(--yellow-dark); }

.logo-sub {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex; gap: 28px; list-style: none; align-items: center;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--black); }

.nav-links .cta-link {
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-links .cta-link:hover {
  background: var(--yellow);
  color: var(--black) !important;
}

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; z-index: 210;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--black); margin: 5px 0;
  transition: all 0.3s; border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 190;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu-inner { text-align: center; }
.mobile-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 40px;
  letter-spacing: 3px;
  color: var(--black); text-decoration: none;
  padding: 12px 0;
  transition: color 0.3s;
}
.mobile-link:hover, .mobile-link.active { color: var(--yellow-dark); }
.mobile-menu-footer {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  line-height: 2;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-soft);
  padding: 8px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-badge-text {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow-dark);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 7vw, 90px);
  letter-spacing: 3px;
  line-height: 0.95;
  color: var(--black);
  margin-bottom: 20px;
}

.hero-title .yellow { color: var(--yellow-dark); }

.hero-desc {
  font-size: 18px;
  color: var(--body);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(10,10,10,0.3));
  border-radius: 0 0 16px 16px;
}

.hero-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.35s;
}
.btn-primary:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,0.2);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--black);
  font-family: var(--font-condensed);
  font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: all 0.35s;
}
.btn-outline:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  color: var(--black);
  box-shadow: 0 8px 24px rgba(245,197,24,0.3);
}

/* ============ SECTION COMMON ============ */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--yellow-dark);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--black);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--body);
  line-height: 1.7;
  max-width: 520px;
}

.section-header { margin-bottom: 48px; }

/* ============ STRIPE ============ */
.yellow-stripe {
  background: var(--yellow);
  padding: 14px 0;
  overflow: hidden;
}

.stripe-content {
  display: flex; gap: 48px;
  animation: stripe-scroll 20s linear infinite;
  white-space: nowrap; width: max-content;
}

.stripe-content span {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--black);
}

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

/* ============ SERVICES CARDS ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.sc-icon {
  width: 52px; height: 52px;
  background: var(--yellow-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.sc-name {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--black);
}

.sc-desc {
  font-size: 15px;
  color: var(--body);
  line-height: 1.65;
  font-weight: 400;
}

/* ============ FEATURE IMAGE SECTION ============ */
.feature-section {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.feature-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
}

.feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 24px;
}

.feature-list li {
  font-size: 16px;
  color: var(--body);
  display: flex; align-items: center; gap: 12px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  color: var(--yellow-dark);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--black);
  padding: 80px 0;
}

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

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-title .yellow { color: var(--yellow); }

.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

.cta-band .btn-yellow:hover {
  transform: translateY(-2px);
}

/* ============ CONTACT CARDS ============ */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-decoration: none;
  color: var(--black);
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  border-color: var(--yellow);
}

.cc-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.cc-icon.phone { background: #E8F5E9; }
.cc-icon.whatsapp { background: #E8F5E9; }
.cc-icon.location { background: var(--yellow-soft); }
.cc-icon.clock { background: #FFF3E0; }

.cc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.cc-value {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 6px;
}

.cc-hint {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-card.full {
  grid-column: span 2;
}

/* ============ MAP ============ */
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 100;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: all 0.3s;
  animation: float-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

.whatsapp-float svg {
  width: 30px; height: 30px;
  fill: white;
}

@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--black);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-tagline {
  font-size: 14px; color: rgba(255,255,255,0.4);
  margin-top: 12px; line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.footer-nav a, .footer-contact-col a, .footer-contact-col p {
  display: block;
  font-size: 14px; color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 4px 0; transition: color 0.3s;
}

.footer-nav a:hover, .footer-contact-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  font-size: 13px; color: rgba(255,255,255,0.2);
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: 3px;
  line-height: 1;
  color: var(--black);
  margin-bottom: 16px;
}

.page-title .yellow { color: var(--yellow-dark); }

.page-subtitle {
  font-size: 18px;
  color: var(--body);
  max-width: 500px;
  line-height: 1.7;
}

/* ============ AUTHORIZED BADGE ============ */
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  margin-top: 20px;
}

.auth-badge-icon {
  width: 36px; height: 36px;
  background: var(--yellow-soft);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.auth-badge-text {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
}

/* ============ ANIMATIONS ============ */
.anim {
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.anim.in { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.1s; }
.anim-d2 { transition-delay: 0.2s; }
.anim-d3 { transition-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .logo-img { height: 36px; }
  .logo-name { font-size: 20px; }
  .logo-sub { font-size: 9px; letter-spacing: 2px; }

  .hero { padding: 90px 0 40px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { order: -1; max-height: 300px; }
  .hero-image img { max-height: 300px; }
  .hero-desc { font-size: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px; }

  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-image { max-height: 280px; }
  .feature-image img { max-height: 280px; object-fit: contain; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item[style*="grid-column"] { grid-column: span 1 !important; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-card.full { grid-column: span 1; }
  .cc-value { font-size: 20px; }

  .map-wrap iframe { height: 280px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 40px 0 0; }

  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; text-align: center; padding: 16px 24px; }

  .yellow-stripe { padding: 12px 0; }
  .stripe-content span { font-size: 14px; letter-spacing: 3px; }

  .section-title { margin-bottom: 12px; }
  .section-desc { font-size: 16px; }
  .section-header { margin-bottom: 36px; }

  .cta-band { padding: 60px 0; }
  .cta-title { letter-spacing: 1px; }
  .cta-desc { font-size: 15px; }

  .auth-badge { margin-top: 16px; padding: 10px 16px; }
  .auth-badge-text { font-size: 11px; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 26px; height: 26px; }

  .page-header { padding: 110px 0 40px; }
  .page-subtitle { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 40px; letter-spacing: 1px; }
  .page-title { font-size: 34px; letter-spacing: 1px; }
  .section-title { font-size: 28px; letter-spacing: 1px; }
  .hero-badge-text { font-size: 11px; letter-spacing: 1px; }
  .hero-image { max-height: 240px; }
  .hero-image img { max-height: 240px; }
  .cc-value { font-size: 18px; }
  .sc-name { font-size: 20px; }
  .container { padding: 0 16px; }
  nav { padding: 0 16px; }
  .mobile-link { font-size: 32px; }
}
