/* ==========================================================================
   FULL TORQUE MÉXICO — Design System
   Venta de maquinaria pesada, camiones y vehículos · Tlaltizapán, Morelos
   ========================================================================== */

:root {
  --black:        #0a0a0b;
  --black-2:      #121214;
  --black-3:      #1b1b1e;
  --black-4:      #232326;
  --off:          #f5f3ee;
  --white:        #ffffff;
  --ink:          #16161a;
  --ink-soft:     #5a5a62;
  --ink-faint:    #8a8a90;

  --gold:         #d4a62b;
  --gold-light:   #e8c567;
  --gold-pale:    #f5e6b8;
  --gold-deep:    #a67c1e;
  --gold-ink:     #7a5c14;

  --ember:        #b5651d;
  --ember-light:  #d98a3d;

  --line:         rgba(10,10,11,.09);
  --line-dark:    rgba(255,255,255,.10);

  --shadow-sm:    0 2px 10px rgba(10,10,11,.06);
  --shadow-md:    0 10px 30px rgba(10,10,11,.10);
  --shadow-gold:  0 12px 32px rgba(212,166,43,.28);

  --ff-head:      'Space Grotesk', 'Inter', sans-serif;
  --ff-body:      'Inter', sans-serif;

  --ease:         cubic-bezier(.16,.84,.44,1);
  --wrap-w:       1220px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
iframe { border: 0; }

.wrap { max-width: var(--wrap-w); margin: 0 auto; padding: 0 32px; position: relative; }

body.no-scroll { overflow: hidden; }

/* --------------------------------------------------------------------
   LOADER
   -------------------------------------------------------------------- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(circle at 50% 40%, #161618 0%, #0a0a0b 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
#loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.ld-logo { position: relative; width: 108px; height: 108px; display: flex; align-items: center; justify-content: center; }
.ld-logo-img {
  width: 84px; height: 84px; border-radius: 50%; object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(212,166,43,.45));
  animation: ldPulse 2.2s ease-in-out infinite;
}
.ld-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold-light);
  animation: ldSpin 1.1s linear infinite;
}
@keyframes ldSpin { to { transform: rotate(360deg); } }
@keyframes ldPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.ld-brand { text-align: center; }
.ld-name {
  font-family: var(--ff-head); font-weight: 700; font-size: 22px; letter-spacing: .12em;
  color: var(--white); text-transform: uppercase;
}
.ld-name em { font-style: normal; color: var(--gold); }
.ld-tag { margin-top: 6px; font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em; }

.ld-progress { width: 200px; text-align: center; }
.ld-track { width: 100%; height: 3px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.ld-fill {
  height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  animation: ldFill 1.6s var(--ease) forwards;
}
@keyframes ldFill { to { width: 100%; } }
.ld-note { margin-top: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }

/* --------------------------------------------------------------------
   NAV
   -------------------------------------------------------------------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
#nav.scrolled {
  padding: 13px 0;
  background: rgba(10,10,11,.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.nav-wrap { max-width: var(--wrap-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; transition: transform .3s var(--ease); }
.logo:hover .logo-img { transform: rotate(-8deg) scale(1.05); }
.logo-word { font-family: var(--ff-head); font-weight: 700; font-size: 18px; letter-spacing: .1em; color: var(--white); }
.logo-word em { font-style: normal; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.82);
  position: relative; padding: 4px 0; transition: color .25s;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--black) !important; font-weight: 700 !important;
  padding: 10px 20px !important; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 6px 18px rgba(212,166,43,.25);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 30px; z-index: 60; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s var(--ease); }
.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); }

.mob-menu {
  position: fixed; inset: 0; z-index: 450;
  background: rgba(10,10,11,.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transform: translateY(-100%); opacity: 0;
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.mob-menu.active { transform: translateY(0); opacity: 1; }
.mob-menu a { font-family: var(--ff-head); font-size: 24px; font-weight: 600; color: var(--white); }
.mob-menu a:last-child {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--black); padding: 12px 28px; border-radius: 999px; margin-top: 10px;
}

/* --------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------- */
#hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: var(--black); padding-top: 100px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('imagenes/excavadora-cat-320e.jpeg') center 42% / cover no-repeat;
  filter: saturate(.85) brightness(.55);
  transform: scale(1.06);
}
.hero-ov {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,7,.55) 0%, rgba(8,8,9,.72) 45%, rgba(6,6,7,.94) 100%),
    linear-gradient(100deg, rgba(6,6,7,.88) 0%, rgba(8,8,9,.45) 55%, rgba(8,8,9,.75) 100%);
}
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#pcanvas { opacity: .6; }
#pcanvasWhy { opacity: .35; }
#pcanvasGaleria { opacity: .3; }

.hero-body { position: relative; z-index: 5; padding: 60px 0 40px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--gold); display: inline-block; }

.hero-h1 {
  font-family: var(--ff-head); font-weight: 700; font-size: clamp(38px, 6vw, 74px);
  line-height: 1.06; letter-spacing: -.01em; color: var(--white); margin-bottom: 26px;
}
.h1-line { display: block; overflow: hidden; }
.h1-inner {
  display: inline-block;
  background: linear-gradient(100deg, #ffffff 0%, var(--gold-pale) 22%, var(--gold-light) 45%, #ffffff 65%, var(--gold-light) 85%, #ffffff 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmerText 7s linear infinite;
}
.h1-accent .h1-inner {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--ember-light) 20%, var(--gold-light) 40%, #fff6df 50%, var(--gold) 65%, var(--gold-light) 85%, var(--gold-deep) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmerText 5s linear infinite;
}
@keyframes shimmerText {
  0% { background-position: 0% 50%; }
  100% { background-position: -260% 50%; }
}

/* heading shine-sweep, triggered once when the revealed ancestor becomes visible */
.heading--shine, .heading--shine-dark { position: relative; overflow: hidden; }
.heading--shine::after, .heading--shine-dark::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(212,166,43,.55), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.rev.is-visible .heading--shine::after,
.rev.is-visible .heading--shine-dark::after { animation: headingShine 1.3s ease .35s 1; }
.heading--shine-dark::after { background: linear-gradient(105deg, transparent, rgba(232,197,103,.5), transparent); }
@keyframes headingShine { from { left: -60%; } to { left: 130%; } }

.hero-typewriter {
  font-family: var(--ff-head); font-size: clamp(15px, 2vw, 19px); font-weight: 600;
  color: var(--gold-light); margin-bottom: 22px; min-height: 26px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline;
}
.tw-label { color: rgba(255,255,255,.55); font-weight: 500; }
.tw-cursor { color: var(--gold); animation: blink 1s step-end infinite; font-weight: 300; }
@keyframes blink { 50% { opacity: 0; } }

.hero-p { max-width: 560px; font-size: 16.5px; color: rgba(255,255,255,.72); margin-bottom: 36px; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }
.btn-primary, .btn-secondary, .btn-outline, .btn-submit {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 14.5px; letter-spacing: .01em;
  padding: 15px 28px; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--black); box-shadow: 0 10px 28px rgba(212,166,43,.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(212,166,43,.45); }
.btn-primary svg { transition: transform .3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  background: rgba(255,255,255,.06); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); transform: translateY(-3px); }

.hero-stats { position: relative; z-index: 5; border-top: 1px solid rgba(255,255,255,.12); padding: 30px 0 36px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-col { display: flex; flex-direction: column; gap: 4px; }
.stat-val { font-family: var(--ff-head); font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--white); }
.stat-lbl { font-size: 12.5px; color: rgba(255,255,255,.55); letter-spacing: .01em; }

.hero-deco { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; animation: orbFloat 12s ease-in-out infinite; }
.hero-orb--1 { width: 340px; height: 340px; background: var(--gold-deep); top: -60px; right: -80px; }
.hero-orb--2 { width: 260px; height: 260px; background: var(--ember); bottom: 10%; left: -60px; animation-delay: -6s; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-30px); } }
.hero-beam {
  position: absolute; top: 0; left: 62%; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(212,166,43,.35), transparent);
}

.hero-badge {
  position: absolute; top: 118px; right: 32px; z-index: 6;
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 9px 16px; border-radius: 999px; backdrop-filter: blur(8px);
}
.hb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,166,43,.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(212,166,43,.55); } 70% { box-shadow: 0 0 0 9px rgba(212,166,43,0); } 100% { box-shadow: 0 0 0 0 rgba(212,166,43,0); } }
.hb-text { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.85); }

/* --------------------------------------------------------------------
   TRUST BAR
   -------------------------------------------------------------------- */
#trust { position: relative; overflow: hidden; background: var(--black-2); padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.trust-bg {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,11,.94), rgba(10,10,11,.8)), url('imagenes/camion-peterbilt.jpeg') center 35% / cover;
  opacity: .35;
}
.trust-row { position: relative; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.trust-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-chip {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.78);
  padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  transition: border-color .25s, color .25s, background .25s;
}
.trust-chip:hover { border-color: var(--gold); color: var(--white); background: rgba(212,166,43,.1); }

/* --------------------------------------------------------------------
   GENERIC SECTION / TYPE
   -------------------------------------------------------------------- */
.section { padding: 108px 0; }
.bg-white { background: var(--white); }
.bg-off { background: var(--off); }
.bg-navy { background: var(--black); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: var(--gold-deep); display: inline-block; }
.eyebrow--white { color: var(--gold-light); }

.heading { font-family: var(--ff-head); font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.heading--white { color: var(--white); }

.sub { font-size: 16px; color: var(--ink-soft); margin-top: 14px; max-width: 620px; }
.sub--white { color: rgba(255,255,255,.62); }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .sub { margin-left: auto; margin-right: auto; }

/* scroll reveal */
.rev { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rev.from-l { transform: translateX(-42px); }
.rev.from-r { transform: translateX(42px); }
.rev.is-visible { opacity: 1; transform: translate(0,0); }
.rev.d1 { transition-delay: .05s; }
.rev.d2 { transition-delay: .15s; }
.rev.d3 { transition-delay: .25s; }
.rev.d4 { transition-delay: .35s; }
.rev.d5 { transition-delay: .45s; }
.rev.d6 { transition-delay: .55s; }

/* --------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-accent {
  position: absolute; bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--black); padding: 20px 26px; border-radius: 16px; box-shadow: var(--shadow-gold);
}
.a-num { font-family: var(--ff-head); font-size: 26px; font-weight: 700; line-height: 1; }
.a-lbl { font-size: 12px; font-weight: 600; margin-top: 4px; }

.about-text p { color: var(--ink-soft); font-size: 16px; margin-top: 16px; max-width: 560px; }
.about-text .heading { margin-bottom: 4px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.a-stat-n { font-family: var(--ff-head); font-size: 28px; font-weight: 700; color: var(--gold-ink); }
.a-stat-l { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* --------------------------------------------------------------------
   SERVICES
   -------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(212,166,43,.35); }
.svc-num { position: absolute; top: 24px; right: 26px; font-family: var(--ff-head); font-size: 13px; font-weight: 700; color: var(--line); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ic-gold { background: linear-gradient(135deg, var(--gold-pale), #fff); border: 1px solid rgba(212,166,43,.25); }
.svc-card h3 { font-family: var(--ff-head); font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.svc-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }
.svc-card .svc-models { font-size: 12.5px; color: var(--gold-ink); font-weight: 600; margin-bottom: 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--off); color: var(--ink-soft); }
.tag-gold { background: var(--gold-pale); color: var(--gold-ink); }

/* --------------------------------------------------------------------
   INVENTARIO (product grid)
   -------------------------------------------------------------------- */
.prod-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.prod-header .heading { margin-top: 6px; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-3px); }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prod-photo { aspect-ratio: 4/3; overflow: hidden; }
.prod-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod-card:hover .prod-photo img { transform: scale(1.07); }
.prod-card h3 { font-family: var(--ff-head); font-size: 16.5px; font-weight: 700; padding: 20px 20px 0; }
.prod-card p { font-size: 13.5px; color: var(--ink-soft); padding: 8px 20px 0; min-height: 40px; }
.prod-pill {
  display: inline-flex; align-items: center; gap: 7px; margin: 16px 20px 22px; font-size: 13px; font-weight: 700;
  color: var(--white); background: linear-gradient(135deg, var(--ember-light), var(--ember));
  padding: 9px 16px; border-radius: 999px; box-shadow: 0 6px 16px rgba(181,101,29,.25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.prod-pill::after { content: '→'; transition: transform .25s var(--ease); }
.prod-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(181,101,29,.4); }
.prod-pill:hover::after { transform: translateX(3px); }
.prod-note { margin-top: 32px; font-size: 13.5px; color: var(--ink-faint); text-align: center; }

/* --------------------------------------------------------------------
   WHY
   -------------------------------------------------------------------- */
#why { position: relative; overflow: hidden; }
.why-bg { position: absolute; inset: 0; background: radial-gradient(circle at 82% 15%, rgba(212,166,43,.14), transparent 55%), radial-gradient(circle at 10% 90%, rgba(181,101,29,.12), transparent 50%); }
.why-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.why-img-wrap { position: relative; }
.why-img-main { border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.why-img-main img { width: 100%; height: 100%; object-fit: cover; }
.why-img-badge {
  position: absolute; top: -20px; left: -20px; background: var(--black-3); border: 1px solid var(--line-dark);
  padding: 18px 24px; border-radius: 16px; backdrop-filter: blur(6px);
}
.wib-n { font-family: var(--ff-head); font-size: 24px; font-weight: 700; color: var(--gold-light); }
.wib-l { font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 4px; }

.benefit-list { display: flex; flex-direction: column; gap: 26px; margin-top: 34px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.ben-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); transition: background .3s, border-color .3s; }
.benefit:hover .ben-icon { background: rgba(212,166,43,.12); border-color: rgba(212,166,43,.35); }
.benefit h4 { font-family: var(--ff-head); font-size: 16.5px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.benefit p { font-size: 14px; color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------
   NUMBERS / PROCESS
   -------------------------------------------------------------------- */
#numbers { position: relative; padding: 120px 0; background: var(--black); overflow: hidden; }
.numbers-bg {
  position: absolute; inset: 0;
  background: url('imagenes/retroexcavadora-cat-416d.jpeg') center 38% / cover;
  filter: saturate(.9) brightness(.48);
}
.numbers-ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,10,.72) 0%, rgba(9,9,10,.88) 100%);
}
#numbers .wrap { position: relative; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.number-item { position: relative; padding: 30px 26px; background: rgba(255,255,255,.06); border-radius: 16px; border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.number-item:hover { background: rgba(212,166,43,.1); border-color: rgba(212,166,43,.4); transform: translateY(-4px); }
.num-v { font-family: var(--ff-head); font-size: 40px; font-weight: 800; color: var(--gold-pale); -webkit-text-stroke: 1.5px var(--gold-light); margin-bottom: 14px; }
.num-l { font-size: 14.5px; color: rgba(255,255,255,.85); font-weight: 500; }

/* --------------------------------------------------------------------
   GALERÍA / BRANDS
   -------------------------------------------------------------------- */
#galeria { position: relative; overflow: hidden; background: var(--black); padding: 108px 0; }
#galeria .wrap { position: relative; }
.brands-head { text-align: center; margin-bottom: 46px; }
.brands-sub { color: rgba(255,255,255,.55); margin-top: 12px; font-size: 15.5px; }
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-card-inner { aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-dark); transition: border-color .3s; }
.brand-card-inner:hover { border-color: rgba(212,166,43,.5); }
.brand-card-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: saturate(1) brightness(1.16); }
.brand-card-inner:hover img { transform: scale(1.08); filter: saturate(1.1) brightness(1.22); }
.brands-note { text-align: center; margin-top: 34px; font-size: 13.5px; letter-spacing: .03em; color: rgba(255,255,255,.45); }

/* --------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: stretch; }

.contact-info { position: relative; border-radius: 22px; overflow: hidden; background: var(--black); box-shadow: var(--shadow-md); }
.contact-info-bg {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(9,9,10,.55), rgba(9,9,10,.9)), url('imagenes/rv-exterior-2.jpeg') center 45% / cover;
}
.contact-info-content { position: relative; z-index: 1; padding: 44px 40px; }
.contact-info .c-label { color: rgba(255,255,255,.55); }
.contact-info .c-value { color: var(--white); }
.contact-info .c-value a:hover { color: var(--gold-light); }

.c-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.c-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.c-label { font-size: 12px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.c-value { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-top: 3px; }
.c-value a:hover { color: var(--gold-ink); }

.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow-sm); height: 100%; }
.form-wrap h3 { font-family: var(--ff-head); font-size: 22px; font-weight: 700; }
.form-sub { font-size: 14px; color: var(--ink-soft); margin-top: 8px; margin-bottom: 26px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fg { margin-bottom: 18px; }
.fl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.fi {
  width: 100%; padding: 12px 15px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--off); font-size: 14.5px; transition: border-color .25s, background .25s;
}
.fi:focus { outline: none; border-color: var(--gold-deep); background: var(--white); }
textarea.fi { resize: vertical; min-height: 90px; }
.btn-submit {
  width: 100%; justify-content: center; margin-top: 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); color: var(--black);
  box-shadow: 0 10px 26px rgba(212,166,43,.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(212,166,43,.4); }

/* Google Maps card */
.map-card { margin-top: 48px; }
.map-link { position: relative; display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 340px; }
.map-frame { width: 100%; height: 100%; pointer-events: none; filter: grayscale(.1) contrast(1.05); }
.map-link::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.3) 100%);
  pointer-events: none;
}
.map-tag {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: var(--white); font-size: 13.5px; font-weight: 700;
  padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), background .3s;
}
.map-link:hover .map-tag { transform: translateY(-3px); background: var(--gold-deep); color: var(--black); }

/* --------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------- */
footer { position: relative; overflow: hidden; background: var(--black); padding: 76px 0 0; }
.foot-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.9), rgba(10,10,11,.98)), url('imagenes/rv-exterior-1.jpeg') center 30% / cover;
  filter: saturate(.85);
}
footer .wrap { position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.foot-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.foot-logo-img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; }
.foot-logo .logo-word { font-family: var(--ff-head); font-weight: 700; font-size: 17px; letter-spacing: .1em; color: var(--white); }
.foot-logo .logo-word em { font-style: normal; color: var(--gold); }
.foot-desc { font-size: 14px; color: rgba(255,255,255,.5); max-width: 300px; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social-btn {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: background .25s, transform .25s, color .25s;
}
.foot-social-btn:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.foot-col-title { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.foot-links { display: flex; flex-direction: column; gap: 12px; }
.foot-links a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .25s; }
.foot-links a:hover { color: var(--gold-light); }
.foot-bottom { display: flex; justify-content: space-between; padding: 24px 0; font-size: 13px; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 8px; }
.foot-bottom span { color: var(--gold-light); font-weight: 600; }

/* --------------------------------------------------------------------
   FLOATING ACTION BUTTONS (WhatsApp + Facebook)
   -------------------------------------------------------------------- */
.fab-stack { position: fixed; right: 26px; bottom: 26px; z-index: 400; display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.fab-item { display: flex; align-items: center; gap: 10px; }
.fab-tip {
  background: var(--black-2); color: var(--white); font-size: 13px; font-weight: 600;
  padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow-md); white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; pointer-events: none;
}
.fab-item:hover .fab-tip { opacity: 1; transform: translateX(0); }
.fab-btn {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fab-btn:hover { transform: scale(1.08); }
.wa-btn { width: 58px; height: 58px; background: #25D366; box-shadow: 0 10px 26px rgba(37,211,102,.45); animation: waBounce 3.2s ease-in-out infinite; }
.fb-btn { width: 50px; height: 50px; background: #1877F2; box-shadow: 0 10px 24px rgba(24,119,242,.4); }
@keyframes waBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .wrap { padding: 0 24px; }
  .about-grid, .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-img-wrap { order: 2; max-width: 420px; margin: 0 auto; }
  .why-content { order: 1; }
  .about-img-wrap { max-width: 420px; margin: 0 auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 76px 0; }
  #numbers, #galeria { padding: 76px 0; }
  .hero-body { padding-top: 30px; }
  #hero { padding-top: 90px; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { width: 100%; justify-content: center; }
  .hero-badge { display: none; }
  .about-accent { right: 12px; bottom: -18px; padding: 14px 18px; }
  .why-img-badge { left: 12px; top: -16px; padding: 12px 16px; }
  .prod-header { flex-direction: column; align-items: flex-start; }
  .frow { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 22px; }
  .contact-info-content { padding: 32px 26px; }
  .map-link { height: 240px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fab-stack { right: 16px; bottom: 16px; gap: 12px; }
  .wa-btn { width: 52px; height: 52px; }
  .fb-btn { width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  .svc-grid, .prod-grid, .numbers-grid, .brands-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 18px; }
  .hero-h1 { font-size: clamp(30px, 9vw, 44px); }
  .hero-typewriter { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
