/* =============================================
   NG AUTO SERVICE – Premium Automotive Website
   Color Palette: #0D0D0D | #C0392B | #808080
   ============================================= */

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

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

:root {
  --bg-primary:    #0D0D0D;
  --bg-secondary:  #111111;
  --bg-card:       #181818;
  --bg-card-hover: #1f1f1f;
  --red:           #C0392B;
  --red-light:     #E74C3C;
  --red-dark:      #96281B;
  --gray:          #808080;
  --gray-light:    #A0A0A0;
  --gray-dark:     #505050;
  --white:         #FFFFFF;
  --text-primary:  #F0F0F0;
  --text-secondary:#A0A0A0;
  --border:        rgba(192,57,43,0.25);
  --border-subtle: rgba(255,255,255,0.06);
  --gradient-red:  linear-gradient(135deg, #C0392B 0%, #96281B 100%);
  --gradient-dark: linear-gradient(180deg, #0d0d0d 0%, #111 100%);
  --shadow-red:    0 0 30px rgba(192,57,43,0.35);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.5);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-heading:  'Rajdhani', sans-serif;
  --font-body:     'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* =============================================
   LOADER
   ============================================= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
  animation: loader-pulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(192,57,43,0.6));
}

@keyframes loader-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(192,57,43,0.6)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 35px rgba(192,57,43,0.9)); }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--gradient-red);
  border-radius: 4px;
  animation: loader-fill 2s ease-in-out forwards;
}

@keyframes loader-fill {
  0%  { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

.loader-text {
  color: var(--gray-light);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--red);
}

.nav-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray-light);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: #20bc5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192,57,43,0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.3);
}

.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('images/hero_banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.4);
  color: var(--red-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fade-in-up 0.8s ease forwards;
}

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

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.7); }
  50% { box-shadow: 0 0 0 6px rgba(192,57,43,0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
  animation: fade-in-up 0.9s ease 0.1s both;
}

.hero-title-ng {
  color: var(--red);
  text-shadow: 0 0 40px rgba(192,57,43,0.5);
}

.hero-title-accent {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  animation: fade-in-up 1s ease 0.2s both;
  line-height: 1.7;
}

.hero-subtitle strong { color: var(--text-primary); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fade-in-up 1s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fade-in-up 1s ease 0.4s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fade-in 2s ease 1.5s both;
}

.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.35);
  color: var(--red-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.accent {
  color: var(--red);
  text-shadow: 0 0 20px rgba(192,57,43,0.4);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   PRE-COMPRA SECTION
   ============================================= */
.precompra-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0a0a0a 100%);
}

.precompra-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* highlight row */
.precompra-highlight {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(192,57,43,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.ph-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: rgba(192,57,43,0.15);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.ph-text { flex: 1; min-width: 200px; }
.ph-text h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
}
.ph-text p { color: var(--text-secondary); font-size: 15px; }

/* Inspection cards grid */
.inspection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.inspection-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  position: relative;
}

.inspection-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow-red), var(--shadow-card);
}

.ic-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.inspection-card:hover .ic-img { transform: scale(1.07); }

.ic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.ic-badge {
  background: rgba(192,57,43,0.85);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.featured-badge {
  background: rgba(192,57,43,1);
  box-shadow: 0 0 15px rgba(192,57,43,0.6);
}

.ic-body {
  padding: 20px 22px 24px;
}

.ic-number {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ic-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.ic-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.ic-text strong { color: var(--text-primary); }

/* Featured card */
.featured-card {
  border-color: rgba(192,57,43,0.4);
  background: linear-gradient(145deg, #1a0f0f, var(--bg-card));
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-red);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* wide card spans 2 cols on last row */
.wide-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
}

.wide-card .ic-image-wrap {
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: unset;
}

.wide-card .ic-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
}

.wide-card .ic-title { font-size: 26px; margin-bottom: 14px; }
.wide-card .ic-text { font-size: 15px; }

/* CTA block */
.precompra-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--gradient-red);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  flex-wrap: wrap;
}

.pcta-content h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: white;
  margin-bottom: 8px;
}

.pcta-content p {
  color: rgba(255,255,255,0.8);
  max-width: 480px;
}

.precompra-cta .btn-primary {
  background: white;
  color: var(--red);
  flex-shrink: 0;
}

.precompra-cta .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* =============================================
   SERVICIOS SECTION
   ============================================= */
.servicios-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servicio-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-red);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.servicio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
  background: var(--bg-card-hover);
}

.sc-icon {
  width: 80px;
  height: 80px;
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
  transition: var(--transition);
}

.servicio-card:hover .sc-icon {
  background: rgba(192,57,43,0.2);
  box-shadow: 0 0 20px rgba(192,57,43,0.3);
}

.sc-tag {
  display: inline-block;
  background: rgba(192,57,43,0.15);
  color: var(--red-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.moura-tag { background: rgba(255,165,0,0.12); color: #ffa500; }

.sc-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.sc-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.sc-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--red-light);
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sc-link:hover {
  color: var(--white);
  gap: 8px;
}

/* =============================================
   CONTACTO SECTION
   ============================================= */
.contacto-section { background: var(--bg-primary); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.ci-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-wa   { background: rgba(37,211,102,0.12); color: #25D366; }
.ci-loc  { background: rgba(192,57,43,0.12);  color: var(--red); }
.ci-clock { background: rgba(255,165,0,0.1);   color: #ffa500; }

.ci-content h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ci-content a, .ci-content p {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.ci-content a:hover { color: var(--red-light); }

/* social links */
.social-title {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.ig-btn  { background: rgba(225,48,108,0.12);  color: #e1306c;  border-color: rgba(225,48,108,0.25); }
.fb-btn  { background: rgba(24,119,242,0.12);   color: #1877f2;  border-color: rgba(24,119,242,0.25); }
.tt-btn  { background: rgba(255,255,255,0.07);  color: var(--white); border-color: rgba(255,255,255,0.15); }

.ig-btn:hover  { background: rgba(225,48,108,0.22);  transform: translateY(-2px); }
.fb-btn:hover  { background: rgba(24,119,242,0.22);  transform: translateY(-2px); }
.tt-btn:hover  { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* WhatsApp card */
.contacto-wa-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.wa-card-inner { padding: 36px; }

.wa-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: #25D366;
}

.wa-card-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--white);
}

.wa-card-inner p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.65;
}

.wa-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.wa-btn {
  padding: 9px 18px;
  background: rgba(37,211,102,0.1);
  color: #25D366;
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.wa-btn:hover {
  background: rgba(37,211,102,0.2);
  transform: translateY(-1px);
}

.btn-full.btn-primary {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

.btn-full.btn-primary:hover {
  background: #20bc5a;
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #070707;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  margin: 4px 0 0;
}

.footer-brand p { color: var(--gray); font-size: 14px; }
.footer-location { color: var(--text-secondary) !important; }

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--red-light); padding-left: 4px; }

.footer-contact p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-contact a { color: var(--text-secondary); transition: var(--transition); }
.footer-contact a:hover { color: #25D366; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.fsocial-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  transition: var(--transition);
}

.fsocial-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
  color: var(--gray-dark);
  font-size: 13px;
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: wa-bounce 3s ease-in-out infinite;
}

.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.7);
  animation: none;
}

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

/* =============================================
   TAG ANIMATED – SERVICIO ESTRELLA
   ============================================= */
.tag-animated {
  position: relative;
  overflow: hidden;
  animation: tag-attention 3s ease-in-out infinite;
}

@keyframes tag-attention {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(192,57,43,0);
    transform: scale(1);
  }
  30% {
    box-shadow: 0 0 0 8px rgba(192,57,43,0.25), 0 0 20px rgba(192,57,43,0.4);
    transform: scale(1.05);
  }
  60% {
    box-shadow: 0 0 0 14px rgba(192,57,43,0), 0 0 0 rgba(192,57,43,0);
    transform: scale(1);
  }
}

.tag-star {
  display: inline-block;
  animation: star-spin 2s ease-in-out infinite;
  transform-origin: center;
  margin-right: 4px;
}

@keyframes star-spin {
  0%, 80%, 100% { transform: rotate(0deg) scale(1); }
  40% { transform: rotate(20deg) scale(1.3); }
}

.tag-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid rgba(192,57,43,0.6);
  animation: pulse-ring-expand 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-ring-expand {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 0; }
}

.tag-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.35) 50%,
    transparent 60%
  );
  animation: shine-sweep 3s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

@keyframes shine-sweep {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

/* =============================================
   RESEÑAS GOOGLE
   ============================================= */
.resenas-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.google-stars {
  color: #FBBC05;
  font-size: 16px;
  letter-spacing: 1px;
}

.google-rating {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

/* Carousel container */
.reviews-carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Review card */
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.featured-review {
  border-color: rgba(192,57,43,0.4);
  background: linear-gradient(145deg, #150a0a, var(--bg-card));
}

.featured-review::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  color: var(--red);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.rc-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.rc-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

.rc-info { flex: 1; }

.rc-info h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
}

.rc-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-size: 12px;
}

.google-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.rc-stars {
  color: #FBBC05;
  font-size: 14px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.rc-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.rc-date {
  font-size: 12px;
  color: var(--gray-dark);
  letter-spacing: 0.3px;
}

/* Arrows */
.reviews-arrow {
  position: absolute;
  top: 32%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
}

.reviews-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(192,57,43,0.5);
}

.reviews-prev { left: -20px; }
.reviews-next { right: -20px; }

/* Dots */
.reviews-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-dark);
  cursor: pointer;
  transition: var(--transition);
}

.reviews-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--red);
}

/* =============================================
   GALERIA DE TRABAJOS
   ============================================= */
.galeria-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-top: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(192,57,43,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(192,57,43,0.2);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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


.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.item-tall {
  grid-row: span 2;
  grid-column: span 2;
}
.item-wide {
  grid-column: span 2;
}

/* =============================================
   RESPONSIVE – TABLET
   ============================================= */
@media (max-width: 1024px) {
  .inspection-grid { grid-template-columns: repeat(2, 1fr); }
  .wide-card { grid-column: 1 / -1; flex-direction: column; }
  .wide-card .ic-image-wrap { width: 100%; aspect-ratio: 16/9; }
  .wide-card .ic-body { padding: 24px 24px 28px; }

  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-wa-card { position: static; }
  
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .reviews-track { gap: 16px; }
  .review-card {
    flex: 0 0 calc(50% - 8px);
    min-width: calc(50% - 8px);
    padding: 24px 20px;
  }
}

/* =============================================
   RESPONSIVE – MOBILE
   ============================================= */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px 32px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid var(--border);
    backdrop-filter: blur(20px);
  }

  .nav-links.open { right: 0; }

  .nav-link { font-size: 20px; }
  .nav-cta { width: 100%; justify-content: center; }

  .hero-content { padding: 100px 20px 60px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }

  .precompra-highlight {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
  }

  .inspection-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wide-card { flex-direction: column; }
  .wide-card .ic-image-wrap { width: 100%; aspect-ratio: 16/9; }
  .wide-card .ic-body { padding: 20px; }

  .servicios-grid { grid-template-columns: 1fr; }

  .precompra-cta {
    flex-direction: column;
    padding: 28px;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .item-tall, .item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .precompra-cta .btn-primary { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }
  .review-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .reviews-arrow { display: none; } /* Hide arrows on mobile, use touch/swipe later if needed or just dots */
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .social-icons { flex-direction: column; }
  .social-btn { justify-content: center; }
  .hero-scroll-indicator { display: none; }
}
