/*
Theme Name: Juan el Rapido
Theme URI: https://tusitio.cl
Author: Tu Nombre
Author URI: https://tusitio.cl
Description: Tema demo para Juan el Rapido
Version: 1.0
Text Domain: juan-el-rapido
*/

:root{
  --jr-red:#e3352f;
  --jr-red-dark:#b61f1b;
  --jr-black:#16171b;
  --jr-charcoal:#23252b;
  --jr-white:#ffffff;
  --jr-light:#f5f5f5;
  --jr-soft:#efefef;
  --jr-text:#222;
  --jr-muted:#666;
  --jr-shadow:0 16px 40px rgba(0,0,0,.14);
  --jr-radius:24px;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:#f7f7f8;
  color:var(--jr-text);
  font-family:Arial, sans-serif;
}

img{
  max-width:100%;
  height:auto;
}

.jr-container{
  width:min(1240px, 92%);
  margin:0 auto;
}

.jr-topbar{
  background:var(--jr-black);
  color:#fff;
  font-size:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.jr-topbar-inner{
  min-height:42px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.jr-topbar-left,
.jr-topbar-right{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.jr-topbar a{
  color:#fff;
  text-decoration:none;
  opacity:.9;
}

.jr-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}

.jr-header-inner{
  min-height:98px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.jr-logo img{
  height:76px;
  display:block;
}

.jr-nav{
  display:flex;
  gap:28px;
  align-items:center;
}

.jr-nav a{
  text-decoration:none;
  color:var(--jr-black);
  font-weight:800;
  position:relative;
}

.jr-nav a:hover{
  color:var(--jr-red);
}

.jr-header-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border-radius:14px;
  background:var(--jr-red);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  box-shadow:var(--jr-shadow);
}

.rapid-demo-site{
  overflow:hidden;
}

.rapid-section{
  padding:88px 0;
}

.rapid-section-head{
  margin-bottom:30px;
}

.rapid-section-head.center{
  text-align:center;
}

.rapid-section-head h2,
.rapid-demo-site h2{
  margin:0 0 12px;
  font-size:44px;
  line-height:1.05;
  font-weight:900;
  color:var(--jr-black);
  letter-spacing:-1px;
}

.rapid-section-head p{
  margin:0;
  color:var(--jr-muted);
  font-size:17px;
}

.rapid-mini-title{
  color:var(--jr-red);
  font-weight:800;
  margin-bottom:12px;
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:13px;
}

.rapid-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  border:none;
  cursor:pointer;
  text-decoration:none;
  border-radius:14px;
  padding:0 24px;
  font-weight:800;
  transition:.2s ease;
}

.rapid-btn:hover{
  transform:translateY(-3px);
}

.rapid-btn-primary{
  background:var(--jr-red);
  color:#fff;
}

.rapid-btn-secondary{
  background:#fff;
  color:var(--jr-black);
}

.rapid-btn-dark{
  background:var(--jr-black);
  color:#fff;
}

.rapid-btn.small{
  min-height:44px;
  padding:0 16px;
  font-size:14px;
}

.rapid-btn.full{
  width:100%;
}

.rapid-hero{
  position:relative;
  min-height:760px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(115deg, rgba(22,23,27,.92) 0%, rgba(22,23,27,.86) 48%, rgba(227,53,47,.45) 100%),
    url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  color:#fff;
}

.rapid-hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:110px;
  background:linear-gradient(180deg, transparent 0%, rgba(0,0,0,.28) 100%);
}

.rapid-hero-content{
  position:relative;
  z-index:2;
  max-width:820px;
  padding:100px 0;
}

.rapid-badge{
  background:rgba(227,53,47,.18);
  color:#fff;
  border:1px solid rgba(255,255,255,.15);
  padding:11px 16px;
  border-radius:999px;
  display:inline-block;
  margin-bottom:22px;
  font-weight:800;
}

.rapid-hero h1{
  margin:0 0 18px;
  font-size:70px;
  line-height:.98;
  color:white;
  text-align:left;
  font-weight:900;
  letter-spacing:-2px;
}

.rapid-hero p{
  font-size:21px;
  max-width:700px;
  color:rgba(255,255,255,.94);
  margin-bottom:30px;
}

.rapid-hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.rapid-brands{
  margin-top:-70px;
  position:relative;
  z-index:10;
}

.rapid-brand-grid,
.rapid-service-grid,
.rapid-branch-grid,
.rapid-product-grid,
.rapid-blog-grid{
  display:grid;
  gap:24px;
}

.rapid-brand-grid{
  grid-template-columns:repeat(3,1fr);
}

.rapid-brand-card,
.rapid-service-card,
.rapid-branch-card,
.rapid-product-card,
.rapid-blog-card,
.rapid-quote-box,
.rapid-contact-form{
  background:#fff;
  border-radius:var(--jr-radius);
  box-shadow:var(--jr-shadow);
  overflow:hidden;
}

.rapid-brand-card{
  transform:translateY(0);
  transition:.25s ease;
  border:1px solid #ececec;
}

.rapid-brand-card:hover{
  transform:translateY(-8px);
}

.rapid-brand-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.rapid-brand-body{
  padding:26px;
}

.rapid-brand-body h3{
  margin:0 0 10px;
  font-size:26px;
  color:var(--jr-black);
}

.rapid-about{
  background:#fff;
}

.rapid-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
}

.rapid-about-text h2{
  margin-top:0;
}

.rapid-about-gallery .large img{
  width:100%;
  height:360px;
  object-fit:cover;
  border-radius:var(--jr-radius);
  box-shadow:var(--jr-shadow);
}

.rapid-gallery-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:18px;
}

.rapid-gallery-row img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:var(--jr-radius);
  box-shadow:var(--jr-shadow);
}

.rapid-company-sections{
  background:#fff;
}

.rapid-company-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
  margin-bottom:58px;
}

.rapid-company-block.reverse .rapid-company-media{
  order:2;
}
.rapid-company-block.reverse .rapid-company-info{
  order:1;
}

.rapid-company-media img{
  width:100%;
  height:420px;
  object-fit:cover;
  border-radius:28px;
  box-shadow:var(--jr-shadow);
}

.rapid-company-info h2{
  margin-top:0;
}

.rapid-company-info ul,
.rapid-contact-list{
  padding-left:18px;
}

.rapid-company-info li,
.rapid-contact-list li{
  margin-bottom:10px;
}

.rapid-quote{
  background:
    linear-gradient(135deg, #17181d 0%, #262931 100%);
  color:#fff;
}

.rapid-quote .rapid-section-head h2,
.rapid-quote .rapid-section-head p{
  color:#fff;
}

.rapid-quote-box{
  padding:28px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:none;
}

.rapid-form-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin-bottom:16px;
}

.rapid-form-grid input,
.rapid-catalog-toolbar input,
.rapid-catalog-toolbar select,
.rapid-contact-form input,
.rapid-contact-form textarea,
.rapid-contact-form select{
  width:100%;
  padding:15px 16px;
  border:1px solid #ddd;
  border-radius:14px;
  font-size:15px;
  box-sizing:border-box;
}

.rapid-quote-result{
  margin-top:20px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:22px;
}

.rapid-branches{
  background:#f5f5f6;
}

.rapid-branch-grid{
  grid-template-columns:repeat(3,1fr);
}

.rapid-branch-card{
  padding:26px;
  border-left:6px solid var(--jr-red);
}

.rapid-branch-card h3{
  margin-top:0;
  color:var(--jr-black);
}

.rapid-catalog{
  background:#fff;
}

.rapid-catalog-toolbar{
  display:grid;
  grid-template-columns:1fr 280px;
  gap:14px;
  margin-bottom:24px;
}

.rapid-product-grid{
  grid-template-columns:repeat(4,1fr);
}

.rapid-product-card{
  border:1px solid #ececec;
  transition:.22s ease;
}

.rapid-product-card:hover{
  transform:translateY(-6px);
}

.rapid-product-card img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
}

.rapid-product-body{
  padding:24px;
}

.rapid-product-body h3{
  margin-top:0;
  font-size:22px;
  color:var(--jr-black);
}

.rapid-product-body strong{
  display:block;
  color:var(--jr-red);
  font-size:25px;
  margin:14px 0 18px;
  font-weight:900;
}

.rapid-blog{
  background:
    linear-gradient(180deg, #f7f7f8 0%, #ececef 100%);
}

.rapid-blog-grid{
  grid-template-columns:repeat(3,1fr);
}

.rapid-blog-card{
  padding:28px;
  border-top:5px solid var(--jr-black);
}

.rapid-blog-card h3{
  margin-top:0;
}

.rapid-contact{
  background:#fff;
}

.rapid-contact-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:start;
}

.rapid-contact-form{
  display:grid;
  gap:14px;
  padding:28px;
}

.rapid-contact-form textarea{
  min-height:160px;
  resize:vertical;
}

.jr-footer{
  background:linear-gradient(180deg, #1b1d22 0%, #111216 100%);
  color:#fff;
  padding-top:60px;
}

.jr-footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:30px;
}

.jr-footer-brand img{
  height:92px;
  width:auto;
  margin-bottom:18px;
}

.jr-footer h4{
  margin-top:0;
  color:#fff;
}

.jr-footer ul{
  list-style:none;
  padding:0;
  margin:0;
}

.jr-footer li{
  margin-bottom:10px;
}

.jr-footer a{
  color:rgba(255,255,255,.88);
  text-decoration:none;
}

.jr-footer a:hover{
  color:var(--jr-red);
}

.jr-footer-bottom{
  margin-top:38px;
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0;
  text-align:center;
  color:rgba(255,255,255,.72);
}

.jr-whatsapp{
  position:fixed;
  right:18px;
  bottom:18px;
  width:52px;
  height:52px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:0 10px 22px rgba(0,0,0,.22);
  z-index:9999;
  transition:.25s ease;
}

.jr-whatsapp svg{
  width:24px;
  height:24px;
}

.jr-whatsapp:hover{
  transform:translateY(-3px) scale(1.03);
}

@media (max-width:1100px){
  .rapid-brand-grid,
  .rapid-service-grid,
  .rapid-branch-grid,
  .rapid-product-grid,
  .rapid-blog-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .rapid-two-col,
  .rapid-company-block,
  .rapid-contact-layout,
  .rapid-catalog-toolbar,
  .jr-footer-grid{
    grid-template-columns:1fr;
  }

  .rapid-form-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .jr-nav{
    display:none;
  }
}

@media (max-width:680px){
  .rapid-hero h1{
    font-size:42px;
  }

  .rapid-brand-grid,
  .rapid-service-grid,
  .rapid-branch-grid,
  .rapid-product-grid,
  .rapid-blog-grid,
  .rapid-gallery-row,
  .rapid-form-grid{
    grid-template-columns:1fr;
  }

  .jr-header-inner,
  .jr-topbar-inner{
    flex-direction:column;
    padding:12px 0;
  }
}

.jr-container{
  width:min(1280px, calc(100% - 72px));
  margin:0 auto;
}

/* ===== FIX GENERAL DE CONTENEDORES Y ESPACIADO ===== */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html, body{
  overflow-x:hidden;
}

.rapid-container,
.jr-container,
.jr-shell{
  width:min(1320px, calc(100% - 96px));
  margin:0 auto;
}

@media (max-width: 768px){
  .rapid-container,
  .jr-container,
  .jr-shell{
    width:min(100%, calc(100% - 28px));
  }
}

/* evita que el contenido del hero quede pegado al borde */
.rapid-hero-content{
  max-width:760px;
  padding:90px 0 90px 0;
}

/* separa mejor bloques generales */
.rapid-section{
  padding:96px 0;
}

.rapid-section-head{
  margin-bottom:34px;
}

.rapid-brand-body,
.rapid-service-card,
.rapid-company-info,
.rapid-product-body,
.rapid-blog-card,
.rapid-contact-form,
.rapid-quote-box,
.rapid-branch-card{
  padding:28px;
}

/* SLIDES */
.rapid-hero{
  position:relative;
  overflow:hidden;
}

.rapid-hero-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  opacity:0;
  transition:opacity .8s ease;
}

.rapid-hero-slide.active{
  opacity:1;
  z-index:2;
}

/* VIDEO */
.rapid-hero-slide video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

/* overlay para video */
.rapid-hero-slide.video .rapid-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    115deg,
    rgba(22,23,27,.92),
    rgba(22,23,27,.6)
  );
  z-index:1;
}

.rapid-hero-content{
  position:relative;
  z-index:2;
}

/* DOTS */
.rapid-hero-dots{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:3;
}

.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  cursor:pointer;
}

.dot.active{
  background:#fff;
}


.rapid-about-intro{
  padding:100px 0 60px;
  background:#f8f6f6;
  text-align:center;
}

.about-intro-box{
  max-width:900px;
  margin:0 auto;
}

.about-intro-box h2{
  font-size:40px;
  margin-bottom:16px;
  text-align: left;
  color: #000000;
}

.about-intro-box p{
  font-size:21px;
  color:#000000;
  text-align: justify;
  margin-bottom:26px;
  margin-left:0;
}

/* ===== STATS FULL WIDTH ===== */

.rapid-stats{
  position:relative;
  margin-top:-100px;
  z-index:20;
}

/* CAJA AHORA FULL WIDTH */
.stats-box{
  width:100%;
  background:#fff;
  box-shadow:0 20px 60px rgba(0, 0, 0, 0.13);
  padding:30px 0;
}

/* CONTENIDO CENTRADO */
.stats-inner{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* ITEMS */
.stat{
  text-align:center;
  position:relative;
}

/* DIVISIONES */
.stat:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:20%;
  width:1px;
  height:60%;
  background:#eeeeeede;
}

/* NUMERO */
.stat h3{
  font-size:45px;
  margin:0;
  color:var(--jr-red);
  font-weight:900;
}

/* TEXTO */
.stat p{
  margin-top:6px;
  font-size:14px;
  color:#666;
}

/* RESPONSIVE */
@media (max-width:768px){
  .stats-inner{
    grid-template-columns:1fr 1fr;
  }

  .rapid-stats{
    margin-top:-60px;
  }

  .stat:not(:last-child)::after{
    display:none;
  }
}

.rapid-about-intro .rapid-mini-title{
  display:block;
  text-align:left;
  margin-left:0;
  font-size: 12px;
  color: #c20808;
}



/* ===== SECCI脫N SERVICIOS ===== */
.rapid-services{
  position:relative;
  padding:120px 0;
  min-height:600px;
  overflow:hidden;
}

/* ===== FONDO ===== */
.rapid-services-bg{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:120%;
  z-index:0;
  background-position:center;
  background-size:cover;
  background-attachment: fixed;
  background-repeat:no-repeat;
}

/* ===== OVERLAY ===== */
.rapid-services-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.55));
  z-index:1;
}

/* ===== CONTENIDO ===== */
.rapid-services .rapid-container{
  position:relative;
  z-index:2;
}

/* ===== TITULOS ===== */
.rapid-services .rapid-mini-title,
.rapid-services h2,
.rapid-services p{
  color:#fff;
}

/* ===== GRID ===== */
.rapid-service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

/* ===== CARD GLASS ===== */
.rapid-service-card{
  position:relative;
  border-radius:20px;
  overflow:hidden;

  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);

  border:1px solid rgba(255,255,255,0.18);

  box-shadow:0 15px 40px rgba(0,0,0,.35);

  transition:.35s ease;
}

/* ===== HOVER ===== */
.rapid-service-card:hover{
  transform:translateY(-10px) scale(1.02);
  background:rgba(255,255,255,0.12);
}

/* ===== IMAGEN ===== */
.service-img{
  position:relative;
  overflow:hidden;
}

.service-img img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition:transform .6s ease;
}

/* ZOOM */
.rapid-service-card:hover .service-img img{
  transform:scale(1.08);
}

/* GRADIENT SOBRE IMAGEN */
.service-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.5), transparent);
}

/* ===== CONTENIDO ===== */
.service-content{
  padding:24px;
}

/* TITULO */
.service-content h3{
  margin:0 0 10px;
  color:#fff;
  font-size:22px;
  font-weight:900;
}

/* TEXTO */
.service-content p{
  margin:0;
  color:rgba(255,255,255,.8);
  font-size:15px;
  line-height:1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width:1100px){
  .rapid-service-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:680px){
  .rapid-service-grid{
    grid-template-columns:1fr;
  }
}


.mapa-section {
  background: #0f172a; /* azul oscuro elegante */
  display: flex;
  justify-content: center;
}

.mapa-container svg {
  width: 100%;
  max-width: 900px;
}

/* Regiones */
.mapa-container path {
  fill: #ffffff; /* gris claro */
  stroke: #1f2937;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover controlado (NO exagerado) */
.mapa-container path:hover {
  fill: #ffffff;
  filter: brightness(1.1);
}
.punto {
  fill: #ef4444;
  stroke: #fff;
  stroke-width: 2;
}

/* efecto ping */
.ping {
  fill: rgba(239, 68, 68, 0.4);
  animation: ping 1.8s infinite;
}

@keyframes ping {
  0% {
    r: 4;
    opacity: 1;
  }
  80% {
    r: 16;
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.mapa-section{
  background:#0b1220;
  padding:80px 0;
  padding: 100px 20px;
  text-align: center;
}

.mapa-wrapper{
  position:relative;
  width:100%;
  max-width:900px;
  margin:auto;
}

.mapa-base svg{
  width:100%;
  display:block;
  align-items: center;
}

/* overlay encima del mapa */
.mapa-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

/* ================= PUNTOS ================= */
.punto{
  fill:#ef4444;
  stroke:#fff;
  stroke-width:2;
}

.ping{
  fill:rgba(239,68,68,.4);
  animation:ping 1.8s infinite;
}

@keyframes ping{
  0%{ r:4; opacity:1; }
  80%{ r:18; opacity:0; }
  100%{ opacity:0; }
}

/* ================= LINEAS ================= */
.linea{
  stroke:#ef4444;
  stroke-width:1.5;
  stroke-dasharray:4;
}

/* ================= CARDS ================= */
.map-card{
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:12px;
  padding:10px 14px;
  color:#fff;
  font-size:13px;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.map-card strong{
  display:block;
  font-size:14px;
}

/* estados */
.map-card.abierta{
  border-left:3px solid #22c55e;
}

.map-card.proxima{
  border-left:3px solid #f50b0b;
}

/* hover interacci贸n (solo en grupo) */
.sucursal{
  pointer-events:auto;
  cursor:pointer;
}

.sucursal:hover .map-card{
  transform:translateY(-4px);
  transition:.3s;
}


.mapa-container {
    position: relative;
    margin-top: 50px;
}

.mapa {
    filter: drop-shadow(0 20px 40px rgba(124, 124, 124, 0.699));
    transform: scale(1.02);
}
.punto {
    width: 55px;
    height: 55px;
}

.mapa-section {
    background: #061426e1;
    padding: 100px 20px;
}

/* T脥TULO */
.mapa-header {
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.mapa-header h2 {
    color: white;
    font-size: 40px;
    text-align: left;
    max-width: 100%;
}

/* CONTENEDOR DEL MAPA */
.mapa-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* MAPA */
.mapa-container {
    position: relative;
    width: 100%;
    max-width: 1400px; /* 馃憟 clave */
    transform: scale(1.3);
    margin-left: -380px;
}

.mapa-base::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 60%;
    height: 40px;

    background: rgba(0,0,0,0.5);
    filter: blur(30px);
    border-radius: 50%;
}

.blog {
    padding: 120px 20px;
    text-align: center;
    background: #f8fafc;
}

.blog-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;

    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);

    box-shadow: 0 15px 40px rgba(0,0,0,0.1);

    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
    text-align: left;
}

.blog-content h3 {
    margin-bottom: 10px;
    color: #1f2f3f;
}

.blog-content p {
    color: #6b7280;
}

.home-blog {
    padding: 100px 20px;
    text-align: center;
    background: #f4f6f8;
}
.quote-section {
  background: #fff;
  padding: 100px 20px;
}

.wrap {
  max-width: 1200px;
  margin: auto;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.quote-form-card,
.quote-preview-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field-full {
  grid-column: 1 / -1;
}

.field input {
  height: 45px;
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 0 10px;
}

/* BOTON */
.btn-quote {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #ef4444;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

/* RESULTADO */
.quote-result {
  margin-top: 20px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.result-total {
  margin-top: 10px;
  font-weight: bold;
}

/* SCENE */
.package-scene {
  position: relative;
  height: 360px;
  background: #dfeaf8;
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
}

/* BOX */
.package-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
}

.face {
  position: absolute;
  border-radius: 4px;
}

.front { background:#c68b59; }
.back { background:#9b6038; }
.right { background:#b37645; }
.left { background:#8b552f; }
.top { background:#d8a06d; }
.bottom { background:#7b4a2a; }

/* PREVIEW INFO */
.preview-info {
  margin-top: 15px;
  display: flex;
  gap: 20px;
}

/* VOLUMEN */
.volumen-bar {
  height: 10px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.volumen-fill {
  height: 100%;
  background: linear-gradient(90deg,#22c55e,#ef4444);
  width: 0%;
}

/* GRID DEL FORMULARIO */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* CADA CAMPO */
.field {
  display: flex;
  flex-direction: column;
}

/* LABEL */
.field label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #1f2f3f;
  font-weight: 600;
}

/* INPUT */
.field input {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

/* HOVER / FOCUS PRO */
.field input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

/* CAMPO COMPLETO */
.field-full {
  grid-column: 1 / -1;
}

.result-total {
  margin-top: 20px;
  padding: 20px;
  border-radius: 16px;

  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 16px;
  font-weight: 600;

  box-shadow: 0 10px 30px rgba(239,68,68,0.4);
}

/* VALOR GRANDE */
.result-total strong {
  font-size: 26px;
  font-weight: 800;
}

/* EFECTO HOVER */
.result-total:hover {
  transform: translateY(-2px);
  transition: 0.2s;
}

/* SECTION */
.contact-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 20px;
   background-image: url('assets/modular.jpg');

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  display: flex;
  align-items: center;
}

/* OVERLAY */
.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 38, 0.75);
}

/* CONTENEDOR */
.contact-container {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* INFO */
.contact-info h2 {
  font-size: 42px;
  color: #fff;
  text-align:left;
  margin-bottom: 20px;
}

.contact-info p {
  color: #cbd5e1;
  text-align:left;
}

/* GLASS */
.glass {
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 30px;
}

/* GRID FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  outline: none;

  background: rgba(255,255,255,0.1);
  color: #fff;
}

.form-group.full {
  grid-column: 1 / -1;
}

/* BOT脫N */
.btn-contact {
  width: 100%;
  margin-top: 15px;
  padding: 14px;
  border-radius: 14px;
  border: none;

  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.form-group select {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  outline: none;

  background: rgba(255,255,255,0.1);
  color: #fff;
  appearance: none;
  cursor: pointer;
}

/* OPCIONAL: FLECHITA */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' height='20' viewBox='0 0 20 20' width='20'%3E%3Cpath d='M5 7l5 5 5-5H5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: black;
}

.footer {
  background: linear-gradient(180deg, #0b1220, #020617);
  color: #cbd5e1;
  padding: 80px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
    text-align:left;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

/* LOGO */
.footer-logo img {
  width: 120px;
  margin-bottom: 15px;
}

/* TITULOS */
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

/* LINKS */
.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 8px;
  transition: .3s;
}

.footer-col a:hover {
  color: #ef4444;
}

/* NEWSLETTER */
.newsletter {
  display: flex;
  margin-top: 10px;
}

.newsletter input {
  flex: 1;
  padding: 10px;
  border-radius: 10px 0 0 10px;
  border: none;
}

.newsletter button {
  padding: 10px 15px;
  border: none;
  background: #ef4444;
  color: white;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
}

/* PAGOS */
.footer-pay img {
  margin-top: 15px;
  max-width: 180px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* HEADER BASE */
.jr-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;

  padding: 22px 20px;
  transition: all 0.3s ease;

  background: transparent;
}

/* CONTENEDOR */
.jr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.jr-logo img {
  height: 150px;
  transition: all 0.3s ease;
}

/* NAV */
.jr-nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: .3s;
}

.jr-nav a:hover {
  color: #ef4444;
}

/* BOT脫N */
.jr-header-btn {
  background: #ef4444;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* ================= SCROLL ================= */

.jr-header.scrolled {
  padding: 10px 20px;
  background: rgba(11, 18, 32, 0.575);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* LOGO M脕S PEQUE脩O */
.jr-header.scrolled .jr-logo img {
  height: 42px;
}

/* LINKS EN SCROLL */
.jr-header.scrolled .jr-nav a {
  color: #e2e8f0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* ICONOS */
.footer-social a {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;

  font-size: 16px;

  transition: all 0.3s ease;
}

/* HOVER PRO */
.footer-social a:hover {
  background: #ef4444;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(239,68,68,0.4);
}

.blog-section {
  background: #f8fafc;
  padding: 100px 20px;
  text-align: center;
}

.blog-section h2 {
  font-size: 42px;
  color: #1f2f3f;
  font-weight: 800;
}

.blog-sub {
  color: #64748b;
  margin-bottom: 50px;
}

/* GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 30px;
}

/* CARD */
.blog-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;

  box-shadow: 0 10px 40px rgba(0,0,0,0.08);

  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

/* IMAGEN */
.blog-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* CONTENIDO */
.blog-content {
  padding: 20px;
  text-align: left;
}

.blog-content h3 {
  color: #1f2f3f;
  margin-bottom: 10px;
}

.blog-content p {
  color: #64748b;
  font-size: 14px;
}

/* BOT脫N */
.blog-btn {
  display: inline-block;
  margin-top: 15px;
  color: #ef4444;
  font-weight: 600;
  text-decoration: none;
}

/* BOT脫N ABAJO */
.blog-more {
  margin-top: 40px;
}

.btn-outline {
  border: 2px solid #ef4444;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #ef4444;
}

.btn-outline:hover {
  background: #ef4444;
  color: #fff;
}

.slide-right .content {
  margin-left: auto;
  margin-right: 80px;
  text-align: right;
}

.jr-nav a {
  font-size: 14px; /* 馃憟 baja tama帽o */
  font-weight: 500;
}

/* CUANDO HACE SCROLL (a煤n m谩s peque帽o) */
.jr-header.scrolled .jr-nav a {
  font-size: 13px;
}

.servicios-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-servicios {
  display: inline-block;
  background: #12113b;
  color: #fff;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER */
.btn-servicios:hover {
  background: #12113b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.about-historia {
  padding: 100px 20px;
  background: #fff;
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-row.reverse {
  direction: rtl;
}

.about-row.reverse .about-text {
  direction: ltr;
}

.about-img img {
  width: 100%;
  border-radius: 20px;
}

.about-text h2 {
  color: #1f2f3f;
  margin-bottom: 15px;
}

.about-text p {
  color: #64748b;
  text-align: justify;
}

.about-mision {
  padding: 80px 20px;
  background: #f8fafc;
}

.mision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mision-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mision-card h3 {
  color: #ef4444;
  margin-bottom: 10px;
}

.about-valores {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
}

.about-valores h2 {
  margin-bottom: 50px;
  color: #1f2f3f;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.valor {
  padding: 20px;
}

.valor svg {
  width: 40px;
  height: 40px;
  fill: #ef4444;
  margin-bottom: 15px;
}

.valor h4 {
  color: #1f2f3f;
}

.valor p {
  color: #64748b;
  font-size: 14px;
}



/* Esto lo puedes poner directamente en el archivo style.css o en el head de la p谩gina */
.seguimiento-form input, .seguimiento-form select, .seguimiento-form textarea {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin: 10px 0;
    width: 100%;
}

.rapid-section {
    background-color: var(--jr-light);
    padding: 40px;
    margin-top: 85px;;
    border-radius: 12px;
}

.rapid-container {
    width: 90%;
    margin: 0 auto;
}

.ot-details {
    background: var(--jr-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.seguimiento-form input, 
.seguimiento-form select, 
.seguimiento-form textarea {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin: 10px 0;
    width: 100%;
    background-color: #fff;
}

.rapid-section {
    background-color: var(--jr-light);  /* Color de fondo */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.rapid-container {
    width: 90%;
    margin: 0 auto;
}

.ot-details {
    background: var(--jr-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}


.actualizar-form input, 
.actualizar-form select, 
.actualizar-form textarea {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin: 10px 0;
    width: 100%;
    background-color: #fff;
}

.rapid-section {
    background-color: var(--jr-light);
    padding: 40px;
    margin-top:180px;
    border-radius: 12px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.rapid-container {
    width: 90%;
    margin: 0 55;
}

.ot-details {
    background: var(--jr-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}


.timeline {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.timeline li {
    padding: 10px 15px;
    background-color: #f4f4f4;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

.timeline li strong {
    font-weight: bold;
}

.timeline li span {
    display: block;
    margin-top: 5px;
    color: #555;
}


/* Estilo para el panel de actualizaci贸n */
#panel-trabajadores {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 20px auto;
    width: 80%;
}

#panel-trabajadores h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

#panel-trabajadores form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#panel-trabajadores label {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

#panel-trabajadores input[type="text"],
#panel-trabajadores select,
#panel-trabajadores textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

#panel-trabajadores textarea {
    height: 120px;
}

#panel-trabajadores input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

#panel-trabajadores input[type="submit"]:hover {
    background-color: #005bb5;
}

#panel-trabajadores .mensaje {
    font-size: 16px;
    color: #28a745;
    margin-top: 20px;
}

#panel-trabajadores .mensaje.error {
    color: #dc3545;
}


.timeline {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.timeline li {
    padding: 12px;
    background-color: #f4f4f4;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline li strong {
    font-weight: bold;
    color: #333;
}

.timeline li span {
    display: block;
    margin-top: 5px;
    color: #555;
}

.timeline li .evento {
    font-size: 14px;
    color: #333;
}

.timeline li .evento p {
    margin-top: 10px;
    color: #777;
    font-size: 13px;
}

.timeline h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

/* Estilo para el panel de actualizaci贸n */
#panel-trabajadores {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 20px auto;
    width: 80%;
}

#panel-trabajadores h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

#panel-trabajadores form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#panel-trabajadores label {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

#panel-trabajadores input[type="text"],
#panel-trabajadores select,
#panel-trabajadores textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

#panel-trabajadores textarea {
    height: 120px;
}

#panel-trabajadores input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

#panel-trabajadores input[type="submit"]:hover {
    background-color: #005bb5;
}

#panel-trabajadores .mensaje {
    font-size: 16px;
    color: #28a745;
    margin-top: 20px;
}

#panel-trabajadores .mensaje.error {
    color: #dc3545;
}


/* Estilos para la L铆nea de Tiempo */
.timeline {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.timeline li {
    padding: 10px 15px;
    background-color: #f4f4f4;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

.timeline li strong {
    font-weight: bold;
}

.timeline li span {
    display: block;
    margin-top: 5px;
    color: #555;
}


/* Estilos para la L铆nea de Tiempo */
.timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

.timeline ul {
    list-style: none;
    padding-left: 0;
}

.timeline li {
    position: relative;
    margin: 20px 0;
    padding-left: 40px; /* Espacio para el punto */
    border-left: 2px solid #ddd; /* L铆nea de la cronolog铆a */
    padding-bottom: 10px;
}

.timeline li:last-child {
    border-left: none; /* El 煤ltimo elemento no tendr谩 l铆nea */
}

.timeline li:before {
    content: '';
    position: absolute;
    left: -9px; /* Posici贸n del punto */
    top: 0;
    width: 18px;
    height: 18px;
    background-color: #3498db; /* Color del punto */
    border-radius: 50%; /* Hacer el punto redondo */
    border: 3px solid #fff; /* Borde blanco para darle efecto */
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

.timeline li strong {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.timeline li span {
    font-size: 14px;
    color: #555;
    display: block;
    margin-top: 5px;
}

.timeline li .fecha {
    font-size: 12px;
    color: #888;
}


/* Estilos para el formulario */
.panel-actualizacion {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 30px auto;
}

.panel-actualizacion h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
}

.panel-actualizacion p {
    text-align: center;
    color: #666;
}

.formulario-ot {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario-ot label {
    font-weight: bold;
    color: #333;
}

.formulario-ot input[type="text"],
.formulario-ot select,
.formulario-ot textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.formulario-ot input[type="submit"] {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.formulario-ot input[type="submit"]:hover {
    background-color: #2980b9;
}
/* Estilo para la l铆nea de tiempo */
.timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

.timeline ul {
    list-style: none;
    padding-left: 0;
}

.timeline li {
    position: relative;
    margin: 20px 0;
    padding-left: 40px; /* Espacio para el punto */
    border-left: 2px solid #3498db; /* L铆nea de la cronolog铆a */
    padding-bottom: 10px;
}

.timeline li:last-child {
    border-left: none; /* El 煤ltimo elemento no tendr谩 l铆nea */
}

.timeline li:before {
    content: '';
    position: absolute;
    left: -9px; /* Posici贸n del punto */
    top: 0;
    width: 18px;
    height: 18px;
    background-color: #3498db; /* Color del punto */
    border-radius: 50%; /* Hacer el punto redondo */
    border: 3px solid #fff; /* Borde blanco para darle efecto */
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

.timeline li strong {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.timeline li span {
    font-size: 14px;
    color: #555;
    display: block;
    margin-top: 5px;
}

.timeline li .fecha {
    font-size: 12px;
    color: #888;
}


/* ===== PANEL INTERNO PRO ===== */
.panel-ot-pro{
  background:#fff;
  border-radius:24px;
  padding:40px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.formulario-ot-pro{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 20px;
}

.campo{
  display:flex;
  flex-direction:column;
}

.campo-full{
  grid-column:1 / -1;
}

.formulario-ot-pro label{
  font-weight:700;
  margin-bottom:8px;
  color:#1f2f3f;
}

.formulario-ot-pro input[type="text"],
.formulario-ot-pro select,
.formulario-ot-pro textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #d9dde3;
  border-radius:14px;
  background:#fff;
  font-size:15px;
  outline:none;
  transition:.2s ease;
}

.formulario-ot-pro textarea{
  min-height:120px;
  resize:vertical;
}

.formulario-ot-pro input[type="text"]:focus,
.formulario-ot-pro select:focus,
.formulario-ot-pro textarea:focus{
  border-color:var(--jr-red);
  box-shadow:0 0 0 4px rgba(227,53,47,.12);
}

.btn-ot-pro{
  min-height:52px;
  border:none;
  border-radius:14px;
  background:var(--jr-red);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  box-shadow:var(--jr-shadow);
}

.mensaje-ok{
  background:#edf9f1;
  color:#166534;
  border:1px solid #bbf7d0;
  padding:14px 16px;
  border-radius:14px;
  margin-bottom:20px;
}

.mensaje-error{
  background:#fff1f2;
  color:#be123c;
  border:1px solid #fecdd3;
  padding:14px 16px;
  border-radius:14px;
  margin-bottom:20px;
}

/* ===== TIMELINE PRO VERTICAL ===== */
.titulo-timeline{
  margin-top:28px;
  margin-bottom:20px;
  font-size:28px;
  color:#1f2f3f;
}

.timeline-vertical{
  position:relative;
  margin-top:10px;
  padding-left:30px;
}

.timeline-vertical::before{
  content:"";
  position:absolute;
  left:8px;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg, var(--jr-red), #f1b3b0);
  border-radius:999px;
}

.timeline-item{
  position:relative;
  margin-bottom:24px;
}

.timeline-dot{
  position:absolute;
  left:-30px;
  top:22px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--jr-red);
  border:4px solid #fff;
  box-shadow:0 4px 12px rgba(227,53,47,.35);
  z-index:2;
}

.timeline-card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:18px;
  padding:18px 20px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.timeline-date{
  font-size:13px;
  color:#6b7280;
  font-weight:700;
  margin-bottom:8px;
}

.timeline-text{
  font-size:18px;
  color:#111827;
  font-weight:700;
  margin-bottom:10px;
}

.timeline-badge{
  display:inline-block;
  background:#fee2e2;
  color:#991b1b;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  margin-right:8px;
}

.timeline-sub{
  display:inline-block;
  background:#eff6ff;
  color:#1d4ed8;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

@media (max-width:768px){
  .formulario-ot-pro{
    grid-template-columns:1fr;
  }

  .panel-ot-pro{
    padding:24px;
  }

  .timeline-card{
    padding:16px;
  }

  .timeline-text{
    font-size:16px;
  }
}

.ot-adjuntos{
  margin-top:28px;
  background:#fff;
  border-radius:18px;
  padding:20px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  border:1px solid #ececec;
}

.ot-adjuntos h3{
  margin-top:0;
  margin-bottom:14px;
  color:#1f2f3f;
}

.lista-adjuntos{
  list-style:none;
  padding:0;
  margin:0;
}

.lista-adjuntos li{
  margin-bottom:10px;
}

.lista-adjuntos a{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  background:#f8fafc;
  color:#1d4ed8;
  text-decoration:none;
  font-weight:600;
  border:1px solid #dbeafe;
}

.lista-adjuntos a:hover{
  background:#eff6ff;
}
/* ===== DASHBOARD OT ===== */
.dashboard-ot-wrap{
  display:flex;
  flex-direction:column;
  gap:26px;
}

.dashboard-cards{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}

.dashboard-card{
  background:#fff;
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  border:1px solid #ececec;
}

.dashboard-card span{
  display:block;
  font-size:13px;
  color:#6b7280;
  margin-bottom:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.dashboard-card strong{
  display:block;
  font-size:34px;
  color:#111827;
  line-height:1;
}

.dashboard-filtros{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  background:#fff;
  padding:22px;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  border:1px solid #ececec;
}

.dashboard-filtros .campo{
  display:flex;
  flex-direction:column;
}

.dashboard-filtros label{
  font-weight:700;
  margin-bottom:8px;
  color:#1f2f3f;
}

.dashboard-filtros input,
.dashboard-filtros select{
  height:48px;
  padding:0 14px;
  border:1px solid #d9dde3;
  border-radius:14px;
  background:#fff;
  font-size:14px;
}

.campo-boton{
  justify-content:flex-end;
}

.btn-dashboard-filtrar{
  height:48px;
  border:none;
  border-radius:14px;
  background:var(--jr-red);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  margin-top:auto;
}

.dashboard-tabla-wrap{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  border:1px solid #ececec;
}

.dashboard-tabla{
  width:100%;
  border-collapse:collapse;
}

.dashboard-tabla thead{
  background:#f8fafc;
}

.dashboard-tabla th,
.dashboard-tabla td{
  padding:16px 18px;
  text-align:left;
  border-bottom:1px solid #eef2f7;
  font-size:14px;
  vertical-align:top;
}

.dashboard-tabla th{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#6b7280;
}

.mini-meta{
  font-size:12px;
  color:#6b7280;
  margin-top:5px;
}

.estado-pill{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  background:#fee2e2;
  color:#991b1b;
  font-size:12px;
  font-weight:800;
}

.btn-tabla{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border-radius:12px;
  background:#111827;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
}

.dashboard-paginacion{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.dashboard-paginacion a{
  min-width:40px;
  height:40px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#111827;
  font-weight:700;
}

.dashboard-paginacion a.activo{
  background:var(--jr-red);
  color:#fff;
  border-color:var(--jr-red);
}

@media (max-width:1100px){
  .dashboard-cards{
    grid-template-columns:repeat(2,1fr);
  }

  .dashboard-filtros{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:700px){
  .dashboard-cards,
  .dashboard-filtros{
    grid-template-columns:1fr;
  }

  .dashboard-tabla-wrap{
    overflow-x:auto;
  }

  .dashboard-tabla{
    min-width:780px;
  }
}

.dashboard-export{
  display:flex;
  justify-content:flex-end;
  margin-top:-10px;
}

.btn-export-csv{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:14px;
  background:#166534;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 10px 24px rgba(22,101,52,.22);
}

.btn-export-csv:hover{
  background:#14532d;
}


/* ===== ADMIN OT DETALLE ===== */
.admin-ot-wrap{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.admin-ot-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.admin-ot-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:24px;
}

.admin-ot-card{
  background:#fff;
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  border:1px solid #ececec;
}

.admin-ot-card h3{
  margin-top:0;
  margin-bottom:18px;
  color:#111827;
}

.admin-ot-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.admin-ot-form label{
  font-weight:700;
  color:#1f2f3f;
}

.admin-ot-form input,
.admin-ot-form select,
.admin-ot-form textarea{
  width:100%;
  border:1px solid #d9dde3;
  border-radius:14px;
  padding:14px 16px;
  font-size:14px;
  background:#fff;
}

.admin-ot-form textarea{
  min-height:110px;
  resize:vertical;
}

.btn-admin-guardar{
  min-height:50px;
  border:none;
  border-radius:14px;
  background:var(--jr-red);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  margin-top:8px;
}

.form-eliminar-ot{
  margin-top:16px;
}

.btn-admin-eliminar{
  min-height:46px;
  border:none;
  border-radius:14px;
  background:#7f1d1d;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  width:100%;
}

.timeline-badges-admin{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.timeline-sub.alt{
  background:#f3f4f6;
  color:#374151;
}

.adjunto-tipo{
  display:inline-block;
  margin-left:10px;
  padding:4px 8px;
  border-radius:999px;
  background:#eef2ff;
  color:#3730a3;
  font-size:11px;
  font-weight:700;
}

@media (max-width:980px){
  .admin-ot-top,
  .admin-ot-grid{
    grid-template-columns:1fr;
  }
}

/* ===== SINGLE PRODUCT RAPID ===== */
.producto-single-wrap{
  margin-top: 180px;
}

.rapid-product-single{
  display:block;
}

.rapid-product-layout{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items:start;
}

.rapid-product-gallery,
.rapid-product-info,
.rapid-product-description-card{
  background:#fff;
  border-radius:24px;
  box-shadow:0 16px 40px rgba(0,0,0,.08);
  border:1px solid #ececec;
}

.rapid-product-gallery{
  padding:20px;
}

.rapid-product-main-image{
  position:relative;
  overflow:hidden;
  border-radius:20px;
}

.rapid-product-main-image img{
  width:100%;
  display:block;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  border-radius:20px;
}

.rapid-badge-ref{
  position:absolute;
  left:16px;
  bottom:16px;
  background:rgba(17,24,39,.85);
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.rapid-product-thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:14px;
}

.rapid-thumb img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:14px;
  border:1px solid #e5e7eb;
}

.rapid-product-info{
  padding:28px;
}

.rapid-product-cat{
  font-size:13px;
  color:#6b7280;
  margin-bottom:12px;
  font-weight:600;
}

.rapid-product-title{
  margin:0 0 16px;
  font-size:42px;
  line-height:1.05;
  color:#111827;
}

.rapid-product-price{
  margin-bottom:18px;
  font-size:28px;
  font-weight:800;
  color:var(--jr-red);
}

.rapid-product-shortdesc{
  color:#4b5563;
  font-size:16px;
  line-height:1.7;
  margin-bottom:24px;
}

.rapid-product-actions{
  margin-bottom:24px;
}

.rapid-product-actions .single_add_to_cart_button,
.rapid-product-actions .rapid-btn{
  min-height:52px;
  padding:0 22px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:800;
  border:none;
  cursor:pointer;
}

.rapid-product-actions .single_add_to_cart_button{
  background:var(--jr-red);
  color:#fff;
}

.rapid-product-extra-box{
  display:grid;
  gap:12px;
}

.rapid-extra-item{
  padding:14px 16px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
}

.rapid-extra-item strong{
  display:block;
  color:#111827;
  margin-bottom:4px;
}

.rapid-extra-item span{
  color:#6b7280;
  font-size:14px;
}

.rapid-product-tabs-custom{
  margin-top:30px;
}

.rapid-product-description-card{
  padding:30px;
}

.rapid-product-description-card h2{
  margin-top:0;
  margin-bottom:18px;
  color:#111827;
}

.rapid-product-description-content{
  color:#374151;
  line-height:1.8;
}

.rapid-product-description-content ul{
  padding-left:20px;
}

.precio-proximamente{
  display:inline-block;
  padding:8px 14px;
  background:#fef3c7;
  color:#92400e;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
}

@media (max-width: 980px){
  .rapid-product-layout{
    grid-template-columns:1fr;
  }

  .rapid-product-title{
    font-size:34px;
  }
}

/* ===== HERO SECTION ===== */
.hero{
    background-image: url('assets/heronosotros.png');
    background-size: cover;
    background-position: center;
    padding: 160px 0;
    text-align: center;
    color: #fff;
}

.hero-content h1{
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p{
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-content .btn-primary{
    padding: 14px 28px;
    background-color: #f59e0b;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.hero-content .btn-primary:hover{
    background-color: #d97706;
}


/* ===== SECCIÓN MISION Y VISION ===== */
.about-mision{
    background-color: #db3636;
    padding: 60px 15px;
}

.mision-grid{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.mision-card{
   background-color: #ffffff52;
    padding: 20px;
    text-align: justify;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex: 1;
}

.mision-card h3{
    font-size: 24px;
    font-weight: 700;
    color: #fcfbfe;
    margin-bottom: 20px;
}

.mision-card p{
    font-size: 16px;
       color: #ffffff;
}

/* ===== SECCIÓN VENTAJAS ===== */
.ventajas{
    padding: 60px 0;
}

.ventajas-title{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.ventajas-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.ventaja{
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ventaja h4{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ventaja p{
    font-size: 16px;
    color: #4b5563;
}

.ventaja i{
    font-size: 40px;
    color: #f59e0b;
    margin-bottom: 20px;
}

.legal-page{
    background:#f5f7fa;
}

.legal-hero{
    position:relative;
    margin-top:50px;
    height:58vh;
    background:url('assets/heronosotros.png') center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
}

.legal-hero .overlay{
    position:absolute;
    inset:0;
    background: rgb(0 0 0 / 26%);
}

.legal-content{
    max-width:900px;
    margin:0 auto;
    padding:60px 20px;
}

.legal-content h2{
    margin-top:40px;
    color:#1f2f3f;
}

.legal-content h3{
    margin-top:20px;
    color:#2e7d32;
}

.legal-content p{
    line-height:1.7;
    margin:10px 0;
    text-align: justify;
}

.legal-content ul{
    margin:10px 0 20px;
    padding-left:20px;
}


.envio-content h2{
    margin-top:210px;
    color:#1f2f3f;
}

.envio-content p{
    line-height:1.7;
    margin:10px 0;
    margin-bottom:50px;
    text-align: justify;
}


/* Estilos para el Dashboard del Dueño de la Empresa */
.dashboard-dueno {
    padding: 20px;
    font-family: Arial, sans-serif;
}

.dashboard-dueno h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.dashboard-dueno .dashboard-secciones {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.dashboard-dueno ul {
    list-style-type: none;
    padding: 0;
}

.dashboard-dueno li {
    margin: 10px 0;
}

.dashboard-dueno a {
    display: block;
    padding: 10px;
    text-decoration: none;
    background-color: #ef4444;
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
}

.dashboard-dueno a:hover {
    background-color: #ef4444;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Formulario de Generar OT */
.generar-ot {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 50px auto;
    width: 80%;
    margin-top:200px;
    max-width: 600px;
}

label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    display: block;
    text-align: left;
}

input[type="text"], input[type="password"], input[type="submit"], textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

textarea {
    height: 120px;
}

/* Botón de envío */
input[type="submit"] {
    background-color: #ef4444;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #005a8e;
}

/* Mensajes de éxito */
.mensaje-ok {
    color: green;
    font-size: 1rem;
    margin-top: 20px;
}

.mensaje-error {
    color: red;
    font-size: 1rem;
    margin-top: 20px;
}

/* Estilo para el mensaje de éxito */
.mensaje-exito {
    background-color: #28a745; /* Verde */
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    font-size: 1.2rem;
}

.mensaje-exito p {
    margin: 0;
}

/* Estilo para el botón de "Volver al Panel Principal" */
.boton-volver {
    display: inline-block;
    background-color: #ef4444;
    color: white;
    padding: 12px 20px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.boton-volver:hover {
    background-color: #005a8e;
}

/* Contenedor de Categorías */
.categorias-container {
    text-align: center;
    margin-top: 190px;
}

.categorias h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Estilo para las imágenes de las categorías */
.categorias {
    display: flex;
    justify-content: center;
    gap: 72px;
}


.categoria-item img {
       height: 400px;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.categoria-item:hover img {
    transform: scale(1.05);
}

.categoria-item p {
    font-size: 1.1rem;
    margin-top: 10px;
    color: #333;
    font-weight: bold;
}

/* Estilo para los links */
.categoria-item a {
    text-decoration: none;
    color: inherit;
}