/* ConstructorwebGestioERP - estilos de la web pública. Los colores vienen de las variables --cw-* */
:root {
    --cw-radius: 18px;
    --cw-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
html { scroll-behavior: smooth; }
body.cw-body { margin: 0; font-family: var(--cw-font); color: var(--cw-text); background: var(--cw-bg); -webkit-font-smoothing: antialiased; }
.cw-body a { color: var(--cw-c1); text-decoration: none; }
.cw-body a:hover { color: var(--cw-c1-dark); }
.cw-body img { max-width: 100%; }
.cw-body h1, .cw-body h2, .cw-body h3, .cw-body h4 { font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }

/* botones */
.cw-btn { border-radius: 999px; font-weight: 700; padding: .65rem 1.5rem; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.cw-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.cw-btn.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.cw-btn.btn-sm { padding: .4rem 1.1rem; font-size: .9rem; }
.cw-btn-primary { background: var(--cw-c1); color: var(--cw-on-c1) !important; }
.cw-btn-primary:hover { background: var(--cw-c1-dark); }
.cw-btn-blanco { background: rgba(255, 255, 255, .92); color: #111 !important; }
.cw-btn-borde { background: transparent; color: var(--cw-c1) !important; border-color: var(--cw-c1); }
.cw-btn-borde:hover { background: var(--cw-c1); color: var(--cw-on-c1) !important; }
.cw-btn-contraste { background: var(--cw-bg); color: var(--cw-c1) !important; }
.cw-bg-primario .cw-btn-borde, .cw-bg-oscuro .cw-btn-borde, .cw-bg-degradado .cw-btn-borde, .cw-bg-secundario .cw-btn-borde { color: inherit !important; border-color: currentColor; }
.cw-bg-primario .cw-btn-borde:hover, .cw-bg-oscuro .cw-btn-borde:hover, .cw-bg-degradado .cw-btn-borde:hover { background: rgba(255, 255, 255, .15); }

/* cabecera */
.cw-header { position: sticky; top: 0; z-index: 1040; background: var(--cw-bg); box-shadow: 0 1px 0 var(--cw-border); transition: background .25s, box-shadow .25s; }
.cw-header-transparente { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; }
.cw-header-transparente .cw-nav .nav-link, .cw-header-transparente .cw-brand-texto { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.cw-header-transparente .cw-toggler span { background: #fff; }
.cw-header.cw-header-solida { position: fixed; background: var(--cw-bg); box-shadow: 0 2px 16px rgba(0, 0, 0, .08); }
.cw-header.cw-header-solida .cw-nav .nav-link, .cw-header.cw-header-solida .cw-brand-texto { color: var(--cw-text); text-shadow: none; }
.cw-header.cw-header-solida .cw-toggler span { background: var(--cw-text); }
.cw-navbar { padding: .6rem 0; }
.cw-brand img { display: block; width: auto; max-width: 220px; object-fit: contain; }
.cw-brand-texto { font-weight: 900; font-size: 1.35rem; color: var(--cw-text); letter-spacing: -.02em; }
.cw-nav .nav-link { font-weight: 600; color: var(--cw-text); padding: .5rem .9rem; position: relative; }
.cw-nav .nav-link.active::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--cw-c2); border-radius: 2px; }
.cw-nav .nav-link:hover { color: var(--cw-c1); }
.cw-header-transparente .cw-nav .nav-link:hover { color: #fff; opacity: .85; }
.cw-toggler { border: 0; padding: .4rem; width: 42px; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.cw-toggler span { display: block; height: 2px; width: 100%; background: var(--cw-text); border-radius: 2px; }
@media (max-width: 991.98px) {
    .cw-header-transparente .navbar-collapse { background: rgba(15, 18, 20, .95); border-radius: 14px; padding: .6rem 1rem; margin-top: .6rem; }
    .cw-header:not(.cw-header-transparente) .navbar-collapse { padding: .6rem 0; }
    .cw-nav-btn { display: inline-block; margin: .6rem 0; }
}
.cw-lang .dropdown-menu { min-width: 8rem; }

/* bloques */
.cw-b { position: relative; overflow: hidden; }
.cw-pad-ninguno { padding: 0; }
.cw-pad-poco { padding: 2rem 0; }
.cw-pad-normal { padding: 4.5rem 0; }
.cw-pad-mucho { padding: 7rem 0; }
@media (max-width: 767.98px) { .cw-pad-normal { padding: 3rem 0; } .cw-pad-mucho { padding: 4.5rem 0; } }
.cw-bg-blanco { background: var(--cw-bg); }
.cw-bg-suave { background: var(--cw-bg-soft); }
.cw-bg-primario { background: var(--cw-c1); color: var(--cw-on-c1); }
.cw-bg-secundario { background: var(--cw-c2); color: var(--cw-on-c2); }
.cw-bg-oscuro { background: #0f1214; color: #eef0f2; }
.cw-bg-degradado { background: linear-gradient(135deg, var(--cw-c1) 0%, var(--cw-c1-dark) 60%, #111 140%); color: #fff; }
.cw-bg-imagen { background-size: cover; background-position: center; color: #fff; }
.cw-bg-imagen::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.cw-bg-imagen > * { position: relative; }
.cw-bg-primario .cw-titulo, .cw-bg-secundario .cw-titulo, .cw-bg-oscuro .cw-titulo, .cw-bg-degradado .cw-titulo, .cw-bg-imagen .cw-titulo,
.cw-bg-primario .cw-sub, .cw-bg-secundario .cw-sub, .cw-bg-oscuro .cw-sub, .cw-bg-degradado .cw-sub, .cw-bg-imagen .cw-sub { color: inherit; }
.cw-bg-primario .cw-sub, .cw-bg-oscuro .cw-sub, .cw-bg-degradado .cw-sub { opacity: .85; }
.cw-inactivo { opacity: .45; outline: 2px dashed #f59e0b; }
.cw-inactivo::after { content: 'OFF'; position: absolute; top: 8px; right: 8px; background: #f59e0b; color: #000; font-weight: 800; font-size: 11px; padding: 2px 8px; border-radius: 6px; z-index: 5; }

.cw-titulo { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .75rem; color: var(--cw-text); }
.cw-titulo-1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cw-titulo-3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.cw-sub { color: var(--cw-muted); font-size: 1.08rem; max-width: 720px; margin: 0 auto 0; line-height: 1.6; }
.cw-alinear-izquierda .cw-sub { margin-left: 0; }
.cw-alinear-centro { text-align: center; }
.cw-cabecera-bloque { margin-bottom: 2.5rem; }
.cw-etiqueta { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--cw-c2); margin-bottom: .8rem; }
.cw-ancho-estrecho { max-width: 640px; }
.cw-ancho-normal { max-width: 860px; }
.cw-ancho-ancho { max-width: 1140px; }
.cw-prosa { font-size: 1.05rem; line-height: 1.75; }
.cw-prosa p:last-child { margin-bottom: 0; }
.cw-prosa img { border-radius: 12px; }
.cw-prosa h2, .cw-prosa h3 { margin-top: 1.5rem; }
.cw-enlace { font-weight: 700; }
.cw-cols-1 > .col { flex: 0 0 100%; max-width: 100%; }
.cw-cols-2 > .col { flex: 0 0 50%; max-width: 50%; }
.cw-cols-3 > .col { flex: 0 0 33.3333%; max-width: 33.3333%; }
.cw-cols-4 > .col { flex: 0 0 25%; max-width: 25%; }
@media (max-width: 991.98px) { .cw-cols-4 > .col { flex: 0 0 50%; max-width: 50%; } .cw-cols-3 > .col { flex: 0 0 50%; max-width: 50%; } }
@media (max-width: 575.98px) { .cw-cols-2 > .col, .cw-cols-3 > .col, .cw-cols-4 > .col { flex: 0 0 100%; max-width: 100%; } }

/* tarjetas */
.cw-card { background: var(--cw-card); border: 1px solid var(--cw-border); border-radius: var(--cw-radius); padding: 1.6rem; height: 100%; box-shadow: var(--cw-shadow); transition: transform .2s, box-shadow .2s; }
.cw-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, .12); }
.cw-bg-primario .cw-card, .cw-bg-oscuro .cw-card, .cw-bg-degradado .cw-card, .cw-bg-imagen .cw-card { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: inherit; backdrop-filter: blur(6px); }
.cw-feature { text-align: center; }
.cw-feature h3, .cw-servicio h3 { font-size: 1.15rem; margin: .8rem 0 .4rem; }
.cw-feature p, .cw-servicio p { color: var(--cw-muted); margin: 0; font-size: .97rem; }
.cw-bg-primario .cw-feature p, .cw-bg-oscuro .cw-feature p, .cw-bg-degradado .cw-feature p { color: inherit; opacity: .8; }
.cw-feature-icono { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--cw-c1-light); color: var(--cw-c1); font-size: 1.6rem; }
.cw-dark .cw-feature-icono { background: rgba(var(--cw-c1-rgb), .2); }
.cw-servicio { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cw-servicio .cw-feature-icono { margin: 1.4rem auto 0; }
.cw-servicio-foto { aspect-ratio: 16/10; overflow: hidden; }
.cw-servicio-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cw-servicio:hover .cw-servicio-foto img { transform: scale(1.05); }
.cw-servicio-cuerpo { padding: 1.2rem 1.4rem 1.4rem; text-align: center; flex: 1; display: flex; flex-direction: column; }
.cw-servicio-pie { margin-top: auto; padding-top: .8rem; display: flex; justify-content: center; gap: 1rem; align-items: center; }

/* hero */
.cw-hero { position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cw-c1) 0%, var(--cw-c1-dark) 60%, #111 140%); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.cw-hero-pantalla { min-height: 100vh; min-height: 100svh; }
.cw-hero-alta { min-height: 78vh; }
.cw-hero-media { min-height: 56vh; }
.cw-hero-baja { min-height: 38vh; }
.cw-hero-video, .cw-hero-embed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cw-hero-embed iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 100vh; min-height: 56.25vw; transform: translate(-50%, -50%); pointer-events: none; border: 0; }
.cw-hero-velo { position: absolute; inset: 0; background: #000; z-index: 1; }
.cw-hero-contenido { position: relative; z-index: 2; text-align: center; padding: 6rem 1rem 4rem; }
.cw-hero-izquierda .cw-hero-contenido { text-align: left; }
.cw-hero-izquierda .cw-hero-sub { margin-left: 0; }
.cw-hero-izquierda .cw-hero-botones { justify-content: flex-start; }
.cw-hero .cw-etiqueta { color: #fff; opacity: .85; }
.cw-hero-logo { max-height: 140px; max-width: 70%; margin-bottom: 1.5rem; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .4)); }
.cw-hero-titulo { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; margin: 0 0 1rem; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); line-height: 1.05; }
.cw-hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.35rem); max-width: 760px; margin: 0 auto 2rem; opacity: .95; line-height: 1.55; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.cw-hero-botones { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cw-hero-flecha { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 1.4rem; opacity: .8; animation: cwBounce 2s infinite; }
@keyframes cwBounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
.cw-carrusel .carousel-item { background: linear-gradient(135deg, var(--cw-c1) 0%, var(--cw-c1-dark) 100%); background-size: cover; background-position: center; color: #fff; min-height: inherit; display: flex; align-items: center; }
.cw-carrusel.cw-hero-media .carousel-item, .cw-carrusel.cw-hero-media .carousel-inner { min-height: 56vh; }
.cw-carrusel.cw-hero-alta .carousel-item, .cw-carrusel.cw-hero-alta .carousel-inner { min-height: 78vh; }
.cw-carrusel.cw-hero-baja .carousel-item, .cw-carrusel.cw-hero-baja .carousel-inner { min-height: 38vh; }
.cw-carrusel.cw-hero-pantalla .carousel-item, .cw-carrusel.cw-hero-pantalla .carousel-inner { min-height: 100vh; }
.cw-carrusel .carousel-item.active, .cw-carrusel .carousel-item-next, .cw-carrusel .carousel-item-prev { display: flex; }
.cw-carrusel .cw-hero-contenido { width: 100%; }

/* texto + imagen, imagen */
.cw-ti-imagen { border-radius: var(--cw-radius); overflow: hidden; box-shadow: var(--cw-shadow); aspect-ratio: 4/3; }
.cw-ti-imagen img { width: 100%; height: 100%; object-fit: cover; }
.cw-placeholder { background: var(--cw-bg-soft); border: 2px dashed var(--cw-border); display: flex; align-items: center; justify-content: center; color: var(--cw-muted); font-size: 3rem; min-height: 220px; border-radius: var(--cw-radius); }
.cw-imagen { margin: 0; }
.cw-imagen img { width: 100%; }
.cw-imagen.cw-redondo img { border-radius: var(--cw-radius); box-shadow: var(--cw-shadow); }
.cw-imagen figcaption { color: var(--cw-muted); font-size: .9rem; margin-top: .6rem; }
.cw-imagen-completa img { width: 100%; display: block; }
.cw-separador { width: 100%; }
.cw-separador-linea { height: 0 !important; border-top: 1px solid var(--cw-border); margin: 1.5rem 0; }
.cw-zoomable { cursor: zoom-in; }

/* galería */
.cw-gal-item { margin: 0; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--cw-shadow); }
.cw-gal-cuadro { aspect-ratio: 4/3; }
.cw-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.cw-gal-item:hover img { transform: scale(1.06); }
.cw-gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .9rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: .9rem; font-weight: 600; }
.cw-mosaico { columns: 3; column-gap: 1rem; }
.cw-mosaico-2 { columns: 2; }
.cw-mosaico-4 { columns: 4; }
.cw-mosaico .cw-gal-item { break-inside: avoid; margin-bottom: 1rem; }
@media (max-width: 767.98px) { .cw-mosaico, .cw-mosaico-4 { columns: 2; } }
.cw-video { position: relative; aspect-ratio: 16/9; border-radius: var(--cw-radius); overflow: hidden; box-shadow: var(--cw-shadow); background: #000; }
.cw-video iframe, .cw-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cw-video-completo .cw-video { border-radius: 0; }
.cw-logos { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; align-items: center; margin-top: 1.5rem; }
.cw-logos img { max-height: 70px; max-width: 180px; object-fit: contain; opacity: .85; transition: opacity .2s, transform .2s; }
.cw-logos img:hover { opacity: 1; transform: scale(1.05); }

/* carta / catálogo */
.cw-carta-tabs { display: flex; gap: .5rem; overflow-x: auto; padding: .3rem 0 1.2rem; scrollbar-width: none; justify-content: flex-start; }
.cw-carta-tabs::-webkit-scrollbar { display: none; }
.cw-carta-tab { flex: 0 0 auto; border: 1px solid var(--cw-border); background: var(--cw-card); color: var(--cw-text); border-radius: 999px; padding: .5rem 1.1rem; font-weight: 700; white-space: nowrap; }
.cw-carta-tab.active { background: var(--cw-c1); color: var(--cw-on-c1); border-color: var(--cw-c1); }
.cw-carta-familia { margin-bottom: 2.5rem; scroll-margin-top: 110px; }
.cw-carta-familia-titulo { font-size: 1.5rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--cw-c2); display: inline-block; }
.cw-carta-lista { list-style: none; margin: 0; padding: 0; }
.cw-producto { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px dashed var(--cw-border); align-items: flex-start; }
.cw-producto-mini { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; flex: 0 0 72px; }
.cw-producto-texto { flex: 1; min-width: 0; }
.cw-producto-linea { display: flex; align-items: baseline; gap: .5rem; }
.cw-producto-nombre { font-weight: 700; font-size: 1.05rem; }
.cw-producto-puntos { flex: 1; border-bottom: 1px dotted var(--cw-muted); opacity: .5; min-width: 20px; transform: translateY(-4px); }
.cw-producto-precio { font-weight: 800; color: var(--cw-c1); white-space: nowrap; }
.cw-producto-desc { color: var(--cw-muted); font-size: .93rem; margin: .2rem 0 0; }
.cw-alergenos { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .35rem; }
.cw-alergenos span { font-size: .72rem; background: var(--cw-bg-soft); border: 1px solid var(--cw-border); border-radius: 6px; padding: .1rem .4rem; color: var(--cw-muted); }
.cw-producto-tarjeta { padding: 0; overflow: hidden; }
.cw-producto-foto { aspect-ratio: 4/3; overflow: hidden; }
.cw-producto-foto img { width: 100%; height: 100%; object-fit: cover; }
.cw-producto-cuerpo { padding: 1rem 1.2rem 1.2rem; }
.cw-producto-tarjeta .cw-producto-linea { justify-content: space-between; }
.cw-carta-nota { color: var(--cw-muted); font-size: .9rem; text-align: center; margin-top: 1rem; }

/* formularios */
.cw-form-card { padding: 2rem; }
.cw-form-card:hover { transform: none; }
.cw-form .form-control, .cw-form .form-select { border-radius: 12px; padding: .7rem .9rem; border-color: var(--cw-border); background: var(--cw-bg); color: var(--cw-text); }
.cw-form .form-control:focus, .cw-form .form-select:focus { border-color: var(--cw-c1); box-shadow: 0 0 0 .2rem rgba(var(--cw-c1-rgb), .2); }
.cw-form .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.cw-trampa { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }
.cw-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--cw-muted); cursor: pointer; }
.cw-check input { margin-top: .25rem; }
.cw-form-msg { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: #fee2e2; color: #991b1b; font-weight: 600; }
.cw-form-ok { text-align: center; padding: 2rem 1rem; }
.cw-form-ok i { font-size: 3.2rem; color: #16a34a; margin-bottom: .8rem; }
.cw-form-ok p { font-size: 1.1rem; font-weight: 600; margin: 0; }
.cw-form.cw-enviando button[type=submit] { opacity: .6; pointer-events: none; }
.cw-iframe-reserva { width: 100%; height: 780px; border: 0; border-radius: 12px; }

/* horario / contacto */
.cw-horario:hover, .cw-dato:hover { transform: none; }
.cw-horario-lista, .cw-contacto-lista { list-style: none; margin: 0; padding: 0; }
.cw-horario-lista li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--cw-border); }
.cw-horario-lista li span:first-child { font-weight: 600; }
.cw-cerrado { color: #dc2626; font-weight: 600; }
.cw-contacto-lista li { padding: .5rem 0; display: flex; gap: .7rem; align-items: flex-start; }
.cw-contacto-lista i, .cw-horario h2 i { color: var(--cw-c1); width: 1.2em; }
.cw-nota { color: var(--cw-muted); font-size: .9rem; margin: 1rem 0 0; }
.cw-dato { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.4rem; }
.cw-dato > i { font-size: 1.4rem; color: var(--cw-c1); background: var(--cw-c1-light); width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: 0 0 48px; }
.cw-dark .cw-dato > i { background: rgba(var(--cw-c1-rgb), .2); }
.cw-dato strong { display: block; margin-bottom: .15rem; }
.cw-dato span { color: var(--cw-muted); font-size: .95rem; }
.cw-mapa { border-radius: var(--cw-radius); overflow: hidden; height: 420px; box-shadow: var(--cw-shadow); }
.cw-mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.cw-redes { display: flex; gap: .6rem; flex-wrap: wrap; }
.cw-redes a { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--cw-bg-soft); color: var(--cw-text); border: 1px solid var(--cw-border); font-size: 1.1rem; transition: all .2s; }
.cw-redes a:hover { background: var(--cw-c1); color: var(--cw-on-c1); border-color: var(--cw-c1); transform: translateY(-2px); }

/* equipo, opiniones, precios, faq, cifras */
.cw-persona { text-align: center; }
.cw-persona-foto { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; background: var(--cw-bg-soft); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--cw-muted); border: 4px solid var(--cw-c1-light); }
.cw-persona-foto img { width: 100%; height: 100%; object-fit: cover; }
.cw-persona h3 { font-size: 1.15rem; margin: 0; }
.cw-persona-cargo { color: var(--cw-c2); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: .2rem 0 .6rem; }
.cw-persona p { color: var(--cw-muted); font-size: .95rem; margin: 0; }
.cw-opiniones { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.cw-opinion p { font-style: italic; line-height: 1.6; margin: .8rem 0 1.2rem; }
.cw-estrellas { color: #f59e0b; }
.cw-estrella-off { color: var(--cw-border); }
.cw-opinion-autor { display: flex; align-items: center; gap: .7rem; }
.cw-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cw-c1); color: var(--cw-on-c1); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.cw-plan { text-align: center; position: relative; display: flex; flex-direction: column; }
.cw-plan-destacado { border-color: var(--cw-c1); box-shadow: 0 20px 50px rgba(var(--cw-c1-rgb), .25); transform: scale(1.03); }
.cw-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--cw-c2); color: var(--cw-on-c2); font-size: .72rem; font-weight: 800; letter-spacing: .1em; padding: .25rem .9rem; border-radius: 999px; text-transform: uppercase; }
.cw-plan h3 { font-size: 1.2rem; }
.cw-plan-precio { font-size: 2.4rem; font-weight: 900; color: var(--cw-c1); margin: .5rem 0 1rem; }
.cw-plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; flex: 1; }
.cw-plan li { padding: .35rem 0; color: var(--cw-muted); }
.cw-plan li i { color: var(--cw-c1); margin-right: .4rem; }
.cw-faq { display: flex; flex-direction: column; gap: .8rem; }
.cw-faq-item { padding: 0; }
.cw-faq-item:hover { transform: none; }
.cw-faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cw-faq-item summary::-webkit-details-marker { display: none; }
.cw-faq-item summary i { transition: transform .2s; color: var(--cw-c1); }
.cw-faq-item[open] summary i { transform: rotate(180deg); }
.cw-faq-resp { padding: 0 1.4rem 1.2rem; color: var(--cw-muted); line-height: 1.65; }
.cw-cifra i { font-size: 1.6rem; opacity: .8; margin-bottom: .5rem; display: block; }
.cw-cifra-num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1; }
.cw-cifra-txt { opacity: .85; font-weight: 600; margin-top: .4rem; }
.cw-bg-blanco .cw-cifra-num, .cw-bg-suave .cw-cifra-num { color: var(--cw-c1); }
.cw-cta .cw-titulo { color: inherit; }
.cw-cta .cw-sub { color: inherit; opacity: .88; margin-bottom: 1.8rem; }

/* pie */
.cw-footer { background: #0f1214; color: #d7dbdf; padding: 4rem 0 1.5rem; margin-top: auto; }
.cw-dark .cw-footer { background: #090b0d; }
.cw-footer a { color: #fff; }
.cw-footer a:hover { color: var(--cw-c2); }
.cw-footer-logo { max-height: 60px; max-width: 200px; margin-bottom: 1rem; }
.cw-footer-nombre { font-size: 1.4rem; font-weight: 900; margin-bottom: .5rem; color: #fff; }
.cw-footer-lema { opacity: .75; }
.cw-footer .cw-redes a { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: #fff; }
.cw-footer-titulo { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--cw-c2); margin-bottom: 1rem; }
.cw-footer-lista { list-style: none; padding: 0; margin: 0; }
.cw-footer-lista li { padding: .3rem 0; display: flex; gap: .6rem; }
.cw-footer-lista i { width: 1.2em; opacity: .7; margin-top: .25rem; }
.cw-footer-horario li { justify-content: space-between; }
.cw-footer-bajo { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .85rem; opacity: .8; }
.cw-footer-bajo a { margin-left: 1rem; }

/* flotantes */
/* WhatsApp flotant: boto amb etiqueta i un formulari curt al damunt. El verd
   es el de WhatsApp a proposit -es el que la gent reconeix-, i la capçalera
   del panell agafa el color de la marca perque no sembli una peça enganxada. */
.cw-wa-widget { position: fixed; right: 18px; bottom: 18px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cw-wa-btn { display: inline-flex; align-items: center; gap: .55rem; border: 0; cursor: pointer; background: #25d366; color: #fff; font-weight: 700; font-size: 1rem; padding: .85rem 1.35rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .28); transition: transform .18s, box-shadow .18s; }
.cw-wa-btn i { font-size: 1.35rem; }
.cw-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .32); }
.cw-wa-panel { width: 330px; max-width: calc(100vw - 36px); background: var(--cw-card); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); animation: cwWaSube .18s ease-out; }
@keyframes cwWaSube { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cw-wa-cab { display: flex; align-items: flex-start; gap: .7rem; padding: 1rem 1.1rem; background: var(--cw-c1); color: #fff; }
.cw-wa-cab > i { font-size: 1.5rem; line-height: 1.3; }
.cw-wa-cab-txt { flex: 1; display: flex; flex-direction: column; }
.cw-wa-cab-txt strong { font-size: 1rem; }
.cw-wa-cab-txt span { font-size: .84rem; opacity: .9; line-height: 1.35; }
.cw-wa-x { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .85; padding: 0 .1rem; }
.cw-wa-x:hover { opacity: 1; }
.cw-wa-form { display: flex; flex-direction: column; gap: .8rem; padding: 1.1rem; }
.cw-wa-form label { display: block; font-size: .86rem; font-weight: 600; color: var(--cw-text); }
/* el campo va en bloque dentro de la etiqueta: con flex-column, el "(opcional)"
   se convertia en otro item y bajaba a una linea propia */
.cw-wa-form label > input, .cw-wa-form label > textarea { display: block; width: 100%; margin-top: .32rem; }
.cw-wa-form label i { font-style: normal; font-weight: 400; color: var(--cw-muted); }
.cw-wa-form input, .cw-wa-form textarea { font: inherit; font-weight: 400; padding: .6rem .7rem; border: 1px solid var(--cw-border); border-radius: 10px; background: var(--cw-bg); color: var(--cw-text); }
.cw-wa-form input:focus, .cw-wa-form textarea:focus { outline: 2px solid var(--cw-c1); outline-offset: 1px; border-color: transparent; }
.cw-wa-form .mal { border-color: #dc2626; background: #fef2f2; }
.cw-wa-form textarea { resize: vertical; min-height: 74px; }
.cw-wa-enviar { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer; background: #25d366; color: #fff; font-weight: 700; padding: .75rem 1rem; border-radius: 10px; font-size: .98rem; }
.cw-wa-enviar:hover { background: #1eb355; }
@media (max-width: 480px) {
    .cw-wa-widget { right: 12px; bottom: 12px; left: 12px; align-items: stretch; }
    .cw-wa-btn { justify-content: center; }
    .cw-wa-panel { width: auto; }
}
.cw-cookies { position: fixed; left: 18px; right: 18px; bottom: 18px; max-width: 560px; margin: 0 auto; background: var(--cw-card); color: var(--cw-text); border: 1px solid var(--cw-border); border-radius: 16px; padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); z-index: 1060; font-size: .9rem; }
.cw-editbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: #0c7d68; color: #fff; padding: .55rem 1rem; border-radius: 999px; display: flex; gap: 1rem; align-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); z-index: 1061; font-size: .9rem; }
.cw-editbar a { color: #fff; font-weight: 800; text-decoration: underline; }
.cw-preview .cw-editbar { display: none; }

/* lightbox */
.cw-lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.cw-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.cw-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.cw-lb-cerrar { top: 16px; right: 16px; }
.cw-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.cw-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.cw-lb-pie { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* páginas especiales */
.cw-cerrada { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; background: linear-gradient(135deg, var(--cw-c1) 0%, var(--cw-c1-dark) 100%); color: #fff; }
.cw-cerrada-logo { max-height: 120px; margin-bottom: 1.5rem; }
.cw-cerrada h1 { font-size: 2.4rem; }
.cw-cerrada a { color: #fff; font-weight: 700; }
.cw-404-num { font-size: 7rem; font-weight: 900; color: var(--cw-c1); line-height: 1; }

/* animaciones al hacer scroll */
.cw-reveal > .container, .cw-reveal > .cw-hero, .cw-reveal > .cw-carrusel, .cw-reveal > figure { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.cw-reveal.cw-visto > .container, .cw-reveal.cw-visto > .cw-hero, .cw-reveal.cw-visto > .cw-carrusel, .cw-reveal.cw-visto > figure { opacity: 1; transform: none; }
.cw-t-hero.cw-reveal > .cw-hero, .cw-t-carrusel.cw-reveal > .cw-carrusel { opacity: 1; transform: none; }
.cw-efecto-aparecer, .cw-efecto-deslizar, .cw-efecto-zoom { opacity: 0; transition: all .8s ease .1s; }
.cw-efecto-deslizar { transform: translateX(-40px); }
.cw-efecto-deslizar.cw-desde-derecha { transform: translateX(40px); }
.cw-efecto-zoom { transform: scale(.9); }
.cw-visto .cw-efecto-aparecer, .cw-visto .cw-efecto-deslizar, .cw-visto .cw-efecto-zoom { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cw-reveal > *, .cw-efecto-aparecer, .cw-efecto-deslizar, .cw-efecto-zoom { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* tienda online */
.cw-tienda-item { display: block; color: inherit; text-decoration: none; }
.cw-tienda-item .cw-producto-foto { position: relative; }
.cw-tienda-badge { position: absolute; top: 10px; left: 10px; background: #dc2626; color: #fff; font-size: .7rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.cw-tienda-badge-nuevo { background: var(--cw-c2); color: var(--cw-on-c2); }

/* vídeo corto del producto */
.cw-producto-video { object-fit: cover; background: #000; cursor: zoom-in; }
.cw-producto-mini.cw-producto-video { width: 72px; height: 96px; flex-basis: 72px; }
.cw-producto-foto .cw-producto-video { width: 100%; height: 100%; }
.cw-lightbox video { max-width: 92vw; max-height: 86vh; border-radius: 8px; }

.cw-iframe-motor { height: 720px; background: transparent; }

/* logo claro sobre la cabecera transparente; el normal cuando se vuelve sólida */
/* El logotipo normal solo se esconde sobre la cabecera transparente SI hay
   una version clara que lo sustituya. Sin el :has(), un negocio que no tenga
   logo_claro se quedaba SIN logotipo encima del video de portada. */
.cw-header-transparente:not(.cw-header-solida) .cw-brand:has(.cw-logo-claro) .cw-logo-normal { display: none; }
.cw-header-transparente.cw-header-solida .cw-brand .cw-logo-claro, .cw-header:not(.cw-header-transparente) .cw-logo-claro { display: none; }

/* encargos */
.cw-encargo-paso { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; }
.cw-paso-num { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--cw-c1); color: var(--cw-on-c1); align-items: center; justify-content: center; font-size: .85rem; }
.cw-encargo-item { position: relative; display: block; margin: 0; cursor: pointer; border: 2px solid transparent; height: 100%; }
.cw-encargo-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.cw-encargo-item.on { border-color: var(--cw-c1); box-shadow: 0 0 0 4px rgba(var(--cw-c1-rgb), .15); }
.cw-encargo-check { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--cw-c1); color: var(--cw-on-c1); display: none; align-items: center; justify-content: center; font-size: .8rem; }
.cw-encargo-item.on .cw-encargo-check { display: inline-flex; }
.cw-encargo-grid .cw-producto-foto img { height: 170px; }
.cw-encargo-datos { position: sticky; top: 90px; }
.cw-encargo-elegido { background: var(--cw-bg-soft); border-radius: 10px; padding: .6rem .9rem; margin-bottom: 1rem; font-size: .95rem; }
.cw-encargo-elegido i { color: var(--cw-c1); margin-right: .3rem; }
.cw-encargo-entrega { display: flex; gap: .6rem; }
.cw-encargo-opcion { flex: 1; display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 2px solid var(--cw-border); border-radius: 10px; cursor: pointer; font-size: .9rem; margin: 0; }
.cw-encargo-opcion input { display: none; }
.cw-encargo-opcion.on { border-color: var(--cw-c1); background: var(--cw-bg-soft); }
.cw-encargo-opcion i { color: var(--cw-c1); }
.cw-producto-encargar { margin-left: auto; white-space: nowrap; align-self: center; }
.cw-form-ok.cw-card { margin-top: 1rem; }

/* ficha del producto (carta) */
.cw-producto-abrir { cursor: pointer; }
.cw-producto-abrir:focus-visible { outline: 2px solid var(--cw-c1); outline-offset: 2px; }
.cw-ficha-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .78); z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cw-ficha-modal[hidden] { display: none; }
.cw-ficha-caja { position: relative; background: var(--cw-card); color: var(--cw-text); border-radius: 18px; max-width: 980px; width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.cw-ficha-cerrar { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.5rem; cursor: pointer; }
.cw-ficha-cuerpo { display: grid; grid-template-columns: 1.1fr 1fr; }
.cw-ficha-media { background: #000; min-height: 260px; display: flex; align-items: center; justify-content: center; }
.cw-ficha-media img, .cw-ficha-media video { width: 100%; height: 100%; max-height: 92vh; object-fit: cover; display: block; }
.cw-ficha-embed { width: 100%; aspect-ratio: 16 / 9; }
.cw-ficha-embed iframe { width: 100%; height: 100%; border: 0; }
.cw-ficha-texto { padding: 1.8rem 1.8rem 1.6rem; }
.cw-ficha-nombre { font-size: 1.6rem; font-weight: 800; margin: 0 0 .4rem; padding-right: 2rem; }
.cw-ficha-precio { color: var(--cw-c2); font-weight: 800; font-size: 1.35rem; margin-bottom: .9rem; }
.cw-ficha-desc { color: var(--cw-muted); line-height: 1.65; white-space: normal; }
.cw-ficha-etiqueta { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--cw-muted); margin: 1rem 0 .4rem; }
.cw-alergenos-grandes span { font-size: .9rem; padding: .3rem .6rem; }
.cw-ficha-sin { font-size: .9rem; color: var(--cw-muted); margin: 0; }
@media (max-width: 767.98px) { .cw-ficha-cuerpo { grid-template-columns: 1fr; } .cw-ficha-media img, .cw-ficha-media video { max-height: 48vh; } .cw-ficha-texto { padding: 1.2rem; } }
