/* =====================================================
   ORUGA37 — Hoja de Estilos Principal
   Paleta: Amarillo #F5C518 · Negro #0D0D0D
   Tipografía: Barlow Condensed (títulos) · Barlow (cuerpo)
===================================================== */

/* === VARIABLES ====================================== */
:root {
  --yellow:       #F5C518;
  --yellow-dark:  #C9A00C;
  --yellow-light: #FFD93D;
  --black:        #0D0D0D;
  --dark-1:       #111111;
  --dark-2:       #1A1A1A;
  --dark-3:       #252525;
  --dark-4:       #333333;
  --gray:         #777777;
  --light:        #CCCCCC;
  --white:        #FFFFFF;
  --green-wa:     #25D366;

  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius:       4px;
  --transition:   0.3s ease;
  --shadow:       0 4px 20px rgba(0,0,0,0.4);
  --shadow-y:     0 4px 20px rgba(245,197,24,0.2);
  --max-w:        1200px;
  --section-pad:  5rem 0;
}

/* === RESET ========================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); background: var(--dark-1); color: var(--light); line-height: 1.6; overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === UTILIDADES ==================================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 0.4rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; text-transform: uppercase;
  color: var(--white); line-height: 1.05; margin-bottom: 0.75rem;
}
.section-title span { color: var(--yellow); }
.section-subtitle { font-size: 0.95rem; color: #ede9e9; max-width: 600px; margin-bottom: 2.5rem; line-height: 1.8; }
.section-header { margin-bottom: 2.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

.yellow-line { display: block; width: 50px; height: 3px; background: var(--yellow); margin: 0.75rem 0 2rem; }
.yellow-line.center { margin-left: auto; margin-right: auto; }

/* BOTONES */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-heading); font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius); transition: var(--transition);
}
.btn-primary  { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow-y); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-wa  { background: var(--green-wa); color: var(--white); }
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

/* REVEAL ON SCROLL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === NAVBAR ======================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,13,13,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245,197,24,0.12);
  transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: rgba(245,197,24,0.28); }

.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.navbar-logo img,
.navbar-logo       { height: 42px; width: auto; display: block; }
.navbar-logo-text  { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 900; color: var(--white); }
.navbar-logo-text span { color: var(--yellow); }

.navbar-links { display: flex; align-items: center; gap: 1.75rem; }
.navbar-links a {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--light);
  transition: var(--transition); position: relative;
}
.navbar-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--yellow); transition: var(--transition);
}
.navbar-links a:hover, .navbar-links a.active { color: var(--yellow); }
.navbar-links a:hover::after, .navbar-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.45rem 1.1rem !important;
  background: var(--yellow) !important; color: var(--black) !important;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--yellow-dark) !important; }
.nav-cta::after { display: none !important; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--dark-1); z-index: 999;
  padding: 2rem 1.5rem; flex-direction: column; gap: 0.25rem; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--light);
  padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--yellow); padding-left: 0.5rem; }

/* === HERO ========================================== */
#inicio {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background-color: var(--dark-1);
  background-image:
    linear-gradient(135deg, rgba(13,13,13,0.86), rgba(20,15,0,0.45)),
    url('../img/hero/hero.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg,
      transparent, transparent 40px,
      rgba(245,197,24,0.018) 40px, rgba(245,197,24,0.018) 41px);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding-top: 68px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.25);
  color: var(--yellow); font-family: var(--font-heading);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 2px; margin-bottom: 1.5rem;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 7vw, 9rem);
  font-weight: 900; text-transform: uppercase;
  color: var(--white); line-height: 0.88; margin-bottom: 0.2rem;
}
.hero-title .hl { color: var(--yellow); display: block; }

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400; color: var(--light); letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.hero-slogan {
  font-size: clamp(1.2rem, 2vw, 1.1rem);
  color: #f1ebeb; font-style: italic; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: #ede9e9; font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll i { color: var(--yellow); font-size: 1.1rem; }
.hero-bar { position: absolute; bottom: 0; right: 0; width: 45%; height: 3px; background: linear-gradient(to left, var(--yellow), transparent); }

/* === SERVICIOS ===================================== */
#servicios {
  padding: var(--section-pad); background: var(--dark-2); position: relative;
}
#servicios::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--yellow), transparent);
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.25rem; }

.service-card {
  background: var(--dark-3); border: 1px solid rgba(255,255,255,0.05);
  border-left: 4px solid var(--yellow); border-radius: var(--radius);
  padding: 2rem; transition: var(--transition);
}
.service-card:hover { background: var(--dark-4); transform: translateY(-4px); box-shadow: var(--shadow-y); }

.service-icon {
  width: 48px; height: 48px;
  background: rgba(245,197,24,0.1); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.service-icon i { font-size: 1.3rem; color: var(--yellow); }
.service-card h3 {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  text-transform: uppercase; color: var(--white);
  letter-spacing: 0.04em; margin-bottom: 0.65rem;
}
.service-card p { font-size: 0.9rem; color: #ede9e9; line-height: 1.75; }

/* === PROYECTOS ===================================== */
#proyectos { padding: var(--section-pad); background: var(--dark-1); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.project-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; background: var(--dark-3); cursor: pointer;
}
.project-card.featured { grid-row: span 2; aspect-ratio: unset; }

.project-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--dark-4);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover img { transform: scale(1.06); }

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 30%, transparent);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-info h4 {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  text-transform: uppercase; color: var(--white); margin-bottom: 0.2rem;
}
.project-info span {
  font-family: var(--font-heading); font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow);
}

/* === NOSOTROS ====================================== */
#nosotros { padding: var(--section-pad); background: var(--dark-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.about-image-wrap { position: relative; }
.about-ph {
  width: 100%; height: 480px; background: var(--dark-3); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(255,255,255,0.08);
}
.about-ph i { font-size: 4rem; color: var(--dark-4); }
.about-image-wrap > img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); display: block; }

.about-badge {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  background: var(--yellow); color: var(--black);
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 900;
  box-shadow: 0 6px 24px rgba(245,197,24,0.4); text-align: center;
}
.about-badge .num { font-size: 2.5rem; line-height: 1; }
.about-badge .lbl { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }

.about-text p { color: var(--light); font-size: 0.95rem; line-height: 1.82; margin-bottom: 1.2rem; }

.about-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.stat-num {
  font-family: var(--font-heading); font-size: 2.6rem; font-weight: 900;
  color: var(--yellow); line-height: 1;
}
.stat-lbl { font-family: var(--font-heading); font-size: 0.72rem; color: #ede9e9; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem; }

/* === TESTIMONIOS =================================== */
#testimonios { padding: var(--section-pad); background: var(--dark-1); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }

.testimonial-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 1.75rem; position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 0.75rem; right: 1.25rem;
  font-size: 5rem; font-family: Georgia, serif; color: rgba(245,197,24,0.08); line-height: 1;
}
.stars { color: var(--yellow); font-size: 0.85rem; margin-bottom: 0.9rem; }
.testimonial-card > p { color: var(--light); font-size: 0.9rem; line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }

.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--dark-4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  color: var(--yellow); flex-shrink: 0;
}
.t-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; color: var(--white); }
.t-vehicle { font-size: 0.78rem; color: #ede9e9; }

/* === FAQ =========================================== */
#faq { padding: var(--section-pad); background: var(--dark-2); }
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0; font-family: var(--font-heading); font-size: 1rem;
  font-weight: 600; color: var(--white); text-align: left;
  text-transform: uppercase; letter-spacing: 0.03em; transition: var(--transition);
}
.faq-q:hover, .faq-q.active { color: var(--yellow); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.75rem; color: var(--yellow); transition: var(--transition);
}
.faq-q.active .faq-icon { background: var(--yellow); color: var(--black); transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding-bottom: 1.4rem; color: #ede9e9; font-size: 0.92rem; line-height: 1.8; }

/* === BLOG ========================================== */
#blog { padding: var(--section-pad); background: var(--dark-1); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }

.blog-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-img {
  height: 195px; overflow: hidden; background: var(--dark-3);
  display: flex; align-items: center; justify-content: center;
}
.blog-img i { font-size: 3rem; color: var(--dark-4); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }

.blog-body { padding: 1.4rem; }
.blog-cat { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.4rem; }
.blog-body h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; color: var(--white); line-height: 1.3; letter-spacing: 0.02em; margin-bottom: 0.65rem; }
.blog-body p { font-size: 0.88rem; color: #ede9e9; line-height: 1.72; margin-bottom: 1.1rem; }
.blog-foot { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-heading); font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.blog-foot a { color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; transition: var(--transition); }
.blog-foot a:hover { color: var(--yellow-dark); }

/* === TIENDA ======================================== */
#tienda {
  padding: 4.5rem 0; background: var(--dark-3);
  text-align: center; position: relative; overflow: hidden;
}
#tienda::before {
  content: 'TIENDA'; position: absolute; font-family: var(--font-heading);
  font-size: 16vw; font-weight: 900; color: rgba(255,255,255,0.018);
  top: 50%; left: 50%; transform: translate(-50%,-50%); white-space: nowrap; pointer-events: none;
}
.shop-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(245,197,24,0.08); border: 2px solid var(--yellow);
  color: var(--yellow); font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.5rem 1.4rem; border-radius: 2px; margin-bottom: 1.4rem;
}
#tienda h2 { font-family: var(--font-heading); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; text-transform: uppercase; color: var(--white); margin-bottom: 0.9rem; }
#tienda > .container > p { font-size: 0.95rem; color: #ede9e9; max-width: 480px; margin: 0 auto 1.75rem; line-height: 1.75; }
.shop-bar { width: 180px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; margin: 0 auto 2rem; overflow: hidden; }
.shop-fill { height: 100%; background: var(--yellow); width: 40%; border-radius: 2px; animation: barPulse 2.2s ease-in-out infinite; }

/* === CONTACTO ====================================== */
#contacto { padding: var(--section-pad); background: var(--dark-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }

.contact-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; align-items: flex-start; }
.contact-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--yellow); font-size: 1rem;
}
.contact-txt h4 { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.2rem; }
.contact-txt p, .contact-txt a { font-size: 0.92rem; color: var(--light); line-height: 1.65; }
.contact-txt a:hover { color: var(--yellow); }

.contact-social { display: flex; gap: 0.65rem; margin-top: 2rem; }
.soc-link {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--dark-3); border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #ede9e9; transition: var(--transition);
}
.soc-link:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-3px); }


/* === FOOTER ======================================== */
footer { background: var(--black); border-top: 1px solid rgba(245,197,24,0.12); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }

.footer-brand-logo { display: block; }
.footer-brand-logo img { height: 55px; width: auto; display: block; }
.footer-brand p { margin-top: 0.65rem; font-size: 0.88rem; color: #ede9e9; line-height: 1.72; max-width: 270px; }

.footer-h { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.88rem; color: #ede9e9; transition: var(--transition); display: flex; align-items: center; gap: 0.35rem; }
.footer-links a:hover { color: var(--yellow); padding-left: 0.25rem; }
.footer-links a::before { content: '›'; color: var(--yellow); }

.footer-ci { display: flex; gap: 0.65rem; margin-bottom: 0.65rem; font-size: 0.88rem; color: #ede9e9; }
.footer-ci i { color: var(--yellow); width: 14px; flex-shrink: 0; margin-top: 0.15rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding: 1.2rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-btm-links { display: flex; gap: 1.25rem; }
.footer-btm-links a { font-size: 0.78rem; color: rgba(255,255,255,0.28); transition: var(--transition); }
.footer-btm-links a:hover { color: var(--yellow); }

/* === LIGHTBOX ====================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-img-wrap {
  display: flex; flex-direction: column; align-items: center;
  max-width: 90vw;
}
.lb-img-wrap img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 8px 50px rgba(0,0,0,0.7);
  transition: opacity 0.2s ease;
}
.lb-caption {
  margin-top: 0.75rem;
  font-family: var(--font-heading); font-size: 0.85rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--yellow);
}
.lb-counter {
  font-family: var(--font-heading); font-size: 0.72rem;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.35); margin-top: 0.25rem;
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.3);
  color: var(--white); font-size: 1.1rem;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer; z-index: 2001;
}
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev  { left: 1.5rem;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--yellow); color: var(--black); border-color: var(--yellow);
}

/* cursor pointer en fotos de proyecto */
.project-card { cursor: zoom-in; }

/* mapa contacto */
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.07); height: 100%; }

/* === WHATSAPP FLOTANTE ============================= */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.wa-bubble {
  background: var(--dark-3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 0.6rem 0.9rem; font-size: 0.82rem;
  color: var(--light); white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: var(--transition); pointer-events: none;
}
.wa-float:hover .wa-bubble { opacity: 1; transform: translateX(0); }
.wa-btn {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  background: var(--green-wa); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--white);
  box-shadow: 0 4px 14px rgba(37,211,102,0.4); transition: var(--transition);
}
.wa-btn:hover { background: #1da851; transform: scale(1.08); }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--green-wa);
  animation: waPulse 2s ease-out infinite;
}

/* === ANIMACIONES =================================== */
@keyframes bounce   { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(9px); } }
@keyframes waPulse  { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.65); opacity: 0; } }
@keyframes barPulse { 0%,100% { width: 40%; } 50% { width: 58%; } }

/* === RESPONSIVE ==================================== */
@media (max-width: 992px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 480px; margin: 0 auto; }
  .about-badge { bottom: -1rem; right: 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .project-card.featured { grid-row: span 1; aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  :root { --section-pad: 3.5rem 0; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-ph,
  .about-image-wrap > img { height: 300px; }
  .contact-map { min-height: 280px; height: 280px; }
}
