/* Repsol Butano Elche · estilos del sitio (se carga después de Bootstrap) */
@font-face{font-family:"Titillium";src:url("../fonts/titillium-regular-webfont.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Titillium";src:url("../fonts/titillium-bold-webfont.woff") format("woff");font-weight:700;font-style:normal;font-display:swap}

:root{
  --rv-orange:#f78923; --rv-orange-dk:#d9700f; --rv-red:#e4232f; --rv-ink:#2d2d2d; --rv-gray:#6f6f6f; --rv-line:#e7e7e7; --rv-soft:#faf6f1;
  --rv-head:"Titillium","Segoe UI",system-ui,sans-serif; --nav-h:64px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 12px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;color:#444;font-size:1rem;line-height:1.6;background:#fff;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto}
a{color:var(--rv-orange-dk)}
a:hover{color:var(--rv-red)}
.icon{width:1em;height:1em;fill:currentColor;vertical-align:-.125em;flex:none}
h1,h2,h3,h4{font-family:var(--rv-head);color:var(--rv-ink);line-height:1.2}
h1{font-size:2rem}
.rv-skip{position:absolute;left:-999px;top:0;background:#000;color:#fff;padding:.6rem 1rem;z-index:2000}
.rv-skip:focus{left:0}
.rv-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}

/* ---------- Botones ---------- */
.btn{border-radius:4px;font-weight:600}
.btn-repsol{background:var(--rv-orange);border-color:var(--rv-orange);color:#fff}
.btn-repsol:hover,.btn-repsol:focus{background:var(--rv-red);border-color:var(--rv-red);color:#fff}
.btn-repsol-light{background:#fff;color:var(--rv-orange-dk);border:1px solid #fff}
.btn-repsol-light:hover{background:var(--rv-red);border-color:var(--rv-red);color:#fff}
.btn .icon{margin-right:.35em}

/* ---------- Cabecera ---------- */
.rv-notice{background:var(--rv-ink);color:#fff;text-align:center;font-size:.9rem;padding:.45rem 0}
.rv-notice a{color:#ffd29b;font-weight:600;margin-left:.4rem}
.rv-header{position:sticky;top:0;z-index:1030;height:var(--nav-h);display:flex;align-items:stretch;background:#fff;box-shadow:0 1px 0 var(--rv-line),0 3px 10px rgba(0,0,0,.05)}
.rv-logo{display:flex;align-items:center;padding:0 1rem 0 1.25rem;flex:none}
.rv-logo img{height:44px;width:auto}
.rv-red{display:none;width:80px;background:var(--rv-red);flex:none}
.rv-nav{flex:1;min-width:0;background:var(--rv-orange);display:none;overflow:hidden}
.rv-nav ul{list-style:none;margin:0;padding:0 0 0 1rem;display:flex;height:100%}
.rv-nav li{display:flex}
.rv-nav a{display:flex;align-items:center;padding:0 .75rem;color:#fff;text-decoration:none;font-family:var(--rv-head);font-size:1rem;white-space:nowrap}
@media (min-width:1400px){.rv-nav a{padding:0 1rem;font-size:1.08rem}}
.rv-nav a:hover,.rv-nav a.active{background:#fff;color:var(--rv-orange-dk)}
.rv-burger{margin-left:auto;border:0;background:none;width:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}
.rv-burger span{display:block;width:26px;height:3px;background:var(--rv-orange);border-radius:2px;transition:transform .2s,opacity .2s}
.rv-burger[aria-expanded=true] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.rv-burger[aria-expanded=true] span:nth-child(2){opacity:0}
.rv-burger[aria-expanded=true] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
@media (max-width:991.98px){
  .rv-nav{position:absolute;left:0;right:0;top:100%;display:block;max-height:0;overflow:hidden;transition:max-height .3s ease;box-shadow:0 8px 14px rgba(0,0,0,.15)}
  .rv-nav.open{max-height:80vh;overflow:auto}
  .rv-nav ul{flex-direction:column;padding:.4rem 0}
  .rv-nav a{padding:.85rem 1.25rem;width:100%;border-bottom:1px solid rgba(255,255,255,.25)}
}
@media (min-width:992px){
  .rv-red,.rv-nav{display:block}.rv-nav{display:flex}.rv-burger{display:none}
  .rv-logo{padding-right:1.5rem}
}

/* ---------- Carrusel ---------- */
.rv-carousel{position:relative;background:#1b1b1b;overflow:hidden}
.rv-slides{display:grid}
.rv-slide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s;position:relative;display:flex;flex-direction:column}
.rv-slide.active{opacity:1;visibility:visible;z-index:2}
.rv-slide picture{display:block;height:100%}
.rv-slide img{display:block;width:100%;height:100%;object-fit:cover}
.rv-slide-img{aspect-ratio:16/10;background:#333}
.rv-cap{padding:0}
.rv-cap-card{background:var(--rv-orange);color:#fff;padding:1.25rem 1.25rem 1.5rem}
.rv-cap-card h2,.rv-cap-card h1{color:#fff;font-size:1.5rem;margin:0 0 .6rem}
.rv-cap-card p{margin:0 0 1rem;font-size:1rem}
.rv-cap-card .btn{margin:0 .5rem .25rem 0}
@media (min-width:992px){
  .rv-slide{display:block}
  .rv-slide-img{aspect-ratio:auto;height:clamp(300px,31vw,460px)}
  .rv-cap{position:absolute;inset:0;display:flex;align-items:center}
  .rv-cap .container{display:flex}
  .rv-slide.right .rv-cap .container{justify-content:flex-end}
  .rv-cap-card{max-width:560px;background:rgba(247,137,35,.93);padding:1.75rem 2rem;border-radius:2px}
  .rv-cap-card h2,.rv-cap-card h1{font-size:2rem}
  .rv-cap-card p{font-size:1.1rem}
}
.rv-car-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;display:none;align-items:center;justify-content:center;cursor:pointer}
.rv-car-btn:hover{background:rgba(0,0,0,.7)}
.rv-car-btn.prev{left:12px}.rv-car-btn.next{right:12px}
.rv-car-btn .icon{width:1.2em;height:1.2em}
@media (min-width:992px){.rv-car-btn{display:flex}}
.rv-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:5}
.rv-dots button{width:11px;height:11px;border-radius:50%;border:2px solid #fff;background:transparent;padding:0;cursor:pointer}
.rv-dots button[aria-current=true]{background:#fff}
@media (max-width:991.98px){.rv-dots{position:static;background:var(--rv-orange);padding:0 0 1rem}.rv-dots button{border-color:#fff}}

/* ---------- Secciones ---------- */
.rv-section{padding:3rem 0}
.rv-section.alt{background:var(--rv-soft)}
.rv-title{font-family:var(--rv-head);color:var(--rv-orange);font-size:2rem;text-align:center;margin:0 0 .5rem;font-weight:400}
.rv-sub{font-family:var(--rv-head);color:var(--rv-gray);font-size:1.15rem;text-align:center;margin:0 0 2rem}
.rv-title+.rv-sub{margin-top:-.1rem}
.rv-title-wrap{margin-bottom:2rem}

/* Tarjetas de servicio */
.rv-card{display:flex;flex-direction:column;height:100%;border:1px solid var(--rv-line);background:#fff;transition:box-shadow .2s,transform .2s}
.rv-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08)}
.rv-card-img{position:relative;aspect-ratio:3/2;overflow:hidden;background:#eee}
.rv-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.rv-card-ico{position:absolute;top:10px;right:10px;width:62px;height:62px;border-radius:50%;background:var(--rv-orange);color:#fff;display:flex;align-items:center;justify-content:center}
.rv-card-ico .icon{width:1.7rem;height:1.7rem}
.rv-card-body{padding:1.25rem;display:flex;flex-direction:column;flex:1}
.rv-card-body h3{font-size:1.15rem;font-weight:700;margin:0 0 .6rem;color:var(--rv-ink)}
.rv-card-body p{color:#555}
.rv-card-body .btn{margin-top:auto;align-self:flex-start}

/* Banda grande */
.rv-band{border:1px solid var(--rv-line);background:#fff}
.rv-band-img{aspect-ratio:16/6;overflow:hidden;position:relative;background:#eee}
.rv-band-img img{width:100%;height:100%;object-fit:cover;display:block}
.rv-band-body{padding:1.5rem}
.rv-band-body h3{font-size:1.25rem}

/* Features (iconos con texto) */
.rv-features{background:var(--rv-orange);padding:14px 20px;margin:1.5rem 0}
.rv-features .row{background:#fff;border:1px solid #e6e6e6;border-radius:5px}
.rv-feat{padding:2rem 1rem}
.rv-feat img{width:64px;height:64px;margin:0 auto 1rem;display:block}
.rv-feat h3{font-size:1.25rem;color:#3b4146;margin:0 0 .5rem}
.rv-feat p{color:#7c848a;margin:0}
.rv-features .col-md-3+.col-md-3 .rv-feat,.rv-features .col-md-4+.col-md-4 .rv-feat{border-left:1px solid #f0f0f0}
@media (max-width:767.98px){.rv-features .row>div+div .rv-feat{border-left:0;border-top:1px solid #f0f0f0}}

/* Destacados imagen + texto */
.rv-feature{padding:2.5rem 0;border-top:1px solid var(--rv-line)}
.rv-feature h2{font-size:2rem;margin-bottom:1rem}
.rv-feature .lead{font-size:1.2rem}
.rv-feature-img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:4px}
.rv-feature .btns{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}
.rv-feature-text a:not(.btn){color:var(--rv-orange-dk)}

/* ---------- Productos ---------- */
.rv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.5rem}
.rv-prod{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--rv-line);border-radius:6px;overflow:hidden;transition:box-shadow .2s,transform .2s;height:100%}
.rv-prod:hover{box-shadow:0 10px 26px rgba(0,0,0,.1);transform:translateY(-3px);color:inherit}
.rv-prod-img{aspect-ratio:1/1;background:#fff;display:flex;align-items:center;justify-content:center;padding:1rem;position:relative}
.rv-prod-img img{max-width:100%;max-height:100%;object-fit:contain}
.rv-prod-body{padding:1rem 1.1rem 1.2rem;display:flex;flex-direction:column;flex:1;border-top:1px solid var(--rv-line)}
.rv-prod-cat{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--rv-orange-dk);font-weight:700}
.rv-prod-body h2,.rv-prod-body h3{font-size:1.15rem;margin:.2rem 0 .4rem;font-weight:700}
.rv-prod-body p{font-size:.92rem;color:#666;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 .8rem}
.rv-prod-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.rv-price{font-weight:700;font-size:1.2rem;color:var(--rv-ink)}
.rv-price s{font-weight:400;color:#999;font-size:.9rem;margin-left:.4rem}
.rv-more{color:var(--rv-orange-dk);font-weight:700;font-size:.92rem}
.rv-chips{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-bottom:2rem}
.rv-chip{display:inline-block;padding:.4rem 1rem;border:1px solid var(--rv-line);border-radius:99px;text-decoration:none;color:#555;font-size:.92rem;background:#fff}
.rv-chip:hover{border-color:var(--rv-orange);color:var(--rv-orange-dk)}
.rv-chip.active{background:var(--rv-orange);border-color:var(--rv-orange);color:#fff}

/* Ficha de producto */
.rv-gal-main{background:#fff;border:1px solid var(--rv-line);border-radius:6px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:1rem}
.rv-gal-main img{max-width:100%;max-height:100%;object-fit:contain}
.rv-thumbs{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.6rem}
.rv-thumbs button{width:72px;height:72px;border:2px solid var(--rv-line);background:#fff;border-radius:6px;padding:4px;cursor:pointer}
.rv-thumbs button[aria-current=true]{border-color:var(--rv-orange)}
.rv-thumbs img{width:100%;height:100%;object-fit:contain}
.rv-crumbs{font-size:.88rem;color:var(--rv-gray);margin-bottom:1rem}
.rv-crumbs a{color:var(--rv-gray)}

/* ---------- Blog ---------- */
.rv-post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--rv-line);border-radius:6px;overflow:hidden;text-decoration:none;color:inherit;height:100%;transition:box-shadow .2s}
.rv-post-card:hover{box-shadow:0 10px 26px rgba(0,0,0,.1);color:inherit}
.rv-post-img{aspect-ratio:16/9;background:#f1f1f1;overflow:hidden}
.rv-post-img img{width:100%;height:100%;object-fit:cover;display:block}
.rv-post-body{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;flex:1}
.rv-post-body h2{font-size:1.2rem;font-weight:700;margin:.3rem 0 .5rem}
.rv-post-body p{font-size:.93rem;color:#666;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.rv-meta{font-size:.82rem;color:var(--rv-gray)}
.rv-post-body .rv-more{margin-top:auto}
.rv-pager{display:flex;gap:.4rem;justify-content:center;flex-wrap:wrap;margin-top:2.5rem}
.rv-pager a,.rv-pager span{min-width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--rv-line);border-radius:4px;text-decoration:none;color:#555;padding:0 .6rem}
.rv-pager a:hover{border-color:var(--rv-orange);color:var(--rv-orange-dk)}
.rv-pager .cur{background:var(--rv-orange);border-color:var(--rv-orange);color:#fff}
.rv-article-hero{width:100%;max-height:440px;object-fit:cover;border-radius:6px;margin-bottom:1.5rem}
.rv-side-box{border:1px solid var(--rv-line);border-radius:6px;padding:1.1rem 1.2rem;margin-bottom:1.25rem;background:#fff}
.rv-side-box h3{font-size:1.1rem;color:var(--rv-orange);margin:0 0 .7rem}
.rv-side-list{list-style:none;margin:0;padding:0}
.rv-side-list li{border-top:1px solid var(--rv-line)}
.rv-side-list li:first-child{border-top:0}
.rv-side-list a{display:block;padding:.55rem 0;text-decoration:none;color:#444;font-size:.95rem;line-height:1.3}
.rv-side-list a:hover{color:var(--rv-orange-dk)}
.rv-side-cta{background:var(--rv-orange);color:#fff;border-radius:6px;padding:1.25rem;margin-bottom:1.25rem}
.rv-side-cta h3{color:#fff;font-size:1.2rem}

/* ---------- Contenido de páginas ---------- */
.rv-pagehead{aspect-ratio:1904/213;max-height:213px;min-height:110px;width:100%;overflow:hidden;background:#ddd}
.rv-pagehead img{width:100%;height:100%;object-fit:cover;display:block}
.rv-content{font-size:1.05rem}
.rv-content>h1,.rv-content>h2,.rv-content>h3,.rv-content>h4,.rv-content>p,.rv-content>ul,.rv-content>ol,.rv-content>blockquote,.rv-content>table{max-width:820px;margin-left:auto;margin-right:auto}
.rv-content h2{font-size:1.6rem;margin-top:2rem;margin-bottom:.8rem}
.rv-content h3{font-size:1.3rem;margin-top:1.6rem}
.rv-content p.lead{font-size:1.15rem}
.rv-content blockquote{border-left:4px solid var(--rv-orange);padding:.4rem 1rem;color:#555;background:var(--rv-soft)}
.rv-content img{border-radius:4px}
.rv-content table{width:100%;border-collapse:collapse}
.rv-content td,.rv-content th{border:1px solid var(--rv-line);padding:.5rem .7rem}
.rv-article h2:first-child{margin-top:0}
.rv-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.75rem;margin:2rem 0}
.rv-gallery img{width:100%;height:220px;object-fit:cover;border-radius:4px}
.rv-cta{margin:2.5rem 0;padding:2rem 0;border-top:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)}
.rv-cta h2{margin-top:0}

/* ---------- Ubicaciones ---------- */
.rv-loc{border:1px solid var(--rv-line);background:#fff;display:flex;flex-direction:column;height:100%}
.rv-loc-map{height:240px;background:#eaeaea}
.rv-loc-map iframe{width:100%;height:100%;border:0;display:block}
.rv-loc-body{padding:1rem 1.2rem 1.3rem;display:flex;flex-direction:column;flex:1}
.rv-loc-body h3{font-size:1.1rem;font-weight:700;margin:0 0 .5rem;color:var(--rv-ink)}
.rv-loc-body p{margin:0 0 .8rem;color:#555}
.rv-loc-body .btn{margin-top:auto;align-self:flex-start}

/* ---------- FAQ ---------- */
.rv-faq details{border:1px solid var(--rv-line);border-radius:6px;background:#fff;margin-bottom:.75rem;overflow:hidden}
.rv-faq summary{list-style:none;cursor:pointer;padding:.9rem 3rem .9rem 1.1rem;font-weight:700;color:var(--rv-ink);position:relative;font-family:var(--rv-head);font-size:1.1rem}
.rv-faq summary::-webkit-details-marker{display:none}
.rv-faq summary::after{content:"+";position:absolute;right:1.1rem;top:50%;transform:translateY(-50%);font-size:1.6rem;color:var(--rv-orange);line-height:1}
.rv-faq details[open] summary::after{content:"–"}
.rv-faq details[open] summary{background:var(--rv-soft)}
.rv-faq .ans{padding:.9rem 1.1rem 1.1rem;border-top:1px solid var(--rv-line)}
.rv-faq .ans p:last-child{margin-bottom:0}

/* ---------- Contacto ---------- */
.rv-contact-card{border:1px solid var(--rv-line);border-radius:6px;background:#fff;overflow:hidden;height:100%}
.rv-contact-card img.top{width:100%;height:110px;object-fit:cover;display:block}
.rv-contact-card .in{padding:1.5rem}
.rv-info li{display:flex;gap:.7rem;margin-bottom:.8rem;align-items:flex-start}
.rv-info .icon{margin-top:.3rem;color:var(--rv-orange);width:1.1em;height:1.1em}
.rv-info{list-style:none;padding:0;margin:0}

/* ---------- Formularios y modales ---------- */
.form-control:focus,.form-select:focus{border-color:var(--rv-orange);box-shadow:0 0 0 .2rem rgba(247,137,35,.25)}
.form-check-input:checked{background-color:var(--rv-orange);border-color:var(--rv-orange)}
.rv-form-msg{margin-top:.8rem;font-size:.95rem}
.rv-form-msg.ok{background:#e8f5e9;color:#1b5e20;padding:.7rem 1rem;border-radius:6px}
.rv-form-msg.err{background:#fdecea;color:#8a1c14;padding:.7rem 1rem;border-radius:6px}
dialog.rv-modal{border:0;border-radius:10px;padding:0;width:min(560px,calc(100vw - 24px));max-height:calc(100vh - 24px);box-shadow:0 20px 60px rgba(0,0,0,.35);overflow:auto;color:#444}
dialog.rv-modal::backdrop{background:rgba(0,0,0,.55)}
.rv-modal-h{background:var(--rv-orange);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:.8rem 1.1rem;position:sticky;top:0;z-index:2}
.rv-modal-h h2{font-size:1.2rem;margin:0;color:#fff;font-weight:700}
.rv-x{background:none;border:0;color:#fff;font-size:2rem;line-height:1;cursor:pointer;padding:0 .3rem}
.rv-modal-b{padding:1.3rem 1.3rem 1.5rem}
dialog.rv-popup{width:min(640px,calc(100vw - 24px))}

/* ---------- Pie ---------- */
.rv-footer{background:var(--rv-orange);color:#fff;margin-top:0}
.rv-footer a{color:#fff;text-decoration:underline}
.rv-footer a:hover{color:#2d2d2d}
.rv-foot-title{font-family:var(--rv-head);font-weight:700;font-size:1.15rem;margin-bottom:.6rem}
.rv-footer .icon{margin-right:.35rem}
.rv-footer ul li{margin-bottom:.3rem}
.rv-copy{border-top:1px solid rgba(255,255,255,.35);text-align:center;font-size:.88rem;padding:1rem 0 1.2rem}

/* ---------- Flotantes ---------- */
.rv-call-fab{position:fixed;left:14px;bottom:14px;z-index:1040;background:var(--rv-red);color:#fff;border-radius:99px;padding:.7rem 1.1rem;text-decoration:none;font-weight:700;box-shadow:0 4px 14px rgba(0,0,0,.3);display:flex;align-items:center;gap:.4rem}
.rv-call-fab:hover{color:#fff;background:#b9141f}
@media (min-width:992px){.rv-call-fab{display:none}}
.rv-top{position:fixed;right:14px;bottom:14px;z-index:1040;width:46px;height:46px;border-radius:50%;border:0;background:var(--rv-orange);color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.3);cursor:pointer;display:flex;align-items:center;justify-content:center}
.rv-top[hidden]{display:none}
.rv-top .icon{width:1.4em;height:1.4em}
.rv-adminbar{position:fixed;top:8px;right:8px;z-index:3000;background:#1d2530;color:#fff;border-radius:99px;padding:.3rem .5rem;font-size:.82rem;display:flex;gap:.2rem;box-shadow:0 2px 10px rgba(0,0,0,.4);opacity:.9}
.rv-adminbar a{color:#fff;text-decoration:none;padding:.15rem .6rem;border-radius:99px}
.rv-adminbar a:hover{background:var(--rv-orange);color:#fff}
.rv-cookies{position:fixed;left:0;right:0;bottom:0;z-index:2500;background:#fff;border-top:3px solid var(--rv-orange);box-shadow:0 -4px 20px rgba(0,0,0,.2);padding:1rem 1.25rem;display:flex;gap:1rem;align-items:center;justify-content:center;flex-wrap:wrap;font-size:.92rem}
.rv-cookies[hidden]{display:none}
.rv-cookies p{margin:0;max-width:760px}
.rv-cookies-b{display:flex;gap:.5rem}
.rv-big-404{font-family:var(--rv-head);font-size:6rem;color:var(--rv-orange);margin:0;line-height:1}

/* ---------- Revelado suave al hacer scroll (solo con JS) ---------- */
.js .rv-reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js .rv-reveal.in{opacity:1;transform:none}

@media (max-width:575.98px){
  h1,.rv-title{font-size:1.7rem}
  .rv-section{padding:2.2rem 0}
  .rv-feature h2{font-size:1.6rem}
}
@media print{.rv-header,.rv-footer,.rv-call-fab,.rv-top,.rv-cookies,.rv-notice{display:none!important}}

/* ---------- Ajustes móvil / tablet ---------- */
@media (max-width:991.98px){
  .rv-cap{flex:1;display:flex}
  .rv-cap .container{padding:0;max-width:none;display:flex;flex:1}
  .rv-cap-card{flex:1}
  .rv-card-img{max-height:260px}
}
@media (max-width:575.98px){
  .rv-cookies{padding:.7rem 1rem;font-size:.8rem;gap:.5rem}
  .rv-cookies p{line-height:1.35}
  .rv-cookies-b{width:100%}
  .rv-cookies-b .btn{flex:1;padding:.4rem;font-size:.9rem}
}

/* =====================================================================
   DISEÑO v2: bordes redondeados, botones en píldora, animaciones,
   cabecera de portada, catálogo con filtro lateral
   ===================================================================== */
:root{--r:18px;--r-lg:26px;--shadow:0 10px 30px rgba(0,0,0,.08);--shadow-lg:0 18px 44px rgba(0,0,0,.14);--ease:cubic-bezier(.2,.8,.2,1)}

/* ---- Botones ---- */
.btn{border-radius:999px;padding:.55rem 1.35rem;transition:transform .25s var(--ease),box-shadow .25s var(--ease),background-color .2s,color .2s,border-color .2s}
.btn-lg{padding:.75rem 1.8rem}
.btn-sm{padding:.35rem 1rem}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.16)}
.btn:active{transform:translateY(0);box-shadow:none}
.btn-repsol{background:linear-gradient(135deg,#ff9a3c,var(--rv-orange))}
.btn-repsol:hover,.btn-repsol:focus{background:linear-gradient(135deg,#f0414c,var(--rv-red))}
.form-control,.form-select{border-radius:14px;padding:.6rem .95rem}
.form-control-lg{border-radius:16px}

/* ---- Cabecera de portada ---- */
.rv-hband{display:none}
.rv-header-home .rv-red{display:none}
@media (min-width:992px){
  .rv-header-home{position:relative;height:120px;box-shadow:none;z-index:1030}
  .rv-header-home .rv-logo{padding:0 1.4rem 0 2.2rem}
  .rv-header-home .rv-logo img{height:auto;width:175px}
  .rv-header-home .rv-nav-mobile,.rv-header-home .rv-burger{display:none}
  .rv-hband{display:flex;flex:1;min-width:0}
  .rv-hband .rv-red{display:block;width:80px;flex:none}
  .rv-band-in{flex:1;background:var(--rv-orange);display:flex;align-items:center;gap:1.6rem;padding:0 2rem;color:#fff;overflow:hidden}
  .rv-band-t{margin:0;font-family:var(--rv-head);font-size:1.7rem;line-height:1.2;font-weight:400;letter-spacing:.01em;animation:rvBandIn .9s var(--ease) both}
  .rv-band-d{margin:0;font-size:1.05rem;line-height:1.35;border-left:2px solid #fff;padding-left:1.4rem;animation:rvBandIn .9s .15s var(--ease) both}
}
@media (min-width:992px) and (max-width:1199.98px){.rv-band-d{display:none}}
@keyframes rvBandIn{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
.rv-menubar{display:none;position:sticky;top:0;z-index:1025;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #cecece;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.rv-menubar ul{list-style:none;margin:0;padding:.7rem 0;display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-start}
.rv-menubar a{display:block;padding:.45rem 1rem;border-radius:999px;color:var(--rv-orange-dk);text-decoration:none;font-family:var(--rv-head);font-size:1.08rem;transition:background-color .2s,color .2s,transform .2s var(--ease)}
.rv-menubar a:hover{background:var(--rv-orange);color:#fff;transform:translateY(-1px)}
.rv-menubar a.active{background:var(--rv-orange);color:#fff}
@media (min-width:992px){.rv-menubar{display:block}}

/* ---- Tarjetas, imágenes y bloques más modernos ---- */
.rv-card,.rv-prod,.rv-post-card,.rv-loc,.rv-contact-card,.rv-side-box,.rv-side-cta,.rv-gal-main,.rv-faq details{border-radius:var(--r)}
.rv-card{overflow:hidden;border-color:transparent;box-shadow:var(--shadow)}
.rv-card:hover{box-shadow:var(--shadow-lg)}
.rv-card-img img,.rv-post-img img,.rv-feature-img{transition:transform .8s var(--ease)}
.rv-card:hover .rv-card-img img,.rv-post-card:hover .rv-post-img img{transform:scale(1.06)}
.rv-feature-img{aspect-ratio:5/4;border-radius:var(--r-lg);box-shadow:var(--shadow-lg)}
.rv-feature:hover .rv-feature-img{transform:scale(1.02) rotate(-.4deg)}
.rv-band-box{border-radius:var(--r-lg)}
.rv-band{border-radius:var(--r-lg);overflow:hidden;border-color:transparent;box-shadow:var(--shadow)}
.rv-band-img{aspect-ratio:16/6.5}
.rv-band-img img{transition:transform 1.2s var(--ease)}
.rv-band:hover .rv-band-img img{transform:scale(1.04)}
.rv-prod{border-color:transparent;box-shadow:var(--shadow);overflow:hidden}
.rv-prod:hover{box-shadow:var(--shadow-lg)}
.rv-prod-img{background:linear-gradient(180deg,#fff,#f8f4ee)}
.rv-prod-img img{transition:transform .6s var(--ease)}
.rv-prod:hover .rv-prod-img img{transform:scale(1.07)}
.rv-post-card{border-color:transparent;box-shadow:var(--shadow);transition:box-shadow .3s,transform .3s var(--ease)}
.rv-post-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.rv-article-hero,.rv-content img,.rv-gallery img{border-radius:var(--r)}
.rv-gallery img{transition:transform .5s var(--ease),box-shadow .5s}
.rv-gallery img:hover{transform:scale(1.03);box-shadow:var(--shadow)}
.rv-loc{overflow:hidden;border-color:transparent;box-shadow:var(--shadow)}
.rv-contact-card{border-color:transparent;box-shadow:var(--shadow)}
.rv-pagehead{border-radius:0 0 var(--r-lg) var(--r-lg)}
.rv-side-box{border-color:transparent;box-shadow:var(--shadow)}
.rv-cap-card{border-radius:var(--r)}

/* ---- Features: sin recuadro naranja ---- */
.rv-features{background:none;padding:0;margin:2rem 0}
.rv-features .row{background:#fff;border:1px solid var(--rv-line);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden}
.rv-feat{transition:background-color .3s}
.rv-feat:hover{background:#fffaf4}
.rv-feat img{transition:transform .4s var(--ease)}
.rv-feat:hover img{transform:translateY(-4px) scale(1.08)}

/* ---- FAQ ---- */
.rv-faq details{border-color:transparent;box-shadow:var(--shadow);transition:box-shadow .3s}
.rv-faq details[open]{box-shadow:var(--shadow-lg)}
.rv-faq summary{padding-right:3.6rem}
.rv-faq summary::after{content:"";width:34px;height:34px;border-radius:50%;background:#fff1e0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f78923' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat;transition:transform .35s var(--ease),background-color .3s}
.rv-faq details[open] summary::after,.rv-faq details.opening summary::after{content:"";transform:translateY(-50%) rotate(135deg);background-color:#ffd9b0}
.rv-faq details[open] summary{background:#fff}
.rv-faq .ans{overflow:hidden}

/* ---- Catálogo: filtro lateral ---- */
.rv-grid{grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:1.4rem}
@media (max-width:1199.98px){.rv-grid{grid-template-columns:repeat(min(var(--cols,4),3),minmax(0,1fr))}}
@media (max-width:767.98px){.rv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.rv-prod-body{padding:.8rem}.rv-prod-body h2,.rv-prod-body h3{font-size:1rem}.rv-prod-foot{flex-wrap:wrap}}
@media (max-width:420px){.rv-grid{grid-template-columns:1fr}}
.rv-filter{position:sticky;top:calc(var(--nav-h) + 16px);background:#fff;border-radius:var(--r);box-shadow:var(--shadow);padding:1.2rem}
.rv-search{display:flex;background:#f6f2ec;border-radius:999px;padding:.2rem .2rem .2rem 1rem;margin-bottom:1.1rem;transition:box-shadow .2s}
.rv-search:focus-within{box-shadow:0 0 0 3px rgba(247,137,35,.3)}
.rv-search input{flex:1;min-width:0;border:0;background:none;outline:0;font-size:.95rem}
.rv-search button{border:0;background:var(--rv-orange);color:#fff;border-radius:50%;width:38px;height:38px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s var(--ease)}
.rv-search button:hover{transform:scale(1.1)}
.rv-filter-t{font-family:var(--rv-head);font-weight:700;color:var(--rv-ink);margin:1rem 0 .5rem;font-size:1.05rem}
.rv-filter-list{list-style:none;margin:0;padding:0}
.rv-filter-list a{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .8rem;border-radius:12px;color:#555;text-decoration:none;font-size:.95rem;transition:background-color .2s,color .2s,padding .2s var(--ease)}
.rv-filter-list a span{font-size:.75rem;background:#f1ece5;border-radius:99px;padding:.05rem .5rem;color:#777}
.rv-filter-list a:hover{background:#fff5ea;color:var(--rv-orange-dk);padding-left:1.1rem}
.rv-filter-list a.active{background:var(--rv-orange);color:#fff}
.rv-filter-list a.active span{background:rgba(255,255,255,.3);color:#fff}
.rv-filter-clear{display:inline-block;margin-top:.8rem;font-size:.88rem}
.rv-filter-help{margin-top:1.3rem;background:#fff5ea;border-radius:14px;padding:1rem;display:flex;flex-direction:column;gap:.4rem;align-items:flex-start;font-size:.92rem}
@media (max-width:991.98px){.rv-filter{position:static}}

/* ---- Animaciones ---- */
.js .rv-reveal{opacity:0;transform:translateY(26px) scale(.985);transition:opacity .7s var(--ease) var(--d,0ms),transform .7s var(--ease) var(--d,0ms),box-shadow .3s}
.js .rv-reveal.in{opacity:1;transform:none}
.rv-card.rv-reveal.in:hover,.rv-prod.rv-reveal.in:hover{transform:translateY(-5px);transition-delay:0ms}
.rv-slide.active .rv-cap-card{animation:rvCapIn .9s .1s var(--ease) both}
.rv-slide.right.active .rv-cap-card{animation-name:rvCapInR}
.rv-slide.active .rv-cap-card h1,.rv-slide.active .rv-cap-card h2{animation:rvUp .8s .25s var(--ease) both}
.rv-slide.active .rv-cap-card p{animation:rvUp .8s .4s var(--ease) both}
.rv-slide.active .rv-cap-card .btn{animation:rvUp .8s .55s var(--ease) both}
.rv-slide.active .rv-slide-img img{animation:rvKen 9s ease-out both}
@keyframes rvCapIn{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:none}}
@keyframes rvCapInR{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes rvUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes rvKen{from{transform:scale(1.08)}to{transform:scale(1)}}
.rv-dots button{transition:transform .25s var(--ease),background-color .2s}
.rv-dots button[aria-current=true]{transform:scale(1.35)}
.rv-call-fab{animation:rvPulse 2.6s infinite}
@keyframes rvPulse{0%{box-shadow:0 0 0 0 rgba(228,35,47,.5)}70%{box-shadow:0 0 0 16px rgba(228,35,47,0)}100%{box-shadow:0 0 0 0 rgba(228,35,47,0)}}
.rv-top{transition:transform .25s var(--ease)}
.rv-top:hover{transform:translateY(-3px)}

/* ---- Ventanas emergentes ---- */
dialog.rv-modal{border-radius:26px;box-shadow:0 30px 80px rgba(0,0,0,.4);overflow:hidden;width:min(540px,calc(100vw - 24px))}
dialog.rv-popup{width:min(620px,calc(100vw - 24px))}
dialog.rv-modal[open]{animation:rvModalIn .45s var(--ease) both}
dialog.rv-modal::backdrop{background:rgba(25,18,10,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
dialog.rv-modal[open]::backdrop{animation:rvFade .35s ease both}
dialog.rv-modal.closing{animation:rvModalOut .25s ease-in both}
dialog.rv-modal.closing::backdrop{animation:rvFadeOut .25s ease-in both}
@keyframes rvModalIn{from{opacity:0;transform:translateY(40px) scale(.92)}to{opacity:1;transform:none}}
@keyframes rvModalOut{to{opacity:0;transform:translateY(24px) scale(.95)}}
@keyframes rvFade{from{opacity:0}to{opacity:1}}
@keyframes rvFadeOut{to{opacity:0}}
.rv-modal-h{background:linear-gradient(135deg,#ff9a3c,var(--rv-orange) 60%,#e8650f);padding:1.1rem 1.4rem;position:relative;overflow:hidden}
.rv-modal-h::after{content:"";position:absolute;right:-30px;top:-50px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.14)}
.rv-modal-h h2{font-size:1.3rem;position:relative;z-index:1}
.rv-x{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.22);font-size:1.5rem;display:flex;align-items:center;justify-content:center;padding:0;position:relative;z-index:1;transition:transform .3s var(--ease),background-color .2s}
.rv-x:hover{background:rgba(255,255,255,.4);transform:rotate(90deg)}
.rv-modal-b{padding:1.5rem 1.5rem 1.7rem}
.rv-modal-b .form-control,.rv-modal-b .form-select{background:#faf7f3;border-color:#ece6dd}
.rv-modal-b .form-control:focus,.rv-modal-b .form-select:focus{background:#fff}
.rv-modal-b .btn-repsol{box-shadow:0 8px 20px rgba(247,137,35,.35)}
.rv-popup .rv-modal-b img{border-radius:18px;box-shadow:var(--shadow)}
.rv-form-msg.ok,.rv-form-msg.err{border-radius:14px;animation:rvUp .4s var(--ease) both}
.rv-cookies{animation:rvFade .6s .5s ease both}
@media (min-width:768px){.rv-cookies{left:50%;right:auto;bottom:16px;transform:translateX(-50%);width:min(900px,calc(100vw - 32px));border-radius:22px;border-top:0;border-left:5px solid var(--rv-orange)}}

/* Botón de cerrar de las ventanas: X sencilla, sin animación */
.rv-x,.rv-x:hover{width:auto;height:auto;border-radius:0;background:none;transform:none;transition:none;font-size:2rem;line-height:1;padding:0 .25rem;display:block;color:#fff;font-weight:400}
.rv-x:hover{opacity:.75}

/* Mapa ancho (página de contacto) */
.rv-loc-wide .rv-loc-map{height:clamp(260px,38vw,420px)}
.rv-loc-wide .rv-loc-body{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1.2rem 1.5rem}
.rv-loc-wide .rv-loc-body h3{margin-bottom:.3rem}
.rv-loc-wide .rv-loc-body .btn{margin-top:0}

/* Sin recuadro de foco en la ventana ni en la X al abrir (el teclado sigue funcionando) */
dialog.rv-modal:focus{outline:none}
.rv-x:focus:not(:focus-visible){outline:none}
.rv-modal .rv-x:focus{outline:none}
