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

:root {
  --yellow: #E02020;
  --yellow-light: #FF3333;
  --yellow-dark: #B01010;
  --black: #0D0D0D;
  --dark: #161616;
  --dark2: #1E1E1E;
  --dark3: #252525;
  --white: #FFFFFF;
  --gray: #9A9A9A;
  --gray-light: #2A2A2A;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ── LANGUAGE SELECTOR ── */
.language-selector {
  position: fixed;
  top: 90px;
  right: 2rem;
  z-index: 101;
  display: flex;
  gap: 0.4rem;
  background: rgba(22,22,22,0.95);
  backdrop-filter: blur(12px);
  padding: 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(224,32,32,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: rgba(224,32,32,0.1);
  border-color: rgba(224,32,32,0.3);
  color: var(--yellow);
}

.lang-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-text {
  position: absolute;
  right: 70px;
  background: rgba(22,22,22,0.95);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  border: 1px solid rgba(37,211,102,0.3);
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224,32,32,0.15);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--yellow);
}

.logo-text span { color: var(--white); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--yellow); }

.nav-cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--yellow-light) !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('malaga-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,13,0.88) 0%,
    rgba(13,13,13,0.75) 50%,
    rgba(13,13,13,0.85) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224,32,32,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,32,32,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: gridPulse 6s ease-in-out infinite;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(224,32,32,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
  animation: floatGlow 7s ease-in-out infinite;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224,32,32,0.1);
  border: 1px solid rgba(224,32,32,0.3);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  width: fit-content;
  position: relative;
  z-index: 10;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  max-width: 800px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

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

.hero-sub {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 300;
  position: relative;
  z-index: 10;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  padding: 1rem 2.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--yellow-light); transform: translateY(-2px); }

.btn-secondary {
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 10;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--yellow);
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(90deg, var(--yellow) 30%, #ff8080 50%, var(--yellow) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

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

/* ── SECTION STYLES ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--yellow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
}

/* ── SERVICES ── */
#servicios {
  padding: 100px 5%;
  background: var(--dark);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: rgba(224,32,32,0.08);
  border: 1px solid rgba(224,32,32,0.08);
}

.service-card {
  background: var(--dark);
  padding: 2.8rem 2.4rem;
  transition: background 0.25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--yellow);
  transition: width 0.35s ease;
}

.service-card:hover { background: var(--dark2); }
.service-card:hover::after { width: 100%; }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(224,32,32,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ── MÁLAGA BANNER ── */
#malaga-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22,22,22,0.92) 0%,
    rgba(13,13,13,0.55) 40%,
    rgba(13,13,13,0.55) 60%,
    rgba(22,22,22,0.92) 100%
  );
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5%;
}

.banner-content .section-label { justify-content: center; margin-bottom: 1rem; }

.banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.banner-accent { color: var(--yellow); }

.banner-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-top: 1rem;
  font-weight: 300;
}

/* ── ABOUT ── */
#nosotros {
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  background: var(--black);
  position: relative;
}

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--dark2);
  border: 1px solid rgba(224,32,32,0.12);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s;
}

.about-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 3px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  border-radius: 8px 8px 0 0;
}

.about-card-main:hover {
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  box-shadow: 20px 20px 60px rgba(0,0,0,0.5), -4px -4px 20px rgba(224,32,32,0.1);
}

.truck-graphic {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.about-card-main h4 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.about-card-main p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-card-float {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  background: var(--yellow);
  color: var(--black);
  padding: 1.2rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(224,32,32,0.25);
}

.about-card-float .big { 
  font-family: var(--font-display); 
  font-size: 2.5rem; 
  display: block; 
  line-height: 1; 
}

.checklist {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 300;
}

.check-icon {
  width: 20px; height: 20px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.65rem;
  color: var(--black);
  font-weight: 700;
}

/* ── ADVANTAGES ── */
#ventajas {
  padding: 100px 5%;
  background: var(--dark);
}

.features-header {
  text-align: center;
  margin-bottom: 5rem;
}

.features-header .section-label { justify-content: center; }
.features-header .section-title { max-width: 600px; margin: 0 auto 1rem; }
.features-header .section-desc { margin: 0 auto; text-align: center; }

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

.feature-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 2.4rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: rgba(224,32,32,0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(224,32,32,0.15);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--yellow);
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ── CONTACT ── */
#contacto {
  padding: 100px 5%;
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  position: relative;
}

.contact-info .section-title { margin-bottom: 1.5rem; }

.contact-data {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(224,32,32,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text small { 
  color: var(--gray); 
  font-size: 0.75rem; 
  text-transform: uppercase; 
  letter-spacing: 0.08em; 
}

.contact-item-text strong { 
  display: block; 
  color: var(--white); 
  font-size: 0.95rem; 
  margin-top: 0.15rem; 
}

.contact-item-text a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item-text a:hover {
  color: var(--yellow);
}

.contact-form {
  background: var(--dark);
  border: 1px solid rgba(224,32,32,0.1);
  border-radius: 8px;
  padding: 2.8rem;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 0.85rem 1.1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 1rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.form-submit:hover { 
  background: var(--yellow-light); 
  transform: translateY(-2px); 
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(224,32,32,0.1);
  padding: 60px 5% 32px;
}

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

.logo-img-footer {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-brand .nav-logo { display: flex; margin-bottom: 1rem; }

.footer-brand p {
  color: var(--gray);
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 300px;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray);
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.25s, background 0.2s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--yellow); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--yellow); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(16px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}

.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.19s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.33s; }

.mobile-menu a:hover { color: var(--yellow); }

.mobile-menu .menu-cta {
  margin-top: 1rem;
  background: var(--yellow);
  color: var(--black) !important;
  padding: 0.9rem 2.4rem;
  border-radius: 4px;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mobile-menu .menu-divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0.5rem 0;
  opacity: 0;
  transition: opacity 0.4s 0.3s;
}

.mobile-menu.open .menu-divider { opacity: 1; }

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
  z-index: 999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(224,32,32,0.6);
}

/* ── ANIMATIONS ── */
.reveal, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}

.reveal { transform: translateY(48px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-zoom { transform: scale(0.85); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-zoom.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

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

.hero-badge   { animation: heroFadeUp 0.7s 0.1s cubic-bezier(0.22,1,0.36,1) both; }
.hero-title   { animation: heroFadeUp 0.8s 0.25s cubic-bezier(0.22,1,0.36,1) both; }
.hero-sub     { animation: heroFadeUp 0.8s 0.45s cubic-bezier(0.22,1,0.36,1) both; }
.hero-actions { animation: heroFadeUp 0.8s 0.6s cubic-bezier(0.22,1,0.36,1) both; }
.hero-stats   { animation: heroFadeUp 0.8s 0.75s cubic-bezier(0.22,1,0.36,1) both; }

@keyframes floatGlow {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

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

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  
  .language-selector {
    top: 80px;
    right: 1rem;
  }

  #hero { padding: 100px 6% 60px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stats .stat-number { font-size: 2.4rem; }

  #nosotros { grid-template-columns: 1fr; gap: 3rem; padding: 70px 6%; }
  #contacto { grid-template-columns: 1fr; gap: 3rem; padding: 70px 6%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .about-card-float { position: relative; right: auto; bottom: auto; margin-top: 1.5rem; display: inline-block; }
  .form-row { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  #servicios { padding: 70px 6%; }
  #ventajas { padding: 70px 6%; }
  .contact-form { padding: 2rem; }
}

@media (max-width: 600px) {
  nav { padding: 0 5%; height: 64px; }
  
  .language-selector {
    top: 70px;
    right: 1rem;
    gap: 0.3rem;
    padding: 0.3rem;
  }
  
  .lang-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  
  .whatsapp-text {
    display: none;
  }

  #hero { padding: 90px 5% 50px; }
  .hero-title { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; padding: 0.9rem 1.5rem; }
  .hero-stats { gap: 1.2rem; padding-top: 2rem; margin-top: 3rem; }
  .hero-stats .stat-number { font-size: 2rem; }
  .hero-stats .stat-label { font-size: 0.7rem; }
  .hero-badge { font-size: 0.68rem; }

  #servicios { padding: 60px 5%; }
  .services-grid { grid-template-columns: 1fr; gap: 1px; }
  .service-card { padding: 2rem 1.6rem; }
  .services-header { margin-bottom: 2.5rem; }

  #nosotros { padding: 60px 5%; gap: 2.5rem; }
  .about-card-main { padding: 1.8rem; }
  .truck-graphic { font-size: 3.5rem; }

  #ventajas { padding: 60px 5%; }
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .features-header { margin-bottom: 3rem; }
  .feature-card { padding: 1.8rem; }
  .feature-num { font-size: 3rem; }

  #contacto { padding: 60px 5%; gap: 2rem; }
  .contact-form { padding: 1.6rem; }
  .form-title { font-size: 1.5rem; }
  .contact-data { gap: 1rem; }

  footer { padding: 50px 5% 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-brand p { max-width: 100%; }

  .section-title { font-size: clamp(2rem, 8vw, 3rem); }
  
  .logo-text {
    font-size: 1.6rem;
  }
  
  .logo-img {
    height: 32px;
  }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2.6rem; }
  .hero-badge { font-size: 0.6rem; letter-spacing: 0.08em; }
  .stat-number { font-size: 1.8rem !important; }
  .nav-logo { font-size: 1.4rem; }
}
