/* ============================================
   THREE.JS SCENE — PROJECTCARS REPLICA
   Single viewport, no scroll, 3D fills all
   ============================================ */

/* ========== VIDEO BACKGROUND ========== */
#video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--black);
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* Dark tint overlay (z:1) */
.scene-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #00000050 0%, #00000080 40%, #000000b0 100%);
  z-index: 1;
  pointer-events: none;
}

/* 3D Canvas (z:2, hidden on home, shown on inner pages) */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}

body.scene-interactive #three-canvas { pointer-events: auto; }

/* ========== LOADING SEQUENCE (3 layers like projectcars) ========== */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
  transition: opacity 1s ease;
}

#loading-overlay.loaded { opacity: 0; pointer-events: none; }

.loader-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.loader-logo {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: var(--white-50);
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--white);
  transition: width 0.3s ease;
}

.loader-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-50);
}

/* Hide car-loader visual, use text-based loading like projectcars */
.car-loader { display: none; }

/* ========== HOME — FULL CINEMATIC (video + title + START) ========== */
.cinema-home {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinema-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cinema-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #DC2626;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.cinema-title {
  font-family: var(--font);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.6s forwards;
  background: linear-gradient(180deg, #ffffff 43%, rgba(255,255,255,0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cinema-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white-50);
  letter-spacing: 1px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.cinema-start {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid var(--white-20);
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}

.cinema-start:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255,255,255,0.15);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .cinema-title { letter-spacing: -1px; }
  .cinema-start { width: 100px; height: 100px; font-size: 0.75rem; }
}

/* ============================================================
   SERVICIOS PAGE — RENTAS GESTORIA STYLE
   Dark #0a0a0a bg, red accent #DC2626, gradient spheres,
   rounded pill navbar with red border
   ============================================================ */

/* Background with animated red spheres — living, breathing movement */
.renta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.renta-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(200px);
  pointer-events: none;
  will-change: transform;
}

.sphere-a {
  width: 800px; height: 800px;
  background: radial-gradient(circle, #DC2626, #991B1B);
  top: -200px; left: 10%;
  animation: wanderA 14s ease-in-out infinite;
}

.sphere-b {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7F1D1D, #450a0a);
  top: 30%; right: -5%;
  animation: wanderB 18s ease-in-out infinite;
}

/* Third sphere for depth */
.renta-bg::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(180px);
  background: radial-gradient(circle, #991B1B, #3b0000);
  bottom: -100px; left: 40%;
  animation: wanderC 22s ease-in-out infinite;
  pointer-events: none;
}

/* Slow rotating gradient overlay for constant motion */
.renta-bg::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(220, 38, 38, 0.03) 25%,
    transparent 50%,
    rgba(127, 29, 29, 0.04) 75%,
    transparent 100%
  );
  animation: rotateBg 30s linear infinite;
  pointer-events: none;
}

@keyframes wanderA {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(150px, 80px) scale(1.05); }
  50% { transform: translate(-100px, 200px) scale(0.95); }
  75% { transform: translate(80px, -60px) scale(1.02); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes wanderB {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-180px, -120px) scale(1.08); }
  66% { transform: translate(100px, 150px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes wanderC {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(200px, -100px) scale(1.1); }
  50% { transform: translate(-150px, -50px) scale(0.9); }
  75% { transform: translate(50px, 100px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Page content layer */
.renta-page {
  position: relative;
  z-index: 5;
}

/* NAVBAR — rentas style (rounded pill, red border) */
.renta-nav-wrap {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  transition: transform 0.5s ease;
}

.renta-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: #0a0a0acc;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.renta-brand {
  color: #DC2626;
  font-weight: 600;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.renta-link {
  color: var(--white);
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 43%, rgba(255,255,255,0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.renta-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #DC2626;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.renta-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Sections */
.renta-section {
  max-width: 65rem;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.renta-header { text-align: center; margin-bottom: 2.5rem; }

.renta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.gradient-text-r {
  background: linear-gradient(180deg, #fff 43%, rgba(255,255,255,0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-red-r { color: #DC2626; -webkit-text-fill-color: #DC2626; }

.renta-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(250,250,250,0.5);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Feature grid */
.renta-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.renta-feature {
  background: #0a0a0a;
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.renta-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 20px;
  background: linear-gradient(20deg, #DC2626 0%, rgba(255,255,255,0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.renta-feature-icon {
  width: 3rem; height: 3rem;
  background: rgba(220,38,38,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
  color: #DC2626;
}

.renta-feature h4 { font-size: 1rem; font-weight: 500; margin-bottom: 0.35rem; }
.renta-feature p { font-size: 0.85rem; font-weight: 300; color: rgba(250,250,250,0.5); }

/* Service cards */
.renta-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.renta-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}

.renta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 20px;
  background: linear-gradient(20deg, rgba(220,38,38,0.3) 0%, rgba(255,255,255,0.05) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.renta-card:hover { border-color: rgba(220,38,38,0.4); }

.renta-card-featured {
  grid-row: span 2;
  border-color: rgba(220,38,38,0.3);
}

.renta-card-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: #DC2626;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.renta-card-icon {
  width: 2.75rem; height: 2.75rem;
  background: rgba(220,38,38,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #DC2626;
  margin-bottom: 1rem;
}

.renta-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.4rem; }
.renta-card > p { font-size: 0.85rem; font-weight: 300; color: rgba(250,250,250,0.5); margin-bottom: 1rem; line-height: 1.5; }

.renta-card-price { font-size: 1.75rem; font-weight: 600; color: #DC2626; margin-bottom: 1rem; }
.renta-card-price span { font-size: 0.8rem; font-weight: 300; color: rgba(250,250,250,0.5); }

.renta-card ul { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.renta-card li { font-size: 0.8rem; font-weight: 300; padding: 0.3rem 0; display: flex; align-items: center; gap: 0.5rem; }
.renta-card li i { color: #DC2626; font-size: 0.65rem; }

.renta-btn {
  display: block;
  text-align: center;
  background: #DC2626;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: auto;
}

.renta-btn:hover { background: #b91c1c; color: white; }

.renta-btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #DC2626;
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 2rem;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s;
}

.renta-btn-lg:hover { background: #b91c1c; color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(220,38,38,0.3); }

/* Steps */
.renta-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) { .renta-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .renta-steps { grid-template-columns: 1fr; } }

.renta-step {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.renta-step::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 20px;
  background: linear-gradient(20deg, rgba(220,38,38,0.2) 0%, rgba(255,255,255,0.05) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.renta-step-n {
  width: 2.5rem; height: 2.5rem;
  background: rgba(220,38,38,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: #DC2626;
  flex-shrink: 0;
}

.renta-step h4 { font-size: 1rem; font-weight: 400; margin-bottom: 0.25rem; }
.renta-step p { font-size: 0.85rem; font-weight: 300; color: rgba(250,250,250,0.5); line-height: 1.5; }

/* Docs */
.renta-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 900px) { .renta-docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .renta-docs-grid { grid-template-columns: 1fr; } }

.renta-doc {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.3s;
}

.renta-doc:hover { background: rgba(255,255,255,0.06); }
.renta-doc i { font-size: 1.1rem; color: #DC2626; min-width: 1.5rem; text-align: center; }
.renta-doc h4 { font-size: 0.9rem; font-weight: 400; margin-bottom: 0.1rem; }
.renta-doc p { font-size: 0.8rem; font-weight: 300; color: rgba(250,250,250,0.5); }

/* ITP */
.renta-itp-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.renta-itp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 20px;
  background: linear-gradient(20deg, rgba(220,38,38,0.3) 0%, rgba(255,255,255,0.05) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.renta-itp-card h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.75rem; }
.renta-itp-card > div > p { font-size: 0.9rem; font-weight: 300; color: rgba(250,250,250,0.5); line-height: 1.6; margin-bottom: 1rem; }
.renta-itp-card ul { list-style: none; }
.renta-itp-card li { font-size: 0.85rem; font-weight: 300; padding: 0.25rem 0; }

.renta-itp-example {
  background: rgba(220,38,38,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.renta-itp-example > span { font-size: 0.8rem; color: rgba(250,250,250,0.5); }

.renta-itp-nums {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 1rem 0;
}

.renta-itp-nums div { text-align: center; }
.renta-itp-nums span { font-size: 0.75rem; color: rgba(250,250,250,0.5); display: block; margin-bottom: 0.3rem; }
.renta-itp-nums strong { font-size: 1.5rem; color: #DC2626; }

/* Contact */
.renta-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 50rem;
  margin: 0 auto;
}

@media (max-width: 768px) { .renta-contact-grid { grid-template-columns: 1fr; } }

.renta-contact {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.3s;
}

.renta-contact:hover { background: rgba(255,255,255,0.06); }
.renta-contact i { font-size: 1.1rem; color: #DC2626; min-width: 1.5rem; text-align: center; }
.renta-contact h4 { font-size: 0.9rem; font-weight: 400; }
.renta-contact p { font-size: 0.85rem; font-weight: 300; color: rgba(250,250,250,0.5); }

.renta-schedule {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(250,250,250,0.5);
}

.renta-schedule i { color: #DC2626; }

@media (max-width: 768px) {
  .renta-nav { gap: 0.75rem; padding: 0.5rem 1rem; flex-wrap: wrap; justify-content: center; }
  .renta-link { font-size: 0.8rem; }
  .renta-brand { font-size: 0.75rem; }
  .renta-itp-card { grid-template-columns: 1fr; }
}

/* ========== OLD SERVICE NAV (replaced) ========== */
.srv-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: center;
}

.srv-nav-inner {
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background: var(--glass-bg);
  border-radius: var(--r-md);
  height: 3rem;
  display: flex;
  align-items: center;
  padding: 2px;
  gap: 2px;
  max-width: 65rem;
  width: 100%;
}

.srv-nav-back {
  background: var(--white);
  color: var(--black);
  width: 2.75rem;
  height: calc(3rem - 4px);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
  flex-shrink: 0;
}

.srv-nav-back:hover {
  background: var(--accent);
  color: var(--white);
}

.srv-nav-tab {
  color: var(--white);
  background: transparent;
  border-radius: var(--r-sm);
  padding: 0 0.85rem;
  height: calc(3rem - 4px);
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 300;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.srv-nav-tab:hover {
  background: var(--white-20);
  color: var(--white);
}

.srv-nav-tab.active {
  background: var(--white);
  color: var(--black);
  font-weight: 400;
}

.srv-nav-cta {
  margin-left: auto;
  background: var(--accent-dark);
  color: var(--white);
  border-radius: var(--r-sm);
  padding: 0 1rem;
  height: calc(3rem - 4px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 300;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.srv-nav-cta:hover {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 768px) {
  .srv-nav-tab { font-size: 0.8rem; padding: 0 0.5rem; }
  .srv-nav-cta { display: none; }
}

/* ========== SERVICES PAGE ========== */
.srv-page {
  padding-top: 5rem;
}

.srv-hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  position: relative;
}

.srv-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.srv-hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white-50);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.srv-section {
  max-width: 65rem;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}

.srv-section-title {
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 0.5rem;
}

.srv-section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--white-50);
  text-align: center;
  margin-bottom: 2rem;
}

/* Service cards grid */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 6px;
}

.srv-card {
  backdrop-filter: blur(30px);
  background: var(--glass-bg);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  padding: 1.75rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.srv-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px 3px var(--accent-glow);
}

.srv-card-main {
  grid-row: span 2;
  border-color: var(--accent);
  box-shadow: 0 0 8px 2px var(--accent-glow);
}

.srv-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-md);
  background: var(--accent-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.srv-card h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.srv-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white-50);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.srv-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.srv-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
}

.srv-price-note {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--white-50);
}

.srv-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.srv-features li {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--white);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.srv-features li i {
  color: var(--accent);
  font-size: 0.7rem;
}

.srv-card-btn {
  backdrop-filter: blur(30px);
  background: var(--accent-dark);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  padding: 0.75rem 1.25rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 300;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
  margin-top: auto;
}

.srv-card-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* Steps */
.srv-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 6px;
}

.srv-step {
  backdrop-filter: blur(30px);
  background: var(--glass-bg);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.srv-step:hover {
  border-color: var(--accent);
  box-shadow: 0 0 10px 3px var(--accent-glow);
}

.srv-step-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  min-width: 2.5rem;
  line-height: 1;
}

.srv-step-content h4 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.srv-step-content p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--white-50);
  line-height: 1.5;
}

/* Docs grid */
.srv-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 6px;
}

.srv-doc {
  backdrop-filter: blur(30px);
  background: var(--glass-bg);
  border-radius: var(--r-md);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.srv-doc:hover { border-color: var(--accent); }

.srv-doc i {
  font-size: 1.2rem;
  color: var(--accent);
  min-width: 1.5rem;
  text-align: center;
}

.srv-doc h4 { font-size: 0.95rem; font-weight: 400; margin-bottom: 0.15rem; }
.srv-doc p { font-size: 0.8rem; font-weight: 300; color: var(--white-50); }

.srv-info-box {
  backdrop-filter: blur(30px);
  background: var(--glass-light);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.srv-info-box i { color: var(--accent); margin-top: 3px; }
.srv-info-box p { font-size: 0.85rem; font-weight: 300; color: var(--white-50); line-height: 1.5; }

/* ITP card */
.srv-itp-card {
  backdrop-filter: blur(30px);
  background: var(--glass-bg);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}

.srv-itp-left h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: 0.75rem; }
.srv-itp-left p { font-size: 0.9rem; font-weight: 300; color: var(--white-50); line-height: 1.6; margin-bottom: 1rem; }
.srv-itp-left ul { list-style: none; }
.srv-itp-left li { font-size: 0.85rem; font-weight: 300; color: var(--white); padding: 0.3rem 0; }

.srv-itp-example {
  backdrop-filter: blur(30px);
  background: var(--glass-light);
  border-radius: var(--r-md);
  padding: 1.25rem;
  text-align: center;
}

.srv-itp-label { font-size: 0.8rem; color: var(--white-50); font-weight: 300; }

.srv-itp-calc {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
}

.srv-itp-calc div { text-align: center; }
.srv-itp-calc span { font-size: 0.75rem; color: var(--white-50); display: block; margin-bottom: 0.25rem; }
.srv-itp-calc strong { font-size: 1.5rem; color: var(--accent); }
.srv-itp-note { font-size: 0.75rem; color: var(--white-50); font-weight: 300; }

/* Contact */
.srv-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
}

.srv-contact-item {
  backdrop-filter: blur(30px);
  background: var(--glass-bg);
  border-radius: var(--r-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.srv-contact-item:hover { border-color: var(--accent); }

.srv-contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  background: var(--accent-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.srv-contact-item h4 { font-size: 0.95rem; font-weight: 400; }
.srv-contact-item p { font-size: 0.85rem; font-weight: 300; color: var(--white-50); }

.srv-schedule {
  backdrop-filter: blur(30px);
  background: var(--glass-light);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white-50);
}

@media (max-width: 768px) {
  .srv-itp-card { grid-template-columns: 1fr; }
}

/* ========== OLD BENTO (removed) ========== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr 0.5fr 0.5fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1.2fr;
  gap: 5px;
  max-width: 68em;
  width: 100%;
  max-height: 620px;
  height: 65vh;
  margin: auto;
}

.bento-card {
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background-color: var(--glass-bg);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  padding: 3px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  color: var(--white);
  position: relative;
}

.bento-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px 3px var(--accent-glow);
  transform: translateY(-1px);
  color: var(--white);
}

.bento-card-img {
  position: absolute;
  inset: 3px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  z-index: 0;
}

.bento-card-content {
  position: relative;
  z-index: 1;
  padding: 0.85em;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bento-title { font-size: 1.15rem; font-weight: 400; }
.bento-subtitle { font-size: 0.75rem; font-weight: 300; color: var(--white-50); text-transform: uppercase; letter-spacing: 0.5px; }

/* White cards (like projectcars "VISIT MERCEDES") */
.bento-cell-white {
  background: var(--white);
}
.bento-cell-white:hover { border-color: var(--accent); }
.bento-title-dark { font-size: 1.1rem; font-weight: 600; color: var(--black); }
.bento-subtitle-dark { font-size: 0.75rem; font-weight: 300; color: #00000060; text-transform: uppercase; letter-spacing: 0.5px; }

/* Main hero title */
.bento-main-title { font-size: 1.5rem; font-weight: 600; letter-spacing: 1px; }
.bento-main-sub { font-size: 0.9rem; font-weight: 300; color: var(--white-50); }

/* Icon row for info cards */
.bento-icon-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.85em; position: relative; z-index: 1; }
.bento-icon-circle {
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-md);
  background: #ee262915; color: #ee2629;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}

/* ========== GRID CELL POSITIONS ========== */
/* Trailer card (top-left, rows 1-4) */
.bento-cell-trailer { grid-column: 1; grid-row: 1 / 5; }

/* Main hero (top-center, rows 1-4, cols 2-4) */
.bento-cell-main { grid-column: 2 / 5; grid-row: 1 / 5; }

/* Mercedes/DGT (top-right, rows 1-3) */
.bento-cell-mercedes { grid-column: 5 / 7; grid-row: 1 / 4; }

/* Info cards (left, rows 5-7) */
.bento-cell-info { grid-column: 1; justify-content: center; }

/* Garage/price card (center, rows 5-6, cols 2-3) */
.bento-cell-garage { grid-column: 2 / 4; grid-row: 5 / 7; }

/* Small blocks (cols 4-5, rows 4-5 and 5-6) */
.bento-cell-sm { }

/* Gallery card (right, rows 4-6) */
.bento-cell-gallery { grid-column: 6; grid-row: 4 / 7; }

/* Bottom stats bar (full width, last row) */
.bento-cell-bar {
  grid-column: 1 / -1;
  grid-row: 7;
  justify-content: center;
  cursor: default;
}
.bento-cell-bar:hover { border-color: transparent; box-shadow: none; transform: none; }

.bento-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  width: 100%;
  padding: 0.5em;
}

.bento-stat { text-align: center; }
.bento-stat-number { font-size: 1.3rem; font-weight: 600; color: var(--accent); }
.bento-stat-label { font-size: 0.7rem; font-weight: 300; color: var(--white-50); text-transform: uppercase; letter-spacing: 1px; }

/* ========== INFO PANELS (shown on card click) ========== */
.panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #000000cc;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.panel-container {
  max-width: 550px;
  width: 100%;
  max-height: 75vh;
  overflow-y: auto;
  animation: panelIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.panel-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 151;
}

/* Panel steps (como funciona) */
.panel-steps { display: flex; flex-direction: column; gap: 1rem; }
.panel-step {
  display: flex; gap: 1rem; align-items: flex-start;
  backdrop-filter: blur(30px); background: var(--glass-light);
  border-radius: var(--r-md); padding: 1rem;
  transition: all 0.3s;
}
.panel-step:hover { background: var(--glass-bg); }
.panel-step-num { font-size: 1.5rem; font-weight: 700; color: var(--accent); opacity: 0.5; min-width: 2rem; }
.panel-step h3 { font-size: 1rem; font-weight: 400; margin-bottom: 0.25rem; }
.panel-step p { font-size: 0.85rem; font-weight: 300; color: var(--white-50); line-height: 1.5; }

/* Panel docs (trámites) */
.panel-docs { display: flex; flex-direction: column; gap: 6px; }
.panel-doc {
  display: flex; align-items: center; gap: 1rem;
  backdrop-filter: blur(30px); background: var(--glass-light);
  border-radius: var(--r-md); padding: 0.85rem 1rem;
}
.panel-doc i { font-size: 1.2rem; color: var(--accent); min-width: 1.5rem; text-align: center; }
.panel-doc h4 { font-size: 0.95rem; font-weight: 400; }
.panel-doc p { font-size: 0.8rem; font-weight: 300; color: var(--white-50); }

/* Panel contact */
.panel-contact { display: flex; flex-direction: column; gap: 6px; }
.panel-contact-item {
  display: flex; align-items: center; gap: 1rem;
  backdrop-filter: blur(30px); background: var(--glass-light);
  border-radius: var(--r-md); padding: 1rem;
}
.panel-contact-item h4 { font-size: 0.95rem; font-weight: 400; }
.panel-contact-item p { font-size: 0.85rem; font-weight: 300; color: var(--white-50); }

/* Panel timeline */
.panel-timeline { display: flex; flex-direction: column; gap: 0; padding-left: 1rem; position: relative; }
.panel-timeline::before { content:''; position: absolute; left: 1.3rem; top: 0; bottom: 0; width: 1px; background: var(--white-20); }
.panel-tl-item { display: flex; gap: 1rem; padding: 0.85rem 0; position: relative; }
.panel-tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--white-20); flex-shrink: 0; margin-top: 4px;
  position: relative; z-index: 1;
}
.panel-tl-item.active .panel-tl-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow-strong); }
.panel-tl-item h4 { font-size: 0.95rem; font-weight: 400; margin-bottom: 0.15rem; }
.panel-tl-item p { font-size: 0.8rem; font-weight: 300; color: var(--white-50); line-height: 1.4; }

/* ========== BOTTOM BAR ========== */
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.bottom-pill {
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background-color: var(--glass-bg);
  border-radius: var(--r-md);
  height: 3rem;
  display: flex;
  align-items: center;
  padding: 2px;
  gap: 2px;
}

.bottom-pill-text {
  padding: 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--white);
  white-space: nowrap;
}

.bottom-pill-btn {
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: var(--r-sm);
  width: 2.75rem;
  height: calc(3rem - 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.bottom-pill-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ========== SCROLL SECTIONS (for pages that DO scroll) ========== */
.section {
  max-width: 65rem;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 { font-size: 2.15rem; font-weight: 400; }
.section-header p { color: var(--white-50); font-size: 1rem; font-weight: 300; margin-top: 0.625rem; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 6px;
}

.process-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.process-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.08;
  position: absolute;
  top: 8px;
  right: 16px;
}

.process-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-md);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.25rem;
  color: var(--accent);
  transition: all 0.3s;
}

.process-card:hover .process-icon {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 15px var(--accent-glow-strong);
}

.process-card h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: 0.5rem; }
.process-card p { color: var(--white-50); font-size: 0.9rem; font-weight: 300; line-height: 1.5; }

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.stat-item { text-align: center; }
.stat-number { font-size: 2.15rem; font-weight: 600; color: var(--accent); }
.stat-label { font-size: 0.875rem; color: var(--white-50); font-weight: 300; }

/* Auth pages */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 2rem;
}

.auth-card { width: 100%; max-width: 440px; }
.auth-card h2 { font-size: 1.5rem; font-weight: 400; text-align: center; margin-bottom: 0.25rem; }
.auth-card .subtitle { text-align: center; color: var(--white-50); margin-bottom: 2rem; font-size: 1rem; font-weight: 300; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; font-weight: 300; color: var(--white-50); }

/* Empty state */
.empty-state { text-align: center; padding: 3rem; }
.empty-state i { font-size: 2.5rem; color: var(--white-50); margin-bottom: 1.25rem; }
.empty-state h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: 0.5rem; }
.empty-state p { color: var(--white-50); font-weight: 300; margin-bottom: 1.25rem; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    max-height: none;
    height: auto;
  }
  .bento-main { grid-column: 1 / -1; grid-row: auto; min-height: 200px; }
  .bento-cta { grid-column: 1 / -1; grid-row: auto; padding: 2rem; }
  .bento-bar { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .bento-sm { display: none; }
  .home-viewport { height: auto; min-height: 100vh; }
}
