:root{
  --black:#0c0cf4;
  --panel:#131316;
  --panel-2:#1C1C21;
  --line:#2A2A30;
  --white:#F2F0EC;
  --gray:#fbfafc;
  --gray-dim:#e7f0f1;
  --red:#E2001A;
  --red-dark:#8F0011;
  --red-light:#FF3B3B;
  --radius:14px;
  --shadow: 0 24px 50px -24px rgba(0,0,0,0.7);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  background:var(--black);
  color:var(--white);
  font-family:'Inter', sans-serif;
  line-height:1.55;
  overflow-x:hidden;
}

h1,h2,h3,.display{
  font-family:'Rajdhani', sans-serif;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.01em;
  line-height:1.02;
}

a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
section{ position:relative; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }

::selection{ background:var(--red); color:var(--white); }

/* ---------- EYEBROW ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Rajdhani', sans-serif;
  font-weight:600; font-size:13px;
  letter-spacing:0.24em; text-transform:uppercase;
  color:var(--red-light);
  margin-bottom:20px;
}
.eyebrow::before{ content:''; width:28px; height:2px; background:var(--red); }

/* ---------- SIGNATURE: EQ MARK (logo) ---------- */
.eq-mark{
  display:flex; align-items:flex-end; gap:3px;
  width:34px; height:30px; flex-shrink:0;
}
.eq-mark span{
  display:block; width:5px; background:var(--red);
  border-radius:1px;
  animation: eqbeat 1.1s ease-in-out infinite;
}
.eq-mark span:nth-child(1){ height:40%; animation-delay:-0.9s; }
.eq-mark span:nth-child(2){ height:75%; animation-delay:-0.5s; }
.eq-mark span:nth-child(3){ height:100%; animation-delay:-0.2s; }
.eq-mark span:nth-child(4){ height:60%; animation-delay:-0.7s; }
.eq-mark span:nth-child(5){ height:35%; animation-delay:-0.35s; }
@keyframes eqbeat{
  0%,100%{ transform:scaleY(0.4); }
  50%{ transform:scaleY(1); }
}

/* ---------- HEADER ---------- */
header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:18px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
header.scrolled{
  background:rgba(10,10,12,0.9);
  backdrop-filter: blur(10px);
  box-shadow:0 2px 30px rgba(0,0,0,0.5);
  border-bottom:1px solid var(--line);
  padding:12px 0;
}
header .wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand{ display:flex; align-items:center; gap:12px; }
.logo-img{ height:66px; width:auto; display:block; transition:height .3s ease; }
header.scrolled .logo-img{ height:48px; }
.brand-name{
  font-family:'Rajdhani', sans-serif;
  font-weight:700; font-size:19px;
  letter-spacing:0.03em;
}
.brand-name span{
  display:block;
  font-family:'Inter', sans-serif;
  font-weight:500; font-size:10.5px;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--gray); margin-top:1px;
}
nav{ display:flex; align-items:center; gap:34px; }
.nav-links{ display:flex; gap:30px; }
nav a:not(.btn){
  font-family:'Rajdhani', sans-serif;
  font-weight:600; font-size:15px; letter-spacing:0.03em;
  text-transform:uppercase;
  position:relative; padding:4px 0;
}
nav a:not(.btn)::after{
  content:''; position:absolute; left:0; bottom:0;
  width:0; height:2px; background:var(--red);
  transition:width .25s ease;
}
nav a:not(.btn):hover::after{ width:100%; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Rajdhani', sans-serif;
  font-weight:700; font-size:14.5px; letter-spacing:0.04em; text-transform:uppercase;
  padding:12px 26px; border-radius:999px;
  border:2px solid var(--red);
  background:var(--red); color:var(--white);
  cursor:pointer; white-space:nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 12px 26px -10px rgba(226,0,26,0.55); background:var(--red-light); border-color:var(--red-light); }
.btn.outline{ background:transparent; color:var(--white); border-color:var(--line); }
.btn.outline:hover{ background:var(--panel-2); border-color:var(--white); box-shadow:none; }
.btn.lg{ padding:16px 36px; font-size:16px; }
.btn.outline.review-btn{ margin-left:14px; color:#ffc94d; border-color:#7a5c1e; }
.btn.outline.review-btn:hover{ background:rgba(255,201,77,0.1); border-color:#ffc94d; color:#ffc94d; }
@media (max-width:640px){
  .review-btn{ margin-left:0; margin-top:14px; }
}

/* ---------- HERO ---------- */
.hero{ padding:170px 0 90px; position:relative; overflow:hidden; }
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 45% at 82% 8%, rgba(226,0,26,0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 90%, rgba(226,0,26,0.08), transparent 60%);
  pointer-events:none;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr;
  gap:60px; align-items:center;
}
.hero h1{
  font-size:clamp(2.8rem, 5.4vw, 4.4rem);
  margin-bottom:24px;
}
.hero h1 .hl{ color:var(--red); }
.hero-sub{
  font-size:17.5px; color:var(--gray); max-width:460px; margin-bottom:34px;
}
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:40px; }
.hero-stats{ display:flex; gap:30px; flex-wrap:wrap; }
.hero-stats div{ font-size:12.5px; color:var(--gray); font-weight:500; }
.hero-stats strong{
  display:block; font-family:'Rajdhani',sans-serif;
  font-size:28px; color:var(--white); font-weight:700;
}

/* ---------- HERO VISUAL: PHOTO PANEL ---------- */
.hero-visual{ display:flex; justify-content:center; }
.photo-panel{
  width:100%; max-width:380px;
  background:linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px 16px 18px;
  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,0.04);
}
.photo-panel-head{
  display:flex; align-items:center; gap:8px; margin-bottom:14px;
  padding:0 6px;
}
.photo-panel-head .dot{ width:9px; height:9px; border-radius:50%; background:var(--line); }
.photo-panel-head .dot:first-child{ background:var(--red); }
.eq-label{
  margin-left:auto;
  font-family:'Rajdhani',sans-serif; font-weight:700; font-size:12px;
  letter-spacing:0.12em; color:var(--gray);
}
.photo-panel-img{
  border-radius:12px; overflow:hidden;
  height:340px; margin-bottom:16px;
  border:1px solid var(--line);
}
.photo-panel-img img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.photo-panel-foot{
  display:flex; justify-content:space-between;
  border-top:1px solid var(--line); padding:14px 6px 0;
  font-family:'Rajdhani',sans-serif; font-weight:700; font-size:11px;
  letter-spacing:0.08em; color:var(--gray-dim);
}

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- MARQUEE ---------- */
.marquee-strip{
  background:var(--red); overflow:hidden;
  padding:12px 0; border-top:1px solid var(--red-dark); border-bottom:1px solid var(--red-dark);
}
.marquee-track{
  display:flex; gap:18px; white-space:nowrap;
  animation: scrollmarquee 22s linear infinite;
  width:max-content;
}
.marquee-track span{
  font-family:'Rajdhani',sans-serif; font-weight:700; font-size:14px;
  letter-spacing:0.14em; color:var(--white);
}
@keyframes scrollmarquee{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ---------- SECTION HEADS ---------- */
.section-head{ max-width:620px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(2rem, 3.6vw, 2.7rem); margin-bottom:14px; }
.section-head p{ color:var(--gray); font-size:16px; text-transform:none; font-family:'Inter',sans-serif; font-weight:400; }

section.pad{ padding:100px 0; }
.bg-panel{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* ---------- SERVICIOS ---------- */
.services-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:2px;
  background:var(--line);
  border-radius:var(--radius); overflow:hidden;
}
.service-card{
  background:var(--panel);
  padding:34px 30px;
  transition: background .25s ease;
}
.service-card:hover{ background:var(--panel-2); }
.service-card.featured{
  background:linear-gradient(160deg, var(--panel-2), var(--panel));
  position:relative;
}
.service-card.featured::before{
  content:'MÁS PEDIDO';
  position:absolute; top:20px; right:20px;
  font-family:'Rajdhani',sans-serif; font-weight:700; font-size:10px;
  letter-spacing:0.1em; color:var(--red-light);
  border:1px solid var(--red-dark); padding:3px 8px; border-radius:999px;
}
.s-icon{
  width:46px; height:46px; border-radius:10px;
  background:rgba(226,0,26,0.12); color:var(--red-light);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.s-icon svg{ width:24px; height:24px; }
.service-card h3{
  font-size:19px; margin-bottom:10px; letter-spacing:0.01em;
}
.service-card p{
  font-size:14px; color:var(--gray); text-transform:none;
  font-family:'Inter',sans-serif; font-weight:400;
}
.s-tag{
  display:block; margin-top:16px;
  font-family:'Rajdhani',sans-serif; font-weight:700; font-size:11.5px;
  letter-spacing:0.06em; color:var(--gray-dim);
}
.service-card.more{ display:flex; flex-direction:column; justify-content:center; background:var(--black); }
.mini-link{
  margin-top:16px; display:inline-flex; align-items:center; gap:8px;
  font-family:'Rajdhani',sans-serif; font-weight:700; font-size:13.5px;
  letter-spacing:0.05em; text-transform:uppercase; color:var(--red-light);
}
.mini-link svg{ width:15px; height:15px; transition:transform .2s ease; }
.mini-link:hover svg{ transform:translateX(4px); }

/* ---------- MARCAS ---------- */
.brands-row{ display:flex; flex-wrap:wrap; gap:14px; }
.brand-badge{
  background:var(--white);
  border-radius:14px;
  padding:12px 24px;
  height:64px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px -14px rgba(0,0,0,0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand-badge:hover{ transform:translateY(-3px); box-shadow:0 16px 30px -14px rgba(0,0,0,0.7); }
.brand-badge img{ height:32px; width:auto; max-width:150px; display:block; }

/* ---------- NOSOTROS ---------- */
/* ---------- LOGROS ---------- */
.achv-strip{
  display:flex; flex-wrap:wrap; gap:2px;
  background:var(--line);
  border-radius:var(--radius); overflow:hidden;
  margin-bottom:44px;
}
.achv-item{
  flex:1 1 200px;
  background:var(--black);
  padding:26px 24px;
  text-align:center;
}
.achv-item strong{
  display:block;
  font-family:'Rajdhani',sans-serif; font-weight:700;
  font-size:clamp(28px, 3.5vw, 38px);
  color:var(--red-light);
  margin-bottom:6px;
}
.achv-item span{
  font-size:12.5px; color:var(--gray);
  letter-spacing:0.02em;
}

/* ---------- GALERÍA / TRABAJOS ---------- */
.gallery-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:22px;
}
.gallery-item{
  position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--line);
  aspect-ratio:4/3;
}
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s ease;
}
.gallery-item:hover img{ transform:scale(1.06); }
.gallery-item video{
  width:100%; height:100%; object-fit:contain; display:block; background:#000;
}
.gallery-item.video-item{
  aspect-ratio:3/4; cursor:default;
}
.gallery-item.video-item figcaption{
  top:0; bottom:auto; pointer-events:none;
  padding:16px 18px 46px;
  background:linear-gradient(180deg, rgba(0,0,0,0.88) 10%, rgba(0,0,0,0.35) 55%, transparent 100%);
}
.gallery-item figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:20px 20px 16px;
  background:linear-gradient(0deg, rgba(0,0,0,0.92) 15%, rgba(0,0,0,0.55) 60%, transparent 100%);
}
.gallery-item figcaption strong{
  display:block; font-family:'Rajdhani',sans-serif; font-weight:700;
  font-size:16.5px; letter-spacing:0.01em; margin-bottom:3px;
}
.gallery-item figcaption span{
  display:block; font-size:12.5px; color:var(--gray);
  line-height:1.4; max-width:340px;
}

/* ---------- NOSOTROS ---------- */
.about-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:center; }
.about-grid h2{ font-size:clamp(1.9rem,3.2vw,2.5rem); margin-bottom:18px; }
.about-grid p{
  color:var(--gray); font-size:16px; text-transform:none;
  font-family:'Inter',sans-serif; font-weight:400;
  margin-bottom:16px; max-width:480px;
}
.about-stats{ display:flex; gap:36px; margin-top:24px; flex-wrap:wrap; }
.about-stats strong{
  display:block; font-family:'Rajdhani',sans-serif; font-weight:700; font-size:19px; color:var(--white);
}
.about-stats span{ font-size:12px; color:var(--gray-dim); text-transform:uppercase; letter-spacing:0.06em; }

.card-frame{
  border-radius:18px; overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transform:rotate(-1.2deg);
}
.card-frame img{ width:100%; display:block; }

/* ---------- QR ---------- */
.qr-box{
  display:grid; grid-template-columns:auto 1fr; gap:44px; align-items:center;
  background:var(--panel-2); border:1px solid var(--line);
  border-radius:20px; padding:44px;
}
.qr-canvas-wrap{
  background:#fff; padding:16px; border-radius:14px;
  border:3px solid var(--red); line-height:0;
}
.qr-canvas-wrap img{ width:150px; height:150px; }
.qr-copy h3{ font-size:23px; margin-bottom:12px; }
.qr-copy p{
  color:var(--gray); font-size:15px; text-transform:none;
  font-family:'Inter',sans-serif; font-weight:400;
  max-width:420px; margin-bottom:18px;
}

/* ---------- CTA / CONTACTO ---------- */
.cta-band{
  padding:100px 0 90px; text-align:center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(226,0,26,0.14), transparent 65%),
    var(--black);
  border-top:1px solid var(--line);
}
.cta-band h2{ font-size:clamp(2.1rem,4vw,3.2rem); margin-bottom:16px; }
.cta-band > .wrap > p{
  color:var(--gray); max-width:460px; margin:0 auto 30px; font-size:16px;
}
.contact-grid{
  margin-top:60px; display:flex; justify-content:center; gap:50px; flex-wrap:wrap;
  border-top:1px solid var(--line); padding-top:36px;
}
.contact-grid .c-label{
  display:block; font-family:'Rajdhani',sans-serif; font-weight:700; font-size:14px;
  letter-spacing:0.08em; text-transform:uppercase; color:var(--gray-dim); margin-bottom:6px;
}
.contact-grid a{ font-size:15px; font-weight:600; }
.contact-grid a:hover{ color:var(--red-light); }

.map-frame{
  margin:44px auto 0;
  max-width:900px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  filter:grayscale(0.25) contrast(1.05);
}
.map-frame iframe{ display:block; }

/* ---------- LIGHTBOX (agrandar fotos) ---------- */
.gallery-item img,
.photo-panel-img img,
.card-frame img{ cursor:zoom-in; }

.lightbox{
  position:fixed; inset:0; z-index:999;
  background:rgba(6,6,8,0.94);
  display:none; align-items:center; justify-content:center;
  padding:32px; cursor:zoom-out;
  opacity:0; transition:opacity .25s ease;
}
.lightbox.active{ display:flex; opacity:1; }
.lightbox img{
  max-width:92vw; max-height:88vh;
  border-radius:12px;
  box-shadow:0 30px 80px rgba(0,0,0,0.7);
  border:1px solid var(--line);
  cursor:default;
  transform:scale(0.96); transition:transform .25s ease;
}
.lightbox.active img{ transform:scale(1); }
.lightbox-close{
  position:absolute; top:18px; right:22px;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.08); border:1px solid var(--line);
  color:var(--white); font-size:26px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s ease;
}
.lightbox-close:hover{ background:var(--red); border-color:var(--red); }
@media (max-width:640px){
  .lightbox{ padding:16px; }
  .lightbox-close{ top:10px; right:10px; width:38px; height:38px; font-size:22px; }
}

/* ---------- FOOTER ---------- */
footer{ background:var(--panel); border-top:1px solid var(--line); padding:44px 0 26px; text-align:center; }
footer .brand{ justify-content:center; }
footer .logo-img{ height:50px; }
.foot-tag{ color:var(--gray); font-size:13.5px; margin-top:6px; }
.foot-bottom{
  max-width:1180px; margin:30px auto 0; padding:20px 28px 0;
  border-top:1px solid var(--line);
  font-size:12px; color:var(--gray-dim);
  display:flex; justify-content:center; gap:20px; flex-wrap:wrap;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero{ padding-top:150px; }
  .hero-visual{ order:-1; margin-bottom:10px; }
  .services-grid{ grid-template-columns:1fr 1fr; }
  .about-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr; }
  .card-frame{ order:-1; max-width:420px; margin:0 auto 10px; }
  .nav-links{ display:none; }
  .qr-box{ grid-template-columns:1fr; text-align:center; justify-items:center; padding:32px 24px; }
  .contact-grid{ gap:30px 40px; }
}
@media(max-width:560px){
  .wrap{ padding:0 20px; }
  .services-grid{ grid-template-columns:1fr; }
  section.pad{ padding:74px 0; }
  .hero{ padding:136px 0 60px; }
  .hero-stats{ gap:22px; }
  .cta-band{ padding:80px 0 70px; }
  .map-frame iframe{ height:240px; }
}
